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 xload 1.2.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/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/xload/-/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='xload'
    591 PACKAGE_TARNAME='xload'
    592 PACKAGE_VERSION='1.2.1'
    593 PACKAGE_STRING='xload 1.2.1'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xload/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 : ${enable_year2038:=no}
    631 ac_subst_vars='am__EXEEXT_FALSE
    632 am__EXEEXT_TRUE
    633 LTLIBOBJS
    634 LIBOBJS
    635 appdefaultdir
    636 APPDEFS_LIBS
    637 APPDEFS_CFLAGS
    638 XLOAD_LIBS
    639 XLOAD_CFLAGS
    640 USE_GETTEXT_FALSE
    641 USE_GETTEXT_TRUE
    642 LOCALEDIR
    643 MAN_SUBSTS
    644 XORG_MAN_PAGE
    645 ADMIN_MAN_DIR
    646 DRIVER_MAN_DIR
    647 MISC_MAN_DIR
    648 FILE_MAN_DIR
    649 LIB_MAN_DIR
    650 APP_MAN_DIR
    651 ADMIN_MAN_SUFFIX
    652 DRIVER_MAN_SUFFIX
    653 MISC_MAN_SUFFIX
    654 FILE_MAN_SUFFIX
    655 LIB_MAN_SUFFIX
    656 APP_MAN_SUFFIX
    657 SED
    658 host_os
    659 host_vendor
    660 host_cpu
    661 host
    662 build_os
    663 build_vendor
    664 build_cpu
    665 build
    666 INSTALL_CMD
    667 PKG_CONFIG_LIBDIR
    668 PKG_CONFIG_PATH
    669 PKG_CONFIG
    670 CHANGELOG_CMD
    671 STRICT_CFLAGS
    672 CWARNFLAGS
    673 BASE_CFLAGS
    674 am__xargs_n
    675 am__rm_f_notfound
    676 AM_BACKSLASH
    677 AM_DEFAULT_VERBOSITY
    678 AM_DEFAULT_V
    679 AM_V
    680 CSCOPE
    681 ETAGS
    682 CTAGS
    683 am__fastdepCC_FALSE
    684 am__fastdepCC_TRUE
    685 CCDEPMODE
    686 am__nodep
    687 AMDEPBACKSLASH
    688 AMDEP_FALSE
    689 AMDEP_TRUE
    690 am__include
    691 DEPDIR
    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 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 ECHO_T
    723 ECHO_N
    724 ECHO_C
    725 target_alias
    726 host_alias
    727 build_alias
    728 LIBS
    729 DEFS
    730 mandir
    731 localedir
    732 libdir
    733 psdir
    734 pdfdir
    735 dvidir
    736 htmldir
    737 infodir
    738 docdir
    739 oldincludedir
    740 includedir
    741 runstatedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL
    761 am__quote'
    762 ac_subst_files=''
    763 ac_user_opts='
    764 enable_option_checking
    765 enable_dependency_tracking
    766 enable_silent_rules
    767 enable_selective_werror
    768 enable_strict_compilation
    769 enable_largefile
    770 with_localedir
    771 with_appdefaultdir
    772 enable_year2038
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 PKG_CONFIG
    783 PKG_CONFIG_PATH
    784 PKG_CONFIG_LIBDIR
    785 XLOAD_CFLAGS
    786 XLOAD_LIBS
    787 APPDEFS_CFLAGS
    788 APPDEFS_LIBS'
    789 
    790 
    791 # Initialize some variables set by options.
    792 ac_init_help=
    793 ac_init_version=false
    794 ac_unrecognized_opts=
    795 ac_unrecognized_sep=
    796 # The variables have the same names as the options, with
    797 # dashes changed to underlines.
    798 cache_file=/dev/null
    799 exec_prefix=NONE
    800 no_create=
    801 no_recursion=
    802 prefix=NONE
    803 program_prefix=NONE
    804 program_suffix=NONE
    805 program_transform_name=s,x,x,
    806 silent=
    807 site=
    808 srcdir=
    809 verbose=
    810 x_includes=NONE
    811 x_libraries=NONE
    812 
    813 # Installation directory options.
    814 # These are left unexpanded so users can "make install exec_prefix=/foo"
    815 # and all the variables that are supposed to be based on exec_prefix
    816 # by default will actually change.
    817 # Use braces instead of parens because sh, perl, etc. also accept them.
    818 # (The list follows the same order as the GNU Coding Standards.)
    819 bindir='${exec_prefix}/bin'
    820 sbindir='${exec_prefix}/sbin'
    821 libexecdir='${exec_prefix}/libexec'
    822 datarootdir='${prefix}/share'
    823 datadir='${datarootdir}'
    824 sysconfdir='${prefix}/etc'
    825 sharedstatedir='${prefix}/com'
    826 localstatedir='${prefix}/var'
    827 runstatedir='${localstatedir}/run'
    828 includedir='${prefix}/include'
    829 oldincludedir='/usr/include'
    830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    831 infodir='${datarootdir}/info'
    832 htmldir='${docdir}'
    833 dvidir='${docdir}'
    834 pdfdir='${docdir}'
    835 psdir='${docdir}'
    836 libdir='${exec_prefix}/lib'
    837 localedir='${datarootdir}/locale'
    838 mandir='${datarootdir}/man'
    839 
    840 ac_prev=
    841 ac_dashdash=
    842 for ac_option
    843 do
    844   # If the previous option needs an argument, assign it.
    845   if test -n "$ac_prev"; then
    846     eval $ac_prev=\$ac_option
    847     ac_prev=
    848     continue
    849   fi
    850 
    851   case $ac_option in
    852   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    853   *=)   ac_optarg= ;;
    854   *)    ac_optarg=yes ;;
    855   esac
    856 
    857   case $ac_dashdash$ac_option in
    858   --)
    859     ac_dashdash=yes ;;
    860 
    861   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    862     ac_prev=bindir ;;
    863   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    864     bindir=$ac_optarg ;;
    865 
    866   -build | --build | --buil | --bui | --bu)
    867     ac_prev=build_alias ;;
    868   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    869     build_alias=$ac_optarg ;;
    870 
    871   -cache-file | --cache-file | --cache-fil | --cache-fi \
    872   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    873     ac_prev=cache_file ;;
    874   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    875   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    876     cache_file=$ac_optarg ;;
    877 
    878   --config-cache | -C)
    879     cache_file=config.cache ;;
    880 
    881   -datadir | --datadir | --datadi | --datad)
    882     ac_prev=datadir ;;
    883   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    884     datadir=$ac_optarg ;;
    885 
    886   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    887   | --dataroo | --dataro | --datar)
    888     ac_prev=datarootdir ;;
    889   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    890   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    891     datarootdir=$ac_optarg ;;
    892 
    893   -disable-* | --disable-*)
    894     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    895     # Reject names that are not valid shell variable names.
    896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    897       as_fn_error $? "invalid feature name: '$ac_useropt'"
    898     ac_useropt_orig=$ac_useropt
    899     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    900     case $ac_user_opts in
    901       *"
    902 "enable_$ac_useropt"
    903 "*) ;;
    904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    905 	 ac_unrecognized_sep=', ';;
    906     esac
    907     eval enable_$ac_useropt=no ;;
    908 
    909   -docdir | --docdir | --docdi | --doc | --do)
    910     ac_prev=docdir ;;
    911   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    912     docdir=$ac_optarg ;;
    913 
    914   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    915     ac_prev=dvidir ;;
    916   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    917     dvidir=$ac_optarg ;;
    918 
    919   -enable-* | --enable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error $? "invalid feature name: '$ac_useropt'"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=\$ac_optarg ;;
    934 
    935   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    936   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    937   | --exec | --exe | --ex)
    938     ac_prev=exec_prefix ;;
    939   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    940   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    941   | --exec=* | --exe=* | --ex=*)
    942     exec_prefix=$ac_optarg ;;
    943 
    944   -gas | --gas | --ga | --g)
    945     # Obsolete; use --with-gas.
    946     with_gas=yes ;;
    947 
    948   -help | --help | --hel | --he | -h)
    949     ac_init_help=long ;;
    950   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    951     ac_init_help=recursive ;;
    952   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    953     ac_init_help=short ;;
    954 
    955   -host | --host | --hos | --ho)
    956     ac_prev=host_alias ;;
    957   -host=* | --host=* | --hos=* | --ho=*)
    958     host_alias=$ac_optarg ;;
    959 
    960   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    961     ac_prev=htmldir ;;
    962   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    963   | --ht=*)
    964     htmldir=$ac_optarg ;;
    965 
    966   -includedir | --includedir | --includedi | --included | --include \
    967   | --includ | --inclu | --incl | --inc)
    968     ac_prev=includedir ;;
    969   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    970   | --includ=* | --inclu=* | --incl=* | --inc=*)
    971     includedir=$ac_optarg ;;
    972 
    973   -infodir | --infodir | --infodi | --infod | --info | --inf)
    974     ac_prev=infodir ;;
    975   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    976     infodir=$ac_optarg ;;
    977 
    978   -libdir | --libdir | --libdi | --libd)
    979     ac_prev=libdir ;;
    980   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    981     libdir=$ac_optarg ;;
    982 
    983   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    984   | --libexe | --libex | --libe)
    985     ac_prev=libexecdir ;;
    986   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    987   | --libexe=* | --libex=* | --libe=*)
    988     libexecdir=$ac_optarg ;;
    989 
    990   -localedir | --localedir | --localedi | --localed | --locale)
    991     ac_prev=localedir ;;
    992   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    993     localedir=$ac_optarg ;;
    994 
    995   -localstatedir | --localstatedir | --localstatedi | --localstated \
    996   | --localstate | --localstat | --localsta | --localst | --locals)
    997     ac_prev=localstatedir ;;
    998   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    999   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1000     localstatedir=$ac_optarg ;;
   1001 
   1002   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1003     ac_prev=mandir ;;
   1004   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1005     mandir=$ac_optarg ;;
   1006 
   1007   -nfp | --nfp | --nf)
   1008     # Obsolete; use --without-fp.
   1009     with_fp=no ;;
   1010 
   1011   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1012   | --no-cr | --no-c | -n)
   1013     no_create=yes ;;
   1014 
   1015   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1016   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1017     no_recursion=yes ;;
   1018 
   1019   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1020   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1021   | --oldin | --oldi | --old | --ol | --o)
   1022     ac_prev=oldincludedir ;;
   1023   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1024   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1025   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1026     oldincludedir=$ac_optarg ;;
   1027 
   1028   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1029     ac_prev=prefix ;;
   1030   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1031     prefix=$ac_optarg ;;
   1032 
   1033   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1034   | --program-pre | --program-pr | --program-p)
   1035     ac_prev=program_prefix ;;
   1036   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1037   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1038     program_prefix=$ac_optarg ;;
   1039 
   1040   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1041   | --program-suf | --program-su | --program-s)
   1042     ac_prev=program_suffix ;;
   1043   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1044   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1045     program_suffix=$ac_optarg ;;
   1046 
   1047   -program-transform-name | --program-transform-name \
   1048   | --program-transform-nam | --program-transform-na \
   1049   | --program-transform-n | --program-transform- \
   1050   | --program-transform | --program-transfor \
   1051   | --program-transfo | --program-transf \
   1052   | --program-trans | --program-tran \
   1053   | --progr-tra | --program-tr | --program-t)
   1054     ac_prev=program_transform_name ;;
   1055   -program-transform-name=* | --program-transform-name=* \
   1056   | --program-transform-nam=* | --program-transform-na=* \
   1057   | --program-transform-n=* | --program-transform-=* \
   1058   | --program-transform=* | --program-transfor=* \
   1059   | --program-transfo=* | --program-transf=* \
   1060   | --program-trans=* | --program-tran=* \
   1061   | --progr-tra=* | --program-tr=* | --program-t=*)
   1062     program_transform_name=$ac_optarg ;;
   1063 
   1064   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1065     ac_prev=pdfdir ;;
   1066   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1067     pdfdir=$ac_optarg ;;
   1068 
   1069   -psdir | --psdir | --psdi | --psd | --ps)
   1070     ac_prev=psdir ;;
   1071   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1072     psdir=$ac_optarg ;;
   1073 
   1074   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1075   | -silent | --silent | --silen | --sile | --sil)
   1076     silent=yes ;;
   1077 
   1078   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1079   | --runstate | --runstat | --runsta | --runst | --runs \
   1080   | --run | --ru | --r)
   1081     ac_prev=runstatedir ;;
   1082   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1083   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1084   | --run=* | --ru=* | --r=*)
   1085     runstatedir=$ac_optarg ;;
   1086 
   1087   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1088     ac_prev=sbindir ;;
   1089   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1090   | --sbi=* | --sb=*)
   1091     sbindir=$ac_optarg ;;
   1092 
   1093   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1094   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1095   | --sharedst | --shareds | --shared | --share | --shar \
   1096   | --sha | --sh)
   1097     ac_prev=sharedstatedir ;;
   1098   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1099   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1100   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1101   | --sha=* | --sh=*)
   1102     sharedstatedir=$ac_optarg ;;
   1103 
   1104   -site | --site | --sit)
   1105     ac_prev=site ;;
   1106   -site=* | --site=* | --sit=*)
   1107     site=$ac_optarg ;;
   1108 
   1109   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1110     ac_prev=srcdir ;;
   1111   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1112     srcdir=$ac_optarg ;;
   1113 
   1114   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1115   | --syscon | --sysco | --sysc | --sys | --sy)
   1116     ac_prev=sysconfdir ;;
   1117   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1118   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1119     sysconfdir=$ac_optarg ;;
   1120 
   1121   -target | --target | --targe | --targ | --tar | --ta | --t)
   1122     ac_prev=target_alias ;;
   1123   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1124     target_alias=$ac_optarg ;;
   1125 
   1126   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1127     verbose=yes ;;
   1128 
   1129   -version | --version | --versio | --versi | --vers | -V)
   1130     ac_init_version=: ;;
   1131 
   1132   -with-* | --with-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       as_fn_error $? "invalid package name: '$ac_useropt'"
   1137     ac_useropt_orig=$ac_useropt
   1138     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1139     case $ac_user_opts in
   1140       *"
   1141 "with_$ac_useropt"
   1142 "*) ;;
   1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1144 	 ac_unrecognized_sep=', ';;
   1145     esac
   1146     eval with_$ac_useropt=\$ac_optarg ;;
   1147 
   1148   -without-* | --without-*)
   1149     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1150     # Reject names that are not valid shell variable names.
   1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1152       as_fn_error $? "invalid package name: '$ac_useropt'"
   1153     ac_useropt_orig=$ac_useropt
   1154     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1155     case $ac_user_opts in
   1156       *"
   1157 "with_$ac_useropt"
   1158 "*) ;;
   1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1160 	 ac_unrecognized_sep=', ';;
   1161     esac
   1162     eval with_$ac_useropt=no ;;
   1163 
   1164   --x)
   1165     # Obsolete; use --with-x.
   1166     with_x=yes ;;
   1167 
   1168   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1169   | --x-incl | --x-inc | --x-in | --x-i)
   1170     ac_prev=x_includes ;;
   1171   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1172   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1173     x_includes=$ac_optarg ;;
   1174 
   1175   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1176   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1177     ac_prev=x_libraries ;;
   1178   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1179   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1180     x_libraries=$ac_optarg ;;
   1181 
   1182   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1183 Try '$0 --help' for more information"
   1184     ;;
   1185 
   1186   *=*)
   1187     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1188     # Reject names that are not valid shell variable names.
   1189     case $ac_envvar in #(
   1190       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1191       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1192     esac
   1193     eval $ac_envvar=\$ac_optarg
   1194     export $ac_envvar ;;
   1195 
   1196   *)
   1197     # FIXME: should be removed in autoconf 3.0.
   1198     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1199     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1200       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1201     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1202     ;;
   1203 
   1204   esac
   1205 done
   1206 
   1207 if test -n "$ac_prev"; then
   1208   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1209   as_fn_error $? "missing argument to $ac_option"
   1210 fi
   1211 
   1212 if test -n "$ac_unrecognized_opts"; then
   1213   case $enable_option_checking in
   1214     no) ;;
   1215     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1216     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1217   esac
   1218 fi
   1219 
   1220 # Check all directory arguments for consistency.
   1221 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1222 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1223 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1224 		libdir localedir mandir runstatedir
   1225 do
   1226   eval ac_val=\$$ac_var
   1227   # Remove trailing slashes.
   1228   case $ac_val in
   1229     */ )
   1230       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1231       eval $ac_var=\$ac_val;;
   1232   esac
   1233   # Be sure to have absolute directory names.
   1234   case $ac_val in
   1235     [\\/$]* | ?:[\\/]* )  continue;;
   1236     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1237   esac
   1238   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1239 done
   1240 
   1241 # There might be people who depend on the old broken behavior: '$host'
   1242 # used to hold the argument of --host etc.
   1243 # FIXME: To remove some day.
   1244 build=$build_alias
   1245 host=$host_alias
   1246 target=$target_alias
   1247 
   1248 # FIXME: To remove some day.
   1249 if test "x$host_alias" != x; then
   1250   if test "x$build_alias" = x; then
   1251     cross_compiling=maybe
   1252   elif test "x$build_alias" != "x$host_alias"; then
   1253     cross_compiling=yes
   1254   fi
   1255 fi
   1256 
   1257 ac_tool_prefix=
   1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1259 
   1260 test "$silent" = yes && exec 6>/dev/null
   1261 
   1262 
   1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1264 ac_ls_di=`ls -di .` &&
   1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1266   as_fn_error $? "working directory cannot be determined"
   1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1268   as_fn_error $? "pwd does not report name of working directory"
   1269 
   1270 
   1271 # Find the source files, if location was not specified.
   1272 if test -z "$srcdir"; then
   1273   ac_srcdir_defaulted=yes
   1274   # Try the directory containing this script, then the parent directory.
   1275   ac_confdir=`$as_dirname -- "$as_myself" ||
   1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1277 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1278 	 X"$as_myself" : 'X\(//\)$' \| \
   1279 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1280 printf '%s\n' X"$as_myself" |
   1281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  /^X\(\/\/\)[^/].*/{
   1286 	    s//\1/
   1287 	    q
   1288 	  }
   1289 	  /^X\(\/\/\)$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\).*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  s/.*/./; q'`
   1298   srcdir=$ac_confdir
   1299   if test ! -r "$srcdir/$ac_unique_file"; then
   1300     srcdir=..
   1301   fi
   1302 else
   1303   ac_srcdir_defaulted=no
   1304 fi
   1305 if test ! -r "$srcdir/$ac_unique_file"; then
   1306   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1307   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1308 fi
   1309 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1310 ac_abs_confdir=`(
   1311 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1312 	pwd)`
   1313 # When building in place, set srcdir=.
   1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1315   srcdir=.
   1316 fi
   1317 # Remove unnecessary trailing slashes from srcdir.
   1318 # Double slashes in file names in object file debugging info
   1319 # mess up M-x gdb in Emacs.
   1320 case $srcdir in
   1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1322 esac
   1323 for ac_var in $ac_precious_vars; do
   1324   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_env_${ac_var}_value=\$${ac_var}
   1326   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1327   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1328 done
   1329 
   1330 #
   1331 # Report the --help message.
   1332 #
   1333 if test "$ac_init_help" = "long"; then
   1334   # Omit some internal or obsolete options to make the list less imposing.
   1335   # This message is too long to be a string in the A/UX 3.1 sh.
   1336   cat <<_ACEOF
   1337 'configure' configures xload 1.2.1 to adapt to many kinds of systems.
   1338 
   1339 Usage: $0 [OPTION]... [VAR=VALUE]...
   1340 
   1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1342 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1343 
   1344 Defaults for the options are specified in brackets.
   1345 
   1346 Configuration:
   1347   -h, --help              display this help and exit
   1348       --help=short        display options specific to this package
   1349       --help=recursive    display the short help of all the included packages
   1350   -V, --version           display version information and exit
   1351   -q, --quiet, --silent   do not print 'checking ...' messages
   1352       --cache-file=FILE   cache test results in FILE [disabled]
   1353   -C, --config-cache      alias for '--cache-file=config.cache'
   1354   -n, --no-create         do not create output files
   1355       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1356 
   1357 Installation directories:
   1358   --prefix=PREFIX         install architecture-independent files in PREFIX
   1359                           [$ac_default_prefix]
   1360   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1361                           [PREFIX]
   1362 
   1363 By default, 'make install' will install all the files in
   1364 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1365 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1366 for instance '--prefix=\$HOME'.
   1367 
   1368 For better control, use the options below.
   1369 
   1370 Fine tuning of the installation directories:
   1371   --bindir=DIR            user executables [EPREFIX/bin]
   1372   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1373   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1374   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1375   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1376   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1377   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1378   --libdir=DIR            object code libraries [EPREFIX/lib]
   1379   --includedir=DIR        C header files [PREFIX/include]
   1380   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1381   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1382   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1383   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1384   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1385   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1386   --docdir=DIR            documentation root [DATAROOTDIR/doc/xload]
   1387   --htmldir=DIR           html documentation [DOCDIR]
   1388   --dvidir=DIR            dvi documentation [DOCDIR]
   1389   --pdfdir=DIR            pdf documentation [DOCDIR]
   1390   --psdir=DIR             ps documentation [DOCDIR]
   1391 _ACEOF
   1392 
   1393   cat <<\_ACEOF
   1394 
   1395 Program names:
   1396   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1397   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1398   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1399 
   1400 System types:
   1401   --build=BUILD     configure for building on BUILD [guessed]
   1402   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1403 _ACEOF
   1404 fi
   1405 
   1406 if test -n "$ac_init_help"; then
   1407   case $ac_init_help in
   1408      short | recursive ) echo "Configuration of xload 1.2.1:";;
   1409    esac
   1410   cat <<\_ACEOF
   1411 
   1412 Optional Features:
   1413   --disable-option-checking  ignore unrecognized --enable/--with options
   1414   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1415   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1416   --enable-dependency-tracking
   1417                           do not reject slow dependency extractors
   1418   --disable-dependency-tracking
   1419                           speeds up one-time build
   1420   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1421   --disable-silent-rules  verbose build output (undo: "make V=0")
   1422   --disable-selective-werror
   1423                           Turn off selective compiler errors. (default:
   1424                           enabled)
   1425   --enable-strict-compilation
   1426                           Enable all warnings from compiler and make them
   1427                           errors (default: disabled)
   1428   --disable-largefile     omit support for large files
   1429   --enable-year2038       support timestamps after 2038
   1430 
   1431 Optional Packages:
   1432   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1433   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1434   --with-localedir=<path> Path to install message files in (default:
   1435                           datadir/locale)
   1436   --with-appdefaultdir=<pathname>
   1437                           specify directory for app-defaults files (default is
   1438                           autodetected)
   1439 
   1440 Some influential environment variables:
   1441   CC          C compiler command
   1442   CFLAGS      C compiler flags
   1443   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1444               nonstandard directory <lib dir>
   1445   LIBS        libraries to pass to the linker, e.g. -l<library>
   1446   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1447               you have headers in a nonstandard directory <include dir>
   1448   PKG_CONFIG  path to pkg-config utility
   1449   PKG_CONFIG_PATH
   1450               directories to add to pkg-config's search path
   1451   PKG_CONFIG_LIBDIR
   1452               path overriding pkg-config's built-in search path
   1453   XLOAD_CFLAGS
   1454               C compiler flags for XLOAD, overriding pkg-config
   1455   XLOAD_LIBS  linker flags for XLOAD, overriding pkg-config
   1456   APPDEFS_CFLAGS
   1457               C compiler flags for APPDEFS, overriding pkg-config
   1458   APPDEFS_LIBS
   1459               linker flags for APPDEFS, overriding pkg-config
   1460 
   1461 Use these variables to override the choices made by 'configure' or to help
   1462 it to find libraries and programs with nonstandard names/locations.
   1463 
   1464 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/issues>.
   1465 _ACEOF
   1466 ac_status=$?
   1467 fi
   1468 
   1469 if test "$ac_init_help" = "recursive"; then
   1470   # If there are subdirs, report their specific --help.
   1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1472     test -d "$ac_dir" ||
   1473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1474       continue
   1475     ac_builddir=.
   1476 
   1477 case "$ac_dir" in
   1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479 *)
   1480   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1481   # A ".." for each directory in $ac_dir_suffix.
   1482   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1483   case $ac_top_builddir_sub in
   1484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1486   esac ;;
   1487 esac
   1488 ac_abs_top_builddir=$ac_pwd
   1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1490 # for backward compatibility:
   1491 ac_top_builddir=$ac_top_build_prefix
   1492 
   1493 case $srcdir in
   1494   .)  # We are building in place.
   1495     ac_srcdir=.
   1496     ac_top_srcdir=$ac_top_builddir_sub
   1497     ac_abs_top_srcdir=$ac_pwd ;;
   1498   [\\/]* | ?:[\\/]* )  # Absolute name.
   1499     ac_srcdir=$srcdir$ac_dir_suffix;
   1500     ac_top_srcdir=$srcdir
   1501     ac_abs_top_srcdir=$srcdir ;;
   1502   *) # Relative name.
   1503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1504     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1506 esac
   1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1508 
   1509     cd "$ac_dir" || { ac_status=$?; continue; }
   1510     # Check for configure.gnu first; this name is used for a wrapper for
   1511     # Metaconfig's "Configure" on case-insensitive file systems.
   1512     if test -f "$ac_srcdir/configure.gnu"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1515     elif test -f "$ac_srcdir/configure"; then
   1516       echo &&
   1517       $SHELL "$ac_srcdir/configure" --help=recursive
   1518     else
   1519       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1520     fi || ac_status=$?
   1521     cd "$ac_pwd" || { ac_status=$?; break; }
   1522   done
   1523 fi
   1524 
   1525 test -n "$ac_init_help" && exit $ac_status
   1526 if $ac_init_version; then
   1527   cat <<\_ACEOF
   1528 xload configure 1.2.1
   1529 generated by GNU Autoconf 2.73
   1530 
   1531 Copyright (C) 2026 Free Software Foundation, Inc.
   1532 This configure script is free software; the Free Software Foundation
   1533 gives unlimited permission to copy, distribute and modify it.
   1534 _ACEOF
   1535   exit
   1536 fi
   1537 
   1538 ## ------------------------ ##
   1539 ## Autoconf initialization. ##
   1540 ## ------------------------ ##
   1541 
   1542 # ac_fn_c_try_compile LINENO
   1543 # --------------------------
   1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1545 ac_fn_c_try_compile ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   rm -f conftest.$ac_objext conftest.beam
   1549   if { { ac_try="$ac_compile"
   1550 case "(($ac_try" in
   1551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1552   *) ac_try_echo=$ac_try;;
   1553 esac
   1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1555 printf '%s\n' "$ac_try_echo"; } >&5
   1556   (eval "$ac_compile") 2>conftest.err
   1557   ac_status=$?
   1558   if test -s conftest.err; then
   1559     grep -v '^ *+' conftest.err >conftest.er1
   1560     cat conftest.er1 >&5
   1561     mv -f conftest.er1 conftest.err
   1562   fi
   1563   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1564   test $ac_status = 0; } && {
   1565 	 test -z "$ac_c_werror_flag" ||
   1566 	 test ! -s conftest.err
   1567        } && test -s conftest.$ac_objext
   1568 then :
   1569   ac_retval=0
   1570 else case e in #(
   1571   e) printf '%s\n' "$as_me: failed program was:" >&5
   1572 sed 's/^/| /' conftest.$ac_ext >&5
   1573 
   1574 	ac_retval=1 ;;
   1575 esac
   1576 fi
   1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1578   as_fn_set_status $ac_retval
   1579 
   1580 } # ac_fn_c_try_compile
   1581 
   1582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1583 # -------------------------------------------------------
   1584 # Tests whether HEADER exists and can be compiled using the include files in
   1585 # INCLUDES, setting the cache variable VAR accordingly.
   1586 ac_fn_c_check_header_compile ()
   1587 {
   1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1589   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1590 printf %s "checking for $2... " >&6; }
   1591 if eval test \${$3+y}
   1592 then :
   1593   printf %s "(cached) " >&6
   1594 else case e in #(
   1595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1596 /* end confdefs.h.  */
   1597 $4
   1598 #include <$2>
   1599 _ACEOF
   1600 if ac_fn_c_try_compile "$LINENO"
   1601 then :
   1602   eval "$3=yes"
   1603 else case e in #(
   1604   e) eval "$3=no" ;;
   1605 esac
   1606 fi
   1607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1608 esac
   1609 fi
   1610 eval ac_res=\$$3
   1611 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1612 printf '%s\n' "$ac_res" >&6; }
   1613   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1614 
   1615 } # ac_fn_c_check_header_compile
   1616 
   1617 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1618 # ------------------------------------------------------------------
   1619 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1620 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1621 ac_fn_check_decl ()
   1622 {
   1623   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1624   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1625   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1626 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1627 if eval test \${$3+y}
   1628 then :
   1629   printf %s "(cached) " >&6
   1630 else case e in #(
   1631   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1632   eval ac_save_FLAGS=\$$6
   1633   as_fn_append $6 " $5"
   1634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1635 /* end confdefs.h.  */
   1636 $4
   1637 int
   1638 main (void)
   1639 {
   1640 #ifndef $as_decl_name
   1641 #ifdef __cplusplus
   1642   (void) $as_decl_use;
   1643 #else
   1644   (void) $as_decl_name;
   1645 #endif
   1646 #endif
   1647 
   1648   ;
   1649   return 0;
   1650 }
   1651 _ACEOF
   1652 if ac_fn_c_try_compile "$LINENO"
   1653 then :
   1654   eval "$3=yes"
   1655 else case e in #(
   1656   e) eval "$3=no" ;;
   1657 esac
   1658 fi
   1659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1660   eval $6=\$ac_save_FLAGS
   1661  ;;
   1662 esac
   1663 fi
   1664 eval ac_res=\$$3
   1665 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1666 printf '%s\n' "$ac_res" >&6; }
   1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1668 
   1669 } # ac_fn_check_decl
   1670 
   1671 # ac_fn_c_try_link LINENO
   1672 # -----------------------
   1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1674 ac_fn_c_try_link ()
   1675 {
   1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1677   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1678   if { { ac_try="$ac_link"
   1679 case "(($ac_try" in
   1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1681   *) ac_try_echo=$ac_try;;
   1682 esac
   1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1684 printf '%s\n' "$ac_try_echo"; } >&5
   1685   (eval "$ac_link") 2>conftest.err
   1686   ac_status=$?
   1687   if test -s conftest.err; then
   1688     grep -v '^ *+' conftest.err >conftest.er1
   1689     cat conftest.er1 >&5
   1690     mv -f conftest.er1 conftest.err
   1691   fi
   1692   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } && {
   1694 	 test -z "$ac_c_werror_flag" ||
   1695 	 test ! -s conftest.err
   1696        } && test -s conftest$ac_exeext && {
   1697 	 test "$cross_compiling" = yes ||
   1698 	 test -x conftest$ac_exeext
   1699        }
   1700 then :
   1701   ac_retval=0
   1702 else case e in #(
   1703   e) printf '%s\n' "$as_me: failed program was:" >&5
   1704 sed 's/^/| /' conftest.$ac_ext >&5
   1705 
   1706 	ac_retval=1 ;;
   1707 esac
   1708 fi
   1709   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1710   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1711   # interfere with the next link command; also delete a directory that is
   1712   # left behind by Apple's compiler.  We do this before executing the actions.
   1713   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1714   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1715   as_fn_set_status $ac_retval
   1716 
   1717 } # ac_fn_c_try_link
   1718 
   1719 # ac_fn_c_check_func LINENO FUNC VAR
   1720 # ----------------------------------
   1721 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1722 ac_fn_c_check_func ()
   1723 {
   1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1725   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1726 printf %s "checking for $2... " >&6; }
   1727 if eval test \${$3+y}
   1728 then :
   1729   printf %s "(cached) " >&6
   1730 else case e in #(
   1731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1732 /* end confdefs.h.  */
   1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1735 #define $2 innocuous_$2
   1736 
   1737 /* System header to define __stub macros and hopefully few prototypes,
   1738    which can conflict with char $2 (void); below.  */
   1739 
   1740 #include <limits.h>
   1741 #undef $2
   1742 
   1743 /* Override any GCC internal prototype to avoid an error.
   1744    Use char because int might match the return type of a GCC
   1745    builtin and then its argument prototype would still apply.  */
   1746 #ifdef __cplusplus
   1747 extern "C"
   1748 #endif
   1749 char $2 (void);
   1750 /* The GNU C library defines this for functions which it implements
   1751     to always fail with ENOSYS.  Some functions are actually named
   1752     something starting with __ and the normal name is an alias.  */
   1753 #if defined __stub_$2 || defined __stub___$2
   1754 choke me
   1755 #endif
   1756 
   1757 int
   1758 main (void)
   1759 {
   1760 return $2 ();
   1761   ;
   1762   return 0;
   1763 }
   1764 _ACEOF
   1765 if ac_fn_c_try_link "$LINENO"
   1766 then :
   1767   eval "$3=yes"
   1768 else case e in #(
   1769   e) eval "$3=no" ;;
   1770 esac
   1771 fi
   1772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1773     conftest$ac_exeext conftest.$ac_ext ;;
   1774 esac
   1775 fi
   1776 eval ac_res=\$$3
   1777 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1778 printf '%s\n' "$ac_res" >&6; }
   1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1780 
   1781 } # ac_fn_c_check_func
   1782 ac_configure_args_raw=
   1783 for ac_arg
   1784 do
   1785   case $ac_arg in
   1786   *\'*)
   1787     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1788   esac
   1789   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1790 done
   1791 
   1792 case $ac_configure_args_raw in
   1793   *$as_nl*)
   1794     ac_safe_unquote= ;;
   1795   *)
   1796     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1797     ac_unsafe_a="$ac_unsafe_z#~"
   1798     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1799     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1800 esac
   1801 
   1802 cat >config.log <<_ACEOF
   1803 This file contains any messages produced by compilers while
   1804 running configure, to aid debugging if configure makes a mistake.
   1805 
   1806 It was created by xload $as_me 1.2.1, which was
   1807 generated by GNU Autoconf 2.73.  Invocation command line was
   1808 
   1809   $ $0$ac_configure_args_raw
   1810 
   1811 _ACEOF
   1812 exec 5>>config.log
   1813 {
   1814 cat <<_ASUNAME
   1815 ## --------- ##
   1816 ## Platform. ##
   1817 ## --------- ##
   1818 
   1819 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1820 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1821 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1822 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1823 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1824 
   1825 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1826 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1827 
   1828 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1829 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1830 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1831 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1832 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1833 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1834 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1835 
   1836 _ASUNAME
   1837 
   1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1839 for as_dir in $PATH
   1840 do
   1841   IFS=$as_save_IFS
   1842   case $as_dir in #(((
   1843     '') as_dir=./ ;;
   1844     */) ;;
   1845     *) as_dir=$as_dir/ ;;
   1846   esac
   1847     printf '%s\n' "PATH: $as_dir"
   1848   done
   1849 IFS=$as_save_IFS
   1850 
   1851 } >&5
   1852 
   1853 cat >&5 <<_ACEOF
   1854 
   1855 
   1856 ## ----------- ##
   1857 ## Core tests. ##
   1858 ## ----------- ##
   1859 
   1860 _ACEOF
   1861 
   1862 
   1863 # Keep a trace of the command line.
   1864 # Strip out --no-create and --no-recursion so they do not pile up.
   1865 # Strip out --silent because we don't want to record it for future runs.
   1866 # Also quote any args containing shell meta-characters.
   1867 # Make two passes to allow for proper duplicate-argument suppression.
   1868 ac_configure_args=
   1869 ac_configure_args0=
   1870 ac_configure_args1=
   1871 ac_must_keep_next=false
   1872 for ac_pass in 1 2
   1873 do
   1874   for ac_arg
   1875   do
   1876     case $ac_arg in
   1877     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1878     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1879     | -silent | --silent | --silen | --sile | --sil)
   1880       continue ;;
   1881     *\'*)
   1882       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1883     esac
   1884     case $ac_pass in
   1885     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1886     2)
   1887       as_fn_append ac_configure_args1 " '$ac_arg'"
   1888       if test $ac_must_keep_next = true; then
   1889 	ac_must_keep_next=false # Got value, back to normal.
   1890       else
   1891 	case $ac_arg in
   1892 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1893 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1894 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1895 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1896 	    case "$ac_configure_args0 " in
   1897 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1898 	    esac
   1899 	    ;;
   1900 	  -* ) ac_must_keep_next=true ;;
   1901 	esac
   1902       fi
   1903       as_fn_append ac_configure_args " '$ac_arg'"
   1904       ;;
   1905     esac
   1906   done
   1907 done
   1908 { ac_configure_args0=; unset ac_configure_args0;}
   1909 { ac_configure_args1=; unset ac_configure_args1;}
   1910 
   1911 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1912 ac_cache_dump ()
   1913 {
   1914   # The following way of writing the cache mishandles newlines in values,
   1915 # but we know of no workaround that is simple, portable, and efficient.
   1916 # So, we kill variables containing newlines.
   1917 # Ultrix sh set writes to stderr and can't be redirected directly,
   1918 # and sets the high bit in the cache file unless we assign to the vars.
   1919 (
   1920   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1921     eval ac_val=\$$ac_var
   1922     case $ac_val in #(
   1923     *${as_nl}*)
   1924       case $ac_var in #(
   1925       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1926 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1927       esac
   1928       case $ac_var in #(
   1929       _ | IFS | as_nl) ;; #(
   1930       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1931       *) { eval $ac_var=; unset $ac_var;} ;;
   1932       esac ;;
   1933     esac
   1934   done
   1935 
   1936   (set) 2>&1 |
   1937     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1938     *${as_nl}ac_space=\ *)
   1939       # 'set' does not quote correctly, so add quotes: double-quote
   1940       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1941       sed -n \
   1942 	"s/'/'\\\\''/g;
   1943 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1944       ;; #(
   1945     *)
   1946       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1947       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1948       ;;
   1949     esac |
   1950     sort
   1951 )
   1952 }
   1953 
   1954 # Print debugging info to stdout.
   1955 ac_dump_debugging_info ()
   1956 {
   1957   echo
   1958 
   1959   printf '%s\n' "## ---------------- ##
   1960 ## Cache variables. ##
   1961 ## ---------------- ##"
   1962   echo
   1963   ac_cache_dump
   1964   echo
   1965 
   1966   printf '%s\n' "## ----------------- ##
   1967 ## Output variables. ##
   1968 ## ----------------- ##"
   1969   echo
   1970   for ac_var in $ac_subst_vars
   1971   do
   1972     eval ac_val=\$$ac_var
   1973     case $ac_val in
   1974     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1975     esac
   1976     printf '%s\n' "$ac_var='$ac_val'"
   1977   done | sort
   1978   echo
   1979 
   1980   if test -n "$ac_subst_files"; then
   1981     printf '%s\n' "## ------------------- ##
   1982 ## File substitutions. ##
   1983 ## ------------------- ##"
   1984     echo
   1985     for ac_var in $ac_subst_files
   1986     do
   1987       eval ac_val=\$$ac_var
   1988       case $ac_val in
   1989       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1990       esac
   1991       printf '%s\n' "$ac_var='$ac_val'"
   1992     done | sort
   1993     echo
   1994   fi
   1995 
   1996   if test -s confdefs.h; then
   1997     printf '%s\n' "## ----------- ##
   1998 ## confdefs.h. ##
   1999 ## ----------- ##"
   2000     echo
   2001     cat confdefs.h
   2002     echo
   2003   fi
   2004   test "$ac_signal" != 0 &&
   2005     printf '%s\n' "$as_me: caught signal $ac_signal"
   2006   printf '%s\n' "$as_me: exit $exit_status"
   2007 }
   2008 
   2009 # When interrupted or exit'd, cleanup temporary files, and complete
   2010 # config.log.
   2011 ac_exit_trap ()
   2012 {
   2013   exit_status=
   2014   # Sanitize IFS.
   2015   IFS=" ""	$as_nl"
   2016   # Save into config.log some information that might help in debugging.
   2017   ac_dump_debugging_info >&5
   2018   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2019     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2020     exit $exit_status
   2021 }
   2022 
   2023 trap 'ac_exit_trap $?' 0
   2024 for ac_signal in 1 2 13 15; do
   2025   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2026 done
   2027 ac_signal=0
   2028 
   2029 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2030 rm -f -r conftest* confdefs.h
   2031 
   2032 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2033 
   2034 # Predefined preprocessor variables.
   2035 
   2036 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2037 
   2038 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2039 
   2040 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2041 
   2042 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2043 
   2044 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2045 
   2046 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2047 
   2048 
   2049 # Let the site file select an alternate cache file if it wants to.
   2050 # Prefer an explicitly selected file to automatically selected ones.
   2051 if test -n "$CONFIG_SITE"; then
   2052   ac_site_files="$CONFIG_SITE"
   2053 elif test "x$prefix" != xNONE; then
   2054   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2055 else
   2056   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2057 fi
   2058 
   2059 for ac_site_file in $ac_site_files
   2060 do
   2061   case $ac_site_file in #(
   2062   */*) :
   2063      ;; #(
   2064   *) :
   2065     ac_site_file=./$ac_site_file ;;
   2066 esac
   2067   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2068     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2069 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2070     sed 's/^/| /' "$ac_site_file" >&5
   2071     . "$ac_site_file" \
   2072       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2073 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2074 as_fn_error $? "failed to load site script $ac_site_file
   2075 See 'config.log' for more details" "$LINENO" 5; }
   2076   fi
   2077 done
   2078 
   2079 if test -r "$cache_file"; then
   2080   # Some versions of bash will fail to source /dev/null (special files
   2081   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2082   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2083     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2084 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2085     case $cache_file in
   2086       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2087       *)                      . "./$cache_file";;
   2088     esac
   2089   fi
   2090 else
   2091   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2092 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2093   >$cache_file
   2094 fi
   2095 
   2096 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2097 # Test code for whether the C compiler supports C23 (global declarations)
   2098 ac_c_conftest_c23_globals='
   2099 /* Does the compiler advertise conformance to C17 or earlier?
   2100    Although GCC 14 does not do that, even with -std=gnu23,
   2101    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2102 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2103 # error "Compiler advertises conformance to C17 or earlier"
   2104 #endif
   2105 
   2106 // Check alignas.
   2107 char alignas (double) c23_aligned_as_double;
   2108 char alignas (0) c23_no_special_alignment;
   2109 extern char c23_aligned_as_int;
   2110 char alignas (0) alignas (int) c23_aligned_as_int;
   2111 
   2112 // Check alignof.
   2113 enum
   2114 {
   2115   c23_int_alignment = alignof (int),
   2116   c23_int_array_alignment = alignof (int[100]),
   2117   c23_char_alignment = alignof (char)
   2118 };
   2119 static_assert (0 < -alignof (int), "alignof is signed");
   2120 
   2121 int function_with_unnamed_parameter (int) { return 0; }
   2122 
   2123 void c23_noreturn ();
   2124 
   2125 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2126    The parens pacify GCC 15.  */
   2127 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2128 
   2129 bool check_that_bool_works = true | false | !nullptr;
   2130 #if !true
   2131 # error "true does not work in #if"
   2132 #endif
   2133 #if false
   2134 #elifdef __STDC_VERSION__
   2135 #else
   2136 # error "#elifdef does not work"
   2137 #endif
   2138 
   2139 #ifndef __has_c_attribute
   2140 # error "__has_c_attribute not defined"
   2141 #endif
   2142 
   2143 #ifndef __has_include
   2144 # error "__has_include not defined"
   2145 #endif
   2146 
   2147 #define LPAREN() (
   2148 #define FORTY_TWO(x) 42
   2149 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2150 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2151 
   2152 static_assert (0b101010 == 42);
   2153 static_assert (0B101010 == 42);
   2154 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2155 static_assert (0.500'\''000'\''000 == 0.5);
   2156 
   2157 enum unsignedish : unsigned int { uione = 1 };
   2158 static_assert (0 < -uione);
   2159 
   2160 #include <stddef.h>
   2161 constexpr nullptr_t null_pointer = nullptr;
   2162 
   2163 static typeof (1 + 1L) two () { return 2; }
   2164 static long int three () { return 3; }
   2165 '
   2166 
   2167 # Test code for whether the C compiler supports C23 (body of main).
   2168 ac_c_conftest_c23_main='
   2169   {
   2170     label_before_declaration:
   2171       int arr[10] = {};
   2172       if (arr[0])
   2173         goto label_before_declaration;
   2174       if (!arr[0])
   2175         goto label_at_end_of_block;
   2176     label_at_end_of_block:
   2177   }
   2178   ok |= !null_pointer;
   2179   ok |= two != three;
   2180 '
   2181 
   2182 # Test code for whether the C compiler supports C23 (complete).
   2183 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2184 
   2185 int
   2186 main (int, char **)
   2187 {
   2188   int ok = 0;
   2189   ${ac_c_conftest_c23_main}
   2190   return ok;
   2191 }
   2192 "
   2193 
   2194 # Test code for whether the C compiler supports C89 (global declarations)
   2195 ac_c_conftest_c89_globals='
   2196 /* Do not test the value of __STDC__, because some compilers define it to 0
   2197    or do not define it, while otherwise adequately conforming.  */
   2198 
   2199 #include <stddef.h>
   2200 #include <stdarg.h>
   2201 struct stat;
   2202 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2203 struct buf { int x; };
   2204 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2205 static char *e (char **p, int i)
   2206 {
   2207   return p[i];
   2208 }
   2209 static char *f (char * (*g) (char **, int), char **p, ...)
   2210 {
   2211   char *s;
   2212   va_list v;
   2213   va_start (v,p);
   2214   s = g (p, va_arg (v,int));
   2215   va_end (v);
   2216   return s;
   2217 }
   2218 
   2219 /* C89 style stringification. */
   2220 #define noexpand_stringify(a) #a
   2221 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2222 
   2223 /* C89 style token pasting.  Exercises some of the corner cases that
   2224    e.g. old MSVC gets wrong, but not very hard. */
   2225 #define noexpand_concat(a,b) a##b
   2226 #define expand_concat(a,b) noexpand_concat(a,b)
   2227 extern int vA;
   2228 extern int vbee;
   2229 #define aye A
   2230 #define bee B
   2231 int *pvA = &expand_concat(v,aye);
   2232 int *pvbee = &noexpand_concat(v,bee);
   2233 
   2234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2235    function prototypes and stuff, but not \xHH hex character constants.
   2236    These do not provoke an error unfortunately, instead are silently treated
   2237    as an "x".  The following induces an error, until -std is added to get
   2238    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2239    array size at least.  It is necessary to write \x00 == 0 to get something
   2240    that is true only with -std.  */
   2241 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2242 
   2243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2244    inside strings and character constants.  */
   2245 #define FOO(x) '\''x'\''
   2246 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2247 
   2248 int test (int i, double x);
   2249 struct s1 {int (*f) (int a);};
   2250 struct s2 {int (*f) (double a);};
   2251 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2252                int, int);'
   2253 
   2254 # Test code for whether the C compiler supports C89 (body of main).
   2255 ac_c_conftest_c89_main='
   2256 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2257 '
   2258 
   2259 # Test code for whether the C compiler supports C99 (global declarations)
   2260 ac_c_conftest_c99_globals='
   2261 /* Does the compiler advertise C99 conformance? */
   2262 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2263 # error "Compiler does not advertise C99 conformance"
   2264 #endif
   2265 
   2266 // See if C++-style comments work.
   2267 
   2268 #include <stdbool.h>
   2269 extern int puts (const char *);
   2270 extern int printf (const char *, ...);
   2271 extern int dprintf (int, const char *, ...);
   2272 extern void *malloc (size_t);
   2273 extern void free (void *);
   2274 
   2275 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2276 // dprintf is used instead of fprintf to avoid needing to declare
   2277 // FILE and stderr, and "aND" is used instead of "and" to work around
   2278 // GCC bug 40564 which is irrelevant here.
   2279 #define debug(...) dprintf (2, __VA_ARGS__)
   2280 #define showlist(...) puts (#__VA_ARGS__)
   2281 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2282 static void
   2283 test_varargs_macros (void)
   2284 {
   2285   int x = 1234;
   2286   int y = 5678;
   2287   debug ("Flag");
   2288   debug ("X = %d\n", x);
   2289   showlist (The first, second, aND third items.);
   2290   report (x>y, "x is %d but y is %d", x, y);
   2291 }
   2292 
   2293 // Check long long types.
   2294 #define BIG64 18446744073709551615ull
   2295 #define BIG32 4294967295ul
   2296 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2297 #if !BIG_OK
   2298   #error "your preprocessor is broken"
   2299 #endif
   2300 #if BIG_OK
   2301 #else
   2302   #error "your preprocessor is broken"
   2303 #endif
   2304 static long long int bignum = -9223372036854775807LL;
   2305 static unsigned long long int ubignum = BIG64;
   2306 
   2307 struct incomplete_array
   2308 {
   2309   int datasize;
   2310   double data[];
   2311 };
   2312 
   2313 struct named_init {
   2314   int number;
   2315   const wchar_t *name;
   2316   double average;
   2317 };
   2318 
   2319 typedef const char *ccp;
   2320 
   2321 static inline int
   2322 test_restrict (ccp restrict text)
   2323 {
   2324   // Iterate through items via the restricted pointer.
   2325   // Also check for declarations in for loops.
   2326   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2327     continue;
   2328   return 0;
   2329 }
   2330 
   2331 // Check varargs and va_copy.
   2332 static bool
   2333 test_varargs (const char *format, ...)
   2334 {
   2335   va_list args;
   2336   va_start (args, format);
   2337   va_list args_copy;
   2338   va_copy (args_copy, args);
   2339 
   2340   const char *str = "";
   2341   int number = 0;
   2342   float fnumber = 0;
   2343 
   2344   while (*format)
   2345     {
   2346       switch (*format++)
   2347 	{
   2348 	case '\''s'\'': // string
   2349 	  str = va_arg (args_copy, const char *);
   2350 	  break;
   2351 	case '\''d'\'': // int
   2352 	  number = va_arg (args_copy, int);
   2353 	  break;
   2354 	case '\''f'\'': // float
   2355 	  fnumber = va_arg (args_copy, double);
   2356 	  break;
   2357 	default:
   2358 	  break;
   2359 	}
   2360     }
   2361   va_end (args_copy);
   2362   va_end (args);
   2363 
   2364   return *str && number && fnumber;
   2365 }
   2366 '
   2367 
   2368 # Test code for whether the C compiler supports C99 (body of main).
   2369 ac_c_conftest_c99_main='
   2370   // Check bool.
   2371   _Bool success = false;
   2372   success |= (argc != 0);
   2373 
   2374   // Check restrict.
   2375   if (test_restrict ("String literal") == 0)
   2376     success = true;
   2377   const char *restrict newvar = "Another string";
   2378 
   2379   // Check varargs.
   2380   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2381   test_varargs_macros ();
   2382 
   2383   // Check flexible array members.
   2384   static struct incomplete_array *volatile incomplete_array_pointer;
   2385   struct incomplete_array *ia = incomplete_array_pointer;
   2386   ia->datasize = 10;
   2387   for (int i = 0; i < ia->datasize; ++i)
   2388     ia->data[i] = i * 1.234;
   2389   // Work around memory leak warnings.
   2390   free (ia);
   2391 
   2392   // Check named initializers.
   2393   struct named_init ni = {
   2394     .number = 34,
   2395     .name = L"Test wide string",
   2396     .average = 543.34343,
   2397   };
   2398 
   2399   ni.number = 58;
   2400 
   2401   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2402   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2403 
   2404   // work around unused variable warnings
   2405   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2406 	 || ni.number != 58);
   2407 '
   2408 
   2409 # Test code for whether the C compiler supports C11 (global declarations)
   2410 ac_c_conftest_c11_globals='
   2411 /* Does the compiler advertise C11 conformance? */
   2412 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2413 # error "Compiler does not advertise C11 conformance"
   2414 #endif
   2415 
   2416 // Check _Alignas.
   2417 char _Alignas (double) aligned_as_double;
   2418 char _Alignas (0) no_special_alignment;
   2419 extern char aligned_as_int;
   2420 char _Alignas (0) _Alignas (int) aligned_as_int;
   2421 
   2422 // Check _Alignof.
   2423 enum
   2424 {
   2425   int_alignment = _Alignof (int),
   2426   int_array_alignment = _Alignof (int[100]),
   2427   char_alignment = _Alignof (char)
   2428 };
   2429 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2430 
   2431 // Check _Noreturn.
   2432 int _Noreturn does_not_return (void) { for (;;) continue; }
   2433 
   2434 // Check _Static_assert.
   2435 struct test_static_assert
   2436 {
   2437   int x;
   2438   _Static_assert (sizeof (int) <= sizeof (long int),
   2439                   "_Static_assert does not work in struct");
   2440   long int y;
   2441 };
   2442 
   2443 // Check UTF-8 literals.
   2444 #define u8 syntax error!
   2445 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2446 
   2447 // Check duplicate typedefs.
   2448 typedef long *long_ptr;
   2449 typedef long int *long_ptr;
   2450 typedef long_ptr long_ptr;
   2451 
   2452 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2453 struct anonymous
   2454 {
   2455   union {
   2456     struct { int i; int j; };
   2457     struct { int k; long int l; } w;
   2458   };
   2459   int m;
   2460 } v1;
   2461 '
   2462 
   2463 # Test code for whether the C compiler supports C11 (body of main).
   2464 ac_c_conftest_c11_main='
   2465   _Static_assert ((offsetof (struct anonymous, i)
   2466 		   == offsetof (struct anonymous, w.k)),
   2467 		  "Anonymous union alignment botch");
   2468   v1.i = 2;
   2469   v1.w.k = 5;
   2470   ok |= v1.i != 5;
   2471 '
   2472 
   2473 # Test code for whether the C compiler supports C11 (complete).
   2474 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2475 ${ac_c_conftest_c99_globals}
   2476 ${ac_c_conftest_c11_globals}
   2477 
   2478 int
   2479 main (int argc, char **argv)
   2480 {
   2481   int ok = 0;
   2482   ${ac_c_conftest_c89_main}
   2483   ${ac_c_conftest_c99_main}
   2484   ${ac_c_conftest_c11_main}
   2485   return ok;
   2486 }
   2487 "
   2488 
   2489 # Test code for whether the C compiler supports C99 (complete).
   2490 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2491 ${ac_c_conftest_c99_globals}
   2492 
   2493 int
   2494 main (int argc, char **argv)
   2495 {
   2496   int ok = 0;
   2497   ${ac_c_conftest_c89_main}
   2498   ${ac_c_conftest_c99_main}
   2499   return ok;
   2500 }
   2501 "
   2502 
   2503 # Test code for whether the C compiler supports C89 (complete).
   2504 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2505 
   2506 int
   2507 main (int argc, char **argv)
   2508 {
   2509   int ok = 0;
   2510   ${ac_c_conftest_c89_main}
   2511   return ok;
   2512 }
   2513 "
   2514 
   2515 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2516 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2517 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2518 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2519 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2520 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2521 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2522 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2523 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2524 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2525 
   2526 # Auxiliary files required by this configure script.
   2527 ac_aux_files="config.guess config.sub missing install-sh compile"
   2528 
   2529 # Locations in which to look for auxiliary files.
   2530 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2531 
   2532 # Search for a directory containing all of the required auxiliary files,
   2533 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2534 # If we don't find one directory that contains all the files we need,
   2535 # we report the set of missing files from the *first* directory in
   2536 # $ac_aux_dir_candidates and give up.
   2537 ac_missing_aux_files=""
   2538 ac_first_candidate=:
   2539 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2541 as_found=false
   2542 for as_dir in $ac_aux_dir_candidates
   2543 do
   2544   IFS=$as_save_IFS
   2545   case $as_dir in #(((
   2546     '') as_dir=./ ;;
   2547     */) ;;
   2548     *) as_dir=$as_dir/ ;;
   2549   esac
   2550   as_found=:
   2551 
   2552   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2553   ac_aux_dir_found=yes
   2554   ac_install_sh=
   2555   for ac_aux in $ac_aux_files
   2556   do
   2557     # As a special case, if "install-sh" is required, that requirement
   2558     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2559     # and $ac_install_sh is set appropriately for whichever one is found.
   2560     if test x"$ac_aux" = x"install-sh"
   2561     then
   2562       if test -f "${as_dir}install-sh"; then
   2563         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2564         ac_install_sh="${as_dir}install-sh -c"
   2565       elif test -f "${as_dir}install.sh"; then
   2566         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2567         ac_install_sh="${as_dir}install.sh -c"
   2568       elif test -f "${as_dir}shtool"; then
   2569         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2570         ac_install_sh="${as_dir}shtool install -c"
   2571       else
   2572         ac_aux_dir_found=no
   2573         if $ac_first_candidate; then
   2574           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2575         else
   2576           break
   2577         fi
   2578       fi
   2579     else
   2580       if test -f "${as_dir}${ac_aux}"; then
   2581         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2582       else
   2583         ac_aux_dir_found=no
   2584         if $ac_first_candidate; then
   2585           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2586         else
   2587           break
   2588         fi
   2589       fi
   2590     fi
   2591   done
   2592   if test "$ac_aux_dir_found" = yes; then
   2593     ac_aux_dir="$as_dir"
   2594     break
   2595   fi
   2596   ac_first_candidate=false
   2597 
   2598   as_found=false
   2599 done
   2600 IFS=$as_save_IFS
   2601 if $as_found
   2602 then :
   2603 
   2604 else case e in #(
   2605   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2606 esac
   2607 fi
   2608 
   2609 
   2610 # These three variables are undocumented and unsupported,
   2611 # and are intended to be withdrawn in a future Autoconf release.
   2612 # They can cause serious problems if a builder's source tree is in a directory
   2613 # whose full name contains unusual characters.
   2614 if test -f "${ac_aux_dir}config.guess"; then
   2615   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2616 fi
   2617 if test -f "${ac_aux_dir}config.sub"; then
   2618   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2619 fi
   2620 if test -f "$ac_aux_dir/configure"; then
   2621   ac_configure="$SHELL ${ac_aux_dir}configure"
   2622 fi
   2623 
   2624 # Check that the precious variables saved in the cache have kept the same
   2625 # value.
   2626 ac_cache_corrupted=false
   2627 for ac_var in $ac_precious_vars; do
   2628   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2629   eval ac_new_set=\$ac_env_${ac_var}_set
   2630   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2631   eval ac_new_val=\$ac_env_${ac_var}_value
   2632   case $ac_old_set,$ac_new_set in
   2633     set,)
   2634       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2635 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2636       ac_cache_corrupted=: ;;
   2637     ,set)
   2638       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2639 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2640       ac_cache_corrupted=: ;;
   2641     ,);;
   2642     *)
   2643       if test "x$ac_old_val" != "x$ac_new_val"; then
   2644 	# differences in whitespace do not lead to failure.
   2645 	ac_old_val_w=
   2646 	for ac_val in x $ac_old_val; do
   2647 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2648 	done
   2649 	ac_new_val_w=
   2650 	for ac_val in x $ac_new_val; do
   2651 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2652 	done
   2653 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2654 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2655 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2656 	  ac_cache_corrupted=:
   2657 	else
   2658 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2659 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2660 	  eval $ac_var=\$ac_old_val
   2661 	fi
   2662 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2663 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2664 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2665 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2666       fi;;
   2667   esac
   2668   # Pass precious variables to config.status.
   2669   if test "$ac_new_set" = set; then
   2670     case $ac_new_val in
   2671     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2672     *) ac_arg=$ac_var=$ac_new_val ;;
   2673     esac
   2674     case " $ac_configure_args " in
   2675       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2676       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2677     esac
   2678   fi
   2679 done
   2680 if $ac_cache_corrupted; then
   2681   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2682 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2683   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2684 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2685   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2686 	    and start over" "$LINENO" 5
   2687 fi
   2688 ## -------------------- ##
   2689 ## Main body of script. ##
   2690 ## -------------------- ##
   2691 
   2692 
   2693 # Determine whether it's possible to make 'echo' print without a newline.
   2694 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2695 # for compatibility with existing Makefiles.
   2696 ECHO_C= ECHO_N= ECHO_T=
   2697 case `echo -n x` in #(((((
   2698 -n*)
   2699   case `echo 'xy\c'` in
   2700   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2701   xy)  ECHO_C='\c';;
   2702   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2703        ECHO_T='	';;
   2704   esac;;
   2705 *)
   2706   ECHO_N='-n';;
   2707 esac
   2708 
   2709 ac_ext=c
   2710 ac_cpp='$CPP $CPPFLAGS'
   2711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2714 
   2715 
   2716 
   2717 
   2718 ac_config_headers="$ac_config_headers config.h"
   2719 
   2720 
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 # Expand $ac_aux_dir to an absolute path.
   2735 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2736 
   2737 ac_ext=c
   2738 ac_cpp='$CPP $CPPFLAGS'
   2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2742 if test -n "$ac_tool_prefix"; then
   2743   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2746 printf %s "checking for $ac_word... " >&6; }
   2747 if test ${ac_cv_prog_CC+y}
   2748 then :
   2749   printf %s "(cached) " >&6
   2750 else case e in #(
   2751   e) if test -n "$CC"; then
   2752   ac_cv_prog_CC="$CC" # Let the user override the test.
   2753 else
   2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2755 for as_dir in $PATH
   2756 do
   2757   IFS=$as_save_IFS
   2758   case $as_dir in #(((
   2759     '') as_dir=./ ;;
   2760     */) ;;
   2761     *) as_dir=$as_dir/ ;;
   2762   esac
   2763     for ac_exec_ext in '' $ac_executable_extensions; do
   2764   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2765     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2766     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2767     break 2
   2768   fi
   2769 done
   2770   done
   2771 IFS=$as_save_IFS
   2772 
   2773 fi ;;
   2774 esac
   2775 fi
   2776 CC=$ac_cv_prog_CC
   2777 if test -n "$CC"; then
   2778   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2779 printf '%s\n' "$CC" >&6; }
   2780 else
   2781   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 printf '%s\n' "no" >&6; }
   2783 fi
   2784 
   2785 
   2786 fi
   2787 if test -z "$ac_cv_prog_CC"; then
   2788   ac_ct_CC=$CC
   2789   # Extract the first word of "gcc", so it can be a program name with args.
   2790 set dummy gcc; ac_word=$2
   2791 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2792 printf %s "checking for $ac_word... " >&6; }
   2793 if test ${ac_cv_prog_ac_ct_CC+y}
   2794 then :
   2795   printf %s "(cached) " >&6
   2796 else case e in #(
   2797   e) if test -n "$ac_ct_CC"; then
   2798   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   case $as_dir in #(((
   2805     '') as_dir=./ ;;
   2806     */) ;;
   2807     *) as_dir=$as_dir/ ;;
   2808   esac
   2809     for ac_exec_ext in '' $ac_executable_extensions; do
   2810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2811     ac_cv_prog_ac_ct_CC="gcc"
   2812     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816   done
   2817 IFS=$as_save_IFS
   2818 
   2819 fi ;;
   2820 esac
   2821 fi
   2822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2823 if test -n "$ac_ct_CC"; then
   2824   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2825 printf '%s\n' "$ac_ct_CC" >&6; }
   2826 else
   2827   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2828 printf '%s\n' "no" >&6; }
   2829 fi
   2830 
   2831   if test "x$ac_ct_CC" = x; then
   2832     CC=""
   2833   else
   2834     case $cross_compiling:$ac_tool_warned in
   2835 yes:)
   2836 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2837 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2838 ac_tool_warned=yes ;;
   2839 esac
   2840     CC=$ac_ct_CC
   2841   fi
   2842 else
   2843   CC="$ac_cv_prog_CC"
   2844 fi
   2845 
   2846 if test -z "$CC"; then
   2847           if test -n "$ac_tool_prefix"; then
   2848     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2849 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2850 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2851 printf %s "checking for $ac_word... " >&6; }
   2852 if test ${ac_cv_prog_CC+y}
   2853 then :
   2854   printf %s "(cached) " >&6
   2855 else case e in #(
   2856   e) if test -n "$CC"; then
   2857   ac_cv_prog_CC="$CC" # Let the user override the test.
   2858 else
   2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2860 for as_dir in $PATH
   2861 do
   2862   IFS=$as_save_IFS
   2863   case $as_dir in #(((
   2864     '') as_dir=./ ;;
   2865     */) ;;
   2866     *) as_dir=$as_dir/ ;;
   2867   esac
   2868     for ac_exec_ext in '' $ac_executable_extensions; do
   2869   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2870     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2871     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2872     break 2
   2873   fi
   2874 done
   2875   done
   2876 IFS=$as_save_IFS
   2877 
   2878 fi ;;
   2879 esac
   2880 fi
   2881 CC=$ac_cv_prog_CC
   2882 if test -n "$CC"; then
   2883   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2884 printf '%s\n' "$CC" >&6; }
   2885 else
   2886   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2887 printf '%s\n' "no" >&6; }
   2888 fi
   2889 
   2890 
   2891   fi
   2892 fi
   2893 if test -z "$CC"; then
   2894   # Extract the first word of "cc", so it can be a program name with args.
   2895 set dummy cc; ac_word=$2
   2896 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 printf %s "checking for $ac_word... " >&6; }
   2898 if test ${ac_cv_prog_CC+y}
   2899 then :
   2900   printf %s "(cached) " >&6
   2901 else case e in #(
   2902   e) if test -n "$CC"; then
   2903   ac_cv_prog_CC="$CC" # Let the user override the test.
   2904 else
   2905   ac_prog_rejected=no
   2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2907 for as_dir in $PATH
   2908 do
   2909   IFS=$as_save_IFS
   2910   case $as_dir in #(((
   2911     '') as_dir=./ ;;
   2912     */) ;;
   2913     *) as_dir=$as_dir/ ;;
   2914   esac
   2915     for ac_exec_ext in '' $ac_executable_extensions; do
   2916   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2917     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2918        ac_prog_rejected=yes
   2919        continue
   2920      fi
   2921     ac_cv_prog_CC="cc"
   2922     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2923     break 2
   2924   fi
   2925 done
   2926   done
   2927 IFS=$as_save_IFS
   2928 
   2929 if test $ac_prog_rejected = yes; then
   2930   # We found a bogon in the path, so make sure we never use it.
   2931   set dummy $ac_cv_prog_CC
   2932   shift
   2933   if test $# != 0; then
   2934     # We chose a different compiler from the bogus one.
   2935     # However, it has the same basename, so the bogon will be chosen
   2936     # first if we set CC to just the basename; use the full file name.
   2937     shift
   2938     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2939   fi
   2940 fi
   2941 fi ;;
   2942 esac
   2943 fi
   2944 CC=$ac_cv_prog_CC
   2945 if test -n "$CC"; then
   2946   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2947 printf '%s\n' "$CC" >&6; }
   2948 else
   2949   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2950 printf '%s\n' "no" >&6; }
   2951 fi
   2952 
   2953 
   2954 fi
   2955 if test -z "$CC"; then
   2956   if test -n "$ac_tool_prefix"; then
   2957   for ac_prog in cl.exe
   2958   do
   2959     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2962 printf %s "checking for $ac_word... " >&6; }
   2963 if test ${ac_cv_prog_CC+y}
   2964 then :
   2965   printf %s "(cached) " >&6
   2966 else case e in #(
   2967   e) if test -n "$CC"; then
   2968   ac_cv_prog_CC="$CC" # Let the user override the test.
   2969 else
   2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2971 for as_dir in $PATH
   2972 do
   2973   IFS=$as_save_IFS
   2974   case $as_dir in #(((
   2975     '') as_dir=./ ;;
   2976     */) ;;
   2977     *) as_dir=$as_dir/ ;;
   2978   esac
   2979     for ac_exec_ext in '' $ac_executable_extensions; do
   2980   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2981     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2982     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2983     break 2
   2984   fi
   2985 done
   2986   done
   2987 IFS=$as_save_IFS
   2988 
   2989 fi ;;
   2990 esac
   2991 fi
   2992 CC=$ac_cv_prog_CC
   2993 if test -n "$CC"; then
   2994   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2995 printf '%s\n' "$CC" >&6; }
   2996 else
   2997   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2998 printf '%s\n' "no" >&6; }
   2999 fi
   3000 
   3001 
   3002     test -n "$CC" && break
   3003   done
   3004 fi
   3005 if test -z "$CC"; then
   3006   ac_ct_CC=$CC
   3007   for ac_prog in cl.exe
   3008 do
   3009   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3010 set dummy $ac_prog; ac_word=$2
   3011 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 printf %s "checking for $ac_word... " >&6; }
   3013 if test ${ac_cv_prog_ac_ct_CC+y}
   3014 then :
   3015   printf %s "(cached) " >&6
   3016 else case e in #(
   3017   e) if test -n "$ac_ct_CC"; then
   3018   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3019 else
   3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3021 for as_dir in $PATH
   3022 do
   3023   IFS=$as_save_IFS
   3024   case $as_dir in #(((
   3025     '') as_dir=./ ;;
   3026     */) ;;
   3027     *) as_dir=$as_dir/ ;;
   3028   esac
   3029     for ac_exec_ext in '' $ac_executable_extensions; do
   3030   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3031     ac_cv_prog_ac_ct_CC="$ac_prog"
   3032     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 fi ;;
   3040 esac
   3041 fi
   3042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3043 if test -n "$ac_ct_CC"; then
   3044   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3045 printf '%s\n' "$ac_ct_CC" >&6; }
   3046 else
   3047   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3048 printf '%s\n' "no" >&6; }
   3049 fi
   3050 
   3051 
   3052   test -n "$ac_ct_CC" && break
   3053 done
   3054 
   3055   if test "x$ac_ct_CC" = x; then
   3056     CC=""
   3057   else
   3058     case $cross_compiling:$ac_tool_warned in
   3059 yes:)
   3060 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3061 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3062 ac_tool_warned=yes ;;
   3063 esac
   3064     CC=$ac_ct_CC
   3065   fi
   3066 fi
   3067 
   3068 fi
   3069 if test -z "$CC"; then
   3070   if test -n "$ac_tool_prefix"; then
   3071   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3072 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3073 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3074 printf %s "checking for $ac_word... " >&6; }
   3075 if test ${ac_cv_prog_CC+y}
   3076 then :
   3077   printf %s "(cached) " >&6
   3078 else case e in #(
   3079   e) if test -n "$CC"; then
   3080   ac_cv_prog_CC="$CC" # Let the user override the test.
   3081 else
   3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH
   3084 do
   3085   IFS=$as_save_IFS
   3086   case $as_dir in #(((
   3087     '') as_dir=./ ;;
   3088     */) ;;
   3089     *) as_dir=$as_dir/ ;;
   3090   esac
   3091     for ac_exec_ext in '' $ac_executable_extensions; do
   3092   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3093     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3094     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3095     break 2
   3096   fi
   3097 done
   3098   done
   3099 IFS=$as_save_IFS
   3100 
   3101 fi ;;
   3102 esac
   3103 fi
   3104 CC=$ac_cv_prog_CC
   3105 if test -n "$CC"; then
   3106   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3107 printf '%s\n' "$CC" >&6; }
   3108 else
   3109   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3110 printf '%s\n' "no" >&6; }
   3111 fi
   3112 
   3113 
   3114 fi
   3115 if test -z "$ac_cv_prog_CC"; then
   3116   ac_ct_CC=$CC
   3117   # Extract the first word of "clang", so it can be a program name with args.
   3118 set dummy clang; ac_word=$2
   3119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3120 printf %s "checking for $ac_word... " >&6; }
   3121 if test ${ac_cv_prog_ac_ct_CC+y}
   3122 then :
   3123   printf %s "(cached) " >&6
   3124 else case e in #(
   3125   e) if test -n "$ac_ct_CC"; then
   3126   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3127 else
   3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3129 for as_dir in $PATH
   3130 do
   3131   IFS=$as_save_IFS
   3132   case $as_dir in #(((
   3133     '') as_dir=./ ;;
   3134     */) ;;
   3135     *) as_dir=$as_dir/ ;;
   3136   esac
   3137     for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3139     ac_cv_prog_ac_ct_CC="clang"
   3140     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144   done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi ;;
   3148 esac
   3149 fi
   3150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3151 if test -n "$ac_ct_CC"; then
   3152   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3153 printf '%s\n' "$ac_ct_CC" >&6; }
   3154 else
   3155   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3156 printf '%s\n' "no" >&6; }
   3157 fi
   3158 
   3159   if test "x$ac_ct_CC" = x; then
   3160     CC=""
   3161   else
   3162     case $cross_compiling:$ac_tool_warned in
   3163 yes:)
   3164 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3165 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3166 ac_tool_warned=yes ;;
   3167 esac
   3168     CC=$ac_ct_CC
   3169   fi
   3170 else
   3171   CC="$ac_cv_prog_CC"
   3172 fi
   3173 
   3174 fi
   3175 
   3176 
   3177 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3178 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3179 as_fn_error $? "no acceptable C compiler found in \$PATH
   3180 See 'config.log' for more details" "$LINENO" 5; }
   3181 
   3182 # Provide some information about the compiler.
   3183 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3184 set X $ac_compile
   3185 ac_compiler=$2
   3186 for ac_option in --version -v -V -qversion -version; do
   3187   { { ac_try="$ac_compiler $ac_option >&5"
   3188 case "(($ac_try" in
   3189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3190   *) ac_try_echo=$ac_try;;
   3191 esac
   3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3193 printf '%s\n' "$ac_try_echo"; } >&5
   3194   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3195   ac_status=$?
   3196   if test -s conftest.err; then
   3197     sed '10a\
   3198 ... rest of stderr output deleted ...
   3199          10q' conftest.err >conftest.er1
   3200     cat conftest.er1 >&5
   3201   fi
   3202   rm -f conftest.er1 conftest.err
   3203   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3204   test $ac_status = 0; }
   3205 done
   3206 
   3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3208 /* end confdefs.h.  */
   3209 
   3210 int
   3211 main (void)
   3212 {
   3213 
   3214   ;
   3215   return 0;
   3216 }
   3217 _ACEOF
   3218 ac_clean_files_save=$ac_clean_files
   3219 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3220 # Try to create an executable without -o first, disregard a.out.
   3221 # It will help us diagnose broken compilers, and finding out an intuition
   3222 # of exeext.
   3223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3224 printf %s "checking whether the C compiler works... " >&6; }
   3225 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3226 
   3227 # The possible output files:
   3228 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3229 
   3230 ac_rmfiles=
   3231 for ac_file in $ac_files
   3232 do
   3233   case $ac_file in
   3234     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3235     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3236   esac
   3237 done
   3238 rm -f $ac_rmfiles
   3239 
   3240 if { { ac_try="$ac_link_default"
   3241 case "(($ac_try" in
   3242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3243   *) ac_try_echo=$ac_try;;
   3244 esac
   3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3246 printf '%s\n' "$ac_try_echo"; } >&5
   3247   (eval "$ac_link_default") 2>&5
   3248   ac_status=$?
   3249   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3250   test $ac_status = 0; }
   3251 then :
   3252   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3253 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3254 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3255 # so that the user can short-circuit this test for compilers unknown to
   3256 # Autoconf.
   3257 for ac_file in $ac_files ''
   3258 do
   3259   test -f "$ac_file" || continue
   3260   case $ac_file in
   3261     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3262 	;;
   3263     [ab].out )
   3264 	# We found the default executable, but exeext='' is most
   3265 	# certainly right.
   3266 	break;;
   3267     *.* )
   3268 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3269 	then :; else
   3270 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3271 	fi
   3272 	# We set ac_cv_exeext here because the later test for it is not
   3273 	# safe: cross compilers may not add the suffix if given an '-o'
   3274 	# argument, so we may need to know it at that point already.
   3275 	# Even if this section looks crufty: it has the advantage of
   3276 	# actually working.
   3277 	break;;
   3278     * )
   3279 	break;;
   3280   esac
   3281 done
   3282 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3283 
   3284 else case e in #(
   3285   e) ac_file='' ;;
   3286 esac
   3287 fi
   3288 if test -z "$ac_file"
   3289 then :
   3290   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3291 printf '%s\n' "no" >&6; }
   3292 printf '%s\n' "$as_me: failed program was:" >&5
   3293 sed 's/^/| /' conftest.$ac_ext >&5
   3294 
   3295 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3296 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3297 as_fn_error 77 "C compiler cannot create executables
   3298 See 'config.log' for more details" "$LINENO" 5; }
   3299 else case e in #(
   3300   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3301 printf '%s\n' "yes" >&6; } ;;
   3302 esac
   3303 fi
   3304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3305 printf %s "checking for C compiler default output file name... " >&6; }
   3306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3307 printf '%s\n' "$ac_file" >&6; }
   3308 ac_exeext=$ac_cv_exeext
   3309 
   3310 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3311 ac_clean_files=$ac_clean_files_save
   3312 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3313 printf %s "checking for suffix of executables... " >&6; }
   3314 if { { ac_try="$ac_link"
   3315 case "(($ac_try" in
   3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3317   *) ac_try_echo=$ac_try;;
   3318 esac
   3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3320 printf '%s\n' "$ac_try_echo"; } >&5
   3321   (eval "$ac_link") 2>&5
   3322   ac_status=$?
   3323   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3324   test $ac_status = 0; }
   3325 then :
   3326   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3327 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3328 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3329 # 'rm'.
   3330 for ac_file in conftest.exe conftest conftest.*; do
   3331   test -f "$ac_file" || continue
   3332   case $ac_file in
   3333     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3334     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3335 	  break;;
   3336     * ) break;;
   3337   esac
   3338 done
   3339 else case e in #(
   3340   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3341 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3342 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3343 See 'config.log' for more details" "$LINENO" 5; } ;;
   3344 esac
   3345 fi
   3346 rm -f conftest conftest$ac_cv_exeext
   3347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3348 printf '%s\n' "$ac_cv_exeext" >&6; }
   3349 
   3350 rm -f conftest.$ac_ext
   3351 EXEEXT=$ac_cv_exeext
   3352 ac_exeext=$EXEEXT
   3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3354 /* end confdefs.h.  */
   3355 #include <stdio.h>
   3356 int
   3357 main (void)
   3358 {
   3359 FILE *f = fopen ("conftest.out", "w");
   3360  if (!f)
   3361   return 1;
   3362  return ferror (f) || fclose (f) != 0;
   3363 
   3364   ;
   3365   return 0;
   3366 }
   3367 _ACEOF
   3368 ac_clean_files="$ac_clean_files conftest.out"
   3369 # Check that the compiler produces executables we can run.  If not, either
   3370 # the compiler is broken, or we cross compile.
   3371 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3372 printf %s "checking whether we are cross compiling... " >&6; }
   3373 if test "$cross_compiling" != yes; then
   3374   { { ac_try="$ac_link"
   3375 case "(($ac_try" in
   3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3377   *) ac_try_echo=$ac_try;;
   3378 esac
   3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3380 printf '%s\n' "$ac_try_echo"; } >&5
   3381   (eval "$ac_link") 2>&5
   3382   ac_status=$?
   3383   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3384   test $ac_status = 0; }
   3385   if { ac_try='./conftest$ac_cv_exeext'
   3386   { { case "(($ac_try" in
   3387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3388   *) ac_try_echo=$ac_try;;
   3389 esac
   3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3391 printf '%s\n' "$ac_try_echo"; } >&5
   3392   (eval "$ac_try") 2>&5
   3393   ac_status=$?
   3394   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3395   test $ac_status = 0; }; }; then
   3396     cross_compiling=no
   3397   else
   3398     if test "$cross_compiling" = maybe; then
   3399 	cross_compiling=yes
   3400     else
   3401 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3402 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3403 as_fn_error 77 "cannot run C compiled programs.
   3404 If you meant to cross compile, use '--host'.
   3405 See 'config.log' for more details" "$LINENO" 5; }
   3406     fi
   3407   fi
   3408 fi
   3409 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3410 printf '%s\n' "$cross_compiling" >&6; }
   3411 
   3412 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3413   conftest.o conftest.obj conftest.out
   3414 ac_clean_files=$ac_clean_files_save
   3415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3416 printf %s "checking for suffix of object files... " >&6; }
   3417 if test ${ac_cv_objext+y}
   3418 then :
   3419   printf %s "(cached) " >&6
   3420 else case e in #(
   3421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3422 /* end confdefs.h.  */
   3423 
   3424 int
   3425 main (void)
   3426 {
   3427 
   3428   ;
   3429   return 0;
   3430 }
   3431 _ACEOF
   3432 rm -f conftest.o conftest.obj
   3433 if { { ac_try="$ac_compile"
   3434 case "(($ac_try" in
   3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3436   *) ac_try_echo=$ac_try;;
   3437 esac
   3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3439 printf '%s\n' "$ac_try_echo"; } >&5
   3440   (eval "$ac_compile") 2>&5
   3441   ac_status=$?
   3442   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3443   test $ac_status = 0; }
   3444 then :
   3445   for ac_file in conftest.o conftest.obj conftest.*; do
   3446   test -f "$ac_file" || continue;
   3447   case $ac_file in
   3448     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3449     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3450        break;;
   3451   esac
   3452 done
   3453 else case e in #(
   3454   e) printf '%s\n' "$as_me: failed program was:" >&5
   3455 sed 's/^/| /' conftest.$ac_ext >&5
   3456 
   3457 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3458 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3459 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3460 See 'config.log' for more details" "$LINENO" 5; } ;;
   3461 esac
   3462 fi
   3463 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3464 esac
   3465 fi
   3466 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3467 printf '%s\n' "$ac_cv_objext" >&6; }
   3468 OBJEXT=$ac_cv_objext
   3469 ac_objext=$OBJEXT
   3470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3471 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3472 if test ${ac_cv_c_compiler_gnu+y}
   3473 then :
   3474   printf %s "(cached) " >&6
   3475 else case e in #(
   3476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 
   3479 int
   3480 main (void)
   3481 {
   3482 #ifndef __GNUC__
   3483        choke me
   3484 #endif
   3485 
   3486   ;
   3487   return 0;
   3488 }
   3489 _ACEOF
   3490 if ac_fn_c_try_compile "$LINENO"
   3491 then :
   3492   ac_compiler_gnu=yes
   3493 else case e in #(
   3494   e) ac_compiler_gnu=no ;;
   3495 esac
   3496 fi
   3497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3499  ;;
   3500 esac
   3501 fi
   3502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3503 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   3504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3505 
   3506 if test $ac_compiler_gnu = yes; then
   3507   GCC=yes
   3508 else
   3509   GCC=
   3510 fi
   3511 ac_test_CFLAGS=${CFLAGS+y}
   3512 ac_save_CFLAGS=$CFLAGS
   3513 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3514 printf %s "checking whether $CC accepts -g... " >&6; }
   3515 if test ${ac_cv_prog_cc_g+y}
   3516 then :
   3517   printf %s "(cached) " >&6
   3518 else case e in #(
   3519   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3520    ac_c_werror_flag=yes
   3521    ac_cv_prog_cc_g=no
   3522    CFLAGS="-g"
   3523    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3524 /* end confdefs.h.  */
   3525 
   3526 int
   3527 main (void)
   3528 {
   3529 
   3530   ;
   3531   return 0;
   3532 }
   3533 _ACEOF
   3534 if ac_fn_c_try_compile "$LINENO"
   3535 then :
   3536   ac_cv_prog_cc_g=yes
   3537 else case e in #(
   3538   e) CFLAGS=""
   3539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3540 /* end confdefs.h.  */
   3541 
   3542 int
   3543 main (void)
   3544 {
   3545 
   3546   ;
   3547   return 0;
   3548 }
   3549 _ACEOF
   3550 if ac_fn_c_try_compile "$LINENO"
   3551 then :
   3552 
   3553 else case e in #(
   3554   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3555 	 CFLAGS="-g"
   3556 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3557 /* end confdefs.h.  */
   3558 
   3559 int
   3560 main (void)
   3561 {
   3562 
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 if ac_fn_c_try_compile "$LINENO"
   3568 then :
   3569   ac_cv_prog_cc_g=yes
   3570 fi
   3571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3572 esac
   3573 fi
   3574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3575 esac
   3576 fi
   3577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3578    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3579 esac
   3580 fi
   3581 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3582 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   3583 if test $ac_test_CFLAGS; then
   3584   CFLAGS=$ac_save_CFLAGS
   3585 elif test $ac_cv_prog_cc_g = yes; then
   3586   if test "$GCC" = yes; then
   3587     CFLAGS="-g -O2"
   3588   else
   3589     CFLAGS="-g"
   3590   fi
   3591 else
   3592   if test "$GCC" = yes; then
   3593     CFLAGS="-O2"
   3594   else
   3595     CFLAGS=
   3596   fi
   3597 fi
   3598 ac_prog_cc_stdc=no
   3599 if test x$ac_prog_cc_stdc = xno
   3600 then :
   3601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   3602 printf %s "checking for $CC option to enable C23 features... " >&6; }
   3603 if test ${ac_cv_prog_cc_c23+y}
   3604 then :
   3605   printf %s "(cached) " >&6
   3606 else case e in #(
   3607   e) ac_cv_prog_cc_c23=no
   3608 ac_save_CC=$CC
   3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3610 /* end confdefs.h.  */
   3611 $ac_c_conftest_c23_program
   3612 _ACEOF
   3613 for ac_arg in '' -std=gnu23
   3614 do
   3615   CC="$ac_save_CC $ac_arg"
   3616   if ac_fn_c_try_compile "$LINENO"
   3617 then :
   3618   ac_cv_prog_cc_c23=$ac_arg
   3619 fi
   3620 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3621   test "x$ac_cv_prog_cc_c23" != "xno" && break
   3622 done
   3623 rm -f conftest.$ac_ext
   3624 CC=$ac_save_CC ;;
   3625 esac
   3626 fi
   3627 
   3628 if test "x$ac_cv_prog_cc_c23" = xno
   3629 then :
   3630   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3631 printf '%s\n' "unsupported" >&6; }
   3632 else case e in #(
   3633   e) if test "x$ac_cv_prog_cc_c23" = x
   3634 then :
   3635   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3636 printf '%s\n' "none needed" >&6; }
   3637 else case e in #(
   3638   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   3639 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   3640      CC="$CC $ac_cv_prog_cc_c23" ;;
   3641 esac
   3642 fi
   3643   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   3644   ac_prog_cc_stdc=c23 ;;
   3645 esac
   3646 fi
   3647 fi
   3648 if test x$ac_prog_cc_stdc = xno
   3649 then :
   3650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3651 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3652 if test ${ac_cv_prog_cc_c11+y}
   3653 then :
   3654   printf %s "(cached) " >&6
   3655 else case e in #(
   3656   e) ac_cv_prog_cc_c11=no
   3657 ac_save_CC=$CC
   3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3659 /* end confdefs.h.  */
   3660 $ac_c_conftest_c11_program
   3661 _ACEOF
   3662 for ac_arg in '' -std=gnu11 -std:c11
   3663 do
   3664   CC="$ac_save_CC $ac_arg"
   3665   if ac_fn_c_try_compile "$LINENO"
   3666 then :
   3667   ac_cv_prog_cc_c11=$ac_arg
   3668 fi
   3669 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3670   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3671 done
   3672 rm -f conftest.$ac_ext
   3673 CC=$ac_save_CC ;;
   3674 esac
   3675 fi
   3676 
   3677 if test "x$ac_cv_prog_cc_c11" = xno
   3678 then :
   3679   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3680 printf '%s\n' "unsupported" >&6; }
   3681 else case e in #(
   3682   e) if test "x$ac_cv_prog_cc_c11" = x
   3683 then :
   3684   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3685 printf '%s\n' "none needed" >&6; }
   3686 else case e in #(
   3687   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3688 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   3689      CC="$CC $ac_cv_prog_cc_c11" ;;
   3690 esac
   3691 fi
   3692   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3693   ac_prog_cc_stdc=c11 ;;
   3694 esac
   3695 fi
   3696 fi
   3697 if test x$ac_prog_cc_stdc = xno
   3698 then :
   3699   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3700 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3701 if test ${ac_cv_prog_cc_c99+y}
   3702 then :
   3703   printf %s "(cached) " >&6
   3704 else case e in #(
   3705   e) ac_cv_prog_cc_c99=no
   3706 ac_save_CC=$CC
   3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3708 /* end confdefs.h.  */
   3709 $ac_c_conftest_c99_program
   3710 _ACEOF
   3711 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3712 do
   3713   CC="$ac_save_CC $ac_arg"
   3714   if ac_fn_c_try_compile "$LINENO"
   3715 then :
   3716   ac_cv_prog_cc_c99=$ac_arg
   3717 fi
   3718 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3719   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3720 done
   3721 rm -f conftest.$ac_ext
   3722 CC=$ac_save_CC ;;
   3723 esac
   3724 fi
   3725 
   3726 if test "x$ac_cv_prog_cc_c99" = xno
   3727 then :
   3728   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3729 printf '%s\n' "unsupported" >&6; }
   3730 else case e in #(
   3731   e) if test "x$ac_cv_prog_cc_c99" = x
   3732 then :
   3733   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3734 printf '%s\n' "none needed" >&6; }
   3735 else case e in #(
   3736   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3737 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   3738      CC="$CC $ac_cv_prog_cc_c99" ;;
   3739 esac
   3740 fi
   3741   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3742   ac_prog_cc_stdc=c99 ;;
   3743 esac
   3744 fi
   3745 fi
   3746 if test x$ac_prog_cc_stdc = xno
   3747 then :
   3748   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3749 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3750 if test ${ac_cv_prog_cc_c89+y}
   3751 then :
   3752   printf %s "(cached) " >&6
   3753 else case e in #(
   3754   e) ac_cv_prog_cc_c89=no
   3755 ac_save_CC=$CC
   3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3757 /* end confdefs.h.  */
   3758 $ac_c_conftest_c89_program
   3759 _ACEOF
   3760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3761 do
   3762   CC="$ac_save_CC $ac_arg"
   3763   if ac_fn_c_try_compile "$LINENO"
   3764 then :
   3765   ac_cv_prog_cc_c89=$ac_arg
   3766 fi
   3767 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3768   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3769 done
   3770 rm -f conftest.$ac_ext
   3771 CC=$ac_save_CC ;;
   3772 esac
   3773 fi
   3774 
   3775 if test "x$ac_cv_prog_cc_c89" = xno
   3776 then :
   3777   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3778 printf '%s\n' "unsupported" >&6; }
   3779 else case e in #(
   3780   e) if test "x$ac_cv_prog_cc_c89" = x
   3781 then :
   3782   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3783 printf '%s\n' "none needed" >&6; }
   3784 else case e in #(
   3785   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3786 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   3787      CC="$CC $ac_cv_prog_cc_c89" ;;
   3788 esac
   3789 fi
   3790   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3791   ac_prog_cc_stdc=c89 ;;
   3792 esac
   3793 fi
   3794 fi
   3795 
   3796 ac_ext=c
   3797 ac_cpp='$CPP $CPPFLAGS'
   3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3801 
   3802 
   3803   ac_ext=c
   3804 ac_cpp='$CPP $CPPFLAGS'
   3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3808 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3809 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3810 if test ${am_cv_prog_cc_c_o+y}
   3811 then :
   3812   printf %s "(cached) " >&6
   3813 else case e in #(
   3814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3815 /* end confdefs.h.  */
   3816 
   3817 int
   3818 main (void)
   3819 {
   3820 
   3821   ;
   3822   return 0;
   3823 }
   3824 _ACEOF
   3825   # Make sure it works both with $CC and with simple cc.
   3826   # Following AC_PROG_CC_C_O, we do the test twice because some
   3827   # compilers refuse to overwrite an existing .o file with -o,
   3828   # though they will create one.
   3829   am_cv_prog_cc_c_o=yes
   3830   for am_i in 1 2; do
   3831     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3832    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3833    ac_status=$?
   3834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3835    (exit $ac_status); } \
   3836          && test -f conftest2.$ac_objext; then
   3837       : OK
   3838     else
   3839       am_cv_prog_cc_c_o=no
   3840       break
   3841     fi
   3842   done
   3843   # aligned with autoconf, so not including core; see bug#72225.
   3844   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   3845     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   3846     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   3847   unset am_i ;;
   3848 esac
   3849 fi
   3850 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3851 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   3852 if test "$am_cv_prog_cc_c_o" != yes; then
   3853    # Losing compiler, so override with the script.
   3854    # FIXME: It is wrong to rewrite CC.
   3855    # But if we don't then we get into trouble of one sort or another.
   3856    # A longer-term fix would be to have automake use am__CC in this case,
   3857    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3858    CC="$am_aux_dir/compile $CC"
   3859 fi
   3860 ac_ext=c
   3861 ac_cpp='$CPP $CPPFLAGS'
   3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3865 
   3866 
   3867 
   3868 ac_header= ac_cache=
   3869 for ac_item in $ac_header_c_list
   3870 do
   3871   if test $ac_cache; then
   3872     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3873     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3874       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   3875     fi
   3876     ac_header= ac_cache=
   3877   elif test $ac_header; then
   3878     ac_cache=$ac_item
   3879   else
   3880     ac_header=$ac_item
   3881   fi
   3882 done
   3883 
   3884 
   3885 
   3886 
   3887 
   3888 
   3889 
   3890 
   3891 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3892 then :
   3893 
   3894 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   3895 
   3896 fi
   3897 
   3898 
   3899 
   3900 
   3901 
   3902 
   3903   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3904 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3905 if test ${ac_cv_safe_to_define___extensions__+y}
   3906 then :
   3907   printf %s "(cached) " >&6
   3908 else case e in #(
   3909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3910 /* end confdefs.h.  */
   3911 
   3912 #         define __EXTENSIONS__ 1
   3913           $ac_includes_default
   3914 int
   3915 main (void)
   3916 {
   3917 
   3918   ;
   3919   return 0;
   3920 }
   3921 _ACEOF
   3922 if ac_fn_c_try_compile "$LINENO"
   3923 then :
   3924   ac_cv_safe_to_define___extensions__=yes
   3925 else case e in #(
   3926   e) ac_cv_safe_to_define___extensions__=no ;;
   3927 esac
   3928 fi
   3929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3930 esac
   3931 fi
   3932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3933 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   3934 
   3935   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3936 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3937 if test ${ac_cv_should_define__xopen_source+y}
   3938 then :
   3939   printf %s "(cached) " >&6
   3940 else case e in #(
   3941   e) ac_cv_should_define__xopen_source=no
   3942     if test $ac_cv_header_wchar_h = yes
   3943 then :
   3944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3945 /* end confdefs.h.  */
   3946 
   3947           #include <wchar.h>
   3948           mbstate_t x;
   3949 int
   3950 main (void)
   3951 {
   3952 
   3953   ;
   3954   return 0;
   3955 }
   3956 _ACEOF
   3957 if ac_fn_c_try_compile "$LINENO"
   3958 then :
   3959 
   3960 else case e in #(
   3961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 
   3964             #define _XOPEN_SOURCE 500
   3965             #include <wchar.h>
   3966             mbstate_t x;
   3967 int
   3968 main (void)
   3969 {
   3970 
   3971   ;
   3972   return 0;
   3973 }
   3974 _ACEOF
   3975 if ac_fn_c_try_compile "$LINENO"
   3976 then :
   3977   ac_cv_should_define__xopen_source=yes
   3978 fi
   3979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3980 esac
   3981 fi
   3982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3983 fi ;;
   3984 esac
   3985 fi
   3986 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3987 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   3988 
   3989   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   3990 
   3991   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   3992 
   3993   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3994 
   3995   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   3996 
   3997   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3998 
   3999   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   4000 
   4001   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4002 
   4003   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4004 
   4005   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4006 
   4007   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4008 
   4009   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4010 
   4011   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4012 
   4013   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4014 
   4015   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4016 
   4017   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4018 
   4019   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4020 
   4021   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   4022 
   4023   if test $ac_cv_header_minix_config_h = yes
   4024 then :
   4025   MINIX=yes
   4026     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   4027 
   4028     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   4029 
   4030     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4031 
   4032 else case e in #(
   4033   e) MINIX= ;;
   4034 esac
   4035 fi
   4036   if test $ac_cv_safe_to_define___extensions__ = yes
   4037 then :
   4038   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   4039 
   4040 fi
   4041   if test $ac_cv_should_define__xopen_source = yes
   4042 then :
   4043   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   4044 
   4045 fi
   4046 
   4047 
   4048 # Initialize Automake
   4049 am__api_version='1.18'
   4050 
   4051 
   4052   # Find a good install program.  We prefer a C program (faster),
   4053 # so one script is as good as another.  But avoid the broken or
   4054 # incompatible versions:
   4055 # SysV /etc/install, /usr/sbin/install
   4056 # SunOS /usr/etc/install
   4057 # IRIX /sbin/install
   4058 # AIX /bin/install
   4059 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4063 # OS/2's system install, which has a completely different semantic
   4064 # ./install, which can be erroneously created by make from ./install.sh.
   4065 # Reject install programs that cannot install multiple files.
   4066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4067 printf %s "checking for a BSD-compatible install... " >&6; }
   4068 if test -z "$INSTALL"; then
   4069 if test ${ac_cv_path_install+y}
   4070 then :
   4071   printf %s "(cached) " >&6
   4072 else case e in #(
   4073   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4074 for as_dir in $PATH
   4075 do
   4076   IFS=$as_save_IFS
   4077   case $as_dir in #(((
   4078     '') as_dir=./ ;;
   4079     */) ;;
   4080     *) as_dir=$as_dir/ ;;
   4081   esac
   4082     # Account for fact that we put trailing slashes in our PATH walk.
   4083 case $as_dir in #((
   4084   ./ | /[cC]/* | \
   4085   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4086   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4087   /usr/ucb/* ) ;;
   4088   *)
   4089     # OSF/1 and SCO ODT 3.0 have their own names for install.
   4090     # Don't use installbsd from OSF/1 since it installs stuff as root
   4091     # by default.
   4092     for ac_prog in ginstall scoinst install; do
   4093       for ac_exec_ext in '' $ac_executable_extensions; do
   4094 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4095 	  if test $ac_prog = install &&
   4096 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4097 	    # AIX install.  It has an incompatible calling convention.
   4098 	    :
   4099 	  elif test $ac_prog = install &&
   4100 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4101 	    # program-specific install script used by HP pwplus--don't use.
   4102 	    :
   4103 	  else
   4104 	    rm -rf conftest.one conftest.two conftest.dir
   4105 	    echo one > conftest.one
   4106 	    echo two > conftest.two
   4107 	    mkdir conftest.dir
   4108 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4109 	      test -s conftest.one && test -s conftest.two &&
   4110 	      test -s conftest.dir/conftest.one &&
   4111 	      test -s conftest.dir/conftest.two
   4112 	    then
   4113 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4114 	      break 3
   4115 	    fi
   4116 	  fi
   4117 	fi
   4118       done
   4119     done
   4120     ;;
   4121 esac
   4122 
   4123   done
   4124 IFS=$as_save_IFS
   4125 
   4126 rm -rf conftest.one conftest.two conftest.dir
   4127  ;;
   4128 esac
   4129 fi
   4130   if test ${ac_cv_path_install+y}; then
   4131     INSTALL=$ac_cv_path_install
   4132   else
   4133     # As a last resort, use the slow shell script.  Don't cache a
   4134     # value for INSTALL within a source directory, because that will
   4135     # break other packages using the cache if that directory is
   4136     # removed, or if the value is a relative name.
   4137     INSTALL=$ac_install_sh
   4138   fi
   4139 fi
   4140 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4141 printf '%s\n' "$INSTALL" >&6; }
   4142 
   4143 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4144 # It thinks the first close brace ends the variable substitution.
   4145 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4146 
   4147 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4148 
   4149 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4150 
   4151 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4152 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4153 if test ${am_cv_sleep_fractional_seconds+y}
   4154 then :
   4155   printf %s "(cached) " >&6
   4156 else case e in #(
   4157   e) if sleep 0.001 2>/dev/null
   4158 then :
   4159   am_cv_sleep_fractional_seconds=yes
   4160 else case e in #(
   4161   e) am_cv_sleep_fractional_seconds=no ;;
   4162 esac
   4163 fi
   4164  ;;
   4165 esac
   4166 fi
   4167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4168 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   4169 
   4170 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4171 printf %s "checking filesystem timestamp resolution... " >&6; }
   4172 if test ${am_cv_filesystem_timestamp_resolution+y}
   4173 then :
   4174   printf %s "(cached) " >&6
   4175 else case e in #(
   4176   e) # Default to the worst case.
   4177 am_cv_filesystem_timestamp_resolution=2
   4178 
   4179 # Only try to go finer than 1 sec if sleep can do it.
   4180 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4181 # - 1 sec is not much of a win compared to 2 sec, and
   4182 # - it takes 2 seconds to perform the test whether 1 sec works.
   4183 #
   4184 # Instead, just use the default 2s on platforms that have 1s resolution,
   4185 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4186 # exchange for not incurring the 2s delay for running the test for all
   4187 # packages.
   4188 #
   4189 am_try_resolutions=
   4190 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4191   # Even a millisecond often causes a bunch of false positives,
   4192   # so just try a hundredth of a second. The time saved between .001 and
   4193   # .01 is not terribly consequential.
   4194   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4195 fi
   4196 
   4197 # In order to catch current-generation FAT out, we must *modify* files
   4198 # that already exist; the *creation* timestamp is finer.  Use names
   4199 # that make ls -t sort them differently when they have equal
   4200 # timestamps than when they have distinct timestamps, keeping
   4201 # in mind that ls -t prints the *newest* file first.
   4202 rm -f conftest.ts?
   4203 : > conftest.ts1
   4204 : > conftest.ts2
   4205 : > conftest.ts3
   4206 
   4207 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4208 # clobber the current shell's arguments. (Outer-level square brackets
   4209 # are removed by m4; they're present so that m4 does not expand
   4210 # <dollar><star>; be careful, easy to get confused.)
   4211 if (
   4212      set X `ls -t conftest.ts[12]` &&
   4213      {
   4214        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4215        test "$*" != "X conftest.ts2 conftest.ts1";
   4216      }
   4217 ); then :; else
   4218   # If neither matched, then we have a broken ls.  This can happen
   4219   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4220   # broken ls alias from the environment.  This has actually
   4221   # happened.  Such a system could not be considered "sane".
   4222   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4223   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4224 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4225 as_fn_error $? "ls -t produces unexpected output.
   4226 Make sure there is not a broken ls alias in your environment.
   4227 See 'config.log' for more details" "$LINENO" 5; }
   4228 fi
   4229 
   4230 for am_try_res in $am_try_resolutions; do
   4231   # Any one fine-grained sleep might happen to cross the boundary
   4232   # between two values of a coarser actual resolution, but if we do
   4233   # two fine-grained sleeps in a row, at least one of them will fall
   4234   # entirely within a coarse interval.
   4235   echo alpha > conftest.ts1
   4236   sleep $am_try_res
   4237   echo beta > conftest.ts2
   4238   sleep $am_try_res
   4239   echo gamma > conftest.ts3
   4240 
   4241   # We assume that 'ls -t' will make use of high-resolution
   4242   # timestamps if the operating system supports them at all.
   4243   if (set X `ls -t conftest.ts?` &&
   4244       test "$2" = conftest.ts3 &&
   4245       test "$3" = conftest.ts2 &&
   4246       test "$4" = conftest.ts1); then
   4247     #
   4248     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4249     # because we don't need to test make.
   4250     make_ok=true
   4251     if test $am_try_res != 1; then
   4252       # But if we've succeeded so far with a subsecond resolution, we
   4253       # have one more thing to check: make. It can happen that
   4254       # everything else supports the subsecond mtimes, but make doesn't;
   4255       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4256       # released under GPLv2). https://bugs.gnu.org/68808
   4257       #
   4258       # We test $MAKE if it is defined in the environment, else "make".
   4259       # It might get overridden later, but our hope is that in practice
   4260       # it does not matter: it is the system "make" which is (by far)
   4261       # the most likely to be broken, whereas if the user overrides it,
   4262       # probably they did so with a better, or at least not worse, make.
   4263       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4264       #
   4265       # Create a Makefile (real tab character here):
   4266       rm -f conftest.mk
   4267       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4268       echo '	touch conftest.ts2' >>conftest.mk
   4269       #
   4270       # Now, running
   4271       #   touch conftest.ts1; touch conftest.ts2; make
   4272       # should touch ts1 because ts2 is newer. This could happen by luck,
   4273       # but most often, it will fail if make's support is insufficient. So
   4274       # test for several consecutive successes.
   4275       #
   4276       # (We reuse conftest.ts[12] because we still want to modify existing
   4277       # files, not create new ones, per above.)
   4278       n=0
   4279       make=${MAKE-make}
   4280       until test $n -eq 3; do
   4281         echo one > conftest.ts1
   4282         sleep $am_try_res
   4283         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4284         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4285           make_ok=false
   4286           break # out of $n loop
   4287         fi
   4288         n=`expr $n + 1`
   4289       done
   4290     fi
   4291     #
   4292     if $make_ok; then
   4293       # Everything we know to check worked out, so call this resolution good.
   4294       am_cv_filesystem_timestamp_resolution=$am_try_res
   4295       break # out of $am_try_res loop
   4296     fi
   4297     # Otherwise, we'll go on to check the next resolution.
   4298   fi
   4299 done
   4300 rm -f conftest.ts?
   4301 # (end _am_filesystem_timestamp_resolution)
   4302  ;;
   4303 esac
   4304 fi
   4305 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4306 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   4307 
   4308 # This check should not be cached, as it may vary across builds of
   4309 # different projects.
   4310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4311 printf %s "checking whether build environment is sane... " >&6; }
   4312 # Reject unsafe characters in $srcdir or the absolute working directory
   4313 # name.  Accept space and tab only in the latter.
   4314 am_lf='
   4315 '
   4316 case `pwd` in
   4317   *[\\\"\#\$\&\'\`$am_lf]*)
   4318     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4319 printf '%s\n' "no" >&6; }
   4320     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4321 esac
   4322 case $srcdir in
   4323   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4324     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4325 printf '%s\n' "no" >&6; }
   4326     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4327 esac
   4328 
   4329 # Do 'set' in a subshell so we don't clobber the current shell's
   4330 # arguments.  Must try -L first in case configure is actually a
   4331 # symlink; some systems play weird games with the mod time of symlinks
   4332 # (eg FreeBSD returns the mod time of the symlink's containing
   4333 # directory).
   4334 am_build_env_is_sane=no
   4335 am_has_slept=no
   4336 rm -f conftest.file
   4337 for am_try in 1 2; do
   4338   echo "timestamp, slept: $am_has_slept" > conftest.file
   4339   if (
   4340     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4341     if test "$*" = "X"; then
   4342       # -L didn't work.
   4343       set X `ls -t "$srcdir/configure" conftest.file`
   4344     fi
   4345     test "$2" = conftest.file
   4346   ); then
   4347     am_build_env_is_sane=yes
   4348     break
   4349   fi
   4350   # Just in case.
   4351   sleep "$am_cv_filesystem_timestamp_resolution"
   4352   am_has_slept=yes
   4353 done
   4354 
   4355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4356 printf '%s\n' "$am_build_env_is_sane" >&6; }
   4357 if test "$am_build_env_is_sane" = no; then
   4358   as_fn_error $? "newly created file is older than distributed files!
   4359 Check your system clock" "$LINENO" 5
   4360 fi
   4361 
   4362 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4363 # generated files are strictly newer.
   4364 am_sleep_pid=
   4365 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4366 then :
   4367 
   4368 else case e in #(
   4369   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4370   am_sleep_pid=$!
   4371  ;;
   4372 esac
   4373 fi
   4374 
   4375 rm -f conftest.file
   4376 
   4377 test "$program_prefix" != NONE &&
   4378   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4379 # Use a double $ so make ignores it.
   4380 test "$program_suffix" != NONE &&
   4381   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4382 # Double any \ or $.
   4383 # By default was 's,x,x', remove it if useless.
   4384 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4385 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   4386 
   4387 
   4388   if test x"${MISSING+set}" != xset; then
   4389   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4390 fi
   4391 # Use eval to expand $SHELL
   4392 if eval "$MISSING --is-lightweight"; then
   4393   am_missing_run="$MISSING "
   4394 else
   4395   am_missing_run=
   4396   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4397 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4398 fi
   4399 
   4400 if test x"${install_sh+set}" != xset; then
   4401   case $am_aux_dir in
   4402   *\ * | *\	*)
   4403     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4404   *)
   4405     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4406   esac
   4407 fi
   4408 
   4409 # Installed binaries are usually stripped using 'strip' when the user
   4410 # run "make install-strip".  However 'strip' might not be the right
   4411 # tool to use in cross-compilation environments, therefore Automake
   4412 # will honor the 'STRIP' environment variable to overrule this program.
   4413 if test "$cross_compiling" != no; then
   4414   if test -n "$ac_tool_prefix"; then
   4415   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4416 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4417 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4418 printf %s "checking for $ac_word... " >&6; }
   4419 if test ${ac_cv_prog_STRIP+y}
   4420 then :
   4421   printf %s "(cached) " >&6
   4422 else case e in #(
   4423   e) if test -n "$STRIP"; then
   4424   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4425 else
   4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4427 for as_dir in $PATH
   4428 do
   4429   IFS=$as_save_IFS
   4430   case $as_dir in #(((
   4431     '') as_dir=./ ;;
   4432     */) ;;
   4433     *) as_dir=$as_dir/ ;;
   4434   esac
   4435     for ac_exec_ext in '' $ac_executable_extensions; do
   4436   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4437     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4438     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4439     break 2
   4440   fi
   4441 done
   4442   done
   4443 IFS=$as_save_IFS
   4444 
   4445 fi ;;
   4446 esac
   4447 fi
   4448 STRIP=$ac_cv_prog_STRIP
   4449 if test -n "$STRIP"; then
   4450   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4451 printf '%s\n' "$STRIP" >&6; }
   4452 else
   4453   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4454 printf '%s\n' "no" >&6; }
   4455 fi
   4456 
   4457 
   4458 fi
   4459 if test -z "$ac_cv_prog_STRIP"; then
   4460   ac_ct_STRIP=$STRIP
   4461   # Extract the first word of "strip", so it can be a program name with args.
   4462 set dummy strip; ac_word=$2
   4463 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4464 printf %s "checking for $ac_word... " >&6; }
   4465 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4466 then :
   4467   printf %s "(cached) " >&6
   4468 else case e in #(
   4469   e) if test -n "$ac_ct_STRIP"; then
   4470   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4471 else
   4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4473 for as_dir in $PATH
   4474 do
   4475   IFS=$as_save_IFS
   4476   case $as_dir in #(((
   4477     '') as_dir=./ ;;
   4478     */) ;;
   4479     *) as_dir=$as_dir/ ;;
   4480   esac
   4481     for ac_exec_ext in '' $ac_executable_extensions; do
   4482   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4483     ac_cv_prog_ac_ct_STRIP="strip"
   4484     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4485     break 2
   4486   fi
   4487 done
   4488   done
   4489 IFS=$as_save_IFS
   4490 
   4491 fi ;;
   4492 esac
   4493 fi
   4494 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4495 if test -n "$ac_ct_STRIP"; then
   4496   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4497 printf '%s\n' "$ac_ct_STRIP" >&6; }
   4498 else
   4499   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4500 printf '%s\n' "no" >&6; }
   4501 fi
   4502 
   4503   if test "x$ac_ct_STRIP" = x; then
   4504     STRIP=":"
   4505   else
   4506     case $cross_compiling:$ac_tool_warned in
   4507 yes:)
   4508 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4509 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4510 ac_tool_warned=yes ;;
   4511 esac
   4512     STRIP=$ac_ct_STRIP
   4513   fi
   4514 else
   4515   STRIP="$ac_cv_prog_STRIP"
   4516 fi
   4517 
   4518 fi
   4519 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4520 
   4521 
   4522   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4523 printf %s "checking for a race-free mkdir -p... " >&6; }
   4524 if test -z "$MKDIR_P"; then
   4525   if test ${ac_cv_path_mkdir+y}
   4526 then :
   4527   printf %s "(cached) " >&6
   4528 else case e in #(
   4529   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4530 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4531 do
   4532   IFS=$as_save_IFS
   4533   case $as_dir in #(((
   4534     '') as_dir=./ ;;
   4535     */) ;;
   4536     *) as_dir=$as_dir/ ;;
   4537   esac
   4538     for ac_prog in mkdir gmkdir; do
   4539 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4540 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4541 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4542 	     'mkdir ('*'coreutils) '* | \
   4543 	     *'BusyBox '* | \
   4544 	     'mkdir (fileutils) '4.1*)
   4545 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4546 	       break 3;;
   4547 	   esac
   4548 	 done
   4549        done
   4550   done
   4551 IFS=$as_save_IFS
   4552  ;;
   4553 esac
   4554 fi
   4555 
   4556   test -d ./--version && rmdir ./--version
   4557   if test ${ac_cv_path_mkdir+y}; then
   4558     MKDIR_P="$ac_cv_path_mkdir -p"
   4559   else
   4560     # As a last resort, use plain mkdir -p,
   4561     # in the hope it doesn't have the bugs of ancient mkdir.
   4562     MKDIR_P='mkdir -p'
   4563   fi
   4564 fi
   4565 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4566 printf '%s\n' "$MKDIR_P" >&6; }
   4567 
   4568 for ac_prog in gawk mawk nawk awk 'busybox awk'
   4569 do
   4570   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4571 set dummy $ac_prog; ac_word=$2
   4572 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4573 printf %s "checking for $ac_word... " >&6; }
   4574 if test ${ac_cv_prog_AWK+y}
   4575 then :
   4576   printf %s "(cached) " >&6
   4577 else case e in #(
   4578   e) if test -n "$AWK"; then
   4579   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4580 else
   4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4582 for as_dir in $PATH
   4583 do
   4584   IFS=$as_save_IFS
   4585   case $as_dir in #(((
   4586     '') as_dir=./ ;;
   4587     */) ;;
   4588     *) as_dir=$as_dir/ ;;
   4589   esac
   4590     for ac_exec_ext in '' $ac_executable_extensions; do
   4591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4592     ac_cv_prog_AWK="$ac_prog"
   4593     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4594     break 2
   4595   fi
   4596 done
   4597   done
   4598 IFS=$as_save_IFS
   4599 
   4600 fi ;;
   4601 esac
   4602 fi
   4603 AWK=$ac_cv_prog_AWK
   4604 if test -n "$AWK"; then
   4605   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4606 printf '%s\n' "$AWK" >&6; }
   4607 else
   4608   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4609 printf '%s\n' "no" >&6; }
   4610 fi
   4611 
   4612 
   4613   test -n "$AWK" && break
   4614 done
   4615 
   4616 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4617 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4618 set x ${MAKE-make}
   4619 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4620 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4621 then :
   4622   printf %s "(cached) " >&6
   4623 else case e in #(
   4624   e) cat >conftest.make <<\_ACEOF
   4625 SHELL = /bin/sh
   4626 all:
   4627 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   4628 _ACEOF
   4629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4631   *@@@%%%=?*=@@@%%%*)
   4632     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4633   *)
   4634     eval ac_cv_prog_make_${ac_make}_set=no;;
   4635 esac
   4636 rm -f conftest.make ;;
   4637 esac
   4638 fi
   4639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4640   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4641 printf '%s\n' "yes" >&6; }
   4642   SET_MAKE=
   4643 else
   4644   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4645 printf '%s\n' "no" >&6; }
   4646   SET_MAKE="MAKE=${MAKE-make}"
   4647 fi
   4648 
   4649 rm -rf .tst 2>/dev/null
   4650 mkdir .tst 2>/dev/null
   4651 if test -d .tst; then
   4652   am__leading_dot=.
   4653 else
   4654   am__leading_dot=_
   4655 fi
   4656 rmdir .tst 2>/dev/null
   4657 
   4658 DEPDIR="${am__leading_dot}deps"
   4659 
   4660 ac_config_commands="$ac_config_commands depfiles"
   4661 
   4662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4663 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4664 cat > confinc.mk << 'END'
   4665 am__doit:
   4666 	@echo this is the am__doit target >confinc.out
   4667 .PHONY: am__doit
   4668 END
   4669 am__include="#"
   4670 am__quote=
   4671 # BSD make does it like this.
   4672 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4673 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4674 echo 'include confinc.mk # ignored' > confmf.GNU
   4675 _am_result=no
   4676 for s in GNU BSD; do
   4677   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4678    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4679    ac_status=$?
   4680    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4681    (exit $ac_status); }
   4682   case $?:`cat confinc.out 2>/dev/null` in #(
   4683   '0:this is the am__doit target') :
   4684     case $s in #(
   4685   BSD) :
   4686     am__include='.include' am__quote='"' ;; #(
   4687   *) :
   4688     am__include='include' am__quote='' ;;
   4689 esac ;; #(
   4690   *) :
   4691      ;;
   4692 esac
   4693   if test "$am__include" != "#"; then
   4694     _am_result="yes ($s style)"
   4695     break
   4696   fi
   4697 done
   4698 rm -f confinc.* confmf.*
   4699 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4700 printf '%s\n' "${_am_result}" >&6; }
   4701 
   4702 # Check whether --enable-dependency-tracking was given.
   4703 if test ${enable_dependency_tracking+y}
   4704 then :
   4705   enableval=$enable_dependency_tracking;
   4706 fi
   4707 
   4708 if test "x$enable_dependency_tracking" != xno; then
   4709   am_depcomp="$ac_aux_dir/depcomp"
   4710   AMDEPBACKSLASH='\'
   4711   am__nodep='_no'
   4712 fi
   4713  if test "x$enable_dependency_tracking" != xno; then
   4714   AMDEP_TRUE=
   4715   AMDEP_FALSE='#'
   4716 else
   4717   AMDEP_TRUE='#'
   4718   AMDEP_FALSE=
   4719 fi
   4720 
   4721 
   4722 AM_DEFAULT_VERBOSITY=1
   4723 # Check whether --enable-silent-rules was given.
   4724 if test ${enable_silent_rules+y}
   4725 then :
   4726   enableval=$enable_silent_rules;
   4727 fi
   4728 
   4729 am_make=${MAKE-make}
   4730 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4731 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4732 if test ${am_cv_make_support_nested_variables+y}
   4733 then :
   4734   printf %s "(cached) " >&6
   4735 else case e in #(
   4736   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   4737 BAR0=false
   4738 BAR1=true
   4739 V=1
   4740 am__doit:
   4741 	@$(TRUE)
   4742 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4743   am_cv_make_support_nested_variables=yes
   4744 else
   4745   am_cv_make_support_nested_variables=no
   4746 fi ;;
   4747 esac
   4748 fi
   4749 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4750 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   4751 AM_BACKSLASH='\'
   4752 
   4753 am__rm_f_notfound=
   4754 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4755 then :
   4756 
   4757 else case e in #(
   4758   e) am__rm_f_notfound='""' ;;
   4759 esac
   4760 fi
   4761 
   4762 
   4763 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4764 printf %s "checking xargs -n works... " >&6; }
   4765 if test ${am_cv_xargs_n_works+y}
   4766 then :
   4767   printf %s "(cached) " >&6
   4768 else case e in #(
   4769   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4770 3"
   4771 then :
   4772   am_cv_xargs_n_works=yes
   4773 else case e in #(
   4774   e) am_cv_xargs_n_works=no ;;
   4775 esac
   4776 fi ;;
   4777 esac
   4778 fi
   4779 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4780 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   4781 if test "$am_cv_xargs_n_works" = yes
   4782 then :
   4783   am__xargs_n='xargs -n'
   4784 else case e in #(
   4785   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4786  ;;
   4787 esac
   4788 fi
   4789 
   4790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4791   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4792   # is not polluted with repeated "-I."
   4793   am__isrc=' -I$(srcdir)'
   4794   # test to see if srcdir already configured
   4795   if test -f $srcdir/config.status; then
   4796     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4797   fi
   4798 fi
   4799 
   4800 # test whether we have cygpath
   4801 if test -z "$CYGPATH_W"; then
   4802   if (cygpath --version) >/dev/null 2>/dev/null; then
   4803     CYGPATH_W='cygpath -w'
   4804   else
   4805     CYGPATH_W=echo
   4806   fi
   4807 fi
   4808 
   4809 
   4810 # Define the identity of the package.
   4811  PACKAGE='xload'
   4812  VERSION='1.2.1'
   4813 
   4814 
   4815 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4816 
   4817 
   4818 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   4819 
   4820 # Some tools Automake needs.
   4821 
   4822 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4823 
   4824 
   4825 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4826 
   4827 
   4828 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4829 
   4830 
   4831 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4832 
   4833 
   4834 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4835 
   4836 # For better backward compatibility.  To be removed once Automake 1.9.x
   4837 # dies out for good.  For more background, see:
   4838 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4839 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4840 mkdir_p='$(MKDIR_P)'
   4841 
   4842 # We need awk for the "check" target (and possibly the TAP driver).  The
   4843 # system "awk" is bad on some platforms.
   4844 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4845 # in the wild :-(  We should find a proper way to deprecate it ...
   4846 AMTAR='$${TAR-tar}'
   4847 
   4848 
   4849 # We'll loop over all known methods to create a tar archive until one works.
   4850 _am_tools='gnutar plaintar pax cpio none'
   4851 
   4852 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4853       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4854       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4855       # and bug#13588).
   4856       am_max_uid=2097151 # 2^21 - 1
   4857       am_max_gid=$am_max_uid
   4858       # The $UID and $GID variables are not portable, so we need to resort
   4859       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4860       # below are definitely unexpected, so allow the users to see them
   4861       # (that is, avoid stderr redirection).
   4862       am_uid=`id -u || echo unknown`
   4863       am_gid=`id -g || echo unknown`
   4864       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4865 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4866       if test x$am_uid = xunknown; then
   4867         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   4868 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   4869       elif test $am_uid -le $am_max_uid; then
   4870         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4871 printf '%s\n' "yes" >&6; }
   4872       else
   4873         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4874 printf '%s\n' "no" >&6; }
   4875         _am_tools=none
   4876       fi
   4877       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4878 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4879       if test x$gm_gid = xunknown; then
   4880         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   4881 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   4882       elif test $am_gid -le $am_max_gid; then
   4883         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4884 printf '%s\n' "yes" >&6; }
   4885       else
   4886         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4887 printf '%s\n' "no" >&6; }
   4888         _am_tools=none
   4889       fi
   4890 
   4891   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4892 printf %s "checking how to create a ustar tar archive... " >&6; }
   4893 
   4894   # Go ahead even if we have the value already cached.  We do so because we
   4895   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4896   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4897 
   4898   for _am_tool in $_am_tools; do
   4899     case $_am_tool in
   4900     gnutar)
   4901       for _am_tar in tar gnutar gtar; do
   4902         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4903    ($_am_tar --version) >&5 2>&5
   4904    ac_status=$?
   4905    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4906    (exit $ac_status); } && break
   4907       done
   4908       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4909       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4910       am__untar="$_am_tar -xf -"
   4911       ;;
   4912     plaintar)
   4913       # Must skip GNU tar: if it does not support --format= it doesn't create
   4914       # ustar tarball either.
   4915       (tar --version) >/dev/null 2>&1 && continue
   4916       am__tar='tar chf - "$$tardir"'
   4917       am__tar_='tar chf - "$tardir"'
   4918       am__untar='tar xf -'
   4919       ;;
   4920     pax)
   4921       am__tar='pax -L -x ustar -w "$$tardir"'
   4922       am__tar_='pax -L -x ustar -w "$tardir"'
   4923       am__untar='pax -r'
   4924       ;;
   4925     cpio)
   4926       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   4927       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   4928       am__untar='cpio -i -H ustar -d'
   4929       ;;
   4930     none)
   4931       am__tar=false
   4932       am__tar_=false
   4933       am__untar=false
   4934       ;;
   4935     esac
   4936 
   4937     # If the value was cached, stop now.  We just wanted to have am__tar
   4938     # and am__untar set.
   4939     test -n "${am_cv_prog_tar_ustar}" && break
   4940 
   4941     # tar/untar a dummy directory, and stop if the command works.
   4942     rm -rf conftest.dir
   4943     mkdir conftest.dir
   4944     echo GrepMe > conftest.dir/file
   4945     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4946    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4947    ac_status=$?
   4948    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4949    (exit $ac_status); }
   4950     rm -rf conftest.dir
   4951     if test -s conftest.tar; then
   4952       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4953    ($am__untar <conftest.tar) >&5 2>&5
   4954    ac_status=$?
   4955    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4956    (exit $ac_status); }
   4957       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4958    (cat conftest.dir/file) >&5 2>&5
   4959    ac_status=$?
   4960    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4961    (exit $ac_status); }
   4962       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4963     fi
   4964   done
   4965   rm -rf conftest.dir
   4966 
   4967   if test ${am_cv_prog_tar_ustar+y}
   4968 then :
   4969   printf %s "(cached) " >&6
   4970 else case e in #(
   4971   e) am_cv_prog_tar_ustar=$_am_tool ;;
   4972 esac
   4973 fi
   4974 
   4975   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   4976 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 depcc="$CC"   am_compiler_list=
   4983 
   4984 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4985 printf %s "checking dependency style of $depcc... " >&6; }
   4986 if test ${am_cv_CC_dependencies_compiler_type+y}
   4987 then :
   4988   printf %s "(cached) " >&6
   4989 else case e in #(
   4990   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4991   # We make a subdir and do the tests there.  Otherwise we can end up
   4992   # making bogus files that we don't know about and never remove.  For
   4993   # instance it was reported that on HP-UX the gcc test will end up
   4994   # making a dummy file named 'D' -- because '-MD' means "put the output
   4995   # in D".
   4996   rm -rf conftest.dir
   4997   mkdir conftest.dir
   4998   # Copy depcomp to subdir because otherwise we won't find it if we're
   4999   # using a relative directory.
   5000   cp "$am_depcomp" conftest.dir
   5001   cd conftest.dir
   5002   # We will build objects and dependencies in a subdirectory because
   5003   # it helps to detect inapplicable dependency modes.  For instance
   5004   # both Tru64's cc and ICC support -MD to output dependencies as a
   5005   # side effect of compilation, but ICC will put the dependencies in
   5006   # the current directory while Tru64 will put them in the object
   5007   # directory.
   5008   mkdir sub
   5009 
   5010   am_cv_CC_dependencies_compiler_type=none
   5011   if test "$am_compiler_list" = ""; then
   5012      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5013   fi
   5014   am__universal=false
   5015   case " $depcc " in #(
   5016      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5017      esac
   5018 
   5019   for depmode in $am_compiler_list; do
   5020     # Setup a source with many dependencies, because some compilers
   5021     # like to wrap large dependency lists on column 80 (with \), and
   5022     # we should not choose a depcomp mode which is confused by this.
   5023     #
   5024     # We need to recreate these files for each test, as the compiler may
   5025     # overwrite some of them when testing with obscure command lines.
   5026     # This happens at least with the AIX C compiler.
   5027     : > sub/conftest.c
   5028     for i in 1 2 3 4 5 6; do
   5029       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5030       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5031       # Solaris 10 /bin/sh.
   5032       echo '/* dummy */' > sub/conftst$i.h
   5033     done
   5034     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5035 
   5036     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5037     # mode.  It turns out that the SunPro C++ compiler does not properly
   5038     # handle '-M -o', and we need to detect this.  Also, some Intel
   5039     # versions had trouble with output in subdirs.
   5040     am__obj=sub/conftest.${OBJEXT-o}
   5041     am__minus_obj="-o $am__obj"
   5042     case $depmode in
   5043     gcc)
   5044       # This depmode causes a compiler race in universal mode.
   5045       test "$am__universal" = false || continue
   5046       ;;
   5047     nosideeffect)
   5048       # After this tag, mechanisms are not by side-effect, so they'll
   5049       # only be used when explicitly requested.
   5050       if test "x$enable_dependency_tracking" = xyes; then
   5051 	continue
   5052       else
   5053 	break
   5054       fi
   5055       ;;
   5056     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5057       # This compiler won't grok '-c -o', but also, the minuso test has
   5058       # not run yet.  These depmodes are late enough in the game, and
   5059       # so weak that their functioning should not be impacted.
   5060       am__obj=conftest.${OBJEXT-o}
   5061       am__minus_obj=
   5062       ;;
   5063     none) break ;;
   5064     esac
   5065     if depmode=$depmode \
   5066        source=sub/conftest.c object=$am__obj \
   5067        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5068        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5069          >/dev/null 2>conftest.err &&
   5070        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5071        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5072        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5073        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5074       # icc doesn't choke on unknown options, it will just issue warnings
   5075       # or remarks (even with -Werror).  So we grep stderr for any message
   5076       # that says an option was ignored or not supported.
   5077       # When given -MP, icc 7.0 and 7.1 complain thus:
   5078       #   icc: Command line warning: ignoring option '-M'; no argument required
   5079       # The diagnosis changed in icc 8.0:
   5080       #   icc: Command line remark: option '-MP' not supported
   5081       if (grep 'ignoring option' conftest.err ||
   5082           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5083         am_cv_CC_dependencies_compiler_type=$depmode
   5084         break
   5085       fi
   5086     fi
   5087   done
   5088 
   5089   cd ..
   5090   rm -rf conftest.dir
   5091 else
   5092   am_cv_CC_dependencies_compiler_type=none
   5093 fi
   5094  ;;
   5095 esac
   5096 fi
   5097 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5098 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5099 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5100 
   5101  if
   5102   test "x$enable_dependency_tracking" != xno \
   5103   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5104   am__fastdepCC_TRUE=
   5105   am__fastdepCC_FALSE='#'
   5106 else
   5107   am__fastdepCC_TRUE='#'
   5108   am__fastdepCC_FALSE=
   5109 fi
   5110 
   5111 
   5112 # Variables for tags utilities; see am/tags.am
   5113 if test -z "$CTAGS"; then
   5114   CTAGS=ctags
   5115 fi
   5116 
   5117 if test -z "$ETAGS"; then
   5118   ETAGS=etags
   5119 fi
   5120 
   5121 if test -z "$CSCOPE"; then
   5122   CSCOPE=cscope
   5123 fi
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   5145 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   5146 if test ${ac_cv_c_undeclared_builtin_options+y}
   5147 then :
   5148   printf %s "(cached) " >&6
   5149 else case e in #(
   5150   e) ac_save_CFLAGS=$CFLAGS
   5151    ac_cv_c_undeclared_builtin_options='cannot detect'
   5152    for ac_arg in '' -fno-builtin; do
   5153      CFLAGS="$ac_save_CFLAGS $ac_arg"
   5154      # This test program should *not* compile successfully.
   5155      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5156 /* end confdefs.h.  */
   5157 
   5158 int
   5159 main (void)
   5160 {
   5161 (void) strchr;
   5162   ;
   5163   return 0;
   5164 }
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"
   5167 then :
   5168 
   5169 else case e in #(
   5170   e) # This test program should compile successfully.
   5171         # No library function is consistently available on
   5172         # freestanding implementations, so test against a dummy
   5173         # declaration.  Include always-available headers on the
   5174         # off chance that they somehow elicit warnings.
   5175         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5176 /* end confdefs.h.  */
   5177 #include <float.h>
   5178 #include <limits.h>
   5179 #include <stdarg.h>
   5180 #include <stddef.h>
   5181 extern void ac_decl (int, char *);
   5182 
   5183 int
   5184 main (void)
   5185 {
   5186 (void) ac_decl (0, (char *) 0);
   5187   (void) ac_decl;
   5188 
   5189   ;
   5190   return 0;
   5191 }
   5192 _ACEOF
   5193 if ac_fn_c_try_compile "$LINENO"
   5194 then :
   5195   if test x"$ac_arg" = x
   5196 then :
   5197   ac_cv_c_undeclared_builtin_options='none needed'
   5198 else case e in #(
   5199   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   5200 esac
   5201 fi
   5202           break
   5203 fi
   5204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5205 esac
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5208     done
   5209     CFLAGS=$ac_save_CFLAGS
   5210    ;;
   5211 esac
   5212 fi
   5213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   5214 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   5215   case $ac_cv_c_undeclared_builtin_options in #(
   5216   'cannot detect') :
   5217     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5218 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5219 as_fn_error $? "cannot make $CC report undeclared builtins
   5220 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   5221   'none needed') :
   5222     ac_c_undeclared_builtin_options='' ;; #(
   5223   *) :
   5224     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   5225 esac
   5226 
   5227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   5228 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   5229 if test ${ac_cv_c_future_darwin_options+y}
   5230 then :
   5231   printf %s "(cached) " >&6
   5232 else case e in #(
   5233   e)       ac_compile_saved="$ac_compile"
   5234    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   5235    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5236 /* end confdefs.h.  */
   5237 #if ! (defined __APPLE__ && defined __MACH__)
   5238 	   #error "-Werror=unguarded-availability-new not needed here"
   5239 	  #endif
   5240 
   5241 int
   5242 main (void)
   5243 {
   5244 
   5245   ;
   5246   return 0;
   5247 }
   5248 _ACEOF
   5249 if ac_fn_c_try_compile "$LINENO"
   5250 then :
   5251   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   5252 else case e in #(
   5253   e) ac_cv_c_future_darwin_options='none needed' ;;
   5254 esac
   5255 fi
   5256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5257    ac_compile="$ac_compile_saved"
   5258    ;;
   5259 esac
   5260 fi
   5261 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5262 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5263  case $ac_cv_c_future_darwin_options in #(
   5264   'none needed') :
   5265     ac_c_future_darwin_options='' ;; #(
   5266   *) :
   5267     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5268 esac
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 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"
   5275 if test "x$ac_cv_have_decl___clang__" = xyes
   5276 then :
   5277   CLANGCC="yes"
   5278 else case e in #(
   5279   e) CLANGCC="no" ;;
   5280 esac
   5281 fi
   5282 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"
   5283 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5284 then :
   5285   INTELCC="yes"
   5286 else case e in #(
   5287   e) INTELCC="no" ;;
   5288 esac
   5289 fi
   5290 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"
   5291 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5292 then :
   5293   SUNCC="yes"
   5294 else case e in #(
   5295   e) SUNCC="no" ;;
   5296 esac
   5297 fi
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5307 	if test -n "$ac_tool_prefix"; then
   5308   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5309 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5311 printf %s "checking for $ac_word... " >&6; }
   5312 if test ${ac_cv_path_PKG_CONFIG+y}
   5313 then :
   5314   printf %s "(cached) " >&6
   5315 else case e in #(
   5316   e) case $PKG_CONFIG in
   5317   [\\/]* | ?:[\\/]*)
   5318   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5319   ;;
   5320   *)
   5321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5322 for as_dir in $PATH
   5323 do
   5324   IFS=$as_save_IFS
   5325   case $as_dir in #(((
   5326     '') as_dir=./ ;;
   5327     */) ;;
   5328     *) as_dir=$as_dir/ ;;
   5329   esac
   5330     for ac_exec_ext in '' $ac_executable_extensions; do
   5331   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5332     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5333     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5334     break 2
   5335   fi
   5336 done
   5337   done
   5338 IFS=$as_save_IFS
   5339 
   5340   ;;
   5341 esac ;;
   5342 esac
   5343 fi
   5344 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5345 if test -n "$PKG_CONFIG"; then
   5346   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5347 printf '%s\n' "$PKG_CONFIG" >&6; }
   5348 else
   5349   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5350 printf '%s\n' "no" >&6; }
   5351 fi
   5352 
   5353 
   5354 fi
   5355 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5356   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5357   # Extract the first word of "pkg-config", so it can be a program name with args.
   5358 set dummy pkg-config; ac_word=$2
   5359 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5360 printf %s "checking for $ac_word... " >&6; }
   5361 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5362 then :
   5363   printf %s "(cached) " >&6
   5364 else case e in #(
   5365   e) case $ac_pt_PKG_CONFIG in
   5366   [\\/]* | ?:[\\/]*)
   5367   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5368   ;;
   5369   *)
   5370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5371 for as_dir in $PATH
   5372 do
   5373   IFS=$as_save_IFS
   5374   case $as_dir in #(((
   5375     '') as_dir=./ ;;
   5376     */) ;;
   5377     *) as_dir=$as_dir/ ;;
   5378   esac
   5379     for ac_exec_ext in '' $ac_executable_extensions; do
   5380   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5381     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5382     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5383     break 2
   5384   fi
   5385 done
   5386   done
   5387 IFS=$as_save_IFS
   5388 
   5389   ;;
   5390 esac ;;
   5391 esac
   5392 fi
   5393 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5394 if test -n "$ac_pt_PKG_CONFIG"; then
   5395   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5396 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5397 else
   5398   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5399 printf '%s\n' "no" >&6; }
   5400 fi
   5401 
   5402   if test "x$ac_pt_PKG_CONFIG" = x; then
   5403     PKG_CONFIG=""
   5404   else
   5405     case $cross_compiling:$ac_tool_warned in
   5406 yes:)
   5407 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5408 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5409 ac_tool_warned=yes ;;
   5410 esac
   5411     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5412   fi
   5413 else
   5414   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5415 fi
   5416 
   5417 fi
   5418 if test -n "$PKG_CONFIG"; then
   5419 	_pkg_min_version=0.9.0
   5420 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5421 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5422 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5423 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5424 printf '%s\n' "yes" >&6; }
   5425 	else
   5426 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5427 printf '%s\n' "no" >&6; }
   5428 		PKG_CONFIG=""
   5429 	fi
   5430 fi
   5431 
   5432 
   5433   # Make sure we can run config.sub.
   5434 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5435   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5436 
   5437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5438 printf %s "checking build system type... " >&6; }
   5439 if test ${ac_cv_build+y}
   5440 then :
   5441   printf %s "(cached) " >&6
   5442 else case e in #(
   5443   e) ac_build_alias=$build_alias
   5444 test "x$ac_build_alias" = x &&
   5445   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5446 test "x$ac_build_alias" = x &&
   5447   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5448 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5449   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5450  ;;
   5451 esac
   5452 fi
   5453 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5454 printf '%s\n' "$ac_cv_build" >&6; }
   5455 case $ac_cv_build in
   5456 *-*-*) ;;
   5457 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5458 esac
   5459 build=$ac_cv_build
   5460 ac_save_IFS=$IFS; IFS='-'
   5461 set x $ac_cv_build
   5462 shift
   5463 build_cpu=$1
   5464 build_vendor=$2
   5465 shift; shift
   5466 # Remember, the first character of IFS is used to create $*,
   5467 # except with old shells:
   5468 build_os=$*
   5469 IFS=$ac_save_IFS
   5470 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5471 
   5472 
   5473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5474 printf %s "checking host system type... " >&6; }
   5475 if test ${ac_cv_host+y}
   5476 then :
   5477   printf %s "(cached) " >&6
   5478 else case e in #(
   5479   e) if test "x$host_alias" = x; then
   5480   ac_cv_host=$ac_cv_build
   5481 else
   5482   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5483     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5484 fi
   5485  ;;
   5486 esac
   5487 fi
   5488 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5489 printf '%s\n' "$ac_cv_host" >&6; }
   5490 case $ac_cv_host in
   5491 *-*-*) ;;
   5492 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5493 esac
   5494 host=$ac_cv_host
   5495 ac_save_IFS=$IFS; IFS='-'
   5496 set x $ac_cv_host
   5497 shift
   5498 host_cpu=$1
   5499 host_vendor=$2
   5500 shift; shift
   5501 # Remember, the first character of IFS is used to create $*,
   5502 # except with old shells:
   5503 host_os=$*
   5504 IFS=$ac_save_IFS
   5505 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5506 
   5507 
   5508 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5509 printf %s "checking for a sed that does not truncate output... " >&6; }
   5510 if test ${ac_cv_path_SED+y}
   5511 then :
   5512   printf %s "(cached) " >&6
   5513 else case e in #(
   5514   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5515      for ac_i in 1 2 3 4 5 6 7; do
   5516        ac_script="$ac_script$as_nl$ac_script"
   5517      done
   5518      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5519      { ac_script=; unset ac_script;}
   5520      if test -z "$SED"; then
   5521   ac_path_SED_found=false
   5522   # Loop through the user's path and test for each of PROGNAME-LIST
   5523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5524 for as_dir in $PATH
   5525 do
   5526   IFS=$as_save_IFS
   5527   case $as_dir in #(((
   5528     '') as_dir=./ ;;
   5529     */) ;;
   5530     *) as_dir=$as_dir/ ;;
   5531   esac
   5532     for ac_prog in sed gsed
   5533    do
   5534     for ac_exec_ext in '' $ac_executable_extensions; do
   5535       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5536       as_fn_executable_p "$ac_path_SED" || continue
   5537 # Check for GNU ac_path_SED and select it if it is found.
   5538   # Check for GNU $ac_path_SED
   5539 case `"$ac_path_SED" --version 2>&1` in #(
   5540 *GNU*)
   5541   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5542 #(
   5543 *)
   5544   ac_count=0
   5545   printf %s 0123456789 >"conftest.in"
   5546   while :
   5547   do
   5548     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5549     mv "conftest.tmp" "conftest.in"
   5550     cp "conftest.in" "conftest.nl"
   5551     printf '%s\n' '' >> "conftest.nl"
   5552     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5553     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5554     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5555     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5556       # Best one so far, save it but keep looking for a better one
   5557       ac_cv_path_SED="$ac_path_SED"
   5558       ac_path_SED_max=$ac_count
   5559     fi
   5560     # 10*(2^10) chars as input seems more than enough
   5561     test $ac_count -gt 10 && break
   5562   done
   5563   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5564 esac
   5565 
   5566       $ac_path_SED_found && break 3
   5567     done
   5568   done
   5569   done
   5570 IFS=$as_save_IFS
   5571   if test -z "$ac_cv_path_SED"; then
   5572     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5573   fi
   5574 else
   5575   ac_cv_path_SED=$SED
   5576 fi
   5577  ;;
   5578 esac
   5579 fi
   5580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5581 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5582  SED="$ac_cv_path_SED"
   5583   rm -f conftest.sed
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 # Check whether --enable-selective-werror was given.
   5591 if test ${enable_selective_werror+y}
   5592 then :
   5593   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5594 else case e in #(
   5595   e) SELECTIVE_WERROR=yes ;;
   5596 esac
   5597 fi
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5604 if test "x$SUNCC" = "xyes"; then
   5605     BASE_CFLAGS="-v"
   5606 else
   5607     BASE_CFLAGS=""
   5608 fi
   5609 
   5610 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 xorg_testset_save_CFLAGS="$CFLAGS"
   5625 
   5626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5628 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5629 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5630 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5631 then :
   5632   printf %s "(cached) " >&6
   5633 else case e in #(
   5634   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5635 /* end confdefs.h.  */
   5636 int i;
   5637 _ACEOF
   5638 if ac_fn_c_try_compile "$LINENO"
   5639 then :
   5640   xorg_cv_cc_flag_unknown_warning_option=yes
   5641 else case e in #(
   5642   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5643 esac
   5644 fi
   5645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5646 esac
   5647 fi
   5648 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5649 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5651 	CFLAGS="$xorg_testset_save_CFLAGS"
   5652 fi
   5653 
   5654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5657 	fi
   5658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5659 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5660 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5661 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5662 then :
   5663   printf %s "(cached) " >&6
   5664 else case e in #(
   5665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5666 /* end confdefs.h.  */
   5667 int i;
   5668 _ACEOF
   5669 if ac_fn_c_try_compile "$LINENO"
   5670 then :
   5671   xorg_cv_cc_flag_unused_command_line_argument=yes
   5672 else case e in #(
   5673   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5674 esac
   5675 fi
   5676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5677 esac
   5678 fi
   5679 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5680 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5682 	CFLAGS="$xorg_testset_save_CFLAGS"
   5683 fi
   5684 
   5685 found="no"
   5686 
   5687 	if test $found = "no" ; then
   5688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 		fi
   5691 
   5692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5694 		fi
   5695 
   5696 		CFLAGS="$CFLAGS -Wall"
   5697 
   5698 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5699 printf %s "checking if $CC supports -Wall... " >&6; }
   5700 		cacheid=xorg_cv_cc_flag__Wall
   5701 		if eval test \${$cacheid+y}
   5702 then :
   5703   printf %s "(cached) " >&6
   5704 else case e in #(
   5705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 int
   5709 main (void)
   5710 {
   5711 
   5712   ;
   5713   return 0;
   5714 }
   5715 _ACEOF
   5716 if ac_fn_c_try_link "$LINENO"
   5717 then :
   5718   eval $cacheid=yes
   5719 else case e in #(
   5720   e) eval $cacheid=no ;;
   5721 esac
   5722 fi
   5723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5724     conftest$ac_exeext conftest.$ac_ext ;;
   5725 esac
   5726 fi
   5727 
   5728 
   5729 		CFLAGS="$xorg_testset_save_CFLAGS"
   5730 
   5731 		eval supported=\$$cacheid
   5732 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5733 printf '%s\n' "$supported" >&6; }
   5734 		if test "$supported" = "yes" ; then
   5735 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5736 			found="yes"
   5737 		fi
   5738 	fi
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 xorg_testset_save_CFLAGS="$CFLAGS"
   5755 
   5756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5759 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5760 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5761 then :
   5762   printf %s "(cached) " >&6
   5763 else case e in #(
   5764   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5765 /* end confdefs.h.  */
   5766 int i;
   5767 _ACEOF
   5768 if ac_fn_c_try_compile "$LINENO"
   5769 then :
   5770   xorg_cv_cc_flag_unknown_warning_option=yes
   5771 else case e in #(
   5772   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5773 esac
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5776 esac
   5777 fi
   5778 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5779 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5781 	CFLAGS="$xorg_testset_save_CFLAGS"
   5782 fi
   5783 
   5784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5787 	fi
   5788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5789 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5790 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5791 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5792 then :
   5793   printf %s "(cached) " >&6
   5794 else case e in #(
   5795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5796 /* end confdefs.h.  */
   5797 int i;
   5798 _ACEOF
   5799 if ac_fn_c_try_compile "$LINENO"
   5800 then :
   5801   xorg_cv_cc_flag_unused_command_line_argument=yes
   5802 else case e in #(
   5803   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5804 esac
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5807 esac
   5808 fi
   5809 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5810 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5812 	CFLAGS="$xorg_testset_save_CFLAGS"
   5813 fi
   5814 
   5815 found="no"
   5816 
   5817 	if test $found = "no" ; then
   5818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5820 		fi
   5821 
   5822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5824 		fi
   5825 
   5826 		CFLAGS="$CFLAGS -Wpointer-arith"
   5827 
   5828 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5829 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5830 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5831 		if eval test \${$cacheid+y}
   5832 then :
   5833   printf %s "(cached) " >&6
   5834 else case e in #(
   5835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5836 /* end confdefs.h.  */
   5837 int i;
   5838 int
   5839 main (void)
   5840 {
   5841 
   5842   ;
   5843   return 0;
   5844 }
   5845 _ACEOF
   5846 if ac_fn_c_try_link "$LINENO"
   5847 then :
   5848   eval $cacheid=yes
   5849 else case e in #(
   5850   e) eval $cacheid=no ;;
   5851 esac
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5854     conftest$ac_exeext conftest.$ac_ext ;;
   5855 esac
   5856 fi
   5857 
   5858 
   5859 		CFLAGS="$xorg_testset_save_CFLAGS"
   5860 
   5861 		eval supported=\$$cacheid
   5862 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5863 printf '%s\n' "$supported" >&6; }
   5864 		if test "$supported" = "yes" ; then
   5865 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5866 			found="yes"
   5867 		fi
   5868 	fi
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 xorg_testset_save_CFLAGS="$CFLAGS"
   5885 
   5886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5889 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5890 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5891 then :
   5892   printf %s "(cached) " >&6
   5893 else case e in #(
   5894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 _ACEOF
   5898 if ac_fn_c_try_compile "$LINENO"
   5899 then :
   5900   xorg_cv_cc_flag_unknown_warning_option=yes
   5901 else case e in #(
   5902   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5903 esac
   5904 fi
   5905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5906 esac
   5907 fi
   5908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5909 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5911 	CFLAGS="$xorg_testset_save_CFLAGS"
   5912 fi
   5913 
   5914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	fi
   5918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5922 then :
   5923   printf %s "(cached) " >&6
   5924 else case e in #(
   5925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 _ACEOF
   5929 if ac_fn_c_try_compile "$LINENO"
   5930 then :
   5931   xorg_cv_cc_flag_unused_command_line_argument=yes
   5932 else case e in #(
   5933   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5934 esac
   5935 fi
   5936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5937 esac
   5938 fi
   5939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5940 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5942 	CFLAGS="$xorg_testset_save_CFLAGS"
   5943 fi
   5944 
   5945 found="no"
   5946 
   5947 	if test $found = "no" ; then
   5948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5950 		fi
   5951 
   5952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5954 		fi
   5955 
   5956 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5957 
   5958 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5959 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5960 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5961 		if eval test \${$cacheid+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 int
   5969 main (void)
   5970 {
   5971 
   5972   ;
   5973   return 0;
   5974 }
   5975 _ACEOF
   5976 if ac_fn_c_try_link "$LINENO"
   5977 then :
   5978   eval $cacheid=yes
   5979 else case e in #(
   5980   e) eval $cacheid=no ;;
   5981 esac
   5982 fi
   5983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5984     conftest$ac_exeext conftest.$ac_ext ;;
   5985 esac
   5986 fi
   5987 
   5988 
   5989 		CFLAGS="$xorg_testset_save_CFLAGS"
   5990 
   5991 		eval supported=\$$cacheid
   5992 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5993 printf '%s\n' "$supported" >&6; }
   5994 		if test "$supported" = "yes" ; then
   5995 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5996 			found="yes"
   5997 		fi
   5998 	fi
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 xorg_testset_save_CFLAGS="$CFLAGS"
   6015 
   6016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6020 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6021 then :
   6022   printf %s "(cached) " >&6
   6023 else case e in #(
   6024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6025 /* end confdefs.h.  */
   6026 int i;
   6027 _ACEOF
   6028 if ac_fn_c_try_compile "$LINENO"
   6029 then :
   6030   xorg_cv_cc_flag_unknown_warning_option=yes
   6031 else case e in #(
   6032   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6033 esac
   6034 fi
   6035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6036 esac
   6037 fi
   6038 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6039 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6041 	CFLAGS="$xorg_testset_save_CFLAGS"
   6042 fi
   6043 
   6044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6047 	fi
   6048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6049 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6052 then :
   6053   printf %s "(cached) " >&6
   6054 else case e in #(
   6055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6056 /* end confdefs.h.  */
   6057 int i;
   6058 _ACEOF
   6059 if ac_fn_c_try_compile "$LINENO"
   6060 then :
   6061   xorg_cv_cc_flag_unused_command_line_argument=yes
   6062 else case e in #(
   6063   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6064 esac
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6067 esac
   6068 fi
   6069 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6070 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6072 	CFLAGS="$xorg_testset_save_CFLAGS"
   6073 fi
   6074 
   6075 found="no"
   6076 
   6077 	if test $found = "no" ; then
   6078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6080 		fi
   6081 
   6082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6084 		fi
   6085 
   6086 		CFLAGS="$CFLAGS -Wformat=2"
   6087 
   6088 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   6089 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   6090 		cacheid=xorg_cv_cc_flag__Wformat_2
   6091 		if eval test \${$cacheid+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 int
   6099 main (void)
   6100 {
   6101 
   6102   ;
   6103   return 0;
   6104 }
   6105 _ACEOF
   6106 if ac_fn_c_try_link "$LINENO"
   6107 then :
   6108   eval $cacheid=yes
   6109 else case e in #(
   6110   e) eval $cacheid=no ;;
   6111 esac
   6112 fi
   6113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6114     conftest$ac_exeext conftest.$ac_ext ;;
   6115 esac
   6116 fi
   6117 
   6118 
   6119 		CFLAGS="$xorg_testset_save_CFLAGS"
   6120 
   6121 		eval supported=\$$cacheid
   6122 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6123 printf '%s\n' "$supported" >&6; }
   6124 		if test "$supported" = "yes" ; then
   6125 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   6126 			found="yes"
   6127 		fi
   6128 	fi
   6129 
   6130 	if test $found = "no" ; then
   6131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6133 		fi
   6134 
   6135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6137 		fi
   6138 
   6139 		CFLAGS="$CFLAGS -Wformat"
   6140 
   6141 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   6142 printf %s "checking if $CC supports -Wformat... " >&6; }
   6143 		cacheid=xorg_cv_cc_flag__Wformat
   6144 		if eval test \${$cacheid+y}
   6145 then :
   6146   printf %s "(cached) " >&6
   6147 else case e in #(
   6148   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 int
   6152 main (void)
   6153 {
   6154 
   6155   ;
   6156   return 0;
   6157 }
   6158 _ACEOF
   6159 if ac_fn_c_try_link "$LINENO"
   6160 then :
   6161   eval $cacheid=yes
   6162 else case e in #(
   6163   e) eval $cacheid=no ;;
   6164 esac
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6167     conftest$ac_exeext conftest.$ac_ext ;;
   6168 esac
   6169 fi
   6170 
   6171 
   6172 		CFLAGS="$xorg_testset_save_CFLAGS"
   6173 
   6174 		eval supported=\$$cacheid
   6175 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6176 printf '%s\n' "$supported" >&6; }
   6177 		if test "$supported" = "yes" ; then
   6178 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   6179 			found="yes"
   6180 		fi
   6181 	fi
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 xorg_testset_save_CFLAGS="$CFLAGS"
   6200 
   6201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6204 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6205 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6206 then :
   6207   printf %s "(cached) " >&6
   6208 else case e in #(
   6209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 _ACEOF
   6213 if ac_fn_c_try_compile "$LINENO"
   6214 then :
   6215   xorg_cv_cc_flag_unknown_warning_option=yes
   6216 else case e in #(
   6217   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6218 esac
   6219 fi
   6220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6221 esac
   6222 fi
   6223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6224 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6226 	CFLAGS="$xorg_testset_save_CFLAGS"
   6227 fi
   6228 
   6229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6232 	fi
   6233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6234 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6237 then :
   6238   printf %s "(cached) " >&6
   6239 else case e in #(
   6240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6241 /* end confdefs.h.  */
   6242 int i;
   6243 _ACEOF
   6244 if ac_fn_c_try_compile "$LINENO"
   6245 then :
   6246   xorg_cv_cc_flag_unused_command_line_argument=yes
   6247 else case e in #(
   6248   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6249 esac
   6250 fi
   6251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6252 esac
   6253 fi
   6254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6255 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6257 	CFLAGS="$xorg_testset_save_CFLAGS"
   6258 fi
   6259 
   6260 found="no"
   6261 
   6262 	if test $found = "no" ; then
   6263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6265 		fi
   6266 
   6267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6269 		fi
   6270 
   6271 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6272 
   6273 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6274 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6275 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6276 		if eval test \${$cacheid+y}
   6277 then :
   6278   printf %s "(cached) " >&6
   6279 else case e in #(
   6280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6281 /* end confdefs.h.  */
   6282 int i;
   6283 int
   6284 main (void)
   6285 {
   6286 
   6287   ;
   6288   return 0;
   6289 }
   6290 _ACEOF
   6291 if ac_fn_c_try_link "$LINENO"
   6292 then :
   6293   eval $cacheid=yes
   6294 else case e in #(
   6295   e) eval $cacheid=no ;;
   6296 esac
   6297 fi
   6298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6299     conftest$ac_exeext conftest.$ac_ext ;;
   6300 esac
   6301 fi
   6302 
   6303 
   6304 		CFLAGS="$xorg_testset_save_CFLAGS"
   6305 
   6306 		eval supported=\$$cacheid
   6307 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6308 printf '%s\n' "$supported" >&6; }
   6309 		if test "$supported" = "yes" ; then
   6310 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6311 			found="yes"
   6312 		fi
   6313 	fi
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 xorg_testset_save_CFLAGS="$CFLAGS"
   6330 
   6331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6333 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6336 then :
   6337   printf %s "(cached) " >&6
   6338 else case e in #(
   6339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"
   6344 then :
   6345   xorg_cv_cc_flag_unknown_warning_option=yes
   6346 else case e in #(
   6347   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6348 esac
   6349 fi
   6350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6351 esac
   6352 fi
   6353 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6354 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6356 	CFLAGS="$xorg_testset_save_CFLAGS"
   6357 fi
   6358 
   6359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6362 	fi
   6363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6364 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6365 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6366 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6367 then :
   6368   printf %s "(cached) " >&6
   6369 else case e in #(
   6370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6371 /* end confdefs.h.  */
   6372 int i;
   6373 _ACEOF
   6374 if ac_fn_c_try_compile "$LINENO"
   6375 then :
   6376   xorg_cv_cc_flag_unused_command_line_argument=yes
   6377 else case e in #(
   6378   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6379 esac
   6380 fi
   6381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6382 esac
   6383 fi
   6384 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6385 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6387 	CFLAGS="$xorg_testset_save_CFLAGS"
   6388 fi
   6389 
   6390 found="no"
   6391 
   6392 	if test $found = "no" ; then
   6393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6395 		fi
   6396 
   6397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6399 		fi
   6400 
   6401 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6402 
   6403 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6404 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6405 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6406 		if eval test \${$cacheid+y}
   6407 then :
   6408   printf %s "(cached) " >&6
   6409 else case e in #(
   6410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6411 /* end confdefs.h.  */
   6412 int i;
   6413 int
   6414 main (void)
   6415 {
   6416 
   6417   ;
   6418   return 0;
   6419 }
   6420 _ACEOF
   6421 if ac_fn_c_try_link "$LINENO"
   6422 then :
   6423   eval $cacheid=yes
   6424 else case e in #(
   6425   e) eval $cacheid=no ;;
   6426 esac
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6429     conftest$ac_exeext conftest.$ac_ext ;;
   6430 esac
   6431 fi
   6432 
   6433 
   6434 		CFLAGS="$xorg_testset_save_CFLAGS"
   6435 
   6436 		eval supported=\$$cacheid
   6437 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6438 printf '%s\n' "$supported" >&6; }
   6439 		if test "$supported" = "yes" ; then
   6440 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6441 			found="yes"
   6442 		fi
   6443 	fi
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 xorg_testset_save_CFLAGS="$CFLAGS"
   6460 
   6461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6463 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6466 then :
   6467   printf %s "(cached) " >&6
   6468 else case e in #(
   6469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 _ACEOF
   6473 if ac_fn_c_try_compile "$LINENO"
   6474 then :
   6475   xorg_cv_cc_flag_unknown_warning_option=yes
   6476 else case e in #(
   6477   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6478 esac
   6479 fi
   6480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6481 esac
   6482 fi
   6483 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6484 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6486 	CFLAGS="$xorg_testset_save_CFLAGS"
   6487 fi
   6488 
   6489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6492 	fi
   6493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6494 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6497 then :
   6498   printf %s "(cached) " >&6
   6499 else case e in #(
   6500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6501 /* end confdefs.h.  */
   6502 int i;
   6503 _ACEOF
   6504 if ac_fn_c_try_compile "$LINENO"
   6505 then :
   6506   xorg_cv_cc_flag_unused_command_line_argument=yes
   6507 else case e in #(
   6508   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6509 esac
   6510 fi
   6511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6512 esac
   6513 fi
   6514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6515 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6517 	CFLAGS="$xorg_testset_save_CFLAGS"
   6518 fi
   6519 
   6520 found="no"
   6521 
   6522 	if test $found = "no" ; then
   6523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6525 		fi
   6526 
   6527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6529 		fi
   6530 
   6531 		CFLAGS="$CFLAGS -Wnested-externs"
   6532 
   6533 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6534 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6535 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6536 		if eval test \${$cacheid+y}
   6537 then :
   6538   printf %s "(cached) " >&6
   6539 else case e in #(
   6540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6541 /* end confdefs.h.  */
   6542 int i;
   6543 int
   6544 main (void)
   6545 {
   6546 
   6547   ;
   6548   return 0;
   6549 }
   6550 _ACEOF
   6551 if ac_fn_c_try_link "$LINENO"
   6552 then :
   6553   eval $cacheid=yes
   6554 else case e in #(
   6555   e) eval $cacheid=no ;;
   6556 esac
   6557 fi
   6558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6559     conftest$ac_exeext conftest.$ac_ext ;;
   6560 esac
   6561 fi
   6562 
   6563 
   6564 		CFLAGS="$xorg_testset_save_CFLAGS"
   6565 
   6566 		eval supported=\$$cacheid
   6567 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6568 printf '%s\n' "$supported" >&6; }
   6569 		if test "$supported" = "yes" ; then
   6570 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6571 			found="yes"
   6572 		fi
   6573 	fi
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 xorg_testset_save_CFLAGS="$CFLAGS"
   6590 
   6591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6594 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6595 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6596 then :
   6597   printf %s "(cached) " >&6
   6598 else case e in #(
   6599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6600 /* end confdefs.h.  */
   6601 int i;
   6602 _ACEOF
   6603 if ac_fn_c_try_compile "$LINENO"
   6604 then :
   6605   xorg_cv_cc_flag_unknown_warning_option=yes
   6606 else case e in #(
   6607   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6608 esac
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6611 esac
   6612 fi
   6613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6614 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6616 	CFLAGS="$xorg_testset_save_CFLAGS"
   6617 fi
   6618 
   6619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6622 	fi
   6623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6624 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6627 then :
   6628   printf %s "(cached) " >&6
   6629 else case e in #(
   6630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6631 /* end confdefs.h.  */
   6632 int i;
   6633 _ACEOF
   6634 if ac_fn_c_try_compile "$LINENO"
   6635 then :
   6636   xorg_cv_cc_flag_unused_command_line_argument=yes
   6637 else case e in #(
   6638   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6639 esac
   6640 fi
   6641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6642 esac
   6643 fi
   6644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6645 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6647 	CFLAGS="$xorg_testset_save_CFLAGS"
   6648 fi
   6649 
   6650 found="no"
   6651 
   6652 	if test $found = "no" ; then
   6653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6655 		fi
   6656 
   6657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6659 		fi
   6660 
   6661 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6662 
   6663 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6664 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6665 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6666 		if eval test \${$cacheid+y}
   6667 then :
   6668   printf %s "(cached) " >&6
   6669 else case e in #(
   6670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 int i;
   6673 int
   6674 main (void)
   6675 {
   6676 
   6677   ;
   6678   return 0;
   6679 }
   6680 _ACEOF
   6681 if ac_fn_c_try_link "$LINENO"
   6682 then :
   6683   eval $cacheid=yes
   6684 else case e in #(
   6685   e) eval $cacheid=no ;;
   6686 esac
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6689     conftest$ac_exeext conftest.$ac_ext ;;
   6690 esac
   6691 fi
   6692 
   6693 
   6694 		CFLAGS="$xorg_testset_save_CFLAGS"
   6695 
   6696 		eval supported=\$$cacheid
   6697 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6698 printf '%s\n' "$supported" >&6; }
   6699 		if test "$supported" = "yes" ; then
   6700 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6701 			found="yes"
   6702 		fi
   6703 	fi
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 xorg_testset_save_CFLAGS="$CFLAGS"
   6720 
   6721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6723 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6724 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6725 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6726 then :
   6727   printf %s "(cached) " >&6
   6728 else case e in #(
   6729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 _ACEOF
   6733 if ac_fn_c_try_compile "$LINENO"
   6734 then :
   6735   xorg_cv_cc_flag_unknown_warning_option=yes
   6736 else case e in #(
   6737   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6738 esac
   6739 fi
   6740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6741 esac
   6742 fi
   6743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6744 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6746 	CFLAGS="$xorg_testset_save_CFLAGS"
   6747 fi
   6748 
   6749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6752 	fi
   6753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6754 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6755 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6756 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6757 then :
   6758   printf %s "(cached) " >&6
   6759 else case e in #(
   6760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6761 /* end confdefs.h.  */
   6762 int i;
   6763 _ACEOF
   6764 if ac_fn_c_try_compile "$LINENO"
   6765 then :
   6766   xorg_cv_cc_flag_unused_command_line_argument=yes
   6767 else case e in #(
   6768   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6769 esac
   6770 fi
   6771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6772 esac
   6773 fi
   6774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6775 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6777 	CFLAGS="$xorg_testset_save_CFLAGS"
   6778 fi
   6779 
   6780 found="no"
   6781 
   6782 	if test $found = "no" ; then
   6783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6785 		fi
   6786 
   6787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6789 		fi
   6790 
   6791 		CFLAGS="$CFLAGS -Wold-style-definition"
   6792 
   6793 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6794 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6795 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6796 		if eval test \${$cacheid+y}
   6797 then :
   6798   printf %s "(cached) " >&6
   6799 else case e in #(
   6800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 int
   6804 main (void)
   6805 {
   6806 
   6807   ;
   6808   return 0;
   6809 }
   6810 _ACEOF
   6811 if ac_fn_c_try_link "$LINENO"
   6812 then :
   6813   eval $cacheid=yes
   6814 else case e in #(
   6815   e) eval $cacheid=no ;;
   6816 esac
   6817 fi
   6818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6819     conftest$ac_exeext conftest.$ac_ext ;;
   6820 esac
   6821 fi
   6822 
   6823 
   6824 		CFLAGS="$xorg_testset_save_CFLAGS"
   6825 
   6826 		eval supported=\$$cacheid
   6827 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6828 printf '%s\n' "$supported" >&6; }
   6829 		if test "$supported" = "yes" ; then
   6830 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6831 			found="yes"
   6832 		fi
   6833 	fi
   6834 
   6835 	if test $found = "no" ; then
   6836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 		fi
   6839 
   6840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 		fi
   6843 
   6844 		CFLAGS="$CFLAGS -fd"
   6845 
   6846 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6847 printf %s "checking if $CC supports -fd... " >&6; }
   6848 		cacheid=xorg_cv_cc_flag__fd
   6849 		if eval test \${$cacheid+y}
   6850 then :
   6851   printf %s "(cached) " >&6
   6852 else case e in #(
   6853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6854 /* end confdefs.h.  */
   6855 int i;
   6856 int
   6857 main (void)
   6858 {
   6859 
   6860   ;
   6861   return 0;
   6862 }
   6863 _ACEOF
   6864 if ac_fn_c_try_link "$LINENO"
   6865 then :
   6866   eval $cacheid=yes
   6867 else case e in #(
   6868   e) eval $cacheid=no ;;
   6869 esac
   6870 fi
   6871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6872     conftest$ac_exeext conftest.$ac_ext ;;
   6873 esac
   6874 fi
   6875 
   6876 
   6877 		CFLAGS="$xorg_testset_save_CFLAGS"
   6878 
   6879 		eval supported=\$$cacheid
   6880 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6881 printf '%s\n' "$supported" >&6; }
   6882 		if test "$supported" = "yes" ; then
   6883 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6884 			found="yes"
   6885 		fi
   6886 	fi
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 # This chunk adds additional warnings that could catch undesired effects.
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 xorg_testset_save_CFLAGS="$CFLAGS"
   6907 
   6908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6910 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6911 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6912 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6913 then :
   6914   printf %s "(cached) " >&6
   6915 else case e in #(
   6916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6917 /* end confdefs.h.  */
   6918 int i;
   6919 _ACEOF
   6920 if ac_fn_c_try_compile "$LINENO"
   6921 then :
   6922   xorg_cv_cc_flag_unknown_warning_option=yes
   6923 else case e in #(
   6924   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6925 esac
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6928 esac
   6929 fi
   6930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6931 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6933 	CFLAGS="$xorg_testset_save_CFLAGS"
   6934 fi
   6935 
   6936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 	fi
   6940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6941 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6942 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6943 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6944 then :
   6945   printf %s "(cached) " >&6
   6946 else case e in #(
   6947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6948 /* end confdefs.h.  */
   6949 int i;
   6950 _ACEOF
   6951 if ac_fn_c_try_compile "$LINENO"
   6952 then :
   6953   xorg_cv_cc_flag_unused_command_line_argument=yes
   6954 else case e in #(
   6955   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6956 esac
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6959 esac
   6960 fi
   6961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6962 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6964 	CFLAGS="$xorg_testset_save_CFLAGS"
   6965 fi
   6966 
   6967 found="no"
   6968 
   6969 	if test $found = "no" ; then
   6970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6972 		fi
   6973 
   6974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6976 		fi
   6977 
   6978 		CFLAGS="$CFLAGS -Wunused"
   6979 
   6980 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6981 printf %s "checking if $CC supports -Wunused... " >&6; }
   6982 		cacheid=xorg_cv_cc_flag__Wunused
   6983 		if eval test \${$cacheid+y}
   6984 then :
   6985   printf %s "(cached) " >&6
   6986 else case e in #(
   6987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6988 /* end confdefs.h.  */
   6989 int i;
   6990 int
   6991 main (void)
   6992 {
   6993 
   6994   ;
   6995   return 0;
   6996 }
   6997 _ACEOF
   6998 if ac_fn_c_try_link "$LINENO"
   6999 then :
   7000   eval $cacheid=yes
   7001 else case e in #(
   7002   e) eval $cacheid=no ;;
   7003 esac
   7004 fi
   7005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7006     conftest$ac_exeext conftest.$ac_ext ;;
   7007 esac
   7008 fi
   7009 
   7010 
   7011 		CFLAGS="$xorg_testset_save_CFLAGS"
   7012 
   7013 		eval supported=\$$cacheid
   7014 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7015 printf '%s\n' "$supported" >&6; }
   7016 		if test "$supported" = "yes" ; then
   7017 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   7018 			found="yes"
   7019 		fi
   7020 	fi
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 xorg_testset_save_CFLAGS="$CFLAGS"
   7037 
   7038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7040 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7041 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7042 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7043 then :
   7044   printf %s "(cached) " >&6
   7045 else case e in #(
   7046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7047 /* end confdefs.h.  */
   7048 int i;
   7049 _ACEOF
   7050 if ac_fn_c_try_compile "$LINENO"
   7051 then :
   7052   xorg_cv_cc_flag_unknown_warning_option=yes
   7053 else case e in #(
   7054   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7055 esac
   7056 fi
   7057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7058 esac
   7059 fi
   7060 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7061 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7063 	CFLAGS="$xorg_testset_save_CFLAGS"
   7064 fi
   7065 
   7066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 	fi
   7070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7071 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7072 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7073 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7074 then :
   7075   printf %s "(cached) " >&6
   7076 else case e in #(
   7077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 int i;
   7080 _ACEOF
   7081 if ac_fn_c_try_compile "$LINENO"
   7082 then :
   7083   xorg_cv_cc_flag_unused_command_line_argument=yes
   7084 else case e in #(
   7085   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7086 esac
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7089 esac
   7090 fi
   7091 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7092 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7094 	CFLAGS="$xorg_testset_save_CFLAGS"
   7095 fi
   7096 
   7097 found="no"
   7098 
   7099 	if test $found = "no" ; then
   7100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7102 		fi
   7103 
   7104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 		fi
   7107 
   7108 		CFLAGS="$CFLAGS -Wuninitialized"
   7109 
   7110 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   7111 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   7112 		cacheid=xorg_cv_cc_flag__Wuninitialized
   7113 		if eval test \${$cacheid+y}
   7114 then :
   7115   printf %s "(cached) " >&6
   7116 else case e in #(
   7117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7118 /* end confdefs.h.  */
   7119 int i;
   7120 int
   7121 main (void)
   7122 {
   7123 
   7124   ;
   7125   return 0;
   7126 }
   7127 _ACEOF
   7128 if ac_fn_c_try_link "$LINENO"
   7129 then :
   7130   eval $cacheid=yes
   7131 else case e in #(
   7132   e) eval $cacheid=no ;;
   7133 esac
   7134 fi
   7135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7136     conftest$ac_exeext conftest.$ac_ext ;;
   7137 esac
   7138 fi
   7139 
   7140 
   7141 		CFLAGS="$xorg_testset_save_CFLAGS"
   7142 
   7143 		eval supported=\$$cacheid
   7144 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7145 printf '%s\n' "$supported" >&6; }
   7146 		if test "$supported" = "yes" ; then
   7147 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   7148 			found="yes"
   7149 		fi
   7150 	fi
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 xorg_testset_save_CFLAGS="$CFLAGS"
   7167 
   7168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7170 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7171 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7172 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7173 then :
   7174   printf %s "(cached) " >&6
   7175 else case e in #(
   7176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 int i;
   7179 _ACEOF
   7180 if ac_fn_c_try_compile "$LINENO"
   7181 then :
   7182   xorg_cv_cc_flag_unknown_warning_option=yes
   7183 else case e in #(
   7184   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7185 esac
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7188 esac
   7189 fi
   7190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7191 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7193 	CFLAGS="$xorg_testset_save_CFLAGS"
   7194 fi
   7195 
   7196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7199 	fi
   7200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7201 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7204 then :
   7205   printf %s "(cached) " >&6
   7206 else case e in #(
   7207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7208 /* end confdefs.h.  */
   7209 int i;
   7210 _ACEOF
   7211 if ac_fn_c_try_compile "$LINENO"
   7212 then :
   7213   xorg_cv_cc_flag_unused_command_line_argument=yes
   7214 else case e in #(
   7215   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7216 esac
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7219 esac
   7220 fi
   7221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7222 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7224 	CFLAGS="$xorg_testset_save_CFLAGS"
   7225 fi
   7226 
   7227 found="no"
   7228 
   7229 	if test $found = "no" ; then
   7230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7232 		fi
   7233 
   7234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7236 		fi
   7237 
   7238 		CFLAGS="$CFLAGS -Wshadow"
   7239 
   7240 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7241 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7242 		cacheid=xorg_cv_cc_flag__Wshadow
   7243 		if eval test \${$cacheid+y}
   7244 then :
   7245   printf %s "(cached) " >&6
   7246 else case e in #(
   7247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 int
   7251 main (void)
   7252 {
   7253 
   7254   ;
   7255   return 0;
   7256 }
   7257 _ACEOF
   7258 if ac_fn_c_try_link "$LINENO"
   7259 then :
   7260   eval $cacheid=yes
   7261 else case e in #(
   7262   e) eval $cacheid=no ;;
   7263 esac
   7264 fi
   7265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7266     conftest$ac_exeext conftest.$ac_ext ;;
   7267 esac
   7268 fi
   7269 
   7270 
   7271 		CFLAGS="$xorg_testset_save_CFLAGS"
   7272 
   7273 		eval supported=\$$cacheid
   7274 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7275 printf '%s\n' "$supported" >&6; }
   7276 		if test "$supported" = "yes" ; then
   7277 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7278 			found="yes"
   7279 		fi
   7280 	fi
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 xorg_testset_save_CFLAGS="$CFLAGS"
   7297 
   7298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7300 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7303 then :
   7304   printf %s "(cached) " >&6
   7305 else case e in #(
   7306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 _ACEOF
   7310 if ac_fn_c_try_compile "$LINENO"
   7311 then :
   7312   xorg_cv_cc_flag_unknown_warning_option=yes
   7313 else case e in #(
   7314   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7315 esac
   7316 fi
   7317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7318 esac
   7319 fi
   7320 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7321 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7323 	CFLAGS="$xorg_testset_save_CFLAGS"
   7324 fi
   7325 
   7326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7329 	fi
   7330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7331 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7332 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7333 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7334 then :
   7335   printf %s "(cached) " >&6
   7336 else case e in #(
   7337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 _ACEOF
   7341 if ac_fn_c_try_compile "$LINENO"
   7342 then :
   7343   xorg_cv_cc_flag_unused_command_line_argument=yes
   7344 else case e in #(
   7345   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7346 esac
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7349 esac
   7350 fi
   7351 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7352 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7354 	CFLAGS="$xorg_testset_save_CFLAGS"
   7355 fi
   7356 
   7357 found="no"
   7358 
   7359 	if test $found = "no" ; then
   7360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7362 		fi
   7363 
   7364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 		fi
   7367 
   7368 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7369 
   7370 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7371 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7372 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7373 		if eval test \${$cacheid+y}
   7374 then :
   7375   printf %s "(cached) " >&6
   7376 else case e in #(
   7377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7378 /* end confdefs.h.  */
   7379 int i;
   7380 int
   7381 main (void)
   7382 {
   7383 
   7384   ;
   7385   return 0;
   7386 }
   7387 _ACEOF
   7388 if ac_fn_c_try_link "$LINENO"
   7389 then :
   7390   eval $cacheid=yes
   7391 else case e in #(
   7392   e) eval $cacheid=no ;;
   7393 esac
   7394 fi
   7395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7396     conftest$ac_exeext conftest.$ac_ext ;;
   7397 esac
   7398 fi
   7399 
   7400 
   7401 		CFLAGS="$xorg_testset_save_CFLAGS"
   7402 
   7403 		eval supported=\$$cacheid
   7404 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7405 printf '%s\n' "$supported" >&6; }
   7406 		if test "$supported" = "yes" ; then
   7407 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7408 			found="yes"
   7409 		fi
   7410 	fi
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 xorg_testset_save_CFLAGS="$CFLAGS"
   7427 
   7428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7433 then :
   7434   printf %s "(cached) " >&6
   7435 else case e in #(
   7436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 int i;
   7439 _ACEOF
   7440 if ac_fn_c_try_compile "$LINENO"
   7441 then :
   7442   xorg_cv_cc_flag_unknown_warning_option=yes
   7443 else case e in #(
   7444   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7445 esac
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7448 esac
   7449 fi
   7450 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7451 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7453 	CFLAGS="$xorg_testset_save_CFLAGS"
   7454 fi
   7455 
   7456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 	fi
   7460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7461 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7464 then :
   7465   printf %s "(cached) " >&6
   7466 else case e in #(
   7467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7468 /* end confdefs.h.  */
   7469 int i;
   7470 _ACEOF
   7471 if ac_fn_c_try_compile "$LINENO"
   7472 then :
   7473   xorg_cv_cc_flag_unused_command_line_argument=yes
   7474 else case e in #(
   7475   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7476 esac
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7479 esac
   7480 fi
   7481 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7482 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7484 	CFLAGS="$xorg_testset_save_CFLAGS"
   7485 fi
   7486 
   7487 found="no"
   7488 
   7489 	if test $found = "no" ; then
   7490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7492 		fi
   7493 
   7494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7496 		fi
   7497 
   7498 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7499 
   7500 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7501 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7502 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7503 		if eval test \${$cacheid+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else case e in #(
   7507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 int
   7511 main (void)
   7512 {
   7513 
   7514   ;
   7515   return 0;
   7516 }
   7517 _ACEOF
   7518 if ac_fn_c_try_link "$LINENO"
   7519 then :
   7520   eval $cacheid=yes
   7521 else case e in #(
   7522   e) eval $cacheid=no ;;
   7523 esac
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7526     conftest$ac_exeext conftest.$ac_ext ;;
   7527 esac
   7528 fi
   7529 
   7530 
   7531 		CFLAGS="$xorg_testset_save_CFLAGS"
   7532 
   7533 		eval supported=\$$cacheid
   7534 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7535 printf '%s\n' "$supported" >&6; }
   7536 		if test "$supported" = "yes" ; then
   7537 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7538 			found="yes"
   7539 		fi
   7540 	fi
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 xorg_testset_save_CFLAGS="$CFLAGS"
   7557 
   7558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7563 then :
   7564   printf %s "(cached) " >&6
   7565 else case e in #(
   7566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 int i;
   7569 _ACEOF
   7570 if ac_fn_c_try_compile "$LINENO"
   7571 then :
   7572   xorg_cv_cc_flag_unknown_warning_option=yes
   7573 else case e in #(
   7574   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7575 esac
   7576 fi
   7577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7578 esac
   7579 fi
   7580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7581 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 	fi
   7590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7594 then :
   7595   printf %s "(cached) " >&6
   7596 else case e in #(
   7597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7598 /* end confdefs.h.  */
   7599 int i;
   7600 _ACEOF
   7601 if ac_fn_c_try_compile "$LINENO"
   7602 then :
   7603   xorg_cv_cc_flag_unused_command_line_argument=yes
   7604 else case e in #(
   7605   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7606 esac
   7607 fi
   7608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7609 esac
   7610 fi
   7611 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7612 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7614 	CFLAGS="$xorg_testset_save_CFLAGS"
   7615 fi
   7616 
   7617 found="no"
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -Wredundant-decls"
   7629 
   7630 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7631 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7632 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7633 		if eval test \${$cacheid+y}
   7634 then :
   7635   printf %s "(cached) " >&6
   7636 else case e in #(
   7637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638 /* end confdefs.h.  */
   7639 int i;
   7640 int
   7641 main (void)
   7642 {
   7643 
   7644   ;
   7645   return 0;
   7646 }
   7647 _ACEOF
   7648 if ac_fn_c_try_link "$LINENO"
   7649 then :
   7650   eval $cacheid=yes
   7651 else case e in #(
   7652   e) eval $cacheid=no ;;
   7653 esac
   7654 fi
   7655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7656     conftest$ac_exeext conftest.$ac_ext ;;
   7657 esac
   7658 fi
   7659 
   7660 
   7661 		CFLAGS="$xorg_testset_save_CFLAGS"
   7662 
   7663 		eval supported=\$$cacheid
   7664 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7665 printf '%s\n' "$supported" >&6; }
   7666 		if test "$supported" = "yes" ; then
   7667 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7668 			found="yes"
   7669 		fi
   7670 	fi
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 xorg_testset_save_CFLAGS="$CFLAGS"
   7687 
   7688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7690 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7693 then :
   7694   printf %s "(cached) " >&6
   7695 else case e in #(
   7696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7697 /* end confdefs.h.  */
   7698 int i;
   7699 _ACEOF
   7700 if ac_fn_c_try_compile "$LINENO"
   7701 then :
   7702   xorg_cv_cc_flag_unknown_warning_option=yes
   7703 else case e in #(
   7704   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7705 esac
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7708 esac
   7709 fi
   7710 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7711 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7713 	CFLAGS="$xorg_testset_save_CFLAGS"
   7714 fi
   7715 
   7716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7719 	fi
   7720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7721 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7724 then :
   7725   printf %s "(cached) " >&6
   7726 else case e in #(
   7727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7728 /* end confdefs.h.  */
   7729 int i;
   7730 _ACEOF
   7731 if ac_fn_c_try_compile "$LINENO"
   7732 then :
   7733   xorg_cv_cc_flag_unused_command_line_argument=yes
   7734 else case e in #(
   7735   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7736 esac
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7739 esac
   7740 fi
   7741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7742 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7744 	CFLAGS="$xorg_testset_save_CFLAGS"
   7745 fi
   7746 
   7747 found="no"
   7748 
   7749 	if test $found = "no" ; then
   7750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7752 		fi
   7753 
   7754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7756 		fi
   7757 
   7758 		CFLAGS="$CFLAGS -Wlogical-op"
   7759 
   7760 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7761 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7762 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7763 		if eval test \${$cacheid+y}
   7764 then :
   7765   printf %s "(cached) " >&6
   7766 else case e in #(
   7767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7768 /* end confdefs.h.  */
   7769 int i;
   7770 int
   7771 main (void)
   7772 {
   7773 
   7774   ;
   7775   return 0;
   7776 }
   7777 _ACEOF
   7778 if ac_fn_c_try_link "$LINENO"
   7779 then :
   7780   eval $cacheid=yes
   7781 else case e in #(
   7782   e) eval $cacheid=no ;;
   7783 esac
   7784 fi
   7785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7786     conftest$ac_exeext conftest.$ac_ext ;;
   7787 esac
   7788 fi
   7789 
   7790 
   7791 		CFLAGS="$xorg_testset_save_CFLAGS"
   7792 
   7793 		eval supported=\$$cacheid
   7794 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7795 printf '%s\n' "$supported" >&6; }
   7796 		if test "$supported" = "yes" ; then
   7797 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7798 			found="yes"
   7799 		fi
   7800 	fi
   7801 
   7802 
   7803 
   7804 # These are currently disabled because they are noisy.  They will be enabled
   7805 # in the future once the codebase is sufficiently modernized to silence
   7806 # them.  For now, I don't want them to drown out the other warnings.
   7807 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7808 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7809 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7810 
   7811 # Turn some warnings into errors, so we don't accidentally get successful builds
   7812 # when there are problems that should be fixed.
   7813 
   7814 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 xorg_testset_save_CFLAGS="$CFLAGS"
   7829 
   7830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7832 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7833 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7834 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7835 then :
   7836   printf %s "(cached) " >&6
   7837 else case e in #(
   7838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7839 /* end confdefs.h.  */
   7840 int i;
   7841 _ACEOF
   7842 if ac_fn_c_try_compile "$LINENO"
   7843 then :
   7844   xorg_cv_cc_flag_unknown_warning_option=yes
   7845 else case e in #(
   7846   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7847 esac
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7850 esac
   7851 fi
   7852 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7853 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7861 	fi
   7862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7864 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7865 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7866 then :
   7867   printf %s "(cached) " >&6
   7868 else case e in #(
   7869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7870 /* end confdefs.h.  */
   7871 int i;
   7872 _ACEOF
   7873 if ac_fn_c_try_compile "$LINENO"
   7874 then :
   7875   xorg_cv_cc_flag_unused_command_line_argument=yes
   7876 else case e in #(
   7877   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7878 esac
   7879 fi
   7880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7881 esac
   7882 fi
   7883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7884 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7885 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7886 	CFLAGS="$xorg_testset_save_CFLAGS"
   7887 fi
   7888 
   7889 found="no"
   7890 
   7891 	if test $found = "no" ; then
   7892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7894 		fi
   7895 
   7896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7898 		fi
   7899 
   7900 		CFLAGS="$CFLAGS -Werror=implicit"
   7901 
   7902 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7903 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7904 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7905 		if eval test \${$cacheid+y}
   7906 then :
   7907   printf %s "(cached) " >&6
   7908 else case e in #(
   7909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7910 /* end confdefs.h.  */
   7911 int i;
   7912 int
   7913 main (void)
   7914 {
   7915 
   7916   ;
   7917   return 0;
   7918 }
   7919 _ACEOF
   7920 if ac_fn_c_try_link "$LINENO"
   7921 then :
   7922   eval $cacheid=yes
   7923 else case e in #(
   7924   e) eval $cacheid=no ;;
   7925 esac
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7928     conftest$ac_exeext conftest.$ac_ext ;;
   7929 esac
   7930 fi
   7931 
   7932 
   7933 		CFLAGS="$xorg_testset_save_CFLAGS"
   7934 
   7935 		eval supported=\$$cacheid
   7936 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7937 printf '%s\n' "$supported" >&6; }
   7938 		if test "$supported" = "yes" ; then
   7939 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7940 			found="yes"
   7941 		fi
   7942 	fi
   7943 
   7944 	if test $found = "no" ; then
   7945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7947 		fi
   7948 
   7949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7951 		fi
   7952 
   7953 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7954 
   7955 		{ 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
   7956 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7957 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7958 		if eval test \${$cacheid+y}
   7959 then :
   7960   printf %s "(cached) " >&6
   7961 else case e in #(
   7962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 int
   7966 main (void)
   7967 {
   7968 
   7969   ;
   7970   return 0;
   7971 }
   7972 _ACEOF
   7973 if ac_fn_c_try_link "$LINENO"
   7974 then :
   7975   eval $cacheid=yes
   7976 else case e in #(
   7977   e) eval $cacheid=no ;;
   7978 esac
   7979 fi
   7980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7981     conftest$ac_exeext conftest.$ac_ext ;;
   7982 esac
   7983 fi
   7984 
   7985 
   7986 		CFLAGS="$xorg_testset_save_CFLAGS"
   7987 
   7988 		eval supported=\$$cacheid
   7989 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7990 printf '%s\n' "$supported" >&6; }
   7991 		if test "$supported" = "yes" ; then
   7992 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7993 			found="yes"
   7994 		fi
   7995 	fi
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 xorg_testset_save_CFLAGS="$CFLAGS"
   8012 
   8013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8015 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8016 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8017 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8018 then :
   8019   printf %s "(cached) " >&6
   8020 else case e in #(
   8021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8022 /* end confdefs.h.  */
   8023 int i;
   8024 _ACEOF
   8025 if ac_fn_c_try_compile "$LINENO"
   8026 then :
   8027   xorg_cv_cc_flag_unknown_warning_option=yes
   8028 else case e in #(
   8029   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8030 esac
   8031 fi
   8032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8033 esac
   8034 fi
   8035 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8036 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8038 	CFLAGS="$xorg_testset_save_CFLAGS"
   8039 fi
   8040 
   8041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8044 	fi
   8045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8046 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8047 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8048 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8049 then :
   8050   printf %s "(cached) " >&6
   8051 else case e in #(
   8052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8053 /* end confdefs.h.  */
   8054 int i;
   8055 _ACEOF
   8056 if ac_fn_c_try_compile "$LINENO"
   8057 then :
   8058   xorg_cv_cc_flag_unused_command_line_argument=yes
   8059 else case e in #(
   8060   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8061 esac
   8062 fi
   8063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8064 esac
   8065 fi
   8066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8067 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8069 	CFLAGS="$xorg_testset_save_CFLAGS"
   8070 fi
   8071 
   8072 found="no"
   8073 
   8074 	if test $found = "no" ; then
   8075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8077 		fi
   8078 
   8079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8081 		fi
   8082 
   8083 		CFLAGS="$CFLAGS -Werror=nonnull"
   8084 
   8085 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   8086 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   8087 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   8088 		if eval test \${$cacheid+y}
   8089 then :
   8090   printf %s "(cached) " >&6
   8091 else case e in #(
   8092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8093 /* end confdefs.h.  */
   8094 int i;
   8095 int
   8096 main (void)
   8097 {
   8098 
   8099   ;
   8100   return 0;
   8101 }
   8102 _ACEOF
   8103 if ac_fn_c_try_link "$LINENO"
   8104 then :
   8105   eval $cacheid=yes
   8106 else case e in #(
   8107   e) eval $cacheid=no ;;
   8108 esac
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8111     conftest$ac_exeext conftest.$ac_ext ;;
   8112 esac
   8113 fi
   8114 
   8115 
   8116 		CFLAGS="$xorg_testset_save_CFLAGS"
   8117 
   8118 		eval supported=\$$cacheid
   8119 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8120 printf '%s\n' "$supported" >&6; }
   8121 		if test "$supported" = "yes" ; then
   8122 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   8123 			found="yes"
   8124 		fi
   8125 	fi
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 xorg_testset_save_CFLAGS="$CFLAGS"
   8142 
   8143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8145 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8146 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8147 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8148 then :
   8149   printf %s "(cached) " >&6
   8150 else case e in #(
   8151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8152 /* end confdefs.h.  */
   8153 int i;
   8154 _ACEOF
   8155 if ac_fn_c_try_compile "$LINENO"
   8156 then :
   8157   xorg_cv_cc_flag_unknown_warning_option=yes
   8158 else case e in #(
   8159   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8160 esac
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8163 esac
   8164 fi
   8165 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8166 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8168 	CFLAGS="$xorg_testset_save_CFLAGS"
   8169 fi
   8170 
   8171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8174 	fi
   8175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8176 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8177 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8178 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8179 then :
   8180   printf %s "(cached) " >&6
   8181 else case e in #(
   8182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8183 /* end confdefs.h.  */
   8184 int i;
   8185 _ACEOF
   8186 if ac_fn_c_try_compile "$LINENO"
   8187 then :
   8188   xorg_cv_cc_flag_unused_command_line_argument=yes
   8189 else case e in #(
   8190   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8191 esac
   8192 fi
   8193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8194 esac
   8195 fi
   8196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8197 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8199 	CFLAGS="$xorg_testset_save_CFLAGS"
   8200 fi
   8201 
   8202 found="no"
   8203 
   8204 	if test $found = "no" ; then
   8205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8207 		fi
   8208 
   8209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8211 		fi
   8212 
   8213 		CFLAGS="$CFLAGS -Werror=init-self"
   8214 
   8215 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   8216 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   8217 		cacheid=xorg_cv_cc_flag__Werror_init_self
   8218 		if eval test \${$cacheid+y}
   8219 then :
   8220   printf %s "(cached) " >&6
   8221 else case e in #(
   8222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8223 /* end confdefs.h.  */
   8224 int i;
   8225 int
   8226 main (void)
   8227 {
   8228 
   8229   ;
   8230   return 0;
   8231 }
   8232 _ACEOF
   8233 if ac_fn_c_try_link "$LINENO"
   8234 then :
   8235   eval $cacheid=yes
   8236 else case e in #(
   8237   e) eval $cacheid=no ;;
   8238 esac
   8239 fi
   8240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8241     conftest$ac_exeext conftest.$ac_ext ;;
   8242 esac
   8243 fi
   8244 
   8245 
   8246 		CFLAGS="$xorg_testset_save_CFLAGS"
   8247 
   8248 		eval supported=\$$cacheid
   8249 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8250 printf '%s\n' "$supported" >&6; }
   8251 		if test "$supported" = "yes" ; then
   8252 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8253 			found="yes"
   8254 		fi
   8255 	fi
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 xorg_testset_save_CFLAGS="$CFLAGS"
   8272 
   8273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8275 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8276 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8277 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8278 then :
   8279   printf %s "(cached) " >&6
   8280 else case e in #(
   8281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8282 /* end confdefs.h.  */
   8283 int i;
   8284 _ACEOF
   8285 if ac_fn_c_try_compile "$LINENO"
   8286 then :
   8287   xorg_cv_cc_flag_unknown_warning_option=yes
   8288 else case e in #(
   8289   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8290 esac
   8291 fi
   8292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8293 esac
   8294 fi
   8295 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8296 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8298 	CFLAGS="$xorg_testset_save_CFLAGS"
   8299 fi
   8300 
   8301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8304 	fi
   8305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8306 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8309 then :
   8310   printf %s "(cached) " >&6
   8311 else case e in #(
   8312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8313 /* end confdefs.h.  */
   8314 int i;
   8315 _ACEOF
   8316 if ac_fn_c_try_compile "$LINENO"
   8317 then :
   8318   xorg_cv_cc_flag_unused_command_line_argument=yes
   8319 else case e in #(
   8320   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8321 esac
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8324 esac
   8325 fi
   8326 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8327 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8329 	CFLAGS="$xorg_testset_save_CFLAGS"
   8330 fi
   8331 
   8332 found="no"
   8333 
   8334 	if test $found = "no" ; then
   8335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8337 		fi
   8338 
   8339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8341 		fi
   8342 
   8343 		CFLAGS="$CFLAGS -Werror=main"
   8344 
   8345 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8346 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8347 		cacheid=xorg_cv_cc_flag__Werror_main
   8348 		if eval test \${$cacheid+y}
   8349 then :
   8350   printf %s "(cached) " >&6
   8351 else case e in #(
   8352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 int
   8356 main (void)
   8357 {
   8358 
   8359   ;
   8360   return 0;
   8361 }
   8362 _ACEOF
   8363 if ac_fn_c_try_link "$LINENO"
   8364 then :
   8365   eval $cacheid=yes
   8366 else case e in #(
   8367   e) eval $cacheid=no ;;
   8368 esac
   8369 fi
   8370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8371     conftest$ac_exeext conftest.$ac_ext ;;
   8372 esac
   8373 fi
   8374 
   8375 
   8376 		CFLAGS="$xorg_testset_save_CFLAGS"
   8377 
   8378 		eval supported=\$$cacheid
   8379 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8380 printf '%s\n' "$supported" >&6; }
   8381 		if test "$supported" = "yes" ; then
   8382 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8383 			found="yes"
   8384 		fi
   8385 	fi
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 xorg_testset_save_CFLAGS="$CFLAGS"
   8402 
   8403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8405 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8408 then :
   8409   printf %s "(cached) " >&6
   8410 else case e in #(
   8411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 _ACEOF
   8415 if ac_fn_c_try_compile "$LINENO"
   8416 then :
   8417   xorg_cv_cc_flag_unknown_warning_option=yes
   8418 else case e in #(
   8419   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8420 esac
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8423 esac
   8424 fi
   8425 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8426 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8428 	CFLAGS="$xorg_testset_save_CFLAGS"
   8429 fi
   8430 
   8431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8434 	fi
   8435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8436 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8437 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8438 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8439 then :
   8440   printf %s "(cached) " >&6
   8441 else case e in #(
   8442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8443 /* end confdefs.h.  */
   8444 int i;
   8445 _ACEOF
   8446 if ac_fn_c_try_compile "$LINENO"
   8447 then :
   8448   xorg_cv_cc_flag_unused_command_line_argument=yes
   8449 else case e in #(
   8450   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8451 esac
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8454 esac
   8455 fi
   8456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8457 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8459 	CFLAGS="$xorg_testset_save_CFLAGS"
   8460 fi
   8461 
   8462 found="no"
   8463 
   8464 	if test $found = "no" ; then
   8465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8467 		fi
   8468 
   8469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8471 		fi
   8472 
   8473 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8474 
   8475 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8476 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8477 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8478 		if eval test \${$cacheid+y}
   8479 then :
   8480   printf %s "(cached) " >&6
   8481 else case e in #(
   8482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8483 /* end confdefs.h.  */
   8484 int i;
   8485 int
   8486 main (void)
   8487 {
   8488 
   8489   ;
   8490   return 0;
   8491 }
   8492 _ACEOF
   8493 if ac_fn_c_try_link "$LINENO"
   8494 then :
   8495   eval $cacheid=yes
   8496 else case e in #(
   8497   e) eval $cacheid=no ;;
   8498 esac
   8499 fi
   8500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8501     conftest$ac_exeext conftest.$ac_ext ;;
   8502 esac
   8503 fi
   8504 
   8505 
   8506 		CFLAGS="$xorg_testset_save_CFLAGS"
   8507 
   8508 		eval supported=\$$cacheid
   8509 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8510 printf '%s\n' "$supported" >&6; }
   8511 		if test "$supported" = "yes" ; then
   8512 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8513 			found="yes"
   8514 		fi
   8515 	fi
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 xorg_testset_save_CFLAGS="$CFLAGS"
   8532 
   8533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8535 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8538 then :
   8539   printf %s "(cached) " >&6
   8540 else case e in #(
   8541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 _ACEOF
   8545 if ac_fn_c_try_compile "$LINENO"
   8546 then :
   8547   xorg_cv_cc_flag_unknown_warning_option=yes
   8548 else case e in #(
   8549   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8550 esac
   8551 fi
   8552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8553 esac
   8554 fi
   8555 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8556 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8558 	CFLAGS="$xorg_testset_save_CFLAGS"
   8559 fi
   8560 
   8561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8564 	fi
   8565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8566 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8567 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8568 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8569 then :
   8570   printf %s "(cached) " >&6
   8571 else case e in #(
   8572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8573 /* end confdefs.h.  */
   8574 int i;
   8575 _ACEOF
   8576 if ac_fn_c_try_compile "$LINENO"
   8577 then :
   8578   xorg_cv_cc_flag_unused_command_line_argument=yes
   8579 else case e in #(
   8580   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8581 esac
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8584 esac
   8585 fi
   8586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8587 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8589 	CFLAGS="$xorg_testset_save_CFLAGS"
   8590 fi
   8591 
   8592 found="no"
   8593 
   8594 	if test $found = "no" ; then
   8595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8597 		fi
   8598 
   8599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8601 		fi
   8602 
   8603 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8604 
   8605 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8606 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8607 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8608 		if eval test \${$cacheid+y}
   8609 then :
   8610   printf %s "(cached) " >&6
   8611 else case e in #(
   8612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8613 /* end confdefs.h.  */
   8614 int i;
   8615 int
   8616 main (void)
   8617 {
   8618 
   8619   ;
   8620   return 0;
   8621 }
   8622 _ACEOF
   8623 if ac_fn_c_try_link "$LINENO"
   8624 then :
   8625   eval $cacheid=yes
   8626 else case e in #(
   8627   e) eval $cacheid=no ;;
   8628 esac
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8631     conftest$ac_exeext conftest.$ac_ext ;;
   8632 esac
   8633 fi
   8634 
   8635 
   8636 		CFLAGS="$xorg_testset_save_CFLAGS"
   8637 
   8638 		eval supported=\$$cacheid
   8639 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8640 printf '%s\n' "$supported" >&6; }
   8641 		if test "$supported" = "yes" ; then
   8642 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8643 			found="yes"
   8644 		fi
   8645 	fi
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 xorg_testset_save_CFLAGS="$CFLAGS"
   8662 
   8663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8665 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8666 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8667 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8668 then :
   8669   printf %s "(cached) " >&6
   8670 else case e in #(
   8671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8672 /* end confdefs.h.  */
   8673 int i;
   8674 _ACEOF
   8675 if ac_fn_c_try_compile "$LINENO"
   8676 then :
   8677   xorg_cv_cc_flag_unknown_warning_option=yes
   8678 else case e in #(
   8679   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8680 esac
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8683 esac
   8684 fi
   8685 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8686 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8688 	CFLAGS="$xorg_testset_save_CFLAGS"
   8689 fi
   8690 
   8691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8694 	fi
   8695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8696 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8697 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8698 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8699 then :
   8700   printf %s "(cached) " >&6
   8701 else case e in #(
   8702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8703 /* end confdefs.h.  */
   8704 int i;
   8705 _ACEOF
   8706 if ac_fn_c_try_compile "$LINENO"
   8707 then :
   8708   xorg_cv_cc_flag_unused_command_line_argument=yes
   8709 else case e in #(
   8710   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8711 esac
   8712 fi
   8713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8714 esac
   8715 fi
   8716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8717 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 found="no"
   8723 
   8724 	if test $found = "no" ; then
   8725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 		fi
   8728 
   8729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8731 		fi
   8732 
   8733 		CFLAGS="$CFLAGS -Werror=return-type"
   8734 
   8735 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8736 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8737 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8738 		if eval test \${$cacheid+y}
   8739 then :
   8740   printf %s "(cached) " >&6
   8741 else case e in #(
   8742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8743 /* end confdefs.h.  */
   8744 int i;
   8745 int
   8746 main (void)
   8747 {
   8748 
   8749   ;
   8750   return 0;
   8751 }
   8752 _ACEOF
   8753 if ac_fn_c_try_link "$LINENO"
   8754 then :
   8755   eval $cacheid=yes
   8756 else case e in #(
   8757   e) eval $cacheid=no ;;
   8758 esac
   8759 fi
   8760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8761     conftest$ac_exeext conftest.$ac_ext ;;
   8762 esac
   8763 fi
   8764 
   8765 
   8766 		CFLAGS="$xorg_testset_save_CFLAGS"
   8767 
   8768 		eval supported=\$$cacheid
   8769 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8770 printf '%s\n' "$supported" >&6; }
   8771 		if test "$supported" = "yes" ; then
   8772 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8773 			found="yes"
   8774 		fi
   8775 	fi
   8776 
   8777 	if test $found = "no" ; then
   8778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8780 		fi
   8781 
   8782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8784 		fi
   8785 
   8786 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8787 
   8788 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8789 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8790 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8791 		if eval test \${$cacheid+y}
   8792 then :
   8793   printf %s "(cached) " >&6
   8794 else case e in #(
   8795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 int
   8799 main (void)
   8800 {
   8801 
   8802   ;
   8803   return 0;
   8804 }
   8805 _ACEOF
   8806 if ac_fn_c_try_link "$LINENO"
   8807 then :
   8808   eval $cacheid=yes
   8809 else case e in #(
   8810   e) eval $cacheid=no ;;
   8811 esac
   8812 fi
   8813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8814     conftest$ac_exeext conftest.$ac_ext ;;
   8815 esac
   8816 fi
   8817 
   8818 
   8819 		CFLAGS="$xorg_testset_save_CFLAGS"
   8820 
   8821 		eval supported=\$$cacheid
   8822 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8823 printf '%s\n' "$supported" >&6; }
   8824 		if test "$supported" = "yes" ; then
   8825 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8826 			found="yes"
   8827 		fi
   8828 	fi
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 xorg_testset_save_CFLAGS="$CFLAGS"
   8845 
   8846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8848 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8849 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8850 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8851 then :
   8852   printf %s "(cached) " >&6
   8853 else case e in #(
   8854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 _ACEOF
   8858 if ac_fn_c_try_compile "$LINENO"
   8859 then :
   8860   xorg_cv_cc_flag_unknown_warning_option=yes
   8861 else case e in #(
   8862   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8863 esac
   8864 fi
   8865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8866 esac
   8867 fi
   8868 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8869 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8871 	CFLAGS="$xorg_testset_save_CFLAGS"
   8872 fi
   8873 
   8874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 	fi
   8878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8879 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8882 then :
   8883   printf %s "(cached) " >&6
   8884 else case e in #(
   8885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8886 /* end confdefs.h.  */
   8887 int i;
   8888 _ACEOF
   8889 if ac_fn_c_try_compile "$LINENO"
   8890 then :
   8891   xorg_cv_cc_flag_unused_command_line_argument=yes
   8892 else case e in #(
   8893   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8894 esac
   8895 fi
   8896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8897 esac
   8898 fi
   8899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8900 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8902 	CFLAGS="$xorg_testset_save_CFLAGS"
   8903 fi
   8904 
   8905 found="no"
   8906 
   8907 	if test $found = "no" ; then
   8908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8910 		fi
   8911 
   8912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8914 		fi
   8915 
   8916 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8917 
   8918 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8919 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8920 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8921 		if eval test \${$cacheid+y}
   8922 then :
   8923   printf %s "(cached) " >&6
   8924 else case e in #(
   8925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8926 /* end confdefs.h.  */
   8927 int i;
   8928 int
   8929 main (void)
   8930 {
   8931 
   8932   ;
   8933   return 0;
   8934 }
   8935 _ACEOF
   8936 if ac_fn_c_try_link "$LINENO"
   8937 then :
   8938   eval $cacheid=yes
   8939 else case e in #(
   8940   e) eval $cacheid=no ;;
   8941 esac
   8942 fi
   8943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8944     conftest$ac_exeext conftest.$ac_ext ;;
   8945 esac
   8946 fi
   8947 
   8948 
   8949 		CFLAGS="$xorg_testset_save_CFLAGS"
   8950 
   8951 		eval supported=\$$cacheid
   8952 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8953 printf '%s\n' "$supported" >&6; }
   8954 		if test "$supported" = "yes" ; then
   8955 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8956 			found="yes"
   8957 		fi
   8958 	fi
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 xorg_testset_save_CFLAGS="$CFLAGS"
   8975 
   8976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8978 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8979 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8980 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8981 then :
   8982   printf %s "(cached) " >&6
   8983 else case e in #(
   8984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8985 /* end confdefs.h.  */
   8986 int i;
   8987 _ACEOF
   8988 if ac_fn_c_try_compile "$LINENO"
   8989 then :
   8990   xorg_cv_cc_flag_unknown_warning_option=yes
   8991 else case e in #(
   8992   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8993 esac
   8994 fi
   8995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8996 esac
   8997 fi
   8998 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8999 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9001 	CFLAGS="$xorg_testset_save_CFLAGS"
   9002 fi
   9003 
   9004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	fi
   9008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9009 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9010 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9011 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9012 then :
   9013   printf %s "(cached) " >&6
   9014 else case e in #(
   9015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9016 /* end confdefs.h.  */
   9017 int i;
   9018 _ACEOF
   9019 if ac_fn_c_try_compile "$LINENO"
   9020 then :
   9021   xorg_cv_cc_flag_unused_command_line_argument=yes
   9022 else case e in #(
   9023   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9024 esac
   9025 fi
   9026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9027 esac
   9028 fi
   9029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9030 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9032 	CFLAGS="$xorg_testset_save_CFLAGS"
   9033 fi
   9034 
   9035 found="no"
   9036 
   9037 	if test $found = "no" ; then
   9038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9040 		fi
   9041 
   9042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9044 		fi
   9045 
   9046 		CFLAGS="$CFLAGS -Werror=array-bounds"
   9047 
   9048 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   9049 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   9050 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   9051 		if eval test \${$cacheid+y}
   9052 then :
   9053   printf %s "(cached) " >&6
   9054 else case e in #(
   9055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 int
   9059 main (void)
   9060 {
   9061 
   9062   ;
   9063   return 0;
   9064 }
   9065 _ACEOF
   9066 if ac_fn_c_try_link "$LINENO"
   9067 then :
   9068   eval $cacheid=yes
   9069 else case e in #(
   9070   e) eval $cacheid=no ;;
   9071 esac
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9074     conftest$ac_exeext conftest.$ac_ext ;;
   9075 esac
   9076 fi
   9077 
   9078 
   9079 		CFLAGS="$xorg_testset_save_CFLAGS"
   9080 
   9081 		eval supported=\$$cacheid
   9082 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9083 printf '%s\n' "$supported" >&6; }
   9084 		if test "$supported" = "yes" ; then
   9085 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   9086 			found="yes"
   9087 		fi
   9088 	fi
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 xorg_testset_save_CFLAGS="$CFLAGS"
   9105 
   9106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9108 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9109 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9110 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9111 then :
   9112   printf %s "(cached) " >&6
   9113 else case e in #(
   9114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9115 /* end confdefs.h.  */
   9116 int i;
   9117 _ACEOF
   9118 if ac_fn_c_try_compile "$LINENO"
   9119 then :
   9120   xorg_cv_cc_flag_unknown_warning_option=yes
   9121 else case e in #(
   9122   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9123 esac
   9124 fi
   9125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9126 esac
   9127 fi
   9128 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9129 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9131 	CFLAGS="$xorg_testset_save_CFLAGS"
   9132 fi
   9133 
   9134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9137 	fi
   9138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9139 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9140 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9141 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9142 then :
   9143   printf %s "(cached) " >&6
   9144 else case e in #(
   9145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9146 /* end confdefs.h.  */
   9147 int i;
   9148 _ACEOF
   9149 if ac_fn_c_try_compile "$LINENO"
   9150 then :
   9151   xorg_cv_cc_flag_unused_command_line_argument=yes
   9152 else case e in #(
   9153   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9154 esac
   9155 fi
   9156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9157 esac
   9158 fi
   9159 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9160 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9162 	CFLAGS="$xorg_testset_save_CFLAGS"
   9163 fi
   9164 
   9165 found="no"
   9166 
   9167 	if test $found = "no" ; then
   9168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9170 		fi
   9171 
   9172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9174 		fi
   9175 
   9176 		CFLAGS="$CFLAGS -Werror=write-strings"
   9177 
   9178 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   9179 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   9180 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   9181 		if eval test \${$cacheid+y}
   9182 then :
   9183   printf %s "(cached) " >&6
   9184 else case e in #(
   9185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 int
   9189 main (void)
   9190 {
   9191 
   9192   ;
   9193   return 0;
   9194 }
   9195 _ACEOF
   9196 if ac_fn_c_try_link "$LINENO"
   9197 then :
   9198   eval $cacheid=yes
   9199 else case e in #(
   9200   e) eval $cacheid=no ;;
   9201 esac
   9202 fi
   9203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9204     conftest$ac_exeext conftest.$ac_ext ;;
   9205 esac
   9206 fi
   9207 
   9208 
   9209 		CFLAGS="$xorg_testset_save_CFLAGS"
   9210 
   9211 		eval supported=\$$cacheid
   9212 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9213 printf '%s\n' "$supported" >&6; }
   9214 		if test "$supported" = "yes" ; then
   9215 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   9216 			found="yes"
   9217 		fi
   9218 	fi
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 xorg_testset_save_CFLAGS="$CFLAGS"
   9235 
   9236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9238 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9239 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9240 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9241 then :
   9242   printf %s "(cached) " >&6
   9243 else case e in #(
   9244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 int i;
   9247 _ACEOF
   9248 if ac_fn_c_try_compile "$LINENO"
   9249 then :
   9250   xorg_cv_cc_flag_unknown_warning_option=yes
   9251 else case e in #(
   9252   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9253 esac
   9254 fi
   9255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9256 esac
   9257 fi
   9258 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9259 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9261 	CFLAGS="$xorg_testset_save_CFLAGS"
   9262 fi
   9263 
   9264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9267 	fi
   9268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9269 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9272 then :
   9273   printf %s "(cached) " >&6
   9274 else case e in #(
   9275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9276 /* end confdefs.h.  */
   9277 int i;
   9278 _ACEOF
   9279 if ac_fn_c_try_compile "$LINENO"
   9280 then :
   9281   xorg_cv_cc_flag_unused_command_line_argument=yes
   9282 else case e in #(
   9283   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9284 esac
   9285 fi
   9286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9287 esac
   9288 fi
   9289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9290 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9292 	CFLAGS="$xorg_testset_save_CFLAGS"
   9293 fi
   9294 
   9295 found="no"
   9296 
   9297 	if test $found = "no" ; then
   9298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 		fi
   9301 
   9302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9304 		fi
   9305 
   9306 		CFLAGS="$CFLAGS -Werror=address"
   9307 
   9308 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9309 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9310 		cacheid=xorg_cv_cc_flag__Werror_address
   9311 		if eval test \${$cacheid+y}
   9312 then :
   9313   printf %s "(cached) " >&6
   9314 else case e in #(
   9315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9316 /* end confdefs.h.  */
   9317 int i;
   9318 int
   9319 main (void)
   9320 {
   9321 
   9322   ;
   9323   return 0;
   9324 }
   9325 _ACEOF
   9326 if ac_fn_c_try_link "$LINENO"
   9327 then :
   9328   eval $cacheid=yes
   9329 else case e in #(
   9330   e) eval $cacheid=no ;;
   9331 esac
   9332 fi
   9333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9334     conftest$ac_exeext conftest.$ac_ext ;;
   9335 esac
   9336 fi
   9337 
   9338 
   9339 		CFLAGS="$xorg_testset_save_CFLAGS"
   9340 
   9341 		eval supported=\$$cacheid
   9342 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9343 printf '%s\n' "$supported" >&6; }
   9344 		if test "$supported" = "yes" ; then
   9345 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9346 			found="yes"
   9347 		fi
   9348 	fi
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 xorg_testset_save_CFLAGS="$CFLAGS"
   9365 
   9366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9369 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9370 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9371 then :
   9372   printf %s "(cached) " >&6
   9373 else case e in #(
   9374   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9375 /* end confdefs.h.  */
   9376 int i;
   9377 _ACEOF
   9378 if ac_fn_c_try_compile "$LINENO"
   9379 then :
   9380   xorg_cv_cc_flag_unknown_warning_option=yes
   9381 else case e in #(
   9382   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9383 esac
   9384 fi
   9385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9386 esac
   9387 fi
   9388 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9389 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9391 	CFLAGS="$xorg_testset_save_CFLAGS"
   9392 fi
   9393 
   9394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9397 	fi
   9398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9399 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9400 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9401 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9402 then :
   9403   printf %s "(cached) " >&6
   9404 else case e in #(
   9405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9406 /* end confdefs.h.  */
   9407 int i;
   9408 _ACEOF
   9409 if ac_fn_c_try_compile "$LINENO"
   9410 then :
   9411   xorg_cv_cc_flag_unused_command_line_argument=yes
   9412 else case e in #(
   9413   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9414 esac
   9415 fi
   9416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9417 esac
   9418 fi
   9419 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9420 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9422 	CFLAGS="$xorg_testset_save_CFLAGS"
   9423 fi
   9424 
   9425 found="no"
   9426 
   9427 	if test $found = "no" ; then
   9428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 		fi
   9431 
   9432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 		fi
   9435 
   9436 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9437 
   9438 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9439 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9440 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9441 		if eval test \${$cacheid+y}
   9442 then :
   9443   printf %s "(cached) " >&6
   9444 else case e in #(
   9445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int i;
   9448 int
   9449 main (void)
   9450 {
   9451 
   9452   ;
   9453   return 0;
   9454 }
   9455 _ACEOF
   9456 if ac_fn_c_try_link "$LINENO"
   9457 then :
   9458   eval $cacheid=yes
   9459 else case e in #(
   9460   e) eval $cacheid=no ;;
   9461 esac
   9462 fi
   9463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9464     conftest$ac_exeext conftest.$ac_ext ;;
   9465 esac
   9466 fi
   9467 
   9468 
   9469 		CFLAGS="$xorg_testset_save_CFLAGS"
   9470 
   9471 		eval supported=\$$cacheid
   9472 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9473 printf '%s\n' "$supported" >&6; }
   9474 		if test "$supported" = "yes" ; then
   9475 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9476 			found="yes"
   9477 		fi
   9478 	fi
   9479 
   9480 	if test $found = "no" ; then
   9481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9483 		fi
   9484 
   9485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9487 		fi
   9488 
   9489 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9490 
   9491 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9492 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9493 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9494 		if eval test \${$cacheid+y}
   9495 then :
   9496   printf %s "(cached) " >&6
   9497 else case e in #(
   9498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9499 /* end confdefs.h.  */
   9500 int i;
   9501 int
   9502 main (void)
   9503 {
   9504 
   9505   ;
   9506   return 0;
   9507 }
   9508 _ACEOF
   9509 if ac_fn_c_try_link "$LINENO"
   9510 then :
   9511   eval $cacheid=yes
   9512 else case e in #(
   9513   e) eval $cacheid=no ;;
   9514 esac
   9515 fi
   9516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9517     conftest$ac_exeext conftest.$ac_ext ;;
   9518 esac
   9519 fi
   9520 
   9521 
   9522 		CFLAGS="$xorg_testset_save_CFLAGS"
   9523 
   9524 		eval supported=\$$cacheid
   9525 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9526 printf '%s\n' "$supported" >&6; }
   9527 		if test "$supported" = "yes" ; then
   9528 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9529 			found="yes"
   9530 		fi
   9531 	fi
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 xorg_testset_save_CFLAGS="$CFLAGS"
   9548 
   9549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9551 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9552 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9553 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9554 then :
   9555   printf %s "(cached) " >&6
   9556 else case e in #(
   9557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 _ACEOF
   9561 if ac_fn_c_try_compile "$LINENO"
   9562 then :
   9563   xorg_cv_cc_flag_unknown_warning_option=yes
   9564 else case e in #(
   9565   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9566 esac
   9567 fi
   9568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9569 esac
   9570 fi
   9571 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9572 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9574 	CFLAGS="$xorg_testset_save_CFLAGS"
   9575 fi
   9576 
   9577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 	fi
   9581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9582 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9583 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9584 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9585 then :
   9586   printf %s "(cached) " >&6
   9587 else case e in #(
   9588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9589 /* end confdefs.h.  */
   9590 int i;
   9591 _ACEOF
   9592 if ac_fn_c_try_compile "$LINENO"
   9593 then :
   9594   xorg_cv_cc_flag_unused_command_line_argument=yes
   9595 else case e in #(
   9596   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9597 esac
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9600 esac
   9601 fi
   9602 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9603 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9605 	CFLAGS="$xorg_testset_save_CFLAGS"
   9606 fi
   9607 
   9608 found="no"
   9609 
   9610 	if test $found = "no" ; then
   9611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9613 		fi
   9614 
   9615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9617 		fi
   9618 
   9619 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9620 
   9621 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9622 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9623 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9624 		if eval test \${$cacheid+y}
   9625 then :
   9626   printf %s "(cached) " >&6
   9627 else case e in #(
   9628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9629 /* end confdefs.h.  */
   9630 int i;
   9631 int
   9632 main (void)
   9633 {
   9634 
   9635   ;
   9636   return 0;
   9637 }
   9638 _ACEOF
   9639 if ac_fn_c_try_link "$LINENO"
   9640 then :
   9641   eval $cacheid=yes
   9642 else case e in #(
   9643   e) eval $cacheid=no ;;
   9644 esac
   9645 fi
   9646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9647     conftest$ac_exeext conftest.$ac_ext ;;
   9648 esac
   9649 fi
   9650 
   9651 
   9652 		CFLAGS="$xorg_testset_save_CFLAGS"
   9653 
   9654 		eval supported=\$$cacheid
   9655 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9656 printf '%s\n' "$supported" >&6; }
   9657 		if test "$supported" = "yes" ; then
   9658 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9659 			found="yes"
   9660 		fi
   9661 	fi
   9662 
   9663  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9664 else
   9665 { 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
   9666 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;}
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 xorg_testset_save_CFLAGS="$CFLAGS"
   9681 
   9682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9684 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9687 then :
   9688   printf %s "(cached) " >&6
   9689 else case e in #(
   9690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int i;
   9693 _ACEOF
   9694 if ac_fn_c_try_compile "$LINENO"
   9695 then :
   9696   xorg_cv_cc_flag_unknown_warning_option=yes
   9697 else case e in #(
   9698   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9699 esac
   9700 fi
   9701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9702 esac
   9703 fi
   9704 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9705 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9707 	CFLAGS="$xorg_testset_save_CFLAGS"
   9708 fi
   9709 
   9710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 	fi
   9714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9715 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9718 then :
   9719   printf %s "(cached) " >&6
   9720 else case e in #(
   9721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9722 /* end confdefs.h.  */
   9723 int i;
   9724 _ACEOF
   9725 if ac_fn_c_try_compile "$LINENO"
   9726 then :
   9727   xorg_cv_cc_flag_unused_command_line_argument=yes
   9728 else case e in #(
   9729   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9730 esac
   9731 fi
   9732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9733 esac
   9734 fi
   9735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9736 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9738 	CFLAGS="$xorg_testset_save_CFLAGS"
   9739 fi
   9740 
   9741 found="no"
   9742 
   9743 	if test $found = "no" ; then
   9744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9746 		fi
   9747 
   9748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9750 		fi
   9751 
   9752 		CFLAGS="$CFLAGS -Wimplicit"
   9753 
   9754 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9755 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9756 		cacheid=xorg_cv_cc_flag__Wimplicit
   9757 		if eval test \${$cacheid+y}
   9758 then :
   9759   printf %s "(cached) " >&6
   9760 else case e in #(
   9761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9762 /* end confdefs.h.  */
   9763 int i;
   9764 int
   9765 main (void)
   9766 {
   9767 
   9768   ;
   9769   return 0;
   9770 }
   9771 _ACEOF
   9772 if ac_fn_c_try_link "$LINENO"
   9773 then :
   9774   eval $cacheid=yes
   9775 else case e in #(
   9776   e) eval $cacheid=no ;;
   9777 esac
   9778 fi
   9779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9780     conftest$ac_exeext conftest.$ac_ext ;;
   9781 esac
   9782 fi
   9783 
   9784 
   9785 		CFLAGS="$xorg_testset_save_CFLAGS"
   9786 
   9787 		eval supported=\$$cacheid
   9788 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9789 printf '%s\n' "$supported" >&6; }
   9790 		if test "$supported" = "yes" ; then
   9791 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9792 			found="yes"
   9793 		fi
   9794 	fi
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 xorg_testset_save_CFLAGS="$CFLAGS"
   9811 
   9812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9815 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9816 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9817 then :
   9818   printf %s "(cached) " >&6
   9819 else case e in #(
   9820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 _ACEOF
   9824 if ac_fn_c_try_compile "$LINENO"
   9825 then :
   9826   xorg_cv_cc_flag_unknown_warning_option=yes
   9827 else case e in #(
   9828   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9829 esac
   9830 fi
   9831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9832 esac
   9833 fi
   9834 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9835 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9837 	CFLAGS="$xorg_testset_save_CFLAGS"
   9838 fi
   9839 
   9840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	fi
   9844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9845 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9848 then :
   9849   printf %s "(cached) " >&6
   9850 else case e in #(
   9851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9852 /* end confdefs.h.  */
   9853 int i;
   9854 _ACEOF
   9855 if ac_fn_c_try_compile "$LINENO"
   9856 then :
   9857   xorg_cv_cc_flag_unused_command_line_argument=yes
   9858 else case e in #(
   9859   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9860 esac
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9863 esac
   9864 fi
   9865 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9866 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9868 	CFLAGS="$xorg_testset_save_CFLAGS"
   9869 fi
   9870 
   9871 found="no"
   9872 
   9873 	if test $found = "no" ; then
   9874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9876 		fi
   9877 
   9878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9880 		fi
   9881 
   9882 		CFLAGS="$CFLAGS -Wnonnull"
   9883 
   9884 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9885 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9886 		cacheid=xorg_cv_cc_flag__Wnonnull
   9887 		if eval test \${$cacheid+y}
   9888 then :
   9889   printf %s "(cached) " >&6
   9890 else case e in #(
   9891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 int
   9895 main (void)
   9896 {
   9897 
   9898   ;
   9899   return 0;
   9900 }
   9901 _ACEOF
   9902 if ac_fn_c_try_link "$LINENO"
   9903 then :
   9904   eval $cacheid=yes
   9905 else case e in #(
   9906   e) eval $cacheid=no ;;
   9907 esac
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9910     conftest$ac_exeext conftest.$ac_ext ;;
   9911 esac
   9912 fi
   9913 
   9914 
   9915 		CFLAGS="$xorg_testset_save_CFLAGS"
   9916 
   9917 		eval supported=\$$cacheid
   9918 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9919 printf '%s\n' "$supported" >&6; }
   9920 		if test "$supported" = "yes" ; then
   9921 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9922 			found="yes"
   9923 		fi
   9924 	fi
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 xorg_testset_save_CFLAGS="$CFLAGS"
   9941 
   9942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9944 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9947 then :
   9948   printf %s "(cached) " >&6
   9949 else case e in #(
   9950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 _ACEOF
   9954 if ac_fn_c_try_compile "$LINENO"
   9955 then :
   9956   xorg_cv_cc_flag_unknown_warning_option=yes
   9957 else case e in #(
   9958   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9959 esac
   9960 fi
   9961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9962 esac
   9963 fi
   9964 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9965 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9967 	CFLAGS="$xorg_testset_save_CFLAGS"
   9968 fi
   9969 
   9970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9973 	fi
   9974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9975 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9976 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9977 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9978 then :
   9979   printf %s "(cached) " >&6
   9980 else case e in #(
   9981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9982 /* end confdefs.h.  */
   9983 int i;
   9984 _ACEOF
   9985 if ac_fn_c_try_compile "$LINENO"
   9986 then :
   9987   xorg_cv_cc_flag_unused_command_line_argument=yes
   9988 else case e in #(
   9989   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9990 esac
   9991 fi
   9992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9993 esac
   9994 fi
   9995 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9996 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9998 	CFLAGS="$xorg_testset_save_CFLAGS"
   9999 fi
   10000 
   10001 found="no"
   10002 
   10003 	if test $found = "no" ; then
   10004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 		fi
   10007 
   10008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10010 		fi
   10011 
   10012 		CFLAGS="$CFLAGS -Winit-self"
   10013 
   10014 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   10015 printf %s "checking if $CC supports -Winit-self... " >&6; }
   10016 		cacheid=xorg_cv_cc_flag__Winit_self
   10017 		if eval test \${$cacheid+y}
   10018 then :
   10019   printf %s "(cached) " >&6
   10020 else case e in #(
   10021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 int i;
   10024 int
   10025 main (void)
   10026 {
   10027 
   10028   ;
   10029   return 0;
   10030 }
   10031 _ACEOF
   10032 if ac_fn_c_try_link "$LINENO"
   10033 then :
   10034   eval $cacheid=yes
   10035 else case e in #(
   10036   e) eval $cacheid=no ;;
   10037 esac
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10040     conftest$ac_exeext conftest.$ac_ext ;;
   10041 esac
   10042 fi
   10043 
   10044 
   10045 		CFLAGS="$xorg_testset_save_CFLAGS"
   10046 
   10047 		eval supported=\$$cacheid
   10048 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10049 printf '%s\n' "$supported" >&6; }
   10050 		if test "$supported" = "yes" ; then
   10051 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   10052 			found="yes"
   10053 		fi
   10054 	fi
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 xorg_testset_save_CFLAGS="$CFLAGS"
   10071 
   10072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10074 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10077 then :
   10078   printf %s "(cached) " >&6
   10079 else case e in #(
   10080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 int i;
   10083 _ACEOF
   10084 if ac_fn_c_try_compile "$LINENO"
   10085 then :
   10086   xorg_cv_cc_flag_unknown_warning_option=yes
   10087 else case e in #(
   10088   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10089 esac
   10090 fi
   10091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10092 esac
   10093 fi
   10094 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10095 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10097 	CFLAGS="$xorg_testset_save_CFLAGS"
   10098 fi
   10099 
   10100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 	fi
   10104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10105 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10108 then :
   10109   printf %s "(cached) " >&6
   10110 else case e in #(
   10111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10112 /* end confdefs.h.  */
   10113 int i;
   10114 _ACEOF
   10115 if ac_fn_c_try_compile "$LINENO"
   10116 then :
   10117   xorg_cv_cc_flag_unused_command_line_argument=yes
   10118 else case e in #(
   10119   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10120 esac
   10121 fi
   10122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10123 esac
   10124 fi
   10125 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10126 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10128 	CFLAGS="$xorg_testset_save_CFLAGS"
   10129 fi
   10130 
   10131 found="no"
   10132 
   10133 	if test $found = "no" ; then
   10134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 		fi
   10137 
   10138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10140 		fi
   10141 
   10142 		CFLAGS="$CFLAGS -Wmain"
   10143 
   10144 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   10145 printf %s "checking if $CC supports -Wmain... " >&6; }
   10146 		cacheid=xorg_cv_cc_flag__Wmain
   10147 		if eval test \${$cacheid+y}
   10148 then :
   10149   printf %s "(cached) " >&6
   10150 else case e in #(
   10151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 int i;
   10154 int
   10155 main (void)
   10156 {
   10157 
   10158   ;
   10159   return 0;
   10160 }
   10161 _ACEOF
   10162 if ac_fn_c_try_link "$LINENO"
   10163 then :
   10164   eval $cacheid=yes
   10165 else case e in #(
   10166   e) eval $cacheid=no ;;
   10167 esac
   10168 fi
   10169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10170     conftest$ac_exeext conftest.$ac_ext ;;
   10171 esac
   10172 fi
   10173 
   10174 
   10175 		CFLAGS="$xorg_testset_save_CFLAGS"
   10176 
   10177 		eval supported=\$$cacheid
   10178 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10179 printf '%s\n' "$supported" >&6; }
   10180 		if test "$supported" = "yes" ; then
   10181 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   10182 			found="yes"
   10183 		fi
   10184 	fi
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 xorg_testset_save_CFLAGS="$CFLAGS"
   10201 
   10202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10204 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10205 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10206 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10207 then :
   10208   printf %s "(cached) " >&6
   10209 else case e in #(
   10210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10211 /* end confdefs.h.  */
   10212 int i;
   10213 _ACEOF
   10214 if ac_fn_c_try_compile "$LINENO"
   10215 then :
   10216   xorg_cv_cc_flag_unknown_warning_option=yes
   10217 else case e in #(
   10218   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10219 esac
   10220 fi
   10221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10222 esac
   10223 fi
   10224 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10225 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10227 	CFLAGS="$xorg_testset_save_CFLAGS"
   10228 fi
   10229 
   10230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10233 	fi
   10234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10235 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10236 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10237 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10238 then :
   10239   printf %s "(cached) " >&6
   10240 else case e in #(
   10241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10242 /* end confdefs.h.  */
   10243 int i;
   10244 _ACEOF
   10245 if ac_fn_c_try_compile "$LINENO"
   10246 then :
   10247   xorg_cv_cc_flag_unused_command_line_argument=yes
   10248 else case e in #(
   10249   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10250 esac
   10251 fi
   10252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10253 esac
   10254 fi
   10255 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10256 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10258 	CFLAGS="$xorg_testset_save_CFLAGS"
   10259 fi
   10260 
   10261 found="no"
   10262 
   10263 	if test $found = "no" ; then
   10264 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 		fi
   10267 
   10268 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10270 		fi
   10271 
   10272 		CFLAGS="$CFLAGS -Wmissing-braces"
   10273 
   10274 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10275 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10276 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10277 		if eval test \${$cacheid+y}
   10278 then :
   10279   printf %s "(cached) " >&6
   10280 else case e in #(
   10281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10282 /* end confdefs.h.  */
   10283 int i;
   10284 int
   10285 main (void)
   10286 {
   10287 
   10288   ;
   10289   return 0;
   10290 }
   10291 _ACEOF
   10292 if ac_fn_c_try_link "$LINENO"
   10293 then :
   10294   eval $cacheid=yes
   10295 else case e in #(
   10296   e) eval $cacheid=no ;;
   10297 esac
   10298 fi
   10299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10300     conftest$ac_exeext conftest.$ac_ext ;;
   10301 esac
   10302 fi
   10303 
   10304 
   10305 		CFLAGS="$xorg_testset_save_CFLAGS"
   10306 
   10307 		eval supported=\$$cacheid
   10308 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10309 printf '%s\n' "$supported" >&6; }
   10310 		if test "$supported" = "yes" ; then
   10311 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10312 			found="yes"
   10313 		fi
   10314 	fi
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 xorg_testset_save_CFLAGS="$CFLAGS"
   10331 
   10332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10334 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10337 then :
   10338   printf %s "(cached) " >&6
   10339 else case e in #(
   10340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 int i;
   10343 _ACEOF
   10344 if ac_fn_c_try_compile "$LINENO"
   10345 then :
   10346   xorg_cv_cc_flag_unknown_warning_option=yes
   10347 else case e in #(
   10348   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10349 esac
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10352 esac
   10353 fi
   10354 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10355 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10356 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10357 	CFLAGS="$xorg_testset_save_CFLAGS"
   10358 fi
   10359 
   10360 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10361 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 	fi
   10364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10365 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10366 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10367 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10368 then :
   10369   printf %s "(cached) " >&6
   10370 else case e in #(
   10371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10372 /* end confdefs.h.  */
   10373 int i;
   10374 _ACEOF
   10375 if ac_fn_c_try_compile "$LINENO"
   10376 then :
   10377   xorg_cv_cc_flag_unused_command_line_argument=yes
   10378 else case e in #(
   10379   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10380 esac
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10383 esac
   10384 fi
   10385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10386 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10388 	CFLAGS="$xorg_testset_save_CFLAGS"
   10389 fi
   10390 
   10391 found="no"
   10392 
   10393 	if test $found = "no" ; then
   10394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10396 		fi
   10397 
   10398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10400 		fi
   10401 
   10402 		CFLAGS="$CFLAGS -Wsequence-point"
   10403 
   10404 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10405 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10406 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10407 		if eval test \${$cacheid+y}
   10408 then :
   10409   printf %s "(cached) " >&6
   10410 else case e in #(
   10411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 int
   10415 main (void)
   10416 {
   10417 
   10418   ;
   10419   return 0;
   10420 }
   10421 _ACEOF
   10422 if ac_fn_c_try_link "$LINENO"
   10423 then :
   10424   eval $cacheid=yes
   10425 else case e in #(
   10426   e) eval $cacheid=no ;;
   10427 esac
   10428 fi
   10429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10430     conftest$ac_exeext conftest.$ac_ext ;;
   10431 esac
   10432 fi
   10433 
   10434 
   10435 		CFLAGS="$xorg_testset_save_CFLAGS"
   10436 
   10437 		eval supported=\$$cacheid
   10438 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10439 printf '%s\n' "$supported" >&6; }
   10440 		if test "$supported" = "yes" ; then
   10441 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10442 			found="yes"
   10443 		fi
   10444 	fi
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 xorg_testset_save_CFLAGS="$CFLAGS"
   10461 
   10462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10464 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10465 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10466 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10467 then :
   10468   printf %s "(cached) " >&6
   10469 else case e in #(
   10470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 int i;
   10473 _ACEOF
   10474 if ac_fn_c_try_compile "$LINENO"
   10475 then :
   10476   xorg_cv_cc_flag_unknown_warning_option=yes
   10477 else case e in #(
   10478   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10479 esac
   10480 fi
   10481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10482 esac
   10483 fi
   10484 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10485 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10487 	CFLAGS="$xorg_testset_save_CFLAGS"
   10488 fi
   10489 
   10490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10493 	fi
   10494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10495 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10498 then :
   10499   printf %s "(cached) " >&6
   10500 else case e in #(
   10501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10502 /* end confdefs.h.  */
   10503 int i;
   10504 _ACEOF
   10505 if ac_fn_c_try_compile "$LINENO"
   10506 then :
   10507   xorg_cv_cc_flag_unused_command_line_argument=yes
   10508 else case e in #(
   10509   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10510 esac
   10511 fi
   10512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10513 esac
   10514 fi
   10515 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10516 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10518 	CFLAGS="$xorg_testset_save_CFLAGS"
   10519 fi
   10520 
   10521 found="no"
   10522 
   10523 	if test $found = "no" ; then
   10524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10526 		fi
   10527 
   10528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10530 		fi
   10531 
   10532 		CFLAGS="$CFLAGS -Wreturn-type"
   10533 
   10534 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10535 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10536 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10537 		if eval test \${$cacheid+y}
   10538 then :
   10539   printf %s "(cached) " >&6
   10540 else case e in #(
   10541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10542 /* end confdefs.h.  */
   10543 int i;
   10544 int
   10545 main (void)
   10546 {
   10547 
   10548   ;
   10549   return 0;
   10550 }
   10551 _ACEOF
   10552 if ac_fn_c_try_link "$LINENO"
   10553 then :
   10554   eval $cacheid=yes
   10555 else case e in #(
   10556   e) eval $cacheid=no ;;
   10557 esac
   10558 fi
   10559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10560     conftest$ac_exeext conftest.$ac_ext ;;
   10561 esac
   10562 fi
   10563 
   10564 
   10565 		CFLAGS="$xorg_testset_save_CFLAGS"
   10566 
   10567 		eval supported=\$$cacheid
   10568 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10569 printf '%s\n' "$supported" >&6; }
   10570 		if test "$supported" = "yes" ; then
   10571 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10572 			found="yes"
   10573 		fi
   10574 	fi
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 xorg_testset_save_CFLAGS="$CFLAGS"
   10591 
   10592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10594 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10597 then :
   10598   printf %s "(cached) " >&6
   10599 else case e in #(
   10600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10601 /* end confdefs.h.  */
   10602 int i;
   10603 _ACEOF
   10604 if ac_fn_c_try_compile "$LINENO"
   10605 then :
   10606   xorg_cv_cc_flag_unknown_warning_option=yes
   10607 else case e in #(
   10608   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10609 esac
   10610 fi
   10611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10612 esac
   10613 fi
   10614 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10615 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10617 	CFLAGS="$xorg_testset_save_CFLAGS"
   10618 fi
   10619 
   10620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10623 	fi
   10624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10625 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10628 then :
   10629   printf %s "(cached) " >&6
   10630 else case e in #(
   10631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10632 /* end confdefs.h.  */
   10633 int i;
   10634 _ACEOF
   10635 if ac_fn_c_try_compile "$LINENO"
   10636 then :
   10637   xorg_cv_cc_flag_unused_command_line_argument=yes
   10638 else case e in #(
   10639   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10640 esac
   10641 fi
   10642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10643 esac
   10644 fi
   10645 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10646 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10648 	CFLAGS="$xorg_testset_save_CFLAGS"
   10649 fi
   10650 
   10651 found="no"
   10652 
   10653 	if test $found = "no" ; then
   10654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10656 		fi
   10657 
   10658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10660 		fi
   10661 
   10662 		CFLAGS="$CFLAGS -Wtrigraphs"
   10663 
   10664 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10665 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10666 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10667 		if eval test \${$cacheid+y}
   10668 then :
   10669   printf %s "(cached) " >&6
   10670 else case e in #(
   10671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10672 /* end confdefs.h.  */
   10673 int i;
   10674 int
   10675 main (void)
   10676 {
   10677 
   10678   ;
   10679   return 0;
   10680 }
   10681 _ACEOF
   10682 if ac_fn_c_try_link "$LINENO"
   10683 then :
   10684   eval $cacheid=yes
   10685 else case e in #(
   10686   e) eval $cacheid=no ;;
   10687 esac
   10688 fi
   10689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10690     conftest$ac_exeext conftest.$ac_ext ;;
   10691 esac
   10692 fi
   10693 
   10694 
   10695 		CFLAGS="$xorg_testset_save_CFLAGS"
   10696 
   10697 		eval supported=\$$cacheid
   10698 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10699 printf '%s\n' "$supported" >&6; }
   10700 		if test "$supported" = "yes" ; then
   10701 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10702 			found="yes"
   10703 		fi
   10704 	fi
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 xorg_testset_save_CFLAGS="$CFLAGS"
   10721 
   10722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10724 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10725 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10726 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10727 then :
   10728   printf %s "(cached) " >&6
   10729 else case e in #(
   10730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10731 /* end confdefs.h.  */
   10732 int i;
   10733 _ACEOF
   10734 if ac_fn_c_try_compile "$LINENO"
   10735 then :
   10736   xorg_cv_cc_flag_unknown_warning_option=yes
   10737 else case e in #(
   10738   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10739 esac
   10740 fi
   10741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10742 esac
   10743 fi
   10744 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10745 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10747 	CFLAGS="$xorg_testset_save_CFLAGS"
   10748 fi
   10749 
   10750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10753 	fi
   10754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10755 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10758 then :
   10759   printf %s "(cached) " >&6
   10760 else case e in #(
   10761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10762 /* end confdefs.h.  */
   10763 int i;
   10764 _ACEOF
   10765 if ac_fn_c_try_compile "$LINENO"
   10766 then :
   10767   xorg_cv_cc_flag_unused_command_line_argument=yes
   10768 else case e in #(
   10769   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10770 esac
   10771 fi
   10772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10773 esac
   10774 fi
   10775 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10776 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10778 	CFLAGS="$xorg_testset_save_CFLAGS"
   10779 fi
   10780 
   10781 found="no"
   10782 
   10783 	if test $found = "no" ; then
   10784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10786 		fi
   10787 
   10788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10790 		fi
   10791 
   10792 		CFLAGS="$CFLAGS -Warray-bounds"
   10793 
   10794 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10795 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10796 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10797 		if eval test \${$cacheid+y}
   10798 then :
   10799   printf %s "(cached) " >&6
   10800 else case e in #(
   10801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10802 /* end confdefs.h.  */
   10803 int i;
   10804 int
   10805 main (void)
   10806 {
   10807 
   10808   ;
   10809   return 0;
   10810 }
   10811 _ACEOF
   10812 if ac_fn_c_try_link "$LINENO"
   10813 then :
   10814   eval $cacheid=yes
   10815 else case e in #(
   10816   e) eval $cacheid=no ;;
   10817 esac
   10818 fi
   10819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10820     conftest$ac_exeext conftest.$ac_ext ;;
   10821 esac
   10822 fi
   10823 
   10824 
   10825 		CFLAGS="$xorg_testset_save_CFLAGS"
   10826 
   10827 		eval supported=\$$cacheid
   10828 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10829 printf '%s\n' "$supported" >&6; }
   10830 		if test "$supported" = "yes" ; then
   10831 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10832 			found="yes"
   10833 		fi
   10834 	fi
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 xorg_testset_save_CFLAGS="$CFLAGS"
   10851 
   10852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10854 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10855 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10856 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10857 then :
   10858   printf %s "(cached) " >&6
   10859 else case e in #(
   10860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10861 /* end confdefs.h.  */
   10862 int i;
   10863 _ACEOF
   10864 if ac_fn_c_try_compile "$LINENO"
   10865 then :
   10866   xorg_cv_cc_flag_unknown_warning_option=yes
   10867 else case e in #(
   10868   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10869 esac
   10870 fi
   10871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10872 esac
   10873 fi
   10874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10875 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10877 	CFLAGS="$xorg_testset_save_CFLAGS"
   10878 fi
   10879 
   10880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10883 	fi
   10884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10885 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10886 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10887 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10888 then :
   10889   printf %s "(cached) " >&6
   10890 else case e in #(
   10891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10892 /* end confdefs.h.  */
   10893 int i;
   10894 _ACEOF
   10895 if ac_fn_c_try_compile "$LINENO"
   10896 then :
   10897   xorg_cv_cc_flag_unused_command_line_argument=yes
   10898 else case e in #(
   10899   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10900 esac
   10901 fi
   10902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10903 esac
   10904 fi
   10905 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10906 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10908 	CFLAGS="$xorg_testset_save_CFLAGS"
   10909 fi
   10910 
   10911 found="no"
   10912 
   10913 	if test $found = "no" ; then
   10914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10916 		fi
   10917 
   10918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10920 		fi
   10921 
   10922 		CFLAGS="$CFLAGS -Wwrite-strings"
   10923 
   10924 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10925 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10926 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10927 		if eval test \${$cacheid+y}
   10928 then :
   10929   printf %s "(cached) " >&6
   10930 else case e in #(
   10931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10932 /* end confdefs.h.  */
   10933 int i;
   10934 int
   10935 main (void)
   10936 {
   10937 
   10938   ;
   10939   return 0;
   10940 }
   10941 _ACEOF
   10942 if ac_fn_c_try_link "$LINENO"
   10943 then :
   10944   eval $cacheid=yes
   10945 else case e in #(
   10946   e) eval $cacheid=no ;;
   10947 esac
   10948 fi
   10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10950     conftest$ac_exeext conftest.$ac_ext ;;
   10951 esac
   10952 fi
   10953 
   10954 
   10955 		CFLAGS="$xorg_testset_save_CFLAGS"
   10956 
   10957 		eval supported=\$$cacheid
   10958 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10959 printf '%s\n' "$supported" >&6; }
   10960 		if test "$supported" = "yes" ; then
   10961 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10962 			found="yes"
   10963 		fi
   10964 	fi
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 xorg_testset_save_CFLAGS="$CFLAGS"
   10981 
   10982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10984 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10985 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10986 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10987 then :
   10988   printf %s "(cached) " >&6
   10989 else case e in #(
   10990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10991 /* end confdefs.h.  */
   10992 int i;
   10993 _ACEOF
   10994 if ac_fn_c_try_compile "$LINENO"
   10995 then :
   10996   xorg_cv_cc_flag_unknown_warning_option=yes
   10997 else case e in #(
   10998   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10999 esac
   11000 fi
   11001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11002 esac
   11003 fi
   11004 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11005 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11007 	CFLAGS="$xorg_testset_save_CFLAGS"
   11008 fi
   11009 
   11010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11013 	fi
   11014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11015 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11016 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11017 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11018 then :
   11019   printf %s "(cached) " >&6
   11020 else case e in #(
   11021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11022 /* end confdefs.h.  */
   11023 int i;
   11024 _ACEOF
   11025 if ac_fn_c_try_compile "$LINENO"
   11026 then :
   11027   xorg_cv_cc_flag_unused_command_line_argument=yes
   11028 else case e in #(
   11029   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11030 esac
   11031 fi
   11032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11033 esac
   11034 fi
   11035 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11036 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11038 	CFLAGS="$xorg_testset_save_CFLAGS"
   11039 fi
   11040 
   11041 found="no"
   11042 
   11043 	if test $found = "no" ; then
   11044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11046 		fi
   11047 
   11048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11050 		fi
   11051 
   11052 		CFLAGS="$CFLAGS -Waddress"
   11053 
   11054 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   11055 printf %s "checking if $CC supports -Waddress... " >&6; }
   11056 		cacheid=xorg_cv_cc_flag__Waddress
   11057 		if eval test \${$cacheid+y}
   11058 then :
   11059   printf %s "(cached) " >&6
   11060 else case e in #(
   11061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11062 /* end confdefs.h.  */
   11063 int i;
   11064 int
   11065 main (void)
   11066 {
   11067 
   11068   ;
   11069   return 0;
   11070 }
   11071 _ACEOF
   11072 if ac_fn_c_try_link "$LINENO"
   11073 then :
   11074   eval $cacheid=yes
   11075 else case e in #(
   11076   e) eval $cacheid=no ;;
   11077 esac
   11078 fi
   11079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11080     conftest$ac_exeext conftest.$ac_ext ;;
   11081 esac
   11082 fi
   11083 
   11084 
   11085 		CFLAGS="$xorg_testset_save_CFLAGS"
   11086 
   11087 		eval supported=\$$cacheid
   11088 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11089 printf '%s\n' "$supported" >&6; }
   11090 		if test "$supported" = "yes" ; then
   11091 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   11092 			found="yes"
   11093 		fi
   11094 	fi
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 xorg_testset_save_CFLAGS="$CFLAGS"
   11111 
   11112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11114 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11115 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11116 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11117 then :
   11118   printf %s "(cached) " >&6
   11119 else case e in #(
   11120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11121 /* end confdefs.h.  */
   11122 int i;
   11123 _ACEOF
   11124 if ac_fn_c_try_compile "$LINENO"
   11125 then :
   11126   xorg_cv_cc_flag_unknown_warning_option=yes
   11127 else case e in #(
   11128   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11129 esac
   11130 fi
   11131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11132 esac
   11133 fi
   11134 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11135 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11137 	CFLAGS="$xorg_testset_save_CFLAGS"
   11138 fi
   11139 
   11140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11143 	fi
   11144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11145 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11146 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11147 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11148 then :
   11149   printf %s "(cached) " >&6
   11150 else case e in #(
   11151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11152 /* end confdefs.h.  */
   11153 int i;
   11154 _ACEOF
   11155 if ac_fn_c_try_compile "$LINENO"
   11156 then :
   11157   xorg_cv_cc_flag_unused_command_line_argument=yes
   11158 else case e in #(
   11159   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11160 esac
   11161 fi
   11162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11163 esac
   11164 fi
   11165 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11166 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11168 	CFLAGS="$xorg_testset_save_CFLAGS"
   11169 fi
   11170 
   11171 found="no"
   11172 
   11173 	if test $found = "no" ; then
   11174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11176 		fi
   11177 
   11178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11180 		fi
   11181 
   11182 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   11183 
   11184 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   11185 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   11186 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   11187 		if eval test \${$cacheid+y}
   11188 then :
   11189   printf %s "(cached) " >&6
   11190 else case e in #(
   11191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11192 /* end confdefs.h.  */
   11193 int i;
   11194 int
   11195 main (void)
   11196 {
   11197 
   11198   ;
   11199   return 0;
   11200 }
   11201 _ACEOF
   11202 if ac_fn_c_try_link "$LINENO"
   11203 then :
   11204   eval $cacheid=yes
   11205 else case e in #(
   11206   e) eval $cacheid=no ;;
   11207 esac
   11208 fi
   11209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11210     conftest$ac_exeext conftest.$ac_ext ;;
   11211 esac
   11212 fi
   11213 
   11214 
   11215 		CFLAGS="$xorg_testset_save_CFLAGS"
   11216 
   11217 		eval supported=\$$cacheid
   11218 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11219 printf '%s\n' "$supported" >&6; }
   11220 		if test "$supported" = "yes" ; then
   11221 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   11222 			found="yes"
   11223 		fi
   11224 	fi
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 xorg_testset_save_CFLAGS="$CFLAGS"
   11241 
   11242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11244 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11247 then :
   11248   printf %s "(cached) " >&6
   11249 else case e in #(
   11250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11251 /* end confdefs.h.  */
   11252 int i;
   11253 _ACEOF
   11254 if ac_fn_c_try_compile "$LINENO"
   11255 then :
   11256   xorg_cv_cc_flag_unknown_warning_option=yes
   11257 else case e in #(
   11258   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11259 esac
   11260 fi
   11261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11262 esac
   11263 fi
   11264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11265 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11267 	CFLAGS="$xorg_testset_save_CFLAGS"
   11268 fi
   11269 
   11270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11273 	fi
   11274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11275 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11276 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11277 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11278 then :
   11279   printf %s "(cached) " >&6
   11280 else case e in #(
   11281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11282 /* end confdefs.h.  */
   11283 int i;
   11284 _ACEOF
   11285 if ac_fn_c_try_compile "$LINENO"
   11286 then :
   11287   xorg_cv_cc_flag_unused_command_line_argument=yes
   11288 else case e in #(
   11289   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11290 esac
   11291 fi
   11292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11293 esac
   11294 fi
   11295 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11296 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11298 	CFLAGS="$xorg_testset_save_CFLAGS"
   11299 fi
   11300 
   11301 found="no"
   11302 
   11303 	if test $found = "no" ; then
   11304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11306 		fi
   11307 
   11308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11310 		fi
   11311 
   11312 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11313 
   11314 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11315 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11316 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11317 		if eval test \${$cacheid+y}
   11318 then :
   11319   printf %s "(cached) " >&6
   11320 else case e in #(
   11321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 int i;
   11324 int
   11325 main (void)
   11326 {
   11327 
   11328   ;
   11329   return 0;
   11330 }
   11331 _ACEOF
   11332 if ac_fn_c_try_link "$LINENO"
   11333 then :
   11334   eval $cacheid=yes
   11335 else case e in #(
   11336   e) eval $cacheid=no ;;
   11337 esac
   11338 fi
   11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11340     conftest$ac_exeext conftest.$ac_ext ;;
   11341 esac
   11342 fi
   11343 
   11344 
   11345 		CFLAGS="$xorg_testset_save_CFLAGS"
   11346 
   11347 		eval supported=\$$cacheid
   11348 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11349 printf '%s\n' "$supported" >&6; }
   11350 		if test "$supported" = "yes" ; then
   11351 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11352 			found="yes"
   11353 		fi
   11354 	fi
   11355 
   11356 
   11357 fi
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 		CWARNFLAGS="$BASE_CFLAGS"
   11366 		if  test "x$GCC" = xyes ; then
   11367 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11368 		fi
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 # Check whether --enable-strict-compilation was given.
   11378 if test ${enable_strict_compilation+y}
   11379 then :
   11380   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11381 else case e in #(
   11382   e) STRICT_COMPILE=no ;;
   11383 esac
   11384 fi
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 STRICT_CFLAGS=""
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 xorg_testset_save_CFLAGS="$CFLAGS"
   11406 
   11407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11409 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11410 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11411 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11412 then :
   11413   printf %s "(cached) " >&6
   11414 else case e in #(
   11415   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11416 /* end confdefs.h.  */
   11417 int i;
   11418 _ACEOF
   11419 if ac_fn_c_try_compile "$LINENO"
   11420 then :
   11421   xorg_cv_cc_flag_unknown_warning_option=yes
   11422 else case e in #(
   11423   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11424 esac
   11425 fi
   11426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11427 esac
   11428 fi
   11429 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11430 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11432 	CFLAGS="$xorg_testset_save_CFLAGS"
   11433 fi
   11434 
   11435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11438 	fi
   11439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11440 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11441 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11442 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11443 then :
   11444   printf %s "(cached) " >&6
   11445 else case e in #(
   11446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11447 /* end confdefs.h.  */
   11448 int i;
   11449 _ACEOF
   11450 if ac_fn_c_try_compile "$LINENO"
   11451 then :
   11452   xorg_cv_cc_flag_unused_command_line_argument=yes
   11453 else case e in #(
   11454   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11455 esac
   11456 fi
   11457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11458 esac
   11459 fi
   11460 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11461 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11463 	CFLAGS="$xorg_testset_save_CFLAGS"
   11464 fi
   11465 
   11466 found="no"
   11467 
   11468 	if test $found = "no" ; then
   11469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11471 		fi
   11472 
   11473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11475 		fi
   11476 
   11477 		CFLAGS="$CFLAGS -pedantic"
   11478 
   11479 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11480 printf %s "checking if $CC supports -pedantic... " >&6; }
   11481 		cacheid=xorg_cv_cc_flag__pedantic
   11482 		if eval test \${$cacheid+y}
   11483 then :
   11484   printf %s "(cached) " >&6
   11485 else case e in #(
   11486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11487 /* end confdefs.h.  */
   11488 int i;
   11489 int
   11490 main (void)
   11491 {
   11492 
   11493   ;
   11494   return 0;
   11495 }
   11496 _ACEOF
   11497 if ac_fn_c_try_link "$LINENO"
   11498 then :
   11499   eval $cacheid=yes
   11500 else case e in #(
   11501   e) eval $cacheid=no ;;
   11502 esac
   11503 fi
   11504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11505     conftest$ac_exeext conftest.$ac_ext ;;
   11506 esac
   11507 fi
   11508 
   11509 
   11510 		CFLAGS="$xorg_testset_save_CFLAGS"
   11511 
   11512 		eval supported=\$$cacheid
   11513 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11514 printf '%s\n' "$supported" >&6; }
   11515 		if test "$supported" = "yes" ; then
   11516 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11517 			found="yes"
   11518 		fi
   11519 	fi
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 xorg_testset_save_CFLAGS="$CFLAGS"
   11536 
   11537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11539 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11542 then :
   11543   printf %s "(cached) " >&6
   11544 else case e in #(
   11545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11546 /* end confdefs.h.  */
   11547 int i;
   11548 _ACEOF
   11549 if ac_fn_c_try_compile "$LINENO"
   11550 then :
   11551   xorg_cv_cc_flag_unknown_warning_option=yes
   11552 else case e in #(
   11553   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11554 esac
   11555 fi
   11556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11557 esac
   11558 fi
   11559 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11560 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11562 	CFLAGS="$xorg_testset_save_CFLAGS"
   11563 fi
   11564 
   11565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11568 	fi
   11569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11570 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11573 then :
   11574   printf %s "(cached) " >&6
   11575 else case e in #(
   11576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11577 /* end confdefs.h.  */
   11578 int i;
   11579 _ACEOF
   11580 if ac_fn_c_try_compile "$LINENO"
   11581 then :
   11582   xorg_cv_cc_flag_unused_command_line_argument=yes
   11583 else case e in #(
   11584   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11585 esac
   11586 fi
   11587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11588 esac
   11589 fi
   11590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11591 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11593 	CFLAGS="$xorg_testset_save_CFLAGS"
   11594 fi
   11595 
   11596 found="no"
   11597 
   11598 	if test $found = "no" ; then
   11599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11601 		fi
   11602 
   11603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11605 		fi
   11606 
   11607 		CFLAGS="$CFLAGS -Werror"
   11608 
   11609 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11610 printf %s "checking if $CC supports -Werror... " >&6; }
   11611 		cacheid=xorg_cv_cc_flag__Werror
   11612 		if eval test \${$cacheid+y}
   11613 then :
   11614   printf %s "(cached) " >&6
   11615 else case e in #(
   11616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11617 /* end confdefs.h.  */
   11618 int i;
   11619 int
   11620 main (void)
   11621 {
   11622 
   11623   ;
   11624   return 0;
   11625 }
   11626 _ACEOF
   11627 if ac_fn_c_try_link "$LINENO"
   11628 then :
   11629   eval $cacheid=yes
   11630 else case e in #(
   11631   e) eval $cacheid=no ;;
   11632 esac
   11633 fi
   11634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11635     conftest$ac_exeext conftest.$ac_ext ;;
   11636 esac
   11637 fi
   11638 
   11639 
   11640 		CFLAGS="$xorg_testset_save_CFLAGS"
   11641 
   11642 		eval supported=\$$cacheid
   11643 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11644 printf '%s\n' "$supported" >&6; }
   11645 		if test "$supported" = "yes" ; then
   11646 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11647 			found="yes"
   11648 		fi
   11649 	fi
   11650 
   11651 	if test $found = "no" ; then
   11652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11654 		fi
   11655 
   11656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11658 		fi
   11659 
   11660 		CFLAGS="$CFLAGS -errwarn"
   11661 
   11662 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11663 printf %s "checking if $CC supports -errwarn... " >&6; }
   11664 		cacheid=xorg_cv_cc_flag__errwarn
   11665 		if eval test \${$cacheid+y}
   11666 then :
   11667   printf %s "(cached) " >&6
   11668 else case e in #(
   11669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11670 /* end confdefs.h.  */
   11671 int i;
   11672 int
   11673 main (void)
   11674 {
   11675 
   11676   ;
   11677   return 0;
   11678 }
   11679 _ACEOF
   11680 if ac_fn_c_try_link "$LINENO"
   11681 then :
   11682   eval $cacheid=yes
   11683 else case e in #(
   11684   e) eval $cacheid=no ;;
   11685 esac
   11686 fi
   11687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11688     conftest$ac_exeext conftest.$ac_ext ;;
   11689 esac
   11690 fi
   11691 
   11692 
   11693 		CFLAGS="$xorg_testset_save_CFLAGS"
   11694 
   11695 		eval supported=\$$cacheid
   11696 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11697 printf '%s\n' "$supported" >&6; }
   11698 		if test "$supported" = "yes" ; then
   11699 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11700 			found="yes"
   11701 		fi
   11702 	fi
   11703 
   11704 
   11705 
   11706 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11707 # activate it with -Werror, so we add it here explicitly.
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 xorg_testset_save_CFLAGS="$CFLAGS"
   11722 
   11723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11725 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11726 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11727 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11728 then :
   11729   printf %s "(cached) " >&6
   11730 else case e in #(
   11731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11732 /* end confdefs.h.  */
   11733 int i;
   11734 _ACEOF
   11735 if ac_fn_c_try_compile "$LINENO"
   11736 then :
   11737   xorg_cv_cc_flag_unknown_warning_option=yes
   11738 else case e in #(
   11739   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11740 esac
   11741 fi
   11742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11743 esac
   11744 fi
   11745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11746 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11748 	CFLAGS="$xorg_testset_save_CFLAGS"
   11749 fi
   11750 
   11751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11754 	fi
   11755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11756 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11757 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11758 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11759 then :
   11760   printf %s "(cached) " >&6
   11761 else case e in #(
   11762   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11763 /* end confdefs.h.  */
   11764 int i;
   11765 _ACEOF
   11766 if ac_fn_c_try_compile "$LINENO"
   11767 then :
   11768   xorg_cv_cc_flag_unused_command_line_argument=yes
   11769 else case e in #(
   11770   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11771 esac
   11772 fi
   11773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11774 esac
   11775 fi
   11776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11777 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11779 	CFLAGS="$xorg_testset_save_CFLAGS"
   11780 fi
   11781 
   11782 found="no"
   11783 
   11784 	if test $found = "no" ; then
   11785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11787 		fi
   11788 
   11789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11791 		fi
   11792 
   11793 		CFLAGS="$CFLAGS -Werror=attributes"
   11794 
   11795 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11796 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11797 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11798 		if eval test \${$cacheid+y}
   11799 then :
   11800   printf %s "(cached) " >&6
   11801 else case e in #(
   11802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11803 /* end confdefs.h.  */
   11804 int i;
   11805 int
   11806 main (void)
   11807 {
   11808 
   11809   ;
   11810   return 0;
   11811 }
   11812 _ACEOF
   11813 if ac_fn_c_try_link "$LINENO"
   11814 then :
   11815   eval $cacheid=yes
   11816 else case e in #(
   11817   e) eval $cacheid=no ;;
   11818 esac
   11819 fi
   11820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11821     conftest$ac_exeext conftest.$ac_ext ;;
   11822 esac
   11823 fi
   11824 
   11825 
   11826 		CFLAGS="$xorg_testset_save_CFLAGS"
   11827 
   11828 		eval supported=\$$cacheid
   11829 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11830 printf '%s\n' "$supported" >&6; }
   11831 		if test "$supported" = "yes" ; then
   11832 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11833 			found="yes"
   11834 		fi
   11835 	fi
   11836 
   11837 
   11838 
   11839 if test "x$STRICT_COMPILE" = "xyes"; then
   11840     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11841     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11842 fi
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 cat >>confdefs.h <<_ACEOF
   11852 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11853 _ACEOF
   11854 
   11855 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11856 	if test "x$PVM" = "x"; then
   11857 		PVM="0"
   11858 	fi
   11859 
   11860 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11861 
   11862 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11863 	if test "x$PVP" = "x"; then
   11864 		PVP="0"
   11865 	fi
   11866 
   11867 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11868 
   11869 
   11870 
   11871 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11872 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11873 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11874 touch \$(top_srcdir)/ChangeLog; \
   11875 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11876 
   11877 
   11878 
   11879 
   11880 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11881 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11882 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11883 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11884 touch \$(top_srcdir)/INSTALL; \
   11885 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 case $host_os in
   11893     solaris*)
   11894         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11895         # check for a man page file found in later versions that use
   11896         # traditional section numbers instead
   11897         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11898 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11899 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11900 then :
   11901   printf %s "(cached) " >&6
   11902 else case e in #(
   11903   e) test "$cross_compiling" = yes &&
   11904   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11905 if test -r "/usr/share/man/man7/attributes.7"; then
   11906   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11907 else
   11908   ac_cv_file__usr_share_man_man7_attributes_7=no
   11909 fi ;;
   11910 esac
   11911 fi
   11912 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11913 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11914 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11915 then :
   11916   SYSV_MAN_SECTIONS=false
   11917 else case e in #(
   11918   e) SYSV_MAN_SECTIONS=true ;;
   11919 esac
   11920 fi
   11921 
   11922         ;;
   11923     *) SYSV_MAN_SECTIONS=false ;;
   11924 esac
   11925 
   11926 if test x$APP_MAN_SUFFIX = x    ; then
   11927     APP_MAN_SUFFIX=1
   11928 fi
   11929 if test x$APP_MAN_DIR = x    ; then
   11930     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11931 fi
   11932 
   11933 if test x$LIB_MAN_SUFFIX = x    ; then
   11934     LIB_MAN_SUFFIX=3
   11935 fi
   11936 if test x$LIB_MAN_DIR = x    ; then
   11937     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11938 fi
   11939 
   11940 if test x$FILE_MAN_SUFFIX = x    ; then
   11941     case $SYSV_MAN_SECTIONS in
   11942 	true)				FILE_MAN_SUFFIX=4  ;;
   11943 	*)				FILE_MAN_SUFFIX=5  ;;
   11944     esac
   11945 fi
   11946 if test x$FILE_MAN_DIR = x    ; then
   11947     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11948 fi
   11949 
   11950 if test x$MISC_MAN_SUFFIX = x    ; then
   11951     case $SYSV_MAN_SECTIONS in
   11952 	true)				MISC_MAN_SUFFIX=5  ;;
   11953 	*)				MISC_MAN_SUFFIX=7  ;;
   11954     esac
   11955 fi
   11956 if test x$MISC_MAN_DIR = x    ; then
   11957     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11958 fi
   11959 
   11960 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11961     case $SYSV_MAN_SECTIONS in
   11962 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11963 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11964     esac
   11965 fi
   11966 if test x$DRIVER_MAN_DIR = x    ; then
   11967     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11968 fi
   11969 
   11970 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11971     case $SYSV_MAN_SECTIONS in
   11972 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11973 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11974     esac
   11975 fi
   11976 if test x$ADMIN_MAN_DIR = x    ; then
   11977     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11978 fi
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 XORG_MAN_PAGE="X Version 11"
   11995 
   11996 MAN_SUBSTS="\
   11997 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11998 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11999 	-e 's|__xservername__|Xorg|g' \
   12000 	-e 's|__xconfigfile__|xorg.conf|g' \
   12001 	-e 's|__projectroot__|\$(prefix)|g' \
   12002 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   12003 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   12004 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   12005 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   12006 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   12007 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   12008 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   12009 
   12010 
   12011 
   12012 
   12013 AM_DEFAULT_VERBOSITY=0
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 # Checks for typedefs, structures, and compiler characteristics.
   12020 # Check whether --enable-largefile was given.
   12021 if test ${enable_largefile+y}
   12022 then :
   12023   enableval=$enable_largefile;
   12024 fi
   12025 if test "$enable_largefile,$enable_year2038" != no,no
   12026 then :
   12027   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5
   12028 printf %s "checking for $CC option to support large files... " >&6; }
   12029 if test ${ac_cv_sys_largefile_opts+y}
   12030 then :
   12031   printf %s "(cached) " >&6
   12032 else case e in #(
   12033   e) ac_save_CPPFLAGS=$CPPFLAGS
   12034   ac_opt_found=no
   12035   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   12036     if test x"$ac_opt" != x"none needed"
   12037 then :
   12038   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12039 fi
   12040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12041 /* end confdefs.h.  */
   12042 #include <sys/types.h>
   12043 #ifndef FTYPE
   12044 # define FTYPE off_t
   12045 #endif
   12046  /* Check that FTYPE can represent 2**63 - 1 correctly.
   12047     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   12048     since some C++ compilers masquerading as C compilers
   12049     incorrectly reject 9223372036854775807.  */
   12050 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   12051   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   12052 		       && LARGE_FTYPE % 2147483647 == 1)
   12053 		      ? 1 : -1];
   12054 int
   12055 main (void)
   12056 {
   12057 
   12058   ;
   12059   return 0;
   12060 }
   12061 _ACEOF
   12062 if ac_fn_c_try_compile "$LINENO"
   12063 then :
   12064   if test x"$ac_opt" = x"none needed"
   12065 then :
   12066   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   12067 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   12068 	 if ac_fn_c_try_compile "$LINENO"
   12069 then :
   12070 
   12071 else case e in #(
   12072   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   12073 	    if ac_fn_c_try_compile "$LINENO"
   12074 then :
   12075   ac_opt='-D_FILE_OFFSET_BITS=64'
   12076 fi
   12077 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   12078 esac
   12079 fi
   12080 rm -f core conftest.err conftest.$ac_objext conftest.beam
   12081 fi
   12082       ac_cv_sys_largefile_opts=$ac_opt
   12083       ac_opt_found=yes
   12084 fi
   12085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12086     test $ac_opt_found = no || break
   12087   done
   12088   CPPFLAGS=$ac_save_CPPFLAGS
   12089 
   12090   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   12091 esac
   12092 fi
   12093 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   12094 printf '%s\n' "$ac_cv_sys_largefile_opts" >&6; }
   12095 
   12096 ac_have_largefile=yes
   12097 case $ac_cv_sys_largefile_opts in #(
   12098   "none needed") :
   12099      ;; #(
   12100   "supported through gnulib") :
   12101      ;; #(
   12102   "support not detected") :
   12103     ac_have_largefile=no ;; #(
   12104   "-D_FILE_OFFSET_BITS=64") :
   12105 
   12106 printf '%s\n' "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   12107  ;; #(
   12108   "-D_LARGE_FILES=1") :
   12109 
   12110 printf '%s\n' "#define _LARGE_FILES 1" >>confdefs.h
   12111  ;; #(
   12112   *) :
   12113     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   12114 esac
   12115 
   12116 if test "$enable_year2038" != no
   12117 then :
   12118   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5
   12119 printf %s "checking for $CC option to support timestamps after 2038... " >&6; }
   12120 if test ${ac_cv_sys_year2038_opts+y}
   12121 then :
   12122   printf %s "(cached) " >&6
   12123 else case e in #(
   12124   e) ac_save_CPPFLAGS="$CPPFLAGS"
   12125   ac_opt_found=no
   12126   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   12127     if test x"$ac_opt" != x"none needed"
   12128 then :
   12129   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12130 fi
   12131     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12132 /* end confdefs.h.  */
   12133 
   12134   #include <time.h>
   12135   /* Check that time_t can represent 2**32 - 1 correctly.  */
   12136   #define LARGE_TIME_T \\
   12137     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   12138   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   12139                            && LARGE_TIME_T % 65537 == 0)
   12140                           ? 1 : -1];
   12141 
   12142 int
   12143 main (void)
   12144 {
   12145 
   12146   ;
   12147   return 0;
   12148 }
   12149 _ACEOF
   12150 if ac_fn_c_try_compile "$LINENO"
   12151 then :
   12152   ac_cv_sys_year2038_opts="$ac_opt"
   12153       ac_opt_found=yes
   12154 fi
   12155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12156     test $ac_opt_found = no || break
   12157   done
   12158   CPPFLAGS="$ac_save_CPPFLAGS"
   12159   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   12160 esac
   12161 fi
   12162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   12163 printf '%s\n' "$ac_cv_sys_year2038_opts" >&6; }
   12164 
   12165 ac_have_year2038=yes
   12166 case $ac_cv_sys_year2038_opts in #(
   12167   "none needed") :
   12168      ;; #(
   12169   "support not detected") :
   12170     ac_have_year2038=no ;; #(
   12171   "-D_TIME_BITS=64") :
   12172 
   12173 printf '%s\n' "#define _TIME_BITS 64" >>confdefs.h
   12174  ;; #(
   12175   "-D__MINGW_USE_VC2005_COMPAT") :
   12176 
   12177 printf '%s\n' "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12178  ;; #(
   12179   "-U_USE_32_BIT_TIME_T"*) :
   12180     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12181 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12182 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12183 will stop working after mid-January 2038. Remove
   12184 _USE_32BIT_TIME_T from the compiler flags.
   12185 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12186   *) :
   12187     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12188 esac
   12189 
   12190 fi
   12191 
   12192 fi
   12193 
   12194 # Checks for library functions.
   12195 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   12196 if test "x$ac_cv_func_asprintf" = xyes
   12197 then :
   12198   printf '%s\n' "#define HAVE_ASPRINTF 1" >>confdefs.h
   12199 
   12200 fi
   12201 
   12202 
   12203 # Internationalization & localization support
   12204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   12205 printf %s "checking for library containing gettext... " >&6; }
   12206 if test ${ac_cv_search_gettext+y}
   12207 then :
   12208   printf %s "(cached) " >&6
   12209 else case e in #(
   12210   e) ac_func_search_save_LIBS=$LIBS
   12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12212 /* end confdefs.h.  */
   12213 
   12214 /* Override any GCC internal prototype to avoid an error.
   12215    Use char because int might match the return type of a GCC
   12216    builtin and then its argument prototype would still apply.
   12217    The 'extern "C"' is for builds by C++ compilers;
   12218    although this is not generally supported in C code supporting it here
   12219    has little cost and some practical benefit (sr 110532).  */
   12220 #ifdef __cplusplus
   12221 extern "C"
   12222 #endif
   12223 char gettext (void);
   12224 int
   12225 main (void)
   12226 {
   12227 return gettext ();
   12228   ;
   12229   return 0;
   12230 }
   12231 _ACEOF
   12232 for ac_lib in '' intl
   12233 do
   12234   if test -z "$ac_lib"; then
   12235     ac_res="none required"
   12236   else
   12237     ac_res=-l$ac_lib
   12238     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12239   fi
   12240   if ac_fn_c_try_link "$LINENO"
   12241 then :
   12242   ac_cv_search_gettext=$ac_res
   12243 fi
   12244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12245     conftest$ac_exeext
   12246   if test ${ac_cv_search_gettext+y}
   12247 then :
   12248   break
   12249 fi
   12250 done
   12251 if test ${ac_cv_search_gettext+y}
   12252 then :
   12253 
   12254 else case e in #(
   12255   e) ac_cv_search_gettext=no ;;
   12256 esac
   12257 fi
   12258 rm conftest.$ac_ext
   12259 LIBS=$ac_func_search_save_LIBS ;;
   12260 esac
   12261 fi
   12262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   12263 printf '%s\n' "$ac_cv_search_gettext" >&6; }
   12264 ac_res=$ac_cv_search_gettext
   12265 if test "$ac_res" != no
   12266 then :
   12267   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12268   USE_GETTEXT="yes"
   12269 else case e in #(
   12270   e) USE_GETTEXT="no" ;;
   12271 esac
   12272 fi
   12273 
   12274 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   12275 printf %s "checking where to install localized messages... " >&6; }
   12276 
   12277 # Check whether --with-localedir was given.
   12278 if test ${with_localedir+y}
   12279 then :
   12280   withval=$with_localedir; LOCALEDIR=${withval}
   12281 else case e in #(
   12282   e) LOCALEDIR=${datadir}/locale ;;
   12283 esac
   12284 fi
   12285 
   12286 
   12287   prefix_NONE=
   12288   exec_prefix_NONE=
   12289   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   12290   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   12291   eval ax_define_dir="\"$LOCALEDIR\""
   12292   eval ax_define_dir="\"$ax_define_dir\""
   12293   LOCALEDIR="$ax_define_dir"
   12294 
   12295 
   12296 printf '%s\n' "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   12297 
   12298   test "$prefix_NONE" && prefix=NONE
   12299   test "$exec_prefix_NONE" && exec_prefix=NONE
   12300 
   12301 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   12302         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   12303 printf '%s\n' "nowhere" >&6; }
   12304         USE_GETTEXT="no"
   12305 else
   12306         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   12307 printf '%s\n' "$LOCALEDIR" >&6; }
   12308 fi
   12309 
   12310 if test "x$USE_GETTEXT" = "xyes" ; then
   12311 
   12312 printf '%s\n' "#define USE_GETTEXT 1" >>confdefs.h
   12313 
   12314 fi
   12315  if test "x$USE_GETTEXT" = "xyes"; then
   12316   USE_GETTEXT_TRUE=
   12317   USE_GETTEXT_FALSE='#'
   12318 else
   12319   USE_GETTEXT_TRUE='#'
   12320   USE_GETTEXT_FALSE=
   12321 fi
   12322 
   12323 
   12324 
   12325 ### How to check load average on various OS'es:
   12326 
   12327 # getloadavg: 4.3BSD-Reno & later, glibc 2.2 & later, Solaris 7 & later
   12328 # BSD & GNU libc use <stdlib.h>, Solaris requires <sys/loadavg.h>
   12329 
   12330   for ac_func in getloadavg
   12331 do :
   12332   ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
   12333 if test "x$ac_cv_func_getloadavg" = xyes
   12334 then :
   12335   printf '%s\n' "#define HAVE_GETLOADAVG 1" >>confdefs.h
   12336  ac_fn_c_check_header_compile "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
   12337 if test "x$ac_cv_header_sys_loadavg_h" = xyes
   12338 then :
   12339   printf '%s\n' "#define HAVE_SYS_LOADAVG_H 1" >>confdefs.h
   12340 
   12341 fi
   12342 
   12343 fi
   12344 
   12345 done
   12346 
   12347 ac_fn_c_check_header_compile "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
   12348 if test "x$ac_cv_header_paths_h" = xyes
   12349 then :
   12350   printf '%s\n' "#define HAVE_PATHS_H 1" >>confdefs.h
   12351 
   12352 fi
   12353 ac_fn_c_check_header_compile "$LINENO" "protocols/rwhod.h" "ac_cv_header_protocols_rwhod_h" "$ac_includes_default"
   12354 if test "x$ac_cv_header_protocols_rwhod_h" = xyes
   12355 then :
   12356   printf '%s\n' "#define HAVE_PROTOCOLS_RWHOD_H 1" >>confdefs.h
   12357 
   12358 fi
   12359 
   12360 
   12361 # Checks for pkg-config packages
   12362 
   12363 pkg_failed=no
   12364 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XLOAD" >&5
   12365 printf %s "checking for XLOAD... " >&6; }
   12366 
   12367 if test -n "$XLOAD_CFLAGS"; then
   12368     pkg_cv_XLOAD_CFLAGS="$XLOAD_CFLAGS"
   12369  elif test -n "$PKG_CONFIG"; then
   12370     if test -n "$PKG_CONFIG" && \
   12371     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5
   12372   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5
   12373   ac_status=$?
   12374   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12375   test $ac_status = 0; }; then
   12376   pkg_cv_XLOAD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null`
   12377 		      test "x$?" != "x0" && pkg_failed=yes
   12378 else
   12379   pkg_failed=yes
   12380 fi
   12381  else
   12382     pkg_failed=untried
   12383 fi
   12384 if test -n "$XLOAD_LIBS"; then
   12385     pkg_cv_XLOAD_LIBS="$XLOAD_LIBS"
   12386  elif test -n "$PKG_CONFIG"; then
   12387     if test -n "$PKG_CONFIG" && \
   12388     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5
   12389   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5
   12390   ac_status=$?
   12391   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12392   test $ac_status = 0; }; then
   12393   pkg_cv_XLOAD_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null`
   12394 		      test "x$?" != "x0" && pkg_failed=yes
   12395 else
   12396   pkg_failed=yes
   12397 fi
   12398  else
   12399     pkg_failed=untried
   12400 fi
   12401 
   12402 
   12403 
   12404 if test $pkg_failed = yes; then
   12405    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12406 printf '%s\n' "no" >&6; }
   12407 
   12408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12409         _pkg_short_errors_supported=yes
   12410 else
   12411         _pkg_short_errors_supported=no
   12412 fi
   12413         if test $_pkg_short_errors_supported = yes; then
   12414 	        XLOAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>&1`
   12415         else
   12416 	        XLOAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>&1`
   12417         fi
   12418 	# Put the nasty error message in config.log where it belongs
   12419 	echo "$XLOAD_PKG_ERRORS" >&5
   12420 
   12421 	as_fn_error $? "Package requirements (xaw7 xmu xt x11 xproto >= 7.0.17) were not met:
   12422 
   12423 $XLOAD_PKG_ERRORS
   12424 
   12425 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12426 installed software in a non-standard prefix.
   12427 
   12428 Alternatively, you may set the environment variables XLOAD_CFLAGS
   12429 and XLOAD_LIBS to avoid the need to call pkg-config.
   12430 See the pkg-config man page for more details." "$LINENO" 5
   12431 elif test $pkg_failed = untried; then
   12432      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12433 printf '%s\n' "no" >&6; }
   12434 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12435 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12436 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12437 is in your PATH or set the PKG_CONFIG environment variable to the full
   12438 path to pkg-config.
   12439 
   12440 Alternatively, you may set the environment variables XLOAD_CFLAGS
   12441 and XLOAD_LIBS to avoid the need to call pkg-config.
   12442 See the pkg-config man page for more details.
   12443 
   12444 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12445 See 'config.log' for more details" "$LINENO" 5; }
   12446 else
   12447 	XLOAD_CFLAGS=$pkg_cv_XLOAD_CFLAGS
   12448 	XLOAD_LIBS=$pkg_cv_XLOAD_LIBS
   12449         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12450 printf '%s\n' "yes" >&6; }
   12451 
   12452 fi
   12453 
   12454 
   12455 pkg_failed=no
   12456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12457 printf %s "checking for APPDEFS... " >&6; }
   12458 
   12459 if test -n "$APPDEFS_CFLAGS"; then
   12460     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12461  elif test -n "$PKG_CONFIG"; then
   12462     if test -n "$PKG_CONFIG" && \
   12463     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12464   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12465   ac_status=$?
   12466   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12467   test $ac_status = 0; }; then
   12468   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12469 		      test "x$?" != "x0" && pkg_failed=yes
   12470 else
   12471   pkg_failed=yes
   12472 fi
   12473  else
   12474     pkg_failed=untried
   12475 fi
   12476 if test -n "$APPDEFS_LIBS"; then
   12477     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12478  elif test -n "$PKG_CONFIG"; then
   12479     if test -n "$PKG_CONFIG" && \
   12480     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12481   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12482   ac_status=$?
   12483   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12484   test $ac_status = 0; }; then
   12485   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12486 		      test "x$?" != "x0" && pkg_failed=yes
   12487 else
   12488   pkg_failed=yes
   12489 fi
   12490  else
   12491     pkg_failed=untried
   12492 fi
   12493 
   12494 
   12495 
   12496 if test $pkg_failed = yes; then
   12497    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12498 printf '%s\n' "no" >&6; }
   12499 
   12500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12501         _pkg_short_errors_supported=yes
   12502 else
   12503         _pkg_short_errors_supported=no
   12504 fi
   12505         if test $_pkg_short_errors_supported = yes; then
   12506 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12507         else
   12508 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12509         fi
   12510 	# Put the nasty error message in config.log where it belongs
   12511 	echo "$APPDEFS_PKG_ERRORS" >&5
   12512 
   12513 	as_fn_error $? "Package requirements (xt) were not met:
   12514 
   12515 $APPDEFS_PKG_ERRORS
   12516 
   12517 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12518 installed software in a non-standard prefix.
   12519 
   12520 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12521 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12522 See the pkg-config man page for more details." "$LINENO" 5
   12523 elif test $pkg_failed = untried; then
   12524      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12525 printf '%s\n' "no" >&6; }
   12526 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12527 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12528 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12529 is in your PATH or set the PKG_CONFIG environment variable to the full
   12530 path to pkg-config.
   12531 
   12532 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12533 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12534 See the pkg-config man page for more details.
   12535 
   12536 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12537 See 'config.log' for more details" "$LINENO" 5; }
   12538 else
   12539 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12540 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12541         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12542 printf '%s\n' "yes" >&6; }
   12543 
   12544 fi
   12545 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12546 
   12547 # Check whether --with-appdefaultdir was given.
   12548 if test ${with_appdefaultdir+y}
   12549 then :
   12550   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12551 else case e in #(
   12552   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12553 esac
   12554 fi
   12555 
   12556 
   12557 
   12558 
   12559 ac_config_files="$ac_config_files Makefile man/Makefile"
   12560 
   12561 cat >confcache <<\_ACEOF
   12562 # This file is a shell script that caches the results of configure
   12563 # tests run on this system so they can be shared between configure
   12564 # scripts and configure runs, see configure's option --config-cache.
   12565 # It is not useful on other systems.  If it contains results you don't
   12566 # want to keep, you may remove or edit it.
   12567 #
   12568 # config.status only pays attention to the cache file if you give it
   12569 # the --recheck option to rerun configure.
   12570 #
   12571 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12572 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12573 # following values.
   12574 
   12575 _ACEOF
   12576 
   12577 ac_cache_dump |
   12578   sed '
   12579      /^ac_cv_env_/b end
   12580      t clear
   12581      :clear
   12582      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12583      t end
   12584      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12585      :end' >>confcache
   12586 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12587   if test -w "$cache_file"; then
   12588     if test "x$cache_file" != "x/dev/null"; then
   12589       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12590 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   12591       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12592 	cat confcache >"$cache_file"
   12593       else
   12594         case $cache_file in #(
   12595         */* | ?:*)
   12596 	  mv -f confcache "$cache_file"$$ &&
   12597 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12598         *)
   12599 	  mv -f confcache "$cache_file" ;;
   12600 	esac
   12601       fi
   12602     fi
   12603   else
   12604     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12605 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   12606   fi
   12607 fi
   12608 rm -f confcache
   12609 
   12610 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12611 # Let make expand exec_prefix.
   12612 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12613 
   12614 DEFS=-DHAVE_CONFIG_H
   12615 
   12616 ac_libobjs=
   12617 ac_ltlibobjs=
   12618 U=
   12619 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12620   # 1. Remove the extension, and $U if already installed.
   12621   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12622   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   12623   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12624   #    will be set to the directory where LIBOBJS objects are built.
   12625   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12626   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12627 done
   12628 LIBOBJS=$ac_libobjs
   12629 
   12630 LTLIBOBJS=$ac_ltlibobjs
   12631 
   12632 
   12633 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12634 printf %s "checking that generated files are newer than configure... " >&6; }
   12635    if test -n "$am_sleep_pid"; then
   12636      # Hide warnings about reused PIDs.
   12637      wait $am_sleep_pid 2>/dev/null
   12638    fi
   12639    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12640 printf '%s\n' "done" >&6; }
   12641 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12642   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12644 fi
   12645 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12646   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12648 fi
   12649 case $enable_silent_rules in # (((
   12650   yes) AM_DEFAULT_VERBOSITY=0;;
   12651    no) AM_DEFAULT_VERBOSITY=1;;
   12652 esac
   12653 if test $am_cv_make_support_nested_variables = yes; then
   12654     AM_V='$(V)'
   12655   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12656 else
   12657   AM_V=$AM_DEFAULT_VERBOSITY
   12658   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12659 fi
   12660 
   12661  if test -n "$EXEEXT"; then
   12662   am__EXEEXT_TRUE=
   12663   am__EXEEXT_FALSE='#'
   12664 else
   12665   am__EXEEXT_TRUE='#'
   12666   am__EXEEXT_FALSE=
   12667 fi
   12668 
   12669 # Check whether --enable-year2038 was given.
   12670 if test ${enable_year2038+y}
   12671 then :
   12672   enableval=$enable_year2038;
   12673 fi
   12674 
   12675 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   12676   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   12677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12678 fi
   12679 
   12680 : "${CONFIG_STATUS=./config.status}"
   12681 case $CONFIG_STATUS in #(
   12682   -*) :
   12683     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   12684   */*) :
   12685      ;; #(
   12686   *) :
   12687     CONFIG_STATUS=./$CONFIG_STATUS ;;
   12688 esac
   12689 
   12690 ac_write_fail=0
   12691 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   12692 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12693 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   12694 as_write_fail=0
   12695 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   12696 #! $SHELL
   12697 # Generated by $as_me.
   12698 # Run this file to recreate the current configuration.
   12699 # Compiler output produced by configure, useful for debugging
   12700 # configure, is in config.log if it exists.
   12701 
   12702 debug=false
   12703 ac_cs_recheck=false
   12704 ac_cs_silent=false
   12705 
   12706 SHELL=\${CONFIG_SHELL-$SHELL}
   12707 export SHELL
   12708 _ASEOF
   12709 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12710 ## -------------------- ##
   12711 ## M4sh Initialization. ##
   12712 ## -------------------- ##
   12713 
   12714 # Be more Bourne compatible
   12715 DUALCASE=1; export DUALCASE # for MKS sh
   12716 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12717 then :
   12718   emulate sh
   12719   NULLCMD=:
   12720   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12721   # contradicts POSIX and common usage.  Disable this.
   12722   alias -g '${1+"$@"}'='"$@"'
   12723   setopt NO_GLOB_SUBST
   12724 else case e in #(
   12725   e) case `(set -o) 2>/dev/null` in #(
   12726   *posix*) :
   12727     set -o posix ;; #(
   12728   *) :
   12729      ;;
   12730 esac ;;
   12731 esac
   12732 fi
   12733 
   12734 
   12735 
   12736 # Reset variables that may have inherited troublesome values from
   12737 # the environment.
   12738 
   12739 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12740 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12741 # side effect of setting IFS to empty, thus disabling word splitting.)
   12742 # Quoting is to prevent editors from complaining about space-tab.
   12743 as_nl='
   12744 '
   12745 export as_nl
   12746 IFS=" ""	$as_nl"
   12747 
   12748 PS1='$ '
   12749 PS2='> '
   12750 PS4='+ '
   12751 
   12752 # Ensure predictable behavior from utilities with locale-dependent output.
   12753 LC_ALL=C
   12754 export LC_ALL
   12755 LANGUAGE=C
   12756 export LANGUAGE
   12757 
   12758 # We cannot yet rely on "unset" to work, but we need these variables
   12759 # to be unset--not just set to an empty or harmless value--now, to
   12760 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12761 # also avoids known problems related to "unset" and subshell syntax
   12762 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12763 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12764 do eval test \${$as_var+y} \
   12765   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12766 done
   12767 
   12768 # Ensure that fds 0, 1, and 2 are open.
   12769 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12770 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12771 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12772 
   12773 # The user is always right.
   12774 if ${PATH_SEPARATOR+false} :; then
   12775   PATH_SEPARATOR=:
   12776   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12777     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12778       PATH_SEPARATOR=';'
   12779   }
   12780 fi
   12781 
   12782 
   12783 # Find who we are.  Look in the path if we contain no directory separator.
   12784 as_myself=
   12785 case $0 in #((
   12786   *[\\/]* ) as_myself=$0 ;;
   12787   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12788 for as_dir in $PATH
   12789 do
   12790   IFS=$as_save_IFS
   12791   case $as_dir in #(((
   12792     '') as_dir=./ ;;
   12793     */) ;;
   12794     *) as_dir=$as_dir/ ;;
   12795   esac
   12796     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12797   done
   12798 IFS=$as_save_IFS
   12799 
   12800      ;;
   12801 esac
   12802 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12803 # in which case we are not to be found in the path.
   12804 if test "x$as_myself" = x; then
   12805   as_myself=$0
   12806 fi
   12807 if test ! -f "$as_myself"; then
   12808   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12809   exit 1
   12810 fi
   12811 
   12812 
   12813 
   12814 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12815 # ----------------------------------------
   12816 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12817 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12818 # script with STATUS, using 1 if that was 0.
   12819 as_fn_error ()
   12820 {
   12821   as_status=$1; test $as_status -eq 0 && as_status=1
   12822   if test "$4"; then
   12823     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12824     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12825   fi
   12826   printf '%s\n' "$as_me: error: $2" >&2
   12827   as_fn_exit $as_status
   12828 } # as_fn_error
   12829 
   12830 
   12831 # as_fn_set_status STATUS
   12832 # -----------------------
   12833 # Set $? to STATUS, without forking.
   12834 as_fn_set_status ()
   12835 {
   12836   return $1
   12837 } # as_fn_set_status
   12838 
   12839 # as_fn_exit STATUS
   12840 # -----------------
   12841 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12842 as_fn_exit ()
   12843 {
   12844   set +e
   12845   as_fn_set_status $1
   12846   exit $1
   12847 } # as_fn_exit
   12848 
   12849 # as_fn_unset VAR
   12850 # ---------------
   12851 # Portably unset VAR.
   12852 as_fn_unset ()
   12853 {
   12854   { eval $1=; unset $1;}
   12855 }
   12856 as_unset=as_fn_unset
   12857 
   12858 # as_fn_append VAR VALUE
   12859 # ----------------------
   12860 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12861 # advantage of any shell optimizations that allow amortized linear growth over
   12862 # repeated appends, instead of the typical quadratic growth present in naive
   12863 # implementations.
   12864 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12865 then :
   12866   eval 'as_fn_append ()
   12867   {
   12868     eval $1+=\$2
   12869   }'
   12870 else case e in #(
   12871   e) as_fn_append ()
   12872   {
   12873     eval $1=\$$1\$2
   12874   } ;;
   12875 esac
   12876 fi # as_fn_append
   12877 
   12878 # as_fn_arith ARG...
   12879 # ------------------
   12880 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12881 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12882 # must be portable across $(()) and expr.
   12883 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12884 then :
   12885   eval 'as_fn_arith ()
   12886   {
   12887     as_val=$(( $* ))
   12888   }'
   12889 else case e in #(
   12890   e) as_fn_arith ()
   12891   {
   12892     as_val=`expr "$@" || test $? -eq 1`
   12893   } ;;
   12894 esac
   12895 fi # as_fn_arith
   12896 
   12897 
   12898 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12899    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12900   as_expr=expr
   12901 else
   12902   as_expr=false
   12903 fi
   12904 
   12905 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12906   as_basename=basename
   12907 else
   12908   as_basename=false
   12909 fi
   12910 
   12911 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12912   as_dirname=dirname
   12913 else
   12914   as_dirname=false
   12915 fi
   12916 
   12917 as_me=`$as_basename -- "$0" ||
   12918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12919 	 X"$0" : 'X\(//\)$' \| \
   12920 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12921 printf '%s\n' X/"$0" |
   12922     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12923 	    s//\1/
   12924 	    q
   12925 	  }
   12926 	  /^X\/\(\/\/\)$/{
   12927 	    s//\1/
   12928 	    q
   12929 	  }
   12930 	  /^X\/\(\/\).*/{
   12931 	    s//\1/
   12932 	    q
   12933 	  }
   12934 	  s/.*/./; q'`
   12935 
   12936 # Avoid depending upon Character Ranges.
   12937 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12938 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12939 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12940 as_cr_digits='0123456789'
   12941 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12942 
   12943 rm -f conf$$ conf$$.exe conf$$.file
   12944 if test -d conf$$.dir; then
   12945   rm -f conf$$.dir/conf$$.file
   12946 else
   12947   rm -f conf$$.dir
   12948   mkdir conf$$.dir 2>/dev/null
   12949 fi
   12950 if (echo >conf$$.file) 2>/dev/null; then
   12951   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12952     as_ln_s='ln -s'
   12953     # ... but there are two gotchas:
   12954     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12955     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12956     # In both cases, we have to default to 'cp -pR'.
   12957     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12958       as_ln_s='cp -pR'
   12959   elif ln conf$$.file conf$$ 2>/dev/null; then
   12960     as_ln_s=ln
   12961   else
   12962     as_ln_s='cp -pR'
   12963   fi
   12964 else
   12965   as_ln_s='cp -pR'
   12966 fi
   12967 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12968 rmdir conf$$.dir 2>/dev/null
   12969 
   12970 
   12971 # as_fn_mkdir_p
   12972 # -------------
   12973 # Create "$as_dir" as a directory, including parents if necessary.
   12974 as_fn_mkdir_p ()
   12975 {
   12976 
   12977   case $as_dir in #(
   12978   -*) as_dir=./$as_dir;;
   12979   esac
   12980   test -d "$as_dir" || eval $as_mkdir_p || {
   12981     as_dirs=
   12982     while :; do
   12983       case $as_dir in #(
   12984       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12985       *) as_qdir=$as_dir;;
   12986       esac
   12987       as_dirs="'$as_qdir' $as_dirs"
   12988       as_dir=`$as_dirname -- "$as_dir" ||
   12989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12990 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12991 	 X"$as_dir" : 'X\(//\)$' \| \
   12992 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12993 printf '%s\n' X"$as_dir" |
   12994     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12995 	    s//\1/
   12996 	    q
   12997 	  }
   12998 	  /^X\(\/\/\)[^/].*/{
   12999 	    s//\1/
   13000 	    q
   13001 	  }
   13002 	  /^X\(\/\/\)$/{
   13003 	    s//\1/
   13004 	    q
   13005 	  }
   13006 	  /^X\(\/\).*/{
   13007 	    s//\1/
   13008 	    q
   13009 	  }
   13010 	  s/.*/./; q'`
   13011       test -d "$as_dir" && break
   13012     done
   13013     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13014   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13015 
   13016 
   13017 } # as_fn_mkdir_p
   13018 if mkdir -p . 2>/dev/null; then
   13019   as_mkdir_p='mkdir -p "$as_dir"'
   13020 else
   13021   test -d ./-p && rmdir ./-p
   13022   as_mkdir_p=false
   13023 fi
   13024 
   13025 
   13026 # as_fn_executable_p FILE
   13027 # -----------------------
   13028 # Test if FILE is an executable regular file.
   13029 as_fn_executable_p ()
   13030 {
   13031   test -f "$1" && test -x "$1"
   13032 } # as_fn_executable_p
   13033 as_test_x='test -x'
   13034 as_executable_p=as_fn_executable_p
   13035 
   13036 # Sed expression to map a string onto a valid CPP name.
   13037 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   13038 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   13039 
   13040 # Sed expression to map a string onto a valid variable name.
   13041 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   13042 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   13043 
   13044 
   13045 exec 6>&1
   13046 ## ------------------------------------- ##
   13047 ## Main body of "$CONFIG_STATUS" script. ##
   13048 ## ------------------------------------- ##
   13049 _ASEOF
   13050 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   13051 
   13052 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13053 # Save the log message, to keep $0 and so on meaningful, and to
   13054 # report actual input values of CONFIG_FILES etc. instead of their
   13055 # values after options handling.
   13056 ac_log="
   13057 This file was extended by xload $as_me 1.2.1, which was
   13058 generated by GNU Autoconf 2.73.  Invocation command line was
   13059 
   13060   CONFIG_FILES    = $CONFIG_FILES
   13061   CONFIG_HEADERS  = $CONFIG_HEADERS
   13062   CONFIG_LINKS    = $CONFIG_LINKS
   13063   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13064   $ $0 $@
   13065 
   13066 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13067 "
   13068 
   13069 _ACEOF
   13070 
   13071 case $ac_config_files in *"
   13072 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13073 esac
   13074 
   13075 case $ac_config_headers in *"
   13076 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13077 esac
   13078 
   13079 
   13080 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13081 # Files that config.status was made for.
   13082 config_files="$ac_config_files"
   13083 config_headers="$ac_config_headers"
   13084 config_commands="$ac_config_commands"
   13085 
   13086 _ACEOF
   13087 
   13088 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13089 ac_cs_usage="\
   13090 '$as_me' instantiates files and other configuration actions
   13091 from templates according to the current configuration.  Unless the files
   13092 and actions are specified as TAGs, all are instantiated by default.
   13093 
   13094 Usage: $0 [OPTION]... [TAG]...
   13095 
   13096   -h, --help       print this help, then exit
   13097   -V, --version    print version number and configuration settings, then exit
   13098       --config     print configuration, then exit
   13099   -q, --quiet, --silent
   13100                    do not print progress messages
   13101   -d, --debug      don't remove temporary files
   13102       --recheck    update $as_me by reconfiguring in the same conditions
   13103       --file=FILE[:TEMPLATE]
   13104                    instantiate the configuration file FILE
   13105       --header=FILE[:TEMPLATE]
   13106                    instantiate the configuration header FILE
   13107 
   13108 Configuration files:
   13109 $config_files
   13110 
   13111 Configuration headers:
   13112 $config_headers
   13113 
   13114 Configuration commands:
   13115 $config_commands
   13116 
   13117 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/issues>."
   13118 
   13119 _ACEOF
   13120 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   13121 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   13122 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13123 ac_cs_config='$ac_cs_config_escaped'
   13124 ac_cs_version="\\
   13125 xload config.status 1.2.1
   13126 configured by $0, generated by GNU Autoconf 2.73,
   13127   with options \\"\$ac_cs_config\\"
   13128 
   13129 Copyright (C) 2026 Free Software Foundation, Inc.
   13130 This config.status script is free software; the Free Software Foundation
   13131 gives unlimited permission to copy, distribute and modify it."
   13132 
   13133 ac_pwd='$ac_pwd'
   13134 srcdir='$srcdir'
   13135 INSTALL='$INSTALL'
   13136 MKDIR_P='$MKDIR_P'
   13137 AWK='$AWK'
   13138 test -n "\$AWK" || {
   13139   awk '' </dev/null ||
   13140     as_fn_error \$? "try installing gawk"
   13141   AWK=awk
   13142 }
   13143 _ACEOF
   13144 
   13145 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13146 # The default lists apply if the user does not specify any file.
   13147 ac_need_defaults=:
   13148 while test $# != 0
   13149 do
   13150   case $1 in
   13151   --*=?*)
   13152     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13153     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13154     ac_shift=:
   13155     ;;
   13156   --*=)
   13157     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13158     ac_optarg=
   13159     ac_shift=:
   13160     ;;
   13161   *)
   13162     ac_option=$1
   13163     ac_optarg=$2
   13164     ac_shift=shift
   13165     ;;
   13166   esac
   13167 
   13168   case $ac_option in
   13169   # Handling of the options.
   13170   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13171     ac_cs_recheck=: ;;
   13172   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13173     printf '%s\n' "$ac_cs_version"; exit ;;
   13174   --config | --confi | --conf | --con | --co | --c )
   13175     printf '%s\n' "$ac_cs_config"; exit ;;
   13176   --debug | --debu | --deb | --de | --d | -d )
   13177     debug=: ;;
   13178   --file | --fil | --fi | --f )
   13179     $ac_shift
   13180     case $ac_optarg in
   13181     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13182     '') as_fn_error $? "missing file argument" ;;
   13183     esac
   13184     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13185     ac_need_defaults=false;;
   13186   --header | --heade | --head | --hea )
   13187     $ac_shift
   13188     case $ac_optarg in
   13189     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13190     esac
   13191     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13192     ac_need_defaults=false;;
   13193   --he | --h)
   13194     # Conflict between --help and --header
   13195     as_fn_error $? "ambiguous option: '$1'
   13196 Try '$0 --help' for more information.";;
   13197   --help | --hel | -h )
   13198     printf '%s\n' "$ac_cs_usage"; exit ;;
   13199   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13200   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13201     ac_cs_silent=: ;;
   13202 
   13203   # This is an error.
   13204   -*) as_fn_error $? "unrecognized option: '$1'
   13205 Try '$0 --help' for more information." ;;
   13206 
   13207   *) as_fn_append ac_config_targets " $1"
   13208      ac_need_defaults=false ;;
   13209 
   13210   esac
   13211   shift
   13212 done
   13213 
   13214 ac_configure_extra_args=
   13215 
   13216 if $ac_cs_silent; then
   13217   exec 6>/dev/null
   13218   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13219 fi
   13220 
   13221 _ACEOF
   13222 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13223 if \$ac_cs_recheck; then
   13224   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13225   shift
   13226   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   13227   CONFIG_SHELL='$SHELL'
   13228   export CONFIG_SHELL
   13229   exec "\$@"
   13230 fi
   13231 
   13232 _ACEOF
   13233 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13234 exec 5>>config.log
   13235 {
   13236   echo
   13237   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13238 ## Running $as_me. ##
   13239 _ASBOX
   13240   printf '%s\n' "$ac_log"
   13241 } >&5
   13242 
   13243 _ACEOF
   13244 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13245 #
   13246 # INIT-COMMANDS
   13247 #
   13248 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13249 
   13250 _ACEOF
   13251 
   13252 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13253 
   13254 # Handling of arguments.
   13255 for ac_config_target in $ac_config_targets
   13256 do
   13257   case $ac_config_target in
   13258     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13259     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13260     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13261     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13262 
   13263   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13264   esac
   13265 done
   13266 
   13267 
   13268 # If the user did not use the arguments to specify the items to instantiate,
   13269 # then the envvar interface is used.  Set only those that are not.
   13270 # We use the long form for the default assignment because of an extremely
   13271 # bizarre bug on SunOS 4.1.3.
   13272 if $ac_need_defaults; then
   13273   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13274   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13275   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13276 fi
   13277 
   13278 # Have a temporary directory for convenience.  Make it in the build tree
   13279 # simply because there is no reason against having it here, and in addition,
   13280 # creating and moving files from /tmp can sometimes cause problems.
   13281 # Hook for its removal unless debugging.
   13282 # Note that there is a small window in which the directory will not be cleaned:
   13283 # after its creation but before its name has been assigned to '$tmp'.
   13284 $debug ||
   13285 {
   13286   tmp= ac_tmp=
   13287   trap 'exit_status=$?
   13288   : "${ac_tmp:=$tmp}"
   13289   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13290 ' 0
   13291   trap 'as_fn_exit 1' 1 2 13 15
   13292 }
   13293 # Create a (secure) tmp directory for tmp files.
   13294 
   13295 {
   13296   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13297   test -d "$tmp"
   13298 }  ||
   13299 {
   13300   tmp=./conf$$-$RANDOM
   13301   (umask 077 && mkdir "$tmp")
   13302 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13303 ac_tmp=$tmp
   13304 
   13305 # Set up the scripts for CONFIG_FILES section.
   13306 # No need to generate them if there are no CONFIG_FILES.
   13307 # This happens for instance with './config.status config.h'.
   13308 if test -n "$CONFIG_FILES"; then
   13309 
   13310 
   13311 ac_cr=`echo X | tr X '\015'`
   13312 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13313 # But we know of no other shell where ac_cr would be empty at this
   13314 # point, so we can use a bashism as a fallback.
   13315 if test "x$ac_cr" = x; then
   13316   eval ac_cr=\$\'\\r\'
   13317 fi
   13318 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13320   ac_cs_awk_cr='\\r'
   13321 else
   13322   ac_cs_awk_cr=$ac_cr
   13323 fi
   13324 
   13325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13326 _ACEOF
   13327 
   13328 
   13329 {
   13330   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13331   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13332   echo "_ACEOF"
   13333 } >conf$$subs.sh ||
   13334   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13335 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   13336 ac_delim='%!_!# '
   13337 for ac_last_try in false false false false false :; do
   13338   . ./conf$$subs.sh ||
   13339     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13340 
   13341   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   13342   if test $ac_delim_n = $ac_delim_num; then
   13343     break
   13344   elif $ac_last_try; then
   13345     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13346   else
   13347     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13348   fi
   13349 done
   13350 rm -f conf$$subs.sh
   13351 
   13352 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13353 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13354 _ACEOF
   13355 sed -n '
   13356 h
   13357 s/^/S["/; s/!.*/"]=/
   13358 p
   13359 g
   13360 s/^[^!]*!//
   13361 :repl
   13362 t repl
   13363 s/'"$ac_delim"'$//
   13364 t delim
   13365 :nl
   13366 h
   13367 s/\(.\{148\}\)..*/\1/
   13368 t more1
   13369 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13370 p
   13371 n
   13372 b repl
   13373 :more1
   13374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13375 p
   13376 g
   13377 s/.\{148\}//
   13378 t nl
   13379 :delim
   13380 h
   13381 s/\(.\{148\}\)..*/\1/
   13382 t more2
   13383 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13384 p
   13385 b
   13386 :more2
   13387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13388 p
   13389 g
   13390 s/.\{148\}//
   13391 t delim
   13392 ' <conf$$subs.awk | sed '
   13393 /^[^""]/{
   13394   N
   13395   s/\n//
   13396 }
   13397 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   13398 rm -f conf$$subs.awk
   13399 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13400 _ACAWK
   13401 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13402   for (key in S) S_is_set[key] = 1
   13403   FS = ""
   13404 
   13405 }
   13406 {
   13407   line = $ 0
   13408   nfields = split(line, field, "@")
   13409   substed = 0
   13410   len = length(field[1])
   13411   for (i = 2; i < nfields; i++) {
   13412     key = field[i]
   13413     keylen = length(key)
   13414     if (S_is_set[key]) {
   13415       value = S[key]
   13416       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13417       len += length(value) + length(field[++i])
   13418       substed = 1
   13419     } else
   13420       len += 1 + keylen
   13421   }
   13422 
   13423   print line
   13424 }
   13425 
   13426 _ACAWK
   13427 _ACEOF
   13428 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13429 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13430   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13431 else
   13432   cat
   13433 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13434   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13435 _ACEOF
   13436 
   13437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13439 # trailing colons and then remove the whole line if VPATH becomes empty
   13440 # (actually we leave an empty line to preserve line numbers).
   13441 if test "x$srcdir" = x.; then
   13442   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13443 h
   13444 s///
   13445 s/^/:/
   13446 s/[	 ]*$/:/
   13447 s/:\$(srcdir):/:/g
   13448 s/:\${srcdir}:/:/g
   13449 s/:@srcdir@:/:/g
   13450 s/^:*//
   13451 s/:*$//
   13452 x
   13453 s/\(=[	 ]*\).*/\1/
   13454 G
   13455 s/\n//
   13456 s/^[^=]*=[	 ]*$//
   13457 }'
   13458 fi
   13459 
   13460 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13461 fi # test -n "$CONFIG_FILES"
   13462 
   13463 # Set up the scripts for CONFIG_HEADERS section.
   13464 # No need to generate them if there are no CONFIG_HEADERS.
   13465 # This happens for instance with './config.status Makefile'.
   13466 if test -n "$CONFIG_HEADERS"; then
   13467 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13468 BEGIN {
   13469 _ACEOF
   13470 
   13471 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13472 # here-document in config.status, that substitutes the proper values into
   13473 # config.h.in to produce config.h.
   13474 
   13475 # Create a delimiter string that does not exist in confdefs.h, to ease
   13476 # handling of long lines.
   13477 ac_delim='%!_!# '
   13478 for ac_last_try in false false :; do
   13479   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13480   if test -z "$ac_tt"; then
   13481     break
   13482   elif $ac_last_try; then
   13483     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13484   else
   13485     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13486   fi
   13487 done
   13488 
   13489 # For the awk script, D is an array of macro values keyed by name,
   13490 # likewise P contains macro parameters if any.  Preserve backslash
   13491 # newline sequences.
   13492 
   13493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13494 sed -n '
   13495 s/.\{148\}/&'"$ac_delim"'/g
   13496 t rset
   13497 :rset
   13498 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13499 t def
   13500 d
   13501 :def
   13502 s/\\$//
   13503 t bsnl
   13504 s/["\\]/\\&/g
   13505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13506 D["\1"]=" \3"/p
   13507 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13508 d
   13509 :bsnl
   13510 s/["\\]/\\&/g
   13511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13512 D["\1"]=" \3\\\\\\n"\\/p
   13513 t cont
   13514 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13515 t cont
   13516 d
   13517 :cont
   13518 n
   13519 s/.\{148\}/&'"$ac_delim"'/g
   13520 t clear
   13521 :clear
   13522 s/\\$//
   13523 t bsnlc
   13524 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13525 d
   13526 :bsnlc
   13527 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13528 b cont
   13529 ' <confdefs.h | sed '
   13530 s/'"$ac_delim"'/"\\\
   13531 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   13532 
   13533 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13534   for (key in D) D_is_set[key] = 1
   13535   FS = ""
   13536 }
   13537 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13538   line = \$ 0
   13539   split(line, arg, " ")
   13540   if (arg[1] == "#") {
   13541     defundef = arg[2]
   13542     mac1 = arg[3]
   13543   } else {
   13544     defundef = substr(arg[1], 2)
   13545     mac1 = arg[2]
   13546   }
   13547   split(mac1, mac2, "(") #)
   13548   macro = mac2[1]
   13549   prefix = substr(line, 1, index(line, defundef) - 1)
   13550   if (D_is_set[macro]) {
   13551     suffix = P[macro] D[macro]
   13552     while (suffix ~ /[\t ]$/) {
   13553       suffix = substr(suffix, 1, length(suffix) - 1)
   13554     }
   13555     # Preserve the white space surrounding the "#".
   13556     print prefix "define", macro suffix
   13557     next
   13558   } else {
   13559     # Replace #undef with comments.  This is necessary, for example,
   13560     # in the case of _POSIX_SOURCE, which is predefined and required
   13561     # on some systems where configure will not decide to define it.
   13562     if (defundef == "undef") {
   13563       print "/*", prefix defundef, macro, "*/"
   13564       next
   13565     }
   13566   }
   13567 }
   13568 { print }
   13569 _ACAWK
   13570 _ACEOF
   13571 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13572   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13573 fi # test -n "$CONFIG_HEADERS"
   13574 
   13575 
   13576 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13577 shift
   13578 for ac_tag
   13579 do
   13580   case $ac_tag in
   13581   :[FHLC]) ac_mode=$ac_tag; continue;;
   13582   esac
   13583   case $ac_mode$ac_tag in
   13584   :[FHL]*:*);;
   13585   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13586   :[FH]-) ac_tag=-:-;;
   13587   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13588   esac
   13589   ac_save_IFS=$IFS
   13590   IFS=:
   13591   set x $ac_tag
   13592   IFS=$ac_save_IFS
   13593   shift
   13594   ac_file=$1
   13595   shift
   13596 
   13597   case $ac_mode in
   13598   :L) ac_source=$1;;
   13599   :[FH])
   13600     ac_file_inputs=
   13601     for ac_f
   13602     do
   13603       case $ac_f in
   13604       -) ac_f="$ac_tmp/stdin";;
   13605       *) # Look for the file first in the build tree, then in the source tree
   13606 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13607 	 # because $ac_f cannot contain ':'.
   13608 	 test -f "$ac_f" ||
   13609 	   case $ac_f in
   13610 	   [\\/$]*) false;;
   13611 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13612 	   esac ||
   13613 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13614       esac
   13615       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13616       as_fn_append ac_file_inputs " '$ac_f'"
   13617     done
   13618 
   13619     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13620     # use $as_me), people would be surprised to read:
   13621     #    /* config.h.  Generated by config.status.  */
   13622     configure_input='Generated from '`
   13623 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13624 	`' by configure.'
   13625     if test x"$ac_file" != x-; then
   13626       configure_input="$ac_file.  $configure_input"
   13627       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13628 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   13629     fi
   13630     # Neutralize special characters interpreted by sed in replacement strings.
   13631     case $configure_input in #(
   13632     *\&* | *\|* | *\\* )
   13633        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   13634        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13635     *) ac_sed_conf_input=$configure_input;;
   13636     esac
   13637 
   13638     case $ac_tag in
   13639     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13640       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13641     esac
   13642     ;;
   13643   esac
   13644 
   13645   ac_dir=`$as_dirname -- "$ac_file" ||
   13646 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13647 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13648 	 X"$ac_file" : 'X\(//\)$' \| \
   13649 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13650 printf '%s\n' X"$ac_file" |
   13651     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13652 	    s//\1/
   13653 	    q
   13654 	  }
   13655 	  /^X\(\/\/\)[^/].*/{
   13656 	    s//\1/
   13657 	    q
   13658 	  }
   13659 	  /^X\(\/\/\)$/{
   13660 	    s//\1/
   13661 	    q
   13662 	  }
   13663 	  /^X\(\/\).*/{
   13664 	    s//\1/
   13665 	    q
   13666 	  }
   13667 	  s/.*/./; q'`
   13668   as_dir="$ac_dir"; as_fn_mkdir_p
   13669   ac_builddir=.
   13670 
   13671 case "$ac_dir" in
   13672 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13673 *)
   13674   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   13675   # A ".." for each directory in $ac_dir_suffix.
   13676   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13677   case $ac_top_builddir_sub in
   13678   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13679   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13680   esac ;;
   13681 esac
   13682 ac_abs_top_builddir=$ac_pwd
   13683 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13684 # for backward compatibility:
   13685 ac_top_builddir=$ac_top_build_prefix
   13686 
   13687 case $srcdir in
   13688   .)  # We are building in place.
   13689     ac_srcdir=.
   13690     ac_top_srcdir=$ac_top_builddir_sub
   13691     ac_abs_top_srcdir=$ac_pwd ;;
   13692   [\\/]* | ?:[\\/]* )  # Absolute name.
   13693     ac_srcdir=$srcdir$ac_dir_suffix;
   13694     ac_top_srcdir=$srcdir
   13695     ac_abs_top_srcdir=$srcdir ;;
   13696   *) # Relative name.
   13697     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13698     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13699     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13700 esac
   13701 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13702 
   13703 
   13704   case $ac_mode in
   13705   :F)
   13706   #
   13707   # CONFIG_FILE
   13708   #
   13709 
   13710   case $INSTALL in
   13711   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13712   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13713   esac
   13714   ac_MKDIR_P=$MKDIR_P
   13715   case $MKDIR_P in
   13716   [\\/$]* | ?:[\\/]* ) ;;
   13717   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13718   esac
   13719 _ACEOF
   13720 
   13721 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13722 # If the template does not know about datarootdir, expand it.
   13723 # FIXME: This hack should be removed a few years after 2.60.
   13724 ac_datarootdir_hack=; ac_datarootdir_seen=
   13725 ac_sed_dataroot='
   13726 /datarootdir/ {
   13727   p
   13728   q
   13729 }
   13730 /@datadir@/p
   13731 /@docdir@/p
   13732 /@infodir@/p
   13733 /@localedir@/p
   13734 /@mandir@/p'
   13735 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13736 *datarootdir*) ac_datarootdir_seen=yes;;
   13737 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13738   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13739 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13740 _ACEOF
   13741 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13742   ac_datarootdir_hack='
   13743   s&@datadir@&$datadir&g
   13744   s&@docdir@&$docdir&g
   13745   s&@infodir@&$infodir&g
   13746   s&@localedir@&$localedir&g
   13747   s&@mandir@&$mandir&g
   13748   s&\\\${datarootdir}&$datarootdir&g' ;;
   13749 esac
   13750 _ACEOF
   13751 
   13752 # Neutralize VPATH when '$srcdir' = '.'.
   13753 # Shell code in configure.ac might set extrasub.
   13754 # FIXME: do we really want to maintain this feature?
   13755 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13756 ac_sed_extra="$ac_vpsub
   13757 $extrasub
   13758 _ACEOF
   13759 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13760 :t
   13761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13762 s|@configure_input@|$ac_sed_conf_input|;t t
   13763 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13764 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13765 s&@srcdir@&$ac_srcdir&;t t
   13766 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13767 s&@top_srcdir@&$ac_top_srcdir&;t t
   13768 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13769 s&@builddir@&$ac_builddir&;t t
   13770 s&@abs_builddir@&$ac_abs_builddir&;t t
   13771 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13772 s&@INSTALL@&$ac_INSTALL&;t t
   13773 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13774 $ac_datarootdir_hack
   13775 "
   13776 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13777   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13778 
   13779 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13780   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13781   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13782       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13783   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13784 which seems to be undefined.  Please make sure it is defined" >&5
   13785 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13786 which seems to be undefined.  Please make sure it is defined" >&2;}
   13787 
   13788   rm -f "$ac_tmp/stdin"
   13789   case $ac_file in
   13790   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13791   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13792   esac \
   13793   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13794  ;;
   13795   :H)
   13796   #
   13797   # CONFIG_HEADER
   13798   #
   13799   if test x"$ac_file" != x-; then
   13800     {
   13801       printf '%s\n' "/* $configure_input  */" >&1 \
   13802       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13803     } >"$ac_tmp/config.h" \
   13804       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13805     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13806       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13807 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13808     else
   13809       rm -f "$ac_file"
   13810       mv "$ac_tmp/config.h" "$ac_file" \
   13811 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13812     fi
   13813   else
   13814     printf '%s\n' "/* $configure_input  */" >&1 \
   13815       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13816       || as_fn_error $? "could not create -" "$LINENO" 5
   13817   fi
   13818 # Compute "$ac_file"'s index in $config_headers.
   13819 _am_arg="$ac_file"
   13820 _am_stamp_count=1
   13821 for _am_header in $config_headers :; do
   13822   case $_am_header in
   13823     $_am_arg | $_am_arg:* )
   13824       break ;;
   13825     * )
   13826       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13827   esac
   13828 done
   13829 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13830 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13831 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13832 	 X"$_am_arg" : 'X\(//\)$' \| \
   13833 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13834 printf '%s\n' X"$_am_arg" |
   13835     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13836 	    s//\1/
   13837 	    q
   13838 	  }
   13839 	  /^X\(\/\/\)[^/].*/{
   13840 	    s//\1/
   13841 	    q
   13842 	  }
   13843 	  /^X\(\/\/\)$/{
   13844 	    s//\1/
   13845 	    q
   13846 	  }
   13847 	  /^X\(\/\).*/{
   13848 	    s//\1/
   13849 	    q
   13850 	  }
   13851 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13852  ;;
   13853 
   13854   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13855 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13856  ;;
   13857   esac
   13858 
   13859 
   13860   case $ac_file$ac_mode in
   13861     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13862   # Older Autoconf quotes --file arguments for eval, but not when files
   13863   # are listed without --file.  Let's play safe and only enable the eval
   13864   # if we detect the quoting.
   13865   # TODO: see whether this extra hack can be removed once we start
   13866   # requiring Autoconf 2.70 or later.
   13867   case $CONFIG_FILES in #(
   13868   *\'*) :
   13869     eval set x "$CONFIG_FILES" ;; #(
   13870   *) :
   13871     set x $CONFIG_FILES ;; #(
   13872   *) :
   13873      ;;
   13874 esac
   13875   shift
   13876   # Used to flag and report bootstrapping failures.
   13877   am_rc=0
   13878   for am_mf
   13879   do
   13880     # Strip MF so we end up with the name of the file.
   13881     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13882     # Check whether this is an Automake generated Makefile which includes
   13883     # dependency-tracking related rules and includes.
   13884     # Grep'ing the whole file directly is not great: AIX grep has a line
   13885     # limit of 2048, but all sed's we know have understand at least 4000.
   13886     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13887       || continue
   13888     am_dirpart=`$as_dirname -- "$am_mf" ||
   13889 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13890 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13891 	 X"$am_mf" : 'X\(//\)$' \| \
   13892 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13893 printf '%s\n' X"$am_mf" |
   13894     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13895 	    s//\1/
   13896 	    q
   13897 	  }
   13898 	  /^X\(\/\/\)[^/].*/{
   13899 	    s//\1/
   13900 	    q
   13901 	  }
   13902 	  /^X\(\/\/\)$/{
   13903 	    s//\1/
   13904 	    q
   13905 	  }
   13906 	  /^X\(\/\).*/{
   13907 	    s//\1/
   13908 	    q
   13909 	  }
   13910 	  s/.*/./; q'`
   13911     am_filepart=`$as_basename -- "$am_mf" ||
   13912 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13913 	 X"$am_mf" : 'X\(//\)$' \| \
   13914 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13915 printf '%s\n' X/"$am_mf" |
   13916     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13917 	    s//\1/
   13918 	    q
   13919 	  }
   13920 	  /^X\/\(\/\/\)$/{
   13921 	    s//\1/
   13922 	    q
   13923 	  }
   13924 	  /^X\/\(\/\).*/{
   13925 	    s//\1/
   13926 	    q
   13927 	  }
   13928 	  s/.*/./; q'`
   13929     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13930       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13931         | $MAKE -f - am--depfiles" >&5
   13932    (cd "$am_dirpart" \
   13933       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13934         | $MAKE -f - am--depfiles) >&5 2>&5
   13935    ac_status=$?
   13936    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13937    (exit $ac_status); } || am_rc=$?
   13938   done
   13939   if test $am_rc -ne 0; then
   13940     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13941 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13942 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13943     for automatic dependency tracking.  If GNU make was not used, consider
   13944     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13945     necessary).  You can also try re-running configure with the
   13946     '--disable-dependency-tracking' option to at least be able to build
   13947     the package (albeit without support for automatic dependency tracking).
   13948 See 'config.log' for more details" "$LINENO" 5; }
   13949   fi
   13950   { am_dirpart=; unset am_dirpart;}
   13951   { am_filepart=; unset am_filepart;}
   13952   { am_mf=; unset am_mf;}
   13953   { am_rc=; unset am_rc;}
   13954   rm -f conftest-deps.mk
   13955 }
   13956  ;;
   13957 
   13958   esac
   13959 done # for ac_tag
   13960 
   13961 
   13962 as_fn_exit 0
   13963 _ACEOF
   13964 ac_clean_CONFIG_STATUS=
   13965 
   13966 test $ac_write_fail = 0 ||
   13967   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13968 
   13969 
   13970 # configure is writing to config.log, and then calls config.status.
   13971 # config.status does its own redirection, appending to config.log.
   13972 # Unfortunately, on DOS this fails, as config.log is still kept open
   13973 # by configure, so config.status won't be able to write to it; its
   13974 # output is simply discarded.  So we exec the FD to /dev/null,
   13975 # effectively closing config.log, so it can be properly (re)opened and
   13976 # appended to by config.status.  When coming back to configure, we
   13977 # need to make the FD available again.
   13978 if test "$no_create" != yes; then
   13979   ac_cs_success=:
   13980   case $CONFIG_STATUS in #(
   13981   -*) :
   13982     ac_no_opts=-- ;; #(
   13983   *) :
   13984     ac_no_opts= ;;
   13985 esac
   13986   ac_config_status_args=
   13987   test "$silent" = yes &&
   13988     ac_config_status_args="$ac_config_status_args --quiet"
   13989   exec 5>/dev/null
   13990   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13991     ac_cs_success=false
   13992   exec 5>>config.log
   13993   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13994   # would make configure fail if this is the last instruction.
   13995   $ac_cs_success || as_fn_exit 1
   13996 fi
   13997 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13998   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13999 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14000 fi
   14001 
   14002 
   14003