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 xwininfo 1.1.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwininfo/-/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/xwininfo/-/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='xwininfo'
    591 PACKAGE_TARNAME='xwininfo'
    592 PACKAGE_VERSION='1.1.7'
    593 PACKAGE_STRING='xwininfo 1.1.7'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xwininfo/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 ac_subst_vars='am__EXEEXT_FALSE
    631 am__EXEEXT_TRUE
    632 LTLIBOBJS
    633 XLIB_LIBS
    634 XLIB_CFLAGS
    635 XWININFO_LIBS
    636 XWININFO_CFLAGS
    637 LIBOBJS
    638 MAN_SUBSTS
    639 XORG_MAN_PAGE
    640 ADMIN_MAN_DIR
    641 DRIVER_MAN_DIR
    642 MISC_MAN_DIR
    643 FILE_MAN_DIR
    644 LIB_MAN_DIR
    645 APP_MAN_DIR
    646 ADMIN_MAN_SUFFIX
    647 DRIVER_MAN_SUFFIX
    648 MISC_MAN_SUFFIX
    649 FILE_MAN_SUFFIX
    650 LIB_MAN_SUFFIX
    651 APP_MAN_SUFFIX
    652 SED
    653 INSTALL_CMD
    654 PKG_CONFIG_LIBDIR
    655 PKG_CONFIG_PATH
    656 PKG_CONFIG
    657 CHANGELOG_CMD
    658 STRICT_CFLAGS
    659 CWARNFLAGS
    660 BASE_CFLAGS
    661 LTLIBICONV
    662 LIBICONV
    663 CPP
    664 host_os
    665 host_vendor
    666 host_cpu
    667 host
    668 build_os
    669 build_vendor
    670 build_cpu
    671 build
    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 with_gnu_ld
    766 enable_rpath
    767 with_libiconv_prefix
    768 enable_selective_werror
    769 enable_strict_compilation
    770 with_xcb_icccm
    771 with_xcb_errors
    772 '
    773       ac_precious_vars='build_alias
    774 host_alias
    775 target_alias
    776 CC
    777 CFLAGS
    778 LDFLAGS
    779 LIBS
    780 CPPFLAGS
    781 CPP
    782 PKG_CONFIG
    783 PKG_CONFIG_PATH
    784 PKG_CONFIG_LIBDIR
    785 XWININFO_CFLAGS
    786 XWININFO_LIBS
    787 XLIB_CFLAGS
    788 XLIB_LIBS'
    789 
    790 
    791 # Initialize some variables set by options.
    792 ac_init_help=
    793 ac_init_version=false
    794 ac_unrecognized_opts=
    795 ac_unrecognized_sep=
    796 # The variables have the same names as the options, with
    797 # dashes changed to underlines.
    798 cache_file=/dev/null
    799 exec_prefix=NONE
    800 no_create=
    801 no_recursion=
    802 prefix=NONE
    803 program_prefix=NONE
    804 program_suffix=NONE
    805 program_transform_name=s,x,x,
    806 silent=
    807 site=
    808 srcdir=
    809 verbose=
    810 x_includes=NONE
    811 x_libraries=NONE
    812 
    813 # Installation directory options.
    814 # These are left unexpanded so users can "make install exec_prefix=/foo"
    815 # and all the variables that are supposed to be based on exec_prefix
    816 # by default will actually change.
    817 # Use braces instead of parens because sh, perl, etc. also accept them.
    818 # (The list follows the same order as the GNU Coding Standards.)
    819 bindir='${exec_prefix}/bin'
    820 sbindir='${exec_prefix}/sbin'
    821 libexecdir='${exec_prefix}/libexec'
    822 datarootdir='${prefix}/share'
    823 datadir='${datarootdir}'
    824 sysconfdir='${prefix}/etc'
    825 sharedstatedir='${prefix}/com'
    826 localstatedir='${prefix}/var'
    827 runstatedir='${localstatedir}/run'
    828 includedir='${prefix}/include'
    829 oldincludedir='/usr/include'
    830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    831 infodir='${datarootdir}/info'
    832 htmldir='${docdir}'
    833 dvidir='${docdir}'
    834 pdfdir='${docdir}'
    835 psdir='${docdir}'
    836 libdir='${exec_prefix}/lib'
    837 localedir='${datarootdir}/locale'
    838 mandir='${datarootdir}/man'
    839 
    840 ac_prev=
    841 ac_dashdash=
    842 for ac_option
    843 do
    844   # If the previous option needs an argument, assign it.
    845   if test -n "$ac_prev"; then
    846     eval $ac_prev=\$ac_option
    847     ac_prev=
    848     continue
    849   fi
    850 
    851   case $ac_option in
    852   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    853   *=)   ac_optarg= ;;
    854   *)    ac_optarg=yes ;;
    855   esac
    856 
    857   case $ac_dashdash$ac_option in
    858   --)
    859     ac_dashdash=yes ;;
    860 
    861   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    862     ac_prev=bindir ;;
    863   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    864     bindir=$ac_optarg ;;
    865 
    866   -build | --build | --buil | --bui | --bu)
    867     ac_prev=build_alias ;;
    868   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    869     build_alias=$ac_optarg ;;
    870 
    871   -cache-file | --cache-file | --cache-fil | --cache-fi \
    872   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    873     ac_prev=cache_file ;;
    874   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    875   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    876     cache_file=$ac_optarg ;;
    877 
    878   --config-cache | -C)
    879     cache_file=config.cache ;;
    880 
    881   -datadir | --datadir | --datadi | --datad)
    882     ac_prev=datadir ;;
    883   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    884     datadir=$ac_optarg ;;
    885 
    886   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    887   | --dataroo | --dataro | --datar)
    888     ac_prev=datarootdir ;;
    889   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    890   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    891     datarootdir=$ac_optarg ;;
    892 
    893   -disable-* | --disable-*)
    894     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    895     # Reject names that are not valid shell variable names.
    896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    897       as_fn_error $? "invalid feature name: '$ac_useropt'"
    898     ac_useropt_orig=$ac_useropt
    899     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    900     case $ac_user_opts in
    901       *"
    902 "enable_$ac_useropt"
    903 "*) ;;
    904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    905 	 ac_unrecognized_sep=', ';;
    906     esac
    907     eval enable_$ac_useropt=no ;;
    908 
    909   -docdir | --docdir | --docdi | --doc | --do)
    910     ac_prev=docdir ;;
    911   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    912     docdir=$ac_optarg ;;
    913 
    914   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    915     ac_prev=dvidir ;;
    916   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    917     dvidir=$ac_optarg ;;
    918 
    919   -enable-* | --enable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error $? "invalid feature name: '$ac_useropt'"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=\$ac_optarg ;;
    934 
    935   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    936   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    937   | --exec | --exe | --ex)
    938     ac_prev=exec_prefix ;;
    939   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    940   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    941   | --exec=* | --exe=* | --ex=*)
    942     exec_prefix=$ac_optarg ;;
    943 
    944   -gas | --gas | --ga | --g)
    945     # Obsolete; use --with-gas.
    946     with_gas=yes ;;
    947 
    948   -help | --help | --hel | --he | -h)
    949     ac_init_help=long ;;
    950   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    951     ac_init_help=recursive ;;
    952   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    953     ac_init_help=short ;;
    954 
    955   -host | --host | --hos | --ho)
    956     ac_prev=host_alias ;;
    957   -host=* | --host=* | --hos=* | --ho=*)
    958     host_alias=$ac_optarg ;;
    959 
    960   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    961     ac_prev=htmldir ;;
    962   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    963   | --ht=*)
    964     htmldir=$ac_optarg ;;
    965 
    966   -includedir | --includedir | --includedi | --included | --include \
    967   | --includ | --inclu | --incl | --inc)
    968     ac_prev=includedir ;;
    969   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    970   | --includ=* | --inclu=* | --incl=* | --inc=*)
    971     includedir=$ac_optarg ;;
    972 
    973   -infodir | --infodir | --infodi | --infod | --info | --inf)
    974     ac_prev=infodir ;;
    975   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    976     infodir=$ac_optarg ;;
    977 
    978   -libdir | --libdir | --libdi | --libd)
    979     ac_prev=libdir ;;
    980   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    981     libdir=$ac_optarg ;;
    982 
    983   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    984   | --libexe | --libex | --libe)
    985     ac_prev=libexecdir ;;
    986   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    987   | --libexe=* | --libex=* | --libe=*)
    988     libexecdir=$ac_optarg ;;
    989 
    990   -localedir | --localedir | --localedi | --localed | --locale)
    991     ac_prev=localedir ;;
    992   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    993     localedir=$ac_optarg ;;
    994 
    995   -localstatedir | --localstatedir | --localstatedi | --localstated \
    996   | --localstate | --localstat | --localsta | --localst | --locals)
    997     ac_prev=localstatedir ;;
    998   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    999   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1000     localstatedir=$ac_optarg ;;
   1001 
   1002   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1003     ac_prev=mandir ;;
   1004   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1005     mandir=$ac_optarg ;;
   1006 
   1007   -nfp | --nfp | --nf)
   1008     # Obsolete; use --without-fp.
   1009     with_fp=no ;;
   1010 
   1011   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1012   | --no-cr | --no-c | -n)
   1013     no_create=yes ;;
   1014 
   1015   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1016   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1017     no_recursion=yes ;;
   1018 
   1019   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1020   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1021   | --oldin | --oldi | --old | --ol | --o)
   1022     ac_prev=oldincludedir ;;
   1023   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1024   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1025   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1026     oldincludedir=$ac_optarg ;;
   1027 
   1028   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1029     ac_prev=prefix ;;
   1030   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1031     prefix=$ac_optarg ;;
   1032 
   1033   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1034   | --program-pre | --program-pr | --program-p)
   1035     ac_prev=program_prefix ;;
   1036   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1037   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1038     program_prefix=$ac_optarg ;;
   1039 
   1040   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1041   | --program-suf | --program-su | --program-s)
   1042     ac_prev=program_suffix ;;
   1043   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1044   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1045     program_suffix=$ac_optarg ;;
   1046 
   1047   -program-transform-name | --program-transform-name \
   1048   | --program-transform-nam | --program-transform-na \
   1049   | --program-transform-n | --program-transform- \
   1050   | --program-transform | --program-transfor \
   1051   | --program-transfo | --program-transf \
   1052   | --program-trans | --program-tran \
   1053   | --progr-tra | --program-tr | --program-t)
   1054     ac_prev=program_transform_name ;;
   1055   -program-transform-name=* | --program-transform-name=* \
   1056   | --program-transform-nam=* | --program-transform-na=* \
   1057   | --program-transform-n=* | --program-transform-=* \
   1058   | --program-transform=* | --program-transfor=* \
   1059   | --program-transfo=* | --program-transf=* \
   1060   | --program-trans=* | --program-tran=* \
   1061   | --progr-tra=* | --program-tr=* | --program-t=*)
   1062     program_transform_name=$ac_optarg ;;
   1063 
   1064   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1065     ac_prev=pdfdir ;;
   1066   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1067     pdfdir=$ac_optarg ;;
   1068 
   1069   -psdir | --psdir | --psdi | --psd | --ps)
   1070     ac_prev=psdir ;;
   1071   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1072     psdir=$ac_optarg ;;
   1073 
   1074   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1075   | -silent | --silent | --silen | --sile | --sil)
   1076     silent=yes ;;
   1077 
   1078   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1079   | --runstate | --runstat | --runsta | --runst | --runs \
   1080   | --run | --ru | --r)
   1081     ac_prev=runstatedir ;;
   1082   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1083   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1084   | --run=* | --ru=* | --r=*)
   1085     runstatedir=$ac_optarg ;;
   1086 
   1087   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1088     ac_prev=sbindir ;;
   1089   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1090   | --sbi=* | --sb=*)
   1091     sbindir=$ac_optarg ;;
   1092 
   1093   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1094   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1095   | --sharedst | --shareds | --shared | --share | --shar \
   1096   | --sha | --sh)
   1097     ac_prev=sharedstatedir ;;
   1098   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1099   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1100   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1101   | --sha=* | --sh=*)
   1102     sharedstatedir=$ac_optarg ;;
   1103 
   1104   -site | --site | --sit)
   1105     ac_prev=site ;;
   1106   -site=* | --site=* | --sit=*)
   1107     site=$ac_optarg ;;
   1108 
   1109   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1110     ac_prev=srcdir ;;
   1111   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1112     srcdir=$ac_optarg ;;
   1113 
   1114   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1115   | --syscon | --sysco | --sysc | --sys | --sy)
   1116     ac_prev=sysconfdir ;;
   1117   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1118   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1119     sysconfdir=$ac_optarg ;;
   1120 
   1121   -target | --target | --targe | --targ | --tar | --ta | --t)
   1122     ac_prev=target_alias ;;
   1123   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1124     target_alias=$ac_optarg ;;
   1125 
   1126   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1127     verbose=yes ;;
   1128 
   1129   -version | --version | --versio | --versi | --vers | -V)
   1130     ac_init_version=: ;;
   1131 
   1132   -with-* | --with-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       as_fn_error $? "invalid package name: '$ac_useropt'"
   1137     ac_useropt_orig=$ac_useropt
   1138     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1139     case $ac_user_opts in
   1140       *"
   1141 "with_$ac_useropt"
   1142 "*) ;;
   1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1144 	 ac_unrecognized_sep=', ';;
   1145     esac
   1146     eval with_$ac_useropt=\$ac_optarg ;;
   1147 
   1148   -without-* | --without-*)
   1149     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1150     # Reject names that are not valid shell variable names.
   1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1152       as_fn_error $? "invalid package name: '$ac_useropt'"
   1153     ac_useropt_orig=$ac_useropt
   1154     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1155     case $ac_user_opts in
   1156       *"
   1157 "with_$ac_useropt"
   1158 "*) ;;
   1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1160 	 ac_unrecognized_sep=', ';;
   1161     esac
   1162     eval with_$ac_useropt=no ;;
   1163 
   1164   --x)
   1165     # Obsolete; use --with-x.
   1166     with_x=yes ;;
   1167 
   1168   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1169   | --x-incl | --x-inc | --x-in | --x-i)
   1170     ac_prev=x_includes ;;
   1171   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1172   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1173     x_includes=$ac_optarg ;;
   1174 
   1175   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1176   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1177     ac_prev=x_libraries ;;
   1178   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1179   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1180     x_libraries=$ac_optarg ;;
   1181 
   1182   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1183 Try '$0 --help' for more information"
   1184     ;;
   1185 
   1186   *=*)
   1187     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1188     # Reject names that are not valid shell variable names.
   1189     case $ac_envvar in #(
   1190       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1191       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1192     esac
   1193     eval $ac_envvar=\$ac_optarg
   1194     export $ac_envvar ;;
   1195 
   1196   *)
   1197     # FIXME: should be removed in autoconf 3.0.
   1198     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1199     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1200       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1201     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1202     ;;
   1203 
   1204   esac
   1205 done
   1206 
   1207 if test -n "$ac_prev"; then
   1208   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1209   as_fn_error $? "missing argument to $ac_option"
   1210 fi
   1211 
   1212 if test -n "$ac_unrecognized_opts"; then
   1213   case $enable_option_checking in
   1214     no) ;;
   1215     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1216     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1217   esac
   1218 fi
   1219 
   1220 # Check all directory arguments for consistency.
   1221 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1222 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1223 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1224 		libdir localedir mandir runstatedir
   1225 do
   1226   eval ac_val=\$$ac_var
   1227   # Remove trailing slashes.
   1228   case $ac_val in
   1229     */ )
   1230       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1231       eval $ac_var=\$ac_val;;
   1232   esac
   1233   # Be sure to have absolute directory names.
   1234   case $ac_val in
   1235     [\\/$]* | ?:[\\/]* )  continue;;
   1236     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1237   esac
   1238   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1239 done
   1240 
   1241 # There might be people who depend on the old broken behavior: '$host'
   1242 # used to hold the argument of --host etc.
   1243 # FIXME: To remove some day.
   1244 build=$build_alias
   1245 host=$host_alias
   1246 target=$target_alias
   1247 
   1248 # FIXME: To remove some day.
   1249 if test "x$host_alias" != x; then
   1250   if test "x$build_alias" = x; then
   1251     cross_compiling=maybe
   1252   elif test "x$build_alias" != "x$host_alias"; then
   1253     cross_compiling=yes
   1254   fi
   1255 fi
   1256 
   1257 ac_tool_prefix=
   1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1259 
   1260 test "$silent" = yes && exec 6>/dev/null
   1261 
   1262 
   1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1264 ac_ls_di=`ls -di .` &&
   1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1266   as_fn_error $? "working directory cannot be determined"
   1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1268   as_fn_error $? "pwd does not report name of working directory"
   1269 
   1270 
   1271 # Find the source files, if location was not specified.
   1272 if test -z "$srcdir"; then
   1273   ac_srcdir_defaulted=yes
   1274   # Try the directory containing this script, then the parent directory.
   1275   ac_confdir=`$as_dirname -- "$as_myself" ||
   1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1277 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1278 	 X"$as_myself" : 'X\(//\)$' \| \
   1279 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1280 printf '%s\n' X"$as_myself" |
   1281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  /^X\(\/\/\)[^/].*/{
   1286 	    s//\1/
   1287 	    q
   1288 	  }
   1289 	  /^X\(\/\/\)$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\).*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  s/.*/./; q'`
   1298   srcdir=$ac_confdir
   1299   if test ! -r "$srcdir/$ac_unique_file"; then
   1300     srcdir=..
   1301   fi
   1302 else
   1303   ac_srcdir_defaulted=no
   1304 fi
   1305 if test ! -r "$srcdir/$ac_unique_file"; then
   1306   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1307   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1308 fi
   1309 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1310 ac_abs_confdir=`(
   1311 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1312 	pwd)`
   1313 # When building in place, set srcdir=.
   1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1315   srcdir=.
   1316 fi
   1317 # Remove unnecessary trailing slashes from srcdir.
   1318 # Double slashes in file names in object file debugging info
   1319 # mess up M-x gdb in Emacs.
   1320 case $srcdir in
   1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1322 esac
   1323 for ac_var in $ac_precious_vars; do
   1324   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_env_${ac_var}_value=\$${ac_var}
   1326   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1327   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1328 done
   1329 
   1330 #
   1331 # Report the --help message.
   1332 #
   1333 if test "$ac_init_help" = "long"; then
   1334   # Omit some internal or obsolete options to make the list less imposing.
   1335   # This message is too long to be a string in the A/UX 3.1 sh.
   1336   cat <<_ACEOF
   1337 'configure' configures xwininfo 1.1.7 to adapt to many kinds of systems.
   1338 
   1339 Usage: $0 [OPTION]... [VAR=VALUE]...
   1340 
   1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1342 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1343 
   1344 Defaults for the options are specified in brackets.
   1345 
   1346 Configuration:
   1347   -h, --help              display this help and exit
   1348       --help=short        display options specific to this package
   1349       --help=recursive    display the short help of all the included packages
   1350   -V, --version           display version information and exit
   1351   -q, --quiet, --silent   do not print 'checking ...' messages
   1352       --cache-file=FILE   cache test results in FILE [disabled]
   1353   -C, --config-cache      alias for '--cache-file=config.cache'
   1354   -n, --no-create         do not create output files
   1355       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1356 
   1357 Installation directories:
   1358   --prefix=PREFIX         install architecture-independent files in PREFIX
   1359                           [$ac_default_prefix]
   1360   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1361                           [PREFIX]
   1362 
   1363 By default, 'make install' will install all the files in
   1364 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1365 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1366 for instance '--prefix=\$HOME'.
   1367 
   1368 For better control, use the options below.
   1369 
   1370 Fine tuning of the installation directories:
   1371   --bindir=DIR            user executables [EPREFIX/bin]
   1372   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1373   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1374   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1375   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1376   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1377   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1378   --libdir=DIR            object code libraries [EPREFIX/lib]
   1379   --includedir=DIR        C header files [PREFIX/include]
   1380   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1381   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1382   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1383   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1384   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1385   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1386   --docdir=DIR            documentation root [DATAROOTDIR/doc/xwininfo]
   1387   --htmldir=DIR           html documentation [DOCDIR]
   1388   --dvidir=DIR            dvi documentation [DOCDIR]
   1389   --pdfdir=DIR            pdf documentation [DOCDIR]
   1390   --psdir=DIR             ps documentation [DOCDIR]
   1391 _ACEOF
   1392 
   1393   cat <<\_ACEOF
   1394 
   1395 Program names:
   1396   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1397   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1398   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1399 
   1400 System types:
   1401   --build=BUILD     configure for building on BUILD [guessed]
   1402   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1403 _ACEOF
   1404 fi
   1405 
   1406 if test -n "$ac_init_help"; then
   1407   case $ac_init_help in
   1408      short | recursive ) echo "Configuration of xwininfo 1.1.7:";;
   1409    esac
   1410   cat <<\_ACEOF
   1411 
   1412 Optional Features:
   1413   --disable-option-checking  ignore unrecognized --enable/--with options
   1414   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1415   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1416   --enable-dependency-tracking
   1417                           do not reject slow dependency extractors
   1418   --disable-dependency-tracking
   1419                           speeds up one-time build
   1420   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1421   --disable-silent-rules  verbose build output (undo: "make V=0")
   1422   --disable-rpath         do not hardcode runtime library paths
   1423   --disable-selective-werror
   1424                           Turn off selective compiler errors. (default:
   1425                           enabled)
   1426   --enable-strict-compilation
   1427                           Enable all warnings from compiler and make them
   1428                           errors (default: disabled)
   1429 
   1430 Optional Packages:
   1431   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1432   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1433   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1434   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1435   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1436   --with-xcb-icccm        use xcb-icccm (default: no)
   1437   --with-xcb-errors       use xcb-errors (default: no)
   1438 
   1439 Some influential environment variables:
   1440   CC          C compiler command
   1441   CFLAGS      C compiler flags
   1442   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1443               nonstandard directory <lib dir>
   1444   LIBS        libraries to pass to the linker, e.g. -l<library>
   1445   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1446               you have headers in a nonstandard directory <include dir>
   1447   CPP         C preprocessor
   1448   PKG_CONFIG  path to pkg-config utility
   1449   PKG_CONFIG_PATH
   1450               directories to add to pkg-config's search path
   1451   PKG_CONFIG_LIBDIR
   1452               path overriding pkg-config's built-in search path
   1453   XWININFO_CFLAGS
   1454               C compiler flags for XWININFO, overriding pkg-config
   1455   XWININFO_LIBS
   1456               linker flags for XWININFO, overriding pkg-config
   1457   XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
   1458   XLIB_LIBS   linker flags for XLIB, overriding pkg-config
   1459 
   1460 Use these variables to override the choices made by 'configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwininfo/-/issues>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for configure.gnu first; this name is used for a wrapper for
   1510     # Metaconfig's "Configure" on case-insensitive file systems.
   1511     if test -f "$ac_srcdir/configure.gnu"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1514     elif test -f "$ac_srcdir/configure"; then
   1515       echo &&
   1516       $SHELL "$ac_srcdir/configure" --help=recursive
   1517     else
   1518       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1519     fi || ac_status=$?
   1520     cd "$ac_pwd" || { ac_status=$?; break; }
   1521   done
   1522 fi
   1523 
   1524 test -n "$ac_init_help" && exit $ac_status
   1525 if $ac_init_version; then
   1526   cat <<\_ACEOF
   1527 xwininfo configure 1.1.7
   1528 generated by GNU Autoconf 2.73
   1529 
   1530 Copyright (C) 2026 Free Software Foundation, Inc.
   1531 This configure script is free software; the Free Software Foundation
   1532 gives unlimited permission to copy, distribute and modify it.
   1533 _ACEOF
   1534   exit
   1535 fi
   1536 
   1537 ## ------------------------ ##
   1538 ## Autoconf initialization. ##
   1539 ## ------------------------ ##
   1540 
   1541 # ac_fn_c_try_compile LINENO
   1542 # --------------------------
   1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1544 ac_fn_c_try_compile ()
   1545 {
   1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1547   rm -f conftest.$ac_objext conftest.beam
   1548   if { { ac_try="$ac_compile"
   1549 case "(($ac_try" in
   1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1551   *) ac_try_echo=$ac_try;;
   1552 esac
   1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1554 printf '%s\n' "$ac_try_echo"; } >&5
   1555   (eval "$ac_compile") 2>conftest.err
   1556   ac_status=$?
   1557   if test -s conftest.err; then
   1558     grep -v '^ *+' conftest.err >conftest.er1
   1559     cat conftest.er1 >&5
   1560     mv -f conftest.er1 conftest.err
   1561   fi
   1562   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1563   test $ac_status = 0; } && {
   1564 	 test -z "$ac_c_werror_flag" ||
   1565 	 test ! -s conftest.err
   1566        } && test -s conftest.$ac_objext
   1567 then :
   1568   ac_retval=0
   1569 else case e in #(
   1570   e) printf '%s\n' "$as_me: failed program was:" >&5
   1571 sed 's/^/| /' conftest.$ac_ext >&5
   1572 
   1573 	ac_retval=1 ;;
   1574 esac
   1575 fi
   1576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1577   as_fn_set_status $ac_retval
   1578 
   1579 } # ac_fn_c_try_compile
   1580 
   1581 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1582 # -------------------------------------------------------
   1583 # Tests whether HEADER exists and can be compiled using the include files in
   1584 # INCLUDES, setting the cache variable VAR accordingly.
   1585 ac_fn_c_check_header_compile ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1589 printf %s "checking for $2... " >&6; }
   1590 if eval test \${$3+y}
   1591 then :
   1592   printf %s "(cached) " >&6
   1593 else case e in #(
   1594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1595 /* end confdefs.h.  */
   1596 $4
   1597 #include <$2>
   1598 _ACEOF
   1599 if ac_fn_c_try_compile "$LINENO"
   1600 then :
   1601   eval "$3=yes"
   1602 else case e in #(
   1603   e) eval "$3=no" ;;
   1604 esac
   1605 fi
   1606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1607 esac
   1608 fi
   1609 eval ac_res=\$$3
   1610 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1611 printf '%s\n' "$ac_res" >&6; }
   1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1613 
   1614 } # ac_fn_c_check_header_compile
   1615 
   1616 # ac_fn_c_try_cpp LINENO
   1617 # ----------------------
   1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_cpp ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 printf '%s\n' "$ac_try_echo"; } >&5
   1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } > conftest.i && {
   1638 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        }
   1641 then :
   1642   ac_retval=0
   1643 else case e in #(
   1644   e) printf '%s\n' "$as_me: failed program was:" >&5
   1645 sed 's/^/| /' conftest.$ac_ext >&5
   1646 
   1647     ac_retval=1 ;;
   1648 esac
   1649 fi
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651   as_fn_set_status $ac_retval
   1652 
   1653 } # ac_fn_c_try_cpp
   1654 
   1655 # ac_fn_c_try_link LINENO
   1656 # -----------------------
   1657 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_link ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1662   if { { ac_try="$ac_link"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 printf '%s\n' "$ac_try_echo"; } >&5
   1669   (eval "$ac_link") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } && {
   1678 	 test -z "$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        } && test -s conftest$ac_exeext && {
   1681 	 test "$cross_compiling" = yes ||
   1682 	 test -x conftest$ac_exeext
   1683        }
   1684 then :
   1685   ac_retval=0
   1686 else case e in #(
   1687   e) printf '%s\n' "$as_me: failed program was:" >&5
   1688 sed 's/^/| /' conftest.$ac_ext >&5
   1689 
   1690 	ac_retval=1 ;;
   1691 esac
   1692 fi
   1693   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1694   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1695   # interfere with the next link command; also delete a directory that is
   1696   # left behind by Apple's compiler.  We do this before executing the actions.
   1697   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1699   as_fn_set_status $ac_retval
   1700 
   1701 } # ac_fn_c_try_link
   1702 
   1703 # ac_fn_c_try_run LINENO
   1704 # ----------------------
   1705 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1706 # executables *can* be run.
   1707 ac_fn_c_try_run ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   if { { ac_try="$ac_link"
   1711 case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 printf '%s\n' "$ac_try_echo"; } >&5
   1717   (eval "$ac_link") 2>&5
   1718   ac_status=$?
   1719   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1720   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1721   { { case "(($ac_try" in
   1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1723   *) ac_try_echo=$ac_try;;
   1724 esac
   1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1726 printf '%s\n' "$ac_try_echo"; } >&5
   1727   (eval "$ac_try") 2>&5
   1728   ac_status=$?
   1729   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1730   test $ac_status = 0; }; }
   1731 then :
   1732   ac_retval=0
   1733 else case e in #(
   1734   e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5
   1735        printf '%s\n' "$as_me: failed program was:" >&5
   1736 sed 's/^/| /' conftest.$ac_ext >&5
   1737 
   1738        ac_retval=$ac_status ;;
   1739 esac
   1740 fi
   1741   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1742   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1743   as_fn_set_status $ac_retval
   1744 
   1745 } # ac_fn_c_try_run
   1746 
   1747 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1748 # ------------------------------------------------------------------
   1749 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1750 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1751 ac_fn_check_decl ()
   1752 {
   1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1754   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1755   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1756 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1757 if eval test \${$3+y}
   1758 then :
   1759   printf %s "(cached) " >&6
   1760 else case e in #(
   1761   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1762   eval ac_save_FLAGS=\$$6
   1763   as_fn_append $6 " $5"
   1764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1765 /* end confdefs.h.  */
   1766 $4
   1767 int
   1768 main (void)
   1769 {
   1770 #ifndef $as_decl_name
   1771 #ifdef __cplusplus
   1772   (void) $as_decl_use;
   1773 #else
   1774   (void) $as_decl_name;
   1775 #endif
   1776 #endif
   1777 
   1778   ;
   1779   return 0;
   1780 }
   1781 _ACEOF
   1782 if ac_fn_c_try_compile "$LINENO"
   1783 then :
   1784   eval "$3=yes"
   1785 else case e in #(
   1786   e) eval "$3=no" ;;
   1787 esac
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1790   eval $6=\$ac_save_FLAGS
   1791  ;;
   1792 esac
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 printf '%s\n' "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_check_decl
   1800 
   1801 # ac_fn_c_check_func LINENO FUNC VAR
   1802 # ----------------------------------
   1803 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1804 ac_fn_c_check_func ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1808 printf %s "checking for $2... " >&6; }
   1809 if eval test \${$3+y}
   1810 then :
   1811   printf %s "(cached) " >&6
   1812 else case e in #(
   1813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1814 /* end confdefs.h.  */
   1815 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1817 #define $2 innocuous_$2
   1818 
   1819 /* System header to define __stub macros and hopefully few prototypes,
   1820    which can conflict with char $2 (void); below.  */
   1821 
   1822 #include <limits.h>
   1823 #undef $2
   1824 
   1825 /* Override any GCC internal prototype to avoid an error.
   1826    Use char because int might match the return type of a GCC
   1827    builtin and then its argument prototype would still apply.  */
   1828 #ifdef __cplusplus
   1829 extern "C"
   1830 #endif
   1831 char $2 (void);
   1832 /* The GNU C library defines this for functions which it implements
   1833     to always fail with ENOSYS.  Some functions are actually named
   1834     something starting with __ and the normal name is an alias.  */
   1835 #if defined __stub_$2 || defined __stub___$2
   1836 choke me
   1837 #endif
   1838 
   1839 int
   1840 main (void)
   1841 {
   1842 return $2 ();
   1843   ;
   1844   return 0;
   1845 }
   1846 _ACEOF
   1847 if ac_fn_c_try_link "$LINENO"
   1848 then :
   1849   eval "$3=yes"
   1850 else case e in #(
   1851   e) eval "$3=no" ;;
   1852 esac
   1853 fi
   1854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1855     conftest$ac_exeext conftest.$ac_ext ;;
   1856 esac
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 printf '%s\n' "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_func
   1864 ac_configure_args_raw=
   1865 for ac_arg
   1866 do
   1867   case $ac_arg in
   1868   *\'*)
   1869     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1870   esac
   1871   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1872 done
   1873 
   1874 case $ac_configure_args_raw in
   1875   *$as_nl*)
   1876     ac_safe_unquote= ;;
   1877   *)
   1878     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1879     ac_unsafe_a="$ac_unsafe_z#~"
   1880     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1881     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1882 esac
   1883 
   1884 cat >config.log <<_ACEOF
   1885 This file contains any messages produced by compilers while
   1886 running configure, to aid debugging if configure makes a mistake.
   1887 
   1888 It was created by xwininfo $as_me 1.1.7, which was
   1889 generated by GNU Autoconf 2.73.  Invocation command line was
   1890 
   1891   $ $0$ac_configure_args_raw
   1892 
   1893 _ACEOF
   1894 exec 5>>config.log
   1895 {
   1896 cat <<_ASUNAME
   1897 ## --------- ##
   1898 ## Platform. ##
   1899 ## --------- ##
   1900 
   1901 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1902 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1903 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1904 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1905 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1906 
   1907 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1908 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1909 
   1910 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1911 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1912 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1913 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1914 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1915 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1916 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1917 
   1918 _ASUNAME
   1919 
   1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1921 for as_dir in $PATH
   1922 do
   1923   IFS=$as_save_IFS
   1924   case $as_dir in #(((
   1925     '') as_dir=./ ;;
   1926     */) ;;
   1927     *) as_dir=$as_dir/ ;;
   1928   esac
   1929     printf '%s\n' "PATH: $as_dir"
   1930   done
   1931 IFS=$as_save_IFS
   1932 
   1933 } >&5
   1934 
   1935 cat >&5 <<_ACEOF
   1936 
   1937 
   1938 ## ----------- ##
   1939 ## Core tests. ##
   1940 ## ----------- ##
   1941 
   1942 _ACEOF
   1943 
   1944 
   1945 # Keep a trace of the command line.
   1946 # Strip out --no-create and --no-recursion so they do not pile up.
   1947 # Strip out --silent because we don't want to record it for future runs.
   1948 # Also quote any args containing shell meta-characters.
   1949 # Make two passes to allow for proper duplicate-argument suppression.
   1950 ac_configure_args=
   1951 ac_configure_args0=
   1952 ac_configure_args1=
   1953 ac_must_keep_next=false
   1954 for ac_pass in 1 2
   1955 do
   1956   for ac_arg
   1957   do
   1958     case $ac_arg in
   1959     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1960     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1961     | -silent | --silent | --silen | --sile | --sil)
   1962       continue ;;
   1963     *\'*)
   1964       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1965     esac
   1966     case $ac_pass in
   1967     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1968     2)
   1969       as_fn_append ac_configure_args1 " '$ac_arg'"
   1970       if test $ac_must_keep_next = true; then
   1971 	ac_must_keep_next=false # Got value, back to normal.
   1972       else
   1973 	case $ac_arg in
   1974 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1975 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1976 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1977 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1978 	    case "$ac_configure_args0 " in
   1979 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1980 	    esac
   1981 	    ;;
   1982 	  -* ) ac_must_keep_next=true ;;
   1983 	esac
   1984       fi
   1985       as_fn_append ac_configure_args " '$ac_arg'"
   1986       ;;
   1987     esac
   1988   done
   1989 done
   1990 { ac_configure_args0=; unset ac_configure_args0;}
   1991 { ac_configure_args1=; unset ac_configure_args1;}
   1992 
   1993 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1994 ac_cache_dump ()
   1995 {
   1996   # The following way of writing the cache mishandles newlines in values,
   1997 # but we know of no workaround that is simple, portable, and efficient.
   1998 # So, we kill variables containing newlines.
   1999 # Ultrix sh set writes to stderr and can't be redirected directly,
   2000 # and sets the high bit in the cache file unless we assign to the vars.
   2001 (
   2002   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   2003     eval ac_val=\$$ac_var
   2004     case $ac_val in #(
   2005     *${as_nl}*)
   2006       case $ac_var in #(
   2007       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2008 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2009       esac
   2010       case $ac_var in #(
   2011       _ | IFS | as_nl) ;; #(
   2012       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2013       *) { eval $ac_var=; unset $ac_var;} ;;
   2014       esac ;;
   2015     esac
   2016   done
   2017 
   2018   (set) 2>&1 |
   2019     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   2020     *${as_nl}ac_space=\ *)
   2021       # 'set' does not quote correctly, so add quotes: double-quote
   2022       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2023       sed -n \
   2024 	"s/'/'\\\\''/g;
   2025 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2026       ;; #(
   2027     *)
   2028       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2030       ;;
   2031     esac |
   2032     sort
   2033 )
   2034 }
   2035 
   2036 # Print debugging info to stdout.
   2037 ac_dump_debugging_info ()
   2038 {
   2039   echo
   2040 
   2041   printf '%s\n' "## ---------------- ##
   2042 ## Cache variables. ##
   2043 ## ---------------- ##"
   2044   echo
   2045   ac_cache_dump
   2046   echo
   2047 
   2048   printf '%s\n' "## ----------------- ##
   2049 ## Output variables. ##
   2050 ## ----------------- ##"
   2051   echo
   2052   for ac_var in $ac_subst_vars
   2053   do
   2054     eval ac_val=\$$ac_var
   2055     case $ac_val in
   2056     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2057     esac
   2058     printf '%s\n' "$ac_var='$ac_val'"
   2059   done | sort
   2060   echo
   2061 
   2062   if test -n "$ac_subst_files"; then
   2063     printf '%s\n' "## ------------------- ##
   2064 ## File substitutions. ##
   2065 ## ------------------- ##"
   2066     echo
   2067     for ac_var in $ac_subst_files
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2072       esac
   2073       printf '%s\n' "$ac_var='$ac_val'"
   2074     done | sort
   2075     echo
   2076   fi
   2077 
   2078   if test -s confdefs.h; then
   2079     printf '%s\n' "## ----------- ##
   2080 ## confdefs.h. ##
   2081 ## ----------- ##"
   2082     echo
   2083     cat confdefs.h
   2084     echo
   2085   fi
   2086   test "$ac_signal" != 0 &&
   2087     printf '%s\n' "$as_me: caught signal $ac_signal"
   2088   printf '%s\n' "$as_me: exit $exit_status"
   2089 }
   2090 
   2091 # When interrupted or exit'd, cleanup temporary files, and complete
   2092 # config.log.
   2093 ac_exit_trap ()
   2094 {
   2095   exit_status=
   2096   # Sanitize IFS.
   2097   IFS=" ""	$as_nl"
   2098   # Save into config.log some information that might help in debugging.
   2099   ac_dump_debugging_info >&5
   2100   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2101     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2102     exit $exit_status
   2103 }
   2104 
   2105 trap 'ac_exit_trap $?' 0
   2106 for ac_signal in 1 2 13 15; do
   2107   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2108 done
   2109 ac_signal=0
   2110 
   2111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2112 rm -f -r conftest* confdefs.h
   2113 
   2114 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2115 
   2116 # Predefined preprocessor variables.
   2117 
   2118 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2119 
   2120 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2121 
   2122 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2123 
   2124 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2125 
   2126 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2127 
   2128 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2129 
   2130 
   2131 # Let the site file select an alternate cache file if it wants to.
   2132 # Prefer an explicitly selected file to automatically selected ones.
   2133 if test -n "$CONFIG_SITE"; then
   2134   ac_site_files="$CONFIG_SITE"
   2135 elif test "x$prefix" != xNONE; then
   2136   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2137 else
   2138   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2139 fi
   2140 
   2141 for ac_site_file in $ac_site_files
   2142 do
   2143   case $ac_site_file in #(
   2144   */*) :
   2145      ;; #(
   2146   *) :
   2147     ac_site_file=./$ac_site_file ;;
   2148 esac
   2149   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2150     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2151 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2152     sed 's/^/| /' "$ac_site_file" >&5
   2153     . "$ac_site_file" \
   2154       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2155 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2156 as_fn_error $? "failed to load site script $ac_site_file
   2157 See 'config.log' for more details" "$LINENO" 5; }
   2158   fi
   2159 done
   2160 
   2161 if test -r "$cache_file"; then
   2162   # Some versions of bash will fail to source /dev/null (special files
   2163   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2164   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2165     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2166 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2167     case $cache_file in
   2168       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2169       *)                      . "./$cache_file";;
   2170     esac
   2171   fi
   2172 else
   2173   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2174 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2175   >$cache_file
   2176 fi
   2177 
   2178 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2179 # Test code for whether the C compiler supports C23 (global declarations)
   2180 ac_c_conftest_c23_globals='
   2181 /* Does the compiler advertise conformance to C17 or earlier?
   2182    Although GCC 14 does not do that, even with -std=gnu23,
   2183    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2184 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2185 # error "Compiler advertises conformance to C17 or earlier"
   2186 #endif
   2187 
   2188 // Check alignas.
   2189 char alignas (double) c23_aligned_as_double;
   2190 char alignas (0) c23_no_special_alignment;
   2191 extern char c23_aligned_as_int;
   2192 char alignas (0) alignas (int) c23_aligned_as_int;
   2193 
   2194 // Check alignof.
   2195 enum
   2196 {
   2197   c23_int_alignment = alignof (int),
   2198   c23_int_array_alignment = alignof (int[100]),
   2199   c23_char_alignment = alignof (char)
   2200 };
   2201 static_assert (0 < -alignof (int), "alignof is signed");
   2202 
   2203 int function_with_unnamed_parameter (int) { return 0; }
   2204 
   2205 void c23_noreturn ();
   2206 
   2207 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2208    The parens pacify GCC 15.  */
   2209 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2210 
   2211 bool check_that_bool_works = true | false | !nullptr;
   2212 #if !true
   2213 # error "true does not work in #if"
   2214 #endif
   2215 #if false
   2216 #elifdef __STDC_VERSION__
   2217 #else
   2218 # error "#elifdef does not work"
   2219 #endif
   2220 
   2221 #ifndef __has_c_attribute
   2222 # error "__has_c_attribute not defined"
   2223 #endif
   2224 
   2225 #ifndef __has_include
   2226 # error "__has_include not defined"
   2227 #endif
   2228 
   2229 #define LPAREN() (
   2230 #define FORTY_TWO(x) 42
   2231 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2232 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2233 
   2234 static_assert (0b101010 == 42);
   2235 static_assert (0B101010 == 42);
   2236 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2237 static_assert (0.500'\''000'\''000 == 0.5);
   2238 
   2239 enum unsignedish : unsigned int { uione = 1 };
   2240 static_assert (0 < -uione);
   2241 
   2242 #include <stddef.h>
   2243 constexpr nullptr_t null_pointer = nullptr;
   2244 
   2245 static typeof (1 + 1L) two () { return 2; }
   2246 static long int three () { return 3; }
   2247 '
   2248 
   2249 # Test code for whether the C compiler supports C23 (body of main).
   2250 ac_c_conftest_c23_main='
   2251   {
   2252     label_before_declaration:
   2253       int arr[10] = {};
   2254       if (arr[0])
   2255         goto label_before_declaration;
   2256       if (!arr[0])
   2257         goto label_at_end_of_block;
   2258     label_at_end_of_block:
   2259   }
   2260   ok |= !null_pointer;
   2261   ok |= two != three;
   2262 '
   2263 
   2264 # Test code for whether the C compiler supports C23 (complete).
   2265 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2266 
   2267 int
   2268 main (int, char **)
   2269 {
   2270   int ok = 0;
   2271   ${ac_c_conftest_c23_main}
   2272   return ok;
   2273 }
   2274 "
   2275 
   2276 # Test code for whether the C compiler supports C89 (global declarations)
   2277 ac_c_conftest_c89_globals='
   2278 /* Do not test the value of __STDC__, because some compilers define it to 0
   2279    or do not define it, while otherwise adequately conforming.  */
   2280 
   2281 #include <stddef.h>
   2282 #include <stdarg.h>
   2283 struct stat;
   2284 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2285 struct buf { int x; };
   2286 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2287 static char *e (char **p, int i)
   2288 {
   2289   return p[i];
   2290 }
   2291 static char *f (char * (*g) (char **, int), char **p, ...)
   2292 {
   2293   char *s;
   2294   va_list v;
   2295   va_start (v,p);
   2296   s = g (p, va_arg (v,int));
   2297   va_end (v);
   2298   return s;
   2299 }
   2300 
   2301 /* C89 style stringification. */
   2302 #define noexpand_stringify(a) #a
   2303 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2304 
   2305 /* C89 style token pasting.  Exercises some of the corner cases that
   2306    e.g. old MSVC gets wrong, but not very hard. */
   2307 #define noexpand_concat(a,b) a##b
   2308 #define expand_concat(a,b) noexpand_concat(a,b)
   2309 extern int vA;
   2310 extern int vbee;
   2311 #define aye A
   2312 #define bee B
   2313 int *pvA = &expand_concat(v,aye);
   2314 int *pvbee = &noexpand_concat(v,bee);
   2315 
   2316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2317    function prototypes and stuff, but not \xHH hex character constants.
   2318    These do not provoke an error unfortunately, instead are silently treated
   2319    as an "x".  The following induces an error, until -std is added to get
   2320    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2321    array size at least.  It is necessary to write \x00 == 0 to get something
   2322    that is true only with -std.  */
   2323 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2324 
   2325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2326    inside strings and character constants.  */
   2327 #define FOO(x) '\''x'\''
   2328 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2329 
   2330 int test (int i, double x);
   2331 struct s1 {int (*f) (int a);};
   2332 struct s2 {int (*f) (double a);};
   2333 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2334                int, int);'
   2335 
   2336 # Test code for whether the C compiler supports C89 (body of main).
   2337 ac_c_conftest_c89_main='
   2338 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2339 '
   2340 
   2341 # Test code for whether the C compiler supports C99 (global declarations)
   2342 ac_c_conftest_c99_globals='
   2343 /* Does the compiler advertise C99 conformance? */
   2344 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2345 # error "Compiler does not advertise C99 conformance"
   2346 #endif
   2347 
   2348 // See if C++-style comments work.
   2349 
   2350 #include <stdbool.h>
   2351 extern int puts (const char *);
   2352 extern int printf (const char *, ...);
   2353 extern int dprintf (int, const char *, ...);
   2354 extern void *malloc (size_t);
   2355 extern void free (void *);
   2356 
   2357 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2358 // dprintf is used instead of fprintf to avoid needing to declare
   2359 // FILE and stderr, and "aND" is used instead of "and" to work around
   2360 // GCC bug 40564 which is irrelevant here.
   2361 #define debug(...) dprintf (2, __VA_ARGS__)
   2362 #define showlist(...) puts (#__VA_ARGS__)
   2363 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2364 static void
   2365 test_varargs_macros (void)
   2366 {
   2367   int x = 1234;
   2368   int y = 5678;
   2369   debug ("Flag");
   2370   debug ("X = %d\n", x);
   2371   showlist (The first, second, aND third items.);
   2372   report (x>y, "x is %d but y is %d", x, y);
   2373 }
   2374 
   2375 // Check long long types.
   2376 #define BIG64 18446744073709551615ull
   2377 #define BIG32 4294967295ul
   2378 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2379 #if !BIG_OK
   2380   #error "your preprocessor is broken"
   2381 #endif
   2382 #if BIG_OK
   2383 #else
   2384   #error "your preprocessor is broken"
   2385 #endif
   2386 static long long int bignum = -9223372036854775807LL;
   2387 static unsigned long long int ubignum = BIG64;
   2388 
   2389 struct incomplete_array
   2390 {
   2391   int datasize;
   2392   double data[];
   2393 };
   2394 
   2395 struct named_init {
   2396   int number;
   2397   const wchar_t *name;
   2398   double average;
   2399 };
   2400 
   2401 typedef const char *ccp;
   2402 
   2403 static inline int
   2404 test_restrict (ccp restrict text)
   2405 {
   2406   // Iterate through items via the restricted pointer.
   2407   // Also check for declarations in for loops.
   2408   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2409     continue;
   2410   return 0;
   2411 }
   2412 
   2413 // Check varargs and va_copy.
   2414 static bool
   2415 test_varargs (const char *format, ...)
   2416 {
   2417   va_list args;
   2418   va_start (args, format);
   2419   va_list args_copy;
   2420   va_copy (args_copy, args);
   2421 
   2422   const char *str = "";
   2423   int number = 0;
   2424   float fnumber = 0;
   2425 
   2426   while (*format)
   2427     {
   2428       switch (*format++)
   2429 	{
   2430 	case '\''s'\'': // string
   2431 	  str = va_arg (args_copy, const char *);
   2432 	  break;
   2433 	case '\''d'\'': // int
   2434 	  number = va_arg (args_copy, int);
   2435 	  break;
   2436 	case '\''f'\'': // float
   2437 	  fnumber = va_arg (args_copy, double);
   2438 	  break;
   2439 	default:
   2440 	  break;
   2441 	}
   2442     }
   2443   va_end (args_copy);
   2444   va_end (args);
   2445 
   2446   return *str && number && fnumber;
   2447 }
   2448 '
   2449 
   2450 # Test code for whether the C compiler supports C99 (body of main).
   2451 ac_c_conftest_c99_main='
   2452   // Check bool.
   2453   _Bool success = false;
   2454   success |= (argc != 0);
   2455 
   2456   // Check restrict.
   2457   if (test_restrict ("String literal") == 0)
   2458     success = true;
   2459   const char *restrict newvar = "Another string";
   2460 
   2461   // Check varargs.
   2462   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2463   test_varargs_macros ();
   2464 
   2465   // Check flexible array members.
   2466   static struct incomplete_array *volatile incomplete_array_pointer;
   2467   struct incomplete_array *ia = incomplete_array_pointer;
   2468   ia->datasize = 10;
   2469   for (int i = 0; i < ia->datasize; ++i)
   2470     ia->data[i] = i * 1.234;
   2471   // Work around memory leak warnings.
   2472   free (ia);
   2473 
   2474   // Check named initializers.
   2475   struct named_init ni = {
   2476     .number = 34,
   2477     .name = L"Test wide string",
   2478     .average = 543.34343,
   2479   };
   2480 
   2481   ni.number = 58;
   2482 
   2483   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2484   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2485 
   2486   // work around unused variable warnings
   2487   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2488 	 || ni.number != 58);
   2489 '
   2490 
   2491 # Test code for whether the C compiler supports C11 (global declarations)
   2492 ac_c_conftest_c11_globals='
   2493 /* Does the compiler advertise C11 conformance? */
   2494 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2495 # error "Compiler does not advertise C11 conformance"
   2496 #endif
   2497 
   2498 // Check _Alignas.
   2499 char _Alignas (double) aligned_as_double;
   2500 char _Alignas (0) no_special_alignment;
   2501 extern char aligned_as_int;
   2502 char _Alignas (0) _Alignas (int) aligned_as_int;
   2503 
   2504 // Check _Alignof.
   2505 enum
   2506 {
   2507   int_alignment = _Alignof (int),
   2508   int_array_alignment = _Alignof (int[100]),
   2509   char_alignment = _Alignof (char)
   2510 };
   2511 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2512 
   2513 // Check _Noreturn.
   2514 int _Noreturn does_not_return (void) { for (;;) continue; }
   2515 
   2516 // Check _Static_assert.
   2517 struct test_static_assert
   2518 {
   2519   int x;
   2520   _Static_assert (sizeof (int) <= sizeof (long int),
   2521                   "_Static_assert does not work in struct");
   2522   long int y;
   2523 };
   2524 
   2525 // Check UTF-8 literals.
   2526 #define u8 syntax error!
   2527 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2528 
   2529 // Check duplicate typedefs.
   2530 typedef long *long_ptr;
   2531 typedef long int *long_ptr;
   2532 typedef long_ptr long_ptr;
   2533 
   2534 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2535 struct anonymous
   2536 {
   2537   union {
   2538     struct { int i; int j; };
   2539     struct { int k; long int l; } w;
   2540   };
   2541   int m;
   2542 } v1;
   2543 '
   2544 
   2545 # Test code for whether the C compiler supports C11 (body of main).
   2546 ac_c_conftest_c11_main='
   2547   _Static_assert ((offsetof (struct anonymous, i)
   2548 		   == offsetof (struct anonymous, w.k)),
   2549 		  "Anonymous union alignment botch");
   2550   v1.i = 2;
   2551   v1.w.k = 5;
   2552   ok |= v1.i != 5;
   2553 '
   2554 
   2555 # Test code for whether the C compiler supports C11 (complete).
   2556 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2557 ${ac_c_conftest_c99_globals}
   2558 ${ac_c_conftest_c11_globals}
   2559 
   2560 int
   2561 main (int argc, char **argv)
   2562 {
   2563   int ok = 0;
   2564   ${ac_c_conftest_c89_main}
   2565   ${ac_c_conftest_c99_main}
   2566   ${ac_c_conftest_c11_main}
   2567   return ok;
   2568 }
   2569 "
   2570 
   2571 # Test code for whether the C compiler supports C99 (complete).
   2572 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2573 ${ac_c_conftest_c99_globals}
   2574 
   2575 int
   2576 main (int argc, char **argv)
   2577 {
   2578   int ok = 0;
   2579   ${ac_c_conftest_c89_main}
   2580   ${ac_c_conftest_c99_main}
   2581   return ok;
   2582 }
   2583 "
   2584 
   2585 # Test code for whether the C compiler supports C89 (complete).
   2586 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2587 
   2588 int
   2589 main (int argc, char **argv)
   2590 {
   2591   int ok = 0;
   2592   ${ac_c_conftest_c89_main}
   2593   return ok;
   2594 }
   2595 "
   2596 
   2597 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2598 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2599 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2600 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2601 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2602 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2603 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2604 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2605 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2606 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2607 
   2608 # Auxiliary files required by this configure script.
   2609 ac_aux_files="config.rpath config.guess config.sub missing install-sh compile"
   2610 
   2611 # Locations in which to look for auxiliary files.
   2612 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2613 
   2614 # Search for a directory containing all of the required auxiliary files,
   2615 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2616 # If we don't find one directory that contains all the files we need,
   2617 # we report the set of missing files from the *first* directory in
   2618 # $ac_aux_dir_candidates and give up.
   2619 ac_missing_aux_files=""
   2620 ac_first_candidate=:
   2621 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2623 as_found=false
   2624 for as_dir in $ac_aux_dir_candidates
   2625 do
   2626   IFS=$as_save_IFS
   2627   case $as_dir in #(((
   2628     '') as_dir=./ ;;
   2629     */) ;;
   2630     *) as_dir=$as_dir/ ;;
   2631   esac
   2632   as_found=:
   2633 
   2634   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2635   ac_aux_dir_found=yes
   2636   ac_install_sh=
   2637   for ac_aux in $ac_aux_files
   2638   do
   2639     # As a special case, if "install-sh" is required, that requirement
   2640     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2641     # and $ac_install_sh is set appropriately for whichever one is found.
   2642     if test x"$ac_aux" = x"install-sh"
   2643     then
   2644       if test -f "${as_dir}install-sh"; then
   2645         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2646         ac_install_sh="${as_dir}install-sh -c"
   2647       elif test -f "${as_dir}install.sh"; then
   2648         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2649         ac_install_sh="${as_dir}install.sh -c"
   2650       elif test -f "${as_dir}shtool"; then
   2651         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2652         ac_install_sh="${as_dir}shtool install -c"
   2653       else
   2654         ac_aux_dir_found=no
   2655         if $ac_first_candidate; then
   2656           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2657         else
   2658           break
   2659         fi
   2660       fi
   2661     else
   2662       if test -f "${as_dir}${ac_aux}"; then
   2663         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2664       else
   2665         ac_aux_dir_found=no
   2666         if $ac_first_candidate; then
   2667           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2668         else
   2669           break
   2670         fi
   2671       fi
   2672     fi
   2673   done
   2674   if test "$ac_aux_dir_found" = yes; then
   2675     ac_aux_dir="$as_dir"
   2676     break
   2677   fi
   2678   ac_first_candidate=false
   2679 
   2680   as_found=false
   2681 done
   2682 IFS=$as_save_IFS
   2683 if $as_found
   2684 then :
   2685 
   2686 else case e in #(
   2687   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2688 esac
   2689 fi
   2690 
   2691 
   2692 # These three variables are undocumented and unsupported,
   2693 # and are intended to be withdrawn in a future Autoconf release.
   2694 # They can cause serious problems if a builder's source tree is in a directory
   2695 # whose full name contains unusual characters.
   2696 if test -f "${ac_aux_dir}config.guess"; then
   2697   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2698 fi
   2699 if test -f "${ac_aux_dir}config.sub"; then
   2700   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2701 fi
   2702 if test -f "$ac_aux_dir/configure"; then
   2703   ac_configure="$SHELL ${ac_aux_dir}configure"
   2704 fi
   2705 
   2706 # Check that the precious variables saved in the cache have kept the same
   2707 # value.
   2708 ac_cache_corrupted=false
   2709 for ac_var in $ac_precious_vars; do
   2710   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2711   eval ac_new_set=\$ac_env_${ac_var}_set
   2712   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2713   eval ac_new_val=\$ac_env_${ac_var}_value
   2714   case $ac_old_set,$ac_new_set in
   2715     set,)
   2716       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2717 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2718       ac_cache_corrupted=: ;;
   2719     ,set)
   2720       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2721 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2722       ac_cache_corrupted=: ;;
   2723     ,);;
   2724     *)
   2725       if test "x$ac_old_val" != "x$ac_new_val"; then
   2726 	# differences in whitespace do not lead to failure.
   2727 	ac_old_val_w=
   2728 	for ac_val in x $ac_old_val; do
   2729 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2730 	done
   2731 	ac_new_val_w=
   2732 	for ac_val in x $ac_new_val; do
   2733 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2734 	done
   2735 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2736 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2737 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2738 	  ac_cache_corrupted=:
   2739 	else
   2740 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2741 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2742 	  eval $ac_var=\$ac_old_val
   2743 	fi
   2744 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2745 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2746 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2747 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2748       fi;;
   2749   esac
   2750   # Pass precious variables to config.status.
   2751   if test "$ac_new_set" = set; then
   2752     case $ac_new_val in
   2753     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2754     *) ac_arg=$ac_var=$ac_new_val ;;
   2755     esac
   2756     case " $ac_configure_args " in
   2757       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2758       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2759     esac
   2760   fi
   2761 done
   2762 if $ac_cache_corrupted; then
   2763   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2764 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2765   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2766 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2767   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2768 	    and start over" "$LINENO" 5
   2769 fi
   2770 ## -------------------- ##
   2771 ## Main body of script. ##
   2772 ## -------------------- ##
   2773 
   2774 
   2775 # Determine whether it's possible to make 'echo' print without a newline.
   2776 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2777 # for compatibility with existing Makefiles.
   2778 ECHO_C= ECHO_N= ECHO_T=
   2779 case `echo -n x` in #(((((
   2780 -n*)
   2781   case `echo 'xy\c'` in
   2782   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2783   xy)  ECHO_C='\c';;
   2784   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2785        ECHO_T='	';;
   2786   esac;;
   2787 *)
   2788   ECHO_N='-n';;
   2789 esac
   2790 
   2791 ac_ext=c
   2792 ac_cpp='$CPP $CPPFLAGS'
   2793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2796 
   2797 
   2798 
   2799 ac_config_headers="$ac_config_headers config.h"
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 
   2809 
   2810 
   2811 
   2812 
   2813 
   2814 
   2815 # Expand $ac_aux_dir to an absolute path.
   2816 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2817 
   2818 ac_ext=c
   2819 ac_cpp='$CPP $CPPFLAGS'
   2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2823 if test -n "$ac_tool_prefix"; then
   2824   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2825 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2826 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2827 printf %s "checking for $ac_word... " >&6; }
   2828 if test ${ac_cv_prog_CC+y}
   2829 then :
   2830   printf %s "(cached) " >&6
   2831 else case e in #(
   2832   e) if test -n "$CC"; then
   2833   ac_cv_prog_CC="$CC" # Let the user override the test.
   2834 else
   2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2836 for as_dir in $PATH
   2837 do
   2838   IFS=$as_save_IFS
   2839   case $as_dir in #(((
   2840     '') as_dir=./ ;;
   2841     */) ;;
   2842     *) as_dir=$as_dir/ ;;
   2843   esac
   2844     for ac_exec_ext in '' $ac_executable_extensions; do
   2845   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2846     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2847     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2848     break 2
   2849   fi
   2850 done
   2851   done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi ;;
   2855 esac
   2856 fi
   2857 CC=$ac_cv_prog_CC
   2858 if test -n "$CC"; then
   2859   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2860 printf '%s\n' "$CC" >&6; }
   2861 else
   2862   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2863 printf '%s\n' "no" >&6; }
   2864 fi
   2865 
   2866 
   2867 fi
   2868 if test -z "$ac_cv_prog_CC"; then
   2869   ac_ct_CC=$CC
   2870   # Extract the first word of "gcc", so it can be a program name with args.
   2871 set dummy gcc; ac_word=$2
   2872 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2873 printf %s "checking for $ac_word... " >&6; }
   2874 if test ${ac_cv_prog_ac_ct_CC+y}
   2875 then :
   2876   printf %s "(cached) " >&6
   2877 else case e in #(
   2878   e) if test -n "$ac_ct_CC"; then
   2879   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2880 else
   2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2882 for as_dir in $PATH
   2883 do
   2884   IFS=$as_save_IFS
   2885   case $as_dir in #(((
   2886     '') as_dir=./ ;;
   2887     */) ;;
   2888     *) as_dir=$as_dir/ ;;
   2889   esac
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_ac_ct_CC="gcc"
   2893     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi ;;
   2901 esac
   2902 fi
   2903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2904 if test -n "$ac_ct_CC"; then
   2905   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2906 printf '%s\n' "$ac_ct_CC" >&6; }
   2907 else
   2908   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 printf '%s\n' "no" >&6; }
   2910 fi
   2911 
   2912   if test "x$ac_ct_CC" = x; then
   2913     CC=""
   2914   else
   2915     case $cross_compiling:$ac_tool_warned in
   2916 yes:)
   2917 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2918 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2919 ac_tool_warned=yes ;;
   2920 esac
   2921     CC=$ac_ct_CC
   2922   fi
   2923 else
   2924   CC="$ac_cv_prog_CC"
   2925 fi
   2926 
   2927 if test -z "$CC"; then
   2928           if test -n "$ac_tool_prefix"; then
   2929     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2930 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 printf %s "checking for $ac_word... " >&6; }
   2933 if test ${ac_cv_prog_CC+y}
   2934 then :
   2935   printf %s "(cached) " >&6
   2936 else case e in #(
   2937   e) if test -n "$CC"; then
   2938   ac_cv_prog_CC="$CC" # Let the user override the test.
   2939 else
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   case $as_dir in #(((
   2945     '') as_dir=./ ;;
   2946     */) ;;
   2947     *) as_dir=$as_dir/ ;;
   2948   esac
   2949     for ac_exec_ext in '' $ac_executable_extensions; do
   2950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2951     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2952     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2953     break 2
   2954   fi
   2955 done
   2956   done
   2957 IFS=$as_save_IFS
   2958 
   2959 fi ;;
   2960 esac
   2961 fi
   2962 CC=$ac_cv_prog_CC
   2963 if test -n "$CC"; then
   2964   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2965 printf '%s\n' "$CC" >&6; }
   2966 else
   2967   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2968 printf '%s\n' "no" >&6; }
   2969 fi
   2970 
   2971 
   2972   fi
   2973 fi
   2974 if test -z "$CC"; then
   2975   # Extract the first word of "cc", so it can be a program name with args.
   2976 set dummy cc; ac_word=$2
   2977 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2978 printf %s "checking for $ac_word... " >&6; }
   2979 if test ${ac_cv_prog_CC+y}
   2980 then :
   2981   printf %s "(cached) " >&6
   2982 else case e in #(
   2983   e) if test -n "$CC"; then
   2984   ac_cv_prog_CC="$CC" # Let the user override the test.
   2985 else
   2986   ac_prog_rejected=no
   2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2988 for as_dir in $PATH
   2989 do
   2990   IFS=$as_save_IFS
   2991   case $as_dir in #(((
   2992     '') as_dir=./ ;;
   2993     */) ;;
   2994     *) as_dir=$as_dir/ ;;
   2995   esac
   2996     for ac_exec_ext in '' $ac_executable_extensions; do
   2997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2998     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2999        ac_prog_rejected=yes
   3000        continue
   3001      fi
   3002     ac_cv_prog_CC="cc"
   3003     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3004     break 2
   3005   fi
   3006 done
   3007   done
   3008 IFS=$as_save_IFS
   3009 
   3010 if test $ac_prog_rejected = yes; then
   3011   # We found a bogon in the path, so make sure we never use it.
   3012   set dummy $ac_cv_prog_CC
   3013   shift
   3014   if test $# != 0; then
   3015     # We chose a different compiler from the bogus one.
   3016     # However, it has the same basename, so the bogon will be chosen
   3017     # first if we set CC to just the basename; use the full file name.
   3018     shift
   3019     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3020   fi
   3021 fi
   3022 fi ;;
   3023 esac
   3024 fi
   3025 CC=$ac_cv_prog_CC
   3026 if test -n "$CC"; then
   3027   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3028 printf '%s\n' "$CC" >&6; }
   3029 else
   3030   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 printf '%s\n' "no" >&6; }
   3032 fi
   3033 
   3034 
   3035 fi
   3036 if test -z "$CC"; then
   3037   if test -n "$ac_tool_prefix"; then
   3038   for ac_prog in cl.exe
   3039   do
   3040     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3042 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3043 printf %s "checking for $ac_word... " >&6; }
   3044 if test ${ac_cv_prog_CC+y}
   3045 then :
   3046   printf %s "(cached) " >&6
   3047 else case e in #(
   3048   e) if test -n "$CC"; then
   3049   ac_cv_prog_CC="$CC" # Let the user override the test.
   3050 else
   3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3052 for as_dir in $PATH
   3053 do
   3054   IFS=$as_save_IFS
   3055   case $as_dir in #(((
   3056     '') as_dir=./ ;;
   3057     */) ;;
   3058     *) as_dir=$as_dir/ ;;
   3059   esac
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3062     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3063     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi ;;
   3071 esac
   3072 fi
   3073 CC=$ac_cv_prog_CC
   3074 if test -n "$CC"; then
   3075   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3076 printf '%s\n' "$CC" >&6; }
   3077 else
   3078   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3079 printf '%s\n' "no" >&6; }
   3080 fi
   3081 
   3082 
   3083     test -n "$CC" && break
   3084   done
   3085 fi
   3086 if test -z "$CC"; then
   3087   ac_ct_CC=$CC
   3088   for ac_prog in cl.exe
   3089 do
   3090   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3091 set dummy $ac_prog; ac_word=$2
   3092 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3093 printf %s "checking for $ac_word... " >&6; }
   3094 if test ${ac_cv_prog_ac_ct_CC+y}
   3095 then :
   3096   printf %s "(cached) " >&6
   3097 else case e in #(
   3098   e) if test -n "$ac_ct_CC"; then
   3099   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3100 else
   3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3102 for as_dir in $PATH
   3103 do
   3104   IFS=$as_save_IFS
   3105   case $as_dir in #(((
   3106     '') as_dir=./ ;;
   3107     */) ;;
   3108     *) as_dir=$as_dir/ ;;
   3109   esac
   3110     for ac_exec_ext in '' $ac_executable_extensions; do
   3111   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3112     ac_cv_prog_ac_ct_CC="$ac_prog"
   3113     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3114     break 2
   3115   fi
   3116 done
   3117   done
   3118 IFS=$as_save_IFS
   3119 
   3120 fi ;;
   3121 esac
   3122 fi
   3123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3124 if test -n "$ac_ct_CC"; then
   3125   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3126 printf '%s\n' "$ac_ct_CC" >&6; }
   3127 else
   3128   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3129 printf '%s\n' "no" >&6; }
   3130 fi
   3131 
   3132 
   3133   test -n "$ac_ct_CC" && break
   3134 done
   3135 
   3136   if test "x$ac_ct_CC" = x; then
   3137     CC=""
   3138   else
   3139     case $cross_compiling:$ac_tool_warned in
   3140 yes:)
   3141 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3142 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3143 ac_tool_warned=yes ;;
   3144 esac
   3145     CC=$ac_ct_CC
   3146   fi
   3147 fi
   3148 
   3149 fi
   3150 if test -z "$CC"; then
   3151   if test -n "$ac_tool_prefix"; then
   3152   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3153 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3154 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3155 printf %s "checking for $ac_word... " >&6; }
   3156 if test ${ac_cv_prog_CC+y}
   3157 then :
   3158   printf %s "(cached) " >&6
   3159 else case e in #(
   3160   e) if test -n "$CC"; then
   3161   ac_cv_prog_CC="$CC" # Let the user override the test.
   3162 else
   3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3164 for as_dir in $PATH
   3165 do
   3166   IFS=$as_save_IFS
   3167   case $as_dir in #(((
   3168     '') as_dir=./ ;;
   3169     */) ;;
   3170     *) as_dir=$as_dir/ ;;
   3171   esac
   3172     for ac_exec_ext in '' $ac_executable_extensions; do
   3173   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3174     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3175     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3176     break 2
   3177   fi
   3178 done
   3179   done
   3180 IFS=$as_save_IFS
   3181 
   3182 fi ;;
   3183 esac
   3184 fi
   3185 CC=$ac_cv_prog_CC
   3186 if test -n "$CC"; then
   3187   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3188 printf '%s\n' "$CC" >&6; }
   3189 else
   3190   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3191 printf '%s\n' "no" >&6; }
   3192 fi
   3193 
   3194 
   3195 fi
   3196 if test -z "$ac_cv_prog_CC"; then
   3197   ac_ct_CC=$CC
   3198   # Extract the first word of "clang", so it can be a program name with args.
   3199 set dummy clang; ac_word=$2
   3200 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3201 printf %s "checking for $ac_word... " >&6; }
   3202 if test ${ac_cv_prog_ac_ct_CC+y}
   3203 then :
   3204   printf %s "(cached) " >&6
   3205 else case e in #(
   3206   e) if test -n "$ac_ct_CC"; then
   3207   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3208 else
   3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3210 for as_dir in $PATH
   3211 do
   3212   IFS=$as_save_IFS
   3213   case $as_dir in #(((
   3214     '') as_dir=./ ;;
   3215     */) ;;
   3216     *) as_dir=$as_dir/ ;;
   3217   esac
   3218     for ac_exec_ext in '' $ac_executable_extensions; do
   3219   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3220     ac_cv_prog_ac_ct_CC="clang"
   3221     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3222     break 2
   3223   fi
   3224 done
   3225   done
   3226 IFS=$as_save_IFS
   3227 
   3228 fi ;;
   3229 esac
   3230 fi
   3231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3232 if test -n "$ac_ct_CC"; then
   3233   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3234 printf '%s\n' "$ac_ct_CC" >&6; }
   3235 else
   3236   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3237 printf '%s\n' "no" >&6; }
   3238 fi
   3239 
   3240   if test "x$ac_ct_CC" = x; then
   3241     CC=""
   3242   else
   3243     case $cross_compiling:$ac_tool_warned in
   3244 yes:)
   3245 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3246 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3247 ac_tool_warned=yes ;;
   3248 esac
   3249     CC=$ac_ct_CC
   3250   fi
   3251 else
   3252   CC="$ac_cv_prog_CC"
   3253 fi
   3254 
   3255 fi
   3256 
   3257 
   3258 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3259 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3260 as_fn_error $? "no acceptable C compiler found in \$PATH
   3261 See 'config.log' for more details" "$LINENO" 5; }
   3262 
   3263 # Provide some information about the compiler.
   3264 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3265 set X $ac_compile
   3266 ac_compiler=$2
   3267 for ac_option in --version -v -V -qversion -version; do
   3268   { { ac_try="$ac_compiler $ac_option >&5"
   3269 case "(($ac_try" in
   3270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3271   *) ac_try_echo=$ac_try;;
   3272 esac
   3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3274 printf '%s\n' "$ac_try_echo"; } >&5
   3275   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3276   ac_status=$?
   3277   if test -s conftest.err; then
   3278     sed '10a\
   3279 ... rest of stderr output deleted ...
   3280          10q' conftest.err >conftest.er1
   3281     cat conftest.er1 >&5
   3282   fi
   3283   rm -f conftest.er1 conftest.err
   3284   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3285   test $ac_status = 0; }
   3286 done
   3287 
   3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3289 /* end confdefs.h.  */
   3290 
   3291 int
   3292 main (void)
   3293 {
   3294 
   3295   ;
   3296   return 0;
   3297 }
   3298 _ACEOF
   3299 ac_clean_files_save=$ac_clean_files
   3300 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3301 # Try to create an executable without -o first, disregard a.out.
   3302 # It will help us diagnose broken compilers, and finding out an intuition
   3303 # of exeext.
   3304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3305 printf %s "checking whether the C compiler works... " >&6; }
   3306 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3307 
   3308 # The possible output files:
   3309 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3310 
   3311 ac_rmfiles=
   3312 for ac_file in $ac_files
   3313 do
   3314   case $ac_file in
   3315     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3316     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3317   esac
   3318 done
   3319 rm -f $ac_rmfiles
   3320 
   3321 if { { ac_try="$ac_link_default"
   3322 case "(($ac_try" in
   3323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3324   *) ac_try_echo=$ac_try;;
   3325 esac
   3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3327 printf '%s\n' "$ac_try_echo"; } >&5
   3328   (eval "$ac_link_default") 2>&5
   3329   ac_status=$?
   3330   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3331   test $ac_status = 0; }
   3332 then :
   3333   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3334 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3335 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3336 # so that the user can short-circuit this test for compilers unknown to
   3337 # Autoconf.
   3338 for ac_file in $ac_files ''
   3339 do
   3340   test -f "$ac_file" || continue
   3341   case $ac_file in
   3342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3343 	;;
   3344     [ab].out )
   3345 	# We found the default executable, but exeext='' is most
   3346 	# certainly right.
   3347 	break;;
   3348     *.* )
   3349 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3350 	then :; else
   3351 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3352 	fi
   3353 	# We set ac_cv_exeext here because the later test for it is not
   3354 	# safe: cross compilers may not add the suffix if given an '-o'
   3355 	# argument, so we may need to know it at that point already.
   3356 	# Even if this section looks crufty: it has the advantage of
   3357 	# actually working.
   3358 	break;;
   3359     * )
   3360 	break;;
   3361   esac
   3362 done
   3363 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3364 
   3365 else case e in #(
   3366   e) ac_file='' ;;
   3367 esac
   3368 fi
   3369 if test -z "$ac_file"
   3370 then :
   3371   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3372 printf '%s\n' "no" >&6; }
   3373 printf '%s\n' "$as_me: failed program was:" >&5
   3374 sed 's/^/| /' conftest.$ac_ext >&5
   3375 
   3376 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3377 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3378 as_fn_error 77 "C compiler cannot create executables
   3379 See 'config.log' for more details" "$LINENO" 5; }
   3380 else case e in #(
   3381   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3382 printf '%s\n' "yes" >&6; } ;;
   3383 esac
   3384 fi
   3385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3386 printf %s "checking for C compiler default output file name... " >&6; }
   3387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3388 printf '%s\n' "$ac_file" >&6; }
   3389 ac_exeext=$ac_cv_exeext
   3390 
   3391 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3392 ac_clean_files=$ac_clean_files_save
   3393 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3394 printf %s "checking for suffix of executables... " >&6; }
   3395 if { { ac_try="$ac_link"
   3396 case "(($ac_try" in
   3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3398   *) ac_try_echo=$ac_try;;
   3399 esac
   3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3401 printf '%s\n' "$ac_try_echo"; } >&5
   3402   (eval "$ac_link") 2>&5
   3403   ac_status=$?
   3404   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3405   test $ac_status = 0; }
   3406 then :
   3407   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3408 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3409 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3410 # 'rm'.
   3411 for ac_file in conftest.exe conftest conftest.*; do
   3412   test -f "$ac_file" || continue
   3413   case $ac_file in
   3414     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3415     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3416 	  break;;
   3417     * ) break;;
   3418   esac
   3419 done
   3420 else case e in #(
   3421   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3422 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3423 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3424 See 'config.log' for more details" "$LINENO" 5; } ;;
   3425 esac
   3426 fi
   3427 rm -f conftest conftest$ac_cv_exeext
   3428 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3429 printf '%s\n' "$ac_cv_exeext" >&6; }
   3430 
   3431 rm -f conftest.$ac_ext
   3432 EXEEXT=$ac_cv_exeext
   3433 ac_exeext=$EXEEXT
   3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 #include <stdio.h>
   3437 int
   3438 main (void)
   3439 {
   3440 FILE *f = fopen ("conftest.out", "w");
   3441  if (!f)
   3442   return 1;
   3443  return ferror (f) || fclose (f) != 0;
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 ac_clean_files="$ac_clean_files conftest.out"
   3450 # Check that the compiler produces executables we can run.  If not, either
   3451 # the compiler is broken, or we cross compile.
   3452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3453 printf %s "checking whether we are cross compiling... " >&6; }
   3454 if test "$cross_compiling" != yes; then
   3455   { { ac_try="$ac_link"
   3456 case "(($ac_try" in
   3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3458   *) ac_try_echo=$ac_try;;
   3459 esac
   3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3461 printf '%s\n' "$ac_try_echo"; } >&5
   3462   (eval "$ac_link") 2>&5
   3463   ac_status=$?
   3464   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3465   test $ac_status = 0; }
   3466   if { ac_try='./conftest$ac_cv_exeext'
   3467   { { case "(($ac_try" in
   3468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3469   *) ac_try_echo=$ac_try;;
   3470 esac
   3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3472 printf '%s\n' "$ac_try_echo"; } >&5
   3473   (eval "$ac_try") 2>&5
   3474   ac_status=$?
   3475   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3476   test $ac_status = 0; }; }; then
   3477     cross_compiling=no
   3478   else
   3479     if test "$cross_compiling" = maybe; then
   3480 	cross_compiling=yes
   3481     else
   3482 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3483 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3484 as_fn_error 77 "cannot run C compiled programs.
   3485 If you meant to cross compile, use '--host'.
   3486 See 'config.log' for more details" "$LINENO" 5; }
   3487     fi
   3488   fi
   3489 fi
   3490 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3491 printf '%s\n' "$cross_compiling" >&6; }
   3492 
   3493 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3494   conftest.o conftest.obj conftest.out
   3495 ac_clean_files=$ac_clean_files_save
   3496 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3497 printf %s "checking for suffix of object files... " >&6; }
   3498 if test ${ac_cv_objext+y}
   3499 then :
   3500   printf %s "(cached) " >&6
   3501 else case e in #(
   3502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3503 /* end confdefs.h.  */
   3504 
   3505 int
   3506 main (void)
   3507 {
   3508 
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 rm -f conftest.o conftest.obj
   3514 if { { ac_try="$ac_compile"
   3515 case "(($ac_try" in
   3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3517   *) ac_try_echo=$ac_try;;
   3518 esac
   3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3520 printf '%s\n' "$ac_try_echo"; } >&5
   3521   (eval "$ac_compile") 2>&5
   3522   ac_status=$?
   3523   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3524   test $ac_status = 0; }
   3525 then :
   3526   for ac_file in conftest.o conftest.obj conftest.*; do
   3527   test -f "$ac_file" || continue;
   3528   case $ac_file in
   3529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3530     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3531        break;;
   3532   esac
   3533 done
   3534 else case e in #(
   3535   e) printf '%s\n' "$as_me: failed program was:" >&5
   3536 sed 's/^/| /' conftest.$ac_ext >&5
   3537 
   3538 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3539 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3540 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3541 See 'config.log' for more details" "$LINENO" 5; } ;;
   3542 esac
   3543 fi
   3544 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3545 esac
   3546 fi
   3547 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3548 printf '%s\n' "$ac_cv_objext" >&6; }
   3549 OBJEXT=$ac_cv_objext
   3550 ac_objext=$OBJEXT
   3551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3552 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3553 if test ${ac_cv_c_compiler_gnu+y}
   3554 then :
   3555   printf %s "(cached) " >&6
   3556 else case e in #(
   3557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3558 /* end confdefs.h.  */
   3559 
   3560 int
   3561 main (void)
   3562 {
   3563 #ifndef __GNUC__
   3564        choke me
   3565 #endif
   3566 
   3567   ;
   3568   return 0;
   3569 }
   3570 _ACEOF
   3571 if ac_fn_c_try_compile "$LINENO"
   3572 then :
   3573   ac_compiler_gnu=yes
   3574 else case e in #(
   3575   e) ac_compiler_gnu=no ;;
   3576 esac
   3577 fi
   3578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3579 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3580  ;;
   3581 esac
   3582 fi
   3583 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3584 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3586 
   3587 if test $ac_compiler_gnu = yes; then
   3588   GCC=yes
   3589 else
   3590   GCC=
   3591 fi
   3592 ac_test_CFLAGS=${CFLAGS+y}
   3593 ac_save_CFLAGS=$CFLAGS
   3594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3595 printf %s "checking whether $CC accepts -g... " >&6; }
   3596 if test ${ac_cv_prog_cc_g+y}
   3597 then :
   3598   printf %s "(cached) " >&6
   3599 else case e in #(
   3600   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3601    ac_c_werror_flag=yes
   3602    ac_cv_prog_cc_g=no
   3603    CFLAGS="-g"
   3604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3605 /* end confdefs.h.  */
   3606 
   3607 int
   3608 main (void)
   3609 {
   3610 
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 if ac_fn_c_try_compile "$LINENO"
   3616 then :
   3617   ac_cv_prog_cc_g=yes
   3618 else case e in #(
   3619   e) CFLAGS=""
   3620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3621 /* end confdefs.h.  */
   3622 
   3623 int
   3624 main (void)
   3625 {
   3626 
   3627   ;
   3628   return 0;
   3629 }
   3630 _ACEOF
   3631 if ac_fn_c_try_compile "$LINENO"
   3632 then :
   3633 
   3634 else case e in #(
   3635   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3636 	 CFLAGS="-g"
   3637 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3638 /* end confdefs.h.  */
   3639 
   3640 int
   3641 main (void)
   3642 {
   3643 
   3644   ;
   3645   return 0;
   3646 }
   3647 _ACEOF
   3648 if ac_fn_c_try_compile "$LINENO"
   3649 then :
   3650   ac_cv_prog_cc_g=yes
   3651 fi
   3652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3653 esac
   3654 fi
   3655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3656 esac
   3657 fi
   3658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3659    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3660 esac
   3661 fi
   3662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3663 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   3664 if test $ac_test_CFLAGS; then
   3665   CFLAGS=$ac_save_CFLAGS
   3666 elif test $ac_cv_prog_cc_g = yes; then
   3667   if test "$GCC" = yes; then
   3668     CFLAGS="-g -O2"
   3669   else
   3670     CFLAGS="-g"
   3671   fi
   3672 else
   3673   if test "$GCC" = yes; then
   3674     CFLAGS="-O2"
   3675   else
   3676     CFLAGS=
   3677   fi
   3678 fi
   3679 ac_prog_cc_stdc=no
   3680 if test x$ac_prog_cc_stdc = xno
   3681 then :
   3682   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   3683 printf %s "checking for $CC option to enable C23 features... " >&6; }
   3684 if test ${ac_cv_prog_cc_c23+y}
   3685 then :
   3686   printf %s "(cached) " >&6
   3687 else case e in #(
   3688   e) ac_cv_prog_cc_c23=no
   3689 ac_save_CC=$CC
   3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3691 /* end confdefs.h.  */
   3692 $ac_c_conftest_c23_program
   3693 _ACEOF
   3694 for ac_arg in '' -std=gnu23
   3695 do
   3696   CC="$ac_save_CC $ac_arg"
   3697   if ac_fn_c_try_compile "$LINENO"
   3698 then :
   3699   ac_cv_prog_cc_c23=$ac_arg
   3700 fi
   3701 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3702   test "x$ac_cv_prog_cc_c23" != "xno" && break
   3703 done
   3704 rm -f conftest.$ac_ext
   3705 CC=$ac_save_CC ;;
   3706 esac
   3707 fi
   3708 
   3709 if test "x$ac_cv_prog_cc_c23" = xno
   3710 then :
   3711   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3712 printf '%s\n' "unsupported" >&6; }
   3713 else case e in #(
   3714   e) if test "x$ac_cv_prog_cc_c23" = x
   3715 then :
   3716   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3717 printf '%s\n' "none needed" >&6; }
   3718 else case e in #(
   3719   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   3720 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   3721      CC="$CC $ac_cv_prog_cc_c23" ;;
   3722 esac
   3723 fi
   3724   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   3725   ac_prog_cc_stdc=c23 ;;
   3726 esac
   3727 fi
   3728 fi
   3729 if test x$ac_prog_cc_stdc = xno
   3730 then :
   3731   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3732 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3733 if test ${ac_cv_prog_cc_c11+y}
   3734 then :
   3735   printf %s "(cached) " >&6
   3736 else case e in #(
   3737   e) ac_cv_prog_cc_c11=no
   3738 ac_save_CC=$CC
   3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 $ac_c_conftest_c11_program
   3742 _ACEOF
   3743 for ac_arg in '' -std=gnu11 -std:c11
   3744 do
   3745   CC="$ac_save_CC $ac_arg"
   3746   if ac_fn_c_try_compile "$LINENO"
   3747 then :
   3748   ac_cv_prog_cc_c11=$ac_arg
   3749 fi
   3750 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3751   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3752 done
   3753 rm -f conftest.$ac_ext
   3754 CC=$ac_save_CC ;;
   3755 esac
   3756 fi
   3757 
   3758 if test "x$ac_cv_prog_cc_c11" = xno
   3759 then :
   3760   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3761 printf '%s\n' "unsupported" >&6; }
   3762 else case e in #(
   3763   e) if test "x$ac_cv_prog_cc_c11" = x
   3764 then :
   3765   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3766 printf '%s\n' "none needed" >&6; }
   3767 else case e in #(
   3768   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3769 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   3770      CC="$CC $ac_cv_prog_cc_c11" ;;
   3771 esac
   3772 fi
   3773   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3774   ac_prog_cc_stdc=c11 ;;
   3775 esac
   3776 fi
   3777 fi
   3778 if test x$ac_prog_cc_stdc = xno
   3779 then :
   3780   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3781 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3782 if test ${ac_cv_prog_cc_c99+y}
   3783 then :
   3784   printf %s "(cached) " >&6
   3785 else case e in #(
   3786   e) ac_cv_prog_cc_c99=no
   3787 ac_save_CC=$CC
   3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3789 /* end confdefs.h.  */
   3790 $ac_c_conftest_c99_program
   3791 _ACEOF
   3792 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3793 do
   3794   CC="$ac_save_CC $ac_arg"
   3795   if ac_fn_c_try_compile "$LINENO"
   3796 then :
   3797   ac_cv_prog_cc_c99=$ac_arg
   3798 fi
   3799 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3800   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3801 done
   3802 rm -f conftest.$ac_ext
   3803 CC=$ac_save_CC ;;
   3804 esac
   3805 fi
   3806 
   3807 if test "x$ac_cv_prog_cc_c99" = xno
   3808 then :
   3809   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3810 printf '%s\n' "unsupported" >&6; }
   3811 else case e in #(
   3812   e) if test "x$ac_cv_prog_cc_c99" = x
   3813 then :
   3814   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3815 printf '%s\n' "none needed" >&6; }
   3816 else case e in #(
   3817   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3818 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   3819      CC="$CC $ac_cv_prog_cc_c99" ;;
   3820 esac
   3821 fi
   3822   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3823   ac_prog_cc_stdc=c99 ;;
   3824 esac
   3825 fi
   3826 fi
   3827 if test x$ac_prog_cc_stdc = xno
   3828 then :
   3829   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3830 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3831 if test ${ac_cv_prog_cc_c89+y}
   3832 then :
   3833   printf %s "(cached) " >&6
   3834 else case e in #(
   3835   e) ac_cv_prog_cc_c89=no
   3836 ac_save_CC=$CC
   3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 $ac_c_conftest_c89_program
   3840 _ACEOF
   3841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3842 do
   3843   CC="$ac_save_CC $ac_arg"
   3844   if ac_fn_c_try_compile "$LINENO"
   3845 then :
   3846   ac_cv_prog_cc_c89=$ac_arg
   3847 fi
   3848 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3849   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3850 done
   3851 rm -f conftest.$ac_ext
   3852 CC=$ac_save_CC ;;
   3853 esac
   3854 fi
   3855 
   3856 if test "x$ac_cv_prog_cc_c89" = xno
   3857 then :
   3858   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3859 printf '%s\n' "unsupported" >&6; }
   3860 else case e in #(
   3861   e) if test "x$ac_cv_prog_cc_c89" = x
   3862 then :
   3863   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3864 printf '%s\n' "none needed" >&6; }
   3865 else case e in #(
   3866   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3867 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   3868      CC="$CC $ac_cv_prog_cc_c89" ;;
   3869 esac
   3870 fi
   3871   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3872   ac_prog_cc_stdc=c89 ;;
   3873 esac
   3874 fi
   3875 fi
   3876 
   3877 ac_ext=c
   3878 ac_cpp='$CPP $CPPFLAGS'
   3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3882 
   3883 
   3884   ac_ext=c
   3885 ac_cpp='$CPP $CPPFLAGS'
   3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3889 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3890 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3891 if test ${am_cv_prog_cc_c_o+y}
   3892 then :
   3893   printf %s "(cached) " >&6
   3894 else case e in #(
   3895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3896 /* end confdefs.h.  */
   3897 
   3898 int
   3899 main (void)
   3900 {
   3901 
   3902   ;
   3903   return 0;
   3904 }
   3905 _ACEOF
   3906   # Make sure it works both with $CC and with simple cc.
   3907   # Following AC_PROG_CC_C_O, we do the test twice because some
   3908   # compilers refuse to overwrite an existing .o file with -o,
   3909   # though they will create one.
   3910   am_cv_prog_cc_c_o=yes
   3911   for am_i in 1 2; do
   3912     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3913    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3914    ac_status=$?
   3915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3916    (exit $ac_status); } \
   3917          && test -f conftest2.$ac_objext; then
   3918       : OK
   3919     else
   3920       am_cv_prog_cc_c_o=no
   3921       break
   3922     fi
   3923   done
   3924   # aligned with autoconf, so not including core; see bug#72225.
   3925   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   3926     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   3927     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   3928   unset am_i ;;
   3929 esac
   3930 fi
   3931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3932 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   3933 if test "$am_cv_prog_cc_c_o" != yes; then
   3934    # Losing compiler, so override with the script.
   3935    # FIXME: It is wrong to rewrite CC.
   3936    # But if we don't then we get into trouble of one sort or another.
   3937    # A longer-term fix would be to have automake use am__CC in this case,
   3938    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3939    CC="$am_aux_dir/compile $CC"
   3940 fi
   3941 ac_ext=c
   3942 ac_cpp='$CPP $CPPFLAGS'
   3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3946 
   3947 
   3948 
   3949 ac_header= ac_cache=
   3950 for ac_item in $ac_header_c_list
   3951 do
   3952   if test $ac_cache; then
   3953     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3954     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3955       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   3956     fi
   3957     ac_header= ac_cache=
   3958   elif test $ac_header; then
   3959     ac_cache=$ac_item
   3960   else
   3961     ac_header=$ac_item
   3962   fi
   3963 done
   3964 
   3965 
   3966 
   3967 
   3968 
   3969 
   3970 
   3971 
   3972 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3973 then :
   3974 
   3975 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   3976 
   3977 fi
   3978 
   3979 
   3980 
   3981 
   3982 
   3983 
   3984   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3985 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3986 if test ${ac_cv_safe_to_define___extensions__+y}
   3987 then :
   3988   printf %s "(cached) " >&6
   3989 else case e in #(
   3990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3991 /* end confdefs.h.  */
   3992 
   3993 #         define __EXTENSIONS__ 1
   3994           $ac_includes_default
   3995 int
   3996 main (void)
   3997 {
   3998 
   3999   ;
   4000   return 0;
   4001 }
   4002 _ACEOF
   4003 if ac_fn_c_try_compile "$LINENO"
   4004 then :
   4005   ac_cv_safe_to_define___extensions__=yes
   4006 else case e in #(
   4007   e) ac_cv_safe_to_define___extensions__=no ;;
   4008 esac
   4009 fi
   4010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4011 esac
   4012 fi
   4013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4014 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   4015 
   4016   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4017 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4018 if test ${ac_cv_should_define__xopen_source+y}
   4019 then :
   4020   printf %s "(cached) " >&6
   4021 else case e in #(
   4022   e) ac_cv_should_define__xopen_source=no
   4023     if test $ac_cv_header_wchar_h = yes
   4024 then :
   4025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4026 /* end confdefs.h.  */
   4027 
   4028           #include <wchar.h>
   4029           mbstate_t x;
   4030 int
   4031 main (void)
   4032 {
   4033 
   4034   ;
   4035   return 0;
   4036 }
   4037 _ACEOF
   4038 if ac_fn_c_try_compile "$LINENO"
   4039 then :
   4040 
   4041 else case e in #(
   4042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 
   4045             #define _XOPEN_SOURCE 500
   4046             #include <wchar.h>
   4047             mbstate_t x;
   4048 int
   4049 main (void)
   4050 {
   4051 
   4052   ;
   4053   return 0;
   4054 }
   4055 _ACEOF
   4056 if ac_fn_c_try_compile "$LINENO"
   4057 then :
   4058   ac_cv_should_define__xopen_source=yes
   4059 fi
   4060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4061 esac
   4062 fi
   4063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4064 fi ;;
   4065 esac
   4066 fi
   4067 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4068 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   4069 
   4070   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   4071 
   4072   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   4073 
   4074   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4075 
   4076   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   4077 
   4078   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4079 
   4080   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   4081 
   4082   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4083 
   4084   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4085 
   4086   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4087 
   4088   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4089 
   4090   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4091 
   4092   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4093 
   4094   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4095 
   4096   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4097 
   4098   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4099 
   4100   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4101 
   4102   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   4103 
   4104   if test $ac_cv_header_minix_config_h = yes
   4105 then :
   4106   MINIX=yes
   4107     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   4108 
   4109     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   4110 
   4111     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4112 
   4113 else case e in #(
   4114   e) MINIX= ;;
   4115 esac
   4116 fi
   4117   if test $ac_cv_safe_to_define___extensions__ = yes
   4118 then :
   4119   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   4120 
   4121 fi
   4122   if test $ac_cv_should_define__xopen_source = yes
   4123 then :
   4124   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   4125 
   4126 fi
   4127 
   4128 
   4129 # Initialize Automake
   4130 am__api_version='1.18'
   4131 
   4132 
   4133   # Find a good install program.  We prefer a C program (faster),
   4134 # so one script is as good as another.  But avoid the broken or
   4135 # incompatible versions:
   4136 # SysV /etc/install, /usr/sbin/install
   4137 # SunOS /usr/etc/install
   4138 # IRIX /sbin/install
   4139 # AIX /bin/install
   4140 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4141 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4142 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4143 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4144 # OS/2's system install, which has a completely different semantic
   4145 # ./install, which can be erroneously created by make from ./install.sh.
   4146 # Reject install programs that cannot install multiple files.
   4147 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4148 printf %s "checking for a BSD-compatible install... " >&6; }
   4149 if test -z "$INSTALL"; then
   4150 if test ${ac_cv_path_install+y}
   4151 then :
   4152   printf %s "(cached) " >&6
   4153 else case e in #(
   4154   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4155 for as_dir in $PATH
   4156 do
   4157   IFS=$as_save_IFS
   4158   case $as_dir in #(((
   4159     '') as_dir=./ ;;
   4160     */) ;;
   4161     *) as_dir=$as_dir/ ;;
   4162   esac
   4163     # Account for fact that we put trailing slashes in our PATH walk.
   4164 case $as_dir in #((
   4165   ./ | /[cC]/* | \
   4166   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4167   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4168   /usr/ucb/* ) ;;
   4169   *)
   4170     # OSF/1 and SCO ODT 3.0 have their own names for install.
   4171     # Don't use installbsd from OSF/1 since it installs stuff as root
   4172     # by default.
   4173     for ac_prog in ginstall scoinst install; do
   4174       for ac_exec_ext in '' $ac_executable_extensions; do
   4175 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4176 	  if test $ac_prog = install &&
   4177 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4178 	    # AIX install.  It has an incompatible calling convention.
   4179 	    :
   4180 	  elif test $ac_prog = install &&
   4181 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4182 	    # program-specific install script used by HP pwplus--don't use.
   4183 	    :
   4184 	  else
   4185 	    rm -rf conftest.one conftest.two conftest.dir
   4186 	    echo one > conftest.one
   4187 	    echo two > conftest.two
   4188 	    mkdir conftest.dir
   4189 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4190 	      test -s conftest.one && test -s conftest.two &&
   4191 	      test -s conftest.dir/conftest.one &&
   4192 	      test -s conftest.dir/conftest.two
   4193 	    then
   4194 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4195 	      break 3
   4196 	    fi
   4197 	  fi
   4198 	fi
   4199       done
   4200     done
   4201     ;;
   4202 esac
   4203 
   4204   done
   4205 IFS=$as_save_IFS
   4206 
   4207 rm -rf conftest.one conftest.two conftest.dir
   4208  ;;
   4209 esac
   4210 fi
   4211   if test ${ac_cv_path_install+y}; then
   4212     INSTALL=$ac_cv_path_install
   4213   else
   4214     # As a last resort, use the slow shell script.  Don't cache a
   4215     # value for INSTALL within a source directory, because that will
   4216     # break other packages using the cache if that directory is
   4217     # removed, or if the value is a relative name.
   4218     INSTALL=$ac_install_sh
   4219   fi
   4220 fi
   4221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4222 printf '%s\n' "$INSTALL" >&6; }
   4223 
   4224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4225 # It thinks the first close brace ends the variable substitution.
   4226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4227 
   4228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4229 
   4230 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4231 
   4232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4233 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4234 if test ${am_cv_sleep_fractional_seconds+y}
   4235 then :
   4236   printf %s "(cached) " >&6
   4237 else case e in #(
   4238   e) if sleep 0.001 2>/dev/null
   4239 then :
   4240   am_cv_sleep_fractional_seconds=yes
   4241 else case e in #(
   4242   e) am_cv_sleep_fractional_seconds=no ;;
   4243 esac
   4244 fi
   4245  ;;
   4246 esac
   4247 fi
   4248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4249 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   4250 
   4251 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4252 printf %s "checking filesystem timestamp resolution... " >&6; }
   4253 if test ${am_cv_filesystem_timestamp_resolution+y}
   4254 then :
   4255   printf %s "(cached) " >&6
   4256 else case e in #(
   4257   e) # Default to the worst case.
   4258 am_cv_filesystem_timestamp_resolution=2
   4259 
   4260 # Only try to go finer than 1 sec if sleep can do it.
   4261 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4262 # - 1 sec is not much of a win compared to 2 sec, and
   4263 # - it takes 2 seconds to perform the test whether 1 sec works.
   4264 #
   4265 # Instead, just use the default 2s on platforms that have 1s resolution,
   4266 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4267 # exchange for not incurring the 2s delay for running the test for all
   4268 # packages.
   4269 #
   4270 am_try_resolutions=
   4271 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4272   # Even a millisecond often causes a bunch of false positives,
   4273   # so just try a hundredth of a second. The time saved between .001 and
   4274   # .01 is not terribly consequential.
   4275   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4276 fi
   4277 
   4278 # In order to catch current-generation FAT out, we must *modify* files
   4279 # that already exist; the *creation* timestamp is finer.  Use names
   4280 # that make ls -t sort them differently when they have equal
   4281 # timestamps than when they have distinct timestamps, keeping
   4282 # in mind that ls -t prints the *newest* file first.
   4283 rm -f conftest.ts?
   4284 : > conftest.ts1
   4285 : > conftest.ts2
   4286 : > conftest.ts3
   4287 
   4288 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4289 # clobber the current shell's arguments. (Outer-level square brackets
   4290 # are removed by m4; they're present so that m4 does not expand
   4291 # <dollar><star>; be careful, easy to get confused.)
   4292 if (
   4293      set X `ls -t conftest.ts[12]` &&
   4294      {
   4295        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4296        test "$*" != "X conftest.ts2 conftest.ts1";
   4297      }
   4298 ); then :; else
   4299   # If neither matched, then we have a broken ls.  This can happen
   4300   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4301   # broken ls alias from the environment.  This has actually
   4302   # happened.  Such a system could not be considered "sane".
   4303   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4304   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4305 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4306 as_fn_error $? "ls -t produces unexpected output.
   4307 Make sure there is not a broken ls alias in your environment.
   4308 See 'config.log' for more details" "$LINENO" 5; }
   4309 fi
   4310 
   4311 for am_try_res in $am_try_resolutions; do
   4312   # Any one fine-grained sleep might happen to cross the boundary
   4313   # between two values of a coarser actual resolution, but if we do
   4314   # two fine-grained sleeps in a row, at least one of them will fall
   4315   # entirely within a coarse interval.
   4316   echo alpha > conftest.ts1
   4317   sleep $am_try_res
   4318   echo beta > conftest.ts2
   4319   sleep $am_try_res
   4320   echo gamma > conftest.ts3
   4321 
   4322   # We assume that 'ls -t' will make use of high-resolution
   4323   # timestamps if the operating system supports them at all.
   4324   if (set X `ls -t conftest.ts?` &&
   4325       test "$2" = conftest.ts3 &&
   4326       test "$3" = conftest.ts2 &&
   4327       test "$4" = conftest.ts1); then
   4328     #
   4329     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4330     # because we don't need to test make.
   4331     make_ok=true
   4332     if test $am_try_res != 1; then
   4333       # But if we've succeeded so far with a subsecond resolution, we
   4334       # have one more thing to check: make. It can happen that
   4335       # everything else supports the subsecond mtimes, but make doesn't;
   4336       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4337       # released under GPLv2). https://bugs.gnu.org/68808
   4338       #
   4339       # We test $MAKE if it is defined in the environment, else "make".
   4340       # It might get overridden later, but our hope is that in practice
   4341       # it does not matter: it is the system "make" which is (by far)
   4342       # the most likely to be broken, whereas if the user overrides it,
   4343       # probably they did so with a better, or at least not worse, make.
   4344       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4345       #
   4346       # Create a Makefile (real tab character here):
   4347       rm -f conftest.mk
   4348       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4349       echo '	touch conftest.ts2' >>conftest.mk
   4350       #
   4351       # Now, running
   4352       #   touch conftest.ts1; touch conftest.ts2; make
   4353       # should touch ts1 because ts2 is newer. This could happen by luck,
   4354       # but most often, it will fail if make's support is insufficient. So
   4355       # test for several consecutive successes.
   4356       #
   4357       # (We reuse conftest.ts[12] because we still want to modify existing
   4358       # files, not create new ones, per above.)
   4359       n=0
   4360       make=${MAKE-make}
   4361       until test $n -eq 3; do
   4362         echo one > conftest.ts1
   4363         sleep $am_try_res
   4364         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4365         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4366           make_ok=false
   4367           break # out of $n loop
   4368         fi
   4369         n=`expr $n + 1`
   4370       done
   4371     fi
   4372     #
   4373     if $make_ok; then
   4374       # Everything we know to check worked out, so call this resolution good.
   4375       am_cv_filesystem_timestamp_resolution=$am_try_res
   4376       break # out of $am_try_res loop
   4377     fi
   4378     # Otherwise, we'll go on to check the next resolution.
   4379   fi
   4380 done
   4381 rm -f conftest.ts?
   4382 # (end _am_filesystem_timestamp_resolution)
   4383  ;;
   4384 esac
   4385 fi
   4386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4387 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   4388 
   4389 # This check should not be cached, as it may vary across builds of
   4390 # different projects.
   4391 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4392 printf %s "checking whether build environment is sane... " >&6; }
   4393 # Reject unsafe characters in $srcdir or the absolute working directory
   4394 # name.  Accept space and tab only in the latter.
   4395 am_lf='
   4396 '
   4397 case `pwd` in
   4398   *[\\\"\#\$\&\'\`$am_lf]*)
   4399     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4400 printf '%s\n' "no" >&6; }
   4401     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4402 esac
   4403 case $srcdir in
   4404   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4405     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4406 printf '%s\n' "no" >&6; }
   4407     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4408 esac
   4409 
   4410 # Do 'set' in a subshell so we don't clobber the current shell's
   4411 # arguments.  Must try -L first in case configure is actually a
   4412 # symlink; some systems play weird games with the mod time of symlinks
   4413 # (eg FreeBSD returns the mod time of the symlink's containing
   4414 # directory).
   4415 am_build_env_is_sane=no
   4416 am_has_slept=no
   4417 rm -f conftest.file
   4418 for am_try in 1 2; do
   4419   echo "timestamp, slept: $am_has_slept" > conftest.file
   4420   if (
   4421     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4422     if test "$*" = "X"; then
   4423       # -L didn't work.
   4424       set X `ls -t "$srcdir/configure" conftest.file`
   4425     fi
   4426     test "$2" = conftest.file
   4427   ); then
   4428     am_build_env_is_sane=yes
   4429     break
   4430   fi
   4431   # Just in case.
   4432   sleep "$am_cv_filesystem_timestamp_resolution"
   4433   am_has_slept=yes
   4434 done
   4435 
   4436 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4437 printf '%s\n' "$am_build_env_is_sane" >&6; }
   4438 if test "$am_build_env_is_sane" = no; then
   4439   as_fn_error $? "newly created file is older than distributed files!
   4440 Check your system clock" "$LINENO" 5
   4441 fi
   4442 
   4443 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4444 # generated files are strictly newer.
   4445 am_sleep_pid=
   4446 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4447 then :
   4448 
   4449 else case e in #(
   4450   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4451   am_sleep_pid=$!
   4452  ;;
   4453 esac
   4454 fi
   4455 
   4456 rm -f conftest.file
   4457 
   4458 test "$program_prefix" != NONE &&
   4459   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4460 # Use a double $ so make ignores it.
   4461 test "$program_suffix" != NONE &&
   4462   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4463 # Double any \ or $.
   4464 # By default was 's,x,x', remove it if useless.
   4465 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4466 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   4467 
   4468 
   4469   if test x"${MISSING+set}" != xset; then
   4470   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4471 fi
   4472 # Use eval to expand $SHELL
   4473 if eval "$MISSING --is-lightweight"; then
   4474   am_missing_run="$MISSING "
   4475 else
   4476   am_missing_run=
   4477   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4478 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4479 fi
   4480 
   4481 if test x"${install_sh+set}" != xset; then
   4482   case $am_aux_dir in
   4483   *\ * | *\	*)
   4484     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4485   *)
   4486     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4487   esac
   4488 fi
   4489 
   4490 # Installed binaries are usually stripped using 'strip' when the user
   4491 # run "make install-strip".  However 'strip' might not be the right
   4492 # tool to use in cross-compilation environments, therefore Automake
   4493 # will honor the 'STRIP' environment variable to overrule this program.
   4494 if test "$cross_compiling" != no; then
   4495   if test -n "$ac_tool_prefix"; then
   4496   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4497 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4499 printf %s "checking for $ac_word... " >&6; }
   4500 if test ${ac_cv_prog_STRIP+y}
   4501 then :
   4502   printf %s "(cached) " >&6
   4503 else case e in #(
   4504   e) if test -n "$STRIP"; then
   4505   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4506 else
   4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4508 for as_dir in $PATH
   4509 do
   4510   IFS=$as_save_IFS
   4511   case $as_dir in #(((
   4512     '') as_dir=./ ;;
   4513     */) ;;
   4514     *) as_dir=$as_dir/ ;;
   4515   esac
   4516     for ac_exec_ext in '' $ac_executable_extensions; do
   4517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4518     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4519     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4520     break 2
   4521   fi
   4522 done
   4523   done
   4524 IFS=$as_save_IFS
   4525 
   4526 fi ;;
   4527 esac
   4528 fi
   4529 STRIP=$ac_cv_prog_STRIP
   4530 if test -n "$STRIP"; then
   4531   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4532 printf '%s\n' "$STRIP" >&6; }
   4533 else
   4534   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4535 printf '%s\n' "no" >&6; }
   4536 fi
   4537 
   4538 
   4539 fi
   4540 if test -z "$ac_cv_prog_STRIP"; then
   4541   ac_ct_STRIP=$STRIP
   4542   # Extract the first word of "strip", so it can be a program name with args.
   4543 set dummy strip; ac_word=$2
   4544 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4545 printf %s "checking for $ac_word... " >&6; }
   4546 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4547 then :
   4548   printf %s "(cached) " >&6
   4549 else case e in #(
   4550   e) if test -n "$ac_ct_STRIP"; then
   4551   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4552 else
   4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4554 for as_dir in $PATH
   4555 do
   4556   IFS=$as_save_IFS
   4557   case $as_dir in #(((
   4558     '') as_dir=./ ;;
   4559     */) ;;
   4560     *) as_dir=$as_dir/ ;;
   4561   esac
   4562     for ac_exec_ext in '' $ac_executable_extensions; do
   4563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4564     ac_cv_prog_ac_ct_STRIP="strip"
   4565     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4566     break 2
   4567   fi
   4568 done
   4569   done
   4570 IFS=$as_save_IFS
   4571 
   4572 fi ;;
   4573 esac
   4574 fi
   4575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4576 if test -n "$ac_ct_STRIP"; then
   4577   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4578 printf '%s\n' "$ac_ct_STRIP" >&6; }
   4579 else
   4580   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4581 printf '%s\n' "no" >&6; }
   4582 fi
   4583 
   4584   if test "x$ac_ct_STRIP" = x; then
   4585     STRIP=":"
   4586   else
   4587     case $cross_compiling:$ac_tool_warned in
   4588 yes:)
   4589 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4590 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4591 ac_tool_warned=yes ;;
   4592 esac
   4593     STRIP=$ac_ct_STRIP
   4594   fi
   4595 else
   4596   STRIP="$ac_cv_prog_STRIP"
   4597 fi
   4598 
   4599 fi
   4600 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4601 
   4602 
   4603   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4604 printf %s "checking for a race-free mkdir -p... " >&6; }
   4605 if test -z "$MKDIR_P"; then
   4606   if test ${ac_cv_path_mkdir+y}
   4607 then :
   4608   printf %s "(cached) " >&6
   4609 else case e in #(
   4610   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4611 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4612 do
   4613   IFS=$as_save_IFS
   4614   case $as_dir in #(((
   4615     '') as_dir=./ ;;
   4616     */) ;;
   4617     *) as_dir=$as_dir/ ;;
   4618   esac
   4619     for ac_prog in mkdir gmkdir; do
   4620 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4621 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4622 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4623 	     'mkdir ('*'coreutils) '* | \
   4624 	     *'BusyBox '* | \
   4625 	     'mkdir (fileutils) '4.1*)
   4626 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4627 	       break 3;;
   4628 	   esac
   4629 	 done
   4630        done
   4631   done
   4632 IFS=$as_save_IFS
   4633  ;;
   4634 esac
   4635 fi
   4636 
   4637   test -d ./--version && rmdir ./--version
   4638   if test ${ac_cv_path_mkdir+y}; then
   4639     MKDIR_P="$ac_cv_path_mkdir -p"
   4640   else
   4641     # As a last resort, use plain mkdir -p,
   4642     # in the hope it doesn't have the bugs of ancient mkdir.
   4643     MKDIR_P='mkdir -p'
   4644   fi
   4645 fi
   4646 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4647 printf '%s\n' "$MKDIR_P" >&6; }
   4648 
   4649 for ac_prog in gawk mawk nawk awk 'busybox awk'
   4650 do
   4651   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4652 set dummy $ac_prog; ac_word=$2
   4653 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4654 printf %s "checking for $ac_word... " >&6; }
   4655 if test ${ac_cv_prog_AWK+y}
   4656 then :
   4657   printf %s "(cached) " >&6
   4658 else case e in #(
   4659   e) if test -n "$AWK"; then
   4660   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4661 else
   4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4663 for as_dir in $PATH
   4664 do
   4665   IFS=$as_save_IFS
   4666   case $as_dir in #(((
   4667     '') as_dir=./ ;;
   4668     */) ;;
   4669     *) as_dir=$as_dir/ ;;
   4670   esac
   4671     for ac_exec_ext in '' $ac_executable_extensions; do
   4672   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4673     ac_cv_prog_AWK="$ac_prog"
   4674     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4675     break 2
   4676   fi
   4677 done
   4678   done
   4679 IFS=$as_save_IFS
   4680 
   4681 fi ;;
   4682 esac
   4683 fi
   4684 AWK=$ac_cv_prog_AWK
   4685 if test -n "$AWK"; then
   4686   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4687 printf '%s\n' "$AWK" >&6; }
   4688 else
   4689   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4690 printf '%s\n' "no" >&6; }
   4691 fi
   4692 
   4693 
   4694   test -n "$AWK" && break
   4695 done
   4696 
   4697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4698 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4699 set x ${MAKE-make}
   4700 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4701 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4702 then :
   4703   printf %s "(cached) " >&6
   4704 else case e in #(
   4705   e) cat >conftest.make <<\_ACEOF
   4706 SHELL = /bin/sh
   4707 all:
   4708 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   4709 _ACEOF
   4710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4712   *@@@%%%=?*=@@@%%%*)
   4713     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4714   *)
   4715     eval ac_cv_prog_make_${ac_make}_set=no;;
   4716 esac
   4717 rm -f conftest.make ;;
   4718 esac
   4719 fi
   4720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4721   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4722 printf '%s\n' "yes" >&6; }
   4723   SET_MAKE=
   4724 else
   4725   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4726 printf '%s\n' "no" >&6; }
   4727   SET_MAKE="MAKE=${MAKE-make}"
   4728 fi
   4729 
   4730 rm -rf .tst 2>/dev/null
   4731 mkdir .tst 2>/dev/null
   4732 if test -d .tst; then
   4733   am__leading_dot=.
   4734 else
   4735   am__leading_dot=_
   4736 fi
   4737 rmdir .tst 2>/dev/null
   4738 
   4739 DEPDIR="${am__leading_dot}deps"
   4740 
   4741 ac_config_commands="$ac_config_commands depfiles"
   4742 
   4743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4744 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4745 cat > confinc.mk << 'END'
   4746 am__doit:
   4747 	@echo this is the am__doit target >confinc.out
   4748 .PHONY: am__doit
   4749 END
   4750 am__include="#"
   4751 am__quote=
   4752 # BSD make does it like this.
   4753 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4754 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4755 echo 'include confinc.mk # ignored' > confmf.GNU
   4756 _am_result=no
   4757 for s in GNU BSD; do
   4758   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4759    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4760    ac_status=$?
   4761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4762    (exit $ac_status); }
   4763   case $?:`cat confinc.out 2>/dev/null` in #(
   4764   '0:this is the am__doit target') :
   4765     case $s in #(
   4766   BSD) :
   4767     am__include='.include' am__quote='"' ;; #(
   4768   *) :
   4769     am__include='include' am__quote='' ;;
   4770 esac ;; #(
   4771   *) :
   4772      ;;
   4773 esac
   4774   if test "$am__include" != "#"; then
   4775     _am_result="yes ($s style)"
   4776     break
   4777   fi
   4778 done
   4779 rm -f confinc.* confmf.*
   4780 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4781 printf '%s\n' "${_am_result}" >&6; }
   4782 
   4783 # Check whether --enable-dependency-tracking was given.
   4784 if test ${enable_dependency_tracking+y}
   4785 then :
   4786   enableval=$enable_dependency_tracking;
   4787 fi
   4788 
   4789 if test "x$enable_dependency_tracking" != xno; then
   4790   am_depcomp="$ac_aux_dir/depcomp"
   4791   AMDEPBACKSLASH='\'
   4792   am__nodep='_no'
   4793 fi
   4794  if test "x$enable_dependency_tracking" != xno; then
   4795   AMDEP_TRUE=
   4796   AMDEP_FALSE='#'
   4797 else
   4798   AMDEP_TRUE='#'
   4799   AMDEP_FALSE=
   4800 fi
   4801 
   4802 
   4803 AM_DEFAULT_VERBOSITY=1
   4804 # Check whether --enable-silent-rules was given.
   4805 if test ${enable_silent_rules+y}
   4806 then :
   4807   enableval=$enable_silent_rules;
   4808 fi
   4809 
   4810 am_make=${MAKE-make}
   4811 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4812 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4813 if test ${am_cv_make_support_nested_variables+y}
   4814 then :
   4815   printf %s "(cached) " >&6
   4816 else case e in #(
   4817   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   4818 BAR0=false
   4819 BAR1=true
   4820 V=1
   4821 am__doit:
   4822 	@$(TRUE)
   4823 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4824   am_cv_make_support_nested_variables=yes
   4825 else
   4826   am_cv_make_support_nested_variables=no
   4827 fi ;;
   4828 esac
   4829 fi
   4830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4831 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   4832 AM_BACKSLASH='\'
   4833 
   4834 am__rm_f_notfound=
   4835 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4836 then :
   4837 
   4838 else case e in #(
   4839   e) am__rm_f_notfound='""' ;;
   4840 esac
   4841 fi
   4842 
   4843 
   4844 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4845 printf %s "checking xargs -n works... " >&6; }
   4846 if test ${am_cv_xargs_n_works+y}
   4847 then :
   4848   printf %s "(cached) " >&6
   4849 else case e in #(
   4850   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4851 3"
   4852 then :
   4853   am_cv_xargs_n_works=yes
   4854 else case e in #(
   4855   e) am_cv_xargs_n_works=no ;;
   4856 esac
   4857 fi ;;
   4858 esac
   4859 fi
   4860 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4861 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   4862 if test "$am_cv_xargs_n_works" = yes
   4863 then :
   4864   am__xargs_n='xargs -n'
   4865 else case e in #(
   4866   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4867  ;;
   4868 esac
   4869 fi
   4870 
   4871 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4872   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4873   # is not polluted with repeated "-I."
   4874   am__isrc=' -I$(srcdir)'
   4875   # test to see if srcdir already configured
   4876   if test -f $srcdir/config.status; then
   4877     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4878   fi
   4879 fi
   4880 
   4881 # test whether we have cygpath
   4882 if test -z "$CYGPATH_W"; then
   4883   if (cygpath --version) >/dev/null 2>/dev/null; then
   4884     CYGPATH_W='cygpath -w'
   4885   else
   4886     CYGPATH_W=echo
   4887   fi
   4888 fi
   4889 
   4890 
   4891 # Define the identity of the package.
   4892  PACKAGE='xwininfo'
   4893  VERSION='1.1.7'
   4894 
   4895 
   4896 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4897 
   4898 
   4899 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   4900 
   4901 # Some tools Automake needs.
   4902 
   4903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4904 
   4905 
   4906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4907 
   4908 
   4909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4910 
   4911 
   4912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4913 
   4914 
   4915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4916 
   4917 # For better backward compatibility.  To be removed once Automake 1.9.x
   4918 # dies out for good.  For more background, see:
   4919 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4920 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4921 mkdir_p='$(MKDIR_P)'
   4922 
   4923 # We need awk for the "check" target (and possibly the TAP driver).  The
   4924 # system "awk" is bad on some platforms.
   4925 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4926 # in the wild :-(  We should find a proper way to deprecate it ...
   4927 AMTAR='$${TAR-tar}'
   4928 
   4929 
   4930 # We'll loop over all known methods to create a tar archive until one works.
   4931 _am_tools='gnutar plaintar pax cpio none'
   4932 
   4933 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4934       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4935       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4936       # and bug#13588).
   4937       am_max_uid=2097151 # 2^21 - 1
   4938       am_max_gid=$am_max_uid
   4939       # The $UID and $GID variables are not portable, so we need to resort
   4940       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4941       # below are definitely unexpected, so allow the users to see them
   4942       # (that is, avoid stderr redirection).
   4943       am_uid=`id -u || echo unknown`
   4944       am_gid=`id -g || echo unknown`
   4945       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4946 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4947       if test x$am_uid = xunknown; then
   4948         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   4949 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   4950       elif test $am_uid -le $am_max_uid; then
   4951         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4952 printf '%s\n' "yes" >&6; }
   4953       else
   4954         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4955 printf '%s\n' "no" >&6; }
   4956         _am_tools=none
   4957       fi
   4958       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4959 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4960       if test x$gm_gid = xunknown; then
   4961         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   4962 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   4963       elif test $am_gid -le $am_max_gid; then
   4964         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4965 printf '%s\n' "yes" >&6; }
   4966       else
   4967         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4968 printf '%s\n' "no" >&6; }
   4969         _am_tools=none
   4970       fi
   4971 
   4972   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4973 printf %s "checking how to create a ustar tar archive... " >&6; }
   4974 
   4975   # Go ahead even if we have the value already cached.  We do so because we
   4976   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4977   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4978 
   4979   for _am_tool in $_am_tools; do
   4980     case $_am_tool in
   4981     gnutar)
   4982       for _am_tar in tar gnutar gtar; do
   4983         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4984    ($_am_tar --version) >&5 2>&5
   4985    ac_status=$?
   4986    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4987    (exit $ac_status); } && break
   4988       done
   4989       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4990       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4991       am__untar="$_am_tar -xf -"
   4992       ;;
   4993     plaintar)
   4994       # Must skip GNU tar: if it does not support --format= it doesn't create
   4995       # ustar tarball either.
   4996       (tar --version) >/dev/null 2>&1 && continue
   4997       am__tar='tar chf - "$$tardir"'
   4998       am__tar_='tar chf - "$tardir"'
   4999       am__untar='tar xf -'
   5000       ;;
   5001     pax)
   5002       am__tar='pax -L -x ustar -w "$$tardir"'
   5003       am__tar_='pax -L -x ustar -w "$tardir"'
   5004       am__untar='pax -r'
   5005       ;;
   5006     cpio)
   5007       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   5008       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   5009       am__untar='cpio -i -H ustar -d'
   5010       ;;
   5011     none)
   5012       am__tar=false
   5013       am__tar_=false
   5014       am__untar=false
   5015       ;;
   5016     esac
   5017 
   5018     # If the value was cached, stop now.  We just wanted to have am__tar
   5019     # and am__untar set.
   5020     test -n "${am_cv_prog_tar_ustar}" && break
   5021 
   5022     # tar/untar a dummy directory, and stop if the command works.
   5023     rm -rf conftest.dir
   5024     mkdir conftest.dir
   5025     echo GrepMe > conftest.dir/file
   5026     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   5027    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   5028    ac_status=$?
   5029    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5030    (exit $ac_status); }
   5031     rm -rf conftest.dir
   5032     if test -s conftest.tar; then
   5033       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   5034    ($am__untar <conftest.tar) >&5 2>&5
   5035    ac_status=$?
   5036    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5037    (exit $ac_status); }
   5038       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   5039    (cat conftest.dir/file) >&5 2>&5
   5040    ac_status=$?
   5041    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5042    (exit $ac_status); }
   5043       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   5044     fi
   5045   done
   5046   rm -rf conftest.dir
   5047 
   5048   if test ${am_cv_prog_tar_ustar+y}
   5049 then :
   5050   printf %s "(cached) " >&6
   5051 else case e in #(
   5052   e) am_cv_prog_tar_ustar=$_am_tool ;;
   5053 esac
   5054 fi
   5055 
   5056   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   5057 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 depcc="$CC"   am_compiler_list=
   5064 
   5065 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5066 printf %s "checking dependency style of $depcc... " >&6; }
   5067 if test ${am_cv_CC_dependencies_compiler_type+y}
   5068 then :
   5069   printf %s "(cached) " >&6
   5070 else case e in #(
   5071   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5072   # We make a subdir and do the tests there.  Otherwise we can end up
   5073   # making bogus files that we don't know about and never remove.  For
   5074   # instance it was reported that on HP-UX the gcc test will end up
   5075   # making a dummy file named 'D' -- because '-MD' means "put the output
   5076   # in D".
   5077   rm -rf conftest.dir
   5078   mkdir conftest.dir
   5079   # Copy depcomp to subdir because otherwise we won't find it if we're
   5080   # using a relative directory.
   5081   cp "$am_depcomp" conftest.dir
   5082   cd conftest.dir
   5083   # We will build objects and dependencies in a subdirectory because
   5084   # it helps to detect inapplicable dependency modes.  For instance
   5085   # both Tru64's cc and ICC support -MD to output dependencies as a
   5086   # side effect of compilation, but ICC will put the dependencies in
   5087   # the current directory while Tru64 will put them in the object
   5088   # directory.
   5089   mkdir sub
   5090 
   5091   am_cv_CC_dependencies_compiler_type=none
   5092   if test "$am_compiler_list" = ""; then
   5093      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5094   fi
   5095   am__universal=false
   5096   case " $depcc " in #(
   5097      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5098      esac
   5099 
   5100   for depmode in $am_compiler_list; do
   5101     # Setup a source with many dependencies, because some compilers
   5102     # like to wrap large dependency lists on column 80 (with \), and
   5103     # we should not choose a depcomp mode which is confused by this.
   5104     #
   5105     # We need to recreate these files for each test, as the compiler may
   5106     # overwrite some of them when testing with obscure command lines.
   5107     # This happens at least with the AIX C compiler.
   5108     : > sub/conftest.c
   5109     for i in 1 2 3 4 5 6; do
   5110       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5111       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5112       # Solaris 10 /bin/sh.
   5113       echo '/* dummy */' > sub/conftst$i.h
   5114     done
   5115     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5116 
   5117     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5118     # mode.  It turns out that the SunPro C++ compiler does not properly
   5119     # handle '-M -o', and we need to detect this.  Also, some Intel
   5120     # versions had trouble with output in subdirs.
   5121     am__obj=sub/conftest.${OBJEXT-o}
   5122     am__minus_obj="-o $am__obj"
   5123     case $depmode in
   5124     gcc)
   5125       # This depmode causes a compiler race in universal mode.
   5126       test "$am__universal" = false || continue
   5127       ;;
   5128     nosideeffect)
   5129       # After this tag, mechanisms are not by side-effect, so they'll
   5130       # only be used when explicitly requested.
   5131       if test "x$enable_dependency_tracking" = xyes; then
   5132 	continue
   5133       else
   5134 	break
   5135       fi
   5136       ;;
   5137     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5138       # This compiler won't grok '-c -o', but also, the minuso test has
   5139       # not run yet.  These depmodes are late enough in the game, and
   5140       # so weak that their functioning should not be impacted.
   5141       am__obj=conftest.${OBJEXT-o}
   5142       am__minus_obj=
   5143       ;;
   5144     none) break ;;
   5145     esac
   5146     if depmode=$depmode \
   5147        source=sub/conftest.c object=$am__obj \
   5148        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5149        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5150          >/dev/null 2>conftest.err &&
   5151        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5152        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5153        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5154        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5155       # icc doesn't choke on unknown options, it will just issue warnings
   5156       # or remarks (even with -Werror).  So we grep stderr for any message
   5157       # that says an option was ignored or not supported.
   5158       # When given -MP, icc 7.0 and 7.1 complain thus:
   5159       #   icc: Command line warning: ignoring option '-M'; no argument required
   5160       # The diagnosis changed in icc 8.0:
   5161       #   icc: Command line remark: option '-MP' not supported
   5162       if (grep 'ignoring option' conftest.err ||
   5163           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5164         am_cv_CC_dependencies_compiler_type=$depmode
   5165         break
   5166       fi
   5167     fi
   5168   done
   5169 
   5170   cd ..
   5171   rm -rf conftest.dir
   5172 else
   5173   am_cv_CC_dependencies_compiler_type=none
   5174 fi
   5175  ;;
   5176 esac
   5177 fi
   5178 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5179 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5180 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5181 
   5182  if
   5183   test "x$enable_dependency_tracking" != xno \
   5184   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5185   am__fastdepCC_TRUE=
   5186   am__fastdepCC_FALSE='#'
   5187 else
   5188   am__fastdepCC_TRUE='#'
   5189   am__fastdepCC_FALSE=
   5190 fi
   5191 
   5192 
   5193 # Variables for tags utilities; see am/tags.am
   5194 if test -z "$CTAGS"; then
   5195   CTAGS=ctags
   5196 fi
   5197 
   5198 if test -z "$ETAGS"; then
   5199   ETAGS=etags
   5200 fi
   5201 
   5202 if test -z "$CSCOPE"; then
   5203   CSCOPE=cscope
   5204 fi
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214   # Make sure we can run config.sub.
   5215 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5216   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5217 
   5218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5219 printf %s "checking build system type... " >&6; }
   5220 if test ${ac_cv_build+y}
   5221 then :
   5222   printf %s "(cached) " >&6
   5223 else case e in #(
   5224   e) ac_build_alias=$build_alias
   5225 test "x$ac_build_alias" = x &&
   5226   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5227 test "x$ac_build_alias" = x &&
   5228   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5229 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5230   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5231  ;;
   5232 esac
   5233 fi
   5234 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5235 printf '%s\n' "$ac_cv_build" >&6; }
   5236 case $ac_cv_build in
   5237 *-*-*) ;;
   5238 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5239 esac
   5240 build=$ac_cv_build
   5241 ac_save_IFS=$IFS; IFS='-'
   5242 set x $ac_cv_build
   5243 shift
   5244 build_cpu=$1
   5245 build_vendor=$2
   5246 shift; shift
   5247 # Remember, the first character of IFS is used to create $*,
   5248 # except with old shells:
   5249 build_os=$*
   5250 IFS=$ac_save_IFS
   5251 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5252 
   5253 
   5254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5255 printf %s "checking host system type... " >&6; }
   5256 if test ${ac_cv_host+y}
   5257 then :
   5258   printf %s "(cached) " >&6
   5259 else case e in #(
   5260   e) if test "x$host_alias" = x; then
   5261   ac_cv_host=$ac_cv_build
   5262 else
   5263   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5264     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5265 fi
   5266  ;;
   5267 esac
   5268 fi
   5269 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5270 printf '%s\n' "$ac_cv_host" >&6; }
   5271 case $ac_cv_host in
   5272 *-*-*) ;;
   5273 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5274 esac
   5275 host=$ac_cv_host
   5276 ac_save_IFS=$IFS; IFS='-'
   5277 set x $ac_cv_host
   5278 shift
   5279 host_cpu=$1
   5280 host_vendor=$2
   5281 shift; shift
   5282 # Remember, the first character of IFS is used to create $*,
   5283 # except with old shells:
   5284 host_os=$*
   5285 IFS=$ac_save_IFS
   5286 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5287 
   5288 
   5289 
   5290       if test "X$prefix" = "XNONE"; then
   5291     acl_final_prefix="$ac_default_prefix"
   5292   else
   5293     acl_final_prefix="$prefix"
   5294   fi
   5295   if test "X$exec_prefix" = "XNONE"; then
   5296     acl_final_exec_prefix='${prefix}'
   5297   else
   5298     acl_final_exec_prefix="$exec_prefix"
   5299   fi
   5300   acl_saved_prefix="$prefix"
   5301   prefix="$acl_final_prefix"
   5302   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   5303   prefix="$acl_saved_prefix"
   5304 
   5305 
   5306 
   5307 # Check whether --with-gnu-ld was given.
   5308 if test ${with_gnu_ld+y}
   5309 then :
   5310   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5311 else case e in #(
   5312   e) with_gnu_ld=no ;;
   5313 esac
   5314 fi
   5315 
   5316 # Prepare PATH_SEPARATOR.
   5317 # The user is always right.
   5318 if test "${PATH_SEPARATOR+set}" != set; then
   5319   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   5320   # contains only /bin. Note that ksh looks also at the FPATH variable,
   5321   # so we have to set that as well for the test.
   5322   PATH_SEPARATOR=:
   5323   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   5324     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   5325            || PATH_SEPARATOR=';'
   5326        }
   5327 fi
   5328 
   5329 if test -n "$LD"; then
   5330   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
   5331 printf %s "checking for ld... " >&6; }
   5332 elif test "$GCC" = yes; then
   5333   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5334 printf %s "checking for ld used by $CC... " >&6; }
   5335 elif test "$with_gnu_ld" = yes; then
   5336   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5337 printf %s "checking for GNU ld... " >&6; }
   5338 else
   5339   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5340 printf %s "checking for non-GNU ld... " >&6; }
   5341 fi
   5342 if test -n "$LD"; then
   5343   # Let the user override the test with a path.
   5344   :
   5345 else
   5346   if test ${acl_cv_path_LD+y}
   5347 then :
   5348   printf %s "(cached) " >&6
   5349 else case e in #(
   5350   e)
   5351     acl_cv_path_LD= # Final result of this test
   5352     ac_prog=ld # Program to search in $PATH
   5353     if test "$GCC" = yes; then
   5354       # Check if gcc -print-prog-name=ld gives a path.
   5355       case $host in
   5356         *-*-mingw* | windows*)
   5357           # gcc leaves a trailing carriage return which upsets mingw
   5358           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5359         *)
   5360           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
   5361       esac
   5362       case $acl_output in
   5363         # Accept absolute paths.
   5364         [\\/]* | ?:[\\/]*)
   5365           re_direlt='/[^/][^/]*/\.\./'
   5366           # Canonicalize the pathname of ld
   5367           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
   5368           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
   5369             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
   5370           done
   5371           # Got the pathname. No search in PATH is needed.
   5372           acl_cv_path_LD="$acl_output"
   5373           ac_prog=
   5374           ;;
   5375         "")
   5376           # If it fails, then pretend we aren't using GCC.
   5377           ;;
   5378         *)
   5379           # If it is relative, then search for the first ld in PATH.
   5380           with_gnu_ld=unknown
   5381           ;;
   5382       esac
   5383     fi
   5384     if test -n "$ac_prog"; then
   5385       # Search for $ac_prog in $PATH.
   5386       acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   5387       for ac_dir in $PATH; do
   5388         IFS="$acl_saved_IFS"
   5389         test -z "$ac_dir" && ac_dir=.
   5390         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5391           acl_cv_path_LD="$ac_dir/$ac_prog"
   5392           # Check to see if the program is GNU ld.  I'd rather use --version,
   5393           # but apparently some variants of GNU ld only accept -v.
   5394           # Break only if it was the GNU/non-GNU ld that we prefer.
   5395           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   5396             *GNU* | *'with BFD'*)
   5397               test "$with_gnu_ld" != no && break
   5398               ;;
   5399             *)
   5400               test "$with_gnu_ld" != yes && break
   5401               ;;
   5402           esac
   5403         fi
   5404       done
   5405       IFS="$acl_saved_IFS"
   5406     fi
   5407     case $host in
   5408       *-*-aix*)
   5409         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5410 /* end confdefs.h.  */
   5411 #if defined __powerpc64__ || defined __LP64__
   5412                 int ok;
   5413                #else
   5414                 error fail
   5415                #endif
   5416 
   5417 _ACEOF
   5418 if ac_fn_c_try_compile "$LINENO"
   5419 then :
   5420   # The compiler produces 64-bit code. Add option '-b64' so that the
   5421            # linker groks 64-bit object files.
   5422            case "$acl_cv_path_LD " in
   5423              *" -b64 "*) ;;
   5424              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
   5425            esac
   5426 
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5429         ;;
   5430       sparc64-*-netbsd*)
   5431         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5432 /* end confdefs.h.  */
   5433 #if defined __sparcv9 || defined __arch64__
   5434                 int ok;
   5435                #else
   5436                 error fail
   5437                #endif
   5438 
   5439 _ACEOF
   5440 if ac_fn_c_try_compile "$LINENO"
   5441 then :
   5442 
   5443 else case e in #(
   5444   e) # The compiler produces 32-bit code. Add option '-m elf32_sparc'
   5445            # so that the linker groks 32-bit object files.
   5446            case "$acl_cv_path_LD " in
   5447              *" -m elf32_sparc "*) ;;
   5448              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
   5449            esac
   5450            ;;
   5451 esac
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5454         ;;
   5455     esac
   5456    ;;
   5457 esac
   5458 fi
   5459 
   5460   LD="$acl_cv_path_LD"
   5461 fi
   5462 if test -n "$LD"; then
   5463   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5464 printf '%s\n' "$LD" >&6; }
   5465 else
   5466   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5467 printf '%s\n' "no" >&6; }
   5468   as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5469 fi
   5470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5471 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5472 if test ${acl_cv_prog_gnu_ld+y}
   5473 then :
   5474   printf %s "(cached) " >&6
   5475 else case e in #(
   5476   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5477 case `$LD -v 2>&1 </dev/null` in
   5478 *GNU* | *'with BFD'*)
   5479   acl_cv_prog_gnu_ld=yes
   5480   ;;
   5481 *)
   5482   acl_cv_prog_gnu_ld=no
   5483   ;;
   5484 esac ;;
   5485 esac
   5486 fi
   5487 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   5488 printf '%s\n' "$acl_cv_prog_gnu_ld" >&6; }
   5489 with_gnu_ld=$acl_cv_prog_gnu_ld
   5490 
   5491 
   5492 
   5493 
   5494 
   5495                                                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   5496 printf %s "checking for shared library run path origin... " >&6; }
   5497 if test ${acl_cv_rpath+y}
   5498 then :
   5499   printf %s "(cached) " >&6
   5500 else case e in #(
   5501   e)
   5502     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   5503     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   5504     . ./conftest.sh
   5505     rm -f ./conftest.sh
   5506     acl_cv_rpath=done
   5507    ;;
   5508 esac
   5509 fi
   5510 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   5511 printf '%s\n' "$acl_cv_rpath" >&6; }
   5512   wl="$acl_cv_wl"
   5513   acl_libext="$acl_cv_libext"
   5514   acl_shlibext="$acl_cv_shlibext"
   5515   acl_libname_spec="$acl_cv_libname_spec"
   5516   acl_library_names_spec="$acl_cv_library_names_spec"
   5517   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   5518   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   5519   acl_hardcode_direct="$acl_cv_hardcode_direct"
   5520   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   5521     # Check whether --enable-rpath was given.
   5522 if test ${enable_rpath+y}
   5523 then :
   5524   enableval=$enable_rpath; :
   5525 else case e in #(
   5526   e) enable_rpath=yes ;;
   5527 esac
   5528 fi
   5529 
   5530 
   5531 
   5532 
   5533   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
   5534 printf %s "checking 32-bit host C ABI... " >&6; }
   5535 if test ${gl_cv_host_cpu_c_abi_32bit+y}
   5536 then :
   5537   printf %s "(cached) " >&6
   5538 else case e in #(
   5539   e) case "$host_cpu" in
   5540 
   5541        # CPUs that only support a 32-bit ABI.
   5542        arc \
   5543        | bfin \
   5544        | cris* \
   5545        | csky \
   5546        | epiphany \
   5547        | ft32 \
   5548        | h8300 \
   5549        | m68k \
   5550        | microblaze | microblazeel \
   5551        | nds32 | nds32le | nds32be \
   5552        | nios2 | nios2eb | nios2el \
   5553        | or1k* \
   5554        | or32 \
   5555        | sh | sh1234 | sh1234elb \
   5556        | tic6x \
   5557        | xtensa* )
   5558          gl_cv_host_cpu_c_abi_32bit=yes
   5559          ;;
   5560 
   5561        # CPUs that only support a 64-bit ABI.
   5562        alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
   5563        | mmix )
   5564          gl_cv_host_cpu_c_abi_32bit=no
   5565          ;;
   5566 
   5567        *)
   5568          if test -n "$gl_cv_host_cpu_c_abi"; then
   5569                       case "$gl_cv_host_cpu_c_abi" in
   5570              i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
   5571                gl_cv_host_cpu_c_abi_32bit=yes ;;
   5572              x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
   5573                gl_cv_host_cpu_c_abi_32bit=no ;;
   5574              *)
   5575                gl_cv_host_cpu_c_abi_32bit=unknown ;;
   5576            esac
   5577          else
   5578            gl_cv_host_cpu_c_abi_32bit=unknown
   5579          fi
   5580          if test $gl_cv_host_cpu_c_abi_32bit = unknown; then
   5581            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 int test_pointer_size[sizeof (void *) - 5];
   5584 
   5585 _ACEOF
   5586 if ac_fn_c_try_compile "$LINENO"
   5587 then :
   5588   gl_cv_host_cpu_c_abi_32bit=no
   5589 else case e in #(
   5590   e) gl_cv_host_cpu_c_abi_32bit=yes ;;
   5591 esac
   5592 fi
   5593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5594          fi
   5595          ;;
   5596      esac
   5597      ;;
   5598 esac
   5599 fi
   5600 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
   5601 printf '%s\n' "$gl_cv_host_cpu_c_abi_32bit" >&6; }
   5602 
   5603   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
   5604 
   5605 ac_ext=c
   5606 ac_cpp='$CPP $CPPFLAGS'
   5607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5610 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5611 printf %s "checking how to run the C preprocessor... " >&6; }
   5612 # On Suns, sometimes $CPP names a directory.
   5613 if test -n "$CPP" && test -d "$CPP"; then
   5614   CPP=
   5615 fi
   5616 if test -z "$CPP"; then
   5617   if test ${ac_cv_prog_CPP+y}
   5618 then :
   5619   printf %s "(cached) " >&6
   5620 else case e in #(
   5621   e)     # Double quotes because $CC needs to be expanded
   5622     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   5623     do
   5624       ac_preproc_ok=false
   5625 for ac_c_preproc_warn_flag in '' yes
   5626 do
   5627   # Use a header file that comes with gcc, so configuring glibc
   5628   # with a fresh cross-compiler works.
   5629   # On the NeXT, cc -E runs the code through the compiler's parser,
   5630   # not just through cpp. "Syntax error" is here to catch this case.
   5631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5632 /* end confdefs.h.  */
   5633 #include <limits.h>
   5634 		     Syntax error
   5635 _ACEOF
   5636 if ac_fn_c_try_cpp "$LINENO"
   5637 then :
   5638 
   5639 else case e in #(
   5640   e) # Broken: fails on valid input.
   5641 continue ;;
   5642 esac
   5643 fi
   5644 rm -f conftest.err conftest.i conftest.$ac_ext
   5645 
   5646   # OK, works on sane cases.  Now check whether nonexistent headers
   5647   # can be detected and how.
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 #include <ac_nonexistent.h>
   5651 _ACEOF
   5652 if ac_fn_c_try_cpp "$LINENO"
   5653 then :
   5654   # Broken: success on invalid input.
   5655 continue
   5656 else case e in #(
   5657   e) # Passes both tests.
   5658 ac_preproc_ok=:
   5659 break ;;
   5660 esac
   5661 fi
   5662 rm -f conftest.err conftest.i conftest.$ac_ext
   5663 
   5664 done
   5665 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5666 rm -f conftest.i conftest.err conftest.$ac_ext
   5667 if $ac_preproc_ok
   5668 then :
   5669   break
   5670 fi
   5671 
   5672     done
   5673     ac_cv_prog_CPP=$CPP
   5674    ;;
   5675 esac
   5676 fi
   5677   CPP=$ac_cv_prog_CPP
   5678 else
   5679   ac_cv_prog_CPP=$CPP
   5680 fi
   5681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5682 printf '%s\n' "$CPP" >&6; }
   5683 ac_preproc_ok=false
   5684 for ac_c_preproc_warn_flag in '' yes
   5685 do
   5686   # Use a header file that comes with gcc, so configuring glibc
   5687   # with a fresh cross-compiler works.
   5688   # On the NeXT, cc -E runs the code through the compiler's parser,
   5689   # not just through cpp. "Syntax error" is here to catch this case.
   5690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5691 /* end confdefs.h.  */
   5692 #include <limits.h>
   5693 		     Syntax error
   5694 _ACEOF
   5695 if ac_fn_c_try_cpp "$LINENO"
   5696 then :
   5697 
   5698 else case e in #(
   5699   e) # Broken: fails on valid input.
   5700 continue ;;
   5701 esac
   5702 fi
   5703 rm -f conftest.err conftest.i conftest.$ac_ext
   5704 
   5705   # OK, works on sane cases.  Now check whether nonexistent headers
   5706   # can be detected and how.
   5707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5708 /* end confdefs.h.  */
   5709 #include <ac_nonexistent.h>
   5710 _ACEOF
   5711 if ac_fn_c_try_cpp "$LINENO"
   5712 then :
   5713   # Broken: success on invalid input.
   5714 continue
   5715 else case e in #(
   5716   e) # Passes both tests.
   5717 ac_preproc_ok=:
   5718 break ;;
   5719 esac
   5720 fi
   5721 rm -f conftest.err conftest.i conftest.$ac_ext
   5722 
   5723 done
   5724 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5725 rm -f conftest.i conftest.err conftest.$ac_ext
   5726 if $ac_preproc_ok
   5727 then :
   5728 
   5729 else case e in #(
   5730   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5731 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5732 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5733 See 'config.log' for more details" "$LINENO" 5; } ;;
   5734 esac
   5735 fi
   5736 
   5737 ac_ext=c
   5738 ac_cpp='$CPP $CPPFLAGS'
   5739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5742 
   5743 
   5744 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
   5745 printf %s "checking for egrep -e... " >&6; }
   5746 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
   5747 then :
   5748   printf %s "(cached) " >&6
   5749 else case e in #(
   5750   e) if test -z "$EGREP_TRADITIONAL"; then
   5751   ac_path_EGREP_TRADITIONAL_found=false
   5752   # Loop through the user's path and test for each of PROGNAME-LIST
   5753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5755 do
   5756   IFS=$as_save_IFS
   5757   case $as_dir in #(((
   5758     '') as_dir=./ ;;
   5759     */) ;;
   5760     *) as_dir=$as_dir/ ;;
   5761   esac
   5762     for ac_prog in grep ggrep
   5763    do
   5764     for ac_exec_ext in '' $ac_executable_extensions; do
   5765       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   5766       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   5767 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   5768   # Check for GNU $ac_path_EGREP_TRADITIONAL
   5769 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   5770 *GNU*)
   5771   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   5772 #(
   5773 *)
   5774   ac_count=0
   5775   printf %s 0123456789 >"conftest.in"
   5776   while :
   5777   do
   5778     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5779     mv "conftest.tmp" "conftest.in"
   5780     cp "conftest.in" "conftest.nl"
   5781     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   5782     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5783     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5784     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5785     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   5786       # Best one so far, save it but keep looking for a better one
   5787       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   5788       ac_path_EGREP_TRADITIONAL_max=$ac_count
   5789     fi
   5790     # 10*(2^10) chars as input seems more than enough
   5791     test $ac_count -gt 10 && break
   5792   done
   5793   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5794 esac
   5795 
   5796       $ac_path_EGREP_TRADITIONAL_found && break 3
   5797     done
   5798   done
   5799   done
   5800 IFS=$as_save_IFS
   5801   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   5802     :
   5803   fi
   5804 else
   5805   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   5806 fi
   5807 
   5808     if test "$ac_cv_path_EGREP_TRADITIONAL"
   5809 then :
   5810   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
   5811 else case e in #(
   5812   e) if test -z "$EGREP_TRADITIONAL"; then
   5813   ac_path_EGREP_TRADITIONAL_found=false
   5814   # Loop through the user's path and test for each of PROGNAME-LIST
   5815   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5817 do
   5818   IFS=$as_save_IFS
   5819   case $as_dir in #(((
   5820     '') as_dir=./ ;;
   5821     */) ;;
   5822     *) as_dir=$as_dir/ ;;
   5823   esac
   5824     for ac_prog in egrep
   5825    do
   5826     for ac_exec_ext in '' $ac_executable_extensions; do
   5827       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   5828       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   5829 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   5830   # Check for GNU $ac_path_EGREP_TRADITIONAL
   5831 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   5832 *GNU*)
   5833   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   5834 #(
   5835 *)
   5836   ac_count=0
   5837   printf %s 0123456789 >"conftest.in"
   5838   while :
   5839   do
   5840     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5841     mv "conftest.tmp" "conftest.in"
   5842     cp "conftest.in" "conftest.nl"
   5843     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   5844     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5845     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5846     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5847     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   5848       # Best one so far, save it but keep looking for a better one
   5849       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   5850       ac_path_EGREP_TRADITIONAL_max=$ac_count
   5851     fi
   5852     # 10*(2^10) chars as input seems more than enough
   5853     test $ac_count -gt 10 && break
   5854   done
   5855   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5856 esac
   5857 
   5858       $ac_path_EGREP_TRADITIONAL_found && break 3
   5859     done
   5860   done
   5861   done
   5862 IFS=$as_save_IFS
   5863   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   5864     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5865   fi
   5866 else
   5867   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   5868 fi
   5869  ;;
   5870 esac
   5871 fi ;;
   5872 esac
   5873 fi
   5874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
   5875 printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
   5876  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
   5877 
   5878 
   5879 
   5880 
   5881 
   5882   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
   5883 printf %s "checking for ELF binary format... " >&6; }
   5884 if test ${gl_cv_elf+y}
   5885 then :
   5886   printf %s "(cached) " >&6
   5887 else case e in #(
   5888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
   5891         Extensible Linking Format
   5892         #endif
   5893 
   5894 _ACEOF
   5895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5896   $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1
   5897 then :
   5898   gl_cv_elf=yes
   5899 else case e in #(
   5900   e) gl_cv_elf=no ;;
   5901 esac
   5902 fi
   5903 rm -rf conftest*
   5904 
   5905      ;;
   5906 esac
   5907 fi
   5908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
   5909 printf '%s\n' "$gl_cv_elf" >&6; }
   5910   if test $gl_cv_elf = yes; then
   5911     # Extract the ELF class of a file (5th byte) in decimal.
   5912     # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
   5913     if od -A x < /dev/null >/dev/null 2>/dev/null; then
   5914       # Use POSIX od.
   5915       func_elfclass ()
   5916       {
   5917         od -A n -t d1 -j 4 -N 1
   5918       }
   5919     else
   5920       # Use BSD hexdump.
   5921       func_elfclass ()
   5922       {
   5923         dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
   5924         echo
   5925       }
   5926     fi
   5927     # Use 'expr', not 'test', to compare the values of func_elfclass, because on
   5928     # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
   5929     # not 1 or 2.
   5930     case $HOST_CPU_C_ABI_32BIT in
   5931       yes)
   5932         # 32-bit ABI.
   5933         acl_is_expected_elfclass ()
   5934         {
   5935           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 1 > /dev/null
   5936         }
   5937         ;;
   5938       no)
   5939         # 64-bit ABI.
   5940         acl_is_expected_elfclass ()
   5941         {
   5942           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 2 > /dev/null
   5943         }
   5944         ;;
   5945       *)
   5946         # Unknown.
   5947         acl_is_expected_elfclass ()
   5948         {
   5949           :
   5950         }
   5951         ;;
   5952     esac
   5953   else
   5954     acl_is_expected_elfclass ()
   5955     {
   5956       :
   5957     }
   5958   fi
   5959 
   5960     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
   5961 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
   5962 if test ${acl_cv_libdirstems+y}
   5963 then :
   5964   printf %s "(cached) " >&6
   5965 else case e in #(
   5966   e)           acl_libdirstem=lib
   5967      acl_libdirstem2=
   5968      acl_libdirstem3=
   5969      case "$host_os" in
   5970        solaris*)
   5971                                                       if test $HOST_CPU_C_ABI_32BIT = no; then
   5972            acl_libdirstem2=lib/64
   5973            case "$host_cpu" in
   5974              sparc*)        acl_libdirstem3=lib/sparcv9 ;;
   5975              i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
   5976            esac
   5977          fi
   5978          ;;
   5979        netbsd*)
   5980                            if test $HOST_CPU_C_ABI_32BIT != no; then
   5981            case "$host_cpu" in
   5982              sparc*) acl_libdirstem2=lib/sparc ;;
   5983            esac
   5984          fi
   5985          ;;
   5986        *)
   5987                                                                                  searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
   5988                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   5989          if test $HOST_CPU_C_ABI_32BIT != no; then
   5990            # 32-bit or unknown ABI.
   5991            if test -d /usr/lib32; then
   5992              acl_libdirstem2=lib32
   5993            fi
   5994          fi
   5995          if test $HOST_CPU_C_ABI_32BIT != yes; then
   5996            # 64-bit or unknown ABI.
   5997            if test -d /usr/lib64; then
   5998              acl_libdirstem3=lib64
   5999            fi
   6000          fi
   6001          if test -n "$searchpath"; then
   6002            acl_saved_IFS="${IFS= 	}"; IFS=":"
   6003            for searchdir in $searchpath; do
   6004              if test -d "$searchdir"; then
   6005                case "$searchdir" in
   6006                  */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
   6007                  */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
   6008                  */../ | */.. )
   6009                    # Better ignore directories of this form. They are misleading.
   6010                    ;;
   6011                  *) searchdir=`cd "$searchdir" && pwd`
   6012                     case "$searchdir" in
   6013                       */lib32 ) acl_libdirstem2=lib32 ;;
   6014                       */lib64 ) acl_libdirstem3=lib64 ;;
   6015                     esac ;;
   6016                esac
   6017              fi
   6018            done
   6019            IFS="$acl_saved_IFS"
   6020            if test $HOST_CPU_C_ABI_32BIT = yes; then
   6021              # 32-bit ABI.
   6022              acl_libdirstem3=
   6023            fi
   6024            if test $HOST_CPU_C_ABI_32BIT = no; then
   6025              # 64-bit ABI.
   6026              acl_libdirstem2=
   6027            fi
   6028          fi
   6029          ;;
   6030      esac
   6031      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   6032      test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
   6033      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
   6034      ;;
   6035 esac
   6036 fi
   6037 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
   6038 printf '%s\n' "$acl_cv_libdirstems" >&6; }
   6039       acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
   6040   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
   6041   acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053     use_additional=yes
   6054 
   6055   acl_saved_prefix="$prefix"
   6056   prefix="$acl_final_prefix"
   6057   acl_saved_exec_prefix="$exec_prefix"
   6058   exec_prefix="$acl_final_exec_prefix"
   6059 
   6060     eval additional_includedir=\"$includedir\"
   6061     eval additional_libdir=\"$libdir\"
   6062     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   6063     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   6064 
   6065   exec_prefix="$acl_saved_exec_prefix"
   6066   prefix="$acl_saved_prefix"
   6067 
   6068 
   6069 # Check whether --with-libiconv-prefix was given.
   6070 if test ${with_libiconv_prefix+y}
   6071 then :
   6072   withval=$with_libiconv_prefix;
   6073     if test "X$withval" = "Xno"; then
   6074       use_additional=no
   6075     else
   6076       if test "X$withval" = "X"; then
   6077 
   6078   acl_saved_prefix="$prefix"
   6079   prefix="$acl_final_prefix"
   6080   acl_saved_exec_prefix="$exec_prefix"
   6081   exec_prefix="$acl_final_exec_prefix"
   6082 
   6083           eval additional_includedir=\"$includedir\"
   6084           eval additional_libdir=\"$libdir\"
   6085           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   6086           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   6087 
   6088   exec_prefix="$acl_saved_exec_prefix"
   6089   prefix="$acl_saved_prefix"
   6090 
   6091       else
   6092         additional_includedir="$withval/include"
   6093         additional_libdir="$withval/$acl_libdirstem"
   6094         additional_libdir2="$withval/$acl_libdirstem2"
   6095         additional_libdir3="$withval/$acl_libdirstem3"
   6096       fi
   6097     fi
   6098 
   6099 fi
   6100 
   6101   if test "X$additional_libdir2" = "X$additional_libdir"; then
   6102     additional_libdir2=
   6103   fi
   6104   if test "X$additional_libdir3" = "X$additional_libdir"; then
   6105     additional_libdir3=
   6106   fi
   6107       LIBICONV=
   6108   LTLIBICONV=
   6109   INCICONV=
   6110   LIBICONV_PREFIX=
   6111       HAVE_LIBICONV=
   6112   rpathdirs=
   6113   ltrpathdirs=
   6114   names_already_handled=
   6115   names_next_round='iconv '
   6116   while test -n "$names_next_round"; do
   6117     names_this_round="$names_next_round"
   6118     names_next_round=
   6119     for name in $names_this_round; do
   6120       already_handled=
   6121       for n in $names_already_handled; do
   6122         if test "$n" = "$name"; then
   6123           already_handled=yes
   6124           break
   6125         fi
   6126       done
   6127       if test -z "$already_handled"; then
   6128         names_already_handled="$names_already_handled $name"
   6129                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   6130         eval value=\"\$HAVE_LIB$uppername\"
   6131         if test -n "$value"; then
   6132           if test "$value" = yes; then
   6133             eval value=\"\$LIB$uppername\"
   6134             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   6135             eval value=\"\$LTLIB$uppername\"
   6136             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   6137           else
   6138                                     :
   6139           fi
   6140         else
   6141                               found_dir=
   6142           found_la=
   6143           found_so=
   6144           found_a=
   6145           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   6146           if test -n "$acl_shlibext"; then
   6147             shrext=".$acl_shlibext"             # typically: shrext=.so
   6148           else
   6149             shrext=
   6150           fi
   6151           if test $use_additional = yes; then
   6152             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
   6153               if test "X$found_dir" = "X"; then
   6154                 eval dir=\$$additional_libdir_variable
   6155                 if test -n "$dir"; then
   6156                                                       if test -n "$acl_shlibext"; then
   6157                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   6158                       found_dir="$dir"
   6159                       found_so="$dir/$libname$shrext"
   6160                     else
   6161                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   6162                         ver=`(cd "$dir" && \
   6163                               for f in "$libname$shrext".*; do echo "$f"; done \
   6164                               | sed -e "s,^$libname$shrext\\\\.,," \
   6165                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   6166                               | sed 1q ) 2>/dev/null`
   6167                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   6168                           found_dir="$dir"
   6169                           found_so="$dir/$libname$shrext.$ver"
   6170                         fi
   6171                       else
   6172                         eval library_names=\"$acl_library_names_spec\"
   6173                         for f in $library_names; do
   6174                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   6175                             found_dir="$dir"
   6176                             found_so="$dir/$f"
   6177                             break
   6178                           fi
   6179                         done
   6180                       fi
   6181                     fi
   6182                   fi
   6183                                     if test "X$found_dir" = "X"; then
   6184                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   6185                       found_dir="$dir"
   6186                       found_a="$dir/$libname.$acl_libext"
   6187                     fi
   6188                   fi
   6189                   if test "X$found_dir" != "X"; then
   6190                     if test -f "$dir/$libname.la"; then
   6191                       found_la="$dir/$libname.la"
   6192                     fi
   6193                   fi
   6194                 fi
   6195               fi
   6196             done
   6197           fi
   6198           if test "X$found_dir" = "X"; then
   6199             for x in $LDFLAGS $LTLIBICONV; do
   6200 
   6201   acl_saved_prefix="$prefix"
   6202   prefix="$acl_final_prefix"
   6203   acl_saved_exec_prefix="$exec_prefix"
   6204   exec_prefix="$acl_final_exec_prefix"
   6205   eval x=\"$x\"
   6206   exec_prefix="$acl_saved_exec_prefix"
   6207   prefix="$acl_saved_prefix"
   6208 
   6209               case "$x" in
   6210                 -L*)
   6211                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   6212                                     if test -n "$acl_shlibext"; then
   6213                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   6214                       found_dir="$dir"
   6215                       found_so="$dir/$libname$shrext"
   6216                     else
   6217                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   6218                         ver=`(cd "$dir" && \
   6219                               for f in "$libname$shrext".*; do echo "$f"; done \
   6220                               | sed -e "s,^$libname$shrext\\\\.,," \
   6221                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   6222                               | sed 1q ) 2>/dev/null`
   6223                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   6224                           found_dir="$dir"
   6225                           found_so="$dir/$libname$shrext.$ver"
   6226                         fi
   6227                       else
   6228                         eval library_names=\"$acl_library_names_spec\"
   6229                         for f in $library_names; do
   6230                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   6231                             found_dir="$dir"
   6232                             found_so="$dir/$f"
   6233                             break
   6234                           fi
   6235                         done
   6236                       fi
   6237                     fi
   6238                   fi
   6239                                     if test "X$found_dir" = "X"; then
   6240                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   6241                       found_dir="$dir"
   6242                       found_a="$dir/$libname.$acl_libext"
   6243                     fi
   6244                   fi
   6245                   if test "X$found_dir" != "X"; then
   6246                     if test -f "$dir/$libname.la"; then
   6247                       found_la="$dir/$libname.la"
   6248                     fi
   6249                   fi
   6250                   ;;
   6251               esac
   6252               if test "X$found_dir" != "X"; then
   6253                 break
   6254               fi
   6255             done
   6256           fi
   6257           if test "X$found_dir" != "X"; then
   6258                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   6259             if test "X$found_so" != "X"; then
   6260                                                         if test "$enable_rpath" = no \
   6261                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   6262                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
   6263                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
   6264                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6265               else
   6266                                                                                 haveit=
   6267                 for x in $ltrpathdirs; do
   6268                   if test "X$x" = "X$found_dir"; then
   6269                     haveit=yes
   6270                     break
   6271                   fi
   6272                 done
   6273                 if test -z "$haveit"; then
   6274                   ltrpathdirs="$ltrpathdirs $found_dir"
   6275                 fi
   6276                                 if test "$acl_hardcode_direct" = yes; then
   6277                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6278                 else
   6279                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   6280                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6281                                                             haveit=
   6282                     for x in $rpathdirs; do
   6283                       if test "X$x" = "X$found_dir"; then
   6284                         haveit=yes
   6285                         break
   6286                       fi
   6287                     done
   6288                     if test -z "$haveit"; then
   6289                       rpathdirs="$rpathdirs $found_dir"
   6290                     fi
   6291                   else
   6292                                                                                 haveit=
   6293                     for x in $LDFLAGS $LIBICONV; do
   6294 
   6295   acl_saved_prefix="$prefix"
   6296   prefix="$acl_final_prefix"
   6297   acl_saved_exec_prefix="$exec_prefix"
   6298   exec_prefix="$acl_final_exec_prefix"
   6299   eval x=\"$x\"
   6300   exec_prefix="$acl_saved_exec_prefix"
   6301   prefix="$acl_saved_prefix"
   6302 
   6303                       if test "X$x" = "X-L$found_dir"; then
   6304                         haveit=yes
   6305                         break
   6306                       fi
   6307                     done
   6308                     if test -z "$haveit"; then
   6309                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   6310                     fi
   6311                     if test "$acl_hardcode_minus_L" != no; then
   6312                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6313                     else
   6314                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   6315                     fi
   6316                   fi
   6317                 fi
   6318               fi
   6319             else
   6320               if test "X$found_a" != "X"; then
   6321                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   6322               else
   6323                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   6324               fi
   6325             fi
   6326                         additional_includedir=
   6327             case "$found_dir" in
   6328               */$acl_libdirstem | */$acl_libdirstem/)
   6329                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   6330                 if test "$name" = 'iconv'; then
   6331                   LIBICONV_PREFIX="$basedir"
   6332                 fi
   6333                 additional_includedir="$basedir/include"
   6334                 ;;
   6335               */$acl_libdirstem2 | */$acl_libdirstem2/)
   6336                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   6337                 if test "$name" = 'iconv'; then
   6338                   LIBICONV_PREFIX="$basedir"
   6339                 fi
   6340                 additional_includedir="$basedir/include"
   6341                 ;;
   6342               */$acl_libdirstem3 | */$acl_libdirstem3/)
   6343                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
   6344                 if test "$name" = 'iconv'; then
   6345                   LIBICONV_PREFIX="$basedir"
   6346                 fi
   6347                 additional_includedir="$basedir/include"
   6348                 ;;
   6349             esac
   6350             if test "X$additional_includedir" != "X"; then
   6351                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   6352                 haveit=
   6353                 if test "X$additional_includedir" = "X/usr/local/include"; then
   6354                   if test -n "$GCC"; then
   6355                     case $host_os in
   6356                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   6357                     esac
   6358                   fi
   6359                 fi
   6360                 if test -z "$haveit"; then
   6361                   for x in $CPPFLAGS $INCICONV; do
   6362 
   6363   acl_saved_prefix="$prefix"
   6364   prefix="$acl_final_prefix"
   6365   acl_saved_exec_prefix="$exec_prefix"
   6366   exec_prefix="$acl_final_exec_prefix"
   6367   eval x=\"$x\"
   6368   exec_prefix="$acl_saved_exec_prefix"
   6369   prefix="$acl_saved_prefix"
   6370 
   6371                     if test "X$x" = "X-I$additional_includedir"; then
   6372                       haveit=yes
   6373                       break
   6374                     fi
   6375                   done
   6376                   if test -z "$haveit"; then
   6377                     if test -d "$additional_includedir"; then
   6378                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   6379                     fi
   6380                   fi
   6381                 fi
   6382               fi
   6383             fi
   6384                         if test -n "$found_la"; then
   6385                                                         saved_libdir="$libdir"
   6386               case "$found_la" in
   6387                 */* | *\\*) . "$found_la" ;;
   6388                 *) . "./$found_la" ;;
   6389               esac
   6390               libdir="$saved_libdir"
   6391                             for dep in $dependency_libs; do
   6392                 case "$dep" in
   6393                   -L*)
   6394                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   6395                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
   6396                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
   6397                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
   6398                       haveit=
   6399                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
   6400                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
   6401                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
   6402                         if test -n "$GCC"; then
   6403                           case $host_os in
   6404                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   6405                           esac
   6406                         fi
   6407                       fi
   6408                       if test -z "$haveit"; then
   6409                         haveit=
   6410                         for x in $LDFLAGS $LIBICONV; do
   6411 
   6412   acl_saved_prefix="$prefix"
   6413   prefix="$acl_final_prefix"
   6414   acl_saved_exec_prefix="$exec_prefix"
   6415   exec_prefix="$acl_final_exec_prefix"
   6416   eval x=\"$x\"
   6417   exec_prefix="$acl_saved_exec_prefix"
   6418   prefix="$acl_saved_prefix"
   6419 
   6420                           if test "X$x" = "X-L$dependency_libdir"; then
   6421                             haveit=yes
   6422                             break
   6423                           fi
   6424                         done
   6425                         if test -z "$haveit"; then
   6426                           if test -d "$dependency_libdir"; then
   6427                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
   6428                           fi
   6429                         fi
   6430                         haveit=
   6431                         for x in $LDFLAGS $LTLIBICONV; do
   6432 
   6433   acl_saved_prefix="$prefix"
   6434   prefix="$acl_final_prefix"
   6435   acl_saved_exec_prefix="$exec_prefix"
   6436   exec_prefix="$acl_final_exec_prefix"
   6437   eval x=\"$x\"
   6438   exec_prefix="$acl_saved_exec_prefix"
   6439   prefix="$acl_saved_prefix"
   6440 
   6441                           if test "X$x" = "X-L$dependency_libdir"; then
   6442                             haveit=yes
   6443                             break
   6444                           fi
   6445                         done
   6446                         if test -z "$haveit"; then
   6447                           if test -d "$dependency_libdir"; then
   6448                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
   6449                           fi
   6450                         fi
   6451                       fi
   6452                     fi
   6453                     ;;
   6454                   -R*)
   6455                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   6456                     if test "$enable_rpath" != no; then
   6457                                                                   haveit=
   6458                       for x in $rpathdirs; do
   6459                         if test "X$x" = "X$dir"; then
   6460                           haveit=yes
   6461                           break
   6462                         fi
   6463                       done
   6464                       if test -z "$haveit"; then
   6465                         rpathdirs="$rpathdirs $dir"
   6466                       fi
   6467                                                                   haveit=
   6468                       for x in $ltrpathdirs; do
   6469                         if test "X$x" = "X$dir"; then
   6470                           haveit=yes
   6471                           break
   6472                         fi
   6473                       done
   6474                       if test -z "$haveit"; then
   6475                         ltrpathdirs="$ltrpathdirs $dir"
   6476                       fi
   6477                     fi
   6478                     ;;
   6479                   -l*)
   6480                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
   6481                     if test "X$dep" != Xc \
   6482                        || case $host_os in
   6483                             linux* | gnu* | k*bsd*-gnu) false ;;
   6484                             *)                          true ;;
   6485                           esac; then
   6486                       names_next_round="$names_next_round $dep"
   6487                     fi
   6488                     ;;
   6489                   *.la)
   6490                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   6491                     ;;
   6492                   *)
   6493                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   6494                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   6495                     ;;
   6496                 esac
   6497               done
   6498             fi
   6499           else
   6500                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   6501             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   6502           fi
   6503         fi
   6504       fi
   6505     done
   6506   done
   6507   if test "X$rpathdirs" != "X"; then
   6508     if test -n "$acl_hardcode_libdir_separator"; then
   6509                         alldirs=
   6510       for found_dir in $rpathdirs; do
   6511         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   6512       done
   6513             acl_saved_libdir="$libdir"
   6514       libdir="$alldirs"
   6515       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   6516       libdir="$acl_saved_libdir"
   6517       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   6518     else
   6519             for found_dir in $rpathdirs; do
   6520         acl_saved_libdir="$libdir"
   6521         libdir="$found_dir"
   6522         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   6523         libdir="$acl_saved_libdir"
   6524         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   6525       done
   6526     fi
   6527   fi
   6528   if test "X$ltrpathdirs" != "X"; then
   6529             for found_dir in $ltrpathdirs; do
   6530       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   6531     done
   6532   fi
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544           gl_saved_CPPFLAGS="$CPPFLAGS"
   6545 
   6546   for element in $INCICONV; do
   6547     haveit=
   6548     for x in $CPPFLAGS; do
   6549 
   6550   acl_saved_prefix="$prefix"
   6551   prefix="$acl_final_prefix"
   6552   acl_saved_exec_prefix="$exec_prefix"
   6553   exec_prefix="$acl_final_exec_prefix"
   6554   eval x=\"$x\"
   6555   exec_prefix="$acl_saved_exec_prefix"
   6556   prefix="$acl_saved_prefix"
   6557 
   6558       if test "X$x" = "X$element"; then
   6559         haveit=yes
   6560         break
   6561       fi
   6562     done
   6563     if test -z "$haveit"; then
   6564       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   6565     fi
   6566   done
   6567 
   6568 
   6569   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   6570 printf %s "checking for iconv... " >&6; }
   6571 if test ${am_cv_func_iconv+y}
   6572 then :
   6573   printf %s "(cached) " >&6
   6574 else case e in #(
   6575   e)
   6576     am_cv_func_iconv="no, consider installing GNU libiconv"
   6577     am_cv_lib_iconv=no
   6578     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 
   6581 #include <stdlib.h>
   6582 #include <iconv.h>
   6583 
   6584 int
   6585 main (void)
   6586 {
   6587 iconv_t cd = iconv_open("","");
   6588            iconv(cd,NULL,NULL,NULL,NULL);
   6589            iconv_close(cd);
   6590   ;
   6591   return 0;
   6592 }
   6593 _ACEOF
   6594 if ac_fn_c_try_link "$LINENO"
   6595 then :
   6596   am_cv_func_iconv=yes
   6597 fi
   6598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6599     conftest$ac_exeext conftest.$ac_ext
   6600     if test "$am_cv_func_iconv" != yes; then
   6601       gl_saved_LIBS="$LIBS"
   6602       LIBS="$LIBS $LIBICONV"
   6603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6604 /* end confdefs.h.  */
   6605 
   6606 #include <stdlib.h>
   6607 #include <iconv.h>
   6608 
   6609 int
   6610 main (void)
   6611 {
   6612 iconv_t cd = iconv_open("","");
   6613              iconv(cd,NULL,NULL,NULL,NULL);
   6614              iconv_close(cd);
   6615   ;
   6616   return 0;
   6617 }
   6618 _ACEOF
   6619 if ac_fn_c_try_link "$LINENO"
   6620 then :
   6621   am_cv_lib_iconv=yes
   6622         am_cv_func_iconv=yes
   6623 fi
   6624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6625     conftest$ac_exeext conftest.$ac_ext
   6626       LIBS="$gl_saved_LIBS"
   6627     fi
   6628    ;;
   6629 esac
   6630 fi
   6631 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   6632 printf '%s\n' "$am_cv_func_iconv" >&6; }
   6633   if test "$am_cv_func_iconv" = yes; then
   6634     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   6635 printf %s "checking for working iconv... " >&6; }
   6636 if test ${am_cv_func_iconv_works+y}
   6637 then :
   6638   printf %s "(cached) " >&6
   6639 else case e in #(
   6640   e)
   6641                   gl_saved_LIBS="$LIBS"
   6642       if test $am_cv_lib_iconv = yes; then
   6643         LIBS="$LIBS $LIBICONV"
   6644       fi
   6645       am_cv_func_iconv_works=no
   6646       for ac_iconv_const in '' 'const'; do
   6647         if test "$cross_compiling" = yes
   6648 then :
   6649   case "$host_os" in
   6650              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   6651              *)            am_cv_func_iconv_works="guessing yes" ;;
   6652            esac
   6653 else case e in #(
   6654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 
   6657 #include <iconv.h>
   6658 #include <string.h>
   6659 
   6660 #ifndef ICONV_CONST
   6661 # define ICONV_CONST $ac_iconv_const
   6662 #endif
   6663 
   6664 int
   6665 main (void)
   6666 {
   6667 int result = 0;
   6668   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   6669      successful returns.  This is even documented in
   6670      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   6671   {
   6672     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   6673     if (cd_utf8_to_88591 != (iconv_t)(-1))
   6674       {
   6675         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   6676         char buf[10];
   6677         ICONV_CONST char *inptr = input;
   6678         size_t inbytesleft = strlen (input);
   6679         char *outptr = buf;
   6680         size_t outbytesleft = sizeof (buf);
   6681         size_t res = iconv (cd_utf8_to_88591,
   6682                             &inptr, &inbytesleft,
   6683                             &outptr, &outbytesleft);
   6684         if (res == 0)
   6685           result |= 1;
   6686         iconv_close (cd_utf8_to_88591);
   6687       }
   6688   }
   6689   /* Test against macOS 14.4 bug: Failures are not distinguishable from
   6690      successful returns.
   6691      POSIX:2018 says: "The iconv() function shall ... return the number of
   6692      non-identical conversions performed."
   6693      But here, the conversion always does transliteration (the suffixes
   6694      "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and
   6695      does not report when it does a non-identical conversion.  */
   6696   {
   6697     iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
   6698     if (cd_utf8_to_88591 != (iconv_t)(-1))
   6699       {
   6700         static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */
   6701         char buf[10];
   6702         ICONV_CONST char *inptr = input;
   6703         size_t inbytesleft = strlen (input);
   6704         char *outptr = buf;
   6705         size_t outbytesleft = sizeof (buf);
   6706         size_t res = iconv (cd_utf8_to_88591,
   6707                             &inptr, &inbytesleft,
   6708                             &outptr, &outbytesleft);
   6709         /* Here:
   6710            With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ.
   6711            With musl libc, NetBSD 10, Solaris 11: res == 1.
   6712            With macOS 14.4: res == 0, output is "l".  */
   6713         if (res == 0)
   6714           result |= 2;
   6715         iconv_close (cd_utf8_to_88591);
   6716       }
   6717   }
   6718   /* Test against Solaris 10 bug: Failures are not distinguishable from
   6719      successful returns.  */
   6720   {
   6721     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   6722     if (cd_ascii_to_88591 != (iconv_t)(-1))
   6723       {
   6724         static ICONV_CONST char input[] = "\263";
   6725         char buf[10];
   6726         ICONV_CONST char *inptr = input;
   6727         size_t inbytesleft = strlen (input);
   6728         char *outptr = buf;
   6729         size_t outbytesleft = sizeof (buf);
   6730         size_t res = iconv (cd_ascii_to_88591,
   6731                             &inptr, &inbytesleft,
   6732                             &outptr, &outbytesleft);
   6733         if (res == 0)
   6734           result |= 4;
   6735         iconv_close (cd_ascii_to_88591);
   6736       }
   6737   }
   6738   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   6739   {
   6740     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   6741     if (cd_88591_to_utf8 != (iconv_t)(-1))
   6742       {
   6743         static ICONV_CONST char input[] = "\304";
   6744         static char buf[2] = { (char)0xDE, (char)0xAD };
   6745         ICONV_CONST char *inptr = input;
   6746         size_t inbytesleft = 1;
   6747         char *outptr = buf;
   6748         size_t outbytesleft = 1;
   6749         size_t res = iconv (cd_88591_to_utf8,
   6750                             &inptr, &inbytesleft,
   6751                             &outptr, &outbytesleft);
   6752         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   6753           result |= 8;
   6754         iconv_close (cd_88591_to_utf8);
   6755       }
   6756   }
   6757 #if 0 /* This bug could be worked around by the caller.  */
   6758   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   6759   {
   6760     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   6761     if (cd_88591_to_utf8 != (iconv_t)(-1))
   6762       {
   6763         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   6764         char buf[50];
   6765         ICONV_CONST char *inptr = input;
   6766         size_t inbytesleft = strlen (input);
   6767         char *outptr = buf;
   6768         size_t outbytesleft = sizeof (buf);
   6769         size_t res = iconv (cd_88591_to_utf8,
   6770                             &inptr, &inbytesleft,
   6771                             &outptr, &outbytesleft);
   6772         if ((int)res > 0)
   6773           result |= 16;
   6774         iconv_close (cd_88591_to_utf8);
   6775       }
   6776   }
   6777 #endif
   6778   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   6779      provided.  */
   6780   {
   6781     /* Try standardized names.  */
   6782     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   6783     /* Try IRIX, OSF/1 names.  */
   6784     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   6785     /* Try AIX names.  */
   6786     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   6787     /* Try HP-UX names.  */
   6788     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   6789     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   6790         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   6791       result |= 32;
   6792     if (cd1 != (iconv_t)(-1))
   6793       iconv_close (cd1);
   6794     if (cd2 != (iconv_t)(-1))
   6795       iconv_close (cd2);
   6796     if (cd3 != (iconv_t)(-1))
   6797       iconv_close (cd3);
   6798     if (cd4 != (iconv_t)(-1))
   6799       iconv_close (cd4);
   6800   }
   6801   return result;
   6802 
   6803   ;
   6804   return 0;
   6805 }
   6806 _ACEOF
   6807 if ac_fn_c_try_run "$LINENO"
   6808 then :
   6809   am_cv_func_iconv_works=yes
   6810 fi
   6811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6812   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6813 esac
   6814 fi
   6815 
   6816         test "$am_cv_func_iconv_works" = no || break
   6817       done
   6818       LIBS="$gl_saved_LIBS"
   6819      ;;
   6820 esac
   6821 fi
   6822 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   6823 printf '%s\n' "$am_cv_func_iconv_works" >&6; }
   6824     case "$am_cv_func_iconv_works" in
   6825       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   6826       *)   am_func_iconv=yes ;;
   6827     esac
   6828   else
   6829     am_func_iconv=no am_cv_lib_iconv=no
   6830   fi
   6831   if test "$am_func_iconv" = yes; then
   6832 
   6833 printf '%s\n' "#define HAVE_ICONV 1" >>confdefs.h
   6834 
   6835   fi
   6836   if test "$am_cv_lib_iconv" = yes; then
   6837     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   6838 printf %s "checking how to link with libiconv... " >&6; }
   6839     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   6840 printf '%s\n' "$LIBICONV" >&6; }
   6841   else
   6842             CPPFLAGS="$gl_saved_CPPFLAGS"
   6843     LIBICONV=
   6844     LTLIBICONV=
   6845   fi
   6846 
   6847 
   6848 
   6849   if test "$am_cv_func_iconv" = yes; then
   6850     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
   6851 printf %s "checking whether iconv is compatible with its POSIX signature... " >&6; }
   6852 if test ${gl_cv_iconv_nonconst+y}
   6853 then :
   6854   printf %s "(cached) " >&6
   6855 else case e in #(
   6856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6857 /* end confdefs.h.  */
   6858 
   6859 #include <stdlib.h>
   6860 #include <iconv.h>
   6861 extern
   6862 #ifdef __cplusplus
   6863 "C"
   6864 #endif
   6865 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   6866 
   6867 int
   6868 main (void)
   6869 {
   6870 
   6871   ;
   6872   return 0;
   6873 }
   6874 _ACEOF
   6875 if ac_fn_c_try_compile "$LINENO"
   6876 then :
   6877   gl_cv_iconv_nonconst=yes
   6878 else case e in #(
   6879   e) gl_cv_iconv_nonconst=no ;;
   6880 esac
   6881 fi
   6882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6883        ;;
   6884 esac
   6885 fi
   6886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
   6887 printf '%s\n' "$gl_cv_iconv_nonconst" >&6; }
   6888   else
   6889             gl_cv_iconv_nonconst=yes
   6890   fi
   6891   if test $gl_cv_iconv_nonconst = yes; then
   6892     iconv_arg1=""
   6893   else
   6894     iconv_arg1="const"
   6895   fi
   6896 
   6897 printf '%s\n' "#define ICONV_CONST $iconv_arg1" >>confdefs.h
   6898 
   6899 
   6900 
   6901       if test "$am_func_iconv" = yes; then
   6902     if test -n "$LIBICONV"; then
   6903       am_cv_func_iconv_summary='yes, in libiconv'
   6904     else
   6905       am_cv_func_iconv_summary='yes, in libc'
   6906     fi
   6907   else
   6908     if test "$am_cv_func_iconv" = yes; then
   6909       am_cv_func_iconv_summary='not working, consider installing GNU libiconv'
   6910     else
   6911       am_cv_func_iconv_summary='no, consider installing GNU libiconv'
   6912     fi
   6913   fi
   6914 
   6915 
   6916 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   6929 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   6930 if test ${ac_cv_c_undeclared_builtin_options+y}
   6931 then :
   6932   printf %s "(cached) " >&6
   6933 else case e in #(
   6934   e) ac_save_CFLAGS=$CFLAGS
   6935    ac_cv_c_undeclared_builtin_options='cannot detect'
   6936    for ac_arg in '' -fno-builtin; do
   6937      CFLAGS="$ac_save_CFLAGS $ac_arg"
   6938      # This test program should *not* compile successfully.
   6939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6940 /* end confdefs.h.  */
   6941 
   6942 int
   6943 main (void)
   6944 {
   6945 (void) strchr;
   6946   ;
   6947   return 0;
   6948 }
   6949 _ACEOF
   6950 if ac_fn_c_try_compile "$LINENO"
   6951 then :
   6952 
   6953 else case e in #(
   6954   e) # This test program should compile successfully.
   6955         # No library function is consistently available on
   6956         # freestanding implementations, so test against a dummy
   6957         # declaration.  Include always-available headers on the
   6958         # off chance that they somehow elicit warnings.
   6959         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 #include <float.h>
   6962 #include <limits.h>
   6963 #include <stdarg.h>
   6964 #include <stddef.h>
   6965 extern void ac_decl (int, char *);
   6966 
   6967 int
   6968 main (void)
   6969 {
   6970 (void) ac_decl (0, (char *) 0);
   6971   (void) ac_decl;
   6972 
   6973   ;
   6974   return 0;
   6975 }
   6976 _ACEOF
   6977 if ac_fn_c_try_compile "$LINENO"
   6978 then :
   6979   if test x"$ac_arg" = x
   6980 then :
   6981   ac_cv_c_undeclared_builtin_options='none needed'
   6982 else case e in #(
   6983   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   6984 esac
   6985 fi
   6986           break
   6987 fi
   6988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6989 esac
   6990 fi
   6991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6992     done
   6993     CFLAGS=$ac_save_CFLAGS
   6994    ;;
   6995 esac
   6996 fi
   6997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   6998 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   6999   case $ac_cv_c_undeclared_builtin_options in #(
   7000   'cannot detect') :
   7001     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7002 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   7003 as_fn_error $? "cannot make $CC report undeclared builtins
   7004 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   7005   'none needed') :
   7006     ac_c_undeclared_builtin_options='' ;; #(
   7007   *) :
   7008     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   7009 esac
   7010 
   7011 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   7012 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   7013 if test ${ac_cv_c_future_darwin_options+y}
   7014 then :
   7015   printf %s "(cached) " >&6
   7016 else case e in #(
   7017   e)       ac_compile_saved="$ac_compile"
   7018    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   7019    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 #if ! (defined __APPLE__ && defined __MACH__)
   7022 	   #error "-Werror=unguarded-availability-new not needed here"
   7023 	  #endif
   7024 
   7025 int
   7026 main (void)
   7027 {
   7028 
   7029   ;
   7030   return 0;
   7031 }
   7032 _ACEOF
   7033 if ac_fn_c_try_compile "$LINENO"
   7034 then :
   7035   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   7036 else case e in #(
   7037   e) ac_cv_c_future_darwin_options='none needed' ;;
   7038 esac
   7039 fi
   7040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7041    ac_compile="$ac_compile_saved"
   7042    ;;
   7043 esac
   7044 fi
   7045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   7046 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   7047  case $ac_cv_c_future_darwin_options in #(
   7048   'none needed') :
   7049     ac_c_future_darwin_options='' ;; #(
   7050   *) :
   7051     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   7052 esac
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 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"
   7059 if test "x$ac_cv_have_decl___clang__" = xyes
   7060 then :
   7061   CLANGCC="yes"
   7062 else case e in #(
   7063   e) CLANGCC="no" ;;
   7064 esac
   7065 fi
   7066 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"
   7067 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   7068 then :
   7069   INTELCC="yes"
   7070 else case e in #(
   7071   e) INTELCC="no" ;;
   7072 esac
   7073 fi
   7074 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"
   7075 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   7076 then :
   7077   SUNCC="yes"
   7078 else case e in #(
   7079   e) SUNCC="no" ;;
   7080 esac
   7081 fi
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   7091 	if test -n "$ac_tool_prefix"; then
   7092   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   7093 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   7094 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7095 printf %s "checking for $ac_word... " >&6; }
   7096 if test ${ac_cv_path_PKG_CONFIG+y}
   7097 then :
   7098   printf %s "(cached) " >&6
   7099 else case e in #(
   7100   e) case $PKG_CONFIG in
   7101   [\\/]* | ?:[\\/]*)
   7102   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   7103   ;;
   7104   *)
   7105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7106 for as_dir in $PATH
   7107 do
   7108   IFS=$as_save_IFS
   7109   case $as_dir in #(((
   7110     '') as_dir=./ ;;
   7111     */) ;;
   7112     *) as_dir=$as_dir/ ;;
   7113   esac
   7114     for ac_exec_ext in '' $ac_executable_extensions; do
   7115   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7116     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   7117     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7118     break 2
   7119   fi
   7120 done
   7121   done
   7122 IFS=$as_save_IFS
   7123 
   7124   ;;
   7125 esac ;;
   7126 esac
   7127 fi
   7128 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   7129 if test -n "$PKG_CONFIG"; then
   7130   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   7131 printf '%s\n' "$PKG_CONFIG" >&6; }
   7132 else
   7133   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7134 printf '%s\n' "no" >&6; }
   7135 fi
   7136 
   7137 
   7138 fi
   7139 if test -z "$ac_cv_path_PKG_CONFIG"; then
   7140   ac_pt_PKG_CONFIG=$PKG_CONFIG
   7141   # Extract the first word of "pkg-config", so it can be a program name with args.
   7142 set dummy pkg-config; ac_word=$2
   7143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7144 printf %s "checking for $ac_word... " >&6; }
   7145 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   7146 then :
   7147   printf %s "(cached) " >&6
   7148 else case e in #(
   7149   e) case $ac_pt_PKG_CONFIG in
   7150   [\\/]* | ?:[\\/]*)
   7151   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   7152   ;;
   7153   *)
   7154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7155 for as_dir in $PATH
   7156 do
   7157   IFS=$as_save_IFS
   7158   case $as_dir in #(((
   7159     '') as_dir=./ ;;
   7160     */) ;;
   7161     *) as_dir=$as_dir/ ;;
   7162   esac
   7163     for ac_exec_ext in '' $ac_executable_extensions; do
   7164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7165     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   7166     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7167     break 2
   7168   fi
   7169 done
   7170   done
   7171 IFS=$as_save_IFS
   7172 
   7173   ;;
   7174 esac ;;
   7175 esac
   7176 fi
   7177 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   7178 if test -n "$ac_pt_PKG_CONFIG"; then
   7179   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   7180 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   7181 else
   7182   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7183 printf '%s\n' "no" >&6; }
   7184 fi
   7185 
   7186   if test "x$ac_pt_PKG_CONFIG" = x; then
   7187     PKG_CONFIG=""
   7188   else
   7189     case $cross_compiling:$ac_tool_warned in
   7190 yes:)
   7191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7192 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7193 ac_tool_warned=yes ;;
   7194 esac
   7195     PKG_CONFIG=$ac_pt_PKG_CONFIG
   7196   fi
   7197 else
   7198   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   7199 fi
   7200 
   7201 fi
   7202 if test -n "$PKG_CONFIG"; then
   7203 	_pkg_min_version=0.9.0
   7204 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   7205 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   7206 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   7207 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7208 printf '%s\n' "yes" >&6; }
   7209 	else
   7210 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7211 printf '%s\n' "no" >&6; }
   7212 		PKG_CONFIG=""
   7213 	fi
   7214 fi
   7215 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   7216 printf %s "checking for a sed that does not truncate output... " >&6; }
   7217 if test ${ac_cv_path_SED+y}
   7218 then :
   7219   printf %s "(cached) " >&6
   7220 else case e in #(
   7221   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   7222      for ac_i in 1 2 3 4 5 6 7; do
   7223        ac_script="$ac_script$as_nl$ac_script"
   7224      done
   7225      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   7226      { ac_script=; unset ac_script;}
   7227      if test -z "$SED"; then
   7228   ac_path_SED_found=false
   7229   # Loop through the user's path and test for each of PROGNAME-LIST
   7230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7231 for as_dir in $PATH
   7232 do
   7233   IFS=$as_save_IFS
   7234   case $as_dir in #(((
   7235     '') as_dir=./ ;;
   7236     */) ;;
   7237     *) as_dir=$as_dir/ ;;
   7238   esac
   7239     for ac_prog in sed gsed
   7240    do
   7241     for ac_exec_ext in '' $ac_executable_extensions; do
   7242       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   7243       as_fn_executable_p "$ac_path_SED" || continue
   7244 # Check for GNU ac_path_SED and select it if it is found.
   7245   # Check for GNU $ac_path_SED
   7246 case `"$ac_path_SED" --version 2>&1` in #(
   7247 *GNU*)
   7248   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   7249 #(
   7250 *)
   7251   ac_count=0
   7252   printf %s 0123456789 >"conftest.in"
   7253   while :
   7254   do
   7255     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7256     mv "conftest.tmp" "conftest.in"
   7257     cp "conftest.in" "conftest.nl"
   7258     printf '%s\n' '' >> "conftest.nl"
   7259     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7260     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7261     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7262     if test $ac_count -gt ${ac_path_SED_max-0}; then
   7263       # Best one so far, save it but keep looking for a better one
   7264       ac_cv_path_SED="$ac_path_SED"
   7265       ac_path_SED_max=$ac_count
   7266     fi
   7267     # 10*(2^10) chars as input seems more than enough
   7268     test $ac_count -gt 10 && break
   7269   done
   7270   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7271 esac
   7272 
   7273       $ac_path_SED_found && break 3
   7274     done
   7275   done
   7276   done
   7277 IFS=$as_save_IFS
   7278   if test -z "$ac_cv_path_SED"; then
   7279     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   7280   fi
   7281 else
   7282   ac_cv_path_SED=$SED
   7283 fi
   7284  ;;
   7285 esac
   7286 fi
   7287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   7288 printf '%s\n' "$ac_cv_path_SED" >&6; }
   7289  SED="$ac_cv_path_SED"
   7290   rm -f conftest.sed
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 # Check whether --enable-selective-werror was given.
   7298 if test ${enable_selective_werror+y}
   7299 then :
   7300   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   7301 else case e in #(
   7302   e) SELECTIVE_WERROR=yes ;;
   7303 esac
   7304 fi
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   7311 if test "x$SUNCC" = "xyes"; then
   7312     BASE_CFLAGS="-v"
   7313 else
   7314     BASE_CFLAGS=""
   7315 fi
   7316 
   7317 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 xorg_testset_save_CFLAGS="$CFLAGS"
   7332 
   7333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7336 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7337 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7338 then :
   7339   printf %s "(cached) " >&6
   7340 else case e in #(
   7341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"
   7346 then :
   7347   xorg_cv_cc_flag_unknown_warning_option=yes
   7348 else case e in #(
   7349   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7350 esac
   7351 fi
   7352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7353 esac
   7354 fi
   7355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7356 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7358 	CFLAGS="$xorg_testset_save_CFLAGS"
   7359 fi
   7360 
   7361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 	fi
   7365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7367 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7368 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7369 then :
   7370   printf %s "(cached) " >&6
   7371 else case e in #(
   7372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7373 /* end confdefs.h.  */
   7374 int i;
   7375 _ACEOF
   7376 if ac_fn_c_try_compile "$LINENO"
   7377 then :
   7378   xorg_cv_cc_flag_unused_command_line_argument=yes
   7379 else case e in #(
   7380   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7381 esac
   7382 fi
   7383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7384 esac
   7385 fi
   7386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7387 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7389 	CFLAGS="$xorg_testset_save_CFLAGS"
   7390 fi
   7391 
   7392 found="no"
   7393 
   7394 	if test $found = "no" ; then
   7395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7397 		fi
   7398 
   7399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7401 		fi
   7402 
   7403 		CFLAGS="$CFLAGS -Wall"
   7404 
   7405 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   7406 printf %s "checking if $CC supports -Wall... " >&6; }
   7407 		cacheid=xorg_cv_cc_flag__Wall
   7408 		if eval test \${$cacheid+y}
   7409 then :
   7410   printf %s "(cached) " >&6
   7411 else case e in #(
   7412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7413 /* end confdefs.h.  */
   7414 int i;
   7415 int
   7416 main (void)
   7417 {
   7418 
   7419   ;
   7420   return 0;
   7421 }
   7422 _ACEOF
   7423 if ac_fn_c_try_link "$LINENO"
   7424 then :
   7425   eval $cacheid=yes
   7426 else case e in #(
   7427   e) eval $cacheid=no ;;
   7428 esac
   7429 fi
   7430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7431     conftest$ac_exeext conftest.$ac_ext ;;
   7432 esac
   7433 fi
   7434 
   7435 
   7436 		CFLAGS="$xorg_testset_save_CFLAGS"
   7437 
   7438 		eval supported=\$$cacheid
   7439 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7440 printf '%s\n' "$supported" >&6; }
   7441 		if test "$supported" = "yes" ; then
   7442 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   7443 			found="yes"
   7444 		fi
   7445 	fi
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 xorg_testset_save_CFLAGS="$CFLAGS"
   7462 
   7463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7466 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7467 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7468 then :
   7469   printf %s "(cached) " >&6
   7470 else case e in #(
   7471   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7472 /* end confdefs.h.  */
   7473 int i;
   7474 _ACEOF
   7475 if ac_fn_c_try_compile "$LINENO"
   7476 then :
   7477   xorg_cv_cc_flag_unknown_warning_option=yes
   7478 else case e in #(
   7479   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7480 esac
   7481 fi
   7482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7483 esac
   7484 fi
   7485 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7486 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7487 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7488 	CFLAGS="$xorg_testset_save_CFLAGS"
   7489 fi
   7490 
   7491 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7492 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7493 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7494 	fi
   7495 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7496 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7497 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7498 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7499 then :
   7500   printf %s "(cached) " >&6
   7501 else case e in #(
   7502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7503 /* end confdefs.h.  */
   7504 int i;
   7505 _ACEOF
   7506 if ac_fn_c_try_compile "$LINENO"
   7507 then :
   7508   xorg_cv_cc_flag_unused_command_line_argument=yes
   7509 else case e in #(
   7510   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7511 esac
   7512 fi
   7513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7514 esac
   7515 fi
   7516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7517 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7519 	CFLAGS="$xorg_testset_save_CFLAGS"
   7520 fi
   7521 
   7522 found="no"
   7523 
   7524 	if test $found = "no" ; then
   7525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7527 		fi
   7528 
   7529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7531 		fi
   7532 
   7533 		CFLAGS="$CFLAGS -Wpointer-arith"
   7534 
   7535 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   7536 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   7537 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   7538 		if eval test \${$cacheid+y}
   7539 then :
   7540   printf %s "(cached) " >&6
   7541 else case e in #(
   7542   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7543 /* end confdefs.h.  */
   7544 int i;
   7545 int
   7546 main (void)
   7547 {
   7548 
   7549   ;
   7550   return 0;
   7551 }
   7552 _ACEOF
   7553 if ac_fn_c_try_link "$LINENO"
   7554 then :
   7555   eval $cacheid=yes
   7556 else case e in #(
   7557   e) eval $cacheid=no ;;
   7558 esac
   7559 fi
   7560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7561     conftest$ac_exeext conftest.$ac_ext ;;
   7562 esac
   7563 fi
   7564 
   7565 
   7566 		CFLAGS="$xorg_testset_save_CFLAGS"
   7567 
   7568 		eval supported=\$$cacheid
   7569 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7570 printf '%s\n' "$supported" >&6; }
   7571 		if test "$supported" = "yes" ; then
   7572 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   7573 			found="yes"
   7574 		fi
   7575 	fi
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 xorg_testset_save_CFLAGS="$CFLAGS"
   7592 
   7593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7595 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7598 then :
   7599   printf %s "(cached) " >&6
   7600 else case e in #(
   7601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 _ACEOF
   7605 if ac_fn_c_try_compile "$LINENO"
   7606 then :
   7607   xorg_cv_cc_flag_unknown_warning_option=yes
   7608 else case e in #(
   7609   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7610 esac
   7611 fi
   7612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7613 esac
   7614 fi
   7615 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7616 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7618 	CFLAGS="$xorg_testset_save_CFLAGS"
   7619 fi
   7620 
   7621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7624 	fi
   7625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7627 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7628 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7629 then :
   7630   printf %s "(cached) " >&6
   7631 else case e in #(
   7632   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 _ACEOF
   7636 if ac_fn_c_try_compile "$LINENO"
   7637 then :
   7638   xorg_cv_cc_flag_unused_command_line_argument=yes
   7639 else case e in #(
   7640   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7641 esac
   7642 fi
   7643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7644 esac
   7645 fi
   7646 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7647 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7649 	CFLAGS="$xorg_testset_save_CFLAGS"
   7650 fi
   7651 
   7652 found="no"
   7653 
   7654 	if test $found = "no" ; then
   7655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7657 		fi
   7658 
   7659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7661 		fi
   7662 
   7663 		CFLAGS="$CFLAGS -Wmissing-declarations"
   7664 
   7665 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   7666 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   7667 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   7668 		if eval test \${$cacheid+y}
   7669 then :
   7670   printf %s "(cached) " >&6
   7671 else case e in #(
   7672   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7673 /* end confdefs.h.  */
   7674 int i;
   7675 int
   7676 main (void)
   7677 {
   7678 
   7679   ;
   7680   return 0;
   7681 }
   7682 _ACEOF
   7683 if ac_fn_c_try_link "$LINENO"
   7684 then :
   7685   eval $cacheid=yes
   7686 else case e in #(
   7687   e) eval $cacheid=no ;;
   7688 esac
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7691     conftest$ac_exeext conftest.$ac_ext ;;
   7692 esac
   7693 fi
   7694 
   7695 
   7696 		CFLAGS="$xorg_testset_save_CFLAGS"
   7697 
   7698 		eval supported=\$$cacheid
   7699 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7700 printf '%s\n' "$supported" >&6; }
   7701 		if test "$supported" = "yes" ; then
   7702 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   7703 			found="yes"
   7704 		fi
   7705 	fi
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 xorg_testset_save_CFLAGS="$CFLAGS"
   7722 
   7723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7726 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7727 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7728 then :
   7729   printf %s "(cached) " >&6
   7730 else case e in #(
   7731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 _ACEOF
   7735 if ac_fn_c_try_compile "$LINENO"
   7736 then :
   7737   xorg_cv_cc_flag_unknown_warning_option=yes
   7738 else case e in #(
   7739   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7740 esac
   7741 fi
   7742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7743 esac
   7744 fi
   7745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7746 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7748 	CFLAGS="$xorg_testset_save_CFLAGS"
   7749 fi
   7750 
   7751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 	fi
   7755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7756 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7757 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7758 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7759 then :
   7760   printf %s "(cached) " >&6
   7761 else case e in #(
   7762   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7763 /* end confdefs.h.  */
   7764 int i;
   7765 _ACEOF
   7766 if ac_fn_c_try_compile "$LINENO"
   7767 then :
   7768   xorg_cv_cc_flag_unused_command_line_argument=yes
   7769 else case e in #(
   7770   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7771 esac
   7772 fi
   7773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7774 esac
   7775 fi
   7776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7777 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7779 	CFLAGS="$xorg_testset_save_CFLAGS"
   7780 fi
   7781 
   7782 found="no"
   7783 
   7784 	if test $found = "no" ; then
   7785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7787 		fi
   7788 
   7789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7791 		fi
   7792 
   7793 		CFLAGS="$CFLAGS -Wformat=2"
   7794 
   7795 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   7796 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   7797 		cacheid=xorg_cv_cc_flag__Wformat_2
   7798 		if eval test \${$cacheid+y}
   7799 then :
   7800   printf %s "(cached) " >&6
   7801 else case e in #(
   7802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7803 /* end confdefs.h.  */
   7804 int i;
   7805 int
   7806 main (void)
   7807 {
   7808 
   7809   ;
   7810   return 0;
   7811 }
   7812 _ACEOF
   7813 if ac_fn_c_try_link "$LINENO"
   7814 then :
   7815   eval $cacheid=yes
   7816 else case e in #(
   7817   e) eval $cacheid=no ;;
   7818 esac
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7821     conftest$ac_exeext conftest.$ac_ext ;;
   7822 esac
   7823 fi
   7824 
   7825 
   7826 		CFLAGS="$xorg_testset_save_CFLAGS"
   7827 
   7828 		eval supported=\$$cacheid
   7829 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7830 printf '%s\n' "$supported" >&6; }
   7831 		if test "$supported" = "yes" ; then
   7832 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   7833 			found="yes"
   7834 		fi
   7835 	fi
   7836 
   7837 	if test $found = "no" ; then
   7838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7840 		fi
   7841 
   7842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7844 		fi
   7845 
   7846 		CFLAGS="$CFLAGS -Wformat"
   7847 
   7848 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   7849 printf %s "checking if $CC supports -Wformat... " >&6; }
   7850 		cacheid=xorg_cv_cc_flag__Wformat
   7851 		if eval test \${$cacheid+y}
   7852 then :
   7853   printf %s "(cached) " >&6
   7854 else case e in #(
   7855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 int i;
   7858 int
   7859 main (void)
   7860 {
   7861 
   7862   ;
   7863   return 0;
   7864 }
   7865 _ACEOF
   7866 if ac_fn_c_try_link "$LINENO"
   7867 then :
   7868   eval $cacheid=yes
   7869 else case e in #(
   7870   e) eval $cacheid=no ;;
   7871 esac
   7872 fi
   7873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7874     conftest$ac_exeext conftest.$ac_ext ;;
   7875 esac
   7876 fi
   7877 
   7878 
   7879 		CFLAGS="$xorg_testset_save_CFLAGS"
   7880 
   7881 		eval supported=\$$cacheid
   7882 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7883 printf '%s\n' "$supported" >&6; }
   7884 		if test "$supported" = "yes" ; then
   7885 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   7886 			found="yes"
   7887 		fi
   7888 	fi
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 xorg_testset_save_CFLAGS="$CFLAGS"
   7907 
   7908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7911 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7912 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7913 then :
   7914   printf %s "(cached) " >&6
   7915 else case e in #(
   7916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7917 /* end confdefs.h.  */
   7918 int i;
   7919 _ACEOF
   7920 if ac_fn_c_try_compile "$LINENO"
   7921 then :
   7922   xorg_cv_cc_flag_unknown_warning_option=yes
   7923 else case e in #(
   7924   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7925 esac
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7928 esac
   7929 fi
   7930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7931 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7933 	CFLAGS="$xorg_testset_save_CFLAGS"
   7934 fi
   7935 
   7936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7939 	fi
   7940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7941 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7942 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7943 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7944 then :
   7945   printf %s "(cached) " >&6
   7946 else case e in #(
   7947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7948 /* end confdefs.h.  */
   7949 int i;
   7950 _ACEOF
   7951 if ac_fn_c_try_compile "$LINENO"
   7952 then :
   7953   xorg_cv_cc_flag_unused_command_line_argument=yes
   7954 else case e in #(
   7955   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7956 esac
   7957 fi
   7958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7959 esac
   7960 fi
   7961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7962 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7964 	CFLAGS="$xorg_testset_save_CFLAGS"
   7965 fi
   7966 
   7967 found="no"
   7968 
   7969 	if test $found = "no" ; then
   7970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 		fi
   7973 
   7974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7976 		fi
   7977 
   7978 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   7979 
   7980 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   7981 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   7982 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   7983 		if eval test \${$cacheid+y}
   7984 then :
   7985   printf %s "(cached) " >&6
   7986 else case e in #(
   7987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7988 /* end confdefs.h.  */
   7989 int i;
   7990 int
   7991 main (void)
   7992 {
   7993 
   7994   ;
   7995   return 0;
   7996 }
   7997 _ACEOF
   7998 if ac_fn_c_try_link "$LINENO"
   7999 then :
   8000   eval $cacheid=yes
   8001 else case e in #(
   8002   e) eval $cacheid=no ;;
   8003 esac
   8004 fi
   8005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8006     conftest$ac_exeext conftest.$ac_ext ;;
   8007 esac
   8008 fi
   8009 
   8010 
   8011 		CFLAGS="$xorg_testset_save_CFLAGS"
   8012 
   8013 		eval supported=\$$cacheid
   8014 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8015 printf '%s\n' "$supported" >&6; }
   8016 		if test "$supported" = "yes" ; then
   8017 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   8018 			found="yes"
   8019 		fi
   8020 	fi
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 xorg_testset_save_CFLAGS="$CFLAGS"
   8037 
   8038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8040 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8041 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8042 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8043 then :
   8044   printf %s "(cached) " >&6
   8045 else case e in #(
   8046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 _ACEOF
   8050 if ac_fn_c_try_compile "$LINENO"
   8051 then :
   8052   xorg_cv_cc_flag_unknown_warning_option=yes
   8053 else case e in #(
   8054   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8055 esac
   8056 fi
   8057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8058 esac
   8059 fi
   8060 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8061 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8063 	CFLAGS="$xorg_testset_save_CFLAGS"
   8064 fi
   8065 
   8066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8069 	fi
   8070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8071 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8072 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8073 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8074 then :
   8075   printf %s "(cached) " >&6
   8076 else case e in #(
   8077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 _ACEOF
   8081 if ac_fn_c_try_compile "$LINENO"
   8082 then :
   8083   xorg_cv_cc_flag_unused_command_line_argument=yes
   8084 else case e in #(
   8085   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8086 esac
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8089 esac
   8090 fi
   8091 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8092 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8094 	CFLAGS="$xorg_testset_save_CFLAGS"
   8095 fi
   8096 
   8097 found="no"
   8098 
   8099 	if test $found = "no" ; then
   8100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 		fi
   8103 
   8104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8106 		fi
   8107 
   8108 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   8109 
   8110 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   8111 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   8112 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   8113 		if eval test \${$cacheid+y}
   8114 then :
   8115   printf %s "(cached) " >&6
   8116 else case e in #(
   8117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 int
   8121 main (void)
   8122 {
   8123 
   8124   ;
   8125   return 0;
   8126 }
   8127 _ACEOF
   8128 if ac_fn_c_try_link "$LINENO"
   8129 then :
   8130   eval $cacheid=yes
   8131 else case e in #(
   8132   e) eval $cacheid=no ;;
   8133 esac
   8134 fi
   8135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8136     conftest$ac_exeext conftest.$ac_ext ;;
   8137 esac
   8138 fi
   8139 
   8140 
   8141 		CFLAGS="$xorg_testset_save_CFLAGS"
   8142 
   8143 		eval supported=\$$cacheid
   8144 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8145 printf '%s\n' "$supported" >&6; }
   8146 		if test "$supported" = "yes" ; then
   8147 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   8148 			found="yes"
   8149 		fi
   8150 	fi
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 xorg_testset_save_CFLAGS="$CFLAGS"
   8167 
   8168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8170 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8171 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8172 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8173 then :
   8174   printf %s "(cached) " >&6
   8175 else case e in #(
   8176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8177 /* end confdefs.h.  */
   8178 int i;
   8179 _ACEOF
   8180 if ac_fn_c_try_compile "$LINENO"
   8181 then :
   8182   xorg_cv_cc_flag_unknown_warning_option=yes
   8183 else case e in #(
   8184   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8185 esac
   8186 fi
   8187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8188 esac
   8189 fi
   8190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8191 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8193 	CFLAGS="$xorg_testset_save_CFLAGS"
   8194 fi
   8195 
   8196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 	fi
   8200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8201 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8204 then :
   8205   printf %s "(cached) " >&6
   8206 else case e in #(
   8207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 _ACEOF
   8211 if ac_fn_c_try_compile "$LINENO"
   8212 then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else case e in #(
   8215   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8216 esac
   8217 fi
   8218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8219 esac
   8220 fi
   8221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8222 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8224 	CFLAGS="$xorg_testset_save_CFLAGS"
   8225 fi
   8226 
   8227 found="no"
   8228 
   8229 	if test $found = "no" ; then
   8230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8232 		fi
   8233 
   8234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8236 		fi
   8237 
   8238 		CFLAGS="$CFLAGS -Wnested-externs"
   8239 
   8240 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   8241 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   8242 		cacheid=xorg_cv_cc_flag__Wnested_externs
   8243 		if eval test \${$cacheid+y}
   8244 then :
   8245   printf %s "(cached) " >&6
   8246 else case e in #(
   8247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8248 /* end confdefs.h.  */
   8249 int i;
   8250 int
   8251 main (void)
   8252 {
   8253 
   8254   ;
   8255   return 0;
   8256 }
   8257 _ACEOF
   8258 if ac_fn_c_try_link "$LINENO"
   8259 then :
   8260   eval $cacheid=yes
   8261 else case e in #(
   8262   e) eval $cacheid=no ;;
   8263 esac
   8264 fi
   8265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8266     conftest$ac_exeext conftest.$ac_ext ;;
   8267 esac
   8268 fi
   8269 
   8270 
   8271 		CFLAGS="$xorg_testset_save_CFLAGS"
   8272 
   8273 		eval supported=\$$cacheid
   8274 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8275 printf '%s\n' "$supported" >&6; }
   8276 		if test "$supported" = "yes" ; then
   8277 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   8278 			found="yes"
   8279 		fi
   8280 	fi
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 xorg_testset_save_CFLAGS="$CFLAGS"
   8297 
   8298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8300 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8303 then :
   8304   printf %s "(cached) " >&6
   8305 else case e in #(
   8306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8307 /* end confdefs.h.  */
   8308 int i;
   8309 _ACEOF
   8310 if ac_fn_c_try_compile "$LINENO"
   8311 then :
   8312   xorg_cv_cc_flag_unknown_warning_option=yes
   8313 else case e in #(
   8314   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8315 esac
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8318 esac
   8319 fi
   8320 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8321 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8323 	CFLAGS="$xorg_testset_save_CFLAGS"
   8324 fi
   8325 
   8326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8329 	fi
   8330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8331 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8332 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8333 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8334 then :
   8335   printf %s "(cached) " >&6
   8336 else case e in #(
   8337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8338 /* end confdefs.h.  */
   8339 int i;
   8340 _ACEOF
   8341 if ac_fn_c_try_compile "$LINENO"
   8342 then :
   8343   xorg_cv_cc_flag_unused_command_line_argument=yes
   8344 else case e in #(
   8345   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8346 esac
   8347 fi
   8348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8349 esac
   8350 fi
   8351 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8352 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8354 	CFLAGS="$xorg_testset_save_CFLAGS"
   8355 fi
   8356 
   8357 found="no"
   8358 
   8359 	if test $found = "no" ; then
   8360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8362 		fi
   8363 
   8364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 		fi
   8367 
   8368 		CFLAGS="$CFLAGS -Wbad-function-cast"
   8369 
   8370 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   8371 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   8372 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   8373 		if eval test \${$cacheid+y}
   8374 then :
   8375   printf %s "(cached) " >&6
   8376 else case e in #(
   8377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8378 /* end confdefs.h.  */
   8379 int i;
   8380 int
   8381 main (void)
   8382 {
   8383 
   8384   ;
   8385   return 0;
   8386 }
   8387 _ACEOF
   8388 if ac_fn_c_try_link "$LINENO"
   8389 then :
   8390   eval $cacheid=yes
   8391 else case e in #(
   8392   e) eval $cacheid=no ;;
   8393 esac
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8396     conftest$ac_exeext conftest.$ac_ext ;;
   8397 esac
   8398 fi
   8399 
   8400 
   8401 		CFLAGS="$xorg_testset_save_CFLAGS"
   8402 
   8403 		eval supported=\$$cacheid
   8404 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8405 printf '%s\n' "$supported" >&6; }
   8406 		if test "$supported" = "yes" ; then
   8407 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   8408 			found="yes"
   8409 		fi
   8410 	fi
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 xorg_testset_save_CFLAGS="$CFLAGS"
   8427 
   8428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8430 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8433 then :
   8434   printf %s "(cached) " >&6
   8435 else case e in #(
   8436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8437 /* end confdefs.h.  */
   8438 int i;
   8439 _ACEOF
   8440 if ac_fn_c_try_compile "$LINENO"
   8441 then :
   8442   xorg_cv_cc_flag_unknown_warning_option=yes
   8443 else case e in #(
   8444   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8445 esac
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8448 esac
   8449 fi
   8450 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8451 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8453 	CFLAGS="$xorg_testset_save_CFLAGS"
   8454 fi
   8455 
   8456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8459 	fi
   8460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8461 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8464 then :
   8465   printf %s "(cached) " >&6
   8466 else case e in #(
   8467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8468 /* end confdefs.h.  */
   8469 int i;
   8470 _ACEOF
   8471 if ac_fn_c_try_compile "$LINENO"
   8472 then :
   8473   xorg_cv_cc_flag_unused_command_line_argument=yes
   8474 else case e in #(
   8475   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8476 esac
   8477 fi
   8478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8479 esac
   8480 fi
   8481 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8482 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8484 	CFLAGS="$xorg_testset_save_CFLAGS"
   8485 fi
   8486 
   8487 found="no"
   8488 
   8489 	if test $found = "no" ; then
   8490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8492 		fi
   8493 
   8494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8496 		fi
   8497 
   8498 		CFLAGS="$CFLAGS -Wold-style-definition"
   8499 
   8500 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   8501 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   8502 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   8503 		if eval test \${$cacheid+y}
   8504 then :
   8505   printf %s "(cached) " >&6
   8506 else case e in #(
   8507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 int
   8511 main (void)
   8512 {
   8513 
   8514   ;
   8515   return 0;
   8516 }
   8517 _ACEOF
   8518 if ac_fn_c_try_link "$LINENO"
   8519 then :
   8520   eval $cacheid=yes
   8521 else case e in #(
   8522   e) eval $cacheid=no ;;
   8523 esac
   8524 fi
   8525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8526     conftest$ac_exeext conftest.$ac_ext ;;
   8527 esac
   8528 fi
   8529 
   8530 
   8531 		CFLAGS="$xorg_testset_save_CFLAGS"
   8532 
   8533 		eval supported=\$$cacheid
   8534 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8535 printf '%s\n' "$supported" >&6; }
   8536 		if test "$supported" = "yes" ; then
   8537 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   8538 			found="yes"
   8539 		fi
   8540 	fi
   8541 
   8542 	if test $found = "no" ; then
   8543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8545 		fi
   8546 
   8547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8549 		fi
   8550 
   8551 		CFLAGS="$CFLAGS -fd"
   8552 
   8553 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   8554 printf %s "checking if $CC supports -fd... " >&6; }
   8555 		cacheid=xorg_cv_cc_flag__fd
   8556 		if eval test \${$cacheid+y}
   8557 then :
   8558   printf %s "(cached) " >&6
   8559 else case e in #(
   8560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8561 /* end confdefs.h.  */
   8562 int i;
   8563 int
   8564 main (void)
   8565 {
   8566 
   8567   ;
   8568   return 0;
   8569 }
   8570 _ACEOF
   8571 if ac_fn_c_try_link "$LINENO"
   8572 then :
   8573   eval $cacheid=yes
   8574 else case e in #(
   8575   e) eval $cacheid=no ;;
   8576 esac
   8577 fi
   8578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8579     conftest$ac_exeext conftest.$ac_ext ;;
   8580 esac
   8581 fi
   8582 
   8583 
   8584 		CFLAGS="$xorg_testset_save_CFLAGS"
   8585 
   8586 		eval supported=\$$cacheid
   8587 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8588 printf '%s\n' "$supported" >&6; }
   8589 		if test "$supported" = "yes" ; then
   8590 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   8591 			found="yes"
   8592 		fi
   8593 	fi
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 # This chunk adds additional warnings that could catch undesired effects.
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 xorg_testset_save_CFLAGS="$CFLAGS"
   8614 
   8615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8620 then :
   8621   printf %s "(cached) " >&6
   8622 else case e in #(
   8623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8624 /* end confdefs.h.  */
   8625 int i;
   8626 _ACEOF
   8627 if ac_fn_c_try_compile "$LINENO"
   8628 then :
   8629   xorg_cv_cc_flag_unknown_warning_option=yes
   8630 else case e in #(
   8631   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8632 esac
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8635 esac
   8636 fi
   8637 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8638 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8640 	CFLAGS="$xorg_testset_save_CFLAGS"
   8641 fi
   8642 
   8643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 	fi
   8647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8648 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8649 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8650 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8651 then :
   8652   printf %s "(cached) " >&6
   8653 else case e in #(
   8654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 _ACEOF
   8658 if ac_fn_c_try_compile "$LINENO"
   8659 then :
   8660   xorg_cv_cc_flag_unused_command_line_argument=yes
   8661 else case e in #(
   8662   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8663 esac
   8664 fi
   8665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8666 esac
   8667 fi
   8668 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8669 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8671 	CFLAGS="$xorg_testset_save_CFLAGS"
   8672 fi
   8673 
   8674 found="no"
   8675 
   8676 	if test $found = "no" ; then
   8677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 		fi
   8680 
   8681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 		fi
   8684 
   8685 		CFLAGS="$CFLAGS -Wunused"
   8686 
   8687 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   8688 printf %s "checking if $CC supports -Wunused... " >&6; }
   8689 		cacheid=xorg_cv_cc_flag__Wunused
   8690 		if eval test \${$cacheid+y}
   8691 then :
   8692   printf %s "(cached) " >&6
   8693 else case e in #(
   8694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8695 /* end confdefs.h.  */
   8696 int i;
   8697 int
   8698 main (void)
   8699 {
   8700 
   8701   ;
   8702   return 0;
   8703 }
   8704 _ACEOF
   8705 if ac_fn_c_try_link "$LINENO"
   8706 then :
   8707   eval $cacheid=yes
   8708 else case e in #(
   8709   e) eval $cacheid=no ;;
   8710 esac
   8711 fi
   8712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8713     conftest$ac_exeext conftest.$ac_ext ;;
   8714 esac
   8715 fi
   8716 
   8717 
   8718 		CFLAGS="$xorg_testset_save_CFLAGS"
   8719 
   8720 		eval supported=\$$cacheid
   8721 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8722 printf '%s\n' "$supported" >&6; }
   8723 		if test "$supported" = "yes" ; then
   8724 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   8725 			found="yes"
   8726 		fi
   8727 	fi
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 xorg_testset_save_CFLAGS="$CFLAGS"
   8744 
   8745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8747 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8748 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8749 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8750 then :
   8751   printf %s "(cached) " >&6
   8752 else case e in #(
   8753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8754 /* end confdefs.h.  */
   8755 int i;
   8756 _ACEOF
   8757 if ac_fn_c_try_compile "$LINENO"
   8758 then :
   8759   xorg_cv_cc_flag_unknown_warning_option=yes
   8760 else case e in #(
   8761   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8762 esac
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8765 esac
   8766 fi
   8767 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8768 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8770 	CFLAGS="$xorg_testset_save_CFLAGS"
   8771 fi
   8772 
   8773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 	fi
   8777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8778 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8781 then :
   8782   printf %s "(cached) " >&6
   8783 else case e in #(
   8784   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8785 /* end confdefs.h.  */
   8786 int i;
   8787 _ACEOF
   8788 if ac_fn_c_try_compile "$LINENO"
   8789 then :
   8790   xorg_cv_cc_flag_unused_command_line_argument=yes
   8791 else case e in #(
   8792   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8793 esac
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8796 esac
   8797 fi
   8798 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8799 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8801 	CFLAGS="$xorg_testset_save_CFLAGS"
   8802 fi
   8803 
   8804 found="no"
   8805 
   8806 	if test $found = "no" ; then
   8807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8809 		fi
   8810 
   8811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 		fi
   8814 
   8815 		CFLAGS="$CFLAGS -Wuninitialized"
   8816 
   8817 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   8818 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   8819 		cacheid=xorg_cv_cc_flag__Wuninitialized
   8820 		if eval test \${$cacheid+y}
   8821 then :
   8822   printf %s "(cached) " >&6
   8823 else case e in #(
   8824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8825 /* end confdefs.h.  */
   8826 int i;
   8827 int
   8828 main (void)
   8829 {
   8830 
   8831   ;
   8832   return 0;
   8833 }
   8834 _ACEOF
   8835 if ac_fn_c_try_link "$LINENO"
   8836 then :
   8837   eval $cacheid=yes
   8838 else case e in #(
   8839   e) eval $cacheid=no ;;
   8840 esac
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8843     conftest$ac_exeext conftest.$ac_ext ;;
   8844 esac
   8845 fi
   8846 
   8847 
   8848 		CFLAGS="$xorg_testset_save_CFLAGS"
   8849 
   8850 		eval supported=\$$cacheid
   8851 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8852 printf '%s\n' "$supported" >&6; }
   8853 		if test "$supported" = "yes" ; then
   8854 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   8855 			found="yes"
   8856 		fi
   8857 	fi
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 xorg_testset_save_CFLAGS="$CFLAGS"
   8874 
   8875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8880 then :
   8881   printf %s "(cached) " >&6
   8882 else case e in #(
   8883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8884 /* end confdefs.h.  */
   8885 int i;
   8886 _ACEOF
   8887 if ac_fn_c_try_compile "$LINENO"
   8888 then :
   8889   xorg_cv_cc_flag_unknown_warning_option=yes
   8890 else case e in #(
   8891   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8892 esac
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8895 esac
   8896 fi
   8897 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8898 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8900 	CFLAGS="$xorg_testset_save_CFLAGS"
   8901 fi
   8902 
   8903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	fi
   8907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8909 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8910 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8911 then :
   8912   printf %s "(cached) " >&6
   8913 else case e in #(
   8914   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8915 /* end confdefs.h.  */
   8916 int i;
   8917 _ACEOF
   8918 if ac_fn_c_try_compile "$LINENO"
   8919 then :
   8920   xorg_cv_cc_flag_unused_command_line_argument=yes
   8921 else case e in #(
   8922   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8923 esac
   8924 fi
   8925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8926 esac
   8927 fi
   8928 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8929 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8931 	CFLAGS="$xorg_testset_save_CFLAGS"
   8932 fi
   8933 
   8934 found="no"
   8935 
   8936 	if test $found = "no" ; then
   8937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8939 		fi
   8940 
   8941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8943 		fi
   8944 
   8945 		CFLAGS="$CFLAGS -Wshadow"
   8946 
   8947 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   8948 printf %s "checking if $CC supports -Wshadow... " >&6; }
   8949 		cacheid=xorg_cv_cc_flag__Wshadow
   8950 		if eval test \${$cacheid+y}
   8951 then :
   8952   printf %s "(cached) " >&6
   8953 else case e in #(
   8954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 int
   8958 main (void)
   8959 {
   8960 
   8961   ;
   8962   return 0;
   8963 }
   8964 _ACEOF
   8965 if ac_fn_c_try_link "$LINENO"
   8966 then :
   8967   eval $cacheid=yes
   8968 else case e in #(
   8969   e) eval $cacheid=no ;;
   8970 esac
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8973     conftest$ac_exeext conftest.$ac_ext ;;
   8974 esac
   8975 fi
   8976 
   8977 
   8978 		CFLAGS="$xorg_testset_save_CFLAGS"
   8979 
   8980 		eval supported=\$$cacheid
   8981 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8982 printf '%s\n' "$supported" >&6; }
   8983 		if test "$supported" = "yes" ; then
   8984 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   8985 			found="yes"
   8986 		fi
   8987 	fi
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 xorg_testset_save_CFLAGS="$CFLAGS"
   9004 
   9005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9010 then :
   9011   printf %s "(cached) " >&6
   9012 else case e in #(
   9013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"
   9018 then :
   9019   xorg_cv_cc_flag_unknown_warning_option=yes
   9020 else case e in #(
   9021   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9022 esac
   9023 fi
   9024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9025 esac
   9026 fi
   9027 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9028 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9030 	CFLAGS="$xorg_testset_save_CFLAGS"
   9031 fi
   9032 
   9033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 	fi
   9037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9038 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9041 then :
   9042   printf %s "(cached) " >&6
   9043 else case e in #(
   9044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9045 /* end confdefs.h.  */
   9046 int i;
   9047 _ACEOF
   9048 if ac_fn_c_try_compile "$LINENO"
   9049 then :
   9050   xorg_cv_cc_flag_unused_command_line_argument=yes
   9051 else case e in #(
   9052   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9053 esac
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9056 esac
   9057 fi
   9058 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9059 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9061 	CFLAGS="$xorg_testset_save_CFLAGS"
   9062 fi
   9063 
   9064 found="no"
   9065 
   9066 	if test $found = "no" ; then
   9067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9069 		fi
   9070 
   9071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9073 		fi
   9074 
   9075 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   9076 
   9077 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   9078 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   9079 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   9080 		if eval test \${$cacheid+y}
   9081 then :
   9082   printf %s "(cached) " >&6
   9083 else case e in #(
   9084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9085 /* end confdefs.h.  */
   9086 int i;
   9087 int
   9088 main (void)
   9089 {
   9090 
   9091   ;
   9092   return 0;
   9093 }
   9094 _ACEOF
   9095 if ac_fn_c_try_link "$LINENO"
   9096 then :
   9097   eval $cacheid=yes
   9098 else case e in #(
   9099   e) eval $cacheid=no ;;
   9100 esac
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9103     conftest$ac_exeext conftest.$ac_ext ;;
   9104 esac
   9105 fi
   9106 
   9107 
   9108 		CFLAGS="$xorg_testset_save_CFLAGS"
   9109 
   9110 		eval supported=\$$cacheid
   9111 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9112 printf '%s\n' "$supported" >&6; }
   9113 		if test "$supported" = "yes" ; then
   9114 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   9115 			found="yes"
   9116 		fi
   9117 	fi
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 xorg_testset_save_CFLAGS="$CFLAGS"
   9134 
   9135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9137 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9140 then :
   9141   printf %s "(cached) " >&6
   9142 else case e in #(
   9143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9144 /* end confdefs.h.  */
   9145 int i;
   9146 _ACEOF
   9147 if ac_fn_c_try_compile "$LINENO"
   9148 then :
   9149   xorg_cv_cc_flag_unknown_warning_option=yes
   9150 else case e in #(
   9151   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9152 esac
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9155 esac
   9156 fi
   9157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9158 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9160 	CFLAGS="$xorg_testset_save_CFLAGS"
   9161 fi
   9162 
   9163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9166 	fi
   9167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9168 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9171 then :
   9172   printf %s "(cached) " >&6
   9173 else case e in #(
   9174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9175 /* end confdefs.h.  */
   9176 int i;
   9177 _ACEOF
   9178 if ac_fn_c_try_compile "$LINENO"
   9179 then :
   9180   xorg_cv_cc_flag_unused_command_line_argument=yes
   9181 else case e in #(
   9182   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9183 esac
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9186 esac
   9187 fi
   9188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9189 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 found="no"
   9195 
   9196 	if test $found = "no" ; then
   9197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 		fi
   9200 
   9201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9203 		fi
   9204 
   9205 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   9206 
   9207 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   9208 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   9209 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   9210 		if eval test \${$cacheid+y}
   9211 then :
   9212   printf %s "(cached) " >&6
   9213 else case e in #(
   9214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9215 /* end confdefs.h.  */
   9216 int i;
   9217 int
   9218 main (void)
   9219 {
   9220 
   9221   ;
   9222   return 0;
   9223 }
   9224 _ACEOF
   9225 if ac_fn_c_try_link "$LINENO"
   9226 then :
   9227   eval $cacheid=yes
   9228 else case e in #(
   9229   e) eval $cacheid=no ;;
   9230 esac
   9231 fi
   9232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9233     conftest$ac_exeext conftest.$ac_ext ;;
   9234 esac
   9235 fi
   9236 
   9237 
   9238 		CFLAGS="$xorg_testset_save_CFLAGS"
   9239 
   9240 		eval supported=\$$cacheid
   9241 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9242 printf '%s\n' "$supported" >&6; }
   9243 		if test "$supported" = "yes" ; then
   9244 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   9245 			found="yes"
   9246 		fi
   9247 	fi
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 xorg_testset_save_CFLAGS="$CFLAGS"
   9264 
   9265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9267 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9268 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9269 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9270 then :
   9271   printf %s "(cached) " >&6
   9272 else case e in #(
   9273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 _ACEOF
   9277 if ac_fn_c_try_compile "$LINENO"
   9278 then :
   9279   xorg_cv_cc_flag_unknown_warning_option=yes
   9280 else case e in #(
   9281   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9282 esac
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9285 esac
   9286 fi
   9287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9288 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9290 	CFLAGS="$xorg_testset_save_CFLAGS"
   9291 fi
   9292 
   9293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9296 	fi
   9297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9298 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9301 then :
   9302   printf %s "(cached) " >&6
   9303 else case e in #(
   9304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 _ACEOF
   9308 if ac_fn_c_try_compile "$LINENO"
   9309 then :
   9310   xorg_cv_cc_flag_unused_command_line_argument=yes
   9311 else case e in #(
   9312   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9313 esac
   9314 fi
   9315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9316 esac
   9317 fi
   9318 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9319 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9321 	CFLAGS="$xorg_testset_save_CFLAGS"
   9322 fi
   9323 
   9324 found="no"
   9325 
   9326 	if test $found = "no" ; then
   9327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9329 		fi
   9330 
   9331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9333 		fi
   9334 
   9335 		CFLAGS="$CFLAGS -Wredundant-decls"
   9336 
   9337 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   9338 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   9339 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   9340 		if eval test \${$cacheid+y}
   9341 then :
   9342   printf %s "(cached) " >&6
   9343 else case e in #(
   9344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9345 /* end confdefs.h.  */
   9346 int i;
   9347 int
   9348 main (void)
   9349 {
   9350 
   9351   ;
   9352   return 0;
   9353 }
   9354 _ACEOF
   9355 if ac_fn_c_try_link "$LINENO"
   9356 then :
   9357   eval $cacheid=yes
   9358 else case e in #(
   9359   e) eval $cacheid=no ;;
   9360 esac
   9361 fi
   9362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9363     conftest$ac_exeext conftest.$ac_ext ;;
   9364 esac
   9365 fi
   9366 
   9367 
   9368 		CFLAGS="$xorg_testset_save_CFLAGS"
   9369 
   9370 		eval supported=\$$cacheid
   9371 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9372 printf '%s\n' "$supported" >&6; }
   9373 		if test "$supported" = "yes" ; then
   9374 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   9375 			found="yes"
   9376 		fi
   9377 	fi
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 xorg_testset_save_CFLAGS="$CFLAGS"
   9394 
   9395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9397 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else case e in #(
   9403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"
   9408 then :
   9409   xorg_cv_cc_flag_unknown_warning_option=yes
   9410 else case e in #(
   9411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9412 esac
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9415 esac
   9416 fi
   9417 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9418 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9420 	CFLAGS="$xorg_testset_save_CFLAGS"
   9421 fi
   9422 
   9423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9426 	fi
   9427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9428 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9431 then :
   9432   printf %s "(cached) " >&6
   9433 else case e in #(
   9434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 _ACEOF
   9438 if ac_fn_c_try_compile "$LINENO"
   9439 then :
   9440   xorg_cv_cc_flag_unused_command_line_argument=yes
   9441 else case e in #(
   9442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9443 esac
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9446 esac
   9447 fi
   9448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9449 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9451 	CFLAGS="$xorg_testset_save_CFLAGS"
   9452 fi
   9453 
   9454 found="no"
   9455 
   9456 	if test $found = "no" ; then
   9457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9459 		fi
   9460 
   9461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9463 		fi
   9464 
   9465 		CFLAGS="$CFLAGS -Wlogical-op"
   9466 
   9467 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   9468 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   9469 		cacheid=xorg_cv_cc_flag__Wlogical_op
   9470 		if eval test \${$cacheid+y}
   9471 then :
   9472   printf %s "(cached) " >&6
   9473 else case e in #(
   9474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9475 /* end confdefs.h.  */
   9476 int i;
   9477 int
   9478 main (void)
   9479 {
   9480 
   9481   ;
   9482   return 0;
   9483 }
   9484 _ACEOF
   9485 if ac_fn_c_try_link "$LINENO"
   9486 then :
   9487   eval $cacheid=yes
   9488 else case e in #(
   9489   e) eval $cacheid=no ;;
   9490 esac
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9493     conftest$ac_exeext conftest.$ac_ext ;;
   9494 esac
   9495 fi
   9496 
   9497 
   9498 		CFLAGS="$xorg_testset_save_CFLAGS"
   9499 
   9500 		eval supported=\$$cacheid
   9501 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9502 printf '%s\n' "$supported" >&6; }
   9503 		if test "$supported" = "yes" ; then
   9504 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   9505 			found="yes"
   9506 		fi
   9507 	fi
   9508 
   9509 
   9510 
   9511 # These are currently disabled because they are noisy.  They will be enabled
   9512 # in the future once the codebase is sufficiently modernized to silence
   9513 # them.  For now, I don't want them to drown out the other warnings.
   9514 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   9515 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   9516 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   9517 
   9518 # Turn some warnings into errors, so we don't accidentally get successful builds
   9519 # when there are problems that should be fixed.
   9520 
   9521 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 xorg_testset_save_CFLAGS="$CFLAGS"
   9536 
   9537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9539 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9542 then :
   9543   printf %s "(cached) " >&6
   9544 else case e in #(
   9545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9546 /* end confdefs.h.  */
   9547 int i;
   9548 _ACEOF
   9549 if ac_fn_c_try_compile "$LINENO"
   9550 then :
   9551   xorg_cv_cc_flag_unknown_warning_option=yes
   9552 else case e in #(
   9553   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9554 esac
   9555 fi
   9556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9557 esac
   9558 fi
   9559 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9560 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9562 	CFLAGS="$xorg_testset_save_CFLAGS"
   9563 fi
   9564 
   9565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9568 	fi
   9569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9570 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else case e in #(
   9576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"
   9581 then :
   9582   xorg_cv_cc_flag_unused_command_line_argument=yes
   9583 else case e in #(
   9584   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9585 esac
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9588 esac
   9589 fi
   9590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9591 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 found="no"
   9597 
   9598 	if test $found = "no" ; then
   9599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9601 		fi
   9602 
   9603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9605 		fi
   9606 
   9607 		CFLAGS="$CFLAGS -Werror=implicit"
   9608 
   9609 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   9610 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   9611 		cacheid=xorg_cv_cc_flag__Werror_implicit
   9612 		if eval test \${$cacheid+y}
   9613 then :
   9614   printf %s "(cached) " >&6
   9615 else case e in #(
   9616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9617 /* end confdefs.h.  */
   9618 int i;
   9619 int
   9620 main (void)
   9621 {
   9622 
   9623   ;
   9624   return 0;
   9625 }
   9626 _ACEOF
   9627 if ac_fn_c_try_link "$LINENO"
   9628 then :
   9629   eval $cacheid=yes
   9630 else case e in #(
   9631   e) eval $cacheid=no ;;
   9632 esac
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9635     conftest$ac_exeext conftest.$ac_ext ;;
   9636 esac
   9637 fi
   9638 
   9639 
   9640 		CFLAGS="$xorg_testset_save_CFLAGS"
   9641 
   9642 		eval supported=\$$cacheid
   9643 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9644 printf '%s\n' "$supported" >&6; }
   9645 		if test "$supported" = "yes" ; then
   9646 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   9647 			found="yes"
   9648 		fi
   9649 	fi
   9650 
   9651 	if test $found = "no" ; then
   9652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9654 		fi
   9655 
   9656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9658 		fi
   9659 
   9660 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   9661 
   9662 		{ 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
   9663 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   9664 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   9665 		if eval test \${$cacheid+y}
   9666 then :
   9667   printf %s "(cached) " >&6
   9668 else case e in #(
   9669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9670 /* end confdefs.h.  */
   9671 int i;
   9672 int
   9673 main (void)
   9674 {
   9675 
   9676   ;
   9677   return 0;
   9678 }
   9679 _ACEOF
   9680 if ac_fn_c_try_link "$LINENO"
   9681 then :
   9682   eval $cacheid=yes
   9683 else case e in #(
   9684   e) eval $cacheid=no ;;
   9685 esac
   9686 fi
   9687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9688     conftest$ac_exeext conftest.$ac_ext ;;
   9689 esac
   9690 fi
   9691 
   9692 
   9693 		CFLAGS="$xorg_testset_save_CFLAGS"
   9694 
   9695 		eval supported=\$$cacheid
   9696 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9697 printf '%s\n' "$supported" >&6; }
   9698 		if test "$supported" = "yes" ; then
   9699 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   9700 			found="yes"
   9701 		fi
   9702 	fi
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 xorg_testset_save_CFLAGS="$CFLAGS"
   9719 
   9720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9722 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9725 then :
   9726   printf %s "(cached) " >&6
   9727 else case e in #(
   9728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9729 /* end confdefs.h.  */
   9730 int i;
   9731 _ACEOF
   9732 if ac_fn_c_try_compile "$LINENO"
   9733 then :
   9734   xorg_cv_cc_flag_unknown_warning_option=yes
   9735 else case e in #(
   9736   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9737 esac
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9740 esac
   9741 fi
   9742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9743 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9745 	CFLAGS="$xorg_testset_save_CFLAGS"
   9746 fi
   9747 
   9748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9751 	fi
   9752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9753 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9754 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9755 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9756 then :
   9757   printf %s "(cached) " >&6
   9758 else case e in #(
   9759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 int i;
   9762 _ACEOF
   9763 if ac_fn_c_try_compile "$LINENO"
   9764 then :
   9765   xorg_cv_cc_flag_unused_command_line_argument=yes
   9766 else case e in #(
   9767   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9768 esac
   9769 fi
   9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9771 esac
   9772 fi
   9773 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9774 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9776 	CFLAGS="$xorg_testset_save_CFLAGS"
   9777 fi
   9778 
   9779 found="no"
   9780 
   9781 	if test $found = "no" ; then
   9782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9784 		fi
   9785 
   9786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9788 		fi
   9789 
   9790 		CFLAGS="$CFLAGS -Werror=nonnull"
   9791 
   9792 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   9793 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   9794 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   9795 		if eval test \${$cacheid+y}
   9796 then :
   9797   printf %s "(cached) " >&6
   9798 else case e in #(
   9799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9800 /* end confdefs.h.  */
   9801 int i;
   9802 int
   9803 main (void)
   9804 {
   9805 
   9806   ;
   9807   return 0;
   9808 }
   9809 _ACEOF
   9810 if ac_fn_c_try_link "$LINENO"
   9811 then :
   9812   eval $cacheid=yes
   9813 else case e in #(
   9814   e) eval $cacheid=no ;;
   9815 esac
   9816 fi
   9817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9818     conftest$ac_exeext conftest.$ac_ext ;;
   9819 esac
   9820 fi
   9821 
   9822 
   9823 		CFLAGS="$xorg_testset_save_CFLAGS"
   9824 
   9825 		eval supported=\$$cacheid
   9826 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9827 printf '%s\n' "$supported" >&6; }
   9828 		if test "$supported" = "yes" ; then
   9829 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   9830 			found="yes"
   9831 		fi
   9832 	fi
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 xorg_testset_save_CFLAGS="$CFLAGS"
   9849 
   9850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9852 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9855 then :
   9856   printf %s "(cached) " >&6
   9857 else case e in #(
   9858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9859 /* end confdefs.h.  */
   9860 int i;
   9861 _ACEOF
   9862 if ac_fn_c_try_compile "$LINENO"
   9863 then :
   9864   xorg_cv_cc_flag_unknown_warning_option=yes
   9865 else case e in #(
   9866   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9867 esac
   9868 fi
   9869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9870 esac
   9871 fi
   9872 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9873 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9875 	CFLAGS="$xorg_testset_save_CFLAGS"
   9876 fi
   9877 
   9878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9881 	fi
   9882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9883 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9884 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9885 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9886 then :
   9887   printf %s "(cached) " >&6
   9888 else case e in #(
   9889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int i;
   9892 _ACEOF
   9893 if ac_fn_c_try_compile "$LINENO"
   9894 then :
   9895   xorg_cv_cc_flag_unused_command_line_argument=yes
   9896 else case e in #(
   9897   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9898 esac
   9899 fi
   9900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9901 esac
   9902 fi
   9903 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9904 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9906 	CFLAGS="$xorg_testset_save_CFLAGS"
   9907 fi
   9908 
   9909 found="no"
   9910 
   9911 	if test $found = "no" ; then
   9912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9914 		fi
   9915 
   9916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9918 		fi
   9919 
   9920 		CFLAGS="$CFLAGS -Werror=init-self"
   9921 
   9922 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   9923 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   9924 		cacheid=xorg_cv_cc_flag__Werror_init_self
   9925 		if eval test \${$cacheid+y}
   9926 then :
   9927   printf %s "(cached) " >&6
   9928 else case e in #(
   9929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9930 /* end confdefs.h.  */
   9931 int i;
   9932 int
   9933 main (void)
   9934 {
   9935 
   9936   ;
   9937   return 0;
   9938 }
   9939 _ACEOF
   9940 if ac_fn_c_try_link "$LINENO"
   9941 then :
   9942   eval $cacheid=yes
   9943 else case e in #(
   9944   e) eval $cacheid=no ;;
   9945 esac
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9948     conftest$ac_exeext conftest.$ac_ext ;;
   9949 esac
   9950 fi
   9951 
   9952 
   9953 		CFLAGS="$xorg_testset_save_CFLAGS"
   9954 
   9955 		eval supported=\$$cacheid
   9956 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9957 printf '%s\n' "$supported" >&6; }
   9958 		if test "$supported" = "yes" ; then
   9959 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   9960 			found="yes"
   9961 		fi
   9962 	fi
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 xorg_testset_save_CFLAGS="$CFLAGS"
   9979 
   9980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9982 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9985 then :
   9986   printf %s "(cached) " >&6
   9987 else case e in #(
   9988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9989 /* end confdefs.h.  */
   9990 int i;
   9991 _ACEOF
   9992 if ac_fn_c_try_compile "$LINENO"
   9993 then :
   9994   xorg_cv_cc_flag_unknown_warning_option=yes
   9995 else case e in #(
   9996   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9997 esac
   9998 fi
   9999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10000 esac
   10001 fi
   10002 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10003 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10005 	CFLAGS="$xorg_testset_save_CFLAGS"
   10006 fi
   10007 
   10008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10011 	fi
   10012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10013 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10014 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10015 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10016 then :
   10017   printf %s "(cached) " >&6
   10018 else case e in #(
   10019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10020 /* end confdefs.h.  */
   10021 int i;
   10022 _ACEOF
   10023 if ac_fn_c_try_compile "$LINENO"
   10024 then :
   10025   xorg_cv_cc_flag_unused_command_line_argument=yes
   10026 else case e in #(
   10027   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10028 esac
   10029 fi
   10030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10031 esac
   10032 fi
   10033 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10034 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10036 	CFLAGS="$xorg_testset_save_CFLAGS"
   10037 fi
   10038 
   10039 found="no"
   10040 
   10041 	if test $found = "no" ; then
   10042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 		fi
   10045 
   10046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10048 		fi
   10049 
   10050 		CFLAGS="$CFLAGS -Werror=main"
   10051 
   10052 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   10053 printf %s "checking if $CC supports -Werror=main... " >&6; }
   10054 		cacheid=xorg_cv_cc_flag__Werror_main
   10055 		if eval test \${$cacheid+y}
   10056 then :
   10057   printf %s "(cached) " >&6
   10058 else case e in #(
   10059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10060 /* end confdefs.h.  */
   10061 int i;
   10062 int
   10063 main (void)
   10064 {
   10065 
   10066   ;
   10067   return 0;
   10068 }
   10069 _ACEOF
   10070 if ac_fn_c_try_link "$LINENO"
   10071 then :
   10072   eval $cacheid=yes
   10073 else case e in #(
   10074   e) eval $cacheid=no ;;
   10075 esac
   10076 fi
   10077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10078     conftest$ac_exeext conftest.$ac_ext ;;
   10079 esac
   10080 fi
   10081 
   10082 
   10083 		CFLAGS="$xorg_testset_save_CFLAGS"
   10084 
   10085 		eval supported=\$$cacheid
   10086 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10087 printf '%s\n' "$supported" >&6; }
   10088 		if test "$supported" = "yes" ; then
   10089 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   10090 			found="yes"
   10091 		fi
   10092 	fi
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 xorg_testset_save_CFLAGS="$CFLAGS"
   10109 
   10110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10113 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10114 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10115 then :
   10116   printf %s "(cached) " >&6
   10117 else case e in #(
   10118   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10119 /* end confdefs.h.  */
   10120 int i;
   10121 _ACEOF
   10122 if ac_fn_c_try_compile "$LINENO"
   10123 then :
   10124   xorg_cv_cc_flag_unknown_warning_option=yes
   10125 else case e in #(
   10126   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10127 esac
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10130 esac
   10131 fi
   10132 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10133 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10135 	CFLAGS="$xorg_testset_save_CFLAGS"
   10136 fi
   10137 
   10138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10141 	fi
   10142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10143 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10144 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10145 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10146 then :
   10147   printf %s "(cached) " >&6
   10148 else case e in #(
   10149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10150 /* end confdefs.h.  */
   10151 int i;
   10152 _ACEOF
   10153 if ac_fn_c_try_compile "$LINENO"
   10154 then :
   10155   xorg_cv_cc_flag_unused_command_line_argument=yes
   10156 else case e in #(
   10157   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10158 esac
   10159 fi
   10160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10161 esac
   10162 fi
   10163 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10164 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10166 	CFLAGS="$xorg_testset_save_CFLAGS"
   10167 fi
   10168 
   10169 found="no"
   10170 
   10171 	if test $found = "no" ; then
   10172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10174 		fi
   10175 
   10176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10178 		fi
   10179 
   10180 		CFLAGS="$CFLAGS -Werror=missing-braces"
   10181 
   10182 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   10183 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   10184 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   10185 		if eval test \${$cacheid+y}
   10186 then :
   10187   printf %s "(cached) " >&6
   10188 else case e in #(
   10189   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10190 /* end confdefs.h.  */
   10191 int i;
   10192 int
   10193 main (void)
   10194 {
   10195 
   10196   ;
   10197   return 0;
   10198 }
   10199 _ACEOF
   10200 if ac_fn_c_try_link "$LINENO"
   10201 then :
   10202   eval $cacheid=yes
   10203 else case e in #(
   10204   e) eval $cacheid=no ;;
   10205 esac
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10208     conftest$ac_exeext conftest.$ac_ext ;;
   10209 esac
   10210 fi
   10211 
   10212 
   10213 		CFLAGS="$xorg_testset_save_CFLAGS"
   10214 
   10215 		eval supported=\$$cacheid
   10216 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10217 printf '%s\n' "$supported" >&6; }
   10218 		if test "$supported" = "yes" ; then
   10219 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   10220 			found="yes"
   10221 		fi
   10222 	fi
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 xorg_testset_save_CFLAGS="$CFLAGS"
   10239 
   10240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10242 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10243 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10244 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10245 then :
   10246   printf %s "(cached) " >&6
   10247 else case e in #(
   10248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10249 /* end confdefs.h.  */
   10250 int i;
   10251 _ACEOF
   10252 if ac_fn_c_try_compile "$LINENO"
   10253 then :
   10254   xorg_cv_cc_flag_unknown_warning_option=yes
   10255 else case e in #(
   10256   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10257 esac
   10258 fi
   10259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10260 esac
   10261 fi
   10262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10263 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10265 	CFLAGS="$xorg_testset_save_CFLAGS"
   10266 fi
   10267 
   10268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10271 	fi
   10272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10273 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10274 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10275 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10276 then :
   10277   printf %s "(cached) " >&6
   10278 else case e in #(
   10279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10280 /* end confdefs.h.  */
   10281 int i;
   10282 _ACEOF
   10283 if ac_fn_c_try_compile "$LINENO"
   10284 then :
   10285   xorg_cv_cc_flag_unused_command_line_argument=yes
   10286 else case e in #(
   10287   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10288 esac
   10289 fi
   10290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10291 esac
   10292 fi
   10293 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10294 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10296 	CFLAGS="$xorg_testset_save_CFLAGS"
   10297 fi
   10298 
   10299 found="no"
   10300 
   10301 	if test $found = "no" ; then
   10302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10304 		fi
   10305 
   10306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10308 		fi
   10309 
   10310 		CFLAGS="$CFLAGS -Werror=sequence-point"
   10311 
   10312 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   10313 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   10314 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   10315 		if eval test \${$cacheid+y}
   10316 then :
   10317   printf %s "(cached) " >&6
   10318 else case e in #(
   10319   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 int i;
   10322 int
   10323 main (void)
   10324 {
   10325 
   10326   ;
   10327   return 0;
   10328 }
   10329 _ACEOF
   10330 if ac_fn_c_try_link "$LINENO"
   10331 then :
   10332   eval $cacheid=yes
   10333 else case e in #(
   10334   e) eval $cacheid=no ;;
   10335 esac
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10338     conftest$ac_exeext conftest.$ac_ext ;;
   10339 esac
   10340 fi
   10341 
   10342 
   10343 		CFLAGS="$xorg_testset_save_CFLAGS"
   10344 
   10345 		eval supported=\$$cacheid
   10346 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10347 printf '%s\n' "$supported" >&6; }
   10348 		if test "$supported" = "yes" ; then
   10349 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   10350 			found="yes"
   10351 		fi
   10352 	fi
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 xorg_testset_save_CFLAGS="$CFLAGS"
   10369 
   10370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10372 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10375 then :
   10376   printf %s "(cached) " >&6
   10377 else case e in #(
   10378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10379 /* end confdefs.h.  */
   10380 int i;
   10381 _ACEOF
   10382 if ac_fn_c_try_compile "$LINENO"
   10383 then :
   10384   xorg_cv_cc_flag_unknown_warning_option=yes
   10385 else case e in #(
   10386   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10387 esac
   10388 fi
   10389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10390 esac
   10391 fi
   10392 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10393 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10395 	CFLAGS="$xorg_testset_save_CFLAGS"
   10396 fi
   10397 
   10398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10401 	fi
   10402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10403 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10404 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10405 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10406 then :
   10407   printf %s "(cached) " >&6
   10408 else case e in #(
   10409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10410 /* end confdefs.h.  */
   10411 int i;
   10412 _ACEOF
   10413 if ac_fn_c_try_compile "$LINENO"
   10414 then :
   10415   xorg_cv_cc_flag_unused_command_line_argument=yes
   10416 else case e in #(
   10417   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10418 esac
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10421 esac
   10422 fi
   10423 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10424 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10426 	CFLAGS="$xorg_testset_save_CFLAGS"
   10427 fi
   10428 
   10429 found="no"
   10430 
   10431 	if test $found = "no" ; then
   10432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10434 		fi
   10435 
   10436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10438 		fi
   10439 
   10440 		CFLAGS="$CFLAGS -Werror=return-type"
   10441 
   10442 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   10443 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   10444 		cacheid=xorg_cv_cc_flag__Werror_return_type
   10445 		if eval test \${$cacheid+y}
   10446 then :
   10447   printf %s "(cached) " >&6
   10448 else case e in #(
   10449   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10450 /* end confdefs.h.  */
   10451 int i;
   10452 int
   10453 main (void)
   10454 {
   10455 
   10456   ;
   10457   return 0;
   10458 }
   10459 _ACEOF
   10460 if ac_fn_c_try_link "$LINENO"
   10461 then :
   10462   eval $cacheid=yes
   10463 else case e in #(
   10464   e) eval $cacheid=no ;;
   10465 esac
   10466 fi
   10467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10468     conftest$ac_exeext conftest.$ac_ext ;;
   10469 esac
   10470 fi
   10471 
   10472 
   10473 		CFLAGS="$xorg_testset_save_CFLAGS"
   10474 
   10475 		eval supported=\$$cacheid
   10476 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10477 printf '%s\n' "$supported" >&6; }
   10478 		if test "$supported" = "yes" ; then
   10479 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   10480 			found="yes"
   10481 		fi
   10482 	fi
   10483 
   10484 	if test $found = "no" ; then
   10485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10487 		fi
   10488 
   10489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10491 		fi
   10492 
   10493 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   10494 
   10495 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   10496 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   10497 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   10498 		if eval test \${$cacheid+y}
   10499 then :
   10500   printf %s "(cached) " >&6
   10501 else case e in #(
   10502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10503 /* end confdefs.h.  */
   10504 int i;
   10505 int
   10506 main (void)
   10507 {
   10508 
   10509   ;
   10510   return 0;
   10511 }
   10512 _ACEOF
   10513 if ac_fn_c_try_link "$LINENO"
   10514 then :
   10515   eval $cacheid=yes
   10516 else case e in #(
   10517   e) eval $cacheid=no ;;
   10518 esac
   10519 fi
   10520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10521     conftest$ac_exeext conftest.$ac_ext ;;
   10522 esac
   10523 fi
   10524 
   10525 
   10526 		CFLAGS="$xorg_testset_save_CFLAGS"
   10527 
   10528 		eval supported=\$$cacheid
   10529 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10530 printf '%s\n' "$supported" >&6; }
   10531 		if test "$supported" = "yes" ; then
   10532 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   10533 			found="yes"
   10534 		fi
   10535 	fi
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 xorg_testset_save_CFLAGS="$CFLAGS"
   10552 
   10553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10556 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10557 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10558 then :
   10559   printf %s "(cached) " >&6
   10560 else case e in #(
   10561   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10562 /* end confdefs.h.  */
   10563 int i;
   10564 _ACEOF
   10565 if ac_fn_c_try_compile "$LINENO"
   10566 then :
   10567   xorg_cv_cc_flag_unknown_warning_option=yes
   10568 else case e in #(
   10569   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10570 esac
   10571 fi
   10572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10573 esac
   10574 fi
   10575 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10576 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10578 	CFLAGS="$xorg_testset_save_CFLAGS"
   10579 fi
   10580 
   10581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10584 	fi
   10585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10586 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10587 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10588 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10589 then :
   10590   printf %s "(cached) " >&6
   10591 else case e in #(
   10592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10593 /* end confdefs.h.  */
   10594 int i;
   10595 _ACEOF
   10596 if ac_fn_c_try_compile "$LINENO"
   10597 then :
   10598   xorg_cv_cc_flag_unused_command_line_argument=yes
   10599 else case e in #(
   10600   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10601 esac
   10602 fi
   10603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10604 esac
   10605 fi
   10606 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10607 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10608 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10609 	CFLAGS="$xorg_testset_save_CFLAGS"
   10610 fi
   10611 
   10612 found="no"
   10613 
   10614 	if test $found = "no" ; then
   10615 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10616 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10617 		fi
   10618 
   10619 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10620 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10621 		fi
   10622 
   10623 		CFLAGS="$CFLAGS -Werror=trigraphs"
   10624 
   10625 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   10626 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   10627 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   10628 		if eval test \${$cacheid+y}
   10629 then :
   10630   printf %s "(cached) " >&6
   10631 else case e in #(
   10632   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10633 /* end confdefs.h.  */
   10634 int i;
   10635 int
   10636 main (void)
   10637 {
   10638 
   10639   ;
   10640   return 0;
   10641 }
   10642 _ACEOF
   10643 if ac_fn_c_try_link "$LINENO"
   10644 then :
   10645   eval $cacheid=yes
   10646 else case e in #(
   10647   e) eval $cacheid=no ;;
   10648 esac
   10649 fi
   10650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10651     conftest$ac_exeext conftest.$ac_ext ;;
   10652 esac
   10653 fi
   10654 
   10655 
   10656 		CFLAGS="$xorg_testset_save_CFLAGS"
   10657 
   10658 		eval supported=\$$cacheid
   10659 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10660 printf '%s\n' "$supported" >&6; }
   10661 		if test "$supported" = "yes" ; then
   10662 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   10663 			found="yes"
   10664 		fi
   10665 	fi
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 xorg_testset_save_CFLAGS="$CFLAGS"
   10682 
   10683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10685 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10686 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10687 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10688 then :
   10689   printf %s "(cached) " >&6
   10690 else case e in #(
   10691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10692 /* end confdefs.h.  */
   10693 int i;
   10694 _ACEOF
   10695 if ac_fn_c_try_compile "$LINENO"
   10696 then :
   10697   xorg_cv_cc_flag_unknown_warning_option=yes
   10698 else case e in #(
   10699   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10700 esac
   10701 fi
   10702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10703 esac
   10704 fi
   10705 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10706 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10707 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10708 	CFLAGS="$xorg_testset_save_CFLAGS"
   10709 fi
   10710 
   10711 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10712 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10713 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10714 	fi
   10715 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10716 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10717 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10718 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10719 then :
   10720   printf %s "(cached) " >&6
   10721 else case e in #(
   10722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10723 /* end confdefs.h.  */
   10724 int i;
   10725 _ACEOF
   10726 if ac_fn_c_try_compile "$LINENO"
   10727 then :
   10728   xorg_cv_cc_flag_unused_command_line_argument=yes
   10729 else case e in #(
   10730   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10731 esac
   10732 fi
   10733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10734 esac
   10735 fi
   10736 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10737 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10739 	CFLAGS="$xorg_testset_save_CFLAGS"
   10740 fi
   10741 
   10742 found="no"
   10743 
   10744 	if test $found = "no" ; then
   10745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10747 		fi
   10748 
   10749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10751 		fi
   10752 
   10753 		CFLAGS="$CFLAGS -Werror=array-bounds"
   10754 
   10755 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   10756 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   10757 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   10758 		if eval test \${$cacheid+y}
   10759 then :
   10760   printf %s "(cached) " >&6
   10761 else case e in #(
   10762   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10763 /* end confdefs.h.  */
   10764 int i;
   10765 int
   10766 main (void)
   10767 {
   10768 
   10769   ;
   10770   return 0;
   10771 }
   10772 _ACEOF
   10773 if ac_fn_c_try_link "$LINENO"
   10774 then :
   10775   eval $cacheid=yes
   10776 else case e in #(
   10777   e) eval $cacheid=no ;;
   10778 esac
   10779 fi
   10780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10781     conftest$ac_exeext conftest.$ac_ext ;;
   10782 esac
   10783 fi
   10784 
   10785 
   10786 		CFLAGS="$xorg_testset_save_CFLAGS"
   10787 
   10788 		eval supported=\$$cacheid
   10789 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10790 printf '%s\n' "$supported" >&6; }
   10791 		if test "$supported" = "yes" ; then
   10792 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   10793 			found="yes"
   10794 		fi
   10795 	fi
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 xorg_testset_save_CFLAGS="$CFLAGS"
   10812 
   10813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10815 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10816 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10817 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10818 then :
   10819   printf %s "(cached) " >&6
   10820 else case e in #(
   10821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 int i;
   10824 _ACEOF
   10825 if ac_fn_c_try_compile "$LINENO"
   10826 then :
   10827   xorg_cv_cc_flag_unknown_warning_option=yes
   10828 else case e in #(
   10829   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10830 esac
   10831 fi
   10832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10833 esac
   10834 fi
   10835 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10836 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10838 	CFLAGS="$xorg_testset_save_CFLAGS"
   10839 fi
   10840 
   10841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10844 	fi
   10845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10846 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10849 then :
   10850   printf %s "(cached) " >&6
   10851 else case e in #(
   10852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10853 /* end confdefs.h.  */
   10854 int i;
   10855 _ACEOF
   10856 if ac_fn_c_try_compile "$LINENO"
   10857 then :
   10858   xorg_cv_cc_flag_unused_command_line_argument=yes
   10859 else case e in #(
   10860   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10861 esac
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10864 esac
   10865 fi
   10866 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10867 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10869 	CFLAGS="$xorg_testset_save_CFLAGS"
   10870 fi
   10871 
   10872 found="no"
   10873 
   10874 	if test $found = "no" ; then
   10875 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10877 		fi
   10878 
   10879 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10881 		fi
   10882 
   10883 		CFLAGS="$CFLAGS -Werror=write-strings"
   10884 
   10885 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   10886 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   10887 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   10888 		if eval test \${$cacheid+y}
   10889 then :
   10890   printf %s "(cached) " >&6
   10891 else case e in #(
   10892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 int i;
   10895 int
   10896 main (void)
   10897 {
   10898 
   10899   ;
   10900   return 0;
   10901 }
   10902 _ACEOF
   10903 if ac_fn_c_try_link "$LINENO"
   10904 then :
   10905   eval $cacheid=yes
   10906 else case e in #(
   10907   e) eval $cacheid=no ;;
   10908 esac
   10909 fi
   10910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10911     conftest$ac_exeext conftest.$ac_ext ;;
   10912 esac
   10913 fi
   10914 
   10915 
   10916 		CFLAGS="$xorg_testset_save_CFLAGS"
   10917 
   10918 		eval supported=\$$cacheid
   10919 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10920 printf '%s\n' "$supported" >&6; }
   10921 		if test "$supported" = "yes" ; then
   10922 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   10923 			found="yes"
   10924 		fi
   10925 	fi
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 xorg_testset_save_CFLAGS="$CFLAGS"
   10942 
   10943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10945 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10946 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10947 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10948 then :
   10949   printf %s "(cached) " >&6
   10950 else case e in #(
   10951   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10952 /* end confdefs.h.  */
   10953 int i;
   10954 _ACEOF
   10955 if ac_fn_c_try_compile "$LINENO"
   10956 then :
   10957   xorg_cv_cc_flag_unknown_warning_option=yes
   10958 else case e in #(
   10959   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10960 esac
   10961 fi
   10962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10963 esac
   10964 fi
   10965 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10966 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10968 	CFLAGS="$xorg_testset_save_CFLAGS"
   10969 fi
   10970 
   10971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10974 	fi
   10975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10976 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10977 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10978 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10979 then :
   10980   printf %s "(cached) " >&6
   10981 else case e in #(
   10982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10983 /* end confdefs.h.  */
   10984 int i;
   10985 _ACEOF
   10986 if ac_fn_c_try_compile "$LINENO"
   10987 then :
   10988   xorg_cv_cc_flag_unused_command_line_argument=yes
   10989 else case e in #(
   10990   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10991 esac
   10992 fi
   10993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10994 esac
   10995 fi
   10996 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10997 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10999 	CFLAGS="$xorg_testset_save_CFLAGS"
   11000 fi
   11001 
   11002 found="no"
   11003 
   11004 	if test $found = "no" ; then
   11005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11007 		fi
   11008 
   11009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11011 		fi
   11012 
   11013 		CFLAGS="$CFLAGS -Werror=address"
   11014 
   11015 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   11016 printf %s "checking if $CC supports -Werror=address... " >&6; }
   11017 		cacheid=xorg_cv_cc_flag__Werror_address
   11018 		if eval test \${$cacheid+y}
   11019 then :
   11020   printf %s "(cached) " >&6
   11021 else case e in #(
   11022   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11023 /* end confdefs.h.  */
   11024 int i;
   11025 int
   11026 main (void)
   11027 {
   11028 
   11029   ;
   11030   return 0;
   11031 }
   11032 _ACEOF
   11033 if ac_fn_c_try_link "$LINENO"
   11034 then :
   11035   eval $cacheid=yes
   11036 else case e in #(
   11037   e) eval $cacheid=no ;;
   11038 esac
   11039 fi
   11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11041     conftest$ac_exeext conftest.$ac_ext ;;
   11042 esac
   11043 fi
   11044 
   11045 
   11046 		CFLAGS="$xorg_testset_save_CFLAGS"
   11047 
   11048 		eval supported=\$$cacheid
   11049 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11050 printf '%s\n' "$supported" >&6; }
   11051 		if test "$supported" = "yes" ; then
   11052 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   11053 			found="yes"
   11054 		fi
   11055 	fi
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 xorg_testset_save_CFLAGS="$CFLAGS"
   11072 
   11073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11075 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11076 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11077 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11078 then :
   11079   printf %s "(cached) " >&6
   11080 else case e in #(
   11081   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11082 /* end confdefs.h.  */
   11083 int i;
   11084 _ACEOF
   11085 if ac_fn_c_try_compile "$LINENO"
   11086 then :
   11087   xorg_cv_cc_flag_unknown_warning_option=yes
   11088 else case e in #(
   11089   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11090 esac
   11091 fi
   11092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11093 esac
   11094 fi
   11095 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11096 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11098 	CFLAGS="$xorg_testset_save_CFLAGS"
   11099 fi
   11100 
   11101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11104 	fi
   11105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11106 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11107 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11108 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11109 then :
   11110   printf %s "(cached) " >&6
   11111 else case e in #(
   11112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11113 /* end confdefs.h.  */
   11114 int i;
   11115 _ACEOF
   11116 if ac_fn_c_try_compile "$LINENO"
   11117 then :
   11118   xorg_cv_cc_flag_unused_command_line_argument=yes
   11119 else case e in #(
   11120   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11121 esac
   11122 fi
   11123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11124 esac
   11125 fi
   11126 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11127 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11129 	CFLAGS="$xorg_testset_save_CFLAGS"
   11130 fi
   11131 
   11132 found="no"
   11133 
   11134 	if test $found = "no" ; then
   11135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11137 		fi
   11138 
   11139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11141 		fi
   11142 
   11143 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   11144 
   11145 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   11146 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   11147 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   11148 		if eval test \${$cacheid+y}
   11149 then :
   11150   printf %s "(cached) " >&6
   11151 else case e in #(
   11152   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11153 /* end confdefs.h.  */
   11154 int i;
   11155 int
   11156 main (void)
   11157 {
   11158 
   11159   ;
   11160   return 0;
   11161 }
   11162 _ACEOF
   11163 if ac_fn_c_try_link "$LINENO"
   11164 then :
   11165   eval $cacheid=yes
   11166 else case e in #(
   11167   e) eval $cacheid=no ;;
   11168 esac
   11169 fi
   11170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11171     conftest$ac_exeext conftest.$ac_ext ;;
   11172 esac
   11173 fi
   11174 
   11175 
   11176 		CFLAGS="$xorg_testset_save_CFLAGS"
   11177 
   11178 		eval supported=\$$cacheid
   11179 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11180 printf '%s\n' "$supported" >&6; }
   11181 		if test "$supported" = "yes" ; then
   11182 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   11183 			found="yes"
   11184 		fi
   11185 	fi
   11186 
   11187 	if test $found = "no" ; then
   11188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11190 		fi
   11191 
   11192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11194 		fi
   11195 
   11196 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   11197 
   11198 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   11199 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   11200 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   11201 		if eval test \${$cacheid+y}
   11202 then :
   11203   printf %s "(cached) " >&6
   11204 else case e in #(
   11205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11206 /* end confdefs.h.  */
   11207 int i;
   11208 int
   11209 main (void)
   11210 {
   11211 
   11212   ;
   11213   return 0;
   11214 }
   11215 _ACEOF
   11216 if ac_fn_c_try_link "$LINENO"
   11217 then :
   11218   eval $cacheid=yes
   11219 else case e in #(
   11220   e) eval $cacheid=no ;;
   11221 esac
   11222 fi
   11223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11224     conftest$ac_exeext conftest.$ac_ext ;;
   11225 esac
   11226 fi
   11227 
   11228 
   11229 		CFLAGS="$xorg_testset_save_CFLAGS"
   11230 
   11231 		eval supported=\$$cacheid
   11232 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11233 printf '%s\n' "$supported" >&6; }
   11234 		if test "$supported" = "yes" ; then
   11235 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   11236 			found="yes"
   11237 		fi
   11238 	fi
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 xorg_testset_save_CFLAGS="$CFLAGS"
   11255 
   11256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11258 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11259 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11260 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11261 then :
   11262   printf %s "(cached) " >&6
   11263 else case e in #(
   11264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11265 /* end confdefs.h.  */
   11266 int i;
   11267 _ACEOF
   11268 if ac_fn_c_try_compile "$LINENO"
   11269 then :
   11270   xorg_cv_cc_flag_unknown_warning_option=yes
   11271 else case e in #(
   11272   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11273 esac
   11274 fi
   11275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11276 esac
   11277 fi
   11278 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11279 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11281 	CFLAGS="$xorg_testset_save_CFLAGS"
   11282 fi
   11283 
   11284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11287 	fi
   11288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11289 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11290 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11291 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11292 then :
   11293   printf %s "(cached) " >&6
   11294 else case e in #(
   11295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11296 /* end confdefs.h.  */
   11297 int i;
   11298 _ACEOF
   11299 if ac_fn_c_try_compile "$LINENO"
   11300 then :
   11301   xorg_cv_cc_flag_unused_command_line_argument=yes
   11302 else case e in #(
   11303   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11304 esac
   11305 fi
   11306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11307 esac
   11308 fi
   11309 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11310 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11312 	CFLAGS="$xorg_testset_save_CFLAGS"
   11313 fi
   11314 
   11315 found="no"
   11316 
   11317 	if test $found = "no" ; then
   11318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11320 		fi
   11321 
   11322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11324 		fi
   11325 
   11326 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   11327 
   11328 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   11329 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   11330 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   11331 		if eval test \${$cacheid+y}
   11332 then :
   11333   printf %s "(cached) " >&6
   11334 else case e in #(
   11335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11336 /* end confdefs.h.  */
   11337 int i;
   11338 int
   11339 main (void)
   11340 {
   11341 
   11342   ;
   11343   return 0;
   11344 }
   11345 _ACEOF
   11346 if ac_fn_c_try_link "$LINENO"
   11347 then :
   11348   eval $cacheid=yes
   11349 else case e in #(
   11350   e) eval $cacheid=no ;;
   11351 esac
   11352 fi
   11353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11354     conftest$ac_exeext conftest.$ac_ext ;;
   11355 esac
   11356 fi
   11357 
   11358 
   11359 		CFLAGS="$xorg_testset_save_CFLAGS"
   11360 
   11361 		eval supported=\$$cacheid
   11362 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11363 printf '%s\n' "$supported" >&6; }
   11364 		if test "$supported" = "yes" ; then
   11365 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   11366 			found="yes"
   11367 		fi
   11368 	fi
   11369 
   11370  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   11371 else
   11372 { 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
   11373 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;}
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 xorg_testset_save_CFLAGS="$CFLAGS"
   11388 
   11389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11391 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11394 then :
   11395   printf %s "(cached) " >&6
   11396 else case e in #(
   11397   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11398 /* end confdefs.h.  */
   11399 int i;
   11400 _ACEOF
   11401 if ac_fn_c_try_compile "$LINENO"
   11402 then :
   11403   xorg_cv_cc_flag_unknown_warning_option=yes
   11404 else case e in #(
   11405   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11406 esac
   11407 fi
   11408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11409 esac
   11410 fi
   11411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11412 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11414 	CFLAGS="$xorg_testset_save_CFLAGS"
   11415 fi
   11416 
   11417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11420 	fi
   11421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11422 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11425 then :
   11426   printf %s "(cached) " >&6
   11427 else case e in #(
   11428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11429 /* end confdefs.h.  */
   11430 int i;
   11431 _ACEOF
   11432 if ac_fn_c_try_compile "$LINENO"
   11433 then :
   11434   xorg_cv_cc_flag_unused_command_line_argument=yes
   11435 else case e in #(
   11436   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11437 esac
   11438 fi
   11439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11440 esac
   11441 fi
   11442 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11443 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11445 	CFLAGS="$xorg_testset_save_CFLAGS"
   11446 fi
   11447 
   11448 found="no"
   11449 
   11450 	if test $found = "no" ; then
   11451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11453 		fi
   11454 
   11455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11457 		fi
   11458 
   11459 		CFLAGS="$CFLAGS -Wimplicit"
   11460 
   11461 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   11462 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   11463 		cacheid=xorg_cv_cc_flag__Wimplicit
   11464 		if eval test \${$cacheid+y}
   11465 then :
   11466   printf %s "(cached) " >&6
   11467 else case e in #(
   11468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11469 /* end confdefs.h.  */
   11470 int i;
   11471 int
   11472 main (void)
   11473 {
   11474 
   11475   ;
   11476   return 0;
   11477 }
   11478 _ACEOF
   11479 if ac_fn_c_try_link "$LINENO"
   11480 then :
   11481   eval $cacheid=yes
   11482 else case e in #(
   11483   e) eval $cacheid=no ;;
   11484 esac
   11485 fi
   11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11487     conftest$ac_exeext conftest.$ac_ext ;;
   11488 esac
   11489 fi
   11490 
   11491 
   11492 		CFLAGS="$xorg_testset_save_CFLAGS"
   11493 
   11494 		eval supported=\$$cacheid
   11495 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11496 printf '%s\n' "$supported" >&6; }
   11497 		if test "$supported" = "yes" ; then
   11498 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   11499 			found="yes"
   11500 		fi
   11501 	fi
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 xorg_testset_save_CFLAGS="$CFLAGS"
   11518 
   11519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11521 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11522 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11523 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11524 then :
   11525   printf %s "(cached) " >&6
   11526 else case e in #(
   11527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11528 /* end confdefs.h.  */
   11529 int i;
   11530 _ACEOF
   11531 if ac_fn_c_try_compile "$LINENO"
   11532 then :
   11533   xorg_cv_cc_flag_unknown_warning_option=yes
   11534 else case e in #(
   11535   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11536 esac
   11537 fi
   11538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11539 esac
   11540 fi
   11541 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11542 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11544 	CFLAGS="$xorg_testset_save_CFLAGS"
   11545 fi
   11546 
   11547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11550 	fi
   11551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11552 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11555 then :
   11556   printf %s "(cached) " >&6
   11557 else case e in #(
   11558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11559 /* end confdefs.h.  */
   11560 int i;
   11561 _ACEOF
   11562 if ac_fn_c_try_compile "$LINENO"
   11563 then :
   11564   xorg_cv_cc_flag_unused_command_line_argument=yes
   11565 else case e in #(
   11566   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11567 esac
   11568 fi
   11569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11570 esac
   11571 fi
   11572 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11573 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11575 	CFLAGS="$xorg_testset_save_CFLAGS"
   11576 fi
   11577 
   11578 found="no"
   11579 
   11580 	if test $found = "no" ; then
   11581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11583 		fi
   11584 
   11585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11587 		fi
   11588 
   11589 		CFLAGS="$CFLAGS -Wnonnull"
   11590 
   11591 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   11592 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   11593 		cacheid=xorg_cv_cc_flag__Wnonnull
   11594 		if eval test \${$cacheid+y}
   11595 then :
   11596   printf %s "(cached) " >&6
   11597 else case e in #(
   11598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11599 /* end confdefs.h.  */
   11600 int i;
   11601 int
   11602 main (void)
   11603 {
   11604 
   11605   ;
   11606   return 0;
   11607 }
   11608 _ACEOF
   11609 if ac_fn_c_try_link "$LINENO"
   11610 then :
   11611   eval $cacheid=yes
   11612 else case e in #(
   11613   e) eval $cacheid=no ;;
   11614 esac
   11615 fi
   11616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11617     conftest$ac_exeext conftest.$ac_ext ;;
   11618 esac
   11619 fi
   11620 
   11621 
   11622 		CFLAGS="$xorg_testset_save_CFLAGS"
   11623 
   11624 		eval supported=\$$cacheid
   11625 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11626 printf '%s\n' "$supported" >&6; }
   11627 		if test "$supported" = "yes" ; then
   11628 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   11629 			found="yes"
   11630 		fi
   11631 	fi
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 xorg_testset_save_CFLAGS="$CFLAGS"
   11648 
   11649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11651 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11652 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11653 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11654 then :
   11655   printf %s "(cached) " >&6
   11656 else case e in #(
   11657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11658 /* end confdefs.h.  */
   11659 int i;
   11660 _ACEOF
   11661 if ac_fn_c_try_compile "$LINENO"
   11662 then :
   11663   xorg_cv_cc_flag_unknown_warning_option=yes
   11664 else case e in #(
   11665   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11666 esac
   11667 fi
   11668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11669 esac
   11670 fi
   11671 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11672 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11674 	CFLAGS="$xorg_testset_save_CFLAGS"
   11675 fi
   11676 
   11677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11680 	fi
   11681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11682 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11683 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11684 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11685 then :
   11686   printf %s "(cached) " >&6
   11687 else case e in #(
   11688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11689 /* end confdefs.h.  */
   11690 int i;
   11691 _ACEOF
   11692 if ac_fn_c_try_compile "$LINENO"
   11693 then :
   11694   xorg_cv_cc_flag_unused_command_line_argument=yes
   11695 else case e in #(
   11696   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11697 esac
   11698 fi
   11699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11700 esac
   11701 fi
   11702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11703 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11705 	CFLAGS="$xorg_testset_save_CFLAGS"
   11706 fi
   11707 
   11708 found="no"
   11709 
   11710 	if test $found = "no" ; then
   11711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11713 		fi
   11714 
   11715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11717 		fi
   11718 
   11719 		CFLAGS="$CFLAGS -Winit-self"
   11720 
   11721 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   11722 printf %s "checking if $CC supports -Winit-self... " >&6; }
   11723 		cacheid=xorg_cv_cc_flag__Winit_self
   11724 		if eval test \${$cacheid+y}
   11725 then :
   11726   printf %s "(cached) " >&6
   11727 else case e in #(
   11728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11729 /* end confdefs.h.  */
   11730 int i;
   11731 int
   11732 main (void)
   11733 {
   11734 
   11735   ;
   11736   return 0;
   11737 }
   11738 _ACEOF
   11739 if ac_fn_c_try_link "$LINENO"
   11740 then :
   11741   eval $cacheid=yes
   11742 else case e in #(
   11743   e) eval $cacheid=no ;;
   11744 esac
   11745 fi
   11746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11747     conftest$ac_exeext conftest.$ac_ext ;;
   11748 esac
   11749 fi
   11750 
   11751 
   11752 		CFLAGS="$xorg_testset_save_CFLAGS"
   11753 
   11754 		eval supported=\$$cacheid
   11755 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11756 printf '%s\n' "$supported" >&6; }
   11757 		if test "$supported" = "yes" ; then
   11758 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   11759 			found="yes"
   11760 		fi
   11761 	fi
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 xorg_testset_save_CFLAGS="$CFLAGS"
   11778 
   11779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11781 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11782 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11783 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11784 then :
   11785   printf %s "(cached) " >&6
   11786 else case e in #(
   11787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11788 /* end confdefs.h.  */
   11789 int i;
   11790 _ACEOF
   11791 if ac_fn_c_try_compile "$LINENO"
   11792 then :
   11793   xorg_cv_cc_flag_unknown_warning_option=yes
   11794 else case e in #(
   11795   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11796 esac
   11797 fi
   11798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11799 esac
   11800 fi
   11801 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11802 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11804 	CFLAGS="$xorg_testset_save_CFLAGS"
   11805 fi
   11806 
   11807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11810 	fi
   11811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11812 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11813 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11814 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11815 then :
   11816   printf %s "(cached) " >&6
   11817 else case e in #(
   11818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11819 /* end confdefs.h.  */
   11820 int i;
   11821 _ACEOF
   11822 if ac_fn_c_try_compile "$LINENO"
   11823 then :
   11824   xorg_cv_cc_flag_unused_command_line_argument=yes
   11825 else case e in #(
   11826   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11827 esac
   11828 fi
   11829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11830 esac
   11831 fi
   11832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11833 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11835 	CFLAGS="$xorg_testset_save_CFLAGS"
   11836 fi
   11837 
   11838 found="no"
   11839 
   11840 	if test $found = "no" ; then
   11841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11843 		fi
   11844 
   11845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11847 		fi
   11848 
   11849 		CFLAGS="$CFLAGS -Wmain"
   11850 
   11851 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   11852 printf %s "checking if $CC supports -Wmain... " >&6; }
   11853 		cacheid=xorg_cv_cc_flag__Wmain
   11854 		if eval test \${$cacheid+y}
   11855 then :
   11856   printf %s "(cached) " >&6
   11857 else case e in #(
   11858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11859 /* end confdefs.h.  */
   11860 int i;
   11861 int
   11862 main (void)
   11863 {
   11864 
   11865   ;
   11866   return 0;
   11867 }
   11868 _ACEOF
   11869 if ac_fn_c_try_link "$LINENO"
   11870 then :
   11871   eval $cacheid=yes
   11872 else case e in #(
   11873   e) eval $cacheid=no ;;
   11874 esac
   11875 fi
   11876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11877     conftest$ac_exeext conftest.$ac_ext ;;
   11878 esac
   11879 fi
   11880 
   11881 
   11882 		CFLAGS="$xorg_testset_save_CFLAGS"
   11883 
   11884 		eval supported=\$$cacheid
   11885 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11886 printf '%s\n' "$supported" >&6; }
   11887 		if test "$supported" = "yes" ; then
   11888 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   11889 			found="yes"
   11890 		fi
   11891 	fi
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 xorg_testset_save_CFLAGS="$CFLAGS"
   11908 
   11909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11911 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11912 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11913 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11914 then :
   11915   printf %s "(cached) " >&6
   11916 else case e in #(
   11917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11918 /* end confdefs.h.  */
   11919 int i;
   11920 _ACEOF
   11921 if ac_fn_c_try_compile "$LINENO"
   11922 then :
   11923   xorg_cv_cc_flag_unknown_warning_option=yes
   11924 else case e in #(
   11925   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11926 esac
   11927 fi
   11928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11929 esac
   11930 fi
   11931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11932 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11934 	CFLAGS="$xorg_testset_save_CFLAGS"
   11935 fi
   11936 
   11937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11940 	fi
   11941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11942 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11943 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11944 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11945 then :
   11946   printf %s "(cached) " >&6
   11947 else case e in #(
   11948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11949 /* end confdefs.h.  */
   11950 int i;
   11951 _ACEOF
   11952 if ac_fn_c_try_compile "$LINENO"
   11953 then :
   11954   xorg_cv_cc_flag_unused_command_line_argument=yes
   11955 else case e in #(
   11956   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11957 esac
   11958 fi
   11959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11960 esac
   11961 fi
   11962 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11963 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11965 	CFLAGS="$xorg_testset_save_CFLAGS"
   11966 fi
   11967 
   11968 found="no"
   11969 
   11970 	if test $found = "no" ; then
   11971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11973 		fi
   11974 
   11975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11977 		fi
   11978 
   11979 		CFLAGS="$CFLAGS -Wmissing-braces"
   11980 
   11981 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   11982 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   11983 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   11984 		if eval test \${$cacheid+y}
   11985 then :
   11986   printf %s "(cached) " >&6
   11987 else case e in #(
   11988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11989 /* end confdefs.h.  */
   11990 int i;
   11991 int
   11992 main (void)
   11993 {
   11994 
   11995   ;
   11996   return 0;
   11997 }
   11998 _ACEOF
   11999 if ac_fn_c_try_link "$LINENO"
   12000 then :
   12001   eval $cacheid=yes
   12002 else case e in #(
   12003   e) eval $cacheid=no ;;
   12004 esac
   12005 fi
   12006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12007     conftest$ac_exeext conftest.$ac_ext ;;
   12008 esac
   12009 fi
   12010 
   12011 
   12012 		CFLAGS="$xorg_testset_save_CFLAGS"
   12013 
   12014 		eval supported=\$$cacheid
   12015 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12016 printf '%s\n' "$supported" >&6; }
   12017 		if test "$supported" = "yes" ; then
   12018 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   12019 			found="yes"
   12020 		fi
   12021 	fi
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 xorg_testset_save_CFLAGS="$CFLAGS"
   12038 
   12039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12041 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12042 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12043 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12044 then :
   12045   printf %s "(cached) " >&6
   12046 else case e in #(
   12047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12048 /* end confdefs.h.  */
   12049 int i;
   12050 _ACEOF
   12051 if ac_fn_c_try_compile "$LINENO"
   12052 then :
   12053   xorg_cv_cc_flag_unknown_warning_option=yes
   12054 else case e in #(
   12055   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12056 esac
   12057 fi
   12058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12059 esac
   12060 fi
   12061 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12062 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12064 	CFLAGS="$xorg_testset_save_CFLAGS"
   12065 fi
   12066 
   12067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12070 	fi
   12071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12072 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12073 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12074 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12075 then :
   12076   printf %s "(cached) " >&6
   12077 else case e in #(
   12078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12079 /* end confdefs.h.  */
   12080 int i;
   12081 _ACEOF
   12082 if ac_fn_c_try_compile "$LINENO"
   12083 then :
   12084   xorg_cv_cc_flag_unused_command_line_argument=yes
   12085 else case e in #(
   12086   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12087 esac
   12088 fi
   12089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12090 esac
   12091 fi
   12092 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12093 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12095 	CFLAGS="$xorg_testset_save_CFLAGS"
   12096 fi
   12097 
   12098 found="no"
   12099 
   12100 	if test $found = "no" ; then
   12101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12103 		fi
   12104 
   12105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12107 		fi
   12108 
   12109 		CFLAGS="$CFLAGS -Wsequence-point"
   12110 
   12111 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   12112 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   12113 		cacheid=xorg_cv_cc_flag__Wsequence_point
   12114 		if eval test \${$cacheid+y}
   12115 then :
   12116   printf %s "(cached) " >&6
   12117 else case e in #(
   12118   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12119 /* end confdefs.h.  */
   12120 int i;
   12121 int
   12122 main (void)
   12123 {
   12124 
   12125   ;
   12126   return 0;
   12127 }
   12128 _ACEOF
   12129 if ac_fn_c_try_link "$LINENO"
   12130 then :
   12131   eval $cacheid=yes
   12132 else case e in #(
   12133   e) eval $cacheid=no ;;
   12134 esac
   12135 fi
   12136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12137     conftest$ac_exeext conftest.$ac_ext ;;
   12138 esac
   12139 fi
   12140 
   12141 
   12142 		CFLAGS="$xorg_testset_save_CFLAGS"
   12143 
   12144 		eval supported=\$$cacheid
   12145 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12146 printf '%s\n' "$supported" >&6; }
   12147 		if test "$supported" = "yes" ; then
   12148 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   12149 			found="yes"
   12150 		fi
   12151 	fi
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 xorg_testset_save_CFLAGS="$CFLAGS"
   12168 
   12169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12171 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12172 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12173 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12174 then :
   12175   printf %s "(cached) " >&6
   12176 else case e in #(
   12177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12178 /* end confdefs.h.  */
   12179 int i;
   12180 _ACEOF
   12181 if ac_fn_c_try_compile "$LINENO"
   12182 then :
   12183   xorg_cv_cc_flag_unknown_warning_option=yes
   12184 else case e in #(
   12185   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12186 esac
   12187 fi
   12188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12189 esac
   12190 fi
   12191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12192 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12194 	CFLAGS="$xorg_testset_save_CFLAGS"
   12195 fi
   12196 
   12197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12200 	fi
   12201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12202 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12205 then :
   12206   printf %s "(cached) " >&6
   12207 else case e in #(
   12208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12209 /* end confdefs.h.  */
   12210 int i;
   12211 _ACEOF
   12212 if ac_fn_c_try_compile "$LINENO"
   12213 then :
   12214   xorg_cv_cc_flag_unused_command_line_argument=yes
   12215 else case e in #(
   12216   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12217 esac
   12218 fi
   12219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12220 esac
   12221 fi
   12222 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12223 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12225 	CFLAGS="$xorg_testset_save_CFLAGS"
   12226 fi
   12227 
   12228 found="no"
   12229 
   12230 	if test $found = "no" ; then
   12231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12233 		fi
   12234 
   12235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12237 		fi
   12238 
   12239 		CFLAGS="$CFLAGS -Wreturn-type"
   12240 
   12241 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   12242 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   12243 		cacheid=xorg_cv_cc_flag__Wreturn_type
   12244 		if eval test \${$cacheid+y}
   12245 then :
   12246   printf %s "(cached) " >&6
   12247 else case e in #(
   12248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12249 /* end confdefs.h.  */
   12250 int i;
   12251 int
   12252 main (void)
   12253 {
   12254 
   12255   ;
   12256   return 0;
   12257 }
   12258 _ACEOF
   12259 if ac_fn_c_try_link "$LINENO"
   12260 then :
   12261   eval $cacheid=yes
   12262 else case e in #(
   12263   e) eval $cacheid=no ;;
   12264 esac
   12265 fi
   12266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12267     conftest$ac_exeext conftest.$ac_ext ;;
   12268 esac
   12269 fi
   12270 
   12271 
   12272 		CFLAGS="$xorg_testset_save_CFLAGS"
   12273 
   12274 		eval supported=\$$cacheid
   12275 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12276 printf '%s\n' "$supported" >&6; }
   12277 		if test "$supported" = "yes" ; then
   12278 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   12279 			found="yes"
   12280 		fi
   12281 	fi
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 xorg_testset_save_CFLAGS="$CFLAGS"
   12298 
   12299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12301 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12304 then :
   12305   printf %s "(cached) " >&6
   12306 else case e in #(
   12307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12308 /* end confdefs.h.  */
   12309 int i;
   12310 _ACEOF
   12311 if ac_fn_c_try_compile "$LINENO"
   12312 then :
   12313   xorg_cv_cc_flag_unknown_warning_option=yes
   12314 else case e in #(
   12315   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12316 esac
   12317 fi
   12318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12319 esac
   12320 fi
   12321 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12322 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12324 	CFLAGS="$xorg_testset_save_CFLAGS"
   12325 fi
   12326 
   12327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12330 	fi
   12331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12332 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12333 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12334 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12335 then :
   12336   printf %s "(cached) " >&6
   12337 else case e in #(
   12338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12339 /* end confdefs.h.  */
   12340 int i;
   12341 _ACEOF
   12342 if ac_fn_c_try_compile "$LINENO"
   12343 then :
   12344   xorg_cv_cc_flag_unused_command_line_argument=yes
   12345 else case e in #(
   12346   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12347 esac
   12348 fi
   12349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12350 esac
   12351 fi
   12352 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12353 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12355 	CFLAGS="$xorg_testset_save_CFLAGS"
   12356 fi
   12357 
   12358 found="no"
   12359 
   12360 	if test $found = "no" ; then
   12361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12363 		fi
   12364 
   12365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12367 		fi
   12368 
   12369 		CFLAGS="$CFLAGS -Wtrigraphs"
   12370 
   12371 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   12372 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   12373 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   12374 		if eval test \${$cacheid+y}
   12375 then :
   12376   printf %s "(cached) " >&6
   12377 else case e in #(
   12378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12379 /* end confdefs.h.  */
   12380 int i;
   12381 int
   12382 main (void)
   12383 {
   12384 
   12385   ;
   12386   return 0;
   12387 }
   12388 _ACEOF
   12389 if ac_fn_c_try_link "$LINENO"
   12390 then :
   12391   eval $cacheid=yes
   12392 else case e in #(
   12393   e) eval $cacheid=no ;;
   12394 esac
   12395 fi
   12396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12397     conftest$ac_exeext conftest.$ac_ext ;;
   12398 esac
   12399 fi
   12400 
   12401 
   12402 		CFLAGS="$xorg_testset_save_CFLAGS"
   12403 
   12404 		eval supported=\$$cacheid
   12405 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12406 printf '%s\n' "$supported" >&6; }
   12407 		if test "$supported" = "yes" ; then
   12408 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   12409 			found="yes"
   12410 		fi
   12411 	fi
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 xorg_testset_save_CFLAGS="$CFLAGS"
   12428 
   12429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12431 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12432 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12433 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12434 then :
   12435   printf %s "(cached) " >&6
   12436 else case e in #(
   12437   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12438 /* end confdefs.h.  */
   12439 int i;
   12440 _ACEOF
   12441 if ac_fn_c_try_compile "$LINENO"
   12442 then :
   12443   xorg_cv_cc_flag_unknown_warning_option=yes
   12444 else case e in #(
   12445   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12446 esac
   12447 fi
   12448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12449 esac
   12450 fi
   12451 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12452 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12454 	CFLAGS="$xorg_testset_save_CFLAGS"
   12455 fi
   12456 
   12457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12460 	fi
   12461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12462 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12463 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12464 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12465 then :
   12466   printf %s "(cached) " >&6
   12467 else case e in #(
   12468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12469 /* end confdefs.h.  */
   12470 int i;
   12471 _ACEOF
   12472 if ac_fn_c_try_compile "$LINENO"
   12473 then :
   12474   xorg_cv_cc_flag_unused_command_line_argument=yes
   12475 else case e in #(
   12476   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12477 esac
   12478 fi
   12479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12480 esac
   12481 fi
   12482 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12483 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12485 	CFLAGS="$xorg_testset_save_CFLAGS"
   12486 fi
   12487 
   12488 found="no"
   12489 
   12490 	if test $found = "no" ; then
   12491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12493 		fi
   12494 
   12495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12497 		fi
   12498 
   12499 		CFLAGS="$CFLAGS -Warray-bounds"
   12500 
   12501 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   12502 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   12503 		cacheid=xorg_cv_cc_flag__Warray_bounds
   12504 		if eval test \${$cacheid+y}
   12505 then :
   12506   printf %s "(cached) " >&6
   12507 else case e in #(
   12508   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12509 /* end confdefs.h.  */
   12510 int i;
   12511 int
   12512 main (void)
   12513 {
   12514 
   12515   ;
   12516   return 0;
   12517 }
   12518 _ACEOF
   12519 if ac_fn_c_try_link "$LINENO"
   12520 then :
   12521   eval $cacheid=yes
   12522 else case e in #(
   12523   e) eval $cacheid=no ;;
   12524 esac
   12525 fi
   12526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12527     conftest$ac_exeext conftest.$ac_ext ;;
   12528 esac
   12529 fi
   12530 
   12531 
   12532 		CFLAGS="$xorg_testset_save_CFLAGS"
   12533 
   12534 		eval supported=\$$cacheid
   12535 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12536 printf '%s\n' "$supported" >&6; }
   12537 		if test "$supported" = "yes" ; then
   12538 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   12539 			found="yes"
   12540 		fi
   12541 	fi
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 xorg_testset_save_CFLAGS="$CFLAGS"
   12558 
   12559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12561 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12562 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12563 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12564 then :
   12565   printf %s "(cached) " >&6
   12566 else case e in #(
   12567   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12568 /* end confdefs.h.  */
   12569 int i;
   12570 _ACEOF
   12571 if ac_fn_c_try_compile "$LINENO"
   12572 then :
   12573   xorg_cv_cc_flag_unknown_warning_option=yes
   12574 else case e in #(
   12575   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12576 esac
   12577 fi
   12578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12579 esac
   12580 fi
   12581 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12582 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12583 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12584 	CFLAGS="$xorg_testset_save_CFLAGS"
   12585 fi
   12586 
   12587 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12588 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12589 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12590 	fi
   12591 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12592 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12593 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12594 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12595 then :
   12596   printf %s "(cached) " >&6
   12597 else case e in #(
   12598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12599 /* end confdefs.h.  */
   12600 int i;
   12601 _ACEOF
   12602 if ac_fn_c_try_compile "$LINENO"
   12603 then :
   12604   xorg_cv_cc_flag_unused_command_line_argument=yes
   12605 else case e in #(
   12606   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12607 esac
   12608 fi
   12609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12610 esac
   12611 fi
   12612 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12613 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12615 	CFLAGS="$xorg_testset_save_CFLAGS"
   12616 fi
   12617 
   12618 found="no"
   12619 
   12620 	if test $found = "no" ; then
   12621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12623 		fi
   12624 
   12625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12627 		fi
   12628 
   12629 		CFLAGS="$CFLAGS -Wwrite-strings"
   12630 
   12631 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   12632 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   12633 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   12634 		if eval test \${$cacheid+y}
   12635 then :
   12636   printf %s "(cached) " >&6
   12637 else case e in #(
   12638   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12639 /* end confdefs.h.  */
   12640 int i;
   12641 int
   12642 main (void)
   12643 {
   12644 
   12645   ;
   12646   return 0;
   12647 }
   12648 _ACEOF
   12649 if ac_fn_c_try_link "$LINENO"
   12650 then :
   12651   eval $cacheid=yes
   12652 else case e in #(
   12653   e) eval $cacheid=no ;;
   12654 esac
   12655 fi
   12656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12657     conftest$ac_exeext conftest.$ac_ext ;;
   12658 esac
   12659 fi
   12660 
   12661 
   12662 		CFLAGS="$xorg_testset_save_CFLAGS"
   12663 
   12664 		eval supported=\$$cacheid
   12665 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12666 printf '%s\n' "$supported" >&6; }
   12667 		if test "$supported" = "yes" ; then
   12668 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   12669 			found="yes"
   12670 		fi
   12671 	fi
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 xorg_testset_save_CFLAGS="$CFLAGS"
   12688 
   12689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12691 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12692 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12693 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12694 then :
   12695   printf %s "(cached) " >&6
   12696 else case e in #(
   12697   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12698 /* end confdefs.h.  */
   12699 int i;
   12700 _ACEOF
   12701 if ac_fn_c_try_compile "$LINENO"
   12702 then :
   12703   xorg_cv_cc_flag_unknown_warning_option=yes
   12704 else case e in #(
   12705   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12706 esac
   12707 fi
   12708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12709 esac
   12710 fi
   12711 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12712 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12714 	CFLAGS="$xorg_testset_save_CFLAGS"
   12715 fi
   12716 
   12717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12720 	fi
   12721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12722 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12723 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12724 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12725 then :
   12726   printf %s "(cached) " >&6
   12727 else case e in #(
   12728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12729 /* end confdefs.h.  */
   12730 int i;
   12731 _ACEOF
   12732 if ac_fn_c_try_compile "$LINENO"
   12733 then :
   12734   xorg_cv_cc_flag_unused_command_line_argument=yes
   12735 else case e in #(
   12736   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12737 esac
   12738 fi
   12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12740 esac
   12741 fi
   12742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12743 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12745 	CFLAGS="$xorg_testset_save_CFLAGS"
   12746 fi
   12747 
   12748 found="no"
   12749 
   12750 	if test $found = "no" ; then
   12751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12753 		fi
   12754 
   12755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12757 		fi
   12758 
   12759 		CFLAGS="$CFLAGS -Waddress"
   12760 
   12761 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   12762 printf %s "checking if $CC supports -Waddress... " >&6; }
   12763 		cacheid=xorg_cv_cc_flag__Waddress
   12764 		if eval test \${$cacheid+y}
   12765 then :
   12766   printf %s "(cached) " >&6
   12767 else case e in #(
   12768   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12769 /* end confdefs.h.  */
   12770 int i;
   12771 int
   12772 main (void)
   12773 {
   12774 
   12775   ;
   12776   return 0;
   12777 }
   12778 _ACEOF
   12779 if ac_fn_c_try_link "$LINENO"
   12780 then :
   12781   eval $cacheid=yes
   12782 else case e in #(
   12783   e) eval $cacheid=no ;;
   12784 esac
   12785 fi
   12786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12787     conftest$ac_exeext conftest.$ac_ext ;;
   12788 esac
   12789 fi
   12790 
   12791 
   12792 		CFLAGS="$xorg_testset_save_CFLAGS"
   12793 
   12794 		eval supported=\$$cacheid
   12795 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12796 printf '%s\n' "$supported" >&6; }
   12797 		if test "$supported" = "yes" ; then
   12798 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   12799 			found="yes"
   12800 		fi
   12801 	fi
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 xorg_testset_save_CFLAGS="$CFLAGS"
   12818 
   12819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12821 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12822 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12823 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12824 then :
   12825   printf %s "(cached) " >&6
   12826 else case e in #(
   12827   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12828 /* end confdefs.h.  */
   12829 int i;
   12830 _ACEOF
   12831 if ac_fn_c_try_compile "$LINENO"
   12832 then :
   12833   xorg_cv_cc_flag_unknown_warning_option=yes
   12834 else case e in #(
   12835   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12836 esac
   12837 fi
   12838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12839 esac
   12840 fi
   12841 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12842 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12844 	CFLAGS="$xorg_testset_save_CFLAGS"
   12845 fi
   12846 
   12847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12850 	fi
   12851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12852 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12853 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12854 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12855 then :
   12856   printf %s "(cached) " >&6
   12857 else case e in #(
   12858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12859 /* end confdefs.h.  */
   12860 int i;
   12861 _ACEOF
   12862 if ac_fn_c_try_compile "$LINENO"
   12863 then :
   12864   xorg_cv_cc_flag_unused_command_line_argument=yes
   12865 else case e in #(
   12866   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12867 esac
   12868 fi
   12869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12870 esac
   12871 fi
   12872 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12873 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12875 	CFLAGS="$xorg_testset_save_CFLAGS"
   12876 fi
   12877 
   12878 found="no"
   12879 
   12880 	if test $found = "no" ; then
   12881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12883 		fi
   12884 
   12885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12887 		fi
   12888 
   12889 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   12890 
   12891 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   12892 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   12893 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   12894 		if eval test \${$cacheid+y}
   12895 then :
   12896   printf %s "(cached) " >&6
   12897 else case e in #(
   12898   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12899 /* end confdefs.h.  */
   12900 int i;
   12901 int
   12902 main (void)
   12903 {
   12904 
   12905   ;
   12906   return 0;
   12907 }
   12908 _ACEOF
   12909 if ac_fn_c_try_link "$LINENO"
   12910 then :
   12911   eval $cacheid=yes
   12912 else case e in #(
   12913   e) eval $cacheid=no ;;
   12914 esac
   12915 fi
   12916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12917     conftest$ac_exeext conftest.$ac_ext ;;
   12918 esac
   12919 fi
   12920 
   12921 
   12922 		CFLAGS="$xorg_testset_save_CFLAGS"
   12923 
   12924 		eval supported=\$$cacheid
   12925 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12926 printf '%s\n' "$supported" >&6; }
   12927 		if test "$supported" = "yes" ; then
   12928 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   12929 			found="yes"
   12930 		fi
   12931 	fi
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 xorg_testset_save_CFLAGS="$CFLAGS"
   12948 
   12949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12951 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12952 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12953 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12954 then :
   12955   printf %s "(cached) " >&6
   12956 else case e in #(
   12957   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12958 /* end confdefs.h.  */
   12959 int i;
   12960 _ACEOF
   12961 if ac_fn_c_try_compile "$LINENO"
   12962 then :
   12963   xorg_cv_cc_flag_unknown_warning_option=yes
   12964 else case e in #(
   12965   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   12966 esac
   12967 fi
   12968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12969 esac
   12970 fi
   12971 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12972 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12974 	CFLAGS="$xorg_testset_save_CFLAGS"
   12975 fi
   12976 
   12977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12980 	fi
   12981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12982 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12983 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12984 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12985 then :
   12986   printf %s "(cached) " >&6
   12987 else case e in #(
   12988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12989 /* end confdefs.h.  */
   12990 int i;
   12991 _ACEOF
   12992 if ac_fn_c_try_compile "$LINENO"
   12993 then :
   12994   xorg_cv_cc_flag_unused_command_line_argument=yes
   12995 else case e in #(
   12996   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   12997 esac
   12998 fi
   12999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13000 esac
   13001 fi
   13002 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13003 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13004 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13005 	CFLAGS="$xorg_testset_save_CFLAGS"
   13006 fi
   13007 
   13008 found="no"
   13009 
   13010 	if test $found = "no" ; then
   13011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13013 		fi
   13014 
   13015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13017 		fi
   13018 
   13019 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   13020 
   13021 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   13022 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   13023 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   13024 		if eval test \${$cacheid+y}
   13025 then :
   13026   printf %s "(cached) " >&6
   13027 else case e in #(
   13028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13029 /* end confdefs.h.  */
   13030 int i;
   13031 int
   13032 main (void)
   13033 {
   13034 
   13035   ;
   13036   return 0;
   13037 }
   13038 _ACEOF
   13039 if ac_fn_c_try_link "$LINENO"
   13040 then :
   13041   eval $cacheid=yes
   13042 else case e in #(
   13043   e) eval $cacheid=no ;;
   13044 esac
   13045 fi
   13046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13047     conftest$ac_exeext conftest.$ac_ext ;;
   13048 esac
   13049 fi
   13050 
   13051 
   13052 		CFLAGS="$xorg_testset_save_CFLAGS"
   13053 
   13054 		eval supported=\$$cacheid
   13055 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13056 printf '%s\n' "$supported" >&6; }
   13057 		if test "$supported" = "yes" ; then
   13058 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   13059 			found="yes"
   13060 		fi
   13061 	fi
   13062 
   13063 
   13064 fi
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 		CWARNFLAGS="$BASE_CFLAGS"
   13073 		if  test "x$GCC" = xyes ; then
   13074 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   13075 		fi
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 # Check whether --enable-strict-compilation was given.
   13085 if test ${enable_strict_compilation+y}
   13086 then :
   13087   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   13088 else case e in #(
   13089   e) STRICT_COMPILE=no ;;
   13090 esac
   13091 fi
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 STRICT_CFLAGS=""
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 xorg_testset_save_CFLAGS="$CFLAGS"
   13113 
   13114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13116 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13117 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13118 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13119 then :
   13120   printf %s "(cached) " >&6
   13121 else case e in #(
   13122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13123 /* end confdefs.h.  */
   13124 int i;
   13125 _ACEOF
   13126 if ac_fn_c_try_compile "$LINENO"
   13127 then :
   13128   xorg_cv_cc_flag_unknown_warning_option=yes
   13129 else case e in #(
   13130   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13131 esac
   13132 fi
   13133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13134 esac
   13135 fi
   13136 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13137 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13139 	CFLAGS="$xorg_testset_save_CFLAGS"
   13140 fi
   13141 
   13142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13145 	fi
   13146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13147 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13150 then :
   13151   printf %s "(cached) " >&6
   13152 else case e in #(
   13153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 _ACEOF
   13157 if ac_fn_c_try_compile "$LINENO"
   13158 then :
   13159   xorg_cv_cc_flag_unused_command_line_argument=yes
   13160 else case e in #(
   13161   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13162 esac
   13163 fi
   13164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13165 esac
   13166 fi
   13167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13168 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13170 	CFLAGS="$xorg_testset_save_CFLAGS"
   13171 fi
   13172 
   13173 found="no"
   13174 
   13175 	if test $found = "no" ; then
   13176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13178 		fi
   13179 
   13180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13182 		fi
   13183 
   13184 		CFLAGS="$CFLAGS -pedantic"
   13185 
   13186 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   13187 printf %s "checking if $CC supports -pedantic... " >&6; }
   13188 		cacheid=xorg_cv_cc_flag__pedantic
   13189 		if eval test \${$cacheid+y}
   13190 then :
   13191   printf %s "(cached) " >&6
   13192 else case e in #(
   13193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13194 /* end confdefs.h.  */
   13195 int i;
   13196 int
   13197 main (void)
   13198 {
   13199 
   13200   ;
   13201   return 0;
   13202 }
   13203 _ACEOF
   13204 if ac_fn_c_try_link "$LINENO"
   13205 then :
   13206   eval $cacheid=yes
   13207 else case e in #(
   13208   e) eval $cacheid=no ;;
   13209 esac
   13210 fi
   13211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13212     conftest$ac_exeext conftest.$ac_ext ;;
   13213 esac
   13214 fi
   13215 
   13216 
   13217 		CFLAGS="$xorg_testset_save_CFLAGS"
   13218 
   13219 		eval supported=\$$cacheid
   13220 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13221 printf '%s\n' "$supported" >&6; }
   13222 		if test "$supported" = "yes" ; then
   13223 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   13224 			found="yes"
   13225 		fi
   13226 	fi
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 xorg_testset_save_CFLAGS="$CFLAGS"
   13243 
   13244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13246 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13247 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13248 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13249 then :
   13250   printf %s "(cached) " >&6
   13251 else case e in #(
   13252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13253 /* end confdefs.h.  */
   13254 int i;
   13255 _ACEOF
   13256 if ac_fn_c_try_compile "$LINENO"
   13257 then :
   13258   xorg_cv_cc_flag_unknown_warning_option=yes
   13259 else case e in #(
   13260   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13261 esac
   13262 fi
   13263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13264 esac
   13265 fi
   13266 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13267 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13269 	CFLAGS="$xorg_testset_save_CFLAGS"
   13270 fi
   13271 
   13272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13275 	fi
   13276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13277 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13280 then :
   13281   printf %s "(cached) " >&6
   13282 else case e in #(
   13283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13284 /* end confdefs.h.  */
   13285 int i;
   13286 _ACEOF
   13287 if ac_fn_c_try_compile "$LINENO"
   13288 then :
   13289   xorg_cv_cc_flag_unused_command_line_argument=yes
   13290 else case e in #(
   13291   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13292 esac
   13293 fi
   13294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13295 esac
   13296 fi
   13297 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13298 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13300 	CFLAGS="$xorg_testset_save_CFLAGS"
   13301 fi
   13302 
   13303 found="no"
   13304 
   13305 	if test $found = "no" ; then
   13306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13308 		fi
   13309 
   13310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13312 		fi
   13313 
   13314 		CFLAGS="$CFLAGS -Werror"
   13315 
   13316 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   13317 printf %s "checking if $CC supports -Werror... " >&6; }
   13318 		cacheid=xorg_cv_cc_flag__Werror
   13319 		if eval test \${$cacheid+y}
   13320 then :
   13321   printf %s "(cached) " >&6
   13322 else case e in #(
   13323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13324 /* end confdefs.h.  */
   13325 int i;
   13326 int
   13327 main (void)
   13328 {
   13329 
   13330   ;
   13331   return 0;
   13332 }
   13333 _ACEOF
   13334 if ac_fn_c_try_link "$LINENO"
   13335 then :
   13336   eval $cacheid=yes
   13337 else case e in #(
   13338   e) eval $cacheid=no ;;
   13339 esac
   13340 fi
   13341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13342     conftest$ac_exeext conftest.$ac_ext ;;
   13343 esac
   13344 fi
   13345 
   13346 
   13347 		CFLAGS="$xorg_testset_save_CFLAGS"
   13348 
   13349 		eval supported=\$$cacheid
   13350 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13351 printf '%s\n' "$supported" >&6; }
   13352 		if test "$supported" = "yes" ; then
   13353 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   13354 			found="yes"
   13355 		fi
   13356 	fi
   13357 
   13358 	if test $found = "no" ; then
   13359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13361 		fi
   13362 
   13363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13365 		fi
   13366 
   13367 		CFLAGS="$CFLAGS -errwarn"
   13368 
   13369 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   13370 printf %s "checking if $CC supports -errwarn... " >&6; }
   13371 		cacheid=xorg_cv_cc_flag__errwarn
   13372 		if eval test \${$cacheid+y}
   13373 then :
   13374   printf %s "(cached) " >&6
   13375 else case e in #(
   13376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13377 /* end confdefs.h.  */
   13378 int i;
   13379 int
   13380 main (void)
   13381 {
   13382 
   13383   ;
   13384   return 0;
   13385 }
   13386 _ACEOF
   13387 if ac_fn_c_try_link "$LINENO"
   13388 then :
   13389   eval $cacheid=yes
   13390 else case e in #(
   13391   e) eval $cacheid=no ;;
   13392 esac
   13393 fi
   13394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13395     conftest$ac_exeext conftest.$ac_ext ;;
   13396 esac
   13397 fi
   13398 
   13399 
   13400 		CFLAGS="$xorg_testset_save_CFLAGS"
   13401 
   13402 		eval supported=\$$cacheid
   13403 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13404 printf '%s\n' "$supported" >&6; }
   13405 		if test "$supported" = "yes" ; then
   13406 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   13407 			found="yes"
   13408 		fi
   13409 	fi
   13410 
   13411 
   13412 
   13413 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   13414 # activate it with -Werror, so we add it here explicitly.
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 xorg_testset_save_CFLAGS="$CFLAGS"
   13429 
   13430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13432 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13435 then :
   13436   printf %s "(cached) " >&6
   13437 else case e in #(
   13438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13439 /* end confdefs.h.  */
   13440 int i;
   13441 _ACEOF
   13442 if ac_fn_c_try_compile "$LINENO"
   13443 then :
   13444   xorg_cv_cc_flag_unknown_warning_option=yes
   13445 else case e in #(
   13446   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13447 esac
   13448 fi
   13449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13450 esac
   13451 fi
   13452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13453 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13455 	CFLAGS="$xorg_testset_save_CFLAGS"
   13456 fi
   13457 
   13458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13461 	fi
   13462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13463 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13464 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13465 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13466 then :
   13467   printf %s "(cached) " >&6
   13468 else case e in #(
   13469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13470 /* end confdefs.h.  */
   13471 int i;
   13472 _ACEOF
   13473 if ac_fn_c_try_compile "$LINENO"
   13474 then :
   13475   xorg_cv_cc_flag_unused_command_line_argument=yes
   13476 else case e in #(
   13477   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13478 esac
   13479 fi
   13480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13481 esac
   13482 fi
   13483 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13484 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13486 	CFLAGS="$xorg_testset_save_CFLAGS"
   13487 fi
   13488 
   13489 found="no"
   13490 
   13491 	if test $found = "no" ; then
   13492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13494 		fi
   13495 
   13496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13498 		fi
   13499 
   13500 		CFLAGS="$CFLAGS -Werror=attributes"
   13501 
   13502 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   13503 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   13504 		cacheid=xorg_cv_cc_flag__Werror_attributes
   13505 		if eval test \${$cacheid+y}
   13506 then :
   13507   printf %s "(cached) " >&6
   13508 else case e in #(
   13509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13510 /* end confdefs.h.  */
   13511 int i;
   13512 int
   13513 main (void)
   13514 {
   13515 
   13516   ;
   13517   return 0;
   13518 }
   13519 _ACEOF
   13520 if ac_fn_c_try_link "$LINENO"
   13521 then :
   13522   eval $cacheid=yes
   13523 else case e in #(
   13524   e) eval $cacheid=no ;;
   13525 esac
   13526 fi
   13527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13528     conftest$ac_exeext conftest.$ac_ext ;;
   13529 esac
   13530 fi
   13531 
   13532 
   13533 		CFLAGS="$xorg_testset_save_CFLAGS"
   13534 
   13535 		eval supported=\$$cacheid
   13536 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13537 printf '%s\n' "$supported" >&6; }
   13538 		if test "$supported" = "yes" ; then
   13539 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   13540 			found="yes"
   13541 		fi
   13542 	fi
   13543 
   13544 
   13545 
   13546 if test "x$STRICT_COMPILE" = "xyes"; then
   13547     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   13548     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   13549 fi
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 cat >>confdefs.h <<_ACEOF
   13559 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   13560 _ACEOF
   13561 
   13562 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   13563 	if test "x$PVM" = "x"; then
   13564 		PVM="0"
   13565 	fi
   13566 
   13567 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   13568 
   13569 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   13570 	if test "x$PVP" = "x"; then
   13571 		PVP="0"
   13572 	fi
   13573 
   13574 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   13575 
   13576 
   13577 
   13578 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   13579 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   13580 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   13581 touch \$(top_srcdir)/ChangeLog; \
   13582 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   13583 
   13584 
   13585 
   13586 
   13587 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   13588 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   13589 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   13590 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   13591 touch \$(top_srcdir)/INSTALL; \
   13592 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 case $host_os in
   13600     solaris*)
   13601         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   13602         # check for a man page file found in later versions that use
   13603         # traditional section numbers instead
   13604         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   13605 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   13606 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   13607 then :
   13608   printf %s "(cached) " >&6
   13609 else case e in #(
   13610   e) test "$cross_compiling" = yes &&
   13611   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   13612 if test -r "/usr/share/man/man7/attributes.7"; then
   13613   ac_cv_file__usr_share_man_man7_attributes_7=yes
   13614 else
   13615   ac_cv_file__usr_share_man_man7_attributes_7=no
   13616 fi ;;
   13617 esac
   13618 fi
   13619 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   13620 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   13621 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   13622 then :
   13623   SYSV_MAN_SECTIONS=false
   13624 else case e in #(
   13625   e) SYSV_MAN_SECTIONS=true ;;
   13626 esac
   13627 fi
   13628 
   13629         ;;
   13630     *) SYSV_MAN_SECTIONS=false ;;
   13631 esac
   13632 
   13633 if test x$APP_MAN_SUFFIX = x    ; then
   13634     APP_MAN_SUFFIX=1
   13635 fi
   13636 if test x$APP_MAN_DIR = x    ; then
   13637     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   13638 fi
   13639 
   13640 if test x$LIB_MAN_SUFFIX = x    ; then
   13641     LIB_MAN_SUFFIX=3
   13642 fi
   13643 if test x$LIB_MAN_DIR = x    ; then
   13644     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   13645 fi
   13646 
   13647 if test x$FILE_MAN_SUFFIX = x    ; then
   13648     case $SYSV_MAN_SECTIONS in
   13649 	true)				FILE_MAN_SUFFIX=4  ;;
   13650 	*)				FILE_MAN_SUFFIX=5  ;;
   13651     esac
   13652 fi
   13653 if test x$FILE_MAN_DIR = x    ; then
   13654     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   13655 fi
   13656 
   13657 if test x$MISC_MAN_SUFFIX = x    ; then
   13658     case $SYSV_MAN_SECTIONS in
   13659 	true)				MISC_MAN_SUFFIX=5  ;;
   13660 	*)				MISC_MAN_SUFFIX=7  ;;
   13661     esac
   13662 fi
   13663 if test x$MISC_MAN_DIR = x    ; then
   13664     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   13665 fi
   13666 
   13667 if test x$DRIVER_MAN_SUFFIX = x    ; then
   13668     case $SYSV_MAN_SECTIONS in
   13669 	true)				DRIVER_MAN_SUFFIX=7  ;;
   13670 	*)				DRIVER_MAN_SUFFIX=4  ;;
   13671     esac
   13672 fi
   13673 if test x$DRIVER_MAN_DIR = x    ; then
   13674     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   13675 fi
   13676 
   13677 if test x$ADMIN_MAN_SUFFIX = x    ; then
   13678     case $SYSV_MAN_SECTIONS in
   13679 	true)				ADMIN_MAN_SUFFIX=1m ;;
   13680 	*)				ADMIN_MAN_SUFFIX=8  ;;
   13681     esac
   13682 fi
   13683 if test x$ADMIN_MAN_DIR = x    ; then
   13684     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   13685 fi
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 XORG_MAN_PAGE="X Version 11"
   13702 
   13703 MAN_SUBSTS="\
   13704 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   13705 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   13706 	-e 's|__xservername__|Xorg|g' \
   13707 	-e 's|__xconfigfile__|xorg.conf|g' \
   13708 	-e 's|__projectroot__|\$(prefix)|g' \
   13709 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   13710 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   13711 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   13712 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   13713 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   13714 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   13715 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   13716 
   13717 
   13718 
   13719 
   13720 AM_DEFAULT_VERBOSITY=0
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 # Checks for library functions
   13727 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   13728 if test "x$ac_cv_func_strlcat" = xyes
   13729 then :
   13730   printf '%s\n' "#define HAVE_STRLCAT 1" >>confdefs.h
   13731 
   13732 fi
   13733 
   13734 
   13735 # Use POSIX strnlen or the implementation supplied in this module
   13736 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
   13737 printf %s "checking for working strnlen... " >&6; }
   13738 if test ${ac_cv_func_strnlen_working+y}
   13739 then :
   13740   printf %s "(cached) " >&6
   13741 else case e in #(
   13742   e) if test "$cross_compiling" = yes
   13743 then :
   13744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13745 /* end confdefs.h.  */
   13746 $ac_includes_default
   13747 int
   13748 main (void)
   13749 {
   13750 #if defined _AIX && !defined _AIX51
   13751 	    #error "AIX pre 5.1 is buggy"
   13752 	   #endif
   13753 	   #ifdef __ANDROID__
   13754 	    #include <android/api-level.h>
   13755 	    #if __ANDROID_API__ < 22
   13756 	     #error "Android API < 22 is buggy"
   13757 	    #endif
   13758 	   #endif
   13759 
   13760   ;
   13761   return 0;
   13762 }
   13763 _ACEOF
   13764 if ac_fn_c_try_compile "$LINENO"
   13765 then :
   13766   ac_cv_func_strnlen_working=yes
   13767 else case e in #(
   13768   e) ac_cv_func_strnlen_working=no ;;
   13769 esac
   13770 fi
   13771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13772 else case e in #(
   13773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13774 /* end confdefs.h.  */
   13775 $ac_includes_default
   13776        /* Use pstrnlen to test; 'volatile' prevents the compiler
   13777 	   from optimizing the strnlen calls away.  */
   13778 	size_t (*volatile pstrnlen) (char const *, size_t) = strnlen;
   13779 	char const s[] = "foobar";
   13780 	int s_len = sizeof s - 1;
   13781 
   13782 int
   13783 main (void)
   13784 {
   13785 
   13786 	/* AIX 4.3 is buggy: strnlen (S, 1) == 3.  */
   13787 	int i;
   13788 	for (i = 0; i < s_len + 1; ++i)
   13789 	  {
   13790 	    int expected = i <= s_len ? i : s_len;
   13791 	    if (pstrnlen (s, i) != expected)
   13792 	      return 1;
   13793 	  }
   13794 
   13795 	/* Android 5.0 (API 21) strnlen ("", SIZE_MAX) incorrectly crashes.  */
   13796 	if (pstrnlen ("", -1) != 0)
   13797 	  return 1;
   13798   ;
   13799   return 0;
   13800 }
   13801 _ACEOF
   13802 if ac_fn_c_try_run "$LINENO"
   13803 then :
   13804   ac_cv_func_strnlen_working=yes
   13805 else case e in #(
   13806   e) ac_cv_func_strnlen_working=no ;;
   13807 esac
   13808 fi
   13809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13810   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13811 esac
   13812 fi
   13813  ;;
   13814 esac
   13815 fi
   13816 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
   13817 printf '%s\n' "$ac_cv_func_strnlen_working" >&6; }
   13818 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
   13819   *" strnlen.$ac_objext "* ) ;;
   13820   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
   13821  ;;
   13822 esac
   13823 
   13824 
   13825 if test "x$ac_cv_func_strnlen_working" = xyes; then
   13826 
   13827 printf '%s\n' "#define HAVE_STRNLEN 1" >>confdefs.h
   13828 
   13829 fi
   13830 
   13831 # Define a configure option for using the XCB ICCCM helper functions
   13832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use xcb-icccm library" >&5
   13833 printf %s "checking whether to use xcb-icccm library... " >&6; }
   13834 
   13835 # Check whether --with-xcb-icccm was given.
   13836 if test ${with_xcb_icccm+y}
   13837 then :
   13838   withval=$with_xcb_icccm;
   13839 else case e in #(
   13840   e) with_xcb_icccm=no ;;
   13841 esac
   13842 fi
   13843 
   13844 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_xcb_icccm" >&5
   13845 printf '%s\n' "$with_xcb_icccm" >&6; }
   13846 if test "x$with_xcb_icccm" != xno ; then
   13847 
   13848 printf '%s\n' "#define USE_XCB_ICCCM 1" >>confdefs.h
   13849 
   13850 	xcb_icccm_pc='xcb-icccm >= 0.3.8'
   13851 fi
   13852 
   13853 # Define a configure option for using the XCB Error helper functions
   13854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use xcb-errors library" >&5
   13855 printf %s "checking whether to use xcb-errors library... " >&6; }
   13856 
   13857 # Check whether --with-xcb-errors was given.
   13858 if test ${with_xcb_errors+y}
   13859 then :
   13860   withval=$with_xcb_errors;
   13861 else case e in #(
   13862   e) with_xcb_errors=no ;;
   13863 esac
   13864 fi
   13865 
   13866 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_xcb_errors" >&5
   13867 printf '%s\n' "$with_xcb_errors" >&6; }
   13868 if test "x$with_xcb_errors" != xno ; then
   13869 
   13870 printf '%s\n' "#define USE_XCB_ERRORS 1" >>confdefs.h
   13871 
   13872 	xcb_errors_pc='xcb-errors >= 1.0'
   13873 fi
   13874 
   13875 # Obtain compiler/linker options for xwininfo dependencies
   13876 
   13877 pkg_failed=no
   13878 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XWININFO" >&5
   13879 printf %s "checking for XWININFO... " >&6; }
   13880 
   13881 if test -n "$XWININFO_CFLAGS"; then
   13882     pkg_cv_XWININFO_CFLAGS="$XWININFO_CFLAGS"
   13883  elif test -n "$PKG_CONFIG"; then
   13884     if test -n "$PKG_CONFIG" && \
   13885     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6 xcb-shape \${xcb_icccm_pc} \${xcb_errors_pc}\""; } >&5
   13886   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}") 2>&5
   13887   ac_status=$?
   13888   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13889   test $ac_status = 0; }; then
   13890   pkg_cv_XWININFO_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}" 2>/dev/null`
   13891 		      test "x$?" != "x0" && pkg_failed=yes
   13892 else
   13893   pkg_failed=yes
   13894 fi
   13895  else
   13896     pkg_failed=untried
   13897 fi
   13898 if test -n "$XWININFO_LIBS"; then
   13899     pkg_cv_XWININFO_LIBS="$XWININFO_LIBS"
   13900  elif test -n "$PKG_CONFIG"; then
   13901     if test -n "$PKG_CONFIG" && \
   13902     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6 xcb-shape \${xcb_icccm_pc} \${xcb_errors_pc}\""; } >&5
   13903   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}") 2>&5
   13904   ac_status=$?
   13905   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13906   test $ac_status = 0; }; then
   13907   pkg_cv_XWININFO_LIBS=`$PKG_CONFIG --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}" 2>/dev/null`
   13908 		      test "x$?" != "x0" && pkg_failed=yes
   13909 else
   13910   pkg_failed=yes
   13911 fi
   13912  else
   13913     pkg_failed=untried
   13914 fi
   13915 
   13916 
   13917 
   13918 if test $pkg_failed = yes; then
   13919    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13920 printf '%s\n' "no" >&6; }
   13921 
   13922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13923         _pkg_short_errors_supported=yes
   13924 else
   13925         _pkg_short_errors_supported=no
   13926 fi
   13927         if test $_pkg_short_errors_supported = yes; then
   13928 	        XWININFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}" 2>&1`
   13929         else
   13930 	        XWININFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}" 2>&1`
   13931         fi
   13932 	# Put the nasty error message in config.log where it belongs
   13933 	echo "$XWININFO_PKG_ERRORS" >&5
   13934 
   13935 	as_fn_error $? "Package requirements (xcb >= 1.6 xcb-shape ${xcb_icccm_pc} ${xcb_errors_pc}) were not met:
   13936 
   13937 $XWININFO_PKG_ERRORS
   13938 
   13939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13940 installed software in a non-standard prefix.
   13941 
   13942 Alternatively, you may set the environment variables XWININFO_CFLAGS
   13943 and XWININFO_LIBS to avoid the need to call pkg-config.
   13944 See the pkg-config man page for more details." "$LINENO" 5
   13945 elif test $pkg_failed = untried; then
   13946      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13947 printf '%s\n' "no" >&6; }
   13948 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13949 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13950 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   13951 is in your PATH or set the PKG_CONFIG environment variable to the full
   13952 path to pkg-config.
   13953 
   13954 Alternatively, you may set the environment variables XWININFO_CFLAGS
   13955 and XWININFO_LIBS to avoid the need to call pkg-config.
   13956 See the pkg-config man page for more details.
   13957 
   13958 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13959 See 'config.log' for more details" "$LINENO" 5; }
   13960 else
   13961 	XWININFO_CFLAGS=$pkg_cv_XWININFO_CFLAGS
   13962 	XWININFO_LIBS=$pkg_cv_XWININFO_LIBS
   13963         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13964 printf '%s\n' "yes" >&6; }
   13965 
   13966 fi
   13967 
   13968 # Even when using xcb, xproto is still required for Xfuncproto.h
   13969 # and libX11 headers for cursorfont.h
   13970 
   13971 pkg_failed=no
   13972 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
   13973 printf %s "checking for XLIB... " >&6; }
   13974 
   13975 if test -n "$XLIB_CFLAGS"; then
   13976     pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
   13977  elif test -n "$PKG_CONFIG"; then
   13978     if test -n "$PKG_CONFIG" && \
   13979     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   13980   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   13981   ac_status=$?
   13982   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13983   test $ac_status = 0; }; then
   13984   pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   13985 		      test "x$?" != "x0" && pkg_failed=yes
   13986 else
   13987   pkg_failed=yes
   13988 fi
   13989  else
   13990     pkg_failed=untried
   13991 fi
   13992 if test -n "$XLIB_LIBS"; then
   13993     pkg_cv_XLIB_LIBS="$XLIB_LIBS"
   13994  elif test -n "$PKG_CONFIG"; then
   13995     if test -n "$PKG_CONFIG" && \
   13996     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   13997   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   13998   ac_status=$?
   13999   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14000   test $ac_status = 0; }; then
   14001   pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   14002 		      test "x$?" != "x0" && pkg_failed=yes
   14003 else
   14004   pkg_failed=yes
   14005 fi
   14006  else
   14007     pkg_failed=untried
   14008 fi
   14009 
   14010 
   14011 
   14012 if test $pkg_failed = yes; then
   14013    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14014 printf '%s\n' "no" >&6; }
   14015 
   14016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14017         _pkg_short_errors_supported=yes
   14018 else
   14019         _pkg_short_errors_supported=no
   14020 fi
   14021         if test $_pkg_short_errors_supported = yes; then
   14022 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   14023         else
   14024 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   14025         fi
   14026 	# Put the nasty error message in config.log where it belongs
   14027 	echo "$XLIB_PKG_ERRORS" >&5
   14028 
   14029 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   14030 
   14031 $XLIB_PKG_ERRORS
   14032 
   14033 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14034 installed software in a non-standard prefix.
   14035 
   14036 Alternatively, you may set the environment variables XLIB_CFLAGS
   14037 and XLIB_LIBS to avoid the need to call pkg-config.
   14038 See the pkg-config man page for more details." "$LINENO" 5
   14039 elif test $pkg_failed = untried; then
   14040      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14041 printf '%s\n' "no" >&6; }
   14042 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14043 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14044 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   14045 is in your PATH or set the PKG_CONFIG environment variable to the full
   14046 path to pkg-config.
   14047 
   14048 Alternatively, you may set the environment variables XLIB_CFLAGS
   14049 and XLIB_LIBS to avoid the need to call pkg-config.
   14050 See the pkg-config man page for more details.
   14051 
   14052 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14053 See 'config.log' for more details" "$LINENO" 5; }
   14054 else
   14055 	XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
   14056 	XLIB_LIBS=$pkg_cv_XLIB_LIBS
   14057         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14058 printf '%s\n' "yes" >&6; }
   14059 
   14060 fi
   14061 XWININFO_CFLAGS="${XWININFO_CFLAGS} ${XLIB_CFLAGS}"
   14062 XWININFO_LIBS="${XWININFO_LIBS} ${LIBICONV}"
   14063 
   14064 ac_config_files="$ac_config_files Makefile man/Makefile"
   14065 
   14066 cat >confcache <<\_ACEOF
   14067 # This file is a shell script that caches the results of configure
   14068 # tests run on this system so they can be shared between configure
   14069 # scripts and configure runs, see configure's option --config-cache.
   14070 # It is not useful on other systems.  If it contains results you don't
   14071 # want to keep, you may remove or edit it.
   14072 #
   14073 # config.status only pays attention to the cache file if you give it
   14074 # the --recheck option to rerun configure.
   14075 #
   14076 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   14077 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   14078 # following values.
   14079 
   14080 _ACEOF
   14081 
   14082 ac_cache_dump |
   14083   sed '
   14084      /^ac_cv_env_/b end
   14085      t clear
   14086      :clear
   14087      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   14088      t end
   14089      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14090      :end' >>confcache
   14091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14092   if test -w "$cache_file"; then
   14093     if test "x$cache_file" != "x/dev/null"; then
   14094       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14095 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   14096       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14097 	cat confcache >"$cache_file"
   14098       else
   14099         case $cache_file in #(
   14100         */* | ?:*)
   14101 	  mv -f confcache "$cache_file"$$ &&
   14102 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14103         *)
   14104 	  mv -f confcache "$cache_file" ;;
   14105 	esac
   14106       fi
   14107     fi
   14108   else
   14109     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14110 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   14111   fi
   14112 fi
   14113 rm -f confcache
   14114 
   14115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14116 # Let make expand exec_prefix.
   14117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14118 
   14119 DEFS=-DHAVE_CONFIG_H
   14120 
   14121 ac_libobjs=
   14122 ac_ltlibobjs=
   14123 U=
   14124 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14125   # 1. Remove the extension, and $U if already installed.
   14126   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14127   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   14128   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14129   #    will be set to the directory where LIBOBJS objects are built.
   14130   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14131   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14132 done
   14133 LIBOBJS=$ac_libobjs
   14134 
   14135 LTLIBOBJS=$ac_ltlibobjs
   14136 
   14137 
   14138 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14139 printf %s "checking that generated files are newer than configure... " >&6; }
   14140    if test -n "$am_sleep_pid"; then
   14141      # Hide warnings about reused PIDs.
   14142      wait $am_sleep_pid 2>/dev/null
   14143    fi
   14144    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14145 printf '%s\n' "done" >&6; }
   14146 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14147   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14149 fi
   14150 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14151   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14153 fi
   14154 case $enable_silent_rules in # (((
   14155   yes) AM_DEFAULT_VERBOSITY=0;;
   14156    no) AM_DEFAULT_VERBOSITY=1;;
   14157 esac
   14158 if test $am_cv_make_support_nested_variables = yes; then
   14159     AM_V='$(V)'
   14160   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   14161 else
   14162   AM_V=$AM_DEFAULT_VERBOSITY
   14163   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   14164 fi
   14165 
   14166  if test -n "$EXEEXT"; then
   14167   am__EXEEXT_TRUE=
   14168   am__EXEEXT_FALSE='#'
   14169 else
   14170   am__EXEEXT_TRUE='#'
   14171   am__EXEEXT_FALSE=
   14172 fi
   14173 
   14174 
   14175 : "${CONFIG_STATUS=./config.status}"
   14176 case $CONFIG_STATUS in #(
   14177   -*) :
   14178     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   14179   */*) :
   14180      ;; #(
   14181   *) :
   14182     CONFIG_STATUS=./$CONFIG_STATUS ;;
   14183 esac
   14184 
   14185 ac_write_fail=0
   14186 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   14187 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14188 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   14189 as_write_fail=0
   14190 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   14191 #! $SHELL
   14192 # Generated by $as_me.
   14193 # Run this file to recreate the current configuration.
   14194 # Compiler output produced by configure, useful for debugging
   14195 # configure, is in config.log if it exists.
   14196 
   14197 debug=false
   14198 ac_cs_recheck=false
   14199 ac_cs_silent=false
   14200 
   14201 SHELL=\${CONFIG_SHELL-$SHELL}
   14202 export SHELL
   14203 _ASEOF
   14204 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   14205 ## -------------------- ##
   14206 ## M4sh Initialization. ##
   14207 ## -------------------- ##
   14208 
   14209 # Be more Bourne compatible
   14210 DUALCASE=1; export DUALCASE # for MKS sh
   14211 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   14212 then :
   14213   emulate sh
   14214   NULLCMD=:
   14215   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14216   # contradicts POSIX and common usage.  Disable this.
   14217   alias -g '${1+"$@"}'='"$@"'
   14218   setopt NO_GLOB_SUBST
   14219 else case e in #(
   14220   e) case `(set -o) 2>/dev/null` in #(
   14221   *posix*) :
   14222     set -o posix ;; #(
   14223   *) :
   14224      ;;
   14225 esac ;;
   14226 esac
   14227 fi
   14228 
   14229 
   14230 
   14231 # Reset variables that may have inherited troublesome values from
   14232 # the environment.
   14233 
   14234 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   14235 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   14236 # side effect of setting IFS to empty, thus disabling word splitting.)
   14237 # Quoting is to prevent editors from complaining about space-tab.
   14238 as_nl='
   14239 '
   14240 export as_nl
   14241 IFS=" ""	$as_nl"
   14242 
   14243 PS1='$ '
   14244 PS2='> '
   14245 PS4='+ '
   14246 
   14247 # Ensure predictable behavior from utilities with locale-dependent output.
   14248 LC_ALL=C
   14249 export LC_ALL
   14250 LANGUAGE=C
   14251 export LANGUAGE
   14252 
   14253 # We cannot yet rely on "unset" to work, but we need these variables
   14254 # to be unset--not just set to an empty or harmless value--now, to
   14255 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   14256 # also avoids known problems related to "unset" and subshell syntax
   14257 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   14258 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   14259 do eval test \${$as_var+y} \
   14260   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14261 done
   14262 
   14263 # Ensure that fds 0, 1, and 2 are open.
   14264 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   14265 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   14266 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   14267 
   14268 # The user is always right.
   14269 if ${PATH_SEPARATOR+false} :; then
   14270   PATH_SEPARATOR=:
   14271   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14272     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14273       PATH_SEPARATOR=';'
   14274   }
   14275 fi
   14276 
   14277 
   14278 # Find who we are.  Look in the path if we contain no directory separator.
   14279 as_myself=
   14280 case $0 in #((
   14281   *[\\/]* ) as_myself=$0 ;;
   14282   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14283 for as_dir in $PATH
   14284 do
   14285   IFS=$as_save_IFS
   14286   case $as_dir in #(((
   14287     '') as_dir=./ ;;
   14288     */) ;;
   14289     *) as_dir=$as_dir/ ;;
   14290   esac
   14291     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   14292   done
   14293 IFS=$as_save_IFS
   14294 
   14295      ;;
   14296 esac
   14297 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   14298 # in which case we are not to be found in the path.
   14299 if test "x$as_myself" = x; then
   14300   as_myself=$0
   14301 fi
   14302 if test ! -f "$as_myself"; then
   14303   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14304   exit 1
   14305 fi
   14306 
   14307 
   14308 
   14309 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14310 # ----------------------------------------
   14311 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14312 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14313 # script with STATUS, using 1 if that was 0.
   14314 as_fn_error ()
   14315 {
   14316   as_status=$1; test $as_status -eq 0 && as_status=1
   14317   if test "$4"; then
   14318     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14319     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14320   fi
   14321   printf '%s\n' "$as_me: error: $2" >&2
   14322   as_fn_exit $as_status
   14323 } # as_fn_error
   14324 
   14325 
   14326 # as_fn_set_status STATUS
   14327 # -----------------------
   14328 # Set $? to STATUS, without forking.
   14329 as_fn_set_status ()
   14330 {
   14331   return $1
   14332 } # as_fn_set_status
   14333 
   14334 # as_fn_exit STATUS
   14335 # -----------------
   14336 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14337 as_fn_exit ()
   14338 {
   14339   set +e
   14340   as_fn_set_status $1
   14341   exit $1
   14342 } # as_fn_exit
   14343 
   14344 # as_fn_unset VAR
   14345 # ---------------
   14346 # Portably unset VAR.
   14347 as_fn_unset ()
   14348 {
   14349   { eval $1=; unset $1;}
   14350 }
   14351 as_unset=as_fn_unset
   14352 
   14353 # as_fn_append VAR VALUE
   14354 # ----------------------
   14355 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14356 # advantage of any shell optimizations that allow amortized linear growth over
   14357 # repeated appends, instead of the typical quadratic growth present in naive
   14358 # implementations.
   14359 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   14360 then :
   14361   eval 'as_fn_append ()
   14362   {
   14363     eval $1+=\$2
   14364   }'
   14365 else case e in #(
   14366   e) as_fn_append ()
   14367   {
   14368     eval $1=\$$1\$2
   14369   } ;;
   14370 esac
   14371 fi # as_fn_append
   14372 
   14373 # as_fn_arith ARG...
   14374 # ------------------
   14375 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14376 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14377 # must be portable across $(()) and expr.
   14378 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   14379 then :
   14380   eval 'as_fn_arith ()
   14381   {
   14382     as_val=$(( $* ))
   14383   }'
   14384 else case e in #(
   14385   e) as_fn_arith ()
   14386   {
   14387     as_val=`expr "$@" || test $? -eq 1`
   14388   } ;;
   14389 esac
   14390 fi # as_fn_arith
   14391 
   14392 
   14393 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14394    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14395   as_expr=expr
   14396 else
   14397   as_expr=false
   14398 fi
   14399 
   14400 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14401   as_basename=basename
   14402 else
   14403   as_basename=false
   14404 fi
   14405 
   14406 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14407   as_dirname=dirname
   14408 else
   14409   as_dirname=false
   14410 fi
   14411 
   14412 as_me=`$as_basename -- "$0" ||
   14413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14414 	 X"$0" : 'X\(//\)$' \| \
   14415 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14416 printf '%s\n' X/"$0" |
   14417     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14418 	    s//\1/
   14419 	    q
   14420 	  }
   14421 	  /^X\/\(\/\/\)$/{
   14422 	    s//\1/
   14423 	    q
   14424 	  }
   14425 	  /^X\/\(\/\).*/{
   14426 	    s//\1/
   14427 	    q
   14428 	  }
   14429 	  s/.*/./; q'`
   14430 
   14431 # Avoid depending upon Character Ranges.
   14432 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14433 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14434 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14435 as_cr_digits='0123456789'
   14436 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14437 
   14438 rm -f conf$$ conf$$.exe conf$$.file
   14439 if test -d conf$$.dir; then
   14440   rm -f conf$$.dir/conf$$.file
   14441 else
   14442   rm -f conf$$.dir
   14443   mkdir conf$$.dir 2>/dev/null
   14444 fi
   14445 if (echo >conf$$.file) 2>/dev/null; then
   14446   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14447     as_ln_s='ln -s'
   14448     # ... but there are two gotchas:
   14449     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   14450     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   14451     # In both cases, we have to default to 'cp -pR'.
   14452     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14453       as_ln_s='cp -pR'
   14454   elif ln conf$$.file conf$$ 2>/dev/null; then
   14455     as_ln_s=ln
   14456   else
   14457     as_ln_s='cp -pR'
   14458   fi
   14459 else
   14460   as_ln_s='cp -pR'
   14461 fi
   14462 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14463 rmdir conf$$.dir 2>/dev/null
   14464 
   14465 
   14466 # as_fn_mkdir_p
   14467 # -------------
   14468 # Create "$as_dir" as a directory, including parents if necessary.
   14469 as_fn_mkdir_p ()
   14470 {
   14471 
   14472   case $as_dir in #(
   14473   -*) as_dir=./$as_dir;;
   14474   esac
   14475   test -d "$as_dir" || eval $as_mkdir_p || {
   14476     as_dirs=
   14477     while :; do
   14478       case $as_dir in #(
   14479       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14480       *) as_qdir=$as_dir;;
   14481       esac
   14482       as_dirs="'$as_qdir' $as_dirs"
   14483       as_dir=`$as_dirname -- "$as_dir" ||
   14484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14485 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14486 	 X"$as_dir" : 'X\(//\)$' \| \
   14487 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14488 printf '%s\n' X"$as_dir" |
   14489     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14490 	    s//\1/
   14491 	    q
   14492 	  }
   14493 	  /^X\(\/\/\)[^/].*/{
   14494 	    s//\1/
   14495 	    q
   14496 	  }
   14497 	  /^X\(\/\/\)$/{
   14498 	    s//\1/
   14499 	    q
   14500 	  }
   14501 	  /^X\(\/\).*/{
   14502 	    s//\1/
   14503 	    q
   14504 	  }
   14505 	  s/.*/./; q'`
   14506       test -d "$as_dir" && break
   14507     done
   14508     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14509   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14510 
   14511 
   14512 } # as_fn_mkdir_p
   14513 if mkdir -p . 2>/dev/null; then
   14514   as_mkdir_p='mkdir -p "$as_dir"'
   14515 else
   14516   test -d ./-p && rmdir ./-p
   14517   as_mkdir_p=false
   14518 fi
   14519 
   14520 
   14521 # as_fn_executable_p FILE
   14522 # -----------------------
   14523 # Test if FILE is an executable regular file.
   14524 as_fn_executable_p ()
   14525 {
   14526   test -f "$1" && test -x "$1"
   14527 } # as_fn_executable_p
   14528 as_test_x='test -x'
   14529 as_executable_p=as_fn_executable_p
   14530 
   14531 # Sed expression to map a string onto a valid CPP name.
   14532 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   14533 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   14534 
   14535 # Sed expression to map a string onto a valid variable name.
   14536 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   14537 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   14538 
   14539 
   14540 exec 6>&1
   14541 ## ------------------------------------- ##
   14542 ## Main body of "$CONFIG_STATUS" script. ##
   14543 ## ------------------------------------- ##
   14544 _ASEOF
   14545 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   14546 
   14547 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14548 # Save the log message, to keep $0 and so on meaningful, and to
   14549 # report actual input values of CONFIG_FILES etc. instead of their
   14550 # values after options handling.
   14551 ac_log="
   14552 This file was extended by xwininfo $as_me 1.1.7, which was
   14553 generated by GNU Autoconf 2.73.  Invocation command line was
   14554 
   14555   CONFIG_FILES    = $CONFIG_FILES
   14556   CONFIG_HEADERS  = $CONFIG_HEADERS
   14557   CONFIG_LINKS    = $CONFIG_LINKS
   14558   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14559   $ $0 $@
   14560 
   14561 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14562 "
   14563 
   14564 _ACEOF
   14565 
   14566 case $ac_config_files in *"
   14567 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14568 esac
   14569 
   14570 case $ac_config_headers in *"
   14571 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14572 esac
   14573 
   14574 
   14575 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14576 # Files that config.status was made for.
   14577 config_files="$ac_config_files"
   14578 config_headers="$ac_config_headers"
   14579 config_commands="$ac_config_commands"
   14580 
   14581 _ACEOF
   14582 
   14583 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14584 ac_cs_usage="\
   14585 '$as_me' instantiates files and other configuration actions
   14586 from templates according to the current configuration.  Unless the files
   14587 and actions are specified as TAGs, all are instantiated by default.
   14588 
   14589 Usage: $0 [OPTION]... [TAG]...
   14590 
   14591   -h, --help       print this help, then exit
   14592   -V, --version    print version number and configuration settings, then exit
   14593       --config     print configuration, then exit
   14594   -q, --quiet, --silent
   14595                    do not print progress messages
   14596   -d, --debug      don't remove temporary files
   14597       --recheck    update $as_me by reconfiguring in the same conditions
   14598       --file=FILE[:TEMPLATE]
   14599                    instantiate the configuration file FILE
   14600       --header=FILE[:TEMPLATE]
   14601                    instantiate the configuration header FILE
   14602 
   14603 Configuration files:
   14604 $config_files
   14605 
   14606 Configuration headers:
   14607 $config_headers
   14608 
   14609 Configuration commands:
   14610 $config_commands
   14611 
   14612 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwininfo/-/issues>."
   14613 
   14614 _ACEOF
   14615 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   14616 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   14617 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14618 ac_cs_config='$ac_cs_config_escaped'
   14619 ac_cs_version="\\
   14620 xwininfo config.status 1.1.7
   14621 configured by $0, generated by GNU Autoconf 2.73,
   14622   with options \\"\$ac_cs_config\\"
   14623 
   14624 Copyright (C) 2026 Free Software Foundation, Inc.
   14625 This config.status script is free software; the Free Software Foundation
   14626 gives unlimited permission to copy, distribute and modify it."
   14627 
   14628 ac_pwd='$ac_pwd'
   14629 srcdir='$srcdir'
   14630 INSTALL='$INSTALL'
   14631 MKDIR_P='$MKDIR_P'
   14632 AWK='$AWK'
   14633 test -n "\$AWK" || {
   14634   awk '' </dev/null ||
   14635     as_fn_error \$? "try installing gawk"
   14636   AWK=awk
   14637 }
   14638 _ACEOF
   14639 
   14640 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14641 # The default lists apply if the user does not specify any file.
   14642 ac_need_defaults=:
   14643 while test $# != 0
   14644 do
   14645   case $1 in
   14646   --*=?*)
   14647     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14648     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14649     ac_shift=:
   14650     ;;
   14651   --*=)
   14652     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14653     ac_optarg=
   14654     ac_shift=:
   14655     ;;
   14656   *)
   14657     ac_option=$1
   14658     ac_optarg=$2
   14659     ac_shift=shift
   14660     ;;
   14661   esac
   14662 
   14663   case $ac_option in
   14664   # Handling of the options.
   14665   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14666     ac_cs_recheck=: ;;
   14667   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14668     printf '%s\n' "$ac_cs_version"; exit ;;
   14669   --config | --confi | --conf | --con | --co | --c )
   14670     printf '%s\n' "$ac_cs_config"; exit ;;
   14671   --debug | --debu | --deb | --de | --d | -d )
   14672     debug=: ;;
   14673   --file | --fil | --fi | --f )
   14674     $ac_shift
   14675     case $ac_optarg in
   14676     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14677     '') as_fn_error $? "missing file argument" ;;
   14678     esac
   14679     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14680     ac_need_defaults=false;;
   14681   --header | --heade | --head | --hea )
   14682     $ac_shift
   14683     case $ac_optarg in
   14684     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14685     esac
   14686     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14687     ac_need_defaults=false;;
   14688   --he | --h)
   14689     # Conflict between --help and --header
   14690     as_fn_error $? "ambiguous option: '$1'
   14691 Try '$0 --help' for more information.";;
   14692   --help | --hel | -h )
   14693     printf '%s\n' "$ac_cs_usage"; exit ;;
   14694   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14695   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14696     ac_cs_silent=: ;;
   14697 
   14698   # This is an error.
   14699   -*) as_fn_error $? "unrecognized option: '$1'
   14700 Try '$0 --help' for more information." ;;
   14701 
   14702   *) as_fn_append ac_config_targets " $1"
   14703      ac_need_defaults=false ;;
   14704 
   14705   esac
   14706   shift
   14707 done
   14708 
   14709 ac_configure_extra_args=
   14710 
   14711 if $ac_cs_silent; then
   14712   exec 6>/dev/null
   14713   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14714 fi
   14715 
   14716 _ACEOF
   14717 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14718 if \$ac_cs_recheck; then
   14719   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14720   shift
   14721   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   14722   CONFIG_SHELL='$SHELL'
   14723   export CONFIG_SHELL
   14724   exec "\$@"
   14725 fi
   14726 
   14727 _ACEOF
   14728 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14729 exec 5>>config.log
   14730 {
   14731   echo
   14732   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14733 ## Running $as_me. ##
   14734 _ASBOX
   14735   printf '%s\n' "$ac_log"
   14736 } >&5
   14737 
   14738 _ACEOF
   14739 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14740 #
   14741 # INIT-COMMANDS
   14742 #
   14743 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   14744 
   14745 _ACEOF
   14746 
   14747 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14748 
   14749 # Handling of arguments.
   14750 for ac_config_target in $ac_config_targets
   14751 do
   14752   case $ac_config_target in
   14753     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14754     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14755     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14756     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14757 
   14758   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   14759   esac
   14760 done
   14761 
   14762 
   14763 # If the user did not use the arguments to specify the items to instantiate,
   14764 # then the envvar interface is used.  Set only those that are not.
   14765 # We use the long form for the default assignment because of an extremely
   14766 # bizarre bug on SunOS 4.1.3.
   14767 if $ac_need_defaults; then
   14768   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   14769   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   14770   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   14771 fi
   14772 
   14773 # Have a temporary directory for convenience.  Make it in the build tree
   14774 # simply because there is no reason against having it here, and in addition,
   14775 # creating and moving files from /tmp can sometimes cause problems.
   14776 # Hook for its removal unless debugging.
   14777 # Note that there is a small window in which the directory will not be cleaned:
   14778 # after its creation but before its name has been assigned to '$tmp'.
   14779 $debug ||
   14780 {
   14781   tmp= ac_tmp=
   14782   trap 'exit_status=$?
   14783   : "${ac_tmp:=$tmp}"
   14784   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14785 ' 0
   14786   trap 'as_fn_exit 1' 1 2 13 15
   14787 }
   14788 # Create a (secure) tmp directory for tmp files.
   14789 
   14790 {
   14791   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14792   test -d "$tmp"
   14793 }  ||
   14794 {
   14795   tmp=./conf$$-$RANDOM
   14796   (umask 077 && mkdir "$tmp")
   14797 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14798 ac_tmp=$tmp
   14799 
   14800 # Set up the scripts for CONFIG_FILES section.
   14801 # No need to generate them if there are no CONFIG_FILES.
   14802 # This happens for instance with './config.status config.h'.
   14803 if test -n "$CONFIG_FILES"; then
   14804 
   14805 
   14806 ac_cr=`echo X | tr X '\015'`
   14807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14808 # But we know of no other shell where ac_cr would be empty at this
   14809 # point, so we can use a bashism as a fallback.
   14810 if test "x$ac_cr" = x; then
   14811   eval ac_cr=\$\'\\r\'
   14812 fi
   14813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14815   ac_cs_awk_cr='\\r'
   14816 else
   14817   ac_cs_awk_cr=$ac_cr
   14818 fi
   14819 
   14820 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14821 _ACEOF
   14822 
   14823 
   14824 {
   14825   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14826   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14827   echo "_ACEOF"
   14828 } >conf$$subs.sh ||
   14829   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14830 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   14831 ac_delim='%!_!# '
   14832 for ac_last_try in false false false false false :; do
   14833   . ./conf$$subs.sh ||
   14834     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14835 
   14836   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   14837   if test $ac_delim_n = $ac_delim_num; then
   14838     break
   14839   elif $ac_last_try; then
   14840     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14841   else
   14842     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14843   fi
   14844 done
   14845 rm -f conf$$subs.sh
   14846 
   14847 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14848 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14849 _ACEOF
   14850 sed -n '
   14851 h
   14852 s/^/S["/; s/!.*/"]=/
   14853 p
   14854 g
   14855 s/^[^!]*!//
   14856 :repl
   14857 t repl
   14858 s/'"$ac_delim"'$//
   14859 t delim
   14860 :nl
   14861 h
   14862 s/\(.\{148\}\)..*/\1/
   14863 t more1
   14864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14865 p
   14866 n
   14867 b repl
   14868 :more1
   14869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14870 p
   14871 g
   14872 s/.\{148\}//
   14873 t nl
   14874 :delim
   14875 h
   14876 s/\(.\{148\}\)..*/\1/
   14877 t more2
   14878 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14879 p
   14880 b
   14881 :more2
   14882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14883 p
   14884 g
   14885 s/.\{148\}//
   14886 t delim
   14887 ' <conf$$subs.awk | sed '
   14888 /^[^""]/{
   14889   N
   14890   s/\n//
   14891 }
   14892 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   14893 rm -f conf$$subs.awk
   14894 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14895 _ACAWK
   14896 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14897   for (key in S) S_is_set[key] = 1
   14898   FS = ""
   14899 
   14900 }
   14901 {
   14902   line = $ 0
   14903   nfields = split(line, field, "@")
   14904   substed = 0
   14905   len = length(field[1])
   14906   for (i = 2; i < nfields; i++) {
   14907     key = field[i]
   14908     keylen = length(key)
   14909     if (S_is_set[key]) {
   14910       value = S[key]
   14911       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14912       len += length(value) + length(field[++i])
   14913       substed = 1
   14914     } else
   14915       len += 1 + keylen
   14916   }
   14917 
   14918   print line
   14919 }
   14920 
   14921 _ACAWK
   14922 _ACEOF
   14923 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14925   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14926 else
   14927   cat
   14928 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14929   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14930 _ACEOF
   14931 
   14932 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14933 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14934 # trailing colons and then remove the whole line if VPATH becomes empty
   14935 # (actually we leave an empty line to preserve line numbers).
   14936 if test "x$srcdir" = x.; then
   14937   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14938 h
   14939 s///
   14940 s/^/:/
   14941 s/[	 ]*$/:/
   14942 s/:\$(srcdir):/:/g
   14943 s/:\${srcdir}:/:/g
   14944 s/:@srcdir@:/:/g
   14945 s/^:*//
   14946 s/:*$//
   14947 x
   14948 s/\(=[	 ]*\).*/\1/
   14949 G
   14950 s/\n//
   14951 s/^[^=]*=[	 ]*$//
   14952 }'
   14953 fi
   14954 
   14955 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14956 fi # test -n "$CONFIG_FILES"
   14957 
   14958 # Set up the scripts for CONFIG_HEADERS section.
   14959 # No need to generate them if there are no CONFIG_HEADERS.
   14960 # This happens for instance with './config.status Makefile'.
   14961 if test -n "$CONFIG_HEADERS"; then
   14962 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   14963 BEGIN {
   14964 _ACEOF
   14965 
   14966 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   14967 # here-document in config.status, that substitutes the proper values into
   14968 # config.h.in to produce config.h.
   14969 
   14970 # Create a delimiter string that does not exist in confdefs.h, to ease
   14971 # handling of long lines.
   14972 ac_delim='%!_!# '
   14973 for ac_last_try in false false :; do
   14974   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   14975   if test -z "$ac_tt"; then
   14976     break
   14977   elif $ac_last_try; then
   14978     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   14979   else
   14980     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14981   fi
   14982 done
   14983 
   14984 # For the awk script, D is an array of macro values keyed by name,
   14985 # likewise P contains macro parameters if any.  Preserve backslash
   14986 # newline sequences.
   14987 
   14988 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14989 sed -n '
   14990 s/.\{148\}/&'"$ac_delim"'/g
   14991 t rset
   14992 :rset
   14993 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14994 t def
   14995 d
   14996 :def
   14997 s/\\$//
   14998 t bsnl
   14999 s/["\\]/\\&/g
   15000 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15001 D["\1"]=" \3"/p
   15002 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15003 d
   15004 :bsnl
   15005 s/["\\]/\\&/g
   15006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15007 D["\1"]=" \3\\\\\\n"\\/p
   15008 t cont
   15009 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15010 t cont
   15011 d
   15012 :cont
   15013 n
   15014 s/.\{148\}/&'"$ac_delim"'/g
   15015 t clear
   15016 :clear
   15017 s/\\$//
   15018 t bsnlc
   15019 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15020 d
   15021 :bsnlc
   15022 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15023 b cont
   15024 ' <confdefs.h | sed '
   15025 s/'"$ac_delim"'/"\\\
   15026 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   15027 
   15028 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15029   for (key in D) D_is_set[key] = 1
   15030   FS = ""
   15031 }
   15032 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15033   line = \$ 0
   15034   split(line, arg, " ")
   15035   if (arg[1] == "#") {
   15036     defundef = arg[2]
   15037     mac1 = arg[3]
   15038   } else {
   15039     defundef = substr(arg[1], 2)
   15040     mac1 = arg[2]
   15041   }
   15042   split(mac1, mac2, "(") #)
   15043   macro = mac2[1]
   15044   prefix = substr(line, 1, index(line, defundef) - 1)
   15045   if (D_is_set[macro]) {
   15046     suffix = P[macro] D[macro]
   15047     while (suffix ~ /[\t ]$/) {
   15048       suffix = substr(suffix, 1, length(suffix) - 1)
   15049     }
   15050     # Preserve the white space surrounding the "#".
   15051     print prefix "define", macro suffix
   15052     next
   15053   } else {
   15054     # Replace #undef with comments.  This is necessary, for example,
   15055     # in the case of _POSIX_SOURCE, which is predefined and required
   15056     # on some systems where configure will not decide to define it.
   15057     if (defundef == "undef") {
   15058       print "/*", prefix defundef, macro, "*/"
   15059       next
   15060     }
   15061   }
   15062 }
   15063 { print }
   15064 _ACAWK
   15065 _ACEOF
   15066 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15067   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15068 fi # test -n "$CONFIG_HEADERS"
   15069 
   15070 
   15071 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15072 shift
   15073 for ac_tag
   15074 do
   15075   case $ac_tag in
   15076   :[FHLC]) ac_mode=$ac_tag; continue;;
   15077   esac
   15078   case $ac_mode$ac_tag in
   15079   :[FHL]*:*);;
   15080   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   15081   :[FH]-) ac_tag=-:-;;
   15082   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15083   esac
   15084   ac_save_IFS=$IFS
   15085   IFS=:
   15086   set x $ac_tag
   15087   IFS=$ac_save_IFS
   15088   shift
   15089   ac_file=$1
   15090   shift
   15091 
   15092   case $ac_mode in
   15093   :L) ac_source=$1;;
   15094   :[FH])
   15095     ac_file_inputs=
   15096     for ac_f
   15097     do
   15098       case $ac_f in
   15099       -) ac_f="$ac_tmp/stdin";;
   15100       *) # Look for the file first in the build tree, then in the source tree
   15101 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15102 	 # because $ac_f cannot contain ':'.
   15103 	 test -f "$ac_f" ||
   15104 	   case $ac_f in
   15105 	   [\\/$]*) false;;
   15106 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15107 	   esac ||
   15108 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   15109       esac
   15110       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15111       as_fn_append ac_file_inputs " '$ac_f'"
   15112     done
   15113 
   15114     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   15115     # use $as_me), people would be surprised to read:
   15116     #    /* config.h.  Generated by config.status.  */
   15117     configure_input='Generated from '`
   15118 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15119 	`' by configure.'
   15120     if test x"$ac_file" != x-; then
   15121       configure_input="$ac_file.  $configure_input"
   15122       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15123 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   15124     fi
   15125     # Neutralize special characters interpreted by sed in replacement strings.
   15126     case $configure_input in #(
   15127     *\&* | *\|* | *\\* )
   15128        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   15129        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15130     *) ac_sed_conf_input=$configure_input;;
   15131     esac
   15132 
   15133     case $ac_tag in
   15134     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15135       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15136     esac
   15137     ;;
   15138   esac
   15139 
   15140   ac_dir=`$as_dirname -- "$ac_file" ||
   15141 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15142 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15143 	 X"$ac_file" : 'X\(//\)$' \| \
   15144 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15145 printf '%s\n' X"$ac_file" |
   15146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15147 	    s//\1/
   15148 	    q
   15149 	  }
   15150 	  /^X\(\/\/\)[^/].*/{
   15151 	    s//\1/
   15152 	    q
   15153 	  }
   15154 	  /^X\(\/\/\)$/{
   15155 	    s//\1/
   15156 	    q
   15157 	  }
   15158 	  /^X\(\/\).*/{
   15159 	    s//\1/
   15160 	    q
   15161 	  }
   15162 	  s/.*/./; q'`
   15163   as_dir="$ac_dir"; as_fn_mkdir_p
   15164   ac_builddir=.
   15165 
   15166 case "$ac_dir" in
   15167 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15168 *)
   15169   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   15170   # A ".." for each directory in $ac_dir_suffix.
   15171   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15172   case $ac_top_builddir_sub in
   15173   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15174   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15175   esac ;;
   15176 esac
   15177 ac_abs_top_builddir=$ac_pwd
   15178 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15179 # for backward compatibility:
   15180 ac_top_builddir=$ac_top_build_prefix
   15181 
   15182 case $srcdir in
   15183   .)  # We are building in place.
   15184     ac_srcdir=.
   15185     ac_top_srcdir=$ac_top_builddir_sub
   15186     ac_abs_top_srcdir=$ac_pwd ;;
   15187   [\\/]* | ?:[\\/]* )  # Absolute name.
   15188     ac_srcdir=$srcdir$ac_dir_suffix;
   15189     ac_top_srcdir=$srcdir
   15190     ac_abs_top_srcdir=$srcdir ;;
   15191   *) # Relative name.
   15192     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15193     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15194     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15195 esac
   15196 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15197 
   15198 
   15199   case $ac_mode in
   15200   :F)
   15201   #
   15202   # CONFIG_FILE
   15203   #
   15204 
   15205   case $INSTALL in
   15206   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15207   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15208   esac
   15209   ac_MKDIR_P=$MKDIR_P
   15210   case $MKDIR_P in
   15211   [\\/$]* | ?:[\\/]* ) ;;
   15212   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15213   esac
   15214 _ACEOF
   15215 
   15216 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15217 # If the template does not know about datarootdir, expand it.
   15218 # FIXME: This hack should be removed a few years after 2.60.
   15219 ac_datarootdir_hack=; ac_datarootdir_seen=
   15220 ac_sed_dataroot='
   15221 /datarootdir/ {
   15222   p
   15223   q
   15224 }
   15225 /@datadir@/p
   15226 /@docdir@/p
   15227 /@infodir@/p
   15228 /@localedir@/p
   15229 /@mandir@/p'
   15230 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15231 *datarootdir*) ac_datarootdir_seen=yes;;
   15232 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15233   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15234 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15235 _ACEOF
   15236 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15237   ac_datarootdir_hack='
   15238   s&@datadir@&$datadir&g
   15239   s&@docdir@&$docdir&g
   15240   s&@infodir@&$infodir&g
   15241   s&@localedir@&$localedir&g
   15242   s&@mandir@&$mandir&g
   15243   s&\\\${datarootdir}&$datarootdir&g' ;;
   15244 esac
   15245 _ACEOF
   15246 
   15247 # Neutralize VPATH when '$srcdir' = '.'.
   15248 # Shell code in configure.ac might set extrasub.
   15249 # FIXME: do we really want to maintain this feature?
   15250 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15251 ac_sed_extra="$ac_vpsub
   15252 $extrasub
   15253 _ACEOF
   15254 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15255 :t
   15256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15257 s|@configure_input@|$ac_sed_conf_input|;t t
   15258 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15259 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15260 s&@srcdir@&$ac_srcdir&;t t
   15261 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15262 s&@top_srcdir@&$ac_top_srcdir&;t t
   15263 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15264 s&@builddir@&$ac_builddir&;t t
   15265 s&@abs_builddir@&$ac_abs_builddir&;t t
   15266 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15267 s&@INSTALL@&$ac_INSTALL&;t t
   15268 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15269 $ac_datarootdir_hack
   15270 "
   15271 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15272   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15273 
   15274 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15275   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15276   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15277       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15278   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   15279 which seems to be undefined.  Please make sure it is defined" >&5
   15280 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   15281 which seems to be undefined.  Please make sure it is defined" >&2;}
   15282 
   15283   rm -f "$ac_tmp/stdin"
   15284   case $ac_file in
   15285   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15286   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15287   esac \
   15288   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15289  ;;
   15290   :H)
   15291   #
   15292   # CONFIG_HEADER
   15293   #
   15294   if test x"$ac_file" != x-; then
   15295     {
   15296       printf '%s\n' "/* $configure_input  */" >&1 \
   15297       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15298     } >"$ac_tmp/config.h" \
   15299       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15300     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15301       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15302 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   15303     else
   15304       rm -f "$ac_file"
   15305       mv "$ac_tmp/config.h" "$ac_file" \
   15306 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15307     fi
   15308   else
   15309     printf '%s\n' "/* $configure_input  */" >&1 \
   15310       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15311       || as_fn_error $? "could not create -" "$LINENO" 5
   15312   fi
   15313 # Compute "$ac_file"'s index in $config_headers.
   15314 _am_arg="$ac_file"
   15315 _am_stamp_count=1
   15316 for _am_header in $config_headers :; do
   15317   case $_am_header in
   15318     $_am_arg | $_am_arg:* )
   15319       break ;;
   15320     * )
   15321       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15322   esac
   15323 done
   15324 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15325 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15326 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15327 	 X"$_am_arg" : 'X\(//\)$' \| \
   15328 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15329 printf '%s\n' X"$_am_arg" |
   15330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15331 	    s//\1/
   15332 	    q
   15333 	  }
   15334 	  /^X\(\/\/\)[^/].*/{
   15335 	    s//\1/
   15336 	    q
   15337 	  }
   15338 	  /^X\(\/\/\)$/{
   15339 	    s//\1/
   15340 	    q
   15341 	  }
   15342 	  /^X\(\/\).*/{
   15343 	    s//\1/
   15344 	    q
   15345 	  }
   15346 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15347  ;;
   15348 
   15349   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15350 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   15351  ;;
   15352   esac
   15353 
   15354 
   15355   case $ac_file$ac_mode in
   15356     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15357   # Older Autoconf quotes --file arguments for eval, but not when files
   15358   # are listed without --file.  Let's play safe and only enable the eval
   15359   # if we detect the quoting.
   15360   # TODO: see whether this extra hack can be removed once we start
   15361   # requiring Autoconf 2.70 or later.
   15362   case $CONFIG_FILES in #(
   15363   *\'*) :
   15364     eval set x "$CONFIG_FILES" ;; #(
   15365   *) :
   15366     set x $CONFIG_FILES ;; #(
   15367   *) :
   15368      ;;
   15369 esac
   15370   shift
   15371   # Used to flag and report bootstrapping failures.
   15372   am_rc=0
   15373   for am_mf
   15374   do
   15375     # Strip MF so we end up with the name of the file.
   15376     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   15377     # Check whether this is an Automake generated Makefile which includes
   15378     # dependency-tracking related rules and includes.
   15379     # Grep'ing the whole file directly is not great: AIX grep has a line
   15380     # limit of 2048, but all sed's we know have understand at least 4000.
   15381     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   15382       || continue
   15383     am_dirpart=`$as_dirname -- "$am_mf" ||
   15384 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15385 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   15386 	 X"$am_mf" : 'X\(//\)$' \| \
   15387 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   15388 printf '%s\n' X"$am_mf" |
   15389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15390 	    s//\1/
   15391 	    q
   15392 	  }
   15393 	  /^X\(\/\/\)[^/].*/{
   15394 	    s//\1/
   15395 	    q
   15396 	  }
   15397 	  /^X\(\/\/\)$/{
   15398 	    s//\1/
   15399 	    q
   15400 	  }
   15401 	  /^X\(\/\).*/{
   15402 	    s//\1/
   15403 	    q
   15404 	  }
   15405 	  s/.*/./; q'`
   15406     am_filepart=`$as_basename -- "$am_mf" ||
   15407 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   15408 	 X"$am_mf" : 'X\(//\)$' \| \
   15409 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   15410 printf '%s\n' X/"$am_mf" |
   15411     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15412 	    s//\1/
   15413 	    q
   15414 	  }
   15415 	  /^X\/\(\/\/\)$/{
   15416 	    s//\1/
   15417 	    q
   15418 	  }
   15419 	  /^X\/\(\/\).*/{
   15420 	    s//\1/
   15421 	    q
   15422 	  }
   15423 	  s/.*/./; q'`
   15424     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   15425       && sed -e '/# am--include-marker/d' "$am_filepart" \
   15426         | $MAKE -f - am--depfiles" >&5
   15427    (cd "$am_dirpart" \
   15428       && sed -e '/# am--include-marker/d' "$am_filepart" \
   15429         | $MAKE -f - am--depfiles) >&5 2>&5
   15430    ac_status=$?
   15431    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15432    (exit $ac_status); } || am_rc=$?
   15433   done
   15434   if test $am_rc -ne 0; then
   15435     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   15436 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   15437 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   15438     for automatic dependency tracking.  If GNU make was not used, consider
   15439     re-running the configure script with MAKE=\"gmake\" (or whatever is
   15440     necessary).  You can also try re-running configure with the
   15441     '--disable-dependency-tracking' option to at least be able to build
   15442     the package (albeit without support for automatic dependency tracking).
   15443 See 'config.log' for more details" "$LINENO" 5; }
   15444   fi
   15445   { am_dirpart=; unset am_dirpart;}
   15446   { am_filepart=; unset am_filepart;}
   15447   { am_mf=; unset am_mf;}
   15448   { am_rc=; unset am_rc;}
   15449   rm -f conftest-deps.mk
   15450 }
   15451  ;;
   15452 
   15453   esac
   15454 done # for ac_tag
   15455 
   15456 
   15457 as_fn_exit 0
   15458 _ACEOF
   15459 ac_clean_CONFIG_STATUS=
   15460 
   15461 test $ac_write_fail = 0 ||
   15462   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15463 
   15464 
   15465 # configure is writing to config.log, and then calls config.status.
   15466 # config.status does its own redirection, appending to config.log.
   15467 # Unfortunately, on DOS this fails, as config.log is still kept open
   15468 # by configure, so config.status won't be able to write to it; its
   15469 # output is simply discarded.  So we exec the FD to /dev/null,
   15470 # effectively closing config.log, so it can be properly (re)opened and
   15471 # appended to by config.status.  When coming back to configure, we
   15472 # need to make the FD available again.
   15473 if test "$no_create" != yes; then
   15474   ac_cs_success=:
   15475   case $CONFIG_STATUS in #(
   15476   -*) :
   15477     ac_no_opts=-- ;; #(
   15478   *) :
   15479     ac_no_opts= ;;
   15480 esac
   15481   ac_config_status_args=
   15482   test "$silent" = yes &&
   15483     ac_config_status_args="$ac_config_status_args --quiet"
   15484   exec 5>/dev/null
   15485   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   15486     ac_cs_success=false
   15487   exec 5>>config.log
   15488   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15489   # would make configure fail if this is the last instruction.
   15490   $ac_cs_success || as_fn_exit 1
   15491 fi
   15492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15493   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15494 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15495 fi
   15496 
   15497 
   15498