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 iceauth 1.0.11.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/iceauth/-/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/iceauth/-/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='iceauth'
    591 PACKAGE_TARNAME='iceauth'
    592 PACKAGE_VERSION='1.0.11'
    593 PACKAGE_STRING='iceauth 1.0.11'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/iceauth/-/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 LINT_FALSE
    636 LINT_TRUE
    637 LINT_FLAGS
    638 LINT
    639 ICEAUTH_LIBS
    640 ICEAUTH_CFLAGS
    641 MAN_SUBSTS
    642 XORG_MAN_PAGE
    643 ADMIN_MAN_DIR
    644 DRIVER_MAN_DIR
    645 MISC_MAN_DIR
    646 FILE_MAN_DIR
    647 LIB_MAN_DIR
    648 APP_MAN_DIR
    649 ADMIN_MAN_SUFFIX
    650 DRIVER_MAN_SUFFIX
    651 MISC_MAN_SUFFIX
    652 FILE_MAN_SUFFIX
    653 LIB_MAN_SUFFIX
    654 APP_MAN_SUFFIX
    655 SED
    656 host_os
    657 host_vendor
    658 host_cpu
    659 host
    660 build_os
    661 build_vendor
    662 build_cpu
    663 build
    664 INSTALL_CMD
    665 PKG_CONFIG_LIBDIR
    666 PKG_CONFIG_PATH
    667 PKG_CONFIG
    668 CHANGELOG_CMD
    669 STRICT_CFLAGS
    670 CWARNFLAGS
    671 BASE_CFLAGS
    672 am__xargs_n
    673 am__rm_f_notfound
    674 AM_BACKSLASH
    675 AM_DEFAULT_VERBOSITY
    676 AM_DEFAULT_V
    677 AM_V
    678 CSCOPE
    679 ETAGS
    680 CTAGS
    681 am__fastdepCC_FALSE
    682 am__fastdepCC_TRUE
    683 CCDEPMODE
    684 am__nodep
    685 AMDEPBACKSLASH
    686 AMDEP_FALSE
    687 AMDEP_TRUE
    688 am__include
    689 DEPDIR
    690 am__untar
    691 am__tar
    692 AMTAR
    693 am__leading_dot
    694 SET_MAKE
    695 AWK
    696 mkdir_p
    697 MKDIR_P
    698 INSTALL_STRIP_PROGRAM
    699 STRIP
    700 install_sh
    701 MAKEINFO
    702 AUTOHEADER
    703 AUTOMAKE
    704 AUTOCONF
    705 ACLOCAL
    706 VERSION
    707 PACKAGE
    708 CYGPATH_W
    709 am__isrc
    710 INSTALL_DATA
    711 INSTALL_SCRIPT
    712 INSTALL_PROGRAM
    713 OBJEXT
    714 EXEEXT
    715 ac_ct_CC
    716 CPPFLAGS
    717 LDFLAGS
    718 CFLAGS
    719 CC
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 DEFS
    728 mandir
    729 localedir
    730 libdir
    731 psdir
    732 pdfdir
    733 dvidir
    734 htmldir
    735 infodir
    736 docdir
    737 oldincludedir
    738 includedir
    739 runstatedir
    740 localstatedir
    741 sharedstatedir
    742 sysconfdir
    743 datadir
    744 datarootdir
    745 libexecdir
    746 sbindir
    747 bindir
    748 program_transform_name
    749 prefix
    750 exec_prefix
    751 PACKAGE_URL
    752 PACKAGE_BUGREPORT
    753 PACKAGE_STRING
    754 PACKAGE_VERSION
    755 PACKAGE_TARNAME
    756 PACKAGE_NAME
    757 PATH_SEPARATOR
    758 SHELL
    759 am__quote'
    760 ac_subst_files=''
    761 ac_user_opts='
    762 enable_option_checking
    763 enable_dependency_tracking
    764 enable_silent_rules
    765 enable_selective_werror
    766 enable_strict_compilation
    767 enable_largefile
    768 with_lint
    769 enable_year2038
    770 '
    771       ac_precious_vars='build_alias
    772 host_alias
    773 target_alias
    774 CC
    775 CFLAGS
    776 LDFLAGS
    777 LIBS
    778 CPPFLAGS
    779 PKG_CONFIG
    780 PKG_CONFIG_PATH
    781 PKG_CONFIG_LIBDIR
    782 ICEAUTH_CFLAGS
    783 ICEAUTH_LIBS
    784 LINT
    785 LINT_FLAGS'
    786 
    787 
    788 # Initialize some variables set by options.
    789 ac_init_help=
    790 ac_init_version=false
    791 ac_unrecognized_opts=
    792 ac_unrecognized_sep=
    793 # The variables have the same names as the options, with
    794 # dashes changed to underlines.
    795 cache_file=/dev/null
    796 exec_prefix=NONE
    797 no_create=
    798 no_recursion=
    799 prefix=NONE
    800 program_prefix=NONE
    801 program_suffix=NONE
    802 program_transform_name=s,x,x,
    803 silent=
    804 site=
    805 srcdir=
    806 verbose=
    807 x_includes=NONE
    808 x_libraries=NONE
    809 
    810 # Installation directory options.
    811 # These are left unexpanded so users can "make install exec_prefix=/foo"
    812 # and all the variables that are supposed to be based on exec_prefix
    813 # by default will actually change.
    814 # Use braces instead of parens because sh, perl, etc. also accept them.
    815 # (The list follows the same order as the GNU Coding Standards.)
    816 bindir='${exec_prefix}/bin'
    817 sbindir='${exec_prefix}/sbin'
    818 libexecdir='${exec_prefix}/libexec'
    819 datarootdir='${prefix}/share'
    820 datadir='${datarootdir}'
    821 sysconfdir='${prefix}/etc'
    822 sharedstatedir='${prefix}/com'
    823 localstatedir='${prefix}/var'
    824 runstatedir='${localstatedir}/run'
    825 includedir='${prefix}/include'
    826 oldincludedir='/usr/include'
    827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    828 infodir='${datarootdir}/info'
    829 htmldir='${docdir}'
    830 dvidir='${docdir}'
    831 pdfdir='${docdir}'
    832 psdir='${docdir}'
    833 libdir='${exec_prefix}/lib'
    834 localedir='${datarootdir}/locale'
    835 mandir='${datarootdir}/man'
    836 
    837 ac_prev=
    838 ac_dashdash=
    839 for ac_option
    840 do
    841   # If the previous option needs an argument, assign it.
    842   if test -n "$ac_prev"; then
    843     eval $ac_prev=\$ac_option
    844     ac_prev=
    845     continue
    846   fi
    847 
    848   case $ac_option in
    849   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    850   *=)   ac_optarg= ;;
    851   *)    ac_optarg=yes ;;
    852   esac
    853 
    854   case $ac_dashdash$ac_option in
    855   --)
    856     ac_dashdash=yes ;;
    857 
    858   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    859     ac_prev=bindir ;;
    860   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    861     bindir=$ac_optarg ;;
    862 
    863   -build | --build | --buil | --bui | --bu)
    864     ac_prev=build_alias ;;
    865   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    866     build_alias=$ac_optarg ;;
    867 
    868   -cache-file | --cache-file | --cache-fil | --cache-fi \
    869   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    870     ac_prev=cache_file ;;
    871   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    872   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    873     cache_file=$ac_optarg ;;
    874 
    875   --config-cache | -C)
    876     cache_file=config.cache ;;
    877 
    878   -datadir | --datadir | --datadi | --datad)
    879     ac_prev=datadir ;;
    880   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    881     datadir=$ac_optarg ;;
    882 
    883   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    884   | --dataroo | --dataro | --datar)
    885     ac_prev=datarootdir ;;
    886   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    887   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    888     datarootdir=$ac_optarg ;;
    889 
    890   -disable-* | --disable-*)
    891     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    892     # Reject names that are not valid shell variable names.
    893     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    894       as_fn_error $? "invalid feature name: '$ac_useropt'"
    895     ac_useropt_orig=$ac_useropt
    896     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    897     case $ac_user_opts in
    898       *"
    899 "enable_$ac_useropt"
    900 "*) ;;
    901       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    902 	 ac_unrecognized_sep=', ';;
    903     esac
    904     eval enable_$ac_useropt=no ;;
    905 
    906   -docdir | --docdir | --docdi | --doc | --do)
    907     ac_prev=docdir ;;
    908   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    909     docdir=$ac_optarg ;;
    910 
    911   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    912     ac_prev=dvidir ;;
    913   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    914     dvidir=$ac_optarg ;;
    915 
    916   -enable-* | --enable-*)
    917     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    918     # Reject names that are not valid shell variable names.
    919     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    920       as_fn_error $? "invalid feature name: '$ac_useropt'"
    921     ac_useropt_orig=$ac_useropt
    922     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    923     case $ac_user_opts in
    924       *"
    925 "enable_$ac_useropt"
    926 "*) ;;
    927       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    928 	 ac_unrecognized_sep=', ';;
    929     esac
    930     eval enable_$ac_useropt=\$ac_optarg ;;
    931 
    932   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    933   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    934   | --exec | --exe | --ex)
    935     ac_prev=exec_prefix ;;
    936   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    937   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    938   | --exec=* | --exe=* | --ex=*)
    939     exec_prefix=$ac_optarg ;;
    940 
    941   -gas | --gas | --ga | --g)
    942     # Obsolete; use --with-gas.
    943     with_gas=yes ;;
    944 
    945   -help | --help | --hel | --he | -h)
    946     ac_init_help=long ;;
    947   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    948     ac_init_help=recursive ;;
    949   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    950     ac_init_help=short ;;
    951 
    952   -host | --host | --hos | --ho)
    953     ac_prev=host_alias ;;
    954   -host=* | --host=* | --hos=* | --ho=*)
    955     host_alias=$ac_optarg ;;
    956 
    957   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    958     ac_prev=htmldir ;;
    959   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    960   | --ht=*)
    961     htmldir=$ac_optarg ;;
    962 
    963   -includedir | --includedir | --includedi | --included | --include \
    964   | --includ | --inclu | --incl | --inc)
    965     ac_prev=includedir ;;
    966   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    967   | --includ=* | --inclu=* | --incl=* | --inc=*)
    968     includedir=$ac_optarg ;;
    969 
    970   -infodir | --infodir | --infodi | --infod | --info | --inf)
    971     ac_prev=infodir ;;
    972   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    973     infodir=$ac_optarg ;;
    974 
    975   -libdir | --libdir | --libdi | --libd)
    976     ac_prev=libdir ;;
    977   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    978     libdir=$ac_optarg ;;
    979 
    980   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    981   | --libexe | --libex | --libe)
    982     ac_prev=libexecdir ;;
    983   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    984   | --libexe=* | --libex=* | --libe=*)
    985     libexecdir=$ac_optarg ;;
    986 
    987   -localedir | --localedir | --localedi | --localed | --locale)
    988     ac_prev=localedir ;;
    989   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    990     localedir=$ac_optarg ;;
    991 
    992   -localstatedir | --localstatedir | --localstatedi | --localstated \
    993   | --localstate | --localstat | --localsta | --localst | --locals)
    994     ac_prev=localstatedir ;;
    995   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    996   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    997     localstatedir=$ac_optarg ;;
    998 
    999   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1000     ac_prev=mandir ;;
   1001   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1002     mandir=$ac_optarg ;;
   1003 
   1004   -nfp | --nfp | --nf)
   1005     # Obsolete; use --without-fp.
   1006     with_fp=no ;;
   1007 
   1008   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1009   | --no-cr | --no-c | -n)
   1010     no_create=yes ;;
   1011 
   1012   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1013   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1014     no_recursion=yes ;;
   1015 
   1016   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1017   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1018   | --oldin | --oldi | --old | --ol | --o)
   1019     ac_prev=oldincludedir ;;
   1020   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1021   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1022   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1023     oldincludedir=$ac_optarg ;;
   1024 
   1025   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1026     ac_prev=prefix ;;
   1027   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1028     prefix=$ac_optarg ;;
   1029 
   1030   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1031   | --program-pre | --program-pr | --program-p)
   1032     ac_prev=program_prefix ;;
   1033   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1034   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1035     program_prefix=$ac_optarg ;;
   1036 
   1037   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1038   | --program-suf | --program-su | --program-s)
   1039     ac_prev=program_suffix ;;
   1040   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1041   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1042     program_suffix=$ac_optarg ;;
   1043 
   1044   -program-transform-name | --program-transform-name \
   1045   | --program-transform-nam | --program-transform-na \
   1046   | --program-transform-n | --program-transform- \
   1047   | --program-transform | --program-transfor \
   1048   | --program-transfo | --program-transf \
   1049   | --program-trans | --program-tran \
   1050   | --progr-tra | --program-tr | --program-t)
   1051     ac_prev=program_transform_name ;;
   1052   -program-transform-name=* | --program-transform-name=* \
   1053   | --program-transform-nam=* | --program-transform-na=* \
   1054   | --program-transform-n=* | --program-transform-=* \
   1055   | --program-transform=* | --program-transfor=* \
   1056   | --program-transfo=* | --program-transf=* \
   1057   | --program-trans=* | --program-tran=* \
   1058   | --progr-tra=* | --program-tr=* | --program-t=*)
   1059     program_transform_name=$ac_optarg ;;
   1060 
   1061   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1062     ac_prev=pdfdir ;;
   1063   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1064     pdfdir=$ac_optarg ;;
   1065 
   1066   -psdir | --psdir | --psdi | --psd | --ps)
   1067     ac_prev=psdir ;;
   1068   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1069     psdir=$ac_optarg ;;
   1070 
   1071   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1072   | -silent | --silent | --silen | --sile | --sil)
   1073     silent=yes ;;
   1074 
   1075   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1076   | --runstate | --runstat | --runsta | --runst | --runs \
   1077   | --run | --ru | --r)
   1078     ac_prev=runstatedir ;;
   1079   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1080   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1081   | --run=* | --ru=* | --r=*)
   1082     runstatedir=$ac_optarg ;;
   1083 
   1084   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1085     ac_prev=sbindir ;;
   1086   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1087   | --sbi=* | --sb=*)
   1088     sbindir=$ac_optarg ;;
   1089 
   1090   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1091   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1092   | --sharedst | --shareds | --shared | --share | --shar \
   1093   | --sha | --sh)
   1094     ac_prev=sharedstatedir ;;
   1095   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1096   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1097   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1098   | --sha=* | --sh=*)
   1099     sharedstatedir=$ac_optarg ;;
   1100 
   1101   -site | --site | --sit)
   1102     ac_prev=site ;;
   1103   -site=* | --site=* | --sit=*)
   1104     site=$ac_optarg ;;
   1105 
   1106   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1107     ac_prev=srcdir ;;
   1108   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1109     srcdir=$ac_optarg ;;
   1110 
   1111   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1112   | --syscon | --sysco | --sysc | --sys | --sy)
   1113     ac_prev=sysconfdir ;;
   1114   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1115   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1116     sysconfdir=$ac_optarg ;;
   1117 
   1118   -target | --target | --targe | --targ | --tar | --ta | --t)
   1119     ac_prev=target_alias ;;
   1120   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1121     target_alias=$ac_optarg ;;
   1122 
   1123   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1124     verbose=yes ;;
   1125 
   1126   -version | --version | --versio | --versi | --vers | -V)
   1127     ac_init_version=: ;;
   1128 
   1129   -with-* | --with-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: '$ac_useropt'"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=\$ac_optarg ;;
   1144 
   1145   -without-* | --without-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: '$ac_useropt'"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=no ;;
   1160 
   1161   --x)
   1162     # Obsolete; use --with-x.
   1163     with_x=yes ;;
   1164 
   1165   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1166   | --x-incl | --x-inc | --x-in | --x-i)
   1167     ac_prev=x_includes ;;
   1168   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1169   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1170     x_includes=$ac_optarg ;;
   1171 
   1172   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1173   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1174     ac_prev=x_libraries ;;
   1175   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1176   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1177     x_libraries=$ac_optarg ;;
   1178 
   1179   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1180 Try '$0 --help' for more information"
   1181     ;;
   1182 
   1183   *=*)
   1184     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1185     # Reject names that are not valid shell variable names.
   1186     case $ac_envvar in #(
   1187       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1188       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1189     esac
   1190     eval $ac_envvar=\$ac_optarg
   1191     export $ac_envvar ;;
   1192 
   1193   *)
   1194     # FIXME: should be removed in autoconf 3.0.
   1195     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1196     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1197       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1198     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1199     ;;
   1200 
   1201   esac
   1202 done
   1203 
   1204 if test -n "$ac_prev"; then
   1205   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1206   as_fn_error $? "missing argument to $ac_option"
   1207 fi
   1208 
   1209 if test -n "$ac_unrecognized_opts"; then
   1210   case $enable_option_checking in
   1211     no) ;;
   1212     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1213     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1214   esac
   1215 fi
   1216 
   1217 # Check all directory arguments for consistency.
   1218 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1219 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1220 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1221 		libdir localedir mandir runstatedir
   1222 do
   1223   eval ac_val=\$$ac_var
   1224   # Remove trailing slashes.
   1225   case $ac_val in
   1226     */ )
   1227       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1228       eval $ac_var=\$ac_val;;
   1229   esac
   1230   # Be sure to have absolute directory names.
   1231   case $ac_val in
   1232     [\\/$]* | ?:[\\/]* )  continue;;
   1233     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1234   esac
   1235   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1236 done
   1237 
   1238 # There might be people who depend on the old broken behavior: '$host'
   1239 # used to hold the argument of --host etc.
   1240 # FIXME: To remove some day.
   1241 build=$build_alias
   1242 host=$host_alias
   1243 target=$target_alias
   1244 
   1245 # FIXME: To remove some day.
   1246 if test "x$host_alias" != x; then
   1247   if test "x$build_alias" = x; then
   1248     cross_compiling=maybe
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 printf '%s\n' X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 'configure' configures iceauth 1.0.11 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print 'checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for '--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, 'make install' will install all the files in
   1361 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1363 for instance '--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1375   --libdir=DIR            object code libraries [EPREFIX/lib]
   1376   --includedir=DIR        C header files [PREFIX/include]
   1377   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1378   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1379   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1380   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1381   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1382   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1383   --docdir=DIR            documentation root [DATAROOTDIR/doc/iceauth]
   1384   --htmldir=DIR           html documentation [DOCDIR]
   1385   --dvidir=DIR            dvi documentation [DOCDIR]
   1386   --pdfdir=DIR            pdf documentation [DOCDIR]
   1387   --psdir=DIR             ps documentation [DOCDIR]
   1388 _ACEOF
   1389 
   1390   cat <<\_ACEOF
   1391 
   1392 Program names:
   1393   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1394   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1395   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1396 
   1397 System types:
   1398   --build=BUILD     configure for building on BUILD [guessed]
   1399   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1400 _ACEOF
   1401 fi
   1402 
   1403 if test -n "$ac_init_help"; then
   1404   case $ac_init_help in
   1405      short | recursive ) echo "Configuration of iceauth 1.0.11:";;
   1406    esac
   1407   cat <<\_ACEOF
   1408 
   1409 Optional Features:
   1410   --disable-option-checking  ignore unrecognized --enable/--with options
   1411   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1412   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1413   --enable-dependency-tracking
   1414                           do not reject slow dependency extractors
   1415   --disable-dependency-tracking
   1416                           speeds up one-time build
   1417   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1418   --disable-silent-rules  verbose build output (undo: "make V=0")
   1419   --disable-selective-werror
   1420                           Turn off selective compiler errors. (default:
   1421                           enabled)
   1422   --enable-strict-compilation
   1423                           Enable all warnings from compiler and make them
   1424                           errors (default: disabled)
   1425   --disable-largefile     omit support for large files
   1426   --enable-year2038       support timestamps after 2038
   1427 
   1428 Optional Packages:
   1429   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1430   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1431   --with-lint             Use a lint-style source code checker (default:
   1432                           disabled)
   1433 
   1434 Some influential environment variables:
   1435   CC          C compiler command
   1436   CFLAGS      C compiler flags
   1437   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1438               nonstandard directory <lib dir>
   1439   LIBS        libraries to pass to the linker, e.g. -l<library>
   1440   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1441               you have headers in a nonstandard directory <include dir>
   1442   PKG_CONFIG  path to pkg-config utility
   1443   PKG_CONFIG_PATH
   1444               directories to add to pkg-config's search path
   1445   PKG_CONFIG_LIBDIR
   1446               path overriding pkg-config's built-in search path
   1447   ICEAUTH_CFLAGS
   1448               C compiler flags for ICEAUTH, overriding pkg-config
   1449   ICEAUTH_LIBS
   1450               linker flags for ICEAUTH, overriding pkg-config
   1451   LINT        Path to a lint-style command
   1452   LINT_FLAGS  Flags for the lint-style command
   1453 
   1454 Use these variables to override the choices made by 'configure' or to help
   1455 it to find libraries and programs with nonstandard names/locations.
   1456 
   1457 Report bugs to <https://gitlab.freedesktop.org/xorg/app/iceauth/-/issues>.
   1458 _ACEOF
   1459 ac_status=$?
   1460 fi
   1461 
   1462 if test "$ac_init_help" = "recursive"; then
   1463   # If there are subdirs, report their specific --help.
   1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1465     test -d "$ac_dir" ||
   1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1467       continue
   1468     ac_builddir=.
   1469 
   1470 case "$ac_dir" in
   1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472 *)
   1473   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1474   # A ".." for each directory in $ac_dir_suffix.
   1475   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1476   case $ac_top_builddir_sub in
   1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1479   esac ;;
   1480 esac
   1481 ac_abs_top_builddir=$ac_pwd
   1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1483 # for backward compatibility:
   1484 ac_top_builddir=$ac_top_build_prefix
   1485 
   1486 case $srcdir in
   1487   .)  # We are building in place.
   1488     ac_srcdir=.
   1489     ac_top_srcdir=$ac_top_builddir_sub
   1490     ac_abs_top_srcdir=$ac_pwd ;;
   1491   [\\/]* | ?:[\\/]* )  # Absolute name.
   1492     ac_srcdir=$srcdir$ac_dir_suffix;
   1493     ac_top_srcdir=$srcdir
   1494     ac_abs_top_srcdir=$srcdir ;;
   1495   *) # Relative name.
   1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1499 esac
   1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1501 
   1502     cd "$ac_dir" || { ac_status=$?; continue; }
   1503     # Check for configure.gnu first; this name is used for a wrapper for
   1504     # Metaconfig's "Configure" on case-insensitive file systems.
   1505     if test -f "$ac_srcdir/configure.gnu"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1508     elif test -f "$ac_srcdir/configure"; then
   1509       echo &&
   1510       $SHELL "$ac_srcdir/configure" --help=recursive
   1511     else
   1512       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1513     fi || ac_status=$?
   1514     cd "$ac_pwd" || { ac_status=$?; break; }
   1515   done
   1516 fi
   1517 
   1518 test -n "$ac_init_help" && exit $ac_status
   1519 if $ac_init_version; then
   1520   cat <<\_ACEOF
   1521 iceauth configure 1.0.11
   1522 generated by GNU Autoconf 2.73
   1523 
   1524 Copyright (C) 2026 Free Software Foundation, Inc.
   1525 This configure script is free software; the Free Software Foundation
   1526 gives unlimited permission to copy, distribute and modify it.
   1527 _ACEOF
   1528   exit
   1529 fi
   1530 
   1531 ## ------------------------ ##
   1532 ## Autoconf initialization. ##
   1533 ## ------------------------ ##
   1534 
   1535 # ac_fn_c_try_compile LINENO
   1536 # --------------------------
   1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1538 ac_fn_c_try_compile ()
   1539 {
   1540   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1541   rm -f conftest.$ac_objext conftest.beam
   1542   if { { ac_try="$ac_compile"
   1543 case "(($ac_try" in
   1544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1545   *) ac_try_echo=$ac_try;;
   1546 esac
   1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1548 printf '%s\n' "$ac_try_echo"; } >&5
   1549   (eval "$ac_compile") 2>conftest.err
   1550   ac_status=$?
   1551   if test -s conftest.err; then
   1552     grep -v '^ *+' conftest.err >conftest.er1
   1553     cat conftest.er1 >&5
   1554     mv -f conftest.er1 conftest.err
   1555   fi
   1556   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1557   test $ac_status = 0; } && {
   1558 	 test -z "$ac_c_werror_flag" ||
   1559 	 test ! -s conftest.err
   1560        } && test -s conftest.$ac_objext
   1561 then :
   1562   ac_retval=0
   1563 else case e in #(
   1564   e) printf '%s\n' "$as_me: failed program was:" >&5
   1565 sed 's/^/| /' conftest.$ac_ext >&5
   1566 
   1567 	ac_retval=1 ;;
   1568 esac
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1576 # -------------------------------------------------------
   1577 # Tests whether HEADER exists and can be compiled using the include files in
   1578 # INCLUDES, setting the cache variable VAR accordingly.
   1579 ac_fn_c_check_header_compile ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1583 printf %s "checking for $2... " >&6; }
   1584 if eval test \${$3+y}
   1585 then :
   1586   printf %s "(cached) " >&6
   1587 else case e in #(
   1588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1589 /* end confdefs.h.  */
   1590 $4
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"
   1594 then :
   1595   eval "$3=yes"
   1596 else case e in #(
   1597   e) eval "$3=no" ;;
   1598 esac
   1599 fi
   1600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1601 esac
   1602 fi
   1603 eval ac_res=\$$3
   1604 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1605 printf '%s\n' "$ac_res" >&6; }
   1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1607 
   1608 } # ac_fn_c_check_header_compile
   1609 
   1610 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1611 # ------------------------------------------------------------------
   1612 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1613 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1614 ac_fn_check_decl ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1618   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1619 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1620 if eval test \${$3+y}
   1621 then :
   1622   printf %s "(cached) " >&6
   1623 else case e in #(
   1624   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1625   eval ac_save_FLAGS=\$$6
   1626   as_fn_append $6 " $5"
   1627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1628 /* end confdefs.h.  */
   1629 $4
   1630 int
   1631 main (void)
   1632 {
   1633 #ifndef $as_decl_name
   1634 #ifdef __cplusplus
   1635   (void) $as_decl_use;
   1636 #else
   1637   (void) $as_decl_name;
   1638 #endif
   1639 #endif
   1640 
   1641   ;
   1642   return 0;
   1643 }
   1644 _ACEOF
   1645 if ac_fn_c_try_compile "$LINENO"
   1646 then :
   1647   eval "$3=yes"
   1648 else case e in #(
   1649   e) eval "$3=no" ;;
   1650 esac
   1651 fi
   1652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1653   eval $6=\$ac_save_FLAGS
   1654  ;;
   1655 esac
   1656 fi
   1657 eval ac_res=\$$3
   1658 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1659 printf '%s\n' "$ac_res" >&6; }
   1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1661 
   1662 } # ac_fn_check_decl
   1663 
   1664 # ac_fn_c_try_link LINENO
   1665 # -----------------------
   1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_link ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1671   if { { ac_try="$ac_link"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 printf '%s\n' "$ac_try_echo"; } >&5
   1678   (eval "$ac_link") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } && {
   1687 	 test -z "$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        } && test -s conftest$ac_exeext && {
   1690 	 test "$cross_compiling" = yes ||
   1691 	 test -x conftest$ac_exeext
   1692        }
   1693 then :
   1694   ac_retval=0
   1695 else case e in #(
   1696   e) printf '%s\n' "$as_me: failed program was:" >&5
   1697 sed 's/^/| /' conftest.$ac_ext >&5
   1698 
   1699 	ac_retval=1 ;;
   1700 esac
   1701 fi
   1702   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1703   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1704   # interfere with the next link command; also delete a directory that is
   1705   # left behind by Apple's compiler.  We do this before executing the actions.
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_link
   1711 
   1712 # ac_fn_c_check_func LINENO FUNC VAR
   1713 # ----------------------------------
   1714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1715 ac_fn_c_check_func ()
   1716 {
   1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1718   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1719 printf %s "checking for $2... " >&6; }
   1720 if eval test \${$3+y}
   1721 then :
   1722   printf %s "(cached) " >&6
   1723 else case e in #(
   1724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1725 /* end confdefs.h.  */
   1726 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1728 #define $2 innocuous_$2
   1729 
   1730 /* System header to define __stub macros and hopefully few prototypes,
   1731    which can conflict with char $2 (void); below.  */
   1732 
   1733 #include <limits.h>
   1734 #undef $2
   1735 
   1736 /* Override any GCC internal prototype to avoid an error.
   1737    Use char because int might match the return type of a GCC
   1738    builtin and then its argument prototype would still apply.  */
   1739 #ifdef __cplusplus
   1740 extern "C"
   1741 #endif
   1742 char $2 (void);
   1743 /* The GNU C library defines this for functions which it implements
   1744     to always fail with ENOSYS.  Some functions are actually named
   1745     something starting with __ and the normal name is an alias.  */
   1746 #if defined __stub_$2 || defined __stub___$2
   1747 choke me
   1748 #endif
   1749 
   1750 int
   1751 main (void)
   1752 {
   1753 return $2 ();
   1754   ;
   1755   return 0;
   1756 }
   1757 _ACEOF
   1758 if ac_fn_c_try_link "$LINENO"
   1759 then :
   1760   eval "$3=yes"
   1761 else case e in #(
   1762   e) eval "$3=no" ;;
   1763 esac
   1764 fi
   1765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1766     conftest$ac_exeext conftest.$ac_ext ;;
   1767 esac
   1768 fi
   1769 eval ac_res=\$$3
   1770 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1771 printf '%s\n' "$ac_res" >&6; }
   1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1773 
   1774 } # ac_fn_c_check_func
   1775 ac_configure_args_raw=
   1776 for ac_arg
   1777 do
   1778   case $ac_arg in
   1779   *\'*)
   1780     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1781   esac
   1782   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1783 done
   1784 
   1785 case $ac_configure_args_raw in
   1786   *$as_nl*)
   1787     ac_safe_unquote= ;;
   1788   *)
   1789     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1790     ac_unsafe_a="$ac_unsafe_z#~"
   1791     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1792     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1793 esac
   1794 
   1795 cat >config.log <<_ACEOF
   1796 This file contains any messages produced by compilers while
   1797 running configure, to aid debugging if configure makes a mistake.
   1798 
   1799 It was created by iceauth $as_me 1.0.11, which was
   1800 generated by GNU Autoconf 2.73.  Invocation command line was
   1801 
   1802   $ $0$ac_configure_args_raw
   1803 
   1804 _ACEOF
   1805 exec 5>>config.log
   1806 {
   1807 cat <<_ASUNAME
   1808 ## --------- ##
   1809 ## Platform. ##
   1810 ## --------- ##
   1811 
   1812 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1813 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1814 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1815 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1816 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1817 
   1818 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1819 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1820 
   1821 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1822 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1823 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1824 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1825 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1826 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1827 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1828 
   1829 _ASUNAME
   1830 
   1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1832 for as_dir in $PATH
   1833 do
   1834   IFS=$as_save_IFS
   1835   case $as_dir in #(((
   1836     '') as_dir=./ ;;
   1837     */) ;;
   1838     *) as_dir=$as_dir/ ;;
   1839   esac
   1840     printf '%s\n' "PATH: $as_dir"
   1841   done
   1842 IFS=$as_save_IFS
   1843 
   1844 } >&5
   1845 
   1846 cat >&5 <<_ACEOF
   1847 
   1848 
   1849 ## ----------- ##
   1850 ## Core tests. ##
   1851 ## ----------- ##
   1852 
   1853 _ACEOF
   1854 
   1855 
   1856 # Keep a trace of the command line.
   1857 # Strip out --no-create and --no-recursion so they do not pile up.
   1858 # Strip out --silent because we don't want to record it for future runs.
   1859 # Also quote any args containing shell meta-characters.
   1860 # Make two passes to allow for proper duplicate-argument suppression.
   1861 ac_configure_args=
   1862 ac_configure_args0=
   1863 ac_configure_args1=
   1864 ac_must_keep_next=false
   1865 for ac_pass in 1 2
   1866 do
   1867   for ac_arg
   1868   do
   1869     case $ac_arg in
   1870     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1871     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1872     | -silent | --silent | --silen | --sile | --sil)
   1873       continue ;;
   1874     *\'*)
   1875       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1876     esac
   1877     case $ac_pass in
   1878     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1879     2)
   1880       as_fn_append ac_configure_args1 " '$ac_arg'"
   1881       if test $ac_must_keep_next = true; then
   1882 	ac_must_keep_next=false # Got value, back to normal.
   1883       else
   1884 	case $ac_arg in
   1885 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1886 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1887 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1888 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1889 	    case "$ac_configure_args0 " in
   1890 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1891 	    esac
   1892 	    ;;
   1893 	  -* ) ac_must_keep_next=true ;;
   1894 	esac
   1895       fi
   1896       as_fn_append ac_configure_args " '$ac_arg'"
   1897       ;;
   1898     esac
   1899   done
   1900 done
   1901 { ac_configure_args0=; unset ac_configure_args0;}
   1902 { ac_configure_args1=; unset ac_configure_args1;}
   1903 
   1904 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1905 ac_cache_dump ()
   1906 {
   1907   # The following way of writing the cache mishandles newlines in values,
   1908 # but we know of no workaround that is simple, portable, and efficient.
   1909 # So, we kill variables containing newlines.
   1910 # Ultrix sh set writes to stderr and can't be redirected directly,
   1911 # and sets the high bit in the cache file unless we assign to the vars.
   1912 (
   1913   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1914     eval ac_val=\$$ac_var
   1915     case $ac_val in #(
   1916     *${as_nl}*)
   1917       case $ac_var in #(
   1918       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1919 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1920       esac
   1921       case $ac_var in #(
   1922       _ | IFS | as_nl) ;; #(
   1923       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1924       *) { eval $ac_var=; unset $ac_var;} ;;
   1925       esac ;;
   1926     esac
   1927   done
   1928 
   1929   (set) 2>&1 |
   1930     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1931     *${as_nl}ac_space=\ *)
   1932       # 'set' does not quote correctly, so add quotes: double-quote
   1933       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1934       sed -n \
   1935 	"s/'/'\\\\''/g;
   1936 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1937       ;; #(
   1938     *)
   1939       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1940       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1941       ;;
   1942     esac |
   1943     sort
   1944 )
   1945 }
   1946 
   1947 # Print debugging info to stdout.
   1948 ac_dump_debugging_info ()
   1949 {
   1950   echo
   1951 
   1952   printf '%s\n' "## ---------------- ##
   1953 ## Cache variables. ##
   1954 ## ---------------- ##"
   1955   echo
   1956   ac_cache_dump
   1957   echo
   1958 
   1959   printf '%s\n' "## ----------------- ##
   1960 ## Output variables. ##
   1961 ## ----------------- ##"
   1962   echo
   1963   for ac_var in $ac_subst_vars
   1964   do
   1965     eval ac_val=\$$ac_var
   1966     case $ac_val in
   1967     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1968     esac
   1969     printf '%s\n' "$ac_var='$ac_val'"
   1970   done | sort
   1971   echo
   1972 
   1973   if test -n "$ac_subst_files"; then
   1974     printf '%s\n' "## ------------------- ##
   1975 ## File substitutions. ##
   1976 ## ------------------- ##"
   1977     echo
   1978     for ac_var in $ac_subst_files
   1979     do
   1980       eval ac_val=\$$ac_var
   1981       case $ac_val in
   1982       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1983       esac
   1984       printf '%s\n' "$ac_var='$ac_val'"
   1985     done | sort
   1986     echo
   1987   fi
   1988 
   1989   if test -s confdefs.h; then
   1990     printf '%s\n' "## ----------- ##
   1991 ## confdefs.h. ##
   1992 ## ----------- ##"
   1993     echo
   1994     cat confdefs.h
   1995     echo
   1996   fi
   1997   test "$ac_signal" != 0 &&
   1998     printf '%s\n' "$as_me: caught signal $ac_signal"
   1999   printf '%s\n' "$as_me: exit $exit_status"
   2000 }
   2001 
   2002 # When interrupted or exit'd, cleanup temporary files, and complete
   2003 # config.log.
   2004 ac_exit_trap ()
   2005 {
   2006   exit_status=
   2007   # Sanitize IFS.
   2008   IFS=" ""	$as_nl"
   2009   # Save into config.log some information that might help in debugging.
   2010   ac_dump_debugging_info >&5
   2011   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2012     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2013     exit $exit_status
   2014 }
   2015 
   2016 trap 'ac_exit_trap $?' 0
   2017 for ac_signal in 1 2 13 15; do
   2018   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2019 done
   2020 ac_signal=0
   2021 
   2022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2023 rm -f -r conftest* confdefs.h
   2024 
   2025 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2026 
   2027 # Predefined preprocessor variables.
   2028 
   2029 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2030 
   2031 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2032 
   2033 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2034 
   2035 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2036 
   2037 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2038 
   2039 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2040 
   2041 
   2042 # Let the site file select an alternate cache file if it wants to.
   2043 # Prefer an explicitly selected file to automatically selected ones.
   2044 if test -n "$CONFIG_SITE"; then
   2045   ac_site_files="$CONFIG_SITE"
   2046 elif test "x$prefix" != xNONE; then
   2047   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2048 else
   2049   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2050 fi
   2051 
   2052 for ac_site_file in $ac_site_files
   2053 do
   2054   case $ac_site_file in #(
   2055   */*) :
   2056      ;; #(
   2057   *) :
   2058     ac_site_file=./$ac_site_file ;;
   2059 esac
   2060   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2061     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2062 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2063     sed 's/^/| /' "$ac_site_file" >&5
   2064     . "$ac_site_file" \
   2065       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2066 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2067 as_fn_error $? "failed to load site script $ac_site_file
   2068 See 'config.log' for more details" "$LINENO" 5; }
   2069   fi
   2070 done
   2071 
   2072 if test -r "$cache_file"; then
   2073   # Some versions of bash will fail to source /dev/null (special files
   2074   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2075   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2076     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2077 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2078     case $cache_file in
   2079       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2080       *)                      . "./$cache_file";;
   2081     esac
   2082   fi
   2083 else
   2084   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2085 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2086   >$cache_file
   2087 fi
   2088 
   2089 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2090 # Test code for whether the C compiler supports C23 (global declarations)
   2091 ac_c_conftest_c23_globals='
   2092 /* Does the compiler advertise conformance to C17 or earlier?
   2093    Although GCC 14 does not do that, even with -std=gnu23,
   2094    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2095 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2096 # error "Compiler advertises conformance to C17 or earlier"
   2097 #endif
   2098 
   2099 // Check alignas.
   2100 char alignas (double) c23_aligned_as_double;
   2101 char alignas (0) c23_no_special_alignment;
   2102 extern char c23_aligned_as_int;
   2103 char alignas (0) alignas (int) c23_aligned_as_int;
   2104 
   2105 // Check alignof.
   2106 enum
   2107 {
   2108   c23_int_alignment = alignof (int),
   2109   c23_int_array_alignment = alignof (int[100]),
   2110   c23_char_alignment = alignof (char)
   2111 };
   2112 static_assert (0 < -alignof (int), "alignof is signed");
   2113 
   2114 int function_with_unnamed_parameter (int) { return 0; }
   2115 
   2116 void c23_noreturn ();
   2117 
   2118 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2119    The parens pacify GCC 15.  */
   2120 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2121 
   2122 bool check_that_bool_works = true | false | !nullptr;
   2123 #if !true
   2124 # error "true does not work in #if"
   2125 #endif
   2126 #if false
   2127 #elifdef __STDC_VERSION__
   2128 #else
   2129 # error "#elifdef does not work"
   2130 #endif
   2131 
   2132 #ifndef __has_c_attribute
   2133 # error "__has_c_attribute not defined"
   2134 #endif
   2135 
   2136 #ifndef __has_include
   2137 # error "__has_include not defined"
   2138 #endif
   2139 
   2140 #define LPAREN() (
   2141 #define FORTY_TWO(x) 42
   2142 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2143 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2144 
   2145 static_assert (0b101010 == 42);
   2146 static_assert (0B101010 == 42);
   2147 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2148 static_assert (0.500'\''000'\''000 == 0.5);
   2149 
   2150 enum unsignedish : unsigned int { uione = 1 };
   2151 static_assert (0 < -uione);
   2152 
   2153 #include <stddef.h>
   2154 constexpr nullptr_t null_pointer = nullptr;
   2155 
   2156 static typeof (1 + 1L) two () { return 2; }
   2157 static long int three () { return 3; }
   2158 '
   2159 
   2160 # Test code for whether the C compiler supports C23 (body of main).
   2161 ac_c_conftest_c23_main='
   2162   {
   2163     label_before_declaration:
   2164       int arr[10] = {};
   2165       if (arr[0])
   2166         goto label_before_declaration;
   2167       if (!arr[0])
   2168         goto label_at_end_of_block;
   2169     label_at_end_of_block:
   2170   }
   2171   ok |= !null_pointer;
   2172   ok |= two != three;
   2173 '
   2174 
   2175 # Test code for whether the C compiler supports C23 (complete).
   2176 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2177 
   2178 int
   2179 main (int, char **)
   2180 {
   2181   int ok = 0;
   2182   ${ac_c_conftest_c23_main}
   2183   return ok;
   2184 }
   2185 "
   2186 
   2187 # Test code for whether the C compiler supports C89 (global declarations)
   2188 ac_c_conftest_c89_globals='
   2189 /* Do not test the value of __STDC__, because some compilers define it to 0
   2190    or do not define it, while otherwise adequately conforming.  */
   2191 
   2192 #include <stddef.h>
   2193 #include <stdarg.h>
   2194 struct stat;
   2195 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2196 struct buf { int x; };
   2197 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2198 static char *e (char **p, int i)
   2199 {
   2200   return p[i];
   2201 }
   2202 static char *f (char * (*g) (char **, int), char **p, ...)
   2203 {
   2204   char *s;
   2205   va_list v;
   2206   va_start (v,p);
   2207   s = g (p, va_arg (v,int));
   2208   va_end (v);
   2209   return s;
   2210 }
   2211 
   2212 /* C89 style stringification. */
   2213 #define noexpand_stringify(a) #a
   2214 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2215 
   2216 /* C89 style token pasting.  Exercises some of the corner cases that
   2217    e.g. old MSVC gets wrong, but not very hard. */
   2218 #define noexpand_concat(a,b) a##b
   2219 #define expand_concat(a,b) noexpand_concat(a,b)
   2220 extern int vA;
   2221 extern int vbee;
   2222 #define aye A
   2223 #define bee B
   2224 int *pvA = &expand_concat(v,aye);
   2225 int *pvbee = &noexpand_concat(v,bee);
   2226 
   2227 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2228    function prototypes and stuff, but not \xHH hex character constants.
   2229    These do not provoke an error unfortunately, instead are silently treated
   2230    as an "x".  The following induces an error, until -std is added to get
   2231    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2232    array size at least.  It is necessary to write \x00 == 0 to get something
   2233    that is true only with -std.  */
   2234 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2235 
   2236 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2237    inside strings and character constants.  */
   2238 #define FOO(x) '\''x'\''
   2239 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2240 
   2241 int test (int i, double x);
   2242 struct s1 {int (*f) (int a);};
   2243 struct s2 {int (*f) (double a);};
   2244 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2245                int, int);'
   2246 
   2247 # Test code for whether the C compiler supports C89 (body of main).
   2248 ac_c_conftest_c89_main='
   2249 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2250 '
   2251 
   2252 # Test code for whether the C compiler supports C99 (global declarations)
   2253 ac_c_conftest_c99_globals='
   2254 /* Does the compiler advertise C99 conformance? */
   2255 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2256 # error "Compiler does not advertise C99 conformance"
   2257 #endif
   2258 
   2259 // See if C++-style comments work.
   2260 
   2261 #include <stdbool.h>
   2262 extern int puts (const char *);
   2263 extern int printf (const char *, ...);
   2264 extern int dprintf (int, const char *, ...);
   2265 extern void *malloc (size_t);
   2266 extern void free (void *);
   2267 
   2268 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2269 // dprintf is used instead of fprintf to avoid needing to declare
   2270 // FILE and stderr, and "aND" is used instead of "and" to work around
   2271 // GCC bug 40564 which is irrelevant here.
   2272 #define debug(...) dprintf (2, __VA_ARGS__)
   2273 #define showlist(...) puts (#__VA_ARGS__)
   2274 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2275 static void
   2276 test_varargs_macros (void)
   2277 {
   2278   int x = 1234;
   2279   int y = 5678;
   2280   debug ("Flag");
   2281   debug ("X = %d\n", x);
   2282   showlist (The first, second, aND third items.);
   2283   report (x>y, "x is %d but y is %d", x, y);
   2284 }
   2285 
   2286 // Check long long types.
   2287 #define BIG64 18446744073709551615ull
   2288 #define BIG32 4294967295ul
   2289 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2290 #if !BIG_OK
   2291   #error "your preprocessor is broken"
   2292 #endif
   2293 #if BIG_OK
   2294 #else
   2295   #error "your preprocessor is broken"
   2296 #endif
   2297 static long long int bignum = -9223372036854775807LL;
   2298 static unsigned long long int ubignum = BIG64;
   2299 
   2300 struct incomplete_array
   2301 {
   2302   int datasize;
   2303   double data[];
   2304 };
   2305 
   2306 struct named_init {
   2307   int number;
   2308   const wchar_t *name;
   2309   double average;
   2310 };
   2311 
   2312 typedef const char *ccp;
   2313 
   2314 static inline int
   2315 test_restrict (ccp restrict text)
   2316 {
   2317   // Iterate through items via the restricted pointer.
   2318   // Also check for declarations in for loops.
   2319   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2320     continue;
   2321   return 0;
   2322 }
   2323 
   2324 // Check varargs and va_copy.
   2325 static bool
   2326 test_varargs (const char *format, ...)
   2327 {
   2328   va_list args;
   2329   va_start (args, format);
   2330   va_list args_copy;
   2331   va_copy (args_copy, args);
   2332 
   2333   const char *str = "";
   2334   int number = 0;
   2335   float fnumber = 0;
   2336 
   2337   while (*format)
   2338     {
   2339       switch (*format++)
   2340 	{
   2341 	case '\''s'\'': // string
   2342 	  str = va_arg (args_copy, const char *);
   2343 	  break;
   2344 	case '\''d'\'': // int
   2345 	  number = va_arg (args_copy, int);
   2346 	  break;
   2347 	case '\''f'\'': // float
   2348 	  fnumber = va_arg (args_copy, double);
   2349 	  break;
   2350 	default:
   2351 	  break;
   2352 	}
   2353     }
   2354   va_end (args_copy);
   2355   va_end (args);
   2356 
   2357   return *str && number && fnumber;
   2358 }
   2359 '
   2360 
   2361 # Test code for whether the C compiler supports C99 (body of main).
   2362 ac_c_conftest_c99_main='
   2363   // Check bool.
   2364   _Bool success = false;
   2365   success |= (argc != 0);
   2366 
   2367   // Check restrict.
   2368   if (test_restrict ("String literal") == 0)
   2369     success = true;
   2370   const char *restrict newvar = "Another string";
   2371 
   2372   // Check varargs.
   2373   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2374   test_varargs_macros ();
   2375 
   2376   // Check flexible array members.
   2377   static struct incomplete_array *volatile incomplete_array_pointer;
   2378   struct incomplete_array *ia = incomplete_array_pointer;
   2379   ia->datasize = 10;
   2380   for (int i = 0; i < ia->datasize; ++i)
   2381     ia->data[i] = i * 1.234;
   2382   // Work around memory leak warnings.
   2383   free (ia);
   2384 
   2385   // Check named initializers.
   2386   struct named_init ni = {
   2387     .number = 34,
   2388     .name = L"Test wide string",
   2389     .average = 543.34343,
   2390   };
   2391 
   2392   ni.number = 58;
   2393 
   2394   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2395   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2396 
   2397   // work around unused variable warnings
   2398   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2399 	 || ni.number != 58);
   2400 '
   2401 
   2402 # Test code for whether the C compiler supports C11 (global declarations)
   2403 ac_c_conftest_c11_globals='
   2404 /* Does the compiler advertise C11 conformance? */
   2405 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2406 # error "Compiler does not advertise C11 conformance"
   2407 #endif
   2408 
   2409 // Check _Alignas.
   2410 char _Alignas (double) aligned_as_double;
   2411 char _Alignas (0) no_special_alignment;
   2412 extern char aligned_as_int;
   2413 char _Alignas (0) _Alignas (int) aligned_as_int;
   2414 
   2415 // Check _Alignof.
   2416 enum
   2417 {
   2418   int_alignment = _Alignof (int),
   2419   int_array_alignment = _Alignof (int[100]),
   2420   char_alignment = _Alignof (char)
   2421 };
   2422 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2423 
   2424 // Check _Noreturn.
   2425 int _Noreturn does_not_return (void) { for (;;) continue; }
   2426 
   2427 // Check _Static_assert.
   2428 struct test_static_assert
   2429 {
   2430   int x;
   2431   _Static_assert (sizeof (int) <= sizeof (long int),
   2432                   "_Static_assert does not work in struct");
   2433   long int y;
   2434 };
   2435 
   2436 // Check UTF-8 literals.
   2437 #define u8 syntax error!
   2438 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2439 
   2440 // Check duplicate typedefs.
   2441 typedef long *long_ptr;
   2442 typedef long int *long_ptr;
   2443 typedef long_ptr long_ptr;
   2444 
   2445 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2446 struct anonymous
   2447 {
   2448   union {
   2449     struct { int i; int j; };
   2450     struct { int k; long int l; } w;
   2451   };
   2452   int m;
   2453 } v1;
   2454 '
   2455 
   2456 # Test code for whether the C compiler supports C11 (body of main).
   2457 ac_c_conftest_c11_main='
   2458   _Static_assert ((offsetof (struct anonymous, i)
   2459 		   == offsetof (struct anonymous, w.k)),
   2460 		  "Anonymous union alignment botch");
   2461   v1.i = 2;
   2462   v1.w.k = 5;
   2463   ok |= v1.i != 5;
   2464 '
   2465 
   2466 # Test code for whether the C compiler supports C11 (complete).
   2467 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2468 ${ac_c_conftest_c99_globals}
   2469 ${ac_c_conftest_c11_globals}
   2470 
   2471 int
   2472 main (int argc, char **argv)
   2473 {
   2474   int ok = 0;
   2475   ${ac_c_conftest_c89_main}
   2476   ${ac_c_conftest_c99_main}
   2477   ${ac_c_conftest_c11_main}
   2478   return ok;
   2479 }
   2480 "
   2481 
   2482 # Test code for whether the C compiler supports C99 (complete).
   2483 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2484 ${ac_c_conftest_c99_globals}
   2485 
   2486 int
   2487 main (int argc, char **argv)
   2488 {
   2489   int ok = 0;
   2490   ${ac_c_conftest_c89_main}
   2491   ${ac_c_conftest_c99_main}
   2492   return ok;
   2493 }
   2494 "
   2495 
   2496 # Test code for whether the C compiler supports C89 (complete).
   2497 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2498 
   2499 int
   2500 main (int argc, char **argv)
   2501 {
   2502   int ok = 0;
   2503   ${ac_c_conftest_c89_main}
   2504   return ok;
   2505 }
   2506 "
   2507 
   2508 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2509 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2510 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2511 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2512 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2513 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2514 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2515 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2516 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2517 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2518 
   2519 # Auxiliary files required by this configure script.
   2520 ac_aux_files="config.guess config.sub missing install-sh compile"
   2521 
   2522 # Locations in which to look for auxiliary files.
   2523 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2524 
   2525 # Search for a directory containing all of the required auxiliary files,
   2526 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2527 # If we don't find one directory that contains all the files we need,
   2528 # we report the set of missing files from the *first* directory in
   2529 # $ac_aux_dir_candidates and give up.
   2530 ac_missing_aux_files=""
   2531 ac_first_candidate=:
   2532 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2534 as_found=false
   2535 for as_dir in $ac_aux_dir_candidates
   2536 do
   2537   IFS=$as_save_IFS
   2538   case $as_dir in #(((
   2539     '') as_dir=./ ;;
   2540     */) ;;
   2541     *) as_dir=$as_dir/ ;;
   2542   esac
   2543   as_found=:
   2544 
   2545   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2546   ac_aux_dir_found=yes
   2547   ac_install_sh=
   2548   for ac_aux in $ac_aux_files
   2549   do
   2550     # As a special case, if "install-sh" is required, that requirement
   2551     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2552     # and $ac_install_sh is set appropriately for whichever one is found.
   2553     if test x"$ac_aux" = x"install-sh"
   2554     then
   2555       if test -f "${as_dir}install-sh"; then
   2556         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2557         ac_install_sh="${as_dir}install-sh -c"
   2558       elif test -f "${as_dir}install.sh"; then
   2559         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2560         ac_install_sh="${as_dir}install.sh -c"
   2561       elif test -f "${as_dir}shtool"; then
   2562         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2563         ac_install_sh="${as_dir}shtool install -c"
   2564       else
   2565         ac_aux_dir_found=no
   2566         if $ac_first_candidate; then
   2567           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2568         else
   2569           break
   2570         fi
   2571       fi
   2572     else
   2573       if test -f "${as_dir}${ac_aux}"; then
   2574         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2575       else
   2576         ac_aux_dir_found=no
   2577         if $ac_first_candidate; then
   2578           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2579         else
   2580           break
   2581         fi
   2582       fi
   2583     fi
   2584   done
   2585   if test "$ac_aux_dir_found" = yes; then
   2586     ac_aux_dir="$as_dir"
   2587     break
   2588   fi
   2589   ac_first_candidate=false
   2590 
   2591   as_found=false
   2592 done
   2593 IFS=$as_save_IFS
   2594 if $as_found
   2595 then :
   2596 
   2597 else case e in #(
   2598   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2599 esac
   2600 fi
   2601 
   2602 
   2603 # These three variables are undocumented and unsupported,
   2604 # and are intended to be withdrawn in a future Autoconf release.
   2605 # They can cause serious problems if a builder's source tree is in a directory
   2606 # whose full name contains unusual characters.
   2607 if test -f "${ac_aux_dir}config.guess"; then
   2608   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2609 fi
   2610 if test -f "${ac_aux_dir}config.sub"; then
   2611   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2612 fi
   2613 if test -f "$ac_aux_dir/configure"; then
   2614   ac_configure="$SHELL ${ac_aux_dir}configure"
   2615 fi
   2616 
   2617 # Check that the precious variables saved in the cache have kept the same
   2618 # value.
   2619 ac_cache_corrupted=false
   2620 for ac_var in $ac_precious_vars; do
   2621   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2622   eval ac_new_set=\$ac_env_${ac_var}_set
   2623   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2624   eval ac_new_val=\$ac_env_${ac_var}_value
   2625   case $ac_old_set,$ac_new_set in
   2626     set,)
   2627       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2628 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2629       ac_cache_corrupted=: ;;
   2630     ,set)
   2631       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2632 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2633       ac_cache_corrupted=: ;;
   2634     ,);;
   2635     *)
   2636       if test "x$ac_old_val" != "x$ac_new_val"; then
   2637 	# differences in whitespace do not lead to failure.
   2638 	ac_old_val_w=
   2639 	for ac_val in x $ac_old_val; do
   2640 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2641 	done
   2642 	ac_new_val_w=
   2643 	for ac_val in x $ac_new_val; do
   2644 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2645 	done
   2646 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2647 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2648 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2649 	  ac_cache_corrupted=:
   2650 	else
   2651 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2652 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2653 	  eval $ac_var=\$ac_old_val
   2654 	fi
   2655 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2656 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2657 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2658 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2659       fi;;
   2660   esac
   2661   # Pass precious variables to config.status.
   2662   if test "$ac_new_set" = set; then
   2663     case $ac_new_val in
   2664     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2665     *) ac_arg=$ac_var=$ac_new_val ;;
   2666     esac
   2667     case " $ac_configure_args " in
   2668       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2669       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2670     esac
   2671   fi
   2672 done
   2673 if $ac_cache_corrupted; then
   2674   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2675 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2676   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2677 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2678   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2679 	    and start over" "$LINENO" 5
   2680 fi
   2681 ## -------------------- ##
   2682 ## Main body of script. ##
   2683 ## -------------------- ##
   2684 
   2685 
   2686 # Determine whether it's possible to make 'echo' print without a newline.
   2687 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2688 # for compatibility with existing Makefiles.
   2689 ECHO_C= ECHO_N= ECHO_T=
   2690 case `echo -n x` in #(((((
   2691 -n*)
   2692   case `echo 'xy\c'` in
   2693   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2694   xy)  ECHO_C='\c';;
   2695   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2696        ECHO_T='	';;
   2697   esac;;
   2698 *)
   2699   ECHO_N='-n';;
   2700 esac
   2701 
   2702 ac_ext=c
   2703 ac_cpp='$CPP $CPPFLAGS'
   2704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2707 
   2708 
   2709 
   2710 ac_config_headers="$ac_config_headers config.h"
   2711 
   2712 
   2713 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2714 # Must be called before any macros that run the compiler (like
   2715 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 # Expand $ac_aux_dir to an absolute path.
   2731 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2732 
   2733 ac_ext=c
   2734 ac_cpp='$CPP $CPPFLAGS'
   2735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2738 if test -n "$ac_tool_prefix"; then
   2739   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2740 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2742 printf %s "checking for $ac_word... " >&6; }
   2743 if test ${ac_cv_prog_CC+y}
   2744 then :
   2745   printf %s "(cached) " >&6
   2746 else case e in #(
   2747   e) if test -n "$CC"; then
   2748   ac_cv_prog_CC="$CC" # Let the user override the test.
   2749 else
   2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2751 for as_dir in $PATH
   2752 do
   2753   IFS=$as_save_IFS
   2754   case $as_dir in #(((
   2755     '') as_dir=./ ;;
   2756     */) ;;
   2757     *) as_dir=$as_dir/ ;;
   2758   esac
   2759     for ac_exec_ext in '' $ac_executable_extensions; do
   2760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2761     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2762     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2763     break 2
   2764   fi
   2765 done
   2766   done
   2767 IFS=$as_save_IFS
   2768 
   2769 fi ;;
   2770 esac
   2771 fi
   2772 CC=$ac_cv_prog_CC
   2773 if test -n "$CC"; then
   2774   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2775 printf '%s\n' "$CC" >&6; }
   2776 else
   2777   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2778 printf '%s\n' "no" >&6; }
   2779 fi
   2780 
   2781 
   2782 fi
   2783 if test -z "$ac_cv_prog_CC"; then
   2784   ac_ct_CC=$CC
   2785   # Extract the first word of "gcc", so it can be a program name with args.
   2786 set dummy gcc; ac_word=$2
   2787 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2788 printf %s "checking for $ac_word... " >&6; }
   2789 if test ${ac_cv_prog_ac_ct_CC+y}
   2790 then :
   2791   printf %s "(cached) " >&6
   2792 else case e in #(
   2793   e) if test -n "$ac_ct_CC"; then
   2794   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2795 else
   2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2797 for as_dir in $PATH
   2798 do
   2799   IFS=$as_save_IFS
   2800   case $as_dir in #(((
   2801     '') as_dir=./ ;;
   2802     */) ;;
   2803     *) as_dir=$as_dir/ ;;
   2804   esac
   2805     for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2807     ac_cv_prog_ac_ct_CC="gcc"
   2808     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812   done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi ;;
   2816 esac
   2817 fi
   2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2819 if test -n "$ac_ct_CC"; then
   2820   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2821 printf '%s\n' "$ac_ct_CC" >&6; }
   2822 else
   2823   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2824 printf '%s\n' "no" >&6; }
   2825 fi
   2826 
   2827   if test "x$ac_ct_CC" = x; then
   2828     CC=""
   2829   else
   2830     case $cross_compiling:$ac_tool_warned in
   2831 yes:)
   2832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2833 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2834 ac_tool_warned=yes ;;
   2835 esac
   2836     CC=$ac_ct_CC
   2837   fi
   2838 else
   2839   CC="$ac_cv_prog_CC"
   2840 fi
   2841 
   2842 if test -z "$CC"; then
   2843           if test -n "$ac_tool_prefix"; then
   2844     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2845 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2847 printf %s "checking for $ac_word... " >&6; }
   2848 if test ${ac_cv_prog_CC+y}
   2849 then :
   2850   printf %s "(cached) " >&6
   2851 else case e in #(
   2852   e) if test -n "$CC"; then
   2853   ac_cv_prog_CC="$CC" # Let the user override the test.
   2854 else
   2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2856 for as_dir in $PATH
   2857 do
   2858   IFS=$as_save_IFS
   2859   case $as_dir in #(((
   2860     '') as_dir=./ ;;
   2861     */) ;;
   2862     *) as_dir=$as_dir/ ;;
   2863   esac
   2864     for ac_exec_ext in '' $ac_executable_extensions; do
   2865   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2866     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2867     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2868     break 2
   2869   fi
   2870 done
   2871   done
   2872 IFS=$as_save_IFS
   2873 
   2874 fi ;;
   2875 esac
   2876 fi
   2877 CC=$ac_cv_prog_CC
   2878 if test -n "$CC"; then
   2879   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2880 printf '%s\n' "$CC" >&6; }
   2881 else
   2882   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2883 printf '%s\n' "no" >&6; }
   2884 fi
   2885 
   2886 
   2887   fi
   2888 fi
   2889 if test -z "$CC"; then
   2890   # Extract the first word of "cc", so it can be a program name with args.
   2891 set dummy cc; ac_word=$2
   2892 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2893 printf %s "checking for $ac_word... " >&6; }
   2894 if test ${ac_cv_prog_CC+y}
   2895 then :
   2896   printf %s "(cached) " >&6
   2897 else case e in #(
   2898   e) if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901   ac_prog_rejected=no
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   case $as_dir in #(((
   2907     '') as_dir=./ ;;
   2908     */) ;;
   2909     *) as_dir=$as_dir/ ;;
   2910   esac
   2911     for ac_exec_ext in '' $ac_executable_extensions; do
   2912   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2913     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2914        ac_prog_rejected=yes
   2915        continue
   2916      fi
   2917     ac_cv_prog_CC="cc"
   2918     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2919     break 2
   2920   fi
   2921 done
   2922   done
   2923 IFS=$as_save_IFS
   2924 
   2925 if test $ac_prog_rejected = yes; then
   2926   # We found a bogon in the path, so make sure we never use it.
   2927   set dummy $ac_cv_prog_CC
   2928   shift
   2929   if test $# != 0; then
   2930     # We chose a different compiler from the bogus one.
   2931     # However, it has the same basename, so the bogon will be chosen
   2932     # first if we set CC to just the basename; use the full file name.
   2933     shift
   2934     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2935   fi
   2936 fi
   2937 fi ;;
   2938 esac
   2939 fi
   2940 CC=$ac_cv_prog_CC
   2941 if test -n "$CC"; then
   2942   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2943 printf '%s\n' "$CC" >&6; }
   2944 else
   2945   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2946 printf '%s\n' "no" >&6; }
   2947 fi
   2948 
   2949 
   2950 fi
   2951 if test -z "$CC"; then
   2952   if test -n "$ac_tool_prefix"; then
   2953   for ac_prog in cl.exe
   2954   do
   2955     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2958 printf %s "checking for $ac_word... " >&6; }
   2959 if test ${ac_cv_prog_CC+y}
   2960 then :
   2961   printf %s "(cached) " >&6
   2962 else case e in #(
   2963   e) if test -n "$CC"; then
   2964   ac_cv_prog_CC="$CC" # Let the user override the test.
   2965 else
   2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2967 for as_dir in $PATH
   2968 do
   2969   IFS=$as_save_IFS
   2970   case $as_dir in #(((
   2971     '') as_dir=./ ;;
   2972     */) ;;
   2973     *) as_dir=$as_dir/ ;;
   2974   esac
   2975     for ac_exec_ext in '' $ac_executable_extensions; do
   2976   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2977     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2978     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2979     break 2
   2980   fi
   2981 done
   2982   done
   2983 IFS=$as_save_IFS
   2984 
   2985 fi ;;
   2986 esac
   2987 fi
   2988 CC=$ac_cv_prog_CC
   2989 if test -n "$CC"; then
   2990   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2991 printf '%s\n' "$CC" >&6; }
   2992 else
   2993   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2994 printf '%s\n' "no" >&6; }
   2995 fi
   2996 
   2997 
   2998     test -n "$CC" && break
   2999   done
   3000 fi
   3001 if test -z "$CC"; then
   3002   ac_ct_CC=$CC
   3003   for ac_prog in cl.exe
   3004 do
   3005   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3006 set dummy $ac_prog; ac_word=$2
   3007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3008 printf %s "checking for $ac_word... " >&6; }
   3009 if test ${ac_cv_prog_ac_ct_CC+y}
   3010 then :
   3011   printf %s "(cached) " >&6
   3012 else case e in #(
   3013   e) if test -n "$ac_ct_CC"; then
   3014   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3015 else
   3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3017 for as_dir in $PATH
   3018 do
   3019   IFS=$as_save_IFS
   3020   case $as_dir in #(((
   3021     '') as_dir=./ ;;
   3022     */) ;;
   3023     *) as_dir=$as_dir/ ;;
   3024   esac
   3025     for ac_exec_ext in '' $ac_executable_extensions; do
   3026   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3027     ac_cv_prog_ac_ct_CC="$ac_prog"
   3028     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3029     break 2
   3030   fi
   3031 done
   3032   done
   3033 IFS=$as_save_IFS
   3034 
   3035 fi ;;
   3036 esac
   3037 fi
   3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3039 if test -n "$ac_ct_CC"; then
   3040   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3041 printf '%s\n' "$ac_ct_CC" >&6; }
   3042 else
   3043   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3044 printf '%s\n' "no" >&6; }
   3045 fi
   3046 
   3047 
   3048   test -n "$ac_ct_CC" && break
   3049 done
   3050 
   3051   if test "x$ac_ct_CC" = x; then
   3052     CC=""
   3053   else
   3054     case $cross_compiling:$ac_tool_warned in
   3055 yes:)
   3056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3057 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3058 ac_tool_warned=yes ;;
   3059 esac
   3060     CC=$ac_ct_CC
   3061   fi
   3062 fi
   3063 
   3064 fi
   3065 if test -z "$CC"; then
   3066   if test -n "$ac_tool_prefix"; then
   3067   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3068 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3069 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3070 printf %s "checking for $ac_word... " >&6; }
   3071 if test ${ac_cv_prog_CC+y}
   3072 then :
   3073   printf %s "(cached) " >&6
   3074 else case e in #(
   3075   e) if test -n "$CC"; then
   3076   ac_cv_prog_CC="$CC" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   case $as_dir in #(((
   3083     '') as_dir=./ ;;
   3084     */) ;;
   3085     *) as_dir=$as_dir/ ;;
   3086   esac
   3087     for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3089     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3090     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3091     break 2
   3092   fi
   3093 done
   3094   done
   3095 IFS=$as_save_IFS
   3096 
   3097 fi ;;
   3098 esac
   3099 fi
   3100 CC=$ac_cv_prog_CC
   3101 if test -n "$CC"; then
   3102   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3103 printf '%s\n' "$CC" >&6; }
   3104 else
   3105   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3106 printf '%s\n' "no" >&6; }
   3107 fi
   3108 
   3109 
   3110 fi
   3111 if test -z "$ac_cv_prog_CC"; then
   3112   ac_ct_CC=$CC
   3113   # Extract the first word of "clang", so it can be a program name with args.
   3114 set dummy clang; ac_word=$2
   3115 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3116 printf %s "checking for $ac_word... " >&6; }
   3117 if test ${ac_cv_prog_ac_ct_CC+y}
   3118 then :
   3119   printf %s "(cached) " >&6
   3120 else case e in #(
   3121   e) if test -n "$ac_ct_CC"; then
   3122   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3123 else
   3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3125 for as_dir in $PATH
   3126 do
   3127   IFS=$as_save_IFS
   3128   case $as_dir in #(((
   3129     '') as_dir=./ ;;
   3130     */) ;;
   3131     *) as_dir=$as_dir/ ;;
   3132   esac
   3133     for ac_exec_ext in '' $ac_executable_extensions; do
   3134   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3135     ac_cv_prog_ac_ct_CC="clang"
   3136     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3137     break 2
   3138   fi
   3139 done
   3140   done
   3141 IFS=$as_save_IFS
   3142 
   3143 fi ;;
   3144 esac
   3145 fi
   3146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3147 if test -n "$ac_ct_CC"; then
   3148   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3149 printf '%s\n' "$ac_ct_CC" >&6; }
   3150 else
   3151   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3152 printf '%s\n' "no" >&6; }
   3153 fi
   3154 
   3155   if test "x$ac_ct_CC" = x; then
   3156     CC=""
   3157   else
   3158     case $cross_compiling:$ac_tool_warned in
   3159 yes:)
   3160 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3161 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3162 ac_tool_warned=yes ;;
   3163 esac
   3164     CC=$ac_ct_CC
   3165   fi
   3166 else
   3167   CC="$ac_cv_prog_CC"
   3168 fi
   3169 
   3170 fi
   3171 
   3172 
   3173 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3174 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3175 as_fn_error $? "no acceptable C compiler found in \$PATH
   3176 See 'config.log' for more details" "$LINENO" 5; }
   3177 
   3178 # Provide some information about the compiler.
   3179 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3180 set X $ac_compile
   3181 ac_compiler=$2
   3182 for ac_option in --version -v -V -qversion -version; do
   3183   { { ac_try="$ac_compiler $ac_option >&5"
   3184 case "(($ac_try" in
   3185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3186   *) ac_try_echo=$ac_try;;
   3187 esac
   3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3189 printf '%s\n' "$ac_try_echo"; } >&5
   3190   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3191   ac_status=$?
   3192   if test -s conftest.err; then
   3193     sed '10a\
   3194 ... rest of stderr output deleted ...
   3195          10q' conftest.err >conftest.er1
   3196     cat conftest.er1 >&5
   3197   fi
   3198   rm -f conftest.er1 conftest.err
   3199   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3200   test $ac_status = 0; }
   3201 done
   3202 
   3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3204 /* end confdefs.h.  */
   3205 
   3206 int
   3207 main (void)
   3208 {
   3209 
   3210   ;
   3211   return 0;
   3212 }
   3213 _ACEOF
   3214 ac_clean_files_save=$ac_clean_files
   3215 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3216 # Try to create an executable without -o first, disregard a.out.
   3217 # It will help us diagnose broken compilers, and finding out an intuition
   3218 # of exeext.
   3219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3220 printf %s "checking whether the C compiler works... " >&6; }
   3221 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3222 
   3223 # The possible output files:
   3224 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3225 
   3226 ac_rmfiles=
   3227 for ac_file in $ac_files
   3228 do
   3229   case $ac_file in
   3230     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3231     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3232   esac
   3233 done
   3234 rm -f $ac_rmfiles
   3235 
   3236 if { { ac_try="$ac_link_default"
   3237 case "(($ac_try" in
   3238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3239   *) ac_try_echo=$ac_try;;
   3240 esac
   3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3242 printf '%s\n' "$ac_try_echo"; } >&5
   3243   (eval "$ac_link_default") 2>&5
   3244   ac_status=$?
   3245   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3246   test $ac_status = 0; }
   3247 then :
   3248   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3249 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3250 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3251 # so that the user can short-circuit this test for compilers unknown to
   3252 # Autoconf.
   3253 for ac_file in $ac_files ''
   3254 do
   3255   test -f "$ac_file" || continue
   3256   case $ac_file in
   3257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3258 	;;
   3259     [ab].out )
   3260 	# We found the default executable, but exeext='' is most
   3261 	# certainly right.
   3262 	break;;
   3263     *.* )
   3264 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3265 	then :; else
   3266 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3267 	fi
   3268 	# We set ac_cv_exeext here because the later test for it is not
   3269 	# safe: cross compilers may not add the suffix if given an '-o'
   3270 	# argument, so we may need to know it at that point already.
   3271 	# Even if this section looks crufty: it has the advantage of
   3272 	# actually working.
   3273 	break;;
   3274     * )
   3275 	break;;
   3276   esac
   3277 done
   3278 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3279 
   3280 else case e in #(
   3281   e) ac_file='' ;;
   3282 esac
   3283 fi
   3284 if test -z "$ac_file"
   3285 then :
   3286   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3287 printf '%s\n' "no" >&6; }
   3288 printf '%s\n' "$as_me: failed program was:" >&5
   3289 sed 's/^/| /' conftest.$ac_ext >&5
   3290 
   3291 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3292 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3293 as_fn_error 77 "C compiler cannot create executables
   3294 See 'config.log' for more details" "$LINENO" 5; }
   3295 else case e in #(
   3296   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3297 printf '%s\n' "yes" >&6; } ;;
   3298 esac
   3299 fi
   3300 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3301 printf %s "checking for C compiler default output file name... " >&6; }
   3302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3303 printf '%s\n' "$ac_file" >&6; }
   3304 ac_exeext=$ac_cv_exeext
   3305 
   3306 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3307 ac_clean_files=$ac_clean_files_save
   3308 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3309 printf %s "checking for suffix of executables... " >&6; }
   3310 if { { ac_try="$ac_link"
   3311 case "(($ac_try" in
   3312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3313   *) ac_try_echo=$ac_try;;
   3314 esac
   3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3316 printf '%s\n' "$ac_try_echo"; } >&5
   3317   (eval "$ac_link") 2>&5
   3318   ac_status=$?
   3319   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3320   test $ac_status = 0; }
   3321 then :
   3322   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3323 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3324 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3325 # 'rm'.
   3326 for ac_file in conftest.exe conftest conftest.*; do
   3327   test -f "$ac_file" || continue
   3328   case $ac_file in
   3329     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3330     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3331 	  break;;
   3332     * ) break;;
   3333   esac
   3334 done
   3335 else case e in #(
   3336   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3337 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3338 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3339 See 'config.log' for more details" "$LINENO" 5; } ;;
   3340 esac
   3341 fi
   3342 rm -f conftest conftest$ac_cv_exeext
   3343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3344 printf '%s\n' "$ac_cv_exeext" >&6; }
   3345 
   3346 rm -f conftest.$ac_ext
   3347 EXEEXT=$ac_cv_exeext
   3348 ac_exeext=$EXEEXT
   3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3350 /* end confdefs.h.  */
   3351 #include <stdio.h>
   3352 int
   3353 main (void)
   3354 {
   3355 FILE *f = fopen ("conftest.out", "w");
   3356  if (!f)
   3357   return 1;
   3358  return ferror (f) || fclose (f) != 0;
   3359 
   3360   ;
   3361   return 0;
   3362 }
   3363 _ACEOF
   3364 ac_clean_files="$ac_clean_files conftest.out"
   3365 # Check that the compiler produces executables we can run.  If not, either
   3366 # the compiler is broken, or we cross compile.
   3367 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3368 printf %s "checking whether we are cross compiling... " >&6; }
   3369 if test "$cross_compiling" != yes; then
   3370   { { ac_try="$ac_link"
   3371 case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3376 printf '%s\n' "$ac_try_echo"; } >&5
   3377   (eval "$ac_link") 2>&5
   3378   ac_status=$?
   3379   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3380   test $ac_status = 0; }
   3381   if { ac_try='./conftest$ac_cv_exeext'
   3382   { { case "(($ac_try" in
   3383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3384   *) ac_try_echo=$ac_try;;
   3385 esac
   3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3387 printf '%s\n' "$ac_try_echo"; } >&5
   3388   (eval "$ac_try") 2>&5
   3389   ac_status=$?
   3390   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3391   test $ac_status = 0; }; }; then
   3392     cross_compiling=no
   3393   else
   3394     if test "$cross_compiling" = maybe; then
   3395 	cross_compiling=yes
   3396     else
   3397 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3398 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3399 as_fn_error 77 "cannot run C compiled programs.
   3400 If you meant to cross compile, use '--host'.
   3401 See 'config.log' for more details" "$LINENO" 5; }
   3402     fi
   3403   fi
   3404 fi
   3405 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3406 printf '%s\n' "$cross_compiling" >&6; }
   3407 
   3408 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3409   conftest.o conftest.obj conftest.out
   3410 ac_clean_files=$ac_clean_files_save
   3411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3412 printf %s "checking for suffix of object files... " >&6; }
   3413 if test ${ac_cv_objext+y}
   3414 then :
   3415   printf %s "(cached) " >&6
   3416 else case e in #(
   3417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main (void)
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 rm -f conftest.o conftest.obj
   3429 if { { ac_try="$ac_compile"
   3430 case "(($ac_try" in
   3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3432   *) ac_try_echo=$ac_try;;
   3433 esac
   3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3435 printf '%s\n' "$ac_try_echo"; } >&5
   3436   (eval "$ac_compile") 2>&5
   3437   ac_status=$?
   3438   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3439   test $ac_status = 0; }
   3440 then :
   3441   for ac_file in conftest.o conftest.obj conftest.*; do
   3442   test -f "$ac_file" || continue;
   3443   case $ac_file in
   3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3445     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3446        break;;
   3447   esac
   3448 done
   3449 else case e in #(
   3450   e) printf '%s\n' "$as_me: failed program was:" >&5
   3451 sed 's/^/| /' conftest.$ac_ext >&5
   3452 
   3453 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3454 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3455 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3456 See 'config.log' for more details" "$LINENO" 5; } ;;
   3457 esac
   3458 fi
   3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3460 esac
   3461 fi
   3462 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3463 printf '%s\n' "$ac_cv_objext" >&6; }
   3464 OBJEXT=$ac_cv_objext
   3465 ac_objext=$OBJEXT
   3466 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3467 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3468 if test ${ac_cv_c_compiler_gnu+y}
   3469 then :
   3470   printf %s "(cached) " >&6
   3471 else case e in #(
   3472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3473 /* end confdefs.h.  */
   3474 
   3475 int
   3476 main (void)
   3477 {
   3478 #ifndef __GNUC__
   3479        choke me
   3480 #endif
   3481 
   3482   ;
   3483   return 0;
   3484 }
   3485 _ACEOF
   3486 if ac_fn_c_try_compile "$LINENO"
   3487 then :
   3488   ac_compiler_gnu=yes
   3489 else case e in #(
   3490   e) ac_compiler_gnu=no ;;
   3491 esac
   3492 fi
   3493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3494 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3495  ;;
   3496 esac
   3497 fi
   3498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3499 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3501 
   3502 if test $ac_compiler_gnu = yes; then
   3503   GCC=yes
   3504 else
   3505   GCC=
   3506 fi
   3507 ac_test_CFLAGS=${CFLAGS+y}
   3508 ac_save_CFLAGS=$CFLAGS
   3509 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3510 printf %s "checking whether $CC accepts -g... " >&6; }
   3511 if test ${ac_cv_prog_cc_g+y}
   3512 then :
   3513   printf %s "(cached) " >&6
   3514 else case e in #(
   3515   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3516    ac_c_werror_flag=yes
   3517    ac_cv_prog_cc_g=no
   3518    CFLAGS="-g"
   3519    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3520 /* end confdefs.h.  */
   3521 
   3522 int
   3523 main (void)
   3524 {
   3525 
   3526   ;
   3527   return 0;
   3528 }
   3529 _ACEOF
   3530 if ac_fn_c_try_compile "$LINENO"
   3531 then :
   3532   ac_cv_prog_cc_g=yes
   3533 else case e in #(
   3534   e) CFLAGS=""
   3535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3536 /* end confdefs.h.  */
   3537 
   3538 int
   3539 main (void)
   3540 {
   3541 
   3542   ;
   3543   return 0;
   3544 }
   3545 _ACEOF
   3546 if ac_fn_c_try_compile "$LINENO"
   3547 then :
   3548 
   3549 else case e in #(
   3550   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3551 	 CFLAGS="-g"
   3552 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3553 /* end confdefs.h.  */
   3554 
   3555 int
   3556 main (void)
   3557 {
   3558 
   3559   ;
   3560   return 0;
   3561 }
   3562 _ACEOF
   3563 if ac_fn_c_try_compile "$LINENO"
   3564 then :
   3565   ac_cv_prog_cc_g=yes
   3566 fi
   3567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3568 esac
   3569 fi
   3570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3571 esac
   3572 fi
   3573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3574    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3575 esac
   3576 fi
   3577 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3578 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   3579 if test $ac_test_CFLAGS; then
   3580   CFLAGS=$ac_save_CFLAGS
   3581 elif test $ac_cv_prog_cc_g = yes; then
   3582   if test "$GCC" = yes; then
   3583     CFLAGS="-g -O2"
   3584   else
   3585     CFLAGS="-g"
   3586   fi
   3587 else
   3588   if test "$GCC" = yes; then
   3589     CFLAGS="-O2"
   3590   else
   3591     CFLAGS=
   3592   fi
   3593 fi
   3594 ac_prog_cc_stdc=no
   3595 if test x$ac_prog_cc_stdc = xno
   3596 then :
   3597   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   3598 printf %s "checking for $CC option to enable C23 features... " >&6; }
   3599 if test ${ac_cv_prog_cc_c23+y}
   3600 then :
   3601   printf %s "(cached) " >&6
   3602 else case e in #(
   3603   e) ac_cv_prog_cc_c23=no
   3604 ac_save_CC=$CC
   3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3606 /* end confdefs.h.  */
   3607 $ac_c_conftest_c23_program
   3608 _ACEOF
   3609 for ac_arg in '' -std=gnu23
   3610 do
   3611   CC="$ac_save_CC $ac_arg"
   3612   if ac_fn_c_try_compile "$LINENO"
   3613 then :
   3614   ac_cv_prog_cc_c23=$ac_arg
   3615 fi
   3616 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3617   test "x$ac_cv_prog_cc_c23" != "xno" && break
   3618 done
   3619 rm -f conftest.$ac_ext
   3620 CC=$ac_save_CC ;;
   3621 esac
   3622 fi
   3623 
   3624 if test "x$ac_cv_prog_cc_c23" = xno
   3625 then :
   3626   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3627 printf '%s\n' "unsupported" >&6; }
   3628 else case e in #(
   3629   e) if test "x$ac_cv_prog_cc_c23" = x
   3630 then :
   3631   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3632 printf '%s\n' "none needed" >&6; }
   3633 else case e in #(
   3634   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   3635 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   3636      CC="$CC $ac_cv_prog_cc_c23" ;;
   3637 esac
   3638 fi
   3639   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   3640   ac_prog_cc_stdc=c23 ;;
   3641 esac
   3642 fi
   3643 fi
   3644 if test x$ac_prog_cc_stdc = xno
   3645 then :
   3646   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3647 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3648 if test ${ac_cv_prog_cc_c11+y}
   3649 then :
   3650   printf %s "(cached) " >&6
   3651 else case e in #(
   3652   e) ac_cv_prog_cc_c11=no
   3653 ac_save_CC=$CC
   3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3655 /* end confdefs.h.  */
   3656 $ac_c_conftest_c11_program
   3657 _ACEOF
   3658 for ac_arg in '' -std=gnu11 -std:c11
   3659 do
   3660   CC="$ac_save_CC $ac_arg"
   3661   if ac_fn_c_try_compile "$LINENO"
   3662 then :
   3663   ac_cv_prog_cc_c11=$ac_arg
   3664 fi
   3665 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3666   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3667 done
   3668 rm -f conftest.$ac_ext
   3669 CC=$ac_save_CC ;;
   3670 esac
   3671 fi
   3672 
   3673 if test "x$ac_cv_prog_cc_c11" = xno
   3674 then :
   3675   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3676 printf '%s\n' "unsupported" >&6; }
   3677 else case e in #(
   3678   e) if test "x$ac_cv_prog_cc_c11" = x
   3679 then :
   3680   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3681 printf '%s\n' "none needed" >&6; }
   3682 else case e in #(
   3683   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3684 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   3685      CC="$CC $ac_cv_prog_cc_c11" ;;
   3686 esac
   3687 fi
   3688   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3689   ac_prog_cc_stdc=c11 ;;
   3690 esac
   3691 fi
   3692 fi
   3693 if test x$ac_prog_cc_stdc = xno
   3694 then :
   3695   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3696 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3697 if test ${ac_cv_prog_cc_c99+y}
   3698 then :
   3699   printf %s "(cached) " >&6
   3700 else case e in #(
   3701   e) ac_cv_prog_cc_c99=no
   3702 ac_save_CC=$CC
   3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3704 /* end confdefs.h.  */
   3705 $ac_c_conftest_c99_program
   3706 _ACEOF
   3707 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3708 do
   3709   CC="$ac_save_CC $ac_arg"
   3710   if ac_fn_c_try_compile "$LINENO"
   3711 then :
   3712   ac_cv_prog_cc_c99=$ac_arg
   3713 fi
   3714 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3715   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3716 done
   3717 rm -f conftest.$ac_ext
   3718 CC=$ac_save_CC ;;
   3719 esac
   3720 fi
   3721 
   3722 if test "x$ac_cv_prog_cc_c99" = xno
   3723 then :
   3724   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3725 printf '%s\n' "unsupported" >&6; }
   3726 else case e in #(
   3727   e) if test "x$ac_cv_prog_cc_c99" = x
   3728 then :
   3729   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3730 printf '%s\n' "none needed" >&6; }
   3731 else case e in #(
   3732   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3733 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   3734      CC="$CC $ac_cv_prog_cc_c99" ;;
   3735 esac
   3736 fi
   3737   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3738   ac_prog_cc_stdc=c99 ;;
   3739 esac
   3740 fi
   3741 fi
   3742 if test x$ac_prog_cc_stdc = xno
   3743 then :
   3744   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3745 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3746 if test ${ac_cv_prog_cc_c89+y}
   3747 then :
   3748   printf %s "(cached) " >&6
   3749 else case e in #(
   3750   e) ac_cv_prog_cc_c89=no
   3751 ac_save_CC=$CC
   3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3753 /* end confdefs.h.  */
   3754 $ac_c_conftest_c89_program
   3755 _ACEOF
   3756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3757 do
   3758   CC="$ac_save_CC $ac_arg"
   3759   if ac_fn_c_try_compile "$LINENO"
   3760 then :
   3761   ac_cv_prog_cc_c89=$ac_arg
   3762 fi
   3763 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3764   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3765 done
   3766 rm -f conftest.$ac_ext
   3767 CC=$ac_save_CC ;;
   3768 esac
   3769 fi
   3770 
   3771 if test "x$ac_cv_prog_cc_c89" = xno
   3772 then :
   3773   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3774 printf '%s\n' "unsupported" >&6; }
   3775 else case e in #(
   3776   e) if test "x$ac_cv_prog_cc_c89" = x
   3777 then :
   3778   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3779 printf '%s\n' "none needed" >&6; }
   3780 else case e in #(
   3781   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3782 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   3783      CC="$CC $ac_cv_prog_cc_c89" ;;
   3784 esac
   3785 fi
   3786   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3787   ac_prog_cc_stdc=c89 ;;
   3788 esac
   3789 fi
   3790 fi
   3791 
   3792 ac_ext=c
   3793 ac_cpp='$CPP $CPPFLAGS'
   3794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3797 
   3798 
   3799   ac_ext=c
   3800 ac_cpp='$CPP $CPPFLAGS'
   3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3804 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3805 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3806 if test ${am_cv_prog_cc_c_o+y}
   3807 then :
   3808   printf %s "(cached) " >&6
   3809 else case e in #(
   3810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3811 /* end confdefs.h.  */
   3812 
   3813 int
   3814 main (void)
   3815 {
   3816 
   3817   ;
   3818   return 0;
   3819 }
   3820 _ACEOF
   3821   # Make sure it works both with $CC and with simple cc.
   3822   # Following AC_PROG_CC_C_O, we do the test twice because some
   3823   # compilers refuse to overwrite an existing .o file with -o,
   3824   # though they will create one.
   3825   am_cv_prog_cc_c_o=yes
   3826   for am_i in 1 2; do
   3827     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3828    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3829    ac_status=$?
   3830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3831    (exit $ac_status); } \
   3832          && test -f conftest2.$ac_objext; then
   3833       : OK
   3834     else
   3835       am_cv_prog_cc_c_o=no
   3836       break
   3837     fi
   3838   done
   3839   # aligned with autoconf, so not including core; see bug#72225.
   3840   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   3841     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   3842     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   3843   unset am_i ;;
   3844 esac
   3845 fi
   3846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3847 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   3848 if test "$am_cv_prog_cc_c_o" != yes; then
   3849    # Losing compiler, so override with the script.
   3850    # FIXME: It is wrong to rewrite CC.
   3851    # But if we don't then we get into trouble of one sort or another.
   3852    # A longer-term fix would be to have automake use am__CC in this case,
   3853    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3854    CC="$am_aux_dir/compile $CC"
   3855 fi
   3856 ac_ext=c
   3857 ac_cpp='$CPP $CPPFLAGS'
   3858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3861 
   3862 
   3863 
   3864 ac_header= ac_cache=
   3865 for ac_item in $ac_header_c_list
   3866 do
   3867   if test $ac_cache; then
   3868     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3869     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3870       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   3871     fi
   3872     ac_header= ac_cache=
   3873   elif test $ac_header; then
   3874     ac_cache=$ac_item
   3875   else
   3876     ac_header=$ac_item
   3877   fi
   3878 done
   3879 
   3880 
   3881 
   3882 
   3883 
   3884 
   3885 
   3886 
   3887 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3888 then :
   3889 
   3890 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   3891 
   3892 fi
   3893 
   3894 
   3895 
   3896 
   3897 
   3898 
   3899   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3900 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3901 if test ${ac_cv_safe_to_define___extensions__+y}
   3902 then :
   3903   printf %s "(cached) " >&6
   3904 else case e in #(
   3905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3906 /* end confdefs.h.  */
   3907 
   3908 #         define __EXTENSIONS__ 1
   3909           $ac_includes_default
   3910 int
   3911 main (void)
   3912 {
   3913 
   3914   ;
   3915   return 0;
   3916 }
   3917 _ACEOF
   3918 if ac_fn_c_try_compile "$LINENO"
   3919 then :
   3920   ac_cv_safe_to_define___extensions__=yes
   3921 else case e in #(
   3922   e) ac_cv_safe_to_define___extensions__=no ;;
   3923 esac
   3924 fi
   3925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3926 esac
   3927 fi
   3928 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3929 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   3930 
   3931   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3932 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3933 if test ${ac_cv_should_define__xopen_source+y}
   3934 then :
   3935   printf %s "(cached) " >&6
   3936 else case e in #(
   3937   e) ac_cv_should_define__xopen_source=no
   3938     if test $ac_cv_header_wchar_h = yes
   3939 then :
   3940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3941 /* end confdefs.h.  */
   3942 
   3943           #include <wchar.h>
   3944           mbstate_t x;
   3945 int
   3946 main (void)
   3947 {
   3948 
   3949   ;
   3950   return 0;
   3951 }
   3952 _ACEOF
   3953 if ac_fn_c_try_compile "$LINENO"
   3954 then :
   3955 
   3956 else case e in #(
   3957   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3958 /* end confdefs.h.  */
   3959 
   3960             #define _XOPEN_SOURCE 500
   3961             #include <wchar.h>
   3962             mbstate_t x;
   3963 int
   3964 main (void)
   3965 {
   3966 
   3967   ;
   3968   return 0;
   3969 }
   3970 _ACEOF
   3971 if ac_fn_c_try_compile "$LINENO"
   3972 then :
   3973   ac_cv_should_define__xopen_source=yes
   3974 fi
   3975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3976 esac
   3977 fi
   3978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3979 fi ;;
   3980 esac
   3981 fi
   3982 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3983 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   3984 
   3985   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   3986 
   3987   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   3988 
   3989   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3990 
   3991   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   3992 
   3993   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3994 
   3995   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   3996 
   3997   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3998 
   3999   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4000 
   4001   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4002 
   4003   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4004 
   4005   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4006 
   4007   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4008 
   4009   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4010 
   4011   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4012 
   4013   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4014 
   4015   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4016 
   4017   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   4018 
   4019   if test $ac_cv_header_minix_config_h = yes
   4020 then :
   4021   MINIX=yes
   4022     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   4023 
   4024     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   4025 
   4026     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4027 
   4028 else case e in #(
   4029   e) MINIX= ;;
   4030 esac
   4031 fi
   4032   if test $ac_cv_safe_to_define___extensions__ = yes
   4033 then :
   4034   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   4035 
   4036 fi
   4037   if test $ac_cv_should_define__xopen_source = yes
   4038 then :
   4039   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   4040 
   4041 fi
   4042 
   4043 
   4044 # Initialize Automake
   4045 am__api_version='1.18'
   4046 
   4047 
   4048   # Find a good install program.  We prefer a C program (faster),
   4049 # so one script is as good as another.  But avoid the broken or
   4050 # incompatible versions:
   4051 # SysV /etc/install, /usr/sbin/install
   4052 # SunOS /usr/etc/install
   4053 # IRIX /sbin/install
   4054 # AIX /bin/install
   4055 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4059 # OS/2's system install, which has a completely different semantic
   4060 # ./install, which can be erroneously created by make from ./install.sh.
   4061 # Reject install programs that cannot install multiple files.
   4062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4063 printf %s "checking for a BSD-compatible install... " >&6; }
   4064 if test -z "$INSTALL"; then
   4065 if test ${ac_cv_path_install+y}
   4066 then :
   4067   printf %s "(cached) " >&6
   4068 else case e in #(
   4069   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4070 for as_dir in $PATH
   4071 do
   4072   IFS=$as_save_IFS
   4073   case $as_dir in #(((
   4074     '') as_dir=./ ;;
   4075     */) ;;
   4076     *) as_dir=$as_dir/ ;;
   4077   esac
   4078     # Account for fact that we put trailing slashes in our PATH walk.
   4079 case $as_dir in #((
   4080   ./ | /[cC]/* | \
   4081   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4082   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4083   /usr/ucb/* ) ;;
   4084   *)
   4085     # OSF/1 and SCO ODT 3.0 have their own names for install.
   4086     # Don't use installbsd from OSF/1 since it installs stuff as root
   4087     # by default.
   4088     for ac_prog in ginstall scoinst install; do
   4089       for ac_exec_ext in '' $ac_executable_extensions; do
   4090 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4091 	  if test $ac_prog = install &&
   4092 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4093 	    # AIX install.  It has an incompatible calling convention.
   4094 	    :
   4095 	  elif test $ac_prog = install &&
   4096 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4097 	    # program-specific install script used by HP pwplus--don't use.
   4098 	    :
   4099 	  else
   4100 	    rm -rf conftest.one conftest.two conftest.dir
   4101 	    echo one > conftest.one
   4102 	    echo two > conftest.two
   4103 	    mkdir conftest.dir
   4104 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4105 	      test -s conftest.one && test -s conftest.two &&
   4106 	      test -s conftest.dir/conftest.one &&
   4107 	      test -s conftest.dir/conftest.two
   4108 	    then
   4109 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4110 	      break 3
   4111 	    fi
   4112 	  fi
   4113 	fi
   4114       done
   4115     done
   4116     ;;
   4117 esac
   4118 
   4119   done
   4120 IFS=$as_save_IFS
   4121 
   4122 rm -rf conftest.one conftest.two conftest.dir
   4123  ;;
   4124 esac
   4125 fi
   4126   if test ${ac_cv_path_install+y}; then
   4127     INSTALL=$ac_cv_path_install
   4128   else
   4129     # As a last resort, use the slow shell script.  Don't cache a
   4130     # value for INSTALL within a source directory, because that will
   4131     # break other packages using the cache if that directory is
   4132     # removed, or if the value is a relative name.
   4133     INSTALL=$ac_install_sh
   4134   fi
   4135 fi
   4136 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4137 printf '%s\n' "$INSTALL" >&6; }
   4138 
   4139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4140 # It thinks the first close brace ends the variable substitution.
   4141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4142 
   4143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4144 
   4145 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4146 
   4147 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4148 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4149 if test ${am_cv_sleep_fractional_seconds+y}
   4150 then :
   4151   printf %s "(cached) " >&6
   4152 else case e in #(
   4153   e) if sleep 0.001 2>/dev/null
   4154 then :
   4155   am_cv_sleep_fractional_seconds=yes
   4156 else case e in #(
   4157   e) am_cv_sleep_fractional_seconds=no ;;
   4158 esac
   4159 fi
   4160  ;;
   4161 esac
   4162 fi
   4163 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4164 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   4165 
   4166 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4167 printf %s "checking filesystem timestamp resolution... " >&6; }
   4168 if test ${am_cv_filesystem_timestamp_resolution+y}
   4169 then :
   4170   printf %s "(cached) " >&6
   4171 else case e in #(
   4172   e) # Default to the worst case.
   4173 am_cv_filesystem_timestamp_resolution=2
   4174 
   4175 # Only try to go finer than 1 sec if sleep can do it.
   4176 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4177 # - 1 sec is not much of a win compared to 2 sec, and
   4178 # - it takes 2 seconds to perform the test whether 1 sec works.
   4179 #
   4180 # Instead, just use the default 2s on platforms that have 1s resolution,
   4181 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4182 # exchange for not incurring the 2s delay for running the test for all
   4183 # packages.
   4184 #
   4185 am_try_resolutions=
   4186 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4187   # Even a millisecond often causes a bunch of false positives,
   4188   # so just try a hundredth of a second. The time saved between .001 and
   4189   # .01 is not terribly consequential.
   4190   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4191 fi
   4192 
   4193 # In order to catch current-generation FAT out, we must *modify* files
   4194 # that already exist; the *creation* timestamp is finer.  Use names
   4195 # that make ls -t sort them differently when they have equal
   4196 # timestamps than when they have distinct timestamps, keeping
   4197 # in mind that ls -t prints the *newest* file first.
   4198 rm -f conftest.ts?
   4199 : > conftest.ts1
   4200 : > conftest.ts2
   4201 : > conftest.ts3
   4202 
   4203 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4204 # clobber the current shell's arguments. (Outer-level square brackets
   4205 # are removed by m4; they're present so that m4 does not expand
   4206 # <dollar><star>; be careful, easy to get confused.)
   4207 if (
   4208      set X `ls -t conftest.ts[12]` &&
   4209      {
   4210        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4211        test "$*" != "X conftest.ts2 conftest.ts1";
   4212      }
   4213 ); then :; else
   4214   # If neither matched, then we have a broken ls.  This can happen
   4215   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4216   # broken ls alias from the environment.  This has actually
   4217   # happened.  Such a system could not be considered "sane".
   4218   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4219   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4220 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4221 as_fn_error $? "ls -t produces unexpected output.
   4222 Make sure there is not a broken ls alias in your environment.
   4223 See 'config.log' for more details" "$LINENO" 5; }
   4224 fi
   4225 
   4226 for am_try_res in $am_try_resolutions; do
   4227   # Any one fine-grained sleep might happen to cross the boundary
   4228   # between two values of a coarser actual resolution, but if we do
   4229   # two fine-grained sleeps in a row, at least one of them will fall
   4230   # entirely within a coarse interval.
   4231   echo alpha > conftest.ts1
   4232   sleep $am_try_res
   4233   echo beta > conftest.ts2
   4234   sleep $am_try_res
   4235   echo gamma > conftest.ts3
   4236 
   4237   # We assume that 'ls -t' will make use of high-resolution
   4238   # timestamps if the operating system supports them at all.
   4239   if (set X `ls -t conftest.ts?` &&
   4240       test "$2" = conftest.ts3 &&
   4241       test "$3" = conftest.ts2 &&
   4242       test "$4" = conftest.ts1); then
   4243     #
   4244     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4245     # because we don't need to test make.
   4246     make_ok=true
   4247     if test $am_try_res != 1; then
   4248       # But if we've succeeded so far with a subsecond resolution, we
   4249       # have one more thing to check: make. It can happen that
   4250       # everything else supports the subsecond mtimes, but make doesn't;
   4251       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4252       # released under GPLv2). https://bugs.gnu.org/68808
   4253       #
   4254       # We test $MAKE if it is defined in the environment, else "make".
   4255       # It might get overridden later, but our hope is that in practice
   4256       # it does not matter: it is the system "make" which is (by far)
   4257       # the most likely to be broken, whereas if the user overrides it,
   4258       # probably they did so with a better, or at least not worse, make.
   4259       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4260       #
   4261       # Create a Makefile (real tab character here):
   4262       rm -f conftest.mk
   4263       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4264       echo '	touch conftest.ts2' >>conftest.mk
   4265       #
   4266       # Now, running
   4267       #   touch conftest.ts1; touch conftest.ts2; make
   4268       # should touch ts1 because ts2 is newer. This could happen by luck,
   4269       # but most often, it will fail if make's support is insufficient. So
   4270       # test for several consecutive successes.
   4271       #
   4272       # (We reuse conftest.ts[12] because we still want to modify existing
   4273       # files, not create new ones, per above.)
   4274       n=0
   4275       make=${MAKE-make}
   4276       until test $n -eq 3; do
   4277         echo one > conftest.ts1
   4278         sleep $am_try_res
   4279         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4280         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4281           make_ok=false
   4282           break # out of $n loop
   4283         fi
   4284         n=`expr $n + 1`
   4285       done
   4286     fi
   4287     #
   4288     if $make_ok; then
   4289       # Everything we know to check worked out, so call this resolution good.
   4290       am_cv_filesystem_timestamp_resolution=$am_try_res
   4291       break # out of $am_try_res loop
   4292     fi
   4293     # Otherwise, we'll go on to check the next resolution.
   4294   fi
   4295 done
   4296 rm -f conftest.ts?
   4297 # (end _am_filesystem_timestamp_resolution)
   4298  ;;
   4299 esac
   4300 fi
   4301 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4302 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   4303 
   4304 # This check should not be cached, as it may vary across builds of
   4305 # different projects.
   4306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4307 printf %s "checking whether build environment is sane... " >&6; }
   4308 # Reject unsafe characters in $srcdir or the absolute working directory
   4309 # name.  Accept space and tab only in the latter.
   4310 am_lf='
   4311 '
   4312 case `pwd` in
   4313   *[\\\"\#\$\&\'\`$am_lf]*)
   4314     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4315 printf '%s\n' "no" >&6; }
   4316     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4317 esac
   4318 case $srcdir in
   4319   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4320     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4321 printf '%s\n' "no" >&6; }
   4322     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4323 esac
   4324 
   4325 # Do 'set' in a subshell so we don't clobber the current shell's
   4326 # arguments.  Must try -L first in case configure is actually a
   4327 # symlink; some systems play weird games with the mod time of symlinks
   4328 # (eg FreeBSD returns the mod time of the symlink's containing
   4329 # directory).
   4330 am_build_env_is_sane=no
   4331 am_has_slept=no
   4332 rm -f conftest.file
   4333 for am_try in 1 2; do
   4334   echo "timestamp, slept: $am_has_slept" > conftest.file
   4335   if (
   4336     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4337     if test "$*" = "X"; then
   4338       # -L didn't work.
   4339       set X `ls -t "$srcdir/configure" conftest.file`
   4340     fi
   4341     test "$2" = conftest.file
   4342   ); then
   4343     am_build_env_is_sane=yes
   4344     break
   4345   fi
   4346   # Just in case.
   4347   sleep "$am_cv_filesystem_timestamp_resolution"
   4348   am_has_slept=yes
   4349 done
   4350 
   4351 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4352 printf '%s\n' "$am_build_env_is_sane" >&6; }
   4353 if test "$am_build_env_is_sane" = no; then
   4354   as_fn_error $? "newly created file is older than distributed files!
   4355 Check your system clock" "$LINENO" 5
   4356 fi
   4357 
   4358 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4359 # generated files are strictly newer.
   4360 am_sleep_pid=
   4361 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4362 then :
   4363 
   4364 else case e in #(
   4365   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4366   am_sleep_pid=$!
   4367  ;;
   4368 esac
   4369 fi
   4370 
   4371 rm -f conftest.file
   4372 
   4373 test "$program_prefix" != NONE &&
   4374   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4375 # Use a double $ so make ignores it.
   4376 test "$program_suffix" != NONE &&
   4377   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4378 # Double any \ or $.
   4379 # By default was 's,x,x', remove it if useless.
   4380 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4381 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   4382 
   4383 
   4384   if test x"${MISSING+set}" != xset; then
   4385   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4386 fi
   4387 # Use eval to expand $SHELL
   4388 if eval "$MISSING --is-lightweight"; then
   4389   am_missing_run="$MISSING "
   4390 else
   4391   am_missing_run=
   4392   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4393 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4394 fi
   4395 
   4396 if test x"${install_sh+set}" != xset; then
   4397   case $am_aux_dir in
   4398   *\ * | *\	*)
   4399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4400   *)
   4401     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4402   esac
   4403 fi
   4404 
   4405 # Installed binaries are usually stripped using 'strip' when the user
   4406 # run "make install-strip".  However 'strip' might not be the right
   4407 # tool to use in cross-compilation environments, therefore Automake
   4408 # will honor the 'STRIP' environment variable to overrule this program.
   4409 if test "$cross_compiling" != no; then
   4410   if test -n "$ac_tool_prefix"; then
   4411   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4412 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4413 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4414 printf %s "checking for $ac_word... " >&6; }
   4415 if test ${ac_cv_prog_STRIP+y}
   4416 then :
   4417   printf %s "(cached) " >&6
   4418 else case e in #(
   4419   e) if test -n "$STRIP"; then
   4420   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4421 else
   4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4423 for as_dir in $PATH
   4424 do
   4425   IFS=$as_save_IFS
   4426   case $as_dir in #(((
   4427     '') as_dir=./ ;;
   4428     */) ;;
   4429     *) as_dir=$as_dir/ ;;
   4430   esac
   4431     for ac_exec_ext in '' $ac_executable_extensions; do
   4432   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4433     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4434     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4435     break 2
   4436   fi
   4437 done
   4438   done
   4439 IFS=$as_save_IFS
   4440 
   4441 fi ;;
   4442 esac
   4443 fi
   4444 STRIP=$ac_cv_prog_STRIP
   4445 if test -n "$STRIP"; then
   4446   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4447 printf '%s\n' "$STRIP" >&6; }
   4448 else
   4449   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4450 printf '%s\n' "no" >&6; }
   4451 fi
   4452 
   4453 
   4454 fi
   4455 if test -z "$ac_cv_prog_STRIP"; then
   4456   ac_ct_STRIP=$STRIP
   4457   # Extract the first word of "strip", so it can be a program name with args.
   4458 set dummy strip; ac_word=$2
   4459 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4460 printf %s "checking for $ac_word... " >&6; }
   4461 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4462 then :
   4463   printf %s "(cached) " >&6
   4464 else case e in #(
   4465   e) if test -n "$ac_ct_STRIP"; then
   4466   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4467 else
   4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4469 for as_dir in $PATH
   4470 do
   4471   IFS=$as_save_IFS
   4472   case $as_dir in #(((
   4473     '') as_dir=./ ;;
   4474     */) ;;
   4475     *) as_dir=$as_dir/ ;;
   4476   esac
   4477     for ac_exec_ext in '' $ac_executable_extensions; do
   4478   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4479     ac_cv_prog_ac_ct_STRIP="strip"
   4480     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4481     break 2
   4482   fi
   4483 done
   4484   done
   4485 IFS=$as_save_IFS
   4486 
   4487 fi ;;
   4488 esac
   4489 fi
   4490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4491 if test -n "$ac_ct_STRIP"; then
   4492   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4493 printf '%s\n' "$ac_ct_STRIP" >&6; }
   4494 else
   4495   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4496 printf '%s\n' "no" >&6; }
   4497 fi
   4498 
   4499   if test "x$ac_ct_STRIP" = x; then
   4500     STRIP=":"
   4501   else
   4502     case $cross_compiling:$ac_tool_warned in
   4503 yes:)
   4504 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4505 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4506 ac_tool_warned=yes ;;
   4507 esac
   4508     STRIP=$ac_ct_STRIP
   4509   fi
   4510 else
   4511   STRIP="$ac_cv_prog_STRIP"
   4512 fi
   4513 
   4514 fi
   4515 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4516 
   4517 
   4518   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4519 printf %s "checking for a race-free mkdir -p... " >&6; }
   4520 if test -z "$MKDIR_P"; then
   4521   if test ${ac_cv_path_mkdir+y}
   4522 then :
   4523   printf %s "(cached) " >&6
   4524 else case e in #(
   4525   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4526 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4527 do
   4528   IFS=$as_save_IFS
   4529   case $as_dir in #(((
   4530     '') as_dir=./ ;;
   4531     */) ;;
   4532     *) as_dir=$as_dir/ ;;
   4533   esac
   4534     for ac_prog in mkdir gmkdir; do
   4535 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4536 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4537 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4538 	     'mkdir ('*'coreutils) '* | \
   4539 	     *'BusyBox '* | \
   4540 	     'mkdir (fileutils) '4.1*)
   4541 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4542 	       break 3;;
   4543 	   esac
   4544 	 done
   4545        done
   4546   done
   4547 IFS=$as_save_IFS
   4548  ;;
   4549 esac
   4550 fi
   4551 
   4552   test -d ./--version && rmdir ./--version
   4553   if test ${ac_cv_path_mkdir+y}; then
   4554     MKDIR_P="$ac_cv_path_mkdir -p"
   4555   else
   4556     # As a last resort, use plain mkdir -p,
   4557     # in the hope it doesn't have the bugs of ancient mkdir.
   4558     MKDIR_P='mkdir -p'
   4559   fi
   4560 fi
   4561 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4562 printf '%s\n' "$MKDIR_P" >&6; }
   4563 
   4564 for ac_prog in gawk mawk nawk awk 'busybox awk'
   4565 do
   4566   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4567 set dummy $ac_prog; ac_word=$2
   4568 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4569 printf %s "checking for $ac_word... " >&6; }
   4570 if test ${ac_cv_prog_AWK+y}
   4571 then :
   4572   printf %s "(cached) " >&6
   4573 else case e in #(
   4574   e) if test -n "$AWK"; then
   4575   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4576 else
   4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4578 for as_dir in $PATH
   4579 do
   4580   IFS=$as_save_IFS
   4581   case $as_dir in #(((
   4582     '') as_dir=./ ;;
   4583     */) ;;
   4584     *) as_dir=$as_dir/ ;;
   4585   esac
   4586     for ac_exec_ext in '' $ac_executable_extensions; do
   4587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4588     ac_cv_prog_AWK="$ac_prog"
   4589     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4590     break 2
   4591   fi
   4592 done
   4593   done
   4594 IFS=$as_save_IFS
   4595 
   4596 fi ;;
   4597 esac
   4598 fi
   4599 AWK=$ac_cv_prog_AWK
   4600 if test -n "$AWK"; then
   4601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4602 printf '%s\n' "$AWK" >&6; }
   4603 else
   4604   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4605 printf '%s\n' "no" >&6; }
   4606 fi
   4607 
   4608 
   4609   test -n "$AWK" && break
   4610 done
   4611 
   4612 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4613 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4614 set x ${MAKE-make}
   4615 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4616 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4617 then :
   4618   printf %s "(cached) " >&6
   4619 else case e in #(
   4620   e) cat >conftest.make <<\_ACEOF
   4621 SHELL = /bin/sh
   4622 all:
   4623 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   4624 _ACEOF
   4625 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4627   *@@@%%%=?*=@@@%%%*)
   4628     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4629   *)
   4630     eval ac_cv_prog_make_${ac_make}_set=no;;
   4631 esac
   4632 rm -f conftest.make ;;
   4633 esac
   4634 fi
   4635 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4636   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4637 printf '%s\n' "yes" >&6; }
   4638   SET_MAKE=
   4639 else
   4640   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4641 printf '%s\n' "no" >&6; }
   4642   SET_MAKE="MAKE=${MAKE-make}"
   4643 fi
   4644 
   4645 rm -rf .tst 2>/dev/null
   4646 mkdir .tst 2>/dev/null
   4647 if test -d .tst; then
   4648   am__leading_dot=.
   4649 else
   4650   am__leading_dot=_
   4651 fi
   4652 rmdir .tst 2>/dev/null
   4653 
   4654 DEPDIR="${am__leading_dot}deps"
   4655 
   4656 ac_config_commands="$ac_config_commands depfiles"
   4657 
   4658 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4659 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4660 cat > confinc.mk << 'END'
   4661 am__doit:
   4662 	@echo this is the am__doit target >confinc.out
   4663 .PHONY: am__doit
   4664 END
   4665 am__include="#"
   4666 am__quote=
   4667 # BSD make does it like this.
   4668 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4669 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4670 echo 'include confinc.mk # ignored' > confmf.GNU
   4671 _am_result=no
   4672 for s in GNU BSD; do
   4673   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4674    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4675    ac_status=$?
   4676    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4677    (exit $ac_status); }
   4678   case $?:`cat confinc.out 2>/dev/null` in #(
   4679   '0:this is the am__doit target') :
   4680     case $s in #(
   4681   BSD) :
   4682     am__include='.include' am__quote='"' ;; #(
   4683   *) :
   4684     am__include='include' am__quote='' ;;
   4685 esac ;; #(
   4686   *) :
   4687      ;;
   4688 esac
   4689   if test "$am__include" != "#"; then
   4690     _am_result="yes ($s style)"
   4691     break
   4692   fi
   4693 done
   4694 rm -f confinc.* confmf.*
   4695 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4696 printf '%s\n' "${_am_result}" >&6; }
   4697 
   4698 # Check whether --enable-dependency-tracking was given.
   4699 if test ${enable_dependency_tracking+y}
   4700 then :
   4701   enableval=$enable_dependency_tracking;
   4702 fi
   4703 
   4704 if test "x$enable_dependency_tracking" != xno; then
   4705   am_depcomp="$ac_aux_dir/depcomp"
   4706   AMDEPBACKSLASH='\'
   4707   am__nodep='_no'
   4708 fi
   4709  if test "x$enable_dependency_tracking" != xno; then
   4710   AMDEP_TRUE=
   4711   AMDEP_FALSE='#'
   4712 else
   4713   AMDEP_TRUE='#'
   4714   AMDEP_FALSE=
   4715 fi
   4716 
   4717 
   4718 AM_DEFAULT_VERBOSITY=1
   4719 # Check whether --enable-silent-rules was given.
   4720 if test ${enable_silent_rules+y}
   4721 then :
   4722   enableval=$enable_silent_rules;
   4723 fi
   4724 
   4725 am_make=${MAKE-make}
   4726 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4727 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4728 if test ${am_cv_make_support_nested_variables+y}
   4729 then :
   4730   printf %s "(cached) " >&6
   4731 else case e in #(
   4732   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   4733 BAR0=false
   4734 BAR1=true
   4735 V=1
   4736 am__doit:
   4737 	@$(TRUE)
   4738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4739   am_cv_make_support_nested_variables=yes
   4740 else
   4741   am_cv_make_support_nested_variables=no
   4742 fi ;;
   4743 esac
   4744 fi
   4745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4746 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   4747 AM_BACKSLASH='\'
   4748 
   4749 am__rm_f_notfound=
   4750 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4751 then :
   4752 
   4753 else case e in #(
   4754   e) am__rm_f_notfound='""' ;;
   4755 esac
   4756 fi
   4757 
   4758 
   4759 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4760 printf %s "checking xargs -n works... " >&6; }
   4761 if test ${am_cv_xargs_n_works+y}
   4762 then :
   4763   printf %s "(cached) " >&6
   4764 else case e in #(
   4765   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4766 3"
   4767 then :
   4768   am_cv_xargs_n_works=yes
   4769 else case e in #(
   4770   e) am_cv_xargs_n_works=no ;;
   4771 esac
   4772 fi ;;
   4773 esac
   4774 fi
   4775 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4776 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   4777 if test "$am_cv_xargs_n_works" = yes
   4778 then :
   4779   am__xargs_n='xargs -n'
   4780 else case e in #(
   4781   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4782  ;;
   4783 esac
   4784 fi
   4785 
   4786 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4787   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4788   # is not polluted with repeated "-I."
   4789   am__isrc=' -I$(srcdir)'
   4790   # test to see if srcdir already configured
   4791   if test -f $srcdir/config.status; then
   4792     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4793   fi
   4794 fi
   4795 
   4796 # test whether we have cygpath
   4797 if test -z "$CYGPATH_W"; then
   4798   if (cygpath --version) >/dev/null 2>/dev/null; then
   4799     CYGPATH_W='cygpath -w'
   4800   else
   4801     CYGPATH_W=echo
   4802   fi
   4803 fi
   4804 
   4805 
   4806 # Define the identity of the package.
   4807  PACKAGE='iceauth'
   4808  VERSION='1.0.11'
   4809 
   4810 
   4811 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4812 
   4813 
   4814 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   4815 
   4816 # Some tools Automake needs.
   4817 
   4818 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4819 
   4820 
   4821 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4822 
   4823 
   4824 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4825 
   4826 
   4827 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4828 
   4829 
   4830 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4831 
   4832 # For better backward compatibility.  To be removed once Automake 1.9.x
   4833 # dies out for good.  For more background, see:
   4834 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4835 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4836 mkdir_p='$(MKDIR_P)'
   4837 
   4838 # We need awk for the "check" target (and possibly the TAP driver).  The
   4839 # system "awk" is bad on some platforms.
   4840 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4841 # in the wild :-(  We should find a proper way to deprecate it ...
   4842 AMTAR='$${TAR-tar}'
   4843 
   4844 
   4845 # We'll loop over all known methods to create a tar archive until one works.
   4846 _am_tools='gnutar plaintar pax cpio none'
   4847 
   4848 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4849       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4850       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4851       # and bug#13588).
   4852       am_max_uid=2097151 # 2^21 - 1
   4853       am_max_gid=$am_max_uid
   4854       # The $UID and $GID variables are not portable, so we need to resort
   4855       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4856       # below are definitely unexpected, so allow the users to see them
   4857       # (that is, avoid stderr redirection).
   4858       am_uid=`id -u || echo unknown`
   4859       am_gid=`id -g || echo unknown`
   4860       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4861 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4862       if test x$am_uid = xunknown; then
   4863         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   4864 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   4865       elif test $am_uid -le $am_max_uid; then
   4866         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4867 printf '%s\n' "yes" >&6; }
   4868       else
   4869         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4870 printf '%s\n' "no" >&6; }
   4871         _am_tools=none
   4872       fi
   4873       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4874 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4875       if test x$gm_gid = xunknown; then
   4876         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   4877 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   4878       elif test $am_gid -le $am_max_gid; then
   4879         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4880 printf '%s\n' "yes" >&6; }
   4881       else
   4882         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4883 printf '%s\n' "no" >&6; }
   4884         _am_tools=none
   4885       fi
   4886 
   4887   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4888 printf %s "checking how to create a ustar tar archive... " >&6; }
   4889 
   4890   # Go ahead even if we have the value already cached.  We do so because we
   4891   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4892   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4893 
   4894   for _am_tool in $_am_tools; do
   4895     case $_am_tool in
   4896     gnutar)
   4897       for _am_tar in tar gnutar gtar; do
   4898         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4899    ($_am_tar --version) >&5 2>&5
   4900    ac_status=$?
   4901    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4902    (exit $ac_status); } && break
   4903       done
   4904       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4905       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4906       am__untar="$_am_tar -xf -"
   4907       ;;
   4908     plaintar)
   4909       # Must skip GNU tar: if it does not support --format= it doesn't create
   4910       # ustar tarball either.
   4911       (tar --version) >/dev/null 2>&1 && continue
   4912       am__tar='tar chf - "$$tardir"'
   4913       am__tar_='tar chf - "$tardir"'
   4914       am__untar='tar xf -'
   4915       ;;
   4916     pax)
   4917       am__tar='pax -L -x ustar -w "$$tardir"'
   4918       am__tar_='pax -L -x ustar -w "$tardir"'
   4919       am__untar='pax -r'
   4920       ;;
   4921     cpio)
   4922       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   4923       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   4924       am__untar='cpio -i -H ustar -d'
   4925       ;;
   4926     none)
   4927       am__tar=false
   4928       am__tar_=false
   4929       am__untar=false
   4930       ;;
   4931     esac
   4932 
   4933     # If the value was cached, stop now.  We just wanted to have am__tar
   4934     # and am__untar set.
   4935     test -n "${am_cv_prog_tar_ustar}" && break
   4936 
   4937     # tar/untar a dummy directory, and stop if the command works.
   4938     rm -rf conftest.dir
   4939     mkdir conftest.dir
   4940     echo GrepMe > conftest.dir/file
   4941     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4942    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4943    ac_status=$?
   4944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4945    (exit $ac_status); }
   4946     rm -rf conftest.dir
   4947     if test -s conftest.tar; then
   4948       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4949    ($am__untar <conftest.tar) >&5 2>&5
   4950    ac_status=$?
   4951    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4952    (exit $ac_status); }
   4953       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4954    (cat conftest.dir/file) >&5 2>&5
   4955    ac_status=$?
   4956    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4957    (exit $ac_status); }
   4958       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4959     fi
   4960   done
   4961   rm -rf conftest.dir
   4962 
   4963   if test ${am_cv_prog_tar_ustar+y}
   4964 then :
   4965   printf %s "(cached) " >&6
   4966 else case e in #(
   4967   e) am_cv_prog_tar_ustar=$_am_tool ;;
   4968 esac
   4969 fi
   4970 
   4971   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   4972 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 depcc="$CC"   am_compiler_list=
   4979 
   4980 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4981 printf %s "checking dependency style of $depcc... " >&6; }
   4982 if test ${am_cv_CC_dependencies_compiler_type+y}
   4983 then :
   4984   printf %s "(cached) " >&6
   4985 else case e in #(
   4986   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4987   # We make a subdir and do the tests there.  Otherwise we can end up
   4988   # making bogus files that we don't know about and never remove.  For
   4989   # instance it was reported that on HP-UX the gcc test will end up
   4990   # making a dummy file named 'D' -- because '-MD' means "put the output
   4991   # in D".
   4992   rm -rf conftest.dir
   4993   mkdir conftest.dir
   4994   # Copy depcomp to subdir because otherwise we won't find it if we're
   4995   # using a relative directory.
   4996   cp "$am_depcomp" conftest.dir
   4997   cd conftest.dir
   4998   # We will build objects and dependencies in a subdirectory because
   4999   # it helps to detect inapplicable dependency modes.  For instance
   5000   # both Tru64's cc and ICC support -MD to output dependencies as a
   5001   # side effect of compilation, but ICC will put the dependencies in
   5002   # the current directory while Tru64 will put them in the object
   5003   # directory.
   5004   mkdir sub
   5005 
   5006   am_cv_CC_dependencies_compiler_type=none
   5007   if test "$am_compiler_list" = ""; then
   5008      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5009   fi
   5010   am__universal=false
   5011   case " $depcc " in #(
   5012      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5013      esac
   5014 
   5015   for depmode in $am_compiler_list; do
   5016     # Setup a source with many dependencies, because some compilers
   5017     # like to wrap large dependency lists on column 80 (with \), and
   5018     # we should not choose a depcomp mode which is confused by this.
   5019     #
   5020     # We need to recreate these files for each test, as the compiler may
   5021     # overwrite some of them when testing with obscure command lines.
   5022     # This happens at least with the AIX C compiler.
   5023     : > sub/conftest.c
   5024     for i in 1 2 3 4 5 6; do
   5025       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5026       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5027       # Solaris 10 /bin/sh.
   5028       echo '/* dummy */' > sub/conftst$i.h
   5029     done
   5030     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5031 
   5032     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5033     # mode.  It turns out that the SunPro C++ compiler does not properly
   5034     # handle '-M -o', and we need to detect this.  Also, some Intel
   5035     # versions had trouble with output in subdirs.
   5036     am__obj=sub/conftest.${OBJEXT-o}
   5037     am__minus_obj="-o $am__obj"
   5038     case $depmode in
   5039     gcc)
   5040       # This depmode causes a compiler race in universal mode.
   5041       test "$am__universal" = false || continue
   5042       ;;
   5043     nosideeffect)
   5044       # After this tag, mechanisms are not by side-effect, so they'll
   5045       # only be used when explicitly requested.
   5046       if test "x$enable_dependency_tracking" = xyes; then
   5047 	continue
   5048       else
   5049 	break
   5050       fi
   5051       ;;
   5052     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5053       # This compiler won't grok '-c -o', but also, the minuso test has
   5054       # not run yet.  These depmodes are late enough in the game, and
   5055       # so weak that their functioning should not be impacted.
   5056       am__obj=conftest.${OBJEXT-o}
   5057       am__minus_obj=
   5058       ;;
   5059     none) break ;;
   5060     esac
   5061     if depmode=$depmode \
   5062        source=sub/conftest.c object=$am__obj \
   5063        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5064        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5065          >/dev/null 2>conftest.err &&
   5066        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5067        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5068        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5069        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5070       # icc doesn't choke on unknown options, it will just issue warnings
   5071       # or remarks (even with -Werror).  So we grep stderr for any message
   5072       # that says an option was ignored or not supported.
   5073       # When given -MP, icc 7.0 and 7.1 complain thus:
   5074       #   icc: Command line warning: ignoring option '-M'; no argument required
   5075       # The diagnosis changed in icc 8.0:
   5076       #   icc: Command line remark: option '-MP' not supported
   5077       if (grep 'ignoring option' conftest.err ||
   5078           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5079         am_cv_CC_dependencies_compiler_type=$depmode
   5080         break
   5081       fi
   5082     fi
   5083   done
   5084 
   5085   cd ..
   5086   rm -rf conftest.dir
   5087 else
   5088   am_cv_CC_dependencies_compiler_type=none
   5089 fi
   5090  ;;
   5091 esac
   5092 fi
   5093 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5094 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5095 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5096 
   5097  if
   5098   test "x$enable_dependency_tracking" != xno \
   5099   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5100   am__fastdepCC_TRUE=
   5101   am__fastdepCC_FALSE='#'
   5102 else
   5103   am__fastdepCC_TRUE='#'
   5104   am__fastdepCC_FALSE=
   5105 fi
   5106 
   5107 
   5108 # Variables for tags utilities; see am/tags.am
   5109 if test -z "$CTAGS"; then
   5110   CTAGS=ctags
   5111 fi
   5112 
   5113 if test -z "$ETAGS"; then
   5114   ETAGS=etags
   5115 fi
   5116 
   5117 if test -z "$CSCOPE"; then
   5118   CSCOPE=cscope
   5119 fi
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   5141 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   5142 if test ${ac_cv_c_undeclared_builtin_options+y}
   5143 then :
   5144   printf %s "(cached) " >&6
   5145 else case e in #(
   5146   e) ac_save_CFLAGS=$CFLAGS
   5147    ac_cv_c_undeclared_builtin_options='cannot detect'
   5148    for ac_arg in '' -fno-builtin; do
   5149      CFLAGS="$ac_save_CFLAGS $ac_arg"
   5150      # This test program should *not* compile successfully.
   5151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5152 /* end confdefs.h.  */
   5153 
   5154 int
   5155 main (void)
   5156 {
   5157 (void) strchr;
   5158   ;
   5159   return 0;
   5160 }
   5161 _ACEOF
   5162 if ac_fn_c_try_compile "$LINENO"
   5163 then :
   5164 
   5165 else case e in #(
   5166   e) # This test program should compile successfully.
   5167         # No library function is consistently available on
   5168         # freestanding implementations, so test against a dummy
   5169         # declaration.  Include always-available headers on the
   5170         # off chance that they somehow elicit warnings.
   5171         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5172 /* end confdefs.h.  */
   5173 #include <float.h>
   5174 #include <limits.h>
   5175 #include <stdarg.h>
   5176 #include <stddef.h>
   5177 extern void ac_decl (int, char *);
   5178 
   5179 int
   5180 main (void)
   5181 {
   5182 (void) ac_decl (0, (char *) 0);
   5183   (void) ac_decl;
   5184 
   5185   ;
   5186   return 0;
   5187 }
   5188 _ACEOF
   5189 if ac_fn_c_try_compile "$LINENO"
   5190 then :
   5191   if test x"$ac_arg" = x
   5192 then :
   5193   ac_cv_c_undeclared_builtin_options='none needed'
   5194 else case e in #(
   5195   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   5196 esac
   5197 fi
   5198           break
   5199 fi
   5200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5201 esac
   5202 fi
   5203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5204     done
   5205     CFLAGS=$ac_save_CFLAGS
   5206    ;;
   5207 esac
   5208 fi
   5209 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   5210 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   5211   case $ac_cv_c_undeclared_builtin_options in #(
   5212   'cannot detect') :
   5213     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5214 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5215 as_fn_error $? "cannot make $CC report undeclared builtins
   5216 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   5217   'none needed') :
   5218     ac_c_undeclared_builtin_options='' ;; #(
   5219   *) :
   5220     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   5221 esac
   5222 
   5223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   5224 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   5225 if test ${ac_cv_c_future_darwin_options+y}
   5226 then :
   5227   printf %s "(cached) " >&6
   5228 else case e in #(
   5229   e)       ac_compile_saved="$ac_compile"
   5230    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   5231    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 #if ! (defined __APPLE__ && defined __MACH__)
   5234 	   #error "-Werror=unguarded-availability-new not needed here"
   5235 	  #endif
   5236 
   5237 int
   5238 main (void)
   5239 {
   5240 
   5241   ;
   5242   return 0;
   5243 }
   5244 _ACEOF
   5245 if ac_fn_c_try_compile "$LINENO"
   5246 then :
   5247   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   5248 else case e in #(
   5249   e) ac_cv_c_future_darwin_options='none needed' ;;
   5250 esac
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5253    ac_compile="$ac_compile_saved"
   5254    ;;
   5255 esac
   5256 fi
   5257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5258 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5259  case $ac_cv_c_future_darwin_options in #(
   5260   'none needed') :
   5261     ac_c_future_darwin_options='' ;; #(
   5262   *) :
   5263     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5264 esac
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 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"
   5271 if test "x$ac_cv_have_decl___clang__" = xyes
   5272 then :
   5273   CLANGCC="yes"
   5274 else case e in #(
   5275   e) CLANGCC="no" ;;
   5276 esac
   5277 fi
   5278 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"
   5279 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5280 then :
   5281   INTELCC="yes"
   5282 else case e in #(
   5283   e) INTELCC="no" ;;
   5284 esac
   5285 fi
   5286 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"
   5287 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5288 then :
   5289   SUNCC="yes"
   5290 else case e in #(
   5291   e) SUNCC="no" ;;
   5292 esac
   5293 fi
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5303 	if test -n "$ac_tool_prefix"; then
   5304   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5305 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5307 printf %s "checking for $ac_word... " >&6; }
   5308 if test ${ac_cv_path_PKG_CONFIG+y}
   5309 then :
   5310   printf %s "(cached) " >&6
   5311 else case e in #(
   5312   e) case $PKG_CONFIG in
   5313   [\\/]* | ?:[\\/]*)
   5314   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5315   ;;
   5316   *)
   5317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5318 for as_dir in $PATH
   5319 do
   5320   IFS=$as_save_IFS
   5321   case $as_dir in #(((
   5322     '') as_dir=./ ;;
   5323     */) ;;
   5324     *) as_dir=$as_dir/ ;;
   5325   esac
   5326     for ac_exec_ext in '' $ac_executable_extensions; do
   5327   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5328     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5329     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5330     break 2
   5331   fi
   5332 done
   5333   done
   5334 IFS=$as_save_IFS
   5335 
   5336   ;;
   5337 esac ;;
   5338 esac
   5339 fi
   5340 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5341 if test -n "$PKG_CONFIG"; then
   5342   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5343 printf '%s\n' "$PKG_CONFIG" >&6; }
   5344 else
   5345   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5346 printf '%s\n' "no" >&6; }
   5347 fi
   5348 
   5349 
   5350 fi
   5351 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5352   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5353   # Extract the first word of "pkg-config", so it can be a program name with args.
   5354 set dummy pkg-config; ac_word=$2
   5355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5356 printf %s "checking for $ac_word... " >&6; }
   5357 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5358 then :
   5359   printf %s "(cached) " >&6
   5360 else case e in #(
   5361   e) case $ac_pt_PKG_CONFIG in
   5362   [\\/]* | ?:[\\/]*)
   5363   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5364   ;;
   5365   *)
   5366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5367 for as_dir in $PATH
   5368 do
   5369   IFS=$as_save_IFS
   5370   case $as_dir in #(((
   5371     '') as_dir=./ ;;
   5372     */) ;;
   5373     *) as_dir=$as_dir/ ;;
   5374   esac
   5375     for ac_exec_ext in '' $ac_executable_extensions; do
   5376   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5377     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5378     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5379     break 2
   5380   fi
   5381 done
   5382   done
   5383 IFS=$as_save_IFS
   5384 
   5385   ;;
   5386 esac ;;
   5387 esac
   5388 fi
   5389 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5390 if test -n "$ac_pt_PKG_CONFIG"; then
   5391   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5392 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5393 else
   5394   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5395 printf '%s\n' "no" >&6; }
   5396 fi
   5397 
   5398   if test "x$ac_pt_PKG_CONFIG" = x; then
   5399     PKG_CONFIG=""
   5400   else
   5401     case $cross_compiling:$ac_tool_warned in
   5402 yes:)
   5403 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5404 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5405 ac_tool_warned=yes ;;
   5406 esac
   5407     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5408   fi
   5409 else
   5410   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5411 fi
   5412 
   5413 fi
   5414 if test -n "$PKG_CONFIG"; then
   5415 	_pkg_min_version=0.9.0
   5416 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5417 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5418 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5420 printf '%s\n' "yes" >&6; }
   5421 	else
   5422 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5423 printf '%s\n' "no" >&6; }
   5424 		PKG_CONFIG=""
   5425 	fi
   5426 fi
   5427 
   5428 
   5429   # Make sure we can run config.sub.
   5430 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5431   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5432 
   5433 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5434 printf %s "checking build system type... " >&6; }
   5435 if test ${ac_cv_build+y}
   5436 then :
   5437   printf %s "(cached) " >&6
   5438 else case e in #(
   5439   e) ac_build_alias=$build_alias
   5440 test "x$ac_build_alias" = x &&
   5441   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5442 test "x$ac_build_alias" = x &&
   5443   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5444 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5445   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5446  ;;
   5447 esac
   5448 fi
   5449 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5450 printf '%s\n' "$ac_cv_build" >&6; }
   5451 case $ac_cv_build in
   5452 *-*-*) ;;
   5453 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5454 esac
   5455 build=$ac_cv_build
   5456 ac_save_IFS=$IFS; IFS='-'
   5457 set x $ac_cv_build
   5458 shift
   5459 build_cpu=$1
   5460 build_vendor=$2
   5461 shift; shift
   5462 # Remember, the first character of IFS is used to create $*,
   5463 # except with old shells:
   5464 build_os=$*
   5465 IFS=$ac_save_IFS
   5466 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5467 
   5468 
   5469 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5470 printf %s "checking host system type... " >&6; }
   5471 if test ${ac_cv_host+y}
   5472 then :
   5473   printf %s "(cached) " >&6
   5474 else case e in #(
   5475   e) if test "x$host_alias" = x; then
   5476   ac_cv_host=$ac_cv_build
   5477 else
   5478   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5479     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5480 fi
   5481  ;;
   5482 esac
   5483 fi
   5484 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5485 printf '%s\n' "$ac_cv_host" >&6; }
   5486 case $ac_cv_host in
   5487 *-*-*) ;;
   5488 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5489 esac
   5490 host=$ac_cv_host
   5491 ac_save_IFS=$IFS; IFS='-'
   5492 set x $ac_cv_host
   5493 shift
   5494 host_cpu=$1
   5495 host_vendor=$2
   5496 shift; shift
   5497 # Remember, the first character of IFS is used to create $*,
   5498 # except with old shells:
   5499 host_os=$*
   5500 IFS=$ac_save_IFS
   5501 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5502 
   5503 
   5504 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5505 printf %s "checking for a sed that does not truncate output... " >&6; }
   5506 if test ${ac_cv_path_SED+y}
   5507 then :
   5508   printf %s "(cached) " >&6
   5509 else case e in #(
   5510   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5511      for ac_i in 1 2 3 4 5 6 7; do
   5512        ac_script="$ac_script$as_nl$ac_script"
   5513      done
   5514      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5515      { ac_script=; unset ac_script;}
   5516      if test -z "$SED"; then
   5517   ac_path_SED_found=false
   5518   # Loop through the user's path and test for each of PROGNAME-LIST
   5519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5520 for as_dir in $PATH
   5521 do
   5522   IFS=$as_save_IFS
   5523   case $as_dir in #(((
   5524     '') as_dir=./ ;;
   5525     */) ;;
   5526     *) as_dir=$as_dir/ ;;
   5527   esac
   5528     for ac_prog in sed gsed
   5529    do
   5530     for ac_exec_ext in '' $ac_executable_extensions; do
   5531       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5532       as_fn_executable_p "$ac_path_SED" || continue
   5533 # Check for GNU ac_path_SED and select it if it is found.
   5534   # Check for GNU $ac_path_SED
   5535 case `"$ac_path_SED" --version 2>&1` in #(
   5536 *GNU*)
   5537   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5538 #(
   5539 *)
   5540   ac_count=0
   5541   printf %s 0123456789 >"conftest.in"
   5542   while :
   5543   do
   5544     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5545     mv "conftest.tmp" "conftest.in"
   5546     cp "conftest.in" "conftest.nl"
   5547     printf '%s\n' '' >> "conftest.nl"
   5548     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5549     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5550     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5551     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5552       # Best one so far, save it but keep looking for a better one
   5553       ac_cv_path_SED="$ac_path_SED"
   5554       ac_path_SED_max=$ac_count
   5555     fi
   5556     # 10*(2^10) chars as input seems more than enough
   5557     test $ac_count -gt 10 && break
   5558   done
   5559   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5560 esac
   5561 
   5562       $ac_path_SED_found && break 3
   5563     done
   5564   done
   5565   done
   5566 IFS=$as_save_IFS
   5567   if test -z "$ac_cv_path_SED"; then
   5568     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5569   fi
   5570 else
   5571   ac_cv_path_SED=$SED
   5572 fi
   5573  ;;
   5574 esac
   5575 fi
   5576 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5577 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5578  SED="$ac_cv_path_SED"
   5579   rm -f conftest.sed
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 # Check whether --enable-selective-werror was given.
   5587 if test ${enable_selective_werror+y}
   5588 then :
   5589   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5590 else case e in #(
   5591   e) SELECTIVE_WERROR=yes ;;
   5592 esac
   5593 fi
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5600 if test "x$SUNCC" = "xyes"; then
   5601     BASE_CFLAGS="-v"
   5602 else
   5603     BASE_CFLAGS=""
   5604 fi
   5605 
   5606 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 xorg_testset_save_CFLAGS="$CFLAGS"
   5621 
   5622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5624 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5627 then :
   5628   printf %s "(cached) " >&6
   5629 else case e in #(
   5630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 _ACEOF
   5634 if ac_fn_c_try_compile "$LINENO"
   5635 then :
   5636   xorg_cv_cc_flag_unknown_warning_option=yes
   5637 else case e in #(
   5638   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5639 esac
   5640 fi
   5641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5642 esac
   5643 fi
   5644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5645 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5647 	CFLAGS="$xorg_testset_save_CFLAGS"
   5648 fi
   5649 
   5650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	fi
   5654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5655 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5658 then :
   5659   printf %s "(cached) " >&6
   5660 else case e in #(
   5661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 _ACEOF
   5665 if ac_fn_c_try_compile "$LINENO"
   5666 then :
   5667   xorg_cv_cc_flag_unused_command_line_argument=yes
   5668 else case e in #(
   5669   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5670 esac
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5673 esac
   5674 fi
   5675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5676 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5678 	CFLAGS="$xorg_testset_save_CFLAGS"
   5679 fi
   5680 
   5681 found="no"
   5682 
   5683 	if test $found = "no" ; then
   5684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5686 		fi
   5687 
   5688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5690 		fi
   5691 
   5692 		CFLAGS="$CFLAGS -Wall"
   5693 
   5694 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5695 printf %s "checking if $CC supports -Wall... " >&6; }
   5696 		cacheid=xorg_cv_cc_flag__Wall
   5697 		if eval test \${$cacheid+y}
   5698 then :
   5699   printf %s "(cached) " >&6
   5700 else case e in #(
   5701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5702 /* end confdefs.h.  */
   5703 int i;
   5704 int
   5705 main (void)
   5706 {
   5707 
   5708   ;
   5709   return 0;
   5710 }
   5711 _ACEOF
   5712 if ac_fn_c_try_link "$LINENO"
   5713 then :
   5714   eval $cacheid=yes
   5715 else case e in #(
   5716   e) eval $cacheid=no ;;
   5717 esac
   5718 fi
   5719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5720     conftest$ac_exeext conftest.$ac_ext ;;
   5721 esac
   5722 fi
   5723 
   5724 
   5725 		CFLAGS="$xorg_testset_save_CFLAGS"
   5726 
   5727 		eval supported=\$$cacheid
   5728 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5729 printf '%s\n' "$supported" >&6; }
   5730 		if test "$supported" = "yes" ; then
   5731 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5732 			found="yes"
   5733 		fi
   5734 	fi
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5757 then :
   5758   printf %s "(cached) " >&6
   5759 else case e in #(
   5760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5761 /* end confdefs.h.  */
   5762 int i;
   5763 _ACEOF
   5764 if ac_fn_c_try_compile "$LINENO"
   5765 then :
   5766   xorg_cv_cc_flag_unknown_warning_option=yes
   5767 else case e in #(
   5768   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5769 esac
   5770 fi
   5771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5772 esac
   5773 fi
   5774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5775 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5777 	CFLAGS="$xorg_testset_save_CFLAGS"
   5778 fi
   5779 
   5780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 	fi
   5784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5788 then :
   5789   printf %s "(cached) " >&6
   5790 else case e in #(
   5791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5792 /* end confdefs.h.  */
   5793 int i;
   5794 _ACEOF
   5795 if ac_fn_c_try_compile "$LINENO"
   5796 then :
   5797   xorg_cv_cc_flag_unused_command_line_argument=yes
   5798 else case e in #(
   5799   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5800 esac
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5803 esac
   5804 fi
   5805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5806 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5808 	CFLAGS="$xorg_testset_save_CFLAGS"
   5809 fi
   5810 
   5811 found="no"
   5812 
   5813 	if test $found = "no" ; then
   5814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5816 		fi
   5817 
   5818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5820 		fi
   5821 
   5822 		CFLAGS="$CFLAGS -Wpointer-arith"
   5823 
   5824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5825 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5826 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5827 		if eval test \${$cacheid+y}
   5828 then :
   5829   printf %s "(cached) " >&6
   5830 else case e in #(
   5831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5832 /* end confdefs.h.  */
   5833 int i;
   5834 int
   5835 main (void)
   5836 {
   5837 
   5838   ;
   5839   return 0;
   5840 }
   5841 _ACEOF
   5842 if ac_fn_c_try_link "$LINENO"
   5843 then :
   5844   eval $cacheid=yes
   5845 else case e in #(
   5846   e) eval $cacheid=no ;;
   5847 esac
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5850     conftest$ac_exeext conftest.$ac_ext ;;
   5851 esac
   5852 fi
   5853 
   5854 
   5855 		CFLAGS="$xorg_testset_save_CFLAGS"
   5856 
   5857 		eval supported=\$$cacheid
   5858 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5859 printf '%s\n' "$supported" >&6; }
   5860 		if test "$supported" = "yes" ; then
   5861 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5862 			found="yes"
   5863 		fi
   5864 	fi
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 xorg_testset_save_CFLAGS="$CFLAGS"
   5881 
   5882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5887 then :
   5888   printf %s "(cached) " >&6
   5889 else case e in #(
   5890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5891 /* end confdefs.h.  */
   5892 int i;
   5893 _ACEOF
   5894 if ac_fn_c_try_compile "$LINENO"
   5895 then :
   5896   xorg_cv_cc_flag_unknown_warning_option=yes
   5897 else case e in #(
   5898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5899 esac
   5900 fi
   5901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5902 esac
   5903 fi
   5904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5905 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5907 	CFLAGS="$xorg_testset_save_CFLAGS"
   5908 fi
   5909 
   5910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5913 	fi
   5914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5915 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5918 then :
   5919   printf %s "(cached) " >&6
   5920 else case e in #(
   5921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"
   5926 then :
   5927   xorg_cv_cc_flag_unused_command_line_argument=yes
   5928 else case e in #(
   5929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5930 esac
   5931 fi
   5932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5933 esac
   5934 fi
   5935 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5936 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5938 	CFLAGS="$xorg_testset_save_CFLAGS"
   5939 fi
   5940 
   5941 found="no"
   5942 
   5943 	if test $found = "no" ; then
   5944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 		fi
   5947 
   5948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 		fi
   5951 
   5952 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5953 
   5954 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5955 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5956 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5957 		if eval test \${$cacheid+y}
   5958 then :
   5959   printf %s "(cached) " >&6
   5960 else case e in #(
   5961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5962 /* end confdefs.h.  */
   5963 int i;
   5964 int
   5965 main (void)
   5966 {
   5967 
   5968   ;
   5969   return 0;
   5970 }
   5971 _ACEOF
   5972 if ac_fn_c_try_link "$LINENO"
   5973 then :
   5974   eval $cacheid=yes
   5975 else case e in #(
   5976   e) eval $cacheid=no ;;
   5977 esac
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5980     conftest$ac_exeext conftest.$ac_ext ;;
   5981 esac
   5982 fi
   5983 
   5984 
   5985 		CFLAGS="$xorg_testset_save_CFLAGS"
   5986 
   5987 		eval supported=\$$cacheid
   5988 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5989 printf '%s\n' "$supported" >&6; }
   5990 		if test "$supported" = "yes" ; then
   5991 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5992 			found="yes"
   5993 		fi
   5994 	fi
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 xorg_testset_save_CFLAGS="$CFLAGS"
   6011 
   6012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6014 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6017 then :
   6018   printf %s "(cached) " >&6
   6019 else case e in #(
   6020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 _ACEOF
   6024 if ac_fn_c_try_compile "$LINENO"
   6025 then :
   6026   xorg_cv_cc_flag_unknown_warning_option=yes
   6027 else case e in #(
   6028   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6029 esac
   6030 fi
   6031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6032 esac
   6033 fi
   6034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6035 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6037 	CFLAGS="$xorg_testset_save_CFLAGS"
   6038 fi
   6039 
   6040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6043 	fi
   6044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6045 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6048 then :
   6049   printf %s "(cached) " >&6
   6050 else case e in #(
   6051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6052 /* end confdefs.h.  */
   6053 int i;
   6054 _ACEOF
   6055 if ac_fn_c_try_compile "$LINENO"
   6056 then :
   6057   xorg_cv_cc_flag_unused_command_line_argument=yes
   6058 else case e in #(
   6059   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6060 esac
   6061 fi
   6062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6063 esac
   6064 fi
   6065 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6066 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6068 	CFLAGS="$xorg_testset_save_CFLAGS"
   6069 fi
   6070 
   6071 found="no"
   6072 
   6073 	if test $found = "no" ; then
   6074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 		fi
   6077 
   6078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6080 		fi
   6081 
   6082 		CFLAGS="$CFLAGS -Wformat=2"
   6083 
   6084 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   6085 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   6086 		cacheid=xorg_cv_cc_flag__Wformat_2
   6087 		if eval test \${$cacheid+y}
   6088 then :
   6089   printf %s "(cached) " >&6
   6090 else case e in #(
   6091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 int
   6095 main (void)
   6096 {
   6097 
   6098   ;
   6099   return 0;
   6100 }
   6101 _ACEOF
   6102 if ac_fn_c_try_link "$LINENO"
   6103 then :
   6104   eval $cacheid=yes
   6105 else case e in #(
   6106   e) eval $cacheid=no ;;
   6107 esac
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6110     conftest$ac_exeext conftest.$ac_ext ;;
   6111 esac
   6112 fi
   6113 
   6114 
   6115 		CFLAGS="$xorg_testset_save_CFLAGS"
   6116 
   6117 		eval supported=\$$cacheid
   6118 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6119 printf '%s\n' "$supported" >&6; }
   6120 		if test "$supported" = "yes" ; then
   6121 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   6122 			found="yes"
   6123 		fi
   6124 	fi
   6125 
   6126 	if test $found = "no" ; then
   6127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 		fi
   6130 
   6131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6133 		fi
   6134 
   6135 		CFLAGS="$CFLAGS -Wformat"
   6136 
   6137 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   6138 printf %s "checking if $CC supports -Wformat... " >&6; }
   6139 		cacheid=xorg_cv_cc_flag__Wformat
   6140 		if eval test \${$cacheid+y}
   6141 then :
   6142   printf %s "(cached) " >&6
   6143 else case e in #(
   6144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6145 /* end confdefs.h.  */
   6146 int i;
   6147 int
   6148 main (void)
   6149 {
   6150 
   6151   ;
   6152   return 0;
   6153 }
   6154 _ACEOF
   6155 if ac_fn_c_try_link "$LINENO"
   6156 then :
   6157   eval $cacheid=yes
   6158 else case e in #(
   6159   e) eval $cacheid=no ;;
   6160 esac
   6161 fi
   6162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6163     conftest$ac_exeext conftest.$ac_ext ;;
   6164 esac
   6165 fi
   6166 
   6167 
   6168 		CFLAGS="$xorg_testset_save_CFLAGS"
   6169 
   6170 		eval supported=\$$cacheid
   6171 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6172 printf '%s\n' "$supported" >&6; }
   6173 		if test "$supported" = "yes" ; then
   6174 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   6175 			found="yes"
   6176 		fi
   6177 	fi
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 xorg_testset_save_CFLAGS="$CFLAGS"
   6196 
   6197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6202 then :
   6203   printf %s "(cached) " >&6
   6204 else case e in #(
   6205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6206 /* end confdefs.h.  */
   6207 int i;
   6208 _ACEOF
   6209 if ac_fn_c_try_compile "$LINENO"
   6210 then :
   6211   xorg_cv_cc_flag_unknown_warning_option=yes
   6212 else case e in #(
   6213   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6214 esac
   6215 fi
   6216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6217 esac
   6218 fi
   6219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6220 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6222 	CFLAGS="$xorg_testset_save_CFLAGS"
   6223 fi
   6224 
   6225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6228 	fi
   6229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6230 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6233 then :
   6234   printf %s "(cached) " >&6
   6235 else case e in #(
   6236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 _ACEOF
   6240 if ac_fn_c_try_compile "$LINENO"
   6241 then :
   6242   xorg_cv_cc_flag_unused_command_line_argument=yes
   6243 else case e in #(
   6244   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6245 esac
   6246 fi
   6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6248 esac
   6249 fi
   6250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6251 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6253 	CFLAGS="$xorg_testset_save_CFLAGS"
   6254 fi
   6255 
   6256 found="no"
   6257 
   6258 	if test $found = "no" ; then
   6259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6261 		fi
   6262 
   6263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6265 		fi
   6266 
   6267 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6268 
   6269 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6270 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6271 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6272 		if eval test \${$cacheid+y}
   6273 then :
   6274   printf %s "(cached) " >&6
   6275 else case e in #(
   6276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6277 /* end confdefs.h.  */
   6278 int i;
   6279 int
   6280 main (void)
   6281 {
   6282 
   6283   ;
   6284   return 0;
   6285 }
   6286 _ACEOF
   6287 if ac_fn_c_try_link "$LINENO"
   6288 then :
   6289   eval $cacheid=yes
   6290 else case e in #(
   6291   e) eval $cacheid=no ;;
   6292 esac
   6293 fi
   6294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6295     conftest$ac_exeext conftest.$ac_ext ;;
   6296 esac
   6297 fi
   6298 
   6299 
   6300 		CFLAGS="$xorg_testset_save_CFLAGS"
   6301 
   6302 		eval supported=\$$cacheid
   6303 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6304 printf '%s\n' "$supported" >&6; }
   6305 		if test "$supported" = "yes" ; then
   6306 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6307 			found="yes"
   6308 		fi
   6309 	fi
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 xorg_testset_save_CFLAGS="$CFLAGS"
   6326 
   6327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6329 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6330 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6331 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6332 then :
   6333   printf %s "(cached) " >&6
   6334 else case e in #(
   6335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6336 /* end confdefs.h.  */
   6337 int i;
   6338 _ACEOF
   6339 if ac_fn_c_try_compile "$LINENO"
   6340 then :
   6341   xorg_cv_cc_flag_unknown_warning_option=yes
   6342 else case e in #(
   6343   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6344 esac
   6345 fi
   6346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6347 esac
   6348 fi
   6349 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6350 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6352 	CFLAGS="$xorg_testset_save_CFLAGS"
   6353 fi
   6354 
   6355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6358 	fi
   6359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6360 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6361 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6362 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6363 then :
   6364   printf %s "(cached) " >&6
   6365 else case e in #(
   6366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 _ACEOF
   6370 if ac_fn_c_try_compile "$LINENO"
   6371 then :
   6372   xorg_cv_cc_flag_unused_command_line_argument=yes
   6373 else case e in #(
   6374   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6375 esac
   6376 fi
   6377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6378 esac
   6379 fi
   6380 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6381 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6383 	CFLAGS="$xorg_testset_save_CFLAGS"
   6384 fi
   6385 
   6386 found="no"
   6387 
   6388 	if test $found = "no" ; then
   6389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6391 		fi
   6392 
   6393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6395 		fi
   6396 
   6397 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6398 
   6399 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6400 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6401 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6402 		if eval test \${$cacheid+y}
   6403 then :
   6404   printf %s "(cached) " >&6
   6405 else case e in #(
   6406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6407 /* end confdefs.h.  */
   6408 int i;
   6409 int
   6410 main (void)
   6411 {
   6412 
   6413   ;
   6414   return 0;
   6415 }
   6416 _ACEOF
   6417 if ac_fn_c_try_link "$LINENO"
   6418 then :
   6419   eval $cacheid=yes
   6420 else case e in #(
   6421   e) eval $cacheid=no ;;
   6422 esac
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6425     conftest$ac_exeext conftest.$ac_ext ;;
   6426 esac
   6427 fi
   6428 
   6429 
   6430 		CFLAGS="$xorg_testset_save_CFLAGS"
   6431 
   6432 		eval supported=\$$cacheid
   6433 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6434 printf '%s\n' "$supported" >&6; }
   6435 		if test "$supported" = "yes" ; then
   6436 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6437 			found="yes"
   6438 		fi
   6439 	fi
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 xorg_testset_save_CFLAGS="$CFLAGS"
   6456 
   6457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6459 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6460 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6461 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6462 then :
   6463   printf %s "(cached) " >&6
   6464 else case e in #(
   6465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 _ACEOF
   6469 if ac_fn_c_try_compile "$LINENO"
   6470 then :
   6471   xorg_cv_cc_flag_unknown_warning_option=yes
   6472 else case e in #(
   6473   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6474 esac
   6475 fi
   6476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6477 esac
   6478 fi
   6479 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6480 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6482 	CFLAGS="$xorg_testset_save_CFLAGS"
   6483 fi
   6484 
   6485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6488 	fi
   6489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6490 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6491 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6492 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6493 then :
   6494   printf %s "(cached) " >&6
   6495 else case e in #(
   6496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6497 /* end confdefs.h.  */
   6498 int i;
   6499 _ACEOF
   6500 if ac_fn_c_try_compile "$LINENO"
   6501 then :
   6502   xorg_cv_cc_flag_unused_command_line_argument=yes
   6503 else case e in #(
   6504   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6505 esac
   6506 fi
   6507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6508 esac
   6509 fi
   6510 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6511 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6513 	CFLAGS="$xorg_testset_save_CFLAGS"
   6514 fi
   6515 
   6516 found="no"
   6517 
   6518 	if test $found = "no" ; then
   6519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6521 		fi
   6522 
   6523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6525 		fi
   6526 
   6527 		CFLAGS="$CFLAGS -Wnested-externs"
   6528 
   6529 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6530 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6531 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6532 		if eval test \${$cacheid+y}
   6533 then :
   6534   printf %s "(cached) " >&6
   6535 else case e in #(
   6536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6537 /* end confdefs.h.  */
   6538 int i;
   6539 int
   6540 main (void)
   6541 {
   6542 
   6543   ;
   6544   return 0;
   6545 }
   6546 _ACEOF
   6547 if ac_fn_c_try_link "$LINENO"
   6548 then :
   6549   eval $cacheid=yes
   6550 else case e in #(
   6551   e) eval $cacheid=no ;;
   6552 esac
   6553 fi
   6554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6555     conftest$ac_exeext conftest.$ac_ext ;;
   6556 esac
   6557 fi
   6558 
   6559 
   6560 		CFLAGS="$xorg_testset_save_CFLAGS"
   6561 
   6562 		eval supported=\$$cacheid
   6563 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6564 printf '%s\n' "$supported" >&6; }
   6565 		if test "$supported" = "yes" ; then
   6566 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6567 			found="yes"
   6568 		fi
   6569 	fi
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 xorg_testset_save_CFLAGS="$CFLAGS"
   6586 
   6587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6589 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6590 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6591 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6592 then :
   6593   printf %s "(cached) " >&6
   6594 else case e in #(
   6595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6596 /* end confdefs.h.  */
   6597 int i;
   6598 _ACEOF
   6599 if ac_fn_c_try_compile "$LINENO"
   6600 then :
   6601   xorg_cv_cc_flag_unknown_warning_option=yes
   6602 else case e in #(
   6603   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6604 esac
   6605 fi
   6606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6607 esac
   6608 fi
   6609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6610 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6612 	CFLAGS="$xorg_testset_save_CFLAGS"
   6613 fi
   6614 
   6615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6618 	fi
   6619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6620 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6621 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6622 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6623 then :
   6624   printf %s "(cached) " >&6
   6625 else case e in #(
   6626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6627 /* end confdefs.h.  */
   6628 int i;
   6629 _ACEOF
   6630 if ac_fn_c_try_compile "$LINENO"
   6631 then :
   6632   xorg_cv_cc_flag_unused_command_line_argument=yes
   6633 else case e in #(
   6634   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6635 esac
   6636 fi
   6637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6638 esac
   6639 fi
   6640 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6641 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6643 	CFLAGS="$xorg_testset_save_CFLAGS"
   6644 fi
   6645 
   6646 found="no"
   6647 
   6648 	if test $found = "no" ; then
   6649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6651 		fi
   6652 
   6653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6655 		fi
   6656 
   6657 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6658 
   6659 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6660 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6661 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6662 		if eval test \${$cacheid+y}
   6663 then :
   6664   printf %s "(cached) " >&6
   6665 else case e in #(
   6666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6667 /* end confdefs.h.  */
   6668 int i;
   6669 int
   6670 main (void)
   6671 {
   6672 
   6673   ;
   6674   return 0;
   6675 }
   6676 _ACEOF
   6677 if ac_fn_c_try_link "$LINENO"
   6678 then :
   6679   eval $cacheid=yes
   6680 else case e in #(
   6681   e) eval $cacheid=no ;;
   6682 esac
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6685     conftest$ac_exeext conftest.$ac_ext ;;
   6686 esac
   6687 fi
   6688 
   6689 
   6690 		CFLAGS="$xorg_testset_save_CFLAGS"
   6691 
   6692 		eval supported=\$$cacheid
   6693 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6694 printf '%s\n' "$supported" >&6; }
   6695 		if test "$supported" = "yes" ; then
   6696 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6697 			found="yes"
   6698 		fi
   6699 	fi
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 xorg_testset_save_CFLAGS="$CFLAGS"
   6716 
   6717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6719 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6722 then :
   6723   printf %s "(cached) " >&6
   6724 else case e in #(
   6725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 int i;
   6728 _ACEOF
   6729 if ac_fn_c_try_compile "$LINENO"
   6730 then :
   6731   xorg_cv_cc_flag_unknown_warning_option=yes
   6732 else case e in #(
   6733   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6734 esac
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6737 esac
   6738 fi
   6739 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6740 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6742 	CFLAGS="$xorg_testset_save_CFLAGS"
   6743 fi
   6744 
   6745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 	fi
   6749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6750 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6751 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6752 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else case e in #(
   6756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"
   6761 then :
   6762   xorg_cv_cc_flag_unused_command_line_argument=yes
   6763 else case e in #(
   6764   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6765 esac
   6766 fi
   6767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6768 esac
   6769 fi
   6770 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6771 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6773 	CFLAGS="$xorg_testset_save_CFLAGS"
   6774 fi
   6775 
   6776 found="no"
   6777 
   6778 	if test $found = "no" ; then
   6779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6781 		fi
   6782 
   6783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6785 		fi
   6786 
   6787 		CFLAGS="$CFLAGS -Wold-style-definition"
   6788 
   6789 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6790 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6791 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6792 		if eval test \${$cacheid+y}
   6793 then :
   6794   printf %s "(cached) " >&6
   6795 else case e in #(
   6796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6797 /* end confdefs.h.  */
   6798 int i;
   6799 int
   6800 main (void)
   6801 {
   6802 
   6803   ;
   6804   return 0;
   6805 }
   6806 _ACEOF
   6807 if ac_fn_c_try_link "$LINENO"
   6808 then :
   6809   eval $cacheid=yes
   6810 else case e in #(
   6811   e) eval $cacheid=no ;;
   6812 esac
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6815     conftest$ac_exeext conftest.$ac_ext ;;
   6816 esac
   6817 fi
   6818 
   6819 
   6820 		CFLAGS="$xorg_testset_save_CFLAGS"
   6821 
   6822 		eval supported=\$$cacheid
   6823 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6824 printf '%s\n' "$supported" >&6; }
   6825 		if test "$supported" = "yes" ; then
   6826 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6827 			found="yes"
   6828 		fi
   6829 	fi
   6830 
   6831 	if test $found = "no" ; then
   6832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6834 		fi
   6835 
   6836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6838 		fi
   6839 
   6840 		CFLAGS="$CFLAGS -fd"
   6841 
   6842 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6843 printf %s "checking if $CC supports -fd... " >&6; }
   6844 		cacheid=xorg_cv_cc_flag__fd
   6845 		if eval test \${$cacheid+y}
   6846 then :
   6847   printf %s "(cached) " >&6
   6848 else case e in #(
   6849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6850 /* end confdefs.h.  */
   6851 int i;
   6852 int
   6853 main (void)
   6854 {
   6855 
   6856   ;
   6857   return 0;
   6858 }
   6859 _ACEOF
   6860 if ac_fn_c_try_link "$LINENO"
   6861 then :
   6862   eval $cacheid=yes
   6863 else case e in #(
   6864   e) eval $cacheid=no ;;
   6865 esac
   6866 fi
   6867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6868     conftest$ac_exeext conftest.$ac_ext ;;
   6869 esac
   6870 fi
   6871 
   6872 
   6873 		CFLAGS="$xorg_testset_save_CFLAGS"
   6874 
   6875 		eval supported=\$$cacheid
   6876 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6877 printf '%s\n' "$supported" >&6; }
   6878 		if test "$supported" = "yes" ; then
   6879 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6880 			found="yes"
   6881 		fi
   6882 	fi
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 # This chunk adds additional warnings that could catch undesired effects.
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 xorg_testset_save_CFLAGS="$CFLAGS"
   6903 
   6904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6906 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6907 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6908 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6909 then :
   6910   printf %s "(cached) " >&6
   6911 else case e in #(
   6912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6913 /* end confdefs.h.  */
   6914 int i;
   6915 _ACEOF
   6916 if ac_fn_c_try_compile "$LINENO"
   6917 then :
   6918   xorg_cv_cc_flag_unknown_warning_option=yes
   6919 else case e in #(
   6920   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6921 esac
   6922 fi
   6923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6924 esac
   6925 fi
   6926 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6927 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6929 	CFLAGS="$xorg_testset_save_CFLAGS"
   6930 fi
   6931 
   6932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6935 	fi
   6936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6937 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6938 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6939 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6940 then :
   6941   printf %s "(cached) " >&6
   6942 else case e in #(
   6943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 _ACEOF
   6947 if ac_fn_c_try_compile "$LINENO"
   6948 then :
   6949   xorg_cv_cc_flag_unused_command_line_argument=yes
   6950 else case e in #(
   6951   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6952 esac
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6955 esac
   6956 fi
   6957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6958 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6960 	CFLAGS="$xorg_testset_save_CFLAGS"
   6961 fi
   6962 
   6963 found="no"
   6964 
   6965 	if test $found = "no" ; then
   6966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 		fi
   6969 
   6970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6972 		fi
   6973 
   6974 		CFLAGS="$CFLAGS -Wunused"
   6975 
   6976 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6977 printf %s "checking if $CC supports -Wunused... " >&6; }
   6978 		cacheid=xorg_cv_cc_flag__Wunused
   6979 		if eval test \${$cacheid+y}
   6980 then :
   6981   printf %s "(cached) " >&6
   6982 else case e in #(
   6983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 int
   6987 main (void)
   6988 {
   6989 
   6990   ;
   6991   return 0;
   6992 }
   6993 _ACEOF
   6994 if ac_fn_c_try_link "$LINENO"
   6995 then :
   6996   eval $cacheid=yes
   6997 else case e in #(
   6998   e) eval $cacheid=no ;;
   6999 esac
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7002     conftest$ac_exeext conftest.$ac_ext ;;
   7003 esac
   7004 fi
   7005 
   7006 
   7007 		CFLAGS="$xorg_testset_save_CFLAGS"
   7008 
   7009 		eval supported=\$$cacheid
   7010 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7011 printf '%s\n' "$supported" >&6; }
   7012 		if test "$supported" = "yes" ; then
   7013 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   7014 			found="yes"
   7015 		fi
   7016 	fi
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 xorg_testset_save_CFLAGS="$CFLAGS"
   7033 
   7034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7036 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7039 then :
   7040   printf %s "(cached) " >&6
   7041 else case e in #(
   7042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7043 /* end confdefs.h.  */
   7044 int i;
   7045 _ACEOF
   7046 if ac_fn_c_try_compile "$LINENO"
   7047 then :
   7048   xorg_cv_cc_flag_unknown_warning_option=yes
   7049 else case e in #(
   7050   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7051 esac
   7052 fi
   7053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7054 esac
   7055 fi
   7056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7057 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7059 	CFLAGS="$xorg_testset_save_CFLAGS"
   7060 fi
   7061 
   7062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7065 	fi
   7066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7067 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else case e in #(
   7073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7074 /* end confdefs.h.  */
   7075 int i;
   7076 _ACEOF
   7077 if ac_fn_c_try_compile "$LINENO"
   7078 then :
   7079   xorg_cv_cc_flag_unused_command_line_argument=yes
   7080 else case e in #(
   7081   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7082 esac
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7085 esac
   7086 fi
   7087 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7088 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7090 	CFLAGS="$xorg_testset_save_CFLAGS"
   7091 fi
   7092 
   7093 found="no"
   7094 
   7095 	if test $found = "no" ; then
   7096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 		fi
   7099 
   7100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7102 		fi
   7103 
   7104 		CFLAGS="$CFLAGS -Wuninitialized"
   7105 
   7106 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   7107 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   7108 		cacheid=xorg_cv_cc_flag__Wuninitialized
   7109 		if eval test \${$cacheid+y}
   7110 then :
   7111   printf %s "(cached) " >&6
   7112 else case e in #(
   7113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 int i;
   7116 int
   7117 main (void)
   7118 {
   7119 
   7120   ;
   7121   return 0;
   7122 }
   7123 _ACEOF
   7124 if ac_fn_c_try_link "$LINENO"
   7125 then :
   7126   eval $cacheid=yes
   7127 else case e in #(
   7128   e) eval $cacheid=no ;;
   7129 esac
   7130 fi
   7131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7132     conftest$ac_exeext conftest.$ac_ext ;;
   7133 esac
   7134 fi
   7135 
   7136 
   7137 		CFLAGS="$xorg_testset_save_CFLAGS"
   7138 
   7139 		eval supported=\$$cacheid
   7140 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7141 printf '%s\n' "$supported" >&6; }
   7142 		if test "$supported" = "yes" ; then
   7143 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   7144 			found="yes"
   7145 		fi
   7146 	fi
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 xorg_testset_save_CFLAGS="$CFLAGS"
   7163 
   7164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7167 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7168 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7169 then :
   7170   printf %s "(cached) " >&6
   7171 else case e in #(
   7172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7173 /* end confdefs.h.  */
   7174 int i;
   7175 _ACEOF
   7176 if ac_fn_c_try_compile "$LINENO"
   7177 then :
   7178   xorg_cv_cc_flag_unknown_warning_option=yes
   7179 else case e in #(
   7180   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7181 esac
   7182 fi
   7183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7184 esac
   7185 fi
   7186 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7187 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7189 	CFLAGS="$xorg_testset_save_CFLAGS"
   7190 fi
   7191 
   7192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7195 	fi
   7196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7197 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7200 then :
   7201   printf %s "(cached) " >&6
   7202 else case e in #(
   7203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 _ACEOF
   7207 if ac_fn_c_try_compile "$LINENO"
   7208 then :
   7209   xorg_cv_cc_flag_unused_command_line_argument=yes
   7210 else case e in #(
   7211   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7212 esac
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7215 esac
   7216 fi
   7217 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7218 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7220 	CFLAGS="$xorg_testset_save_CFLAGS"
   7221 fi
   7222 
   7223 found="no"
   7224 
   7225 	if test $found = "no" ; then
   7226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 		fi
   7229 
   7230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7232 		fi
   7233 
   7234 		CFLAGS="$CFLAGS -Wshadow"
   7235 
   7236 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7237 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7238 		cacheid=xorg_cv_cc_flag__Wshadow
   7239 		if eval test \${$cacheid+y}
   7240 then :
   7241   printf %s "(cached) " >&6
   7242 else case e in #(
   7243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7244 /* end confdefs.h.  */
   7245 int i;
   7246 int
   7247 main (void)
   7248 {
   7249 
   7250   ;
   7251   return 0;
   7252 }
   7253 _ACEOF
   7254 if ac_fn_c_try_link "$LINENO"
   7255 then :
   7256   eval $cacheid=yes
   7257 else case e in #(
   7258   e) eval $cacheid=no ;;
   7259 esac
   7260 fi
   7261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7262     conftest$ac_exeext conftest.$ac_ext ;;
   7263 esac
   7264 fi
   7265 
   7266 
   7267 		CFLAGS="$xorg_testset_save_CFLAGS"
   7268 
   7269 		eval supported=\$$cacheid
   7270 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7271 printf '%s\n' "$supported" >&6; }
   7272 		if test "$supported" = "yes" ; then
   7273 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7274 			found="yes"
   7275 		fi
   7276 	fi
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 xorg_testset_save_CFLAGS="$CFLAGS"
   7293 
   7294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7296 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7299 then :
   7300   printf %s "(cached) " >&6
   7301 else case e in #(
   7302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 _ACEOF
   7306 if ac_fn_c_try_compile "$LINENO"
   7307 then :
   7308   xorg_cv_cc_flag_unknown_warning_option=yes
   7309 else case e in #(
   7310   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7311 esac
   7312 fi
   7313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7314 esac
   7315 fi
   7316 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7317 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7319 	CFLAGS="$xorg_testset_save_CFLAGS"
   7320 fi
   7321 
   7322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7325 	fi
   7326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7327 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7330 then :
   7331   printf %s "(cached) " >&6
   7332 else case e in #(
   7333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"
   7338 then :
   7339   xorg_cv_cc_flag_unused_command_line_argument=yes
   7340 else case e in #(
   7341   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7342 esac
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7345 esac
   7346 fi
   7347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7348 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7350 	CFLAGS="$xorg_testset_save_CFLAGS"
   7351 fi
   7352 
   7353 found="no"
   7354 
   7355 	if test $found = "no" ; then
   7356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7358 		fi
   7359 
   7360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7362 		fi
   7363 
   7364 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7365 
   7366 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7367 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7368 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7369 		if eval test \${$cacheid+y}
   7370 then :
   7371   printf %s "(cached) " >&6
   7372 else case e in #(
   7373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 int i;
   7376 int
   7377 main (void)
   7378 {
   7379 
   7380   ;
   7381   return 0;
   7382 }
   7383 _ACEOF
   7384 if ac_fn_c_try_link "$LINENO"
   7385 then :
   7386   eval $cacheid=yes
   7387 else case e in #(
   7388   e) eval $cacheid=no ;;
   7389 esac
   7390 fi
   7391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7392     conftest$ac_exeext conftest.$ac_ext ;;
   7393 esac
   7394 fi
   7395 
   7396 
   7397 		CFLAGS="$xorg_testset_save_CFLAGS"
   7398 
   7399 		eval supported=\$$cacheid
   7400 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7401 printf '%s\n' "$supported" >&6; }
   7402 		if test "$supported" = "yes" ; then
   7403 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7404 			found="yes"
   7405 		fi
   7406 	fi
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 xorg_testset_save_CFLAGS="$CFLAGS"
   7423 
   7424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7427 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7428 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7429 then :
   7430   printf %s "(cached) " >&6
   7431 else case e in #(
   7432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 _ACEOF
   7436 if ac_fn_c_try_compile "$LINENO"
   7437 then :
   7438   xorg_cv_cc_flag_unknown_warning_option=yes
   7439 else case e in #(
   7440   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7441 esac
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7444 esac
   7445 fi
   7446 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7447 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7449 	CFLAGS="$xorg_testset_save_CFLAGS"
   7450 fi
   7451 
   7452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7455 	fi
   7456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7457 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7460 then :
   7461   printf %s "(cached) " >&6
   7462 else case e in #(
   7463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7464 /* end confdefs.h.  */
   7465 int i;
   7466 _ACEOF
   7467 if ac_fn_c_try_compile "$LINENO"
   7468 then :
   7469   xorg_cv_cc_flag_unused_command_line_argument=yes
   7470 else case e in #(
   7471   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7472 esac
   7473 fi
   7474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7475 esac
   7476 fi
   7477 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7478 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7480 	CFLAGS="$xorg_testset_save_CFLAGS"
   7481 fi
   7482 
   7483 found="no"
   7484 
   7485 	if test $found = "no" ; then
   7486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 		fi
   7489 
   7490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7492 		fi
   7493 
   7494 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7495 
   7496 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7497 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7498 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7499 		if eval test \${$cacheid+y}
   7500 then :
   7501   printf %s "(cached) " >&6
   7502 else case e in #(
   7503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7504 /* end confdefs.h.  */
   7505 int i;
   7506 int
   7507 main (void)
   7508 {
   7509 
   7510   ;
   7511   return 0;
   7512 }
   7513 _ACEOF
   7514 if ac_fn_c_try_link "$LINENO"
   7515 then :
   7516   eval $cacheid=yes
   7517 else case e in #(
   7518   e) eval $cacheid=no ;;
   7519 esac
   7520 fi
   7521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7522     conftest$ac_exeext conftest.$ac_ext ;;
   7523 esac
   7524 fi
   7525 
   7526 
   7527 		CFLAGS="$xorg_testset_save_CFLAGS"
   7528 
   7529 		eval supported=\$$cacheid
   7530 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7531 printf '%s\n' "$supported" >&6; }
   7532 		if test "$supported" = "yes" ; then
   7533 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7534 			found="yes"
   7535 		fi
   7536 	fi
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 xorg_testset_save_CFLAGS="$CFLAGS"
   7553 
   7554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7556 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7557 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7558 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else case e in #(
   7562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 _ACEOF
   7566 if ac_fn_c_try_compile "$LINENO"
   7567 then :
   7568   xorg_cv_cc_flag_unknown_warning_option=yes
   7569 else case e in #(
   7570   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7571 esac
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7574 esac
   7575 fi
   7576 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7577 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7579 	CFLAGS="$xorg_testset_save_CFLAGS"
   7580 fi
   7581 
   7582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7585 	fi
   7586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7587 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7588 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7589 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7590 then :
   7591   printf %s "(cached) " >&6
   7592 else case e in #(
   7593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7594 /* end confdefs.h.  */
   7595 int i;
   7596 _ACEOF
   7597 if ac_fn_c_try_compile "$LINENO"
   7598 then :
   7599   xorg_cv_cc_flag_unused_command_line_argument=yes
   7600 else case e in #(
   7601   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7602 esac
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7605 esac
   7606 fi
   7607 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7608 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 found="no"
   7614 
   7615 	if test $found = "no" ; then
   7616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 		fi
   7619 
   7620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7622 		fi
   7623 
   7624 		CFLAGS="$CFLAGS -Wredundant-decls"
   7625 
   7626 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7627 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7628 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7629 		if eval test \${$cacheid+y}
   7630 then :
   7631   printf %s "(cached) " >&6
   7632 else case e in #(
   7633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7634 /* end confdefs.h.  */
   7635 int i;
   7636 int
   7637 main (void)
   7638 {
   7639 
   7640   ;
   7641   return 0;
   7642 }
   7643 _ACEOF
   7644 if ac_fn_c_try_link "$LINENO"
   7645 then :
   7646   eval $cacheid=yes
   7647 else case e in #(
   7648   e) eval $cacheid=no ;;
   7649 esac
   7650 fi
   7651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7652     conftest$ac_exeext conftest.$ac_ext ;;
   7653 esac
   7654 fi
   7655 
   7656 
   7657 		CFLAGS="$xorg_testset_save_CFLAGS"
   7658 
   7659 		eval supported=\$$cacheid
   7660 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7661 printf '%s\n' "$supported" >&6; }
   7662 		if test "$supported" = "yes" ; then
   7663 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7664 			found="yes"
   7665 		fi
   7666 	fi
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 xorg_testset_save_CFLAGS="$CFLAGS"
   7683 
   7684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7687 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7688 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7689 then :
   7690   printf %s "(cached) " >&6
   7691 else case e in #(
   7692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7693 /* end confdefs.h.  */
   7694 int i;
   7695 _ACEOF
   7696 if ac_fn_c_try_compile "$LINENO"
   7697 then :
   7698   xorg_cv_cc_flag_unknown_warning_option=yes
   7699 else case e in #(
   7700   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7701 esac
   7702 fi
   7703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7704 esac
   7705 fi
   7706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7707 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7709 	CFLAGS="$xorg_testset_save_CFLAGS"
   7710 fi
   7711 
   7712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7715 	fi
   7716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7717 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7718 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7719 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7720 then :
   7721   printf %s "(cached) " >&6
   7722 else case e in #(
   7723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 _ACEOF
   7727 if ac_fn_c_try_compile "$LINENO"
   7728 then :
   7729   xorg_cv_cc_flag_unused_command_line_argument=yes
   7730 else case e in #(
   7731   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7732 esac
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7735 esac
   7736 fi
   7737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7738 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7740 	CFLAGS="$xorg_testset_save_CFLAGS"
   7741 fi
   7742 
   7743 found="no"
   7744 
   7745 	if test $found = "no" ; then
   7746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7748 		fi
   7749 
   7750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7752 		fi
   7753 
   7754 		CFLAGS="$CFLAGS -Wlogical-op"
   7755 
   7756 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7757 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7758 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7759 		if eval test \${$cacheid+y}
   7760 then :
   7761   printf %s "(cached) " >&6
   7762 else case e in #(
   7763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7764 /* end confdefs.h.  */
   7765 int i;
   7766 int
   7767 main (void)
   7768 {
   7769 
   7770   ;
   7771   return 0;
   7772 }
   7773 _ACEOF
   7774 if ac_fn_c_try_link "$LINENO"
   7775 then :
   7776   eval $cacheid=yes
   7777 else case e in #(
   7778   e) eval $cacheid=no ;;
   7779 esac
   7780 fi
   7781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7782     conftest$ac_exeext conftest.$ac_ext ;;
   7783 esac
   7784 fi
   7785 
   7786 
   7787 		CFLAGS="$xorg_testset_save_CFLAGS"
   7788 
   7789 		eval supported=\$$cacheid
   7790 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7791 printf '%s\n' "$supported" >&6; }
   7792 		if test "$supported" = "yes" ; then
   7793 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7794 			found="yes"
   7795 		fi
   7796 	fi
   7797 
   7798 
   7799 
   7800 # These are currently disabled because they are noisy.  They will be enabled
   7801 # in the future once the codebase is sufficiently modernized to silence
   7802 # them.  For now, I don't want them to drown out the other warnings.
   7803 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7804 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7805 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7806 
   7807 # Turn some warnings into errors, so we don't accidentally get successful builds
   7808 # when there are problems that should be fixed.
   7809 
   7810 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 xorg_testset_save_CFLAGS="$CFLAGS"
   7825 
   7826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7828 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7829 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7830 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7831 then :
   7832   printf %s "(cached) " >&6
   7833 else case e in #(
   7834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7835 /* end confdefs.h.  */
   7836 int i;
   7837 _ACEOF
   7838 if ac_fn_c_try_compile "$LINENO"
   7839 then :
   7840   xorg_cv_cc_flag_unknown_warning_option=yes
   7841 else case e in #(
   7842   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7843 esac
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7846 esac
   7847 fi
   7848 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7849 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7851 	CFLAGS="$xorg_testset_save_CFLAGS"
   7852 fi
   7853 
   7854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7857 	fi
   7858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7859 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7862 then :
   7863   printf %s "(cached) " >&6
   7864 else case e in #(
   7865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7866 /* end confdefs.h.  */
   7867 int i;
   7868 _ACEOF
   7869 if ac_fn_c_try_compile "$LINENO"
   7870 then :
   7871   xorg_cv_cc_flag_unused_command_line_argument=yes
   7872 else case e in #(
   7873   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7874 esac
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7877 esac
   7878 fi
   7879 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7880 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 found="no"
   7886 
   7887 	if test $found = "no" ; then
   7888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7890 		fi
   7891 
   7892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 		fi
   7895 
   7896 		CFLAGS="$CFLAGS -Werror=implicit"
   7897 
   7898 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7899 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7900 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7901 		if eval test \${$cacheid+y}
   7902 then :
   7903   printf %s "(cached) " >&6
   7904 else case e in #(
   7905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7906 /* end confdefs.h.  */
   7907 int i;
   7908 int
   7909 main (void)
   7910 {
   7911 
   7912   ;
   7913   return 0;
   7914 }
   7915 _ACEOF
   7916 if ac_fn_c_try_link "$LINENO"
   7917 then :
   7918   eval $cacheid=yes
   7919 else case e in #(
   7920   e) eval $cacheid=no ;;
   7921 esac
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7924     conftest$ac_exeext conftest.$ac_ext ;;
   7925 esac
   7926 fi
   7927 
   7928 
   7929 		CFLAGS="$xorg_testset_save_CFLAGS"
   7930 
   7931 		eval supported=\$$cacheid
   7932 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7933 printf '%s\n' "$supported" >&6; }
   7934 		if test "$supported" = "yes" ; then
   7935 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7936 			found="yes"
   7937 		fi
   7938 	fi
   7939 
   7940 	if test $found = "no" ; then
   7941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 		fi
   7944 
   7945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7947 		fi
   7948 
   7949 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7950 
   7951 		{ 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
   7952 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7953 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7954 		if eval test \${$cacheid+y}
   7955 then :
   7956   printf %s "(cached) " >&6
   7957 else case e in #(
   7958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7959 /* end confdefs.h.  */
   7960 int i;
   7961 int
   7962 main (void)
   7963 {
   7964 
   7965   ;
   7966   return 0;
   7967 }
   7968 _ACEOF
   7969 if ac_fn_c_try_link "$LINENO"
   7970 then :
   7971   eval $cacheid=yes
   7972 else case e in #(
   7973   e) eval $cacheid=no ;;
   7974 esac
   7975 fi
   7976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7977     conftest$ac_exeext conftest.$ac_ext ;;
   7978 esac
   7979 fi
   7980 
   7981 
   7982 		CFLAGS="$xorg_testset_save_CFLAGS"
   7983 
   7984 		eval supported=\$$cacheid
   7985 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7986 printf '%s\n' "$supported" >&6; }
   7987 		if test "$supported" = "yes" ; then
   7988 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7989 			found="yes"
   7990 		fi
   7991 	fi
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 xorg_testset_save_CFLAGS="$CFLAGS"
   8008 
   8009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8012 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8013 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8014 then :
   8015   printf %s "(cached) " >&6
   8016 else case e in #(
   8017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018 /* end confdefs.h.  */
   8019 int i;
   8020 _ACEOF
   8021 if ac_fn_c_try_compile "$LINENO"
   8022 then :
   8023   xorg_cv_cc_flag_unknown_warning_option=yes
   8024 else case e in #(
   8025   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8026 esac
   8027 fi
   8028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8029 esac
   8030 fi
   8031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8032 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8034 	CFLAGS="$xorg_testset_save_CFLAGS"
   8035 fi
   8036 
   8037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8040 	fi
   8041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8042 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8043 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8044 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8045 then :
   8046   printf %s "(cached) " >&6
   8047 else case e in #(
   8048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 _ACEOF
   8052 if ac_fn_c_try_compile "$LINENO"
   8053 then :
   8054   xorg_cv_cc_flag_unused_command_line_argument=yes
   8055 else case e in #(
   8056   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8057 esac
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8060 esac
   8061 fi
   8062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8063 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8065 	CFLAGS="$xorg_testset_save_CFLAGS"
   8066 fi
   8067 
   8068 found="no"
   8069 
   8070 	if test $found = "no" ; then
   8071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8073 		fi
   8074 
   8075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8077 		fi
   8078 
   8079 		CFLAGS="$CFLAGS -Werror=nonnull"
   8080 
   8081 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   8082 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   8083 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   8084 		if eval test \${$cacheid+y}
   8085 then :
   8086   printf %s "(cached) " >&6
   8087 else case e in #(
   8088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8089 /* end confdefs.h.  */
   8090 int i;
   8091 int
   8092 main (void)
   8093 {
   8094 
   8095   ;
   8096   return 0;
   8097 }
   8098 _ACEOF
   8099 if ac_fn_c_try_link "$LINENO"
   8100 then :
   8101   eval $cacheid=yes
   8102 else case e in #(
   8103   e) eval $cacheid=no ;;
   8104 esac
   8105 fi
   8106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8107     conftest$ac_exeext conftest.$ac_ext ;;
   8108 esac
   8109 fi
   8110 
   8111 
   8112 		CFLAGS="$xorg_testset_save_CFLAGS"
   8113 
   8114 		eval supported=\$$cacheid
   8115 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8116 printf '%s\n' "$supported" >&6; }
   8117 		if test "$supported" = "yes" ; then
   8118 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   8119 			found="yes"
   8120 		fi
   8121 	fi
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 xorg_testset_save_CFLAGS="$CFLAGS"
   8138 
   8139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8141 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8144 then :
   8145   printf %s "(cached) " >&6
   8146 else case e in #(
   8147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8148 /* end confdefs.h.  */
   8149 int i;
   8150 _ACEOF
   8151 if ac_fn_c_try_compile "$LINENO"
   8152 then :
   8153   xorg_cv_cc_flag_unknown_warning_option=yes
   8154 else case e in #(
   8155   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8156 esac
   8157 fi
   8158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8159 esac
   8160 fi
   8161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8162 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8164 	CFLAGS="$xorg_testset_save_CFLAGS"
   8165 fi
   8166 
   8167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8170 	fi
   8171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8172 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8173 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8174 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else case e in #(
   8178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 _ACEOF
   8182 if ac_fn_c_try_compile "$LINENO"
   8183 then :
   8184   xorg_cv_cc_flag_unused_command_line_argument=yes
   8185 else case e in #(
   8186   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8187 esac
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8190 esac
   8191 fi
   8192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8193 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8195 	CFLAGS="$xorg_testset_save_CFLAGS"
   8196 fi
   8197 
   8198 found="no"
   8199 
   8200 	if test $found = "no" ; then
   8201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 		fi
   8204 
   8205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8207 		fi
   8208 
   8209 		CFLAGS="$CFLAGS -Werror=init-self"
   8210 
   8211 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   8212 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   8213 		cacheid=xorg_cv_cc_flag__Werror_init_self
   8214 		if eval test \${$cacheid+y}
   8215 then :
   8216   printf %s "(cached) " >&6
   8217 else case e in #(
   8218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8219 /* end confdefs.h.  */
   8220 int i;
   8221 int
   8222 main (void)
   8223 {
   8224 
   8225   ;
   8226   return 0;
   8227 }
   8228 _ACEOF
   8229 if ac_fn_c_try_link "$LINENO"
   8230 then :
   8231   eval $cacheid=yes
   8232 else case e in #(
   8233   e) eval $cacheid=no ;;
   8234 esac
   8235 fi
   8236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8237     conftest$ac_exeext conftest.$ac_ext ;;
   8238 esac
   8239 fi
   8240 
   8241 
   8242 		CFLAGS="$xorg_testset_save_CFLAGS"
   8243 
   8244 		eval supported=\$$cacheid
   8245 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8246 printf '%s\n' "$supported" >&6; }
   8247 		if test "$supported" = "yes" ; then
   8248 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8249 			found="yes"
   8250 		fi
   8251 	fi
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 xorg_testset_save_CFLAGS="$CFLAGS"
   8268 
   8269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8271 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8274 then :
   8275   printf %s "(cached) " >&6
   8276 else case e in #(
   8277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8278 /* end confdefs.h.  */
   8279 int i;
   8280 _ACEOF
   8281 if ac_fn_c_try_compile "$LINENO"
   8282 then :
   8283   xorg_cv_cc_flag_unknown_warning_option=yes
   8284 else case e in #(
   8285   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8286 esac
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8289 esac
   8290 fi
   8291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8292 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8294 	CFLAGS="$xorg_testset_save_CFLAGS"
   8295 fi
   8296 
   8297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8300 	fi
   8301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8302 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 _ACEOF
   8312 if ac_fn_c_try_compile "$LINENO"
   8313 then :
   8314   xorg_cv_cc_flag_unused_command_line_argument=yes
   8315 else case e in #(
   8316   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8317 esac
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8320 esac
   8321 fi
   8322 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8323 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8325 	CFLAGS="$xorg_testset_save_CFLAGS"
   8326 fi
   8327 
   8328 found="no"
   8329 
   8330 	if test $found = "no" ; then
   8331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 		fi
   8334 
   8335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8337 		fi
   8338 
   8339 		CFLAGS="$CFLAGS -Werror=main"
   8340 
   8341 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8342 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8343 		cacheid=xorg_cv_cc_flag__Werror_main
   8344 		if eval test \${$cacheid+y}
   8345 then :
   8346   printf %s "(cached) " >&6
   8347 else case e in #(
   8348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8349 /* end confdefs.h.  */
   8350 int i;
   8351 int
   8352 main (void)
   8353 {
   8354 
   8355   ;
   8356   return 0;
   8357 }
   8358 _ACEOF
   8359 if ac_fn_c_try_link "$LINENO"
   8360 then :
   8361   eval $cacheid=yes
   8362 else case e in #(
   8363   e) eval $cacheid=no ;;
   8364 esac
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8367     conftest$ac_exeext conftest.$ac_ext ;;
   8368 esac
   8369 fi
   8370 
   8371 
   8372 		CFLAGS="$xorg_testset_save_CFLAGS"
   8373 
   8374 		eval supported=\$$cacheid
   8375 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8376 printf '%s\n' "$supported" >&6; }
   8377 		if test "$supported" = "yes" ; then
   8378 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8379 			found="yes"
   8380 		fi
   8381 	fi
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 xorg_testset_save_CFLAGS="$CFLAGS"
   8398 
   8399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8401 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8404 then :
   8405   printf %s "(cached) " >&6
   8406 else case e in #(
   8407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8408 /* end confdefs.h.  */
   8409 int i;
   8410 _ACEOF
   8411 if ac_fn_c_try_compile "$LINENO"
   8412 then :
   8413   xorg_cv_cc_flag_unknown_warning_option=yes
   8414 else case e in #(
   8415   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8416 esac
   8417 fi
   8418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8419 esac
   8420 fi
   8421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8422 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8424 	CFLAGS="$xorg_testset_save_CFLAGS"
   8425 fi
   8426 
   8427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8430 	fi
   8431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8432 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8433 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8434 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8435 then :
   8436   printf %s "(cached) " >&6
   8437 else case e in #(
   8438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8439 /* end confdefs.h.  */
   8440 int i;
   8441 _ACEOF
   8442 if ac_fn_c_try_compile "$LINENO"
   8443 then :
   8444   xorg_cv_cc_flag_unused_command_line_argument=yes
   8445 else case e in #(
   8446   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8447 esac
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8450 esac
   8451 fi
   8452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8453 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8455 	CFLAGS="$xorg_testset_save_CFLAGS"
   8456 fi
   8457 
   8458 found="no"
   8459 
   8460 	if test $found = "no" ; then
   8461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8463 		fi
   8464 
   8465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8467 		fi
   8468 
   8469 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8470 
   8471 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8472 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8473 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8474 		if eval test \${$cacheid+y}
   8475 then :
   8476   printf %s "(cached) " >&6
   8477 else case e in #(
   8478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8479 /* end confdefs.h.  */
   8480 int i;
   8481 int
   8482 main (void)
   8483 {
   8484 
   8485   ;
   8486   return 0;
   8487 }
   8488 _ACEOF
   8489 if ac_fn_c_try_link "$LINENO"
   8490 then :
   8491   eval $cacheid=yes
   8492 else case e in #(
   8493   e) eval $cacheid=no ;;
   8494 esac
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8497     conftest$ac_exeext conftest.$ac_ext ;;
   8498 esac
   8499 fi
   8500 
   8501 
   8502 		CFLAGS="$xorg_testset_save_CFLAGS"
   8503 
   8504 		eval supported=\$$cacheid
   8505 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8506 printf '%s\n' "$supported" >&6; }
   8507 		if test "$supported" = "yes" ; then
   8508 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8509 			found="yes"
   8510 		fi
   8511 	fi
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 xorg_testset_save_CFLAGS="$CFLAGS"
   8528 
   8529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8531 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8532 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8533 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8534 then :
   8535   printf %s "(cached) " >&6
   8536 else case e in #(
   8537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8538 /* end confdefs.h.  */
   8539 int i;
   8540 _ACEOF
   8541 if ac_fn_c_try_compile "$LINENO"
   8542 then :
   8543   xorg_cv_cc_flag_unknown_warning_option=yes
   8544 else case e in #(
   8545   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8546 esac
   8547 fi
   8548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8549 esac
   8550 fi
   8551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8552 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8554 	CFLAGS="$xorg_testset_save_CFLAGS"
   8555 fi
   8556 
   8557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8560 	fi
   8561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8562 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8563 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8564 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8565 then :
   8566   printf %s "(cached) " >&6
   8567 else case e in #(
   8568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8569 /* end confdefs.h.  */
   8570 int i;
   8571 _ACEOF
   8572 if ac_fn_c_try_compile "$LINENO"
   8573 then :
   8574   xorg_cv_cc_flag_unused_command_line_argument=yes
   8575 else case e in #(
   8576   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8577 esac
   8578 fi
   8579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8580 esac
   8581 fi
   8582 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8583 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8585 	CFLAGS="$xorg_testset_save_CFLAGS"
   8586 fi
   8587 
   8588 found="no"
   8589 
   8590 	if test $found = "no" ; then
   8591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8593 		fi
   8594 
   8595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8597 		fi
   8598 
   8599 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8600 
   8601 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8602 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8603 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8604 		if eval test \${$cacheid+y}
   8605 then :
   8606   printf %s "(cached) " >&6
   8607 else case e in #(
   8608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8609 /* end confdefs.h.  */
   8610 int i;
   8611 int
   8612 main (void)
   8613 {
   8614 
   8615   ;
   8616   return 0;
   8617 }
   8618 _ACEOF
   8619 if ac_fn_c_try_link "$LINENO"
   8620 then :
   8621   eval $cacheid=yes
   8622 else case e in #(
   8623   e) eval $cacheid=no ;;
   8624 esac
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8627     conftest$ac_exeext conftest.$ac_ext ;;
   8628 esac
   8629 fi
   8630 
   8631 
   8632 		CFLAGS="$xorg_testset_save_CFLAGS"
   8633 
   8634 		eval supported=\$$cacheid
   8635 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8636 printf '%s\n' "$supported" >&6; }
   8637 		if test "$supported" = "yes" ; then
   8638 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8639 			found="yes"
   8640 		fi
   8641 	fi
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 xorg_testset_save_CFLAGS="$CFLAGS"
   8658 
   8659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8661 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8662 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8663 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8664 then :
   8665   printf %s "(cached) " >&6
   8666 else case e in #(
   8667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8668 /* end confdefs.h.  */
   8669 int i;
   8670 _ACEOF
   8671 if ac_fn_c_try_compile "$LINENO"
   8672 then :
   8673   xorg_cv_cc_flag_unknown_warning_option=yes
   8674 else case e in #(
   8675   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8676 esac
   8677 fi
   8678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8679 esac
   8680 fi
   8681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8682 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8684 	CFLAGS="$xorg_testset_save_CFLAGS"
   8685 fi
   8686 
   8687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8690 	fi
   8691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8692 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8693 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8694 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8695 then :
   8696   printf %s "(cached) " >&6
   8697 else case e in #(
   8698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8699 /* end confdefs.h.  */
   8700 int i;
   8701 _ACEOF
   8702 if ac_fn_c_try_compile "$LINENO"
   8703 then :
   8704   xorg_cv_cc_flag_unused_command_line_argument=yes
   8705 else case e in #(
   8706   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8707 esac
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8710 esac
   8711 fi
   8712 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8713 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8715 	CFLAGS="$xorg_testset_save_CFLAGS"
   8716 fi
   8717 
   8718 found="no"
   8719 
   8720 	if test $found = "no" ; then
   8721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8723 		fi
   8724 
   8725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 		fi
   8728 
   8729 		CFLAGS="$CFLAGS -Werror=return-type"
   8730 
   8731 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8732 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8733 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8734 		if eval test \${$cacheid+y}
   8735 then :
   8736   printf %s "(cached) " >&6
   8737 else case e in #(
   8738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 int
   8742 main (void)
   8743 {
   8744 
   8745   ;
   8746   return 0;
   8747 }
   8748 _ACEOF
   8749 if ac_fn_c_try_link "$LINENO"
   8750 then :
   8751   eval $cacheid=yes
   8752 else case e in #(
   8753   e) eval $cacheid=no ;;
   8754 esac
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8757     conftest$ac_exeext conftest.$ac_ext ;;
   8758 esac
   8759 fi
   8760 
   8761 
   8762 		CFLAGS="$xorg_testset_save_CFLAGS"
   8763 
   8764 		eval supported=\$$cacheid
   8765 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8766 printf '%s\n' "$supported" >&6; }
   8767 		if test "$supported" = "yes" ; then
   8768 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8769 			found="yes"
   8770 		fi
   8771 	fi
   8772 
   8773 	if test $found = "no" ; then
   8774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 		fi
   8777 
   8778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8780 		fi
   8781 
   8782 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8783 
   8784 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8785 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8786 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8787 		if eval test \${$cacheid+y}
   8788 then :
   8789   printf %s "(cached) " >&6
   8790 else case e in #(
   8791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 int
   8795 main (void)
   8796 {
   8797 
   8798   ;
   8799   return 0;
   8800 }
   8801 _ACEOF
   8802 if ac_fn_c_try_link "$LINENO"
   8803 then :
   8804   eval $cacheid=yes
   8805 else case e in #(
   8806   e) eval $cacheid=no ;;
   8807 esac
   8808 fi
   8809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8810     conftest$ac_exeext conftest.$ac_ext ;;
   8811 esac
   8812 fi
   8813 
   8814 
   8815 		CFLAGS="$xorg_testset_save_CFLAGS"
   8816 
   8817 		eval supported=\$$cacheid
   8818 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8819 printf '%s\n' "$supported" >&6; }
   8820 		if test "$supported" = "yes" ; then
   8821 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8822 			found="yes"
   8823 		fi
   8824 	fi
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 xorg_testset_save_CFLAGS="$CFLAGS"
   8841 
   8842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8844 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8847 then :
   8848   printf %s "(cached) " >&6
   8849 else case e in #(
   8850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"
   8855 then :
   8856   xorg_cv_cc_flag_unknown_warning_option=yes
   8857 else case e in #(
   8858   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8859 esac
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8862 esac
   8863 fi
   8864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8865 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8867 	CFLAGS="$xorg_testset_save_CFLAGS"
   8868 fi
   8869 
   8870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8873 	fi
   8874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8875 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else case e in #(
   8881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"
   8886 then :
   8887   xorg_cv_cc_flag_unused_command_line_argument=yes
   8888 else case e in #(
   8889   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8890 esac
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8893 esac
   8894 fi
   8895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8896 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8898 	CFLAGS="$xorg_testset_save_CFLAGS"
   8899 fi
   8900 
   8901 found="no"
   8902 
   8903 	if test $found = "no" ; then
   8904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 		fi
   8907 
   8908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8910 		fi
   8911 
   8912 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8913 
   8914 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8915 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8916 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8917 		if eval test \${$cacheid+y}
   8918 then :
   8919   printf %s "(cached) " >&6
   8920 else case e in #(
   8921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8922 /* end confdefs.h.  */
   8923 int i;
   8924 int
   8925 main (void)
   8926 {
   8927 
   8928   ;
   8929   return 0;
   8930 }
   8931 _ACEOF
   8932 if ac_fn_c_try_link "$LINENO"
   8933 then :
   8934   eval $cacheid=yes
   8935 else case e in #(
   8936   e) eval $cacheid=no ;;
   8937 esac
   8938 fi
   8939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8940     conftest$ac_exeext conftest.$ac_ext ;;
   8941 esac
   8942 fi
   8943 
   8944 
   8945 		CFLAGS="$xorg_testset_save_CFLAGS"
   8946 
   8947 		eval supported=\$$cacheid
   8948 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8949 printf '%s\n' "$supported" >&6; }
   8950 		if test "$supported" = "yes" ; then
   8951 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8952 			found="yes"
   8953 		fi
   8954 	fi
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 xorg_testset_save_CFLAGS="$CFLAGS"
   8971 
   8972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8974 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8977 then :
   8978   printf %s "(cached) " >&6
   8979 else case e in #(
   8980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8981 /* end confdefs.h.  */
   8982 int i;
   8983 _ACEOF
   8984 if ac_fn_c_try_compile "$LINENO"
   8985 then :
   8986   xorg_cv_cc_flag_unknown_warning_option=yes
   8987 else case e in #(
   8988   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8989 esac
   8990 fi
   8991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8992 esac
   8993 fi
   8994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8995 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8997 	CFLAGS="$xorg_testset_save_CFLAGS"
   8998 fi
   8999 
   9000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9003 	fi
   9004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9005 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else case e in #(
   9011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 _ACEOF
   9015 if ac_fn_c_try_compile "$LINENO"
   9016 then :
   9017   xorg_cv_cc_flag_unused_command_line_argument=yes
   9018 else case e in #(
   9019   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9020 esac
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9023 esac
   9024 fi
   9025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9026 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9028 	CFLAGS="$xorg_testset_save_CFLAGS"
   9029 fi
   9030 
   9031 found="no"
   9032 
   9033 	if test $found = "no" ; then
   9034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 		fi
   9037 
   9038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9040 		fi
   9041 
   9042 		CFLAGS="$CFLAGS -Werror=array-bounds"
   9043 
   9044 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   9045 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   9046 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   9047 		if eval test \${$cacheid+y}
   9048 then :
   9049   printf %s "(cached) " >&6
   9050 else case e in #(
   9051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 int
   9055 main (void)
   9056 {
   9057 
   9058   ;
   9059   return 0;
   9060 }
   9061 _ACEOF
   9062 if ac_fn_c_try_link "$LINENO"
   9063 then :
   9064   eval $cacheid=yes
   9065 else case e in #(
   9066   e) eval $cacheid=no ;;
   9067 esac
   9068 fi
   9069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9070     conftest$ac_exeext conftest.$ac_ext ;;
   9071 esac
   9072 fi
   9073 
   9074 
   9075 		CFLAGS="$xorg_testset_save_CFLAGS"
   9076 
   9077 		eval supported=\$$cacheid
   9078 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9079 printf '%s\n' "$supported" >&6; }
   9080 		if test "$supported" = "yes" ; then
   9081 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   9082 			found="yes"
   9083 		fi
   9084 	fi
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 xorg_testset_save_CFLAGS="$CFLAGS"
   9101 
   9102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9104 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9107 then :
   9108   printf %s "(cached) " >&6
   9109 else case e in #(
   9110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9111 /* end confdefs.h.  */
   9112 int i;
   9113 _ACEOF
   9114 if ac_fn_c_try_compile "$LINENO"
   9115 then :
   9116   xorg_cv_cc_flag_unknown_warning_option=yes
   9117 else case e in #(
   9118   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9119 esac
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9122 esac
   9123 fi
   9124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9125 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9127 	CFLAGS="$xorg_testset_save_CFLAGS"
   9128 fi
   9129 
   9130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9133 	fi
   9134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9135 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9138 then :
   9139   printf %s "(cached) " >&6
   9140 else case e in #(
   9141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9142 /* end confdefs.h.  */
   9143 int i;
   9144 _ACEOF
   9145 if ac_fn_c_try_compile "$LINENO"
   9146 then :
   9147   xorg_cv_cc_flag_unused_command_line_argument=yes
   9148 else case e in #(
   9149   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9150 esac
   9151 fi
   9152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9153 esac
   9154 fi
   9155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9156 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9158 	CFLAGS="$xorg_testset_save_CFLAGS"
   9159 fi
   9160 
   9161 found="no"
   9162 
   9163 	if test $found = "no" ; then
   9164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9166 		fi
   9167 
   9168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9170 		fi
   9171 
   9172 		CFLAGS="$CFLAGS -Werror=write-strings"
   9173 
   9174 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   9175 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   9176 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   9177 		if eval test \${$cacheid+y}
   9178 then :
   9179   printf %s "(cached) " >&6
   9180 else case e in #(
   9181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 int i;
   9184 int
   9185 main (void)
   9186 {
   9187 
   9188   ;
   9189   return 0;
   9190 }
   9191 _ACEOF
   9192 if ac_fn_c_try_link "$LINENO"
   9193 then :
   9194   eval $cacheid=yes
   9195 else case e in #(
   9196   e) eval $cacheid=no ;;
   9197 esac
   9198 fi
   9199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9200     conftest$ac_exeext conftest.$ac_ext ;;
   9201 esac
   9202 fi
   9203 
   9204 
   9205 		CFLAGS="$xorg_testset_save_CFLAGS"
   9206 
   9207 		eval supported=\$$cacheid
   9208 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9209 printf '%s\n' "$supported" >&6; }
   9210 		if test "$supported" = "yes" ; then
   9211 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   9212 			found="yes"
   9213 		fi
   9214 	fi
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 xorg_testset_save_CFLAGS="$CFLAGS"
   9231 
   9232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9234 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9235 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9236 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9237 then :
   9238   printf %s "(cached) " >&6
   9239 else case e in #(
   9240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 _ACEOF
   9244 if ac_fn_c_try_compile "$LINENO"
   9245 then :
   9246   xorg_cv_cc_flag_unknown_warning_option=yes
   9247 else case e in #(
   9248   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9249 esac
   9250 fi
   9251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9252 esac
   9253 fi
   9254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9255 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9257 	CFLAGS="$xorg_testset_save_CFLAGS"
   9258 fi
   9259 
   9260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9263 	fi
   9264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9265 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9268 then :
   9269   printf %s "(cached) " >&6
   9270 else case e in #(
   9271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9272 /* end confdefs.h.  */
   9273 int i;
   9274 _ACEOF
   9275 if ac_fn_c_try_compile "$LINENO"
   9276 then :
   9277   xorg_cv_cc_flag_unused_command_line_argument=yes
   9278 else case e in #(
   9279   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9280 esac
   9281 fi
   9282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9283 esac
   9284 fi
   9285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9286 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9288 	CFLAGS="$xorg_testset_save_CFLAGS"
   9289 fi
   9290 
   9291 found="no"
   9292 
   9293 	if test $found = "no" ; then
   9294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9296 		fi
   9297 
   9298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9300 		fi
   9301 
   9302 		CFLAGS="$CFLAGS -Werror=address"
   9303 
   9304 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9305 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9306 		cacheid=xorg_cv_cc_flag__Werror_address
   9307 		if eval test \${$cacheid+y}
   9308 then :
   9309   printf %s "(cached) " >&6
   9310 else case e in #(
   9311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9312 /* end confdefs.h.  */
   9313 int i;
   9314 int
   9315 main (void)
   9316 {
   9317 
   9318   ;
   9319   return 0;
   9320 }
   9321 _ACEOF
   9322 if ac_fn_c_try_link "$LINENO"
   9323 then :
   9324   eval $cacheid=yes
   9325 else case e in #(
   9326   e) eval $cacheid=no ;;
   9327 esac
   9328 fi
   9329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9330     conftest$ac_exeext conftest.$ac_ext ;;
   9331 esac
   9332 fi
   9333 
   9334 
   9335 		CFLAGS="$xorg_testset_save_CFLAGS"
   9336 
   9337 		eval supported=\$$cacheid
   9338 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9339 printf '%s\n' "$supported" >&6; }
   9340 		if test "$supported" = "yes" ; then
   9341 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9342 			found="yes"
   9343 		fi
   9344 	fi
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 xorg_testset_save_CFLAGS="$CFLAGS"
   9361 
   9362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9364 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9367 then :
   9368   printf %s "(cached) " >&6
   9369 else case e in #(
   9370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9371 /* end confdefs.h.  */
   9372 int i;
   9373 _ACEOF
   9374 if ac_fn_c_try_compile "$LINENO"
   9375 then :
   9376   xorg_cv_cc_flag_unknown_warning_option=yes
   9377 else case e in #(
   9378   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9379 esac
   9380 fi
   9381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9382 esac
   9383 fi
   9384 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9385 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9387 	CFLAGS="$xorg_testset_save_CFLAGS"
   9388 fi
   9389 
   9390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9393 	fi
   9394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9395 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9398 then :
   9399   printf %s "(cached) " >&6
   9400 else case e in #(
   9401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9402 /* end confdefs.h.  */
   9403 int i;
   9404 _ACEOF
   9405 if ac_fn_c_try_compile "$LINENO"
   9406 then :
   9407   xorg_cv_cc_flag_unused_command_line_argument=yes
   9408 else case e in #(
   9409   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9410 esac
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9413 esac
   9414 fi
   9415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9416 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9418 	CFLAGS="$xorg_testset_save_CFLAGS"
   9419 fi
   9420 
   9421 found="no"
   9422 
   9423 	if test $found = "no" ; then
   9424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9426 		fi
   9427 
   9428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9430 		fi
   9431 
   9432 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9433 
   9434 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9435 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9436 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9437 		if eval test \${$cacheid+y}
   9438 then :
   9439   printf %s "(cached) " >&6
   9440 else case e in #(
   9441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9442 /* end confdefs.h.  */
   9443 int i;
   9444 int
   9445 main (void)
   9446 {
   9447 
   9448   ;
   9449   return 0;
   9450 }
   9451 _ACEOF
   9452 if ac_fn_c_try_link "$LINENO"
   9453 then :
   9454   eval $cacheid=yes
   9455 else case e in #(
   9456   e) eval $cacheid=no ;;
   9457 esac
   9458 fi
   9459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9460     conftest$ac_exeext conftest.$ac_ext ;;
   9461 esac
   9462 fi
   9463 
   9464 
   9465 		CFLAGS="$xorg_testset_save_CFLAGS"
   9466 
   9467 		eval supported=\$$cacheid
   9468 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9469 printf '%s\n' "$supported" >&6; }
   9470 		if test "$supported" = "yes" ; then
   9471 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9472 			found="yes"
   9473 		fi
   9474 	fi
   9475 
   9476 	if test $found = "no" ; then
   9477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9479 		fi
   9480 
   9481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9483 		fi
   9484 
   9485 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9486 
   9487 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9488 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9489 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9490 		if eval test \${$cacheid+y}
   9491 then :
   9492   printf %s "(cached) " >&6
   9493 else case e in #(
   9494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9495 /* end confdefs.h.  */
   9496 int i;
   9497 int
   9498 main (void)
   9499 {
   9500 
   9501   ;
   9502   return 0;
   9503 }
   9504 _ACEOF
   9505 if ac_fn_c_try_link "$LINENO"
   9506 then :
   9507   eval $cacheid=yes
   9508 else case e in #(
   9509   e) eval $cacheid=no ;;
   9510 esac
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9513     conftest$ac_exeext conftest.$ac_ext ;;
   9514 esac
   9515 fi
   9516 
   9517 
   9518 		CFLAGS="$xorg_testset_save_CFLAGS"
   9519 
   9520 		eval supported=\$$cacheid
   9521 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9522 printf '%s\n' "$supported" >&6; }
   9523 		if test "$supported" = "yes" ; then
   9524 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9525 			found="yes"
   9526 		fi
   9527 	fi
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 xorg_testset_save_CFLAGS="$CFLAGS"
   9544 
   9545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9548 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9549 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9550 then :
   9551   printf %s "(cached) " >&6
   9552 else case e in #(
   9553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9554 /* end confdefs.h.  */
   9555 int i;
   9556 _ACEOF
   9557 if ac_fn_c_try_compile "$LINENO"
   9558 then :
   9559   xorg_cv_cc_flag_unknown_warning_option=yes
   9560 else case e in #(
   9561   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9562 esac
   9563 fi
   9564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9565 esac
   9566 fi
   9567 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9568 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9570 	CFLAGS="$xorg_testset_save_CFLAGS"
   9571 fi
   9572 
   9573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9576 	fi
   9577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9578 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9581 then :
   9582   printf %s "(cached) " >&6
   9583 else case e in #(
   9584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 _ACEOF
   9588 if ac_fn_c_try_compile "$LINENO"
   9589 then :
   9590   xorg_cv_cc_flag_unused_command_line_argument=yes
   9591 else case e in #(
   9592   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9593 esac
   9594 fi
   9595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9596 esac
   9597 fi
   9598 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9599 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9601 	CFLAGS="$xorg_testset_save_CFLAGS"
   9602 fi
   9603 
   9604 found="no"
   9605 
   9606 	if test $found = "no" ; then
   9607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9609 		fi
   9610 
   9611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9613 		fi
   9614 
   9615 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9616 
   9617 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9618 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9619 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9620 		if eval test \${$cacheid+y}
   9621 then :
   9622   printf %s "(cached) " >&6
   9623 else case e in #(
   9624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9625 /* end confdefs.h.  */
   9626 int i;
   9627 int
   9628 main (void)
   9629 {
   9630 
   9631   ;
   9632   return 0;
   9633 }
   9634 _ACEOF
   9635 if ac_fn_c_try_link "$LINENO"
   9636 then :
   9637   eval $cacheid=yes
   9638 else case e in #(
   9639   e) eval $cacheid=no ;;
   9640 esac
   9641 fi
   9642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9643     conftest$ac_exeext conftest.$ac_ext ;;
   9644 esac
   9645 fi
   9646 
   9647 
   9648 		CFLAGS="$xorg_testset_save_CFLAGS"
   9649 
   9650 		eval supported=\$$cacheid
   9651 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9652 printf '%s\n' "$supported" >&6; }
   9653 		if test "$supported" = "yes" ; then
   9654 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9655 			found="yes"
   9656 		fi
   9657 	fi
   9658 
   9659  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9660 else
   9661 { 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
   9662 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;}
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 xorg_testset_save_CFLAGS="$CFLAGS"
   9677 
   9678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9680 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9683 then :
   9684   printf %s "(cached) " >&6
   9685 else case e in #(
   9686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9687 /* end confdefs.h.  */
   9688 int i;
   9689 _ACEOF
   9690 if ac_fn_c_try_compile "$LINENO"
   9691 then :
   9692   xorg_cv_cc_flag_unknown_warning_option=yes
   9693 else case e in #(
   9694   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9695 esac
   9696 fi
   9697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9698 esac
   9699 fi
   9700 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9701 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9703 	CFLAGS="$xorg_testset_save_CFLAGS"
   9704 fi
   9705 
   9706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9709 	fi
   9710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9711 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9712 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9713 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9714 then :
   9715   printf %s "(cached) " >&6
   9716 else case e in #(
   9717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 _ACEOF
   9721 if ac_fn_c_try_compile "$LINENO"
   9722 then :
   9723   xorg_cv_cc_flag_unused_command_line_argument=yes
   9724 else case e in #(
   9725   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9726 esac
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9729 esac
   9730 fi
   9731 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9732 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9734 	CFLAGS="$xorg_testset_save_CFLAGS"
   9735 fi
   9736 
   9737 found="no"
   9738 
   9739 	if test $found = "no" ; then
   9740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9742 		fi
   9743 
   9744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9746 		fi
   9747 
   9748 		CFLAGS="$CFLAGS -Wimplicit"
   9749 
   9750 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9751 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9752 		cacheid=xorg_cv_cc_flag__Wimplicit
   9753 		if eval test \${$cacheid+y}
   9754 then :
   9755   printf %s "(cached) " >&6
   9756 else case e in #(
   9757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 int
   9761 main (void)
   9762 {
   9763 
   9764   ;
   9765   return 0;
   9766 }
   9767 _ACEOF
   9768 if ac_fn_c_try_link "$LINENO"
   9769 then :
   9770   eval $cacheid=yes
   9771 else case e in #(
   9772   e) eval $cacheid=no ;;
   9773 esac
   9774 fi
   9775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9776     conftest$ac_exeext conftest.$ac_ext ;;
   9777 esac
   9778 fi
   9779 
   9780 
   9781 		CFLAGS="$xorg_testset_save_CFLAGS"
   9782 
   9783 		eval supported=\$$cacheid
   9784 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9785 printf '%s\n' "$supported" >&6; }
   9786 		if test "$supported" = "yes" ; then
   9787 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9788 			found="yes"
   9789 		fi
   9790 	fi
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 xorg_testset_save_CFLAGS="$CFLAGS"
   9807 
   9808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9810 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9812 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9813 then :
   9814   printf %s "(cached) " >&6
   9815 else case e in #(
   9816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9817 /* end confdefs.h.  */
   9818 int i;
   9819 _ACEOF
   9820 if ac_fn_c_try_compile "$LINENO"
   9821 then :
   9822   xorg_cv_cc_flag_unknown_warning_option=yes
   9823 else case e in #(
   9824   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9825 esac
   9826 fi
   9827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9828 esac
   9829 fi
   9830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9831 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9833 	CFLAGS="$xorg_testset_save_CFLAGS"
   9834 fi
   9835 
   9836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9839 	fi
   9840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9841 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else case e in #(
   9847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 _ACEOF
   9851 if ac_fn_c_try_compile "$LINENO"
   9852 then :
   9853   xorg_cv_cc_flag_unused_command_line_argument=yes
   9854 else case e in #(
   9855   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9856 esac
   9857 fi
   9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9859 esac
   9860 fi
   9861 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9862 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9864 	CFLAGS="$xorg_testset_save_CFLAGS"
   9865 fi
   9866 
   9867 found="no"
   9868 
   9869 	if test $found = "no" ; then
   9870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9872 		fi
   9873 
   9874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9876 		fi
   9877 
   9878 		CFLAGS="$CFLAGS -Wnonnull"
   9879 
   9880 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9881 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9882 		cacheid=xorg_cv_cc_flag__Wnonnull
   9883 		if eval test \${$cacheid+y}
   9884 then :
   9885   printf %s "(cached) " >&6
   9886 else case e in #(
   9887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9888 /* end confdefs.h.  */
   9889 int i;
   9890 int
   9891 main (void)
   9892 {
   9893 
   9894   ;
   9895   return 0;
   9896 }
   9897 _ACEOF
   9898 if ac_fn_c_try_link "$LINENO"
   9899 then :
   9900   eval $cacheid=yes
   9901 else case e in #(
   9902   e) eval $cacheid=no ;;
   9903 esac
   9904 fi
   9905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9906     conftest$ac_exeext conftest.$ac_ext ;;
   9907 esac
   9908 fi
   9909 
   9910 
   9911 		CFLAGS="$xorg_testset_save_CFLAGS"
   9912 
   9913 		eval supported=\$$cacheid
   9914 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9915 printf '%s\n' "$supported" >&6; }
   9916 		if test "$supported" = "yes" ; then
   9917 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9918 			found="yes"
   9919 		fi
   9920 	fi
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 xorg_testset_save_CFLAGS="$CFLAGS"
   9937 
   9938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9943 then :
   9944   printf %s "(cached) " >&6
   9945 else case e in #(
   9946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9947 /* end confdefs.h.  */
   9948 int i;
   9949 _ACEOF
   9950 if ac_fn_c_try_compile "$LINENO"
   9951 then :
   9952   xorg_cv_cc_flag_unknown_warning_option=yes
   9953 else case e in #(
   9954   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9955 esac
   9956 fi
   9957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9958 esac
   9959 fi
   9960 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9961 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9963 	CFLAGS="$xorg_testset_save_CFLAGS"
   9964 fi
   9965 
   9966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9969 	fi
   9970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9971 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9974 then :
   9975   printf %s "(cached) " >&6
   9976 else case e in #(
   9977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 _ACEOF
   9981 if ac_fn_c_try_compile "$LINENO"
   9982 then :
   9983   xorg_cv_cc_flag_unused_command_line_argument=yes
   9984 else case e in #(
   9985   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9986 esac
   9987 fi
   9988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9989 esac
   9990 fi
   9991 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9992 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9994 	CFLAGS="$xorg_testset_save_CFLAGS"
   9995 fi
   9996 
   9997 found="no"
   9998 
   9999 	if test $found = "no" ; then
   10000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 		fi
   10003 
   10004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10006 		fi
   10007 
   10008 		CFLAGS="$CFLAGS -Winit-self"
   10009 
   10010 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   10011 printf %s "checking if $CC supports -Winit-self... " >&6; }
   10012 		cacheid=xorg_cv_cc_flag__Winit_self
   10013 		if eval test \${$cacheid+y}
   10014 then :
   10015   printf %s "(cached) " >&6
   10016 else case e in #(
   10017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 int
   10021 main (void)
   10022 {
   10023 
   10024   ;
   10025   return 0;
   10026 }
   10027 _ACEOF
   10028 if ac_fn_c_try_link "$LINENO"
   10029 then :
   10030   eval $cacheid=yes
   10031 else case e in #(
   10032   e) eval $cacheid=no ;;
   10033 esac
   10034 fi
   10035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10036     conftest$ac_exeext conftest.$ac_ext ;;
   10037 esac
   10038 fi
   10039 
   10040 
   10041 		CFLAGS="$xorg_testset_save_CFLAGS"
   10042 
   10043 		eval supported=\$$cacheid
   10044 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10045 printf '%s\n' "$supported" >&6; }
   10046 		if test "$supported" = "yes" ; then
   10047 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   10048 			found="yes"
   10049 		fi
   10050 	fi
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 xorg_testset_save_CFLAGS="$CFLAGS"
   10067 
   10068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10070 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10073 then :
   10074   printf %s "(cached) " >&6
   10075 else case e in #(
   10076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10077 /* end confdefs.h.  */
   10078 int i;
   10079 _ACEOF
   10080 if ac_fn_c_try_compile "$LINENO"
   10081 then :
   10082   xorg_cv_cc_flag_unknown_warning_option=yes
   10083 else case e in #(
   10084   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10085 esac
   10086 fi
   10087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10088 esac
   10089 fi
   10090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10091 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10093 	CFLAGS="$xorg_testset_save_CFLAGS"
   10094 fi
   10095 
   10096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	fi
   10100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10101 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10102 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10103 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10104 then :
   10105   printf %s "(cached) " >&6
   10106 else case e in #(
   10107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 _ACEOF
   10111 if ac_fn_c_try_compile "$LINENO"
   10112 then :
   10113   xorg_cv_cc_flag_unused_command_line_argument=yes
   10114 else case e in #(
   10115   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10116 esac
   10117 fi
   10118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10119 esac
   10120 fi
   10121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10122 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10124 	CFLAGS="$xorg_testset_save_CFLAGS"
   10125 fi
   10126 
   10127 found="no"
   10128 
   10129 	if test $found = "no" ; then
   10130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10132 		fi
   10133 
   10134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10136 		fi
   10137 
   10138 		CFLAGS="$CFLAGS -Wmain"
   10139 
   10140 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   10141 printf %s "checking if $CC supports -Wmain... " >&6; }
   10142 		cacheid=xorg_cv_cc_flag__Wmain
   10143 		if eval test \${$cacheid+y}
   10144 then :
   10145   printf %s "(cached) " >&6
   10146 else case e in #(
   10147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 int
   10151 main (void)
   10152 {
   10153 
   10154   ;
   10155   return 0;
   10156 }
   10157 _ACEOF
   10158 if ac_fn_c_try_link "$LINENO"
   10159 then :
   10160   eval $cacheid=yes
   10161 else case e in #(
   10162   e) eval $cacheid=no ;;
   10163 esac
   10164 fi
   10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10166     conftest$ac_exeext conftest.$ac_ext ;;
   10167 esac
   10168 fi
   10169 
   10170 
   10171 		CFLAGS="$xorg_testset_save_CFLAGS"
   10172 
   10173 		eval supported=\$$cacheid
   10174 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10175 printf '%s\n' "$supported" >&6; }
   10176 		if test "$supported" = "yes" ; then
   10177 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   10178 			found="yes"
   10179 		fi
   10180 	fi
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 xorg_testset_save_CFLAGS="$CFLAGS"
   10197 
   10198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10200 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10203 then :
   10204   printf %s "(cached) " >&6
   10205 else case e in #(
   10206   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10207 /* end confdefs.h.  */
   10208 int i;
   10209 _ACEOF
   10210 if ac_fn_c_try_compile "$LINENO"
   10211 then :
   10212   xorg_cv_cc_flag_unknown_warning_option=yes
   10213 else case e in #(
   10214   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10215 esac
   10216 fi
   10217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10218 esac
   10219 fi
   10220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10221 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10223 	CFLAGS="$xorg_testset_save_CFLAGS"
   10224 fi
   10225 
   10226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10229 	fi
   10230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10231 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10232 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10233 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10234 then :
   10235   printf %s "(cached) " >&6
   10236 else case e in #(
   10237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 _ACEOF
   10241 if ac_fn_c_try_compile "$LINENO"
   10242 then :
   10243   xorg_cv_cc_flag_unused_command_line_argument=yes
   10244 else case e in #(
   10245   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10246 esac
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10249 esac
   10250 fi
   10251 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10252 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10254 	CFLAGS="$xorg_testset_save_CFLAGS"
   10255 fi
   10256 
   10257 found="no"
   10258 
   10259 	if test $found = "no" ; then
   10260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 		fi
   10263 
   10264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10266 		fi
   10267 
   10268 		CFLAGS="$CFLAGS -Wmissing-braces"
   10269 
   10270 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10271 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10272 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10273 		if eval test \${$cacheid+y}
   10274 then :
   10275   printf %s "(cached) " >&6
   10276 else case e in #(
   10277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10278 /* end confdefs.h.  */
   10279 int i;
   10280 int
   10281 main (void)
   10282 {
   10283 
   10284   ;
   10285   return 0;
   10286 }
   10287 _ACEOF
   10288 if ac_fn_c_try_link "$LINENO"
   10289 then :
   10290   eval $cacheid=yes
   10291 else case e in #(
   10292   e) eval $cacheid=no ;;
   10293 esac
   10294 fi
   10295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10296     conftest$ac_exeext conftest.$ac_ext ;;
   10297 esac
   10298 fi
   10299 
   10300 
   10301 		CFLAGS="$xorg_testset_save_CFLAGS"
   10302 
   10303 		eval supported=\$$cacheid
   10304 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10305 printf '%s\n' "$supported" >&6; }
   10306 		if test "$supported" = "yes" ; then
   10307 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10308 			found="yes"
   10309 		fi
   10310 	fi
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 xorg_testset_save_CFLAGS="$CFLAGS"
   10327 
   10328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10330 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10331 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10332 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10333 then :
   10334   printf %s "(cached) " >&6
   10335 else case e in #(
   10336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10337 /* end confdefs.h.  */
   10338 int i;
   10339 _ACEOF
   10340 if ac_fn_c_try_compile "$LINENO"
   10341 then :
   10342   xorg_cv_cc_flag_unknown_warning_option=yes
   10343 else case e in #(
   10344   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10345 esac
   10346 fi
   10347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10348 esac
   10349 fi
   10350 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10351 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10353 	CFLAGS="$xorg_testset_save_CFLAGS"
   10354 fi
   10355 
   10356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10359 	fi
   10360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10361 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10362 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10363 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10364 then :
   10365   printf %s "(cached) " >&6
   10366 else case e in #(
   10367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10368 /* end confdefs.h.  */
   10369 int i;
   10370 _ACEOF
   10371 if ac_fn_c_try_compile "$LINENO"
   10372 then :
   10373   xorg_cv_cc_flag_unused_command_line_argument=yes
   10374 else case e in #(
   10375   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10376 esac
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10379 esac
   10380 fi
   10381 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10382 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10384 	CFLAGS="$xorg_testset_save_CFLAGS"
   10385 fi
   10386 
   10387 found="no"
   10388 
   10389 	if test $found = "no" ; then
   10390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 		fi
   10393 
   10394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10396 		fi
   10397 
   10398 		CFLAGS="$CFLAGS -Wsequence-point"
   10399 
   10400 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10401 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10402 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10403 		if eval test \${$cacheid+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else case e in #(
   10407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 int
   10411 main (void)
   10412 {
   10413 
   10414   ;
   10415   return 0;
   10416 }
   10417 _ACEOF
   10418 if ac_fn_c_try_link "$LINENO"
   10419 then :
   10420   eval $cacheid=yes
   10421 else case e in #(
   10422   e) eval $cacheid=no ;;
   10423 esac
   10424 fi
   10425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10426     conftest$ac_exeext conftest.$ac_ext ;;
   10427 esac
   10428 fi
   10429 
   10430 
   10431 		CFLAGS="$xorg_testset_save_CFLAGS"
   10432 
   10433 		eval supported=\$$cacheid
   10434 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10435 printf '%s\n' "$supported" >&6; }
   10436 		if test "$supported" = "yes" ; then
   10437 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10438 			found="yes"
   10439 		fi
   10440 	fi
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 xorg_testset_save_CFLAGS="$CFLAGS"
   10457 
   10458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10460 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10461 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10462 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10463 then :
   10464   printf %s "(cached) " >&6
   10465 else case e in #(
   10466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10467 /* end confdefs.h.  */
   10468 int i;
   10469 _ACEOF
   10470 if ac_fn_c_try_compile "$LINENO"
   10471 then :
   10472   xorg_cv_cc_flag_unknown_warning_option=yes
   10473 else case e in #(
   10474   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10475 esac
   10476 fi
   10477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10478 esac
   10479 fi
   10480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10481 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10483 	CFLAGS="$xorg_testset_save_CFLAGS"
   10484 fi
   10485 
   10486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10489 	fi
   10490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10491 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10492 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10493 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else case e in #(
   10497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 _ACEOF
   10501 if ac_fn_c_try_compile "$LINENO"
   10502 then :
   10503   xorg_cv_cc_flag_unused_command_line_argument=yes
   10504 else case e in #(
   10505   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10506 esac
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10509 esac
   10510 fi
   10511 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10512 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10513 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10514 	CFLAGS="$xorg_testset_save_CFLAGS"
   10515 fi
   10516 
   10517 found="no"
   10518 
   10519 	if test $found = "no" ; then
   10520 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10521 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 		fi
   10523 
   10524 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10525 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10526 		fi
   10527 
   10528 		CFLAGS="$CFLAGS -Wreturn-type"
   10529 
   10530 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10531 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10532 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10533 		if eval test \${$cacheid+y}
   10534 then :
   10535   printf %s "(cached) " >&6
   10536 else case e in #(
   10537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10538 /* end confdefs.h.  */
   10539 int i;
   10540 int
   10541 main (void)
   10542 {
   10543 
   10544   ;
   10545   return 0;
   10546 }
   10547 _ACEOF
   10548 if ac_fn_c_try_link "$LINENO"
   10549 then :
   10550   eval $cacheid=yes
   10551 else case e in #(
   10552   e) eval $cacheid=no ;;
   10553 esac
   10554 fi
   10555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10556     conftest$ac_exeext conftest.$ac_ext ;;
   10557 esac
   10558 fi
   10559 
   10560 
   10561 		CFLAGS="$xorg_testset_save_CFLAGS"
   10562 
   10563 		eval supported=\$$cacheid
   10564 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10565 printf '%s\n' "$supported" >&6; }
   10566 		if test "$supported" = "yes" ; then
   10567 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10568 			found="yes"
   10569 		fi
   10570 	fi
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 xorg_testset_save_CFLAGS="$CFLAGS"
   10587 
   10588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10590 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10591 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10592 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10593 then :
   10594   printf %s "(cached) " >&6
   10595 else case e in #(
   10596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10597 /* end confdefs.h.  */
   10598 int i;
   10599 _ACEOF
   10600 if ac_fn_c_try_compile "$LINENO"
   10601 then :
   10602   xorg_cv_cc_flag_unknown_warning_option=yes
   10603 else case e in #(
   10604   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10605 esac
   10606 fi
   10607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10608 esac
   10609 fi
   10610 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10611 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10613 	CFLAGS="$xorg_testset_save_CFLAGS"
   10614 fi
   10615 
   10616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10619 	fi
   10620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10621 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else case e in #(
   10627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 _ACEOF
   10631 if ac_fn_c_try_compile "$LINENO"
   10632 then :
   10633   xorg_cv_cc_flag_unused_command_line_argument=yes
   10634 else case e in #(
   10635   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10636 esac
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10639 esac
   10640 fi
   10641 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10642 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10644 	CFLAGS="$xorg_testset_save_CFLAGS"
   10645 fi
   10646 
   10647 found="no"
   10648 
   10649 	if test $found = "no" ; then
   10650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10652 		fi
   10653 
   10654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10656 		fi
   10657 
   10658 		CFLAGS="$CFLAGS -Wtrigraphs"
   10659 
   10660 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10661 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10662 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10663 		if eval test \${$cacheid+y}
   10664 then :
   10665   printf %s "(cached) " >&6
   10666 else case e in #(
   10667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10668 /* end confdefs.h.  */
   10669 int i;
   10670 int
   10671 main (void)
   10672 {
   10673 
   10674   ;
   10675   return 0;
   10676 }
   10677 _ACEOF
   10678 if ac_fn_c_try_link "$LINENO"
   10679 then :
   10680   eval $cacheid=yes
   10681 else case e in #(
   10682   e) eval $cacheid=no ;;
   10683 esac
   10684 fi
   10685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10686     conftest$ac_exeext conftest.$ac_ext ;;
   10687 esac
   10688 fi
   10689 
   10690 
   10691 		CFLAGS="$xorg_testset_save_CFLAGS"
   10692 
   10693 		eval supported=\$$cacheid
   10694 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10695 printf '%s\n' "$supported" >&6; }
   10696 		if test "$supported" = "yes" ; then
   10697 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10698 			found="yes"
   10699 		fi
   10700 	fi
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 xorg_testset_save_CFLAGS="$CFLAGS"
   10717 
   10718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10720 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10721 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10722 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10723 then :
   10724   printf %s "(cached) " >&6
   10725 else case e in #(
   10726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10727 /* end confdefs.h.  */
   10728 int i;
   10729 _ACEOF
   10730 if ac_fn_c_try_compile "$LINENO"
   10731 then :
   10732   xorg_cv_cc_flag_unknown_warning_option=yes
   10733 else case e in #(
   10734   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10735 esac
   10736 fi
   10737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10738 esac
   10739 fi
   10740 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10741 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10743 	CFLAGS="$xorg_testset_save_CFLAGS"
   10744 fi
   10745 
   10746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10749 	fi
   10750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10751 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10754 then :
   10755   printf %s "(cached) " >&6
   10756 else case e in #(
   10757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10758 /* end confdefs.h.  */
   10759 int i;
   10760 _ACEOF
   10761 if ac_fn_c_try_compile "$LINENO"
   10762 then :
   10763   xorg_cv_cc_flag_unused_command_line_argument=yes
   10764 else case e in #(
   10765   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10766 esac
   10767 fi
   10768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10769 esac
   10770 fi
   10771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10772 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10774 	CFLAGS="$xorg_testset_save_CFLAGS"
   10775 fi
   10776 
   10777 found="no"
   10778 
   10779 	if test $found = "no" ; then
   10780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10782 		fi
   10783 
   10784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10786 		fi
   10787 
   10788 		CFLAGS="$CFLAGS -Warray-bounds"
   10789 
   10790 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10791 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10792 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10793 		if eval test \${$cacheid+y}
   10794 then :
   10795   printf %s "(cached) " >&6
   10796 else case e in #(
   10797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10798 /* end confdefs.h.  */
   10799 int i;
   10800 int
   10801 main (void)
   10802 {
   10803 
   10804   ;
   10805   return 0;
   10806 }
   10807 _ACEOF
   10808 if ac_fn_c_try_link "$LINENO"
   10809 then :
   10810   eval $cacheid=yes
   10811 else case e in #(
   10812   e) eval $cacheid=no ;;
   10813 esac
   10814 fi
   10815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10816     conftest$ac_exeext conftest.$ac_ext ;;
   10817 esac
   10818 fi
   10819 
   10820 
   10821 		CFLAGS="$xorg_testset_save_CFLAGS"
   10822 
   10823 		eval supported=\$$cacheid
   10824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10825 printf '%s\n' "$supported" >&6; }
   10826 		if test "$supported" = "yes" ; then
   10827 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10828 			found="yes"
   10829 		fi
   10830 	fi
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 xorg_testset_save_CFLAGS="$CFLAGS"
   10847 
   10848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10850 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10853 then :
   10854   printf %s "(cached) " >&6
   10855 else case e in #(
   10856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10857 /* end confdefs.h.  */
   10858 int i;
   10859 _ACEOF
   10860 if ac_fn_c_try_compile "$LINENO"
   10861 then :
   10862   xorg_cv_cc_flag_unknown_warning_option=yes
   10863 else case e in #(
   10864   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10865 esac
   10866 fi
   10867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10868 esac
   10869 fi
   10870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10871 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10873 	CFLAGS="$xorg_testset_save_CFLAGS"
   10874 fi
   10875 
   10876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10879 	fi
   10880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10881 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else case e in #(
   10887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 _ACEOF
   10891 if ac_fn_c_try_compile "$LINENO"
   10892 then :
   10893   xorg_cv_cc_flag_unused_command_line_argument=yes
   10894 else case e in #(
   10895   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10896 esac
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10899 esac
   10900 fi
   10901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10902 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10904 	CFLAGS="$xorg_testset_save_CFLAGS"
   10905 fi
   10906 
   10907 found="no"
   10908 
   10909 	if test $found = "no" ; then
   10910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10912 		fi
   10913 
   10914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10916 		fi
   10917 
   10918 		CFLAGS="$CFLAGS -Wwrite-strings"
   10919 
   10920 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10921 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10922 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10923 		if eval test \${$cacheid+y}
   10924 then :
   10925   printf %s "(cached) " >&6
   10926 else case e in #(
   10927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10928 /* end confdefs.h.  */
   10929 int i;
   10930 int
   10931 main (void)
   10932 {
   10933 
   10934   ;
   10935   return 0;
   10936 }
   10937 _ACEOF
   10938 if ac_fn_c_try_link "$LINENO"
   10939 then :
   10940   eval $cacheid=yes
   10941 else case e in #(
   10942   e) eval $cacheid=no ;;
   10943 esac
   10944 fi
   10945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10946     conftest$ac_exeext conftest.$ac_ext ;;
   10947 esac
   10948 fi
   10949 
   10950 
   10951 		CFLAGS="$xorg_testset_save_CFLAGS"
   10952 
   10953 		eval supported=\$$cacheid
   10954 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10955 printf '%s\n' "$supported" >&6; }
   10956 		if test "$supported" = "yes" ; then
   10957 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10958 			found="yes"
   10959 		fi
   10960 	fi
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 xorg_testset_save_CFLAGS="$CFLAGS"
   10977 
   10978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10980 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10981 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10982 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10983 then :
   10984   printf %s "(cached) " >&6
   10985 else case e in #(
   10986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10987 /* end confdefs.h.  */
   10988 int i;
   10989 _ACEOF
   10990 if ac_fn_c_try_compile "$LINENO"
   10991 then :
   10992   xorg_cv_cc_flag_unknown_warning_option=yes
   10993 else case e in #(
   10994   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10995 esac
   10996 fi
   10997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10998 esac
   10999 fi
   11000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11001 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11003 	CFLAGS="$xorg_testset_save_CFLAGS"
   11004 fi
   11005 
   11006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11009 	fi
   11010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11014 then :
   11015   printf %s "(cached) " >&6
   11016 else case e in #(
   11017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11018 /* end confdefs.h.  */
   11019 int i;
   11020 _ACEOF
   11021 if ac_fn_c_try_compile "$LINENO"
   11022 then :
   11023   xorg_cv_cc_flag_unused_command_line_argument=yes
   11024 else case e in #(
   11025   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11026 esac
   11027 fi
   11028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11029 esac
   11030 fi
   11031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11032 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11034 	CFLAGS="$xorg_testset_save_CFLAGS"
   11035 fi
   11036 
   11037 found="no"
   11038 
   11039 	if test $found = "no" ; then
   11040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11042 		fi
   11043 
   11044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11046 		fi
   11047 
   11048 		CFLAGS="$CFLAGS -Waddress"
   11049 
   11050 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   11051 printf %s "checking if $CC supports -Waddress... " >&6; }
   11052 		cacheid=xorg_cv_cc_flag__Waddress
   11053 		if eval test \${$cacheid+y}
   11054 then :
   11055   printf %s "(cached) " >&6
   11056 else case e in #(
   11057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11058 /* end confdefs.h.  */
   11059 int i;
   11060 int
   11061 main (void)
   11062 {
   11063 
   11064   ;
   11065   return 0;
   11066 }
   11067 _ACEOF
   11068 if ac_fn_c_try_link "$LINENO"
   11069 then :
   11070   eval $cacheid=yes
   11071 else case e in #(
   11072   e) eval $cacheid=no ;;
   11073 esac
   11074 fi
   11075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11076     conftest$ac_exeext conftest.$ac_ext ;;
   11077 esac
   11078 fi
   11079 
   11080 
   11081 		CFLAGS="$xorg_testset_save_CFLAGS"
   11082 
   11083 		eval supported=\$$cacheid
   11084 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11085 printf '%s\n' "$supported" >&6; }
   11086 		if test "$supported" = "yes" ; then
   11087 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   11088 			found="yes"
   11089 		fi
   11090 	fi
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 xorg_testset_save_CFLAGS="$CFLAGS"
   11107 
   11108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11110 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11113 then :
   11114   printf %s "(cached) " >&6
   11115 else case e in #(
   11116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11117 /* end confdefs.h.  */
   11118 int i;
   11119 _ACEOF
   11120 if ac_fn_c_try_compile "$LINENO"
   11121 then :
   11122   xorg_cv_cc_flag_unknown_warning_option=yes
   11123 else case e in #(
   11124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11125 esac
   11126 fi
   11127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11128 esac
   11129 fi
   11130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11131 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11133 	CFLAGS="$xorg_testset_save_CFLAGS"
   11134 fi
   11135 
   11136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11139 	fi
   11140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11141 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11144 then :
   11145   printf %s "(cached) " >&6
   11146 else case e in #(
   11147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11148 /* end confdefs.h.  */
   11149 int i;
   11150 _ACEOF
   11151 if ac_fn_c_try_compile "$LINENO"
   11152 then :
   11153   xorg_cv_cc_flag_unused_command_line_argument=yes
   11154 else case e in #(
   11155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11156 esac
   11157 fi
   11158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11159 esac
   11160 fi
   11161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11162 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11164 	CFLAGS="$xorg_testset_save_CFLAGS"
   11165 fi
   11166 
   11167 found="no"
   11168 
   11169 	if test $found = "no" ; then
   11170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11172 		fi
   11173 
   11174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11176 		fi
   11177 
   11178 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   11179 
   11180 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   11181 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   11182 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   11183 		if eval test \${$cacheid+y}
   11184 then :
   11185   printf %s "(cached) " >&6
   11186 else case e in #(
   11187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11188 /* end confdefs.h.  */
   11189 int i;
   11190 int
   11191 main (void)
   11192 {
   11193 
   11194   ;
   11195   return 0;
   11196 }
   11197 _ACEOF
   11198 if ac_fn_c_try_link "$LINENO"
   11199 then :
   11200   eval $cacheid=yes
   11201 else case e in #(
   11202   e) eval $cacheid=no ;;
   11203 esac
   11204 fi
   11205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11206     conftest$ac_exeext conftest.$ac_ext ;;
   11207 esac
   11208 fi
   11209 
   11210 
   11211 		CFLAGS="$xorg_testset_save_CFLAGS"
   11212 
   11213 		eval supported=\$$cacheid
   11214 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11215 printf '%s\n' "$supported" >&6; }
   11216 		if test "$supported" = "yes" ; then
   11217 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   11218 			found="yes"
   11219 		fi
   11220 	fi
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 xorg_testset_save_CFLAGS="$CFLAGS"
   11237 
   11238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11240 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11243 then :
   11244   printf %s "(cached) " >&6
   11245 else case e in #(
   11246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11247 /* end confdefs.h.  */
   11248 int i;
   11249 _ACEOF
   11250 if ac_fn_c_try_compile "$LINENO"
   11251 then :
   11252   xorg_cv_cc_flag_unknown_warning_option=yes
   11253 else case e in #(
   11254   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11255 esac
   11256 fi
   11257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11258 esac
   11259 fi
   11260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11261 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11263 	CFLAGS="$xorg_testset_save_CFLAGS"
   11264 fi
   11265 
   11266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11269 	fi
   11270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11271 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11274 then :
   11275   printf %s "(cached) " >&6
   11276 else case e in #(
   11277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11278 /* end confdefs.h.  */
   11279 int i;
   11280 _ACEOF
   11281 if ac_fn_c_try_compile "$LINENO"
   11282 then :
   11283   xorg_cv_cc_flag_unused_command_line_argument=yes
   11284 else case e in #(
   11285   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11286 esac
   11287 fi
   11288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11289 esac
   11290 fi
   11291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11292 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11294 	CFLAGS="$xorg_testset_save_CFLAGS"
   11295 fi
   11296 
   11297 found="no"
   11298 
   11299 	if test $found = "no" ; then
   11300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11302 		fi
   11303 
   11304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11306 		fi
   11307 
   11308 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11309 
   11310 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11311 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11312 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11313 		if eval test \${$cacheid+y}
   11314 then :
   11315   printf %s "(cached) " >&6
   11316 else case e in #(
   11317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11318 /* end confdefs.h.  */
   11319 int i;
   11320 int
   11321 main (void)
   11322 {
   11323 
   11324   ;
   11325   return 0;
   11326 }
   11327 _ACEOF
   11328 if ac_fn_c_try_link "$LINENO"
   11329 then :
   11330   eval $cacheid=yes
   11331 else case e in #(
   11332   e) eval $cacheid=no ;;
   11333 esac
   11334 fi
   11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11336     conftest$ac_exeext conftest.$ac_ext ;;
   11337 esac
   11338 fi
   11339 
   11340 
   11341 		CFLAGS="$xorg_testset_save_CFLAGS"
   11342 
   11343 		eval supported=\$$cacheid
   11344 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11345 printf '%s\n' "$supported" >&6; }
   11346 		if test "$supported" = "yes" ; then
   11347 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11348 			found="yes"
   11349 		fi
   11350 	fi
   11351 
   11352 
   11353 fi
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 		CWARNFLAGS="$BASE_CFLAGS"
   11362 		if  test "x$GCC" = xyes ; then
   11363 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11364 		fi
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 # Check whether --enable-strict-compilation was given.
   11374 if test ${enable_strict_compilation+y}
   11375 then :
   11376   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11377 else case e in #(
   11378   e) STRICT_COMPILE=no ;;
   11379 esac
   11380 fi
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 STRICT_CFLAGS=""
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 xorg_testset_save_CFLAGS="$CFLAGS"
   11402 
   11403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11405 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11408 then :
   11409   printf %s "(cached) " >&6
   11410 else case e in #(
   11411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11412 /* end confdefs.h.  */
   11413 int i;
   11414 _ACEOF
   11415 if ac_fn_c_try_compile "$LINENO"
   11416 then :
   11417   xorg_cv_cc_flag_unknown_warning_option=yes
   11418 else case e in #(
   11419   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11420 esac
   11421 fi
   11422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11423 esac
   11424 fi
   11425 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11426 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11428 	CFLAGS="$xorg_testset_save_CFLAGS"
   11429 fi
   11430 
   11431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11434 	fi
   11435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11436 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11437 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11438 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11439 then :
   11440   printf %s "(cached) " >&6
   11441 else case e in #(
   11442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11443 /* end confdefs.h.  */
   11444 int i;
   11445 _ACEOF
   11446 if ac_fn_c_try_compile "$LINENO"
   11447 then :
   11448   xorg_cv_cc_flag_unused_command_line_argument=yes
   11449 else case e in #(
   11450   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11451 esac
   11452 fi
   11453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11454 esac
   11455 fi
   11456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11457 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11459 	CFLAGS="$xorg_testset_save_CFLAGS"
   11460 fi
   11461 
   11462 found="no"
   11463 
   11464 	if test $found = "no" ; then
   11465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11467 		fi
   11468 
   11469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11471 		fi
   11472 
   11473 		CFLAGS="$CFLAGS -pedantic"
   11474 
   11475 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11476 printf %s "checking if $CC supports -pedantic... " >&6; }
   11477 		cacheid=xorg_cv_cc_flag__pedantic
   11478 		if eval test \${$cacheid+y}
   11479 then :
   11480   printf %s "(cached) " >&6
   11481 else case e in #(
   11482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11483 /* end confdefs.h.  */
   11484 int i;
   11485 int
   11486 main (void)
   11487 {
   11488 
   11489   ;
   11490   return 0;
   11491 }
   11492 _ACEOF
   11493 if ac_fn_c_try_link "$LINENO"
   11494 then :
   11495   eval $cacheid=yes
   11496 else case e in #(
   11497   e) eval $cacheid=no ;;
   11498 esac
   11499 fi
   11500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11501     conftest$ac_exeext conftest.$ac_ext ;;
   11502 esac
   11503 fi
   11504 
   11505 
   11506 		CFLAGS="$xorg_testset_save_CFLAGS"
   11507 
   11508 		eval supported=\$$cacheid
   11509 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11510 printf '%s\n' "$supported" >&6; }
   11511 		if test "$supported" = "yes" ; then
   11512 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11513 			found="yes"
   11514 		fi
   11515 	fi
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 xorg_testset_save_CFLAGS="$CFLAGS"
   11532 
   11533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11535 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11538 then :
   11539   printf %s "(cached) " >&6
   11540 else case e in #(
   11541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11542 /* end confdefs.h.  */
   11543 int i;
   11544 _ACEOF
   11545 if ac_fn_c_try_compile "$LINENO"
   11546 then :
   11547   xorg_cv_cc_flag_unknown_warning_option=yes
   11548 else case e in #(
   11549   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11550 esac
   11551 fi
   11552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11553 esac
   11554 fi
   11555 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11556 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11558 	CFLAGS="$xorg_testset_save_CFLAGS"
   11559 fi
   11560 
   11561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11564 	fi
   11565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11566 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11567 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11568 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11569 then :
   11570   printf %s "(cached) " >&6
   11571 else case e in #(
   11572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11573 /* end confdefs.h.  */
   11574 int i;
   11575 _ACEOF
   11576 if ac_fn_c_try_compile "$LINENO"
   11577 then :
   11578   xorg_cv_cc_flag_unused_command_line_argument=yes
   11579 else case e in #(
   11580   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11581 esac
   11582 fi
   11583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11584 esac
   11585 fi
   11586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11587 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11589 	CFLAGS="$xorg_testset_save_CFLAGS"
   11590 fi
   11591 
   11592 found="no"
   11593 
   11594 	if test $found = "no" ; then
   11595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11597 		fi
   11598 
   11599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11601 		fi
   11602 
   11603 		CFLAGS="$CFLAGS -Werror"
   11604 
   11605 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11606 printf %s "checking if $CC supports -Werror... " >&6; }
   11607 		cacheid=xorg_cv_cc_flag__Werror
   11608 		if eval test \${$cacheid+y}
   11609 then :
   11610   printf %s "(cached) " >&6
   11611 else case e in #(
   11612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11613 /* end confdefs.h.  */
   11614 int i;
   11615 int
   11616 main (void)
   11617 {
   11618 
   11619   ;
   11620   return 0;
   11621 }
   11622 _ACEOF
   11623 if ac_fn_c_try_link "$LINENO"
   11624 then :
   11625   eval $cacheid=yes
   11626 else case e in #(
   11627   e) eval $cacheid=no ;;
   11628 esac
   11629 fi
   11630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11631     conftest$ac_exeext conftest.$ac_ext ;;
   11632 esac
   11633 fi
   11634 
   11635 
   11636 		CFLAGS="$xorg_testset_save_CFLAGS"
   11637 
   11638 		eval supported=\$$cacheid
   11639 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11640 printf '%s\n' "$supported" >&6; }
   11641 		if test "$supported" = "yes" ; then
   11642 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11643 			found="yes"
   11644 		fi
   11645 	fi
   11646 
   11647 	if test $found = "no" ; then
   11648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11650 		fi
   11651 
   11652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11654 		fi
   11655 
   11656 		CFLAGS="$CFLAGS -errwarn"
   11657 
   11658 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11659 printf %s "checking if $CC supports -errwarn... " >&6; }
   11660 		cacheid=xorg_cv_cc_flag__errwarn
   11661 		if eval test \${$cacheid+y}
   11662 then :
   11663   printf %s "(cached) " >&6
   11664 else case e in #(
   11665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11666 /* end confdefs.h.  */
   11667 int i;
   11668 int
   11669 main (void)
   11670 {
   11671 
   11672   ;
   11673   return 0;
   11674 }
   11675 _ACEOF
   11676 if ac_fn_c_try_link "$LINENO"
   11677 then :
   11678   eval $cacheid=yes
   11679 else case e in #(
   11680   e) eval $cacheid=no ;;
   11681 esac
   11682 fi
   11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11684     conftest$ac_exeext conftest.$ac_ext ;;
   11685 esac
   11686 fi
   11687 
   11688 
   11689 		CFLAGS="$xorg_testset_save_CFLAGS"
   11690 
   11691 		eval supported=\$$cacheid
   11692 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11693 printf '%s\n' "$supported" >&6; }
   11694 		if test "$supported" = "yes" ; then
   11695 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11696 			found="yes"
   11697 		fi
   11698 	fi
   11699 
   11700 
   11701 
   11702 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11703 # activate it with -Werror, so we add it here explicitly.
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 xorg_testset_save_CFLAGS="$CFLAGS"
   11718 
   11719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11721 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11724 then :
   11725   printf %s "(cached) " >&6
   11726 else case e in #(
   11727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11728 /* end confdefs.h.  */
   11729 int i;
   11730 _ACEOF
   11731 if ac_fn_c_try_compile "$LINENO"
   11732 then :
   11733   xorg_cv_cc_flag_unknown_warning_option=yes
   11734 else case e in #(
   11735   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11736 esac
   11737 fi
   11738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11739 esac
   11740 fi
   11741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11742 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11744 	CFLAGS="$xorg_testset_save_CFLAGS"
   11745 fi
   11746 
   11747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11750 	fi
   11751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11752 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11753 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11754 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11755 then :
   11756   printf %s "(cached) " >&6
   11757 else case e in #(
   11758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11759 /* end confdefs.h.  */
   11760 int i;
   11761 _ACEOF
   11762 if ac_fn_c_try_compile "$LINENO"
   11763 then :
   11764   xorg_cv_cc_flag_unused_command_line_argument=yes
   11765 else case e in #(
   11766   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11767 esac
   11768 fi
   11769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11770 esac
   11771 fi
   11772 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11773 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11775 	CFLAGS="$xorg_testset_save_CFLAGS"
   11776 fi
   11777 
   11778 found="no"
   11779 
   11780 	if test $found = "no" ; then
   11781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11783 		fi
   11784 
   11785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11787 		fi
   11788 
   11789 		CFLAGS="$CFLAGS -Werror=attributes"
   11790 
   11791 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11792 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11793 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11794 		if eval test \${$cacheid+y}
   11795 then :
   11796   printf %s "(cached) " >&6
   11797 else case e in #(
   11798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11799 /* end confdefs.h.  */
   11800 int i;
   11801 int
   11802 main (void)
   11803 {
   11804 
   11805   ;
   11806   return 0;
   11807 }
   11808 _ACEOF
   11809 if ac_fn_c_try_link "$LINENO"
   11810 then :
   11811   eval $cacheid=yes
   11812 else case e in #(
   11813   e) eval $cacheid=no ;;
   11814 esac
   11815 fi
   11816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11817     conftest$ac_exeext conftest.$ac_ext ;;
   11818 esac
   11819 fi
   11820 
   11821 
   11822 		CFLAGS="$xorg_testset_save_CFLAGS"
   11823 
   11824 		eval supported=\$$cacheid
   11825 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11826 printf '%s\n' "$supported" >&6; }
   11827 		if test "$supported" = "yes" ; then
   11828 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11829 			found="yes"
   11830 		fi
   11831 	fi
   11832 
   11833 
   11834 
   11835 if test "x$STRICT_COMPILE" = "xyes"; then
   11836     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11837     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11838 fi
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 cat >>confdefs.h <<_ACEOF
   11848 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11849 _ACEOF
   11850 
   11851 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11852 	if test "x$PVM" = "x"; then
   11853 		PVM="0"
   11854 	fi
   11855 
   11856 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11857 
   11858 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11859 	if test "x$PVP" = "x"; then
   11860 		PVP="0"
   11861 	fi
   11862 
   11863 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11864 
   11865 
   11866 
   11867 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11868 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11869 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11870 touch \$(top_srcdir)/ChangeLog; \
   11871 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11872 
   11873 
   11874 
   11875 
   11876 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11877 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11878 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11879 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11880 touch \$(top_srcdir)/INSTALL; \
   11881 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 case $host_os in
   11889     solaris*)
   11890         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11891         # check for a man page file found in later versions that use
   11892         # traditional section numbers instead
   11893         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11894 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11895 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11896 then :
   11897   printf %s "(cached) " >&6
   11898 else case e in #(
   11899   e) test "$cross_compiling" = yes &&
   11900   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11901 if test -r "/usr/share/man/man7/attributes.7"; then
   11902   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11903 else
   11904   ac_cv_file__usr_share_man_man7_attributes_7=no
   11905 fi ;;
   11906 esac
   11907 fi
   11908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11909 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11910 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11911 then :
   11912   SYSV_MAN_SECTIONS=false
   11913 else case e in #(
   11914   e) SYSV_MAN_SECTIONS=true ;;
   11915 esac
   11916 fi
   11917 
   11918         ;;
   11919     *) SYSV_MAN_SECTIONS=false ;;
   11920 esac
   11921 
   11922 if test x$APP_MAN_SUFFIX = x    ; then
   11923     APP_MAN_SUFFIX=1
   11924 fi
   11925 if test x$APP_MAN_DIR = x    ; then
   11926     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11927 fi
   11928 
   11929 if test x$LIB_MAN_SUFFIX = x    ; then
   11930     LIB_MAN_SUFFIX=3
   11931 fi
   11932 if test x$LIB_MAN_DIR = x    ; then
   11933     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11934 fi
   11935 
   11936 if test x$FILE_MAN_SUFFIX = x    ; then
   11937     case $SYSV_MAN_SECTIONS in
   11938 	true)				FILE_MAN_SUFFIX=4  ;;
   11939 	*)				FILE_MAN_SUFFIX=5  ;;
   11940     esac
   11941 fi
   11942 if test x$FILE_MAN_DIR = x    ; then
   11943     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11944 fi
   11945 
   11946 if test x$MISC_MAN_SUFFIX = x    ; then
   11947     case $SYSV_MAN_SECTIONS in
   11948 	true)				MISC_MAN_SUFFIX=5  ;;
   11949 	*)				MISC_MAN_SUFFIX=7  ;;
   11950     esac
   11951 fi
   11952 if test x$MISC_MAN_DIR = x    ; then
   11953     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11954 fi
   11955 
   11956 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11957     case $SYSV_MAN_SECTIONS in
   11958 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11959 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11960     esac
   11961 fi
   11962 if test x$DRIVER_MAN_DIR = x    ; then
   11963     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11964 fi
   11965 
   11966 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11967     case $SYSV_MAN_SECTIONS in
   11968 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11969 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11970     esac
   11971 fi
   11972 if test x$ADMIN_MAN_DIR = x    ; then
   11973     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11974 fi
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 XORG_MAN_PAGE="X Version 11"
   11991 
   11992 MAN_SUBSTS="\
   11993 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11994 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11995 	-e 's|__xservername__|Xorg|g' \
   11996 	-e 's|__xconfigfile__|xorg.conf|g' \
   11997 	-e 's|__projectroot__|\$(prefix)|g' \
   11998 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11999 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   12000 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   12001 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   12002 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   12003 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   12004 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   12005 
   12006 
   12007 
   12008 
   12009 AM_DEFAULT_VERBOSITY=0
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 # Checks for typedefs, structures, and compiler characteristics.
   12016 # Check whether --enable-largefile was given.
   12017 if test ${enable_largefile+y}
   12018 then :
   12019   enableval=$enable_largefile;
   12020 fi
   12021 if test "$enable_largefile,$enable_year2038" != no,no
   12022 then :
   12023   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5
   12024 printf %s "checking for $CC option to support large files... " >&6; }
   12025 if test ${ac_cv_sys_largefile_opts+y}
   12026 then :
   12027   printf %s "(cached) " >&6
   12028 else case e in #(
   12029   e) ac_save_CPPFLAGS=$CPPFLAGS
   12030   ac_opt_found=no
   12031   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   12032     if test x"$ac_opt" != x"none needed"
   12033 then :
   12034   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12035 fi
   12036     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12037 /* end confdefs.h.  */
   12038 #include <sys/types.h>
   12039 #ifndef FTYPE
   12040 # define FTYPE off_t
   12041 #endif
   12042  /* Check that FTYPE can represent 2**63 - 1 correctly.
   12043     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   12044     since some C++ compilers masquerading as C compilers
   12045     incorrectly reject 9223372036854775807.  */
   12046 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   12047   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   12048 		       && LARGE_FTYPE % 2147483647 == 1)
   12049 		      ? 1 : -1];
   12050 int
   12051 main (void)
   12052 {
   12053 
   12054   ;
   12055   return 0;
   12056 }
   12057 _ACEOF
   12058 if ac_fn_c_try_compile "$LINENO"
   12059 then :
   12060   if test x"$ac_opt" = x"none needed"
   12061 then :
   12062   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   12063 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   12064 	 if ac_fn_c_try_compile "$LINENO"
   12065 then :
   12066 
   12067 else case e in #(
   12068   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   12069 	    if ac_fn_c_try_compile "$LINENO"
   12070 then :
   12071   ac_opt='-D_FILE_OFFSET_BITS=64'
   12072 fi
   12073 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   12074 esac
   12075 fi
   12076 rm -f core conftest.err conftest.$ac_objext conftest.beam
   12077 fi
   12078       ac_cv_sys_largefile_opts=$ac_opt
   12079       ac_opt_found=yes
   12080 fi
   12081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12082     test $ac_opt_found = no || break
   12083   done
   12084   CPPFLAGS=$ac_save_CPPFLAGS
   12085 
   12086   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   12087 esac
   12088 fi
   12089 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   12090 printf '%s\n' "$ac_cv_sys_largefile_opts" >&6; }
   12091 
   12092 ac_have_largefile=yes
   12093 case $ac_cv_sys_largefile_opts in #(
   12094   "none needed") :
   12095      ;; #(
   12096   "supported through gnulib") :
   12097      ;; #(
   12098   "support not detected") :
   12099     ac_have_largefile=no ;; #(
   12100   "-D_FILE_OFFSET_BITS=64") :
   12101 
   12102 printf '%s\n' "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   12103  ;; #(
   12104   "-D_LARGE_FILES=1") :
   12105 
   12106 printf '%s\n' "#define _LARGE_FILES 1" >>confdefs.h
   12107  ;; #(
   12108   *) :
   12109     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   12110 esac
   12111 
   12112 if test "$enable_year2038" != no
   12113 then :
   12114   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5
   12115 printf %s "checking for $CC option to support timestamps after 2038... " >&6; }
   12116 if test ${ac_cv_sys_year2038_opts+y}
   12117 then :
   12118   printf %s "(cached) " >&6
   12119 else case e in #(
   12120   e) ac_save_CPPFLAGS="$CPPFLAGS"
   12121   ac_opt_found=no
   12122   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
   12123     if test x"$ac_opt" != x"none needed"
   12124 then :
   12125   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12126 fi
   12127     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12128 /* end confdefs.h.  */
   12129 
   12130   #include <time.h>
   12131   /* Check that time_t can represent 2**32 - 1 correctly.  */
   12132   #define LARGE_TIME_T \\
   12133     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   12134   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   12135                            && LARGE_TIME_T % 65537 == 0)
   12136                           ? 1 : -1];
   12137 
   12138 int
   12139 main (void)
   12140 {
   12141 
   12142   ;
   12143   return 0;
   12144 }
   12145 _ACEOF
   12146 if ac_fn_c_try_compile "$LINENO"
   12147 then :
   12148   ac_cv_sys_year2038_opts="$ac_opt"
   12149       ac_opt_found=yes
   12150 fi
   12151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12152     test $ac_opt_found = no || break
   12153   done
   12154   CPPFLAGS="$ac_save_CPPFLAGS"
   12155   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   12156 esac
   12157 fi
   12158 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   12159 printf '%s\n' "$ac_cv_sys_year2038_opts" >&6; }
   12160 
   12161 ac_have_year2038=yes
   12162 case $ac_cv_sys_year2038_opts in #(
   12163   "none needed") :
   12164      ;; #(
   12165   "support not detected") :
   12166     ac_have_year2038=no ;; #(
   12167   "-D_TIME_BITS=64") :
   12168 
   12169 printf '%s\n' "#define _TIME_BITS 64" >>confdefs.h
   12170  ;; #(
   12171   "-D__MINGW_USE_VC2005_COMPAT") :
   12172 
   12173 printf '%s\n' "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12174  ;; #(
   12175   "-U_USE_32_BIT_TIME_T"*) :
   12176     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12177 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12178 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12179 will stop working after mid-January 2038. Remove
   12180 _USE_32BIT_TIME_T from the compiler flags.
   12181 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12182   *) :
   12183     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12184 esac
   12185 
   12186 fi
   12187 
   12188 fi
   12189 
   12190 # Checks for library functions.
   12191 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   12192 if test "x$ac_cv_func_reallocarray" = xyes
   12193 then :
   12194   printf '%s\n' "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   12195 
   12196 fi
   12197 
   12198 
   12199 # Checks for pkg-config packages
   12200 
   12201 pkg_failed=no
   12202 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ICEAUTH" >&5
   12203 printf %s "checking for ICEAUTH... " >&6; }
   12204 
   12205 if test -n "$ICEAUTH_CFLAGS"; then
   12206     pkg_cv_ICEAUTH_CFLAGS="$ICEAUTH_CFLAGS"
   12207  elif test -n "$PKG_CONFIG"; then
   12208     if test -n "$PKG_CONFIG" && \
   12209     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   12210   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   12211   ac_status=$?
   12212   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12213   test $ac_status = 0; }; then
   12214   pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 ice" 2>/dev/null`
   12215 		      test "x$?" != "x0" && pkg_failed=yes
   12216 else
   12217   pkg_failed=yes
   12218 fi
   12219  else
   12220     pkg_failed=untried
   12221 fi
   12222 if test -n "$ICEAUTH_LIBS"; then
   12223     pkg_cv_ICEAUTH_LIBS="$ICEAUTH_LIBS"
   12224  elif test -n "$PKG_CONFIG"; then
   12225     if test -n "$PKG_CONFIG" && \
   12226     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   12227   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   12228   ac_status=$?
   12229   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12230   test $ac_status = 0; }; then
   12231   pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 ice" 2>/dev/null`
   12232 		      test "x$?" != "x0" && pkg_failed=yes
   12233 else
   12234   pkg_failed=yes
   12235 fi
   12236  else
   12237     pkg_failed=untried
   12238 fi
   12239 
   12240 
   12241 
   12242 if test $pkg_failed = yes; then
   12243    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12244 printf '%s\n' "no" >&6; }
   12245 
   12246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12247         _pkg_short_errors_supported=yes
   12248 else
   12249         _pkg_short_errors_supported=no
   12250 fi
   12251         if test $_pkg_short_errors_supported = yes; then
   12252 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
   12253         else
   12254 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
   12255         fi
   12256 	# Put the nasty error message in config.log where it belongs
   12257 	echo "$ICEAUTH_PKG_ERRORS" >&5
   12258 
   12259 	as_fn_error $? "Package requirements (xproto >= 7.0.22 ice) were not met:
   12260 
   12261 $ICEAUTH_PKG_ERRORS
   12262 
   12263 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12264 installed software in a non-standard prefix.
   12265 
   12266 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   12267 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   12268 See the pkg-config man page for more details." "$LINENO" 5
   12269 elif test $pkg_failed = untried; then
   12270      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12271 printf '%s\n' "no" >&6; }
   12272 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12273 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12274 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12275 is in your PATH or set the PKG_CONFIG environment variable to the full
   12276 path to pkg-config.
   12277 
   12278 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   12279 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   12280 See the pkg-config man page for more details.
   12281 
   12282 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12283 See 'config.log' for more details" "$LINENO" 5; }
   12284 else
   12285 	ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
   12286 	ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
   12287         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12288 printf '%s\n' "yes" >&6; }
   12289 
   12290 fi
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 # Check whether --with-lint was given.
   12298 if test ${with_lint+y}
   12299 then :
   12300   withval=$with_lint; use_lint=$withval
   12301 else case e in #(
   12302   e) use_lint=no ;;
   12303 esac
   12304 fi
   12305 
   12306 
   12307 # Obtain platform specific info like program name and options
   12308 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   12309 case $host_os in
   12310   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   12311 	lint_name=splint
   12312 	lint_options="-badflag"
   12313 	;;
   12314   *freebsd* | *netbsd*)
   12315 	lint_name=lint
   12316 	lint_options="-u -b"
   12317 	;;
   12318   *solaris*)
   12319 	lint_name=lint
   12320 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   12321 	;;
   12322 esac
   12323 
   12324 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   12325 if test "x$use_lint" = x"yes" ; then
   12326    # Extract the first word of "$lint_name", so it can be a program name with args.
   12327 set dummy $lint_name; ac_word=$2
   12328 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12329 printf %s "checking for $ac_word... " >&6; }
   12330 if test ${ac_cv_path_LINT+y}
   12331 then :
   12332   printf %s "(cached) " >&6
   12333 else case e in #(
   12334   e) case $LINT in
   12335   [\\/]* | ?:[\\/]*)
   12336   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   12337   ;;
   12338   *)
   12339   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12340 for as_dir in $PATH
   12341 do
   12342   IFS=$as_save_IFS
   12343   case $as_dir in #(((
   12344     '') as_dir=./ ;;
   12345     */) ;;
   12346     *) as_dir=$as_dir/ ;;
   12347   esac
   12348     for ac_exec_ext in '' $ac_executable_extensions; do
   12349   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12350     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   12351     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12352     break 2
   12353   fi
   12354 done
   12355   done
   12356 IFS=$as_save_IFS
   12357 
   12358   ;;
   12359 esac ;;
   12360 esac
   12361 fi
   12362 LINT=$ac_cv_path_LINT
   12363 if test -n "$LINT"; then
   12364   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   12365 printf '%s\n' "$LINT" >&6; }
   12366 else
   12367   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12368 printf '%s\n' "no" >&6; }
   12369 fi
   12370 
   12371 
   12372    if test "x$LINT" = "x"; then
   12373         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   12374    fi
   12375 elif test "x$use_lint" = x"no" ; then
   12376    if test "x$LINT" != "x"; then
   12377       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   12378 printf '%s\n' "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   12379    fi
   12380 else
   12381    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   12382 fi
   12383 
   12384 # User supplied flags override default flags
   12385 if test "x$LINT_FLAGS" != "x"; then
   12386    lint_options=$LINT_FLAGS
   12387 fi
   12388 
   12389 LINT_FLAGS=$lint_options
   12390 
   12391  if test "x$LINT" != x; then
   12392   LINT_TRUE=
   12393   LINT_FALSE='#'
   12394 else
   12395   LINT_TRUE='#'
   12396   LINT_FALSE=
   12397 fi
   12398 
   12399 
   12400 
   12401 
   12402 ac_config_files="$ac_config_files Makefile man/Makefile"
   12403 
   12404 cat >confcache <<\_ACEOF
   12405 # This file is a shell script that caches the results of configure
   12406 # tests run on this system so they can be shared between configure
   12407 # scripts and configure runs, see configure's option --config-cache.
   12408 # It is not useful on other systems.  If it contains results you don't
   12409 # want to keep, you may remove or edit it.
   12410 #
   12411 # config.status only pays attention to the cache file if you give it
   12412 # the --recheck option to rerun configure.
   12413 #
   12414 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12415 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12416 # following values.
   12417 
   12418 _ACEOF
   12419 
   12420 ac_cache_dump |
   12421   sed '
   12422      /^ac_cv_env_/b end
   12423      t clear
   12424      :clear
   12425      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12426      t end
   12427      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12428      :end' >>confcache
   12429 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12430   if test -w "$cache_file"; then
   12431     if test "x$cache_file" != "x/dev/null"; then
   12432       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12433 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   12434       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12435 	cat confcache >"$cache_file"
   12436       else
   12437         case $cache_file in #(
   12438         */* | ?:*)
   12439 	  mv -f confcache "$cache_file"$$ &&
   12440 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12441         *)
   12442 	  mv -f confcache "$cache_file" ;;
   12443 	esac
   12444       fi
   12445     fi
   12446   else
   12447     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12448 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   12449   fi
   12450 fi
   12451 rm -f confcache
   12452 
   12453 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12454 # Let make expand exec_prefix.
   12455 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12456 
   12457 DEFS=-DHAVE_CONFIG_H
   12458 
   12459 ac_libobjs=
   12460 ac_ltlibobjs=
   12461 U=
   12462 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12463   # 1. Remove the extension, and $U if already installed.
   12464   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12465   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   12466   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12467   #    will be set to the directory where LIBOBJS objects are built.
   12468   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12469   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12470 done
   12471 LIBOBJS=$ac_libobjs
   12472 
   12473 LTLIBOBJS=$ac_ltlibobjs
   12474 
   12475 
   12476 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12477 printf %s "checking that generated files are newer than configure... " >&6; }
   12478    if test -n "$am_sleep_pid"; then
   12479      # Hide warnings about reused PIDs.
   12480      wait $am_sleep_pid 2>/dev/null
   12481    fi
   12482    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12483 printf '%s\n' "done" >&6; }
   12484 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12485   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12487 fi
   12488 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12489   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12491 fi
   12492 case $enable_silent_rules in # (((
   12493   yes) AM_DEFAULT_VERBOSITY=0;;
   12494    no) AM_DEFAULT_VERBOSITY=1;;
   12495 esac
   12496 if test $am_cv_make_support_nested_variables = yes; then
   12497     AM_V='$(V)'
   12498   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12499 else
   12500   AM_V=$AM_DEFAULT_VERBOSITY
   12501   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12502 fi
   12503 
   12504  if test -n "$EXEEXT"; then
   12505   am__EXEEXT_TRUE=
   12506   am__EXEEXT_FALSE='#'
   12507 else
   12508   am__EXEEXT_TRUE='#'
   12509   am__EXEEXT_FALSE=
   12510 fi
   12511 
   12512 # Check whether --enable-year2038 was given.
   12513 if test ${enable_year2038+y}
   12514 then :
   12515   enableval=$enable_year2038;
   12516 fi
   12517 
   12518 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12519   as_fn_error $? "conditional \"LINT\" was never defined.
   12520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12521 fi
   12522 
   12523 : "${CONFIG_STATUS=./config.status}"
   12524 case $CONFIG_STATUS in #(
   12525   -*) :
   12526     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   12527   */*) :
   12528      ;; #(
   12529   *) :
   12530     CONFIG_STATUS=./$CONFIG_STATUS ;;
   12531 esac
   12532 
   12533 ac_write_fail=0
   12534 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   12535 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12536 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   12537 as_write_fail=0
   12538 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   12539 #! $SHELL
   12540 # Generated by $as_me.
   12541 # Run this file to recreate the current configuration.
   12542 # Compiler output produced by configure, useful for debugging
   12543 # configure, is in config.log if it exists.
   12544 
   12545 debug=false
   12546 ac_cs_recheck=false
   12547 ac_cs_silent=false
   12548 
   12549 SHELL=\${CONFIG_SHELL-$SHELL}
   12550 export SHELL
   12551 _ASEOF
   12552 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12553 ## -------------------- ##
   12554 ## M4sh Initialization. ##
   12555 ## -------------------- ##
   12556 
   12557 # Be more Bourne compatible
   12558 DUALCASE=1; export DUALCASE # for MKS sh
   12559 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12560 then :
   12561   emulate sh
   12562   NULLCMD=:
   12563   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12564   # contradicts POSIX and common usage.  Disable this.
   12565   alias -g '${1+"$@"}'='"$@"'
   12566   setopt NO_GLOB_SUBST
   12567 else case e in #(
   12568   e) case `(set -o) 2>/dev/null` in #(
   12569   *posix*) :
   12570     set -o posix ;; #(
   12571   *) :
   12572      ;;
   12573 esac ;;
   12574 esac
   12575 fi
   12576 
   12577 
   12578 
   12579 # Reset variables that may have inherited troublesome values from
   12580 # the environment.
   12581 
   12582 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12583 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12584 # side effect of setting IFS to empty, thus disabling word splitting.)
   12585 # Quoting is to prevent editors from complaining about space-tab.
   12586 as_nl='
   12587 '
   12588 export as_nl
   12589 IFS=" ""	$as_nl"
   12590 
   12591 PS1='$ '
   12592 PS2='> '
   12593 PS4='+ '
   12594 
   12595 # Ensure predictable behavior from utilities with locale-dependent output.
   12596 LC_ALL=C
   12597 export LC_ALL
   12598 LANGUAGE=C
   12599 export LANGUAGE
   12600 
   12601 # We cannot yet rely on "unset" to work, but we need these variables
   12602 # to be unset--not just set to an empty or harmless value--now, to
   12603 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12604 # also avoids known problems related to "unset" and subshell syntax
   12605 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12606 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12607 do eval test \${$as_var+y} \
   12608   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12609 done
   12610 
   12611 # Ensure that fds 0, 1, and 2 are open.
   12612 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12613 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12614 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12615 
   12616 # The user is always right.
   12617 if ${PATH_SEPARATOR+false} :; then
   12618   PATH_SEPARATOR=:
   12619   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12620     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12621       PATH_SEPARATOR=';'
   12622   }
   12623 fi
   12624 
   12625 
   12626 # Find who we are.  Look in the path if we contain no directory separator.
   12627 as_myself=
   12628 case $0 in #((
   12629   *[\\/]* ) as_myself=$0 ;;
   12630   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12631 for as_dir in $PATH
   12632 do
   12633   IFS=$as_save_IFS
   12634   case $as_dir in #(((
   12635     '') as_dir=./ ;;
   12636     */) ;;
   12637     *) as_dir=$as_dir/ ;;
   12638   esac
   12639     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12640   done
   12641 IFS=$as_save_IFS
   12642 
   12643      ;;
   12644 esac
   12645 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12646 # in which case we are not to be found in the path.
   12647 if test "x$as_myself" = x; then
   12648   as_myself=$0
   12649 fi
   12650 if test ! -f "$as_myself"; then
   12651   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12652   exit 1
   12653 fi
   12654 
   12655 
   12656 
   12657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12658 # ----------------------------------------
   12659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12661 # script with STATUS, using 1 if that was 0.
   12662 as_fn_error ()
   12663 {
   12664   as_status=$1; test $as_status -eq 0 && as_status=1
   12665   if test "$4"; then
   12666     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12667     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12668   fi
   12669   printf '%s\n' "$as_me: error: $2" >&2
   12670   as_fn_exit $as_status
   12671 } # as_fn_error
   12672 
   12673 
   12674 # as_fn_set_status STATUS
   12675 # -----------------------
   12676 # Set $? to STATUS, without forking.
   12677 as_fn_set_status ()
   12678 {
   12679   return $1
   12680 } # as_fn_set_status
   12681 
   12682 # as_fn_exit STATUS
   12683 # -----------------
   12684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12685 as_fn_exit ()
   12686 {
   12687   set +e
   12688   as_fn_set_status $1
   12689   exit $1
   12690 } # as_fn_exit
   12691 
   12692 # as_fn_unset VAR
   12693 # ---------------
   12694 # Portably unset VAR.
   12695 as_fn_unset ()
   12696 {
   12697   { eval $1=; unset $1;}
   12698 }
   12699 as_unset=as_fn_unset
   12700 
   12701 # as_fn_append VAR VALUE
   12702 # ----------------------
   12703 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12704 # advantage of any shell optimizations that allow amortized linear growth over
   12705 # repeated appends, instead of the typical quadratic growth present in naive
   12706 # implementations.
   12707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12708 then :
   12709   eval 'as_fn_append ()
   12710   {
   12711     eval $1+=\$2
   12712   }'
   12713 else case e in #(
   12714   e) as_fn_append ()
   12715   {
   12716     eval $1=\$$1\$2
   12717   } ;;
   12718 esac
   12719 fi # as_fn_append
   12720 
   12721 # as_fn_arith ARG...
   12722 # ------------------
   12723 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12724 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12725 # must be portable across $(()) and expr.
   12726 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12727 then :
   12728   eval 'as_fn_arith ()
   12729   {
   12730     as_val=$(( $* ))
   12731   }'
   12732 else case e in #(
   12733   e) as_fn_arith ()
   12734   {
   12735     as_val=`expr "$@" || test $? -eq 1`
   12736   } ;;
   12737 esac
   12738 fi # as_fn_arith
   12739 
   12740 
   12741 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12742    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12743   as_expr=expr
   12744 else
   12745   as_expr=false
   12746 fi
   12747 
   12748 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12749   as_basename=basename
   12750 else
   12751   as_basename=false
   12752 fi
   12753 
   12754 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12755   as_dirname=dirname
   12756 else
   12757   as_dirname=false
   12758 fi
   12759 
   12760 as_me=`$as_basename -- "$0" ||
   12761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12762 	 X"$0" : 'X\(//\)$' \| \
   12763 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12764 printf '%s\n' X/"$0" |
   12765     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12766 	    s//\1/
   12767 	    q
   12768 	  }
   12769 	  /^X\/\(\/\/\)$/{
   12770 	    s//\1/
   12771 	    q
   12772 	  }
   12773 	  /^X\/\(\/\).*/{
   12774 	    s//\1/
   12775 	    q
   12776 	  }
   12777 	  s/.*/./; q'`
   12778 
   12779 # Avoid depending upon Character Ranges.
   12780 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12781 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12782 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12783 as_cr_digits='0123456789'
   12784 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12785 
   12786 rm -f conf$$ conf$$.exe conf$$.file
   12787 if test -d conf$$.dir; then
   12788   rm -f conf$$.dir/conf$$.file
   12789 else
   12790   rm -f conf$$.dir
   12791   mkdir conf$$.dir 2>/dev/null
   12792 fi
   12793 if (echo >conf$$.file) 2>/dev/null; then
   12794   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12795     as_ln_s='ln -s'
   12796     # ... but there are two gotchas:
   12797     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12798     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12799     # In both cases, we have to default to 'cp -pR'.
   12800     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12801       as_ln_s='cp -pR'
   12802   elif ln conf$$.file conf$$ 2>/dev/null; then
   12803     as_ln_s=ln
   12804   else
   12805     as_ln_s='cp -pR'
   12806   fi
   12807 else
   12808   as_ln_s='cp -pR'
   12809 fi
   12810 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12811 rmdir conf$$.dir 2>/dev/null
   12812 
   12813 
   12814 # as_fn_mkdir_p
   12815 # -------------
   12816 # Create "$as_dir" as a directory, including parents if necessary.
   12817 as_fn_mkdir_p ()
   12818 {
   12819 
   12820   case $as_dir in #(
   12821   -*) as_dir=./$as_dir;;
   12822   esac
   12823   test -d "$as_dir" || eval $as_mkdir_p || {
   12824     as_dirs=
   12825     while :; do
   12826       case $as_dir in #(
   12827       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12828       *) as_qdir=$as_dir;;
   12829       esac
   12830       as_dirs="'$as_qdir' $as_dirs"
   12831       as_dir=`$as_dirname -- "$as_dir" ||
   12832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12833 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12834 	 X"$as_dir" : 'X\(//\)$' \| \
   12835 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12836 printf '%s\n' X"$as_dir" |
   12837     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12838 	    s//\1/
   12839 	    q
   12840 	  }
   12841 	  /^X\(\/\/\)[^/].*/{
   12842 	    s//\1/
   12843 	    q
   12844 	  }
   12845 	  /^X\(\/\/\)$/{
   12846 	    s//\1/
   12847 	    q
   12848 	  }
   12849 	  /^X\(\/\).*/{
   12850 	    s//\1/
   12851 	    q
   12852 	  }
   12853 	  s/.*/./; q'`
   12854       test -d "$as_dir" && break
   12855     done
   12856     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12857   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12858 
   12859 
   12860 } # as_fn_mkdir_p
   12861 if mkdir -p . 2>/dev/null; then
   12862   as_mkdir_p='mkdir -p "$as_dir"'
   12863 else
   12864   test -d ./-p && rmdir ./-p
   12865   as_mkdir_p=false
   12866 fi
   12867 
   12868 
   12869 # as_fn_executable_p FILE
   12870 # -----------------------
   12871 # Test if FILE is an executable regular file.
   12872 as_fn_executable_p ()
   12873 {
   12874   test -f "$1" && test -x "$1"
   12875 } # as_fn_executable_p
   12876 as_test_x='test -x'
   12877 as_executable_p=as_fn_executable_p
   12878 
   12879 # Sed expression to map a string onto a valid CPP name.
   12880 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12881 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12882 
   12883 # Sed expression to map a string onto a valid variable name.
   12884 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12885 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12886 
   12887 
   12888 exec 6>&1
   12889 ## ------------------------------------- ##
   12890 ## Main body of "$CONFIG_STATUS" script. ##
   12891 ## ------------------------------------- ##
   12892 _ASEOF
   12893 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12894 
   12895 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12896 # Save the log message, to keep $0 and so on meaningful, and to
   12897 # report actual input values of CONFIG_FILES etc. instead of their
   12898 # values after options handling.
   12899 ac_log="
   12900 This file was extended by iceauth $as_me 1.0.11, which was
   12901 generated by GNU Autoconf 2.73.  Invocation command line was
   12902 
   12903   CONFIG_FILES    = $CONFIG_FILES
   12904   CONFIG_HEADERS  = $CONFIG_HEADERS
   12905   CONFIG_LINKS    = $CONFIG_LINKS
   12906   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12907   $ $0 $@
   12908 
   12909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12910 "
   12911 
   12912 _ACEOF
   12913 
   12914 case $ac_config_files in *"
   12915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12916 esac
   12917 
   12918 case $ac_config_headers in *"
   12919 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12920 esac
   12921 
   12922 
   12923 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12924 # Files that config.status was made for.
   12925 config_files="$ac_config_files"
   12926 config_headers="$ac_config_headers"
   12927 config_commands="$ac_config_commands"
   12928 
   12929 _ACEOF
   12930 
   12931 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12932 ac_cs_usage="\
   12933 '$as_me' instantiates files and other configuration actions
   12934 from templates according to the current configuration.  Unless the files
   12935 and actions are specified as TAGs, all are instantiated by default.
   12936 
   12937 Usage: $0 [OPTION]... [TAG]...
   12938 
   12939   -h, --help       print this help, then exit
   12940   -V, --version    print version number and configuration settings, then exit
   12941       --config     print configuration, then exit
   12942   -q, --quiet, --silent
   12943                    do not print progress messages
   12944   -d, --debug      don't remove temporary files
   12945       --recheck    update $as_me by reconfiguring in the same conditions
   12946       --file=FILE[:TEMPLATE]
   12947                    instantiate the configuration file FILE
   12948       --header=FILE[:TEMPLATE]
   12949                    instantiate the configuration header FILE
   12950 
   12951 Configuration files:
   12952 $config_files
   12953 
   12954 Configuration headers:
   12955 $config_headers
   12956 
   12957 Configuration commands:
   12958 $config_commands
   12959 
   12960 Report bugs to <https://gitlab.freedesktop.org/xorg/app/iceauth/-/issues>."
   12961 
   12962 _ACEOF
   12963 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12964 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12965 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12966 ac_cs_config='$ac_cs_config_escaped'
   12967 ac_cs_version="\\
   12968 iceauth config.status 1.0.11
   12969 configured by $0, generated by GNU Autoconf 2.73,
   12970   with options \\"\$ac_cs_config\\"
   12971 
   12972 Copyright (C) 2026 Free Software Foundation, Inc.
   12973 This config.status script is free software; the Free Software Foundation
   12974 gives unlimited permission to copy, distribute and modify it."
   12975 
   12976 ac_pwd='$ac_pwd'
   12977 srcdir='$srcdir'
   12978 INSTALL='$INSTALL'
   12979 MKDIR_P='$MKDIR_P'
   12980 AWK='$AWK'
   12981 test -n "\$AWK" || {
   12982   awk '' </dev/null ||
   12983     as_fn_error \$? "try installing gawk"
   12984   AWK=awk
   12985 }
   12986 _ACEOF
   12987 
   12988 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12989 # The default lists apply if the user does not specify any file.
   12990 ac_need_defaults=:
   12991 while test $# != 0
   12992 do
   12993   case $1 in
   12994   --*=?*)
   12995     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12996     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12997     ac_shift=:
   12998     ;;
   12999   --*=)
   13000     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13001     ac_optarg=
   13002     ac_shift=:
   13003     ;;
   13004   *)
   13005     ac_option=$1
   13006     ac_optarg=$2
   13007     ac_shift=shift
   13008     ;;
   13009   esac
   13010 
   13011   case $ac_option in
   13012   # Handling of the options.
   13013   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13014     ac_cs_recheck=: ;;
   13015   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13016     printf '%s\n' "$ac_cs_version"; exit ;;
   13017   --config | --confi | --conf | --con | --co | --c )
   13018     printf '%s\n' "$ac_cs_config"; exit ;;
   13019   --debug | --debu | --deb | --de | --d | -d )
   13020     debug=: ;;
   13021   --file | --fil | --fi | --f )
   13022     $ac_shift
   13023     case $ac_optarg in
   13024     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13025     '') as_fn_error $? "missing file argument" ;;
   13026     esac
   13027     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13028     ac_need_defaults=false;;
   13029   --header | --heade | --head | --hea )
   13030     $ac_shift
   13031     case $ac_optarg in
   13032     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13033     esac
   13034     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13035     ac_need_defaults=false;;
   13036   --he | --h)
   13037     # Conflict between --help and --header
   13038     as_fn_error $? "ambiguous option: '$1'
   13039 Try '$0 --help' for more information.";;
   13040   --help | --hel | -h )
   13041     printf '%s\n' "$ac_cs_usage"; exit ;;
   13042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13043   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13044     ac_cs_silent=: ;;
   13045 
   13046   # This is an error.
   13047   -*) as_fn_error $? "unrecognized option: '$1'
   13048 Try '$0 --help' for more information." ;;
   13049 
   13050   *) as_fn_append ac_config_targets " $1"
   13051      ac_need_defaults=false ;;
   13052 
   13053   esac
   13054   shift
   13055 done
   13056 
   13057 ac_configure_extra_args=
   13058 
   13059 if $ac_cs_silent; then
   13060   exec 6>/dev/null
   13061   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13062 fi
   13063 
   13064 _ACEOF
   13065 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13066 if \$ac_cs_recheck; then
   13067   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13068   shift
   13069   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   13070   CONFIG_SHELL='$SHELL'
   13071   export CONFIG_SHELL
   13072   exec "\$@"
   13073 fi
   13074 
   13075 _ACEOF
   13076 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13077 exec 5>>config.log
   13078 {
   13079   echo
   13080   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13081 ## Running $as_me. ##
   13082 _ASBOX
   13083   printf '%s\n' "$ac_log"
   13084 } >&5
   13085 
   13086 _ACEOF
   13087 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13088 #
   13089 # INIT-COMMANDS
   13090 #
   13091 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13092 
   13093 _ACEOF
   13094 
   13095 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13096 
   13097 # Handling of arguments.
   13098 for ac_config_target in $ac_config_targets
   13099 do
   13100   case $ac_config_target in
   13101     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13102     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13103     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13104     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13105 
   13106   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13107   esac
   13108 done
   13109 
   13110 
   13111 # If the user did not use the arguments to specify the items to instantiate,
   13112 # then the envvar interface is used.  Set only those that are not.
   13113 # We use the long form for the default assignment because of an extremely
   13114 # bizarre bug on SunOS 4.1.3.
   13115 if $ac_need_defaults; then
   13116   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13117   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13118   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13119 fi
   13120 
   13121 # Have a temporary directory for convenience.  Make it in the build tree
   13122 # simply because there is no reason against having it here, and in addition,
   13123 # creating and moving files from /tmp can sometimes cause problems.
   13124 # Hook for its removal unless debugging.
   13125 # Note that there is a small window in which the directory will not be cleaned:
   13126 # after its creation but before its name has been assigned to '$tmp'.
   13127 $debug ||
   13128 {
   13129   tmp= ac_tmp=
   13130   trap 'exit_status=$?
   13131   : "${ac_tmp:=$tmp}"
   13132   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13133 ' 0
   13134   trap 'as_fn_exit 1' 1 2 13 15
   13135 }
   13136 # Create a (secure) tmp directory for tmp files.
   13137 
   13138 {
   13139   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13140   test -d "$tmp"
   13141 }  ||
   13142 {
   13143   tmp=./conf$$-$RANDOM
   13144   (umask 077 && mkdir "$tmp")
   13145 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13146 ac_tmp=$tmp
   13147 
   13148 # Set up the scripts for CONFIG_FILES section.
   13149 # No need to generate them if there are no CONFIG_FILES.
   13150 # This happens for instance with './config.status config.h'.
   13151 if test -n "$CONFIG_FILES"; then
   13152 
   13153 
   13154 ac_cr=`echo X | tr X '\015'`
   13155 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13156 # But we know of no other shell where ac_cr would be empty at this
   13157 # point, so we can use a bashism as a fallback.
   13158 if test "x$ac_cr" = x; then
   13159   eval ac_cr=\$\'\\r\'
   13160 fi
   13161 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13162 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13163   ac_cs_awk_cr='\\r'
   13164 else
   13165   ac_cs_awk_cr=$ac_cr
   13166 fi
   13167 
   13168 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13169 _ACEOF
   13170 
   13171 
   13172 {
   13173   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13174   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13175   echo "_ACEOF"
   13176 } >conf$$subs.sh ||
   13177   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13178 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   13179 ac_delim='%!_!# '
   13180 for ac_last_try in false false false false false :; do
   13181   . ./conf$$subs.sh ||
   13182     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13183 
   13184   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   13185   if test $ac_delim_n = $ac_delim_num; then
   13186     break
   13187   elif $ac_last_try; then
   13188     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13189   else
   13190     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13191   fi
   13192 done
   13193 rm -f conf$$subs.sh
   13194 
   13195 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13196 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13197 _ACEOF
   13198 sed -n '
   13199 h
   13200 s/^/S["/; s/!.*/"]=/
   13201 p
   13202 g
   13203 s/^[^!]*!//
   13204 :repl
   13205 t repl
   13206 s/'"$ac_delim"'$//
   13207 t delim
   13208 :nl
   13209 h
   13210 s/\(.\{148\}\)..*/\1/
   13211 t more1
   13212 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13213 p
   13214 n
   13215 b repl
   13216 :more1
   13217 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13218 p
   13219 g
   13220 s/.\{148\}//
   13221 t nl
   13222 :delim
   13223 h
   13224 s/\(.\{148\}\)..*/\1/
   13225 t more2
   13226 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13227 p
   13228 b
   13229 :more2
   13230 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13231 p
   13232 g
   13233 s/.\{148\}//
   13234 t delim
   13235 ' <conf$$subs.awk | sed '
   13236 /^[^""]/{
   13237   N
   13238   s/\n//
   13239 }
   13240 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   13241 rm -f conf$$subs.awk
   13242 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13243 _ACAWK
   13244 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13245   for (key in S) S_is_set[key] = 1
   13246   FS = ""
   13247 
   13248 }
   13249 {
   13250   line = $ 0
   13251   nfields = split(line, field, "@")
   13252   substed = 0
   13253   len = length(field[1])
   13254   for (i = 2; i < nfields; i++) {
   13255     key = field[i]
   13256     keylen = length(key)
   13257     if (S_is_set[key]) {
   13258       value = S[key]
   13259       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13260       len += length(value) + length(field[++i])
   13261       substed = 1
   13262     } else
   13263       len += 1 + keylen
   13264   }
   13265 
   13266   print line
   13267 }
   13268 
   13269 _ACAWK
   13270 _ACEOF
   13271 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13272 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13273   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13274 else
   13275   cat
   13276 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13277   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13278 _ACEOF
   13279 
   13280 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13281 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13282 # trailing colons and then remove the whole line if VPATH becomes empty
   13283 # (actually we leave an empty line to preserve line numbers).
   13284 if test "x$srcdir" = x.; then
   13285   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13286 h
   13287 s///
   13288 s/^/:/
   13289 s/[	 ]*$/:/
   13290 s/:\$(srcdir):/:/g
   13291 s/:\${srcdir}:/:/g
   13292 s/:@srcdir@:/:/g
   13293 s/^:*//
   13294 s/:*$//
   13295 x
   13296 s/\(=[	 ]*\).*/\1/
   13297 G
   13298 s/\n//
   13299 s/^[^=]*=[	 ]*$//
   13300 }'
   13301 fi
   13302 
   13303 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13304 fi # test -n "$CONFIG_FILES"
   13305 
   13306 # Set up the scripts for CONFIG_HEADERS section.
   13307 # No need to generate them if there are no CONFIG_HEADERS.
   13308 # This happens for instance with './config.status Makefile'.
   13309 if test -n "$CONFIG_HEADERS"; then
   13310 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13311 BEGIN {
   13312 _ACEOF
   13313 
   13314 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13315 # here-document in config.status, that substitutes the proper values into
   13316 # config.h.in to produce config.h.
   13317 
   13318 # Create a delimiter string that does not exist in confdefs.h, to ease
   13319 # handling of long lines.
   13320 ac_delim='%!_!# '
   13321 for ac_last_try in false false :; do
   13322   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13323   if test -z "$ac_tt"; then
   13324     break
   13325   elif $ac_last_try; then
   13326     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13327   else
   13328     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13329   fi
   13330 done
   13331 
   13332 # For the awk script, D is an array of macro values keyed by name,
   13333 # likewise P contains macro parameters if any.  Preserve backslash
   13334 # newline sequences.
   13335 
   13336 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13337 sed -n '
   13338 s/.\{148\}/&'"$ac_delim"'/g
   13339 t rset
   13340 :rset
   13341 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13342 t def
   13343 d
   13344 :def
   13345 s/\\$//
   13346 t bsnl
   13347 s/["\\]/\\&/g
   13348 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13349 D["\1"]=" \3"/p
   13350 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13351 d
   13352 :bsnl
   13353 s/["\\]/\\&/g
   13354 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13355 D["\1"]=" \3\\\\\\n"\\/p
   13356 t cont
   13357 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13358 t cont
   13359 d
   13360 :cont
   13361 n
   13362 s/.\{148\}/&'"$ac_delim"'/g
   13363 t clear
   13364 :clear
   13365 s/\\$//
   13366 t bsnlc
   13367 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13368 d
   13369 :bsnlc
   13370 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13371 b cont
   13372 ' <confdefs.h | sed '
   13373 s/'"$ac_delim"'/"\\\
   13374 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   13375 
   13376 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13377   for (key in D) D_is_set[key] = 1
   13378   FS = ""
   13379 }
   13380 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13381   line = \$ 0
   13382   split(line, arg, " ")
   13383   if (arg[1] == "#") {
   13384     defundef = arg[2]
   13385     mac1 = arg[3]
   13386   } else {
   13387     defundef = substr(arg[1], 2)
   13388     mac1 = arg[2]
   13389   }
   13390   split(mac1, mac2, "(") #)
   13391   macro = mac2[1]
   13392   prefix = substr(line, 1, index(line, defundef) - 1)
   13393   if (D_is_set[macro]) {
   13394     suffix = P[macro] D[macro]
   13395     while (suffix ~ /[\t ]$/) {
   13396       suffix = substr(suffix, 1, length(suffix) - 1)
   13397     }
   13398     # Preserve the white space surrounding the "#".
   13399     print prefix "define", macro suffix
   13400     next
   13401   } else {
   13402     # Replace #undef with comments.  This is necessary, for example,
   13403     # in the case of _POSIX_SOURCE, which is predefined and required
   13404     # on some systems where configure will not decide to define it.
   13405     if (defundef == "undef") {
   13406       print "/*", prefix defundef, macro, "*/"
   13407       next
   13408     }
   13409   }
   13410 }
   13411 { print }
   13412 _ACAWK
   13413 _ACEOF
   13414 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13415   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13416 fi # test -n "$CONFIG_HEADERS"
   13417 
   13418 
   13419 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13420 shift
   13421 for ac_tag
   13422 do
   13423   case $ac_tag in
   13424   :[FHLC]) ac_mode=$ac_tag; continue;;
   13425   esac
   13426   case $ac_mode$ac_tag in
   13427   :[FHL]*:*);;
   13428   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13429   :[FH]-) ac_tag=-:-;;
   13430   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13431   esac
   13432   ac_save_IFS=$IFS
   13433   IFS=:
   13434   set x $ac_tag
   13435   IFS=$ac_save_IFS
   13436   shift
   13437   ac_file=$1
   13438   shift
   13439 
   13440   case $ac_mode in
   13441   :L) ac_source=$1;;
   13442   :[FH])
   13443     ac_file_inputs=
   13444     for ac_f
   13445     do
   13446       case $ac_f in
   13447       -) ac_f="$ac_tmp/stdin";;
   13448       *) # Look for the file first in the build tree, then in the source tree
   13449 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13450 	 # because $ac_f cannot contain ':'.
   13451 	 test -f "$ac_f" ||
   13452 	   case $ac_f in
   13453 	   [\\/$]*) false;;
   13454 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13455 	   esac ||
   13456 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13457       esac
   13458       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13459       as_fn_append ac_file_inputs " '$ac_f'"
   13460     done
   13461 
   13462     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13463     # use $as_me), people would be surprised to read:
   13464     #    /* config.h.  Generated by config.status.  */
   13465     configure_input='Generated from '`
   13466 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13467 	`' by configure.'
   13468     if test x"$ac_file" != x-; then
   13469       configure_input="$ac_file.  $configure_input"
   13470       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13471 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   13472     fi
   13473     # Neutralize special characters interpreted by sed in replacement strings.
   13474     case $configure_input in #(
   13475     *\&* | *\|* | *\\* )
   13476        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   13477        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13478     *) ac_sed_conf_input=$configure_input;;
   13479     esac
   13480 
   13481     case $ac_tag in
   13482     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13483       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13484     esac
   13485     ;;
   13486   esac
   13487 
   13488   ac_dir=`$as_dirname -- "$ac_file" ||
   13489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13490 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13491 	 X"$ac_file" : 'X\(//\)$' \| \
   13492 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13493 printf '%s\n' X"$ac_file" |
   13494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13495 	    s//\1/
   13496 	    q
   13497 	  }
   13498 	  /^X\(\/\/\)[^/].*/{
   13499 	    s//\1/
   13500 	    q
   13501 	  }
   13502 	  /^X\(\/\/\)$/{
   13503 	    s//\1/
   13504 	    q
   13505 	  }
   13506 	  /^X\(\/\).*/{
   13507 	    s//\1/
   13508 	    q
   13509 	  }
   13510 	  s/.*/./; q'`
   13511   as_dir="$ac_dir"; as_fn_mkdir_p
   13512   ac_builddir=.
   13513 
   13514 case "$ac_dir" in
   13515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13516 *)
   13517   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   13518   # A ".." for each directory in $ac_dir_suffix.
   13519   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13520   case $ac_top_builddir_sub in
   13521   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13522   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13523   esac ;;
   13524 esac
   13525 ac_abs_top_builddir=$ac_pwd
   13526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13527 # for backward compatibility:
   13528 ac_top_builddir=$ac_top_build_prefix
   13529 
   13530 case $srcdir in
   13531   .)  # We are building in place.
   13532     ac_srcdir=.
   13533     ac_top_srcdir=$ac_top_builddir_sub
   13534     ac_abs_top_srcdir=$ac_pwd ;;
   13535   [\\/]* | ?:[\\/]* )  # Absolute name.
   13536     ac_srcdir=$srcdir$ac_dir_suffix;
   13537     ac_top_srcdir=$srcdir
   13538     ac_abs_top_srcdir=$srcdir ;;
   13539   *) # Relative name.
   13540     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13541     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13542     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13543 esac
   13544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13545 
   13546 
   13547   case $ac_mode in
   13548   :F)
   13549   #
   13550   # CONFIG_FILE
   13551   #
   13552 
   13553   case $INSTALL in
   13554   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13555   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13556   esac
   13557   ac_MKDIR_P=$MKDIR_P
   13558   case $MKDIR_P in
   13559   [\\/$]* | ?:[\\/]* ) ;;
   13560   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13561   esac
   13562 _ACEOF
   13563 
   13564 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13565 # If the template does not know about datarootdir, expand it.
   13566 # FIXME: This hack should be removed a few years after 2.60.
   13567 ac_datarootdir_hack=; ac_datarootdir_seen=
   13568 ac_sed_dataroot='
   13569 /datarootdir/ {
   13570   p
   13571   q
   13572 }
   13573 /@datadir@/p
   13574 /@docdir@/p
   13575 /@infodir@/p
   13576 /@localedir@/p
   13577 /@mandir@/p'
   13578 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13579 *datarootdir*) ac_datarootdir_seen=yes;;
   13580 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13581   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13582 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13583 _ACEOF
   13584 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13585   ac_datarootdir_hack='
   13586   s&@datadir@&$datadir&g
   13587   s&@docdir@&$docdir&g
   13588   s&@infodir@&$infodir&g
   13589   s&@localedir@&$localedir&g
   13590   s&@mandir@&$mandir&g
   13591   s&\\\${datarootdir}&$datarootdir&g' ;;
   13592 esac
   13593 _ACEOF
   13594 
   13595 # Neutralize VPATH when '$srcdir' = '.'.
   13596 # Shell code in configure.ac might set extrasub.
   13597 # FIXME: do we really want to maintain this feature?
   13598 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13599 ac_sed_extra="$ac_vpsub
   13600 $extrasub
   13601 _ACEOF
   13602 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13603 :t
   13604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13605 s|@configure_input@|$ac_sed_conf_input|;t t
   13606 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13607 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13608 s&@srcdir@&$ac_srcdir&;t t
   13609 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13610 s&@top_srcdir@&$ac_top_srcdir&;t t
   13611 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13612 s&@builddir@&$ac_builddir&;t t
   13613 s&@abs_builddir@&$ac_abs_builddir&;t t
   13614 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13615 s&@INSTALL@&$ac_INSTALL&;t t
   13616 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13617 $ac_datarootdir_hack
   13618 "
   13619 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13620   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13621 
   13622 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13623   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13624   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13625       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13626   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13627 which seems to be undefined.  Please make sure it is defined" >&5
   13628 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13629 which seems to be undefined.  Please make sure it is defined" >&2;}
   13630 
   13631   rm -f "$ac_tmp/stdin"
   13632   case $ac_file in
   13633   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13634   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13635   esac \
   13636   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13637  ;;
   13638   :H)
   13639   #
   13640   # CONFIG_HEADER
   13641   #
   13642   if test x"$ac_file" != x-; then
   13643     {
   13644       printf '%s\n' "/* $configure_input  */" >&1 \
   13645       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13646     } >"$ac_tmp/config.h" \
   13647       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13648     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13649       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13650 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13651     else
   13652       rm -f "$ac_file"
   13653       mv "$ac_tmp/config.h" "$ac_file" \
   13654 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13655     fi
   13656   else
   13657     printf '%s\n' "/* $configure_input  */" >&1 \
   13658       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13659       || as_fn_error $? "could not create -" "$LINENO" 5
   13660   fi
   13661 # Compute "$ac_file"'s index in $config_headers.
   13662 _am_arg="$ac_file"
   13663 _am_stamp_count=1
   13664 for _am_header in $config_headers :; do
   13665   case $_am_header in
   13666     $_am_arg | $_am_arg:* )
   13667       break ;;
   13668     * )
   13669       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13670   esac
   13671 done
   13672 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13673 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13674 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13675 	 X"$_am_arg" : 'X\(//\)$' \| \
   13676 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13677 printf '%s\n' X"$_am_arg" |
   13678     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13679 	    s//\1/
   13680 	    q
   13681 	  }
   13682 	  /^X\(\/\/\)[^/].*/{
   13683 	    s//\1/
   13684 	    q
   13685 	  }
   13686 	  /^X\(\/\/\)$/{
   13687 	    s//\1/
   13688 	    q
   13689 	  }
   13690 	  /^X\(\/\).*/{
   13691 	    s//\1/
   13692 	    q
   13693 	  }
   13694 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13695  ;;
   13696 
   13697   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13698 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13699  ;;
   13700   esac
   13701 
   13702 
   13703   case $ac_file$ac_mode in
   13704     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13705   # Older Autoconf quotes --file arguments for eval, but not when files
   13706   # are listed without --file.  Let's play safe and only enable the eval
   13707   # if we detect the quoting.
   13708   # TODO: see whether this extra hack can be removed once we start
   13709   # requiring Autoconf 2.70 or later.
   13710   case $CONFIG_FILES in #(
   13711   *\'*) :
   13712     eval set x "$CONFIG_FILES" ;; #(
   13713   *) :
   13714     set x $CONFIG_FILES ;; #(
   13715   *) :
   13716      ;;
   13717 esac
   13718   shift
   13719   # Used to flag and report bootstrapping failures.
   13720   am_rc=0
   13721   for am_mf
   13722   do
   13723     # Strip MF so we end up with the name of the file.
   13724     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13725     # Check whether this is an Automake generated Makefile which includes
   13726     # dependency-tracking related rules and includes.
   13727     # Grep'ing the whole file directly is not great: AIX grep has a line
   13728     # limit of 2048, but all sed's we know have understand at least 4000.
   13729     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13730       || continue
   13731     am_dirpart=`$as_dirname -- "$am_mf" ||
   13732 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13733 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13734 	 X"$am_mf" : 'X\(//\)$' \| \
   13735 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13736 printf '%s\n' X"$am_mf" |
   13737     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13738 	    s//\1/
   13739 	    q
   13740 	  }
   13741 	  /^X\(\/\/\)[^/].*/{
   13742 	    s//\1/
   13743 	    q
   13744 	  }
   13745 	  /^X\(\/\/\)$/{
   13746 	    s//\1/
   13747 	    q
   13748 	  }
   13749 	  /^X\(\/\).*/{
   13750 	    s//\1/
   13751 	    q
   13752 	  }
   13753 	  s/.*/./; q'`
   13754     am_filepart=`$as_basename -- "$am_mf" ||
   13755 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13756 	 X"$am_mf" : 'X\(//\)$' \| \
   13757 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13758 printf '%s\n' X/"$am_mf" |
   13759     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13760 	    s//\1/
   13761 	    q
   13762 	  }
   13763 	  /^X\/\(\/\/\)$/{
   13764 	    s//\1/
   13765 	    q
   13766 	  }
   13767 	  /^X\/\(\/\).*/{
   13768 	    s//\1/
   13769 	    q
   13770 	  }
   13771 	  s/.*/./; q'`
   13772     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13773       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13774         | $MAKE -f - am--depfiles" >&5
   13775    (cd "$am_dirpart" \
   13776       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13777         | $MAKE -f - am--depfiles) >&5 2>&5
   13778    ac_status=$?
   13779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13780    (exit $ac_status); } || am_rc=$?
   13781   done
   13782   if test $am_rc -ne 0; then
   13783     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13784 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13785 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13786     for automatic dependency tracking.  If GNU make was not used, consider
   13787     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13788     necessary).  You can also try re-running configure with the
   13789     '--disable-dependency-tracking' option to at least be able to build
   13790     the package (albeit without support for automatic dependency tracking).
   13791 See 'config.log' for more details" "$LINENO" 5; }
   13792   fi
   13793   { am_dirpart=; unset am_dirpart;}
   13794   { am_filepart=; unset am_filepart;}
   13795   { am_mf=; unset am_mf;}
   13796   { am_rc=; unset am_rc;}
   13797   rm -f conftest-deps.mk
   13798 }
   13799  ;;
   13800 
   13801   esac
   13802 done # for ac_tag
   13803 
   13804 
   13805 as_fn_exit 0
   13806 _ACEOF
   13807 ac_clean_CONFIG_STATUS=
   13808 
   13809 test $ac_write_fail = 0 ||
   13810   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13811 
   13812 
   13813 # configure is writing to config.log, and then calls config.status.
   13814 # config.status does its own redirection, appending to config.log.
   13815 # Unfortunately, on DOS this fails, as config.log is still kept open
   13816 # by configure, so config.status won't be able to write to it; its
   13817 # output is simply discarded.  So we exec the FD to /dev/null,
   13818 # effectively closing config.log, so it can be properly (re)opened and
   13819 # appended to by config.status.  When coming back to configure, we
   13820 # need to make the FD available again.
   13821 if test "$no_create" != yes; then
   13822   ac_cs_success=:
   13823   case $CONFIG_STATUS in #(
   13824   -*) :
   13825     ac_no_opts=-- ;; #(
   13826   *) :
   13827     ac_no_opts= ;;
   13828 esac
   13829   ac_config_status_args=
   13830   test "$silent" = yes &&
   13831     ac_config_status_args="$ac_config_status_args --quiet"
   13832   exec 5>/dev/null
   13833   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13834     ac_cs_success=false
   13835   exec 5>>config.log
   13836   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13837   # would make configure fail if this is the last instruction.
   13838   $ac_cs_success || as_fn_exit 1
   13839 fi
   13840 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13841   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13842 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13843 fi
   13844 
   13845 
   13846