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 xclock 1.2.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/-/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/xclock/-/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='xclock'
    591 PACKAGE_TARNAME='xclock'
    592 PACKAGE_VERSION='1.2.1'
    593 PACKAGE_STRING='xclock 1.2.1'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xclock/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 ac_subst_vars='am__EXEEXT_FALSE
    631 am__EXEEXT_TRUE
    632 LTLIBOBJS
    633 LIBOBJS
    634 appdefaultdir
    635 APPDEFS_LIBS
    636 APPDEFS_CFLAGS
    637 XKB_LIBS
    638 XKB_CFLAGS
    639 XFT_LIBS
    640 XFT_CFLAGS
    641 XCLOCK_LIBS
    642 XCLOCK_CFLAGS
    643 LTLIBICONV
    644 LIBICONV
    645 CPP
    646 MAN_SUBSTS
    647 XORG_MAN_PAGE
    648 ADMIN_MAN_DIR
    649 DRIVER_MAN_DIR
    650 MISC_MAN_DIR
    651 FILE_MAN_DIR
    652 LIB_MAN_DIR
    653 APP_MAN_DIR
    654 ADMIN_MAN_SUFFIX
    655 DRIVER_MAN_SUFFIX
    656 MISC_MAN_SUFFIX
    657 FILE_MAN_SUFFIX
    658 LIB_MAN_SUFFIX
    659 APP_MAN_SUFFIX
    660 SED
    661 host_os
    662 host_vendor
    663 host_cpu
    664 host
    665 build_os
    666 build_vendor
    667 build_cpu
    668 build
    669 INSTALL_CMD
    670 PKG_CONFIG_LIBDIR
    671 PKG_CONFIG_PATH
    672 PKG_CONFIG
    673 CHANGELOG_CMD
    674 STRICT_CFLAGS
    675 CWARNFLAGS
    676 BASE_CFLAGS
    677 am__fastdepCC_FALSE
    678 am__fastdepCC_TRUE
    679 CCDEPMODE
    680 am__nodep
    681 AMDEPBACKSLASH
    682 AMDEP_FALSE
    683 AMDEP_TRUE
    684 am__include
    685 DEPDIR
    686 OBJEXT
    687 EXEEXT
    688 ac_ct_CC
    689 CPPFLAGS
    690 LDFLAGS
    691 CFLAGS
    692 CC
    693 am__xargs_n
    694 am__rm_f_notfound
    695 AM_BACKSLASH
    696 AM_DEFAULT_VERBOSITY
    697 AM_DEFAULT_V
    698 AM_V
    699 CSCOPE
    700 ETAGS
    701 CTAGS
    702 am__untar
    703 am__tar
    704 AMTAR
    705 am__leading_dot
    706 SET_MAKE
    707 AWK
    708 mkdir_p
    709 MKDIR_P
    710 INSTALL_STRIP_PROGRAM
    711 STRIP
    712 install_sh
    713 MAKEINFO
    714 AUTOHEADER
    715 AUTOMAKE
    716 AUTOCONF
    717 ACLOCAL
    718 VERSION
    719 PACKAGE
    720 CYGPATH_W
    721 am__isrc
    722 INSTALL_DATA
    723 INSTALL_SCRIPT
    724 INSTALL_PROGRAM
    725 ECHO_T
    726 ECHO_N
    727 ECHO_C
    728 target_alias
    729 host_alias
    730 build_alias
    731 LIBS
    732 DEFS
    733 mandir
    734 localedir
    735 libdir
    736 psdir
    737 pdfdir
    738 dvidir
    739 htmldir
    740 infodir
    741 docdir
    742 oldincludedir
    743 includedir
    744 runstatedir
    745 localstatedir
    746 sharedstatedir
    747 sysconfdir
    748 datadir
    749 datarootdir
    750 libexecdir
    751 sbindir
    752 bindir
    753 program_transform_name
    754 prefix
    755 exec_prefix
    756 PACKAGE_URL
    757 PACKAGE_BUGREPORT
    758 PACKAGE_STRING
    759 PACKAGE_VERSION
    760 PACKAGE_TARNAME
    761 PACKAGE_NAME
    762 PATH_SEPARATOR
    763 SHELL
    764 am__quote'
    765 ac_subst_files=''
    766 ac_user_opts='
    767 enable_option_checking
    768 enable_silent_rules
    769 enable_dependency_tracking
    770 enable_selective_werror
    771 enable_strict_compilation
    772 with_gnu_ld
    773 enable_rpath
    774 with_libiconv_prefix
    775 with_xft
    776 with_xkb
    777 with_appdefaultdir
    778 '
    779       ac_precious_vars='build_alias
    780 host_alias
    781 target_alias
    782 CC
    783 CFLAGS
    784 LDFLAGS
    785 LIBS
    786 CPPFLAGS
    787 PKG_CONFIG
    788 PKG_CONFIG_PATH
    789 PKG_CONFIG_LIBDIR
    790 CPP
    791 XCLOCK_CFLAGS
    792 XCLOCK_LIBS
    793 XFT_CFLAGS
    794 XFT_LIBS
    795 XKB_CFLAGS
    796 XKB_LIBS
    797 APPDEFS_CFLAGS
    798 APPDEFS_LIBS'
    799 
    800 
    801 # Initialize some variables set by options.
    802 ac_init_help=
    803 ac_init_version=false
    804 ac_unrecognized_opts=
    805 ac_unrecognized_sep=
    806 # The variables have the same names as the options, with
    807 # dashes changed to underlines.
    808 cache_file=/dev/null
    809 exec_prefix=NONE
    810 no_create=
    811 no_recursion=
    812 prefix=NONE
    813 program_prefix=NONE
    814 program_suffix=NONE
    815 program_transform_name=s,x,x,
    816 silent=
    817 site=
    818 srcdir=
    819 verbose=
    820 x_includes=NONE
    821 x_libraries=NONE
    822 
    823 # Installation directory options.
    824 # These are left unexpanded so users can "make install exec_prefix=/foo"
    825 # and all the variables that are supposed to be based on exec_prefix
    826 # by default will actually change.
    827 # Use braces instead of parens because sh, perl, etc. also accept them.
    828 # (The list follows the same order as the GNU Coding Standards.)
    829 bindir='${exec_prefix}/bin'
    830 sbindir='${exec_prefix}/sbin'
    831 libexecdir='${exec_prefix}/libexec'
    832 datarootdir='${prefix}/share'
    833 datadir='${datarootdir}'
    834 sysconfdir='${prefix}/etc'
    835 sharedstatedir='${prefix}/com'
    836 localstatedir='${prefix}/var'
    837 runstatedir='${localstatedir}/run'
    838 includedir='${prefix}/include'
    839 oldincludedir='/usr/include'
    840 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    841 infodir='${datarootdir}/info'
    842 htmldir='${docdir}'
    843 dvidir='${docdir}'
    844 pdfdir='${docdir}'
    845 psdir='${docdir}'
    846 libdir='${exec_prefix}/lib'
    847 localedir='${datarootdir}/locale'
    848 mandir='${datarootdir}/man'
    849 
    850 ac_prev=
    851 ac_dashdash=
    852 for ac_option
    853 do
    854   # If the previous option needs an argument, assign it.
    855   if test -n "$ac_prev"; then
    856     eval $ac_prev=\$ac_option
    857     ac_prev=
    858     continue
    859   fi
    860 
    861   case $ac_option in
    862   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    863   *=)   ac_optarg= ;;
    864   *)    ac_optarg=yes ;;
    865   esac
    866 
    867   case $ac_dashdash$ac_option in
    868   --)
    869     ac_dashdash=yes ;;
    870 
    871   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    872     ac_prev=bindir ;;
    873   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    874     bindir=$ac_optarg ;;
    875 
    876   -build | --build | --buil | --bui | --bu)
    877     ac_prev=build_alias ;;
    878   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    879     build_alias=$ac_optarg ;;
    880 
    881   -cache-file | --cache-file | --cache-fil | --cache-fi \
    882   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    883     ac_prev=cache_file ;;
    884   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    885   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    886     cache_file=$ac_optarg ;;
    887 
    888   --config-cache | -C)
    889     cache_file=config.cache ;;
    890 
    891   -datadir | --datadir | --datadi | --datad)
    892     ac_prev=datadir ;;
    893   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    894     datadir=$ac_optarg ;;
    895 
    896   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    897   | --dataroo | --dataro | --datar)
    898     ac_prev=datarootdir ;;
    899   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    900   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    901     datarootdir=$ac_optarg ;;
    902 
    903   -disable-* | --disable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: '$ac_useropt'"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=no ;;
    918 
    919   -docdir | --docdir | --docdi | --doc | --do)
    920     ac_prev=docdir ;;
    921   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    922     docdir=$ac_optarg ;;
    923 
    924   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    925     ac_prev=dvidir ;;
    926   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    927     dvidir=$ac_optarg ;;
    928 
    929   -enable-* | --enable-*)
    930     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    931     # Reject names that are not valid shell variable names.
    932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    933       as_fn_error $? "invalid feature name: '$ac_useropt'"
    934     ac_useropt_orig=$ac_useropt
    935     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    936     case $ac_user_opts in
    937       *"
    938 "enable_$ac_useropt"
    939 "*) ;;
    940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    941 	 ac_unrecognized_sep=', ';;
    942     esac
    943     eval enable_$ac_useropt=\$ac_optarg ;;
    944 
    945   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    946   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    947   | --exec | --exe | --ex)
    948     ac_prev=exec_prefix ;;
    949   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    950   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    951   | --exec=* | --exe=* | --ex=*)
    952     exec_prefix=$ac_optarg ;;
    953 
    954   -gas | --gas | --ga | --g)
    955     # Obsolete; use --with-gas.
    956     with_gas=yes ;;
    957 
    958   -help | --help | --hel | --he | -h)
    959     ac_init_help=long ;;
    960   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    961     ac_init_help=recursive ;;
    962   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    963     ac_init_help=short ;;
    964 
    965   -host | --host | --hos | --ho)
    966     ac_prev=host_alias ;;
    967   -host=* | --host=* | --hos=* | --ho=*)
    968     host_alias=$ac_optarg ;;
    969 
    970   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    971     ac_prev=htmldir ;;
    972   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    973   | --ht=*)
    974     htmldir=$ac_optarg ;;
    975 
    976   -includedir | --includedir | --includedi | --included | --include \
    977   | --includ | --inclu | --incl | --inc)
    978     ac_prev=includedir ;;
    979   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    980   | --includ=* | --inclu=* | --incl=* | --inc=*)
    981     includedir=$ac_optarg ;;
    982 
    983   -infodir | --infodir | --infodi | --infod | --info | --inf)
    984     ac_prev=infodir ;;
    985   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    986     infodir=$ac_optarg ;;
    987 
    988   -libdir | --libdir | --libdi | --libd)
    989     ac_prev=libdir ;;
    990   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    991     libdir=$ac_optarg ;;
    992 
    993   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    994   | --libexe | --libex | --libe)
    995     ac_prev=libexecdir ;;
    996   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    997   | --libexe=* | --libex=* | --libe=*)
    998     libexecdir=$ac_optarg ;;
    999 
   1000   -localedir | --localedir | --localedi | --localed | --locale)
   1001     ac_prev=localedir ;;
   1002   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1003     localedir=$ac_optarg ;;
   1004 
   1005   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1006   | --localstate | --localstat | --localsta | --localst | --locals)
   1007     ac_prev=localstatedir ;;
   1008   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1009   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1010     localstatedir=$ac_optarg ;;
   1011 
   1012   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1013     ac_prev=mandir ;;
   1014   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1015     mandir=$ac_optarg ;;
   1016 
   1017   -nfp | --nfp | --nf)
   1018     # Obsolete; use --without-fp.
   1019     with_fp=no ;;
   1020 
   1021   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1022   | --no-cr | --no-c | -n)
   1023     no_create=yes ;;
   1024 
   1025   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1026   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1027     no_recursion=yes ;;
   1028 
   1029   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1030   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1031   | --oldin | --oldi | --old | --ol | --o)
   1032     ac_prev=oldincludedir ;;
   1033   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1034   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1035   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1036     oldincludedir=$ac_optarg ;;
   1037 
   1038   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1039     ac_prev=prefix ;;
   1040   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1041     prefix=$ac_optarg ;;
   1042 
   1043   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1044   | --program-pre | --program-pr | --program-p)
   1045     ac_prev=program_prefix ;;
   1046   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1047   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1048     program_prefix=$ac_optarg ;;
   1049 
   1050   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1051   | --program-suf | --program-su | --program-s)
   1052     ac_prev=program_suffix ;;
   1053   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1054   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1055     program_suffix=$ac_optarg ;;
   1056 
   1057   -program-transform-name | --program-transform-name \
   1058   | --program-transform-nam | --program-transform-na \
   1059   | --program-transform-n | --program-transform- \
   1060   | --program-transform | --program-transfor \
   1061   | --program-transfo | --program-transf \
   1062   | --program-trans | --program-tran \
   1063   | --progr-tra | --program-tr | --program-t)
   1064     ac_prev=program_transform_name ;;
   1065   -program-transform-name=* | --program-transform-name=* \
   1066   | --program-transform-nam=* | --program-transform-na=* \
   1067   | --program-transform-n=* | --program-transform-=* \
   1068   | --program-transform=* | --program-transfor=* \
   1069   | --program-transfo=* | --program-transf=* \
   1070   | --program-trans=* | --program-tran=* \
   1071   | --progr-tra=* | --program-tr=* | --program-t=*)
   1072     program_transform_name=$ac_optarg ;;
   1073 
   1074   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1075     ac_prev=pdfdir ;;
   1076   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1077     pdfdir=$ac_optarg ;;
   1078 
   1079   -psdir | --psdir | --psdi | --psd | --ps)
   1080     ac_prev=psdir ;;
   1081   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1082     psdir=$ac_optarg ;;
   1083 
   1084   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1085   | -silent | --silent | --silen | --sile | --sil)
   1086     silent=yes ;;
   1087 
   1088   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1089   | --runstate | --runstat | --runsta | --runst | --runs \
   1090   | --run | --ru | --r)
   1091     ac_prev=runstatedir ;;
   1092   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1093   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1094   | --run=* | --ru=* | --r=*)
   1095     runstatedir=$ac_optarg ;;
   1096 
   1097   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1098     ac_prev=sbindir ;;
   1099   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1100   | --sbi=* | --sb=*)
   1101     sbindir=$ac_optarg ;;
   1102 
   1103   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1104   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1105   | --sharedst | --shareds | --shared | --share | --shar \
   1106   | --sha | --sh)
   1107     ac_prev=sharedstatedir ;;
   1108   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1109   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1110   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1111   | --sha=* | --sh=*)
   1112     sharedstatedir=$ac_optarg ;;
   1113 
   1114   -site | --site | --sit)
   1115     ac_prev=site ;;
   1116   -site=* | --site=* | --sit=*)
   1117     site=$ac_optarg ;;
   1118 
   1119   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1120     ac_prev=srcdir ;;
   1121   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1122     srcdir=$ac_optarg ;;
   1123 
   1124   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1125   | --syscon | --sysco | --sysc | --sys | --sy)
   1126     ac_prev=sysconfdir ;;
   1127   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1128   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1129     sysconfdir=$ac_optarg ;;
   1130 
   1131   -target | --target | --targe | --targ | --tar | --ta | --t)
   1132     ac_prev=target_alias ;;
   1133   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1134     target_alias=$ac_optarg ;;
   1135 
   1136   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1137     verbose=yes ;;
   1138 
   1139   -version | --version | --versio | --versi | --vers | -V)
   1140     ac_init_version=: ;;
   1141 
   1142   -with-* | --with-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: '$ac_useropt'"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: '$ac_useropt'"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=no ;;
   1173 
   1174   --x)
   1175     # Obsolete; use --with-x.
   1176     with_x=yes ;;
   1177 
   1178   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1179   | --x-incl | --x-inc | --x-in | --x-i)
   1180     ac_prev=x_includes ;;
   1181   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1182   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1183     x_includes=$ac_optarg ;;
   1184 
   1185   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1186   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1187     ac_prev=x_libraries ;;
   1188   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1189   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1190     x_libraries=$ac_optarg ;;
   1191 
   1192   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1193 Try '$0 --help' for more information"
   1194     ;;
   1195 
   1196   *=*)
   1197     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1198     # Reject names that are not valid shell variable names.
   1199     case $ac_envvar in #(
   1200       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1201       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1202     esac
   1203     eval $ac_envvar=\$ac_optarg
   1204     export $ac_envvar ;;
   1205 
   1206   *)
   1207     # FIXME: should be removed in autoconf 3.0.
   1208     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1209     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1210       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1211     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1212     ;;
   1213 
   1214   esac
   1215 done
   1216 
   1217 if test -n "$ac_prev"; then
   1218   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1219   as_fn_error $? "missing argument to $ac_option"
   1220 fi
   1221 
   1222 if test -n "$ac_unrecognized_opts"; then
   1223   case $enable_option_checking in
   1224     no) ;;
   1225     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1226     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1227   esac
   1228 fi
   1229 
   1230 # Check all directory arguments for consistency.
   1231 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1232 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1233 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1234 		libdir localedir mandir runstatedir
   1235 do
   1236   eval ac_val=\$$ac_var
   1237   # Remove trailing slashes.
   1238   case $ac_val in
   1239     */ )
   1240       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1241       eval $ac_var=\$ac_val;;
   1242   esac
   1243   # Be sure to have absolute directory names.
   1244   case $ac_val in
   1245     [\\/$]* | ?:[\\/]* )  continue;;
   1246     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1247   esac
   1248   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1249 done
   1250 
   1251 # There might be people who depend on the old broken behavior: '$host'
   1252 # used to hold the argument of --host etc.
   1253 # FIXME: To remove some day.
   1254 build=$build_alias
   1255 host=$host_alias
   1256 target=$target_alias
   1257 
   1258 # FIXME: To remove some day.
   1259 if test "x$host_alias" != x; then
   1260   if test "x$build_alias" = x; then
   1261     cross_compiling=maybe
   1262   elif test "x$build_alias" != "x$host_alias"; then
   1263     cross_compiling=yes
   1264   fi
   1265 fi
   1266 
   1267 ac_tool_prefix=
   1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1269 
   1270 test "$silent" = yes && exec 6>/dev/null
   1271 
   1272 
   1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1274 ac_ls_di=`ls -di .` &&
   1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1276   as_fn_error $? "working directory cannot be determined"
   1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1278   as_fn_error $? "pwd does not report name of working directory"
   1279 
   1280 
   1281 # Find the source files, if location was not specified.
   1282 if test -z "$srcdir"; then
   1283   ac_srcdir_defaulted=yes
   1284   # Try the directory containing this script, then the parent directory.
   1285   ac_confdir=`$as_dirname -- "$as_myself" ||
   1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1287 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1288 	 X"$as_myself" : 'X\(//\)$' \| \
   1289 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1290 printf '%s\n' X"$as_myself" |
   1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)[^/].*/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\).*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  s/.*/./; q'`
   1308   srcdir=$ac_confdir
   1309   if test ! -r "$srcdir/$ac_unique_file"; then
   1310     srcdir=..
   1311   fi
   1312 else
   1313   ac_srcdir_defaulted=no
   1314 fi
   1315 if test ! -r "$srcdir/$ac_unique_file"; then
   1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1317   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1318 fi
   1319 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1320 ac_abs_confdir=`(
   1321 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1322 	pwd)`
   1323 # When building in place, set srcdir=.
   1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1325   srcdir=.
   1326 fi
   1327 # Remove unnecessary trailing slashes from srcdir.
   1328 # Double slashes in file names in object file debugging info
   1329 # mess up M-x gdb in Emacs.
   1330 case $srcdir in
   1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1332 esac
   1333 for ac_var in $ac_precious_vars; do
   1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_env_${ac_var}_value=\$${ac_var}
   1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1338 done
   1339 
   1340 #
   1341 # Report the --help message.
   1342 #
   1343 if test "$ac_init_help" = "long"; then
   1344   # Omit some internal or obsolete options to make the list less imposing.
   1345   # This message is too long to be a string in the A/UX 3.1 sh.
   1346   cat <<_ACEOF
   1347 'configure' configures xclock 1.2.1 to adapt to many kinds of systems.
   1348 
   1349 Usage: $0 [OPTION]... [VAR=VALUE]...
   1350 
   1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1353 
   1354 Defaults for the options are specified in brackets.
   1355 
   1356 Configuration:
   1357   -h, --help              display this help and exit
   1358       --help=short        display options specific to this package
   1359       --help=recursive    display the short help of all the included packages
   1360   -V, --version           display version information and exit
   1361   -q, --quiet, --silent   do not print 'checking ...' messages
   1362       --cache-file=FILE   cache test results in FILE [disabled]
   1363   -C, --config-cache      alias for '--cache-file=config.cache'
   1364   -n, --no-create         do not create output files
   1365       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1366 
   1367 Installation directories:
   1368   --prefix=PREFIX         install architecture-independent files in PREFIX
   1369                           [$ac_default_prefix]
   1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1371                           [PREFIX]
   1372 
   1373 By default, 'make install' will install all the files in
   1374 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1375 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1376 for instance '--prefix=\$HOME'.
   1377 
   1378 For better control, use the options below.
   1379 
   1380 Fine tuning of the installation directories:
   1381   --bindir=DIR            user executables [EPREFIX/bin]
   1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1387   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1388   --libdir=DIR            object code libraries [EPREFIX/lib]
   1389   --includedir=DIR        C header files [PREFIX/include]
   1390   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1391   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1392   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1393   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1394   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1395   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1396   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclock]
   1397   --htmldir=DIR           html documentation [DOCDIR]
   1398   --dvidir=DIR            dvi documentation [DOCDIR]
   1399   --pdfdir=DIR            pdf documentation [DOCDIR]
   1400   --psdir=DIR             ps documentation [DOCDIR]
   1401 _ACEOF
   1402 
   1403   cat <<\_ACEOF
   1404 
   1405 Program names:
   1406   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1407   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1408   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1409 
   1410 System types:
   1411   --build=BUILD     configure for building on BUILD [guessed]
   1412   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1413 _ACEOF
   1414 fi
   1415 
   1416 if test -n "$ac_init_help"; then
   1417   case $ac_init_help in
   1418      short | recursive ) echo "Configuration of xclock 1.2.1:";;
   1419    esac
   1420   cat <<\_ACEOF
   1421 
   1422 Optional Features:
   1423   --disable-option-checking  ignore unrecognized --enable/--with options
   1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1426   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1427   --disable-silent-rules  verbose build output (undo: "make V=0")
   1428   --enable-dependency-tracking
   1429                           do not reject slow dependency extractors
   1430   --disable-dependency-tracking
   1431                           speeds up one-time build
   1432   --disable-selective-werror
   1433                           Turn off selective compiler errors. (default:
   1434                           enabled)
   1435   --enable-strict-compilation
   1436                           Enable all warnings from compiler and make them
   1437                           errors (default: disabled)
   1438   --disable-rpath         do not hardcode runtime library paths
   1439 
   1440 Optional Packages:
   1441   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1442   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1443   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1444   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1445   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1446   --with-xft              Use Xft2 and Xrender for rendering (Default is YES)
   1447   --with-xkb              Use XKB to sound bells (Default is YES)
   1448   --with-appdefaultdir=<pathname>
   1449                           specify directory for app-defaults files (default is
   1450                           autodetected)
   1451 
   1452 Some influential environment variables:
   1453   CC          C compiler command
   1454   CFLAGS      C compiler flags
   1455   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1456               nonstandard directory <lib dir>
   1457   LIBS        libraries to pass to the linker, e.g. -l<library>
   1458   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1459               you have headers in a nonstandard directory <include dir>
   1460   PKG_CONFIG  path to pkg-config utility
   1461   PKG_CONFIG_PATH
   1462               directories to add to pkg-config's search path
   1463   PKG_CONFIG_LIBDIR
   1464               path overriding pkg-config's built-in search path
   1465   CPP         C preprocessor
   1466   XCLOCK_CFLAGS
   1467               C compiler flags for XCLOCK, overriding pkg-config
   1468   XCLOCK_LIBS linker flags for XCLOCK, overriding pkg-config
   1469   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
   1470   XFT_LIBS    linker flags for XFT, overriding pkg-config
   1471   XKB_CFLAGS  C compiler flags for XKB, overriding pkg-config
   1472   XKB_LIBS    linker flags for XKB, overriding pkg-config
   1473   APPDEFS_CFLAGS
   1474               C compiler flags for APPDEFS, overriding pkg-config
   1475   APPDEFS_LIBS
   1476               linker flags for APPDEFS, overriding pkg-config
   1477 
   1478 Use these variables to override the choices made by 'configure' or to help
   1479 it to find libraries and programs with nonstandard names/locations.
   1480 
   1481 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/-/issues>.
   1482 _ACEOF
   1483 ac_status=$?
   1484 fi
   1485 
   1486 if test "$ac_init_help" = "recursive"; then
   1487   # If there are subdirs, report their specific --help.
   1488   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1489     test -d "$ac_dir" ||
   1490       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1491       continue
   1492     ac_builddir=.
   1493 
   1494 case "$ac_dir" in
   1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1496 *)
   1497   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1498   # A ".." for each directory in $ac_dir_suffix.
   1499   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1500   case $ac_top_builddir_sub in
   1501   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1503   esac ;;
   1504 esac
   1505 ac_abs_top_builddir=$ac_pwd
   1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1507 # for backward compatibility:
   1508 ac_top_builddir=$ac_top_build_prefix
   1509 
   1510 case $srcdir in
   1511   .)  # We are building in place.
   1512     ac_srcdir=.
   1513     ac_top_srcdir=$ac_top_builddir_sub
   1514     ac_abs_top_srcdir=$ac_pwd ;;
   1515   [\\/]* | ?:[\\/]* )  # Absolute name.
   1516     ac_srcdir=$srcdir$ac_dir_suffix;
   1517     ac_top_srcdir=$srcdir
   1518     ac_abs_top_srcdir=$srcdir ;;
   1519   *) # Relative name.
   1520     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1521     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1522     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1523 esac
   1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1525 
   1526     cd "$ac_dir" || { ac_status=$?; continue; }
   1527     # Check for configure.gnu first; this name is used for a wrapper for
   1528     # Metaconfig's "Configure" on case-insensitive file systems.
   1529     if test -f "$ac_srcdir/configure.gnu"; then
   1530       echo &&
   1531       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1532     elif test -f "$ac_srcdir/configure"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure" --help=recursive
   1535     else
   1536       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1537     fi || ac_status=$?
   1538     cd "$ac_pwd" || { ac_status=$?; break; }
   1539   done
   1540 fi
   1541 
   1542 test -n "$ac_init_help" && exit $ac_status
   1543 if $ac_init_version; then
   1544   cat <<\_ACEOF
   1545 xclock configure 1.2.1
   1546 generated by GNU Autoconf 2.73
   1547 
   1548 Copyright (C) 2026 Free Software Foundation, Inc.
   1549 This configure script is free software; the Free Software Foundation
   1550 gives unlimited permission to copy, distribute and modify it.
   1551 _ACEOF
   1552   exit
   1553 fi
   1554 
   1555 ## ------------------------ ##
   1556 ## Autoconf initialization. ##
   1557 ## ------------------------ ##
   1558 
   1559 # ac_fn_c_try_compile LINENO
   1560 # --------------------------
   1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_compile ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   rm -f conftest.$ac_objext conftest.beam
   1566   if { { ac_try="$ac_compile"
   1567 case "(($ac_try" in
   1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1569   *) ac_try_echo=$ac_try;;
   1570 esac
   1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1572 printf '%s\n' "$ac_try_echo"; } >&5
   1573   (eval "$ac_compile") 2>conftest.err
   1574   ac_status=$?
   1575   if test -s conftest.err; then
   1576     grep -v '^ *+' conftest.err >conftest.er1
   1577     cat conftest.er1 >&5
   1578     mv -f conftest.er1 conftest.err
   1579   fi
   1580   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1581   test $ac_status = 0; } && {
   1582 	 test -z "$ac_c_werror_flag" ||
   1583 	 test ! -s conftest.err
   1584        } && test -s conftest.$ac_objext
   1585 then :
   1586   ac_retval=0
   1587 else case e in #(
   1588   e) printf '%s\n' "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591 	ac_retval=1 ;;
   1592 esac
   1593 fi
   1594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1595   as_fn_set_status $ac_retval
   1596 
   1597 } # ac_fn_c_try_compile
   1598 
   1599 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1600 # ------------------------------------------------------------------
   1601 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1602 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1603 ac_fn_check_decl ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1607   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1608 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1609 if eval test \${$3+y}
   1610 then :
   1611   printf %s "(cached) " >&6
   1612 else case e in #(
   1613   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1614   eval ac_save_FLAGS=\$$6
   1615   as_fn_append $6 " $5"
   1616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1617 /* end confdefs.h.  */
   1618 $4
   1619 int
   1620 main (void)
   1621 {
   1622 #ifndef $as_decl_name
   1623 #ifdef __cplusplus
   1624   (void) $as_decl_use;
   1625 #else
   1626   (void) $as_decl_name;
   1627 #endif
   1628 #endif
   1629 
   1630   ;
   1631   return 0;
   1632 }
   1633 _ACEOF
   1634 if ac_fn_c_try_compile "$LINENO"
   1635 then :
   1636   eval "$3=yes"
   1637 else case e in #(
   1638   e) eval "$3=no" ;;
   1639 esac
   1640 fi
   1641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1642   eval $6=\$ac_save_FLAGS
   1643  ;;
   1644 esac
   1645 fi
   1646 eval ac_res=\$$3
   1647 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1648 printf '%s\n' "$ac_res" >&6; }
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650 
   1651 } # ac_fn_check_decl
   1652 
   1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1654 # -------------------------------------------------------
   1655 # Tests whether HEADER exists and can be compiled using the include files in
   1656 # INCLUDES, setting the cache variable VAR accordingly.
   1657 ac_fn_c_check_header_compile ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1661 printf %s "checking for $2... " >&6; }
   1662 if eval test \${$3+y}
   1663 then :
   1664   printf %s "(cached) " >&6
   1665 else case e in #(
   1666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1667 /* end confdefs.h.  */
   1668 $4
   1669 #include <$2>
   1670 _ACEOF
   1671 if ac_fn_c_try_compile "$LINENO"
   1672 then :
   1673   eval "$3=yes"
   1674 else case e in #(
   1675   e) eval "$3=no" ;;
   1676 esac
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1679 esac
   1680 fi
   1681 eval ac_res=\$$3
   1682 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1683 printf '%s\n' "$ac_res" >&6; }
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685 
   1686 } # ac_fn_c_check_header_compile
   1687 
   1688 # ac_fn_c_try_link LINENO
   1689 # -----------------------
   1690 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1691 ac_fn_c_try_link ()
   1692 {
   1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1694   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1695   if { { ac_try="$ac_link"
   1696 case "(($ac_try" in
   1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1698   *) ac_try_echo=$ac_try;;
   1699 esac
   1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1701 printf '%s\n' "$ac_try_echo"; } >&5
   1702   (eval "$ac_link") 2>conftest.err
   1703   ac_status=$?
   1704   if test -s conftest.err; then
   1705     grep -v '^ *+' conftest.err >conftest.er1
   1706     cat conftest.er1 >&5
   1707     mv -f conftest.er1 conftest.err
   1708   fi
   1709   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; } && {
   1711 	 test -z "$ac_c_werror_flag" ||
   1712 	 test ! -s conftest.err
   1713        } && test -s conftest$ac_exeext && {
   1714 	 test "$cross_compiling" = yes ||
   1715 	 test -x conftest$ac_exeext
   1716        }
   1717 then :
   1718   ac_retval=0
   1719 else case e in #(
   1720   e) printf '%s\n' "$as_me: failed program was:" >&5
   1721 sed 's/^/| /' conftest.$ac_ext >&5
   1722 
   1723 	ac_retval=1 ;;
   1724 esac
   1725 fi
   1726   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1727   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1728   # interfere with the next link command; also delete a directory that is
   1729   # left behind by Apple's compiler.  We do this before executing the actions.
   1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732   as_fn_set_status $ac_retval
   1733 
   1734 } # ac_fn_c_try_link
   1735 
   1736 # ac_fn_c_check_func LINENO FUNC VAR
   1737 # ----------------------------------
   1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1739 ac_fn_c_check_func ()
   1740 {
   1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1742   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1743 printf %s "checking for $2... " >&6; }
   1744 if eval test \${$3+y}
   1745 then :
   1746   printf %s "(cached) " >&6
   1747 else case e in #(
   1748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1749 /* end confdefs.h.  */
   1750 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1752 #define $2 innocuous_$2
   1753 
   1754 /* System header to define __stub macros and hopefully few prototypes,
   1755    which can conflict with char $2 (void); below.  */
   1756 
   1757 #include <limits.h>
   1758 #undef $2
   1759 
   1760 /* Override any GCC internal prototype to avoid an error.
   1761    Use char because int might match the return type of a GCC
   1762    builtin and then its argument prototype would still apply.  */
   1763 #ifdef __cplusplus
   1764 extern "C"
   1765 #endif
   1766 char $2 (void);
   1767 /* The GNU C library defines this for functions which it implements
   1768     to always fail with ENOSYS.  Some functions are actually named
   1769     something starting with __ and the normal name is an alias.  */
   1770 #if defined __stub_$2 || defined __stub___$2
   1771 choke me
   1772 #endif
   1773 
   1774 int
   1775 main (void)
   1776 {
   1777 return $2 ();
   1778   ;
   1779   return 0;
   1780 }
   1781 _ACEOF
   1782 if ac_fn_c_try_link "$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 \
   1790     conftest$ac_exeext conftest.$ac_ext ;;
   1791 esac
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 printf '%s\n' "$ac_res" >&6; }
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_func
   1799 
   1800 # ac_fn_c_try_cpp LINENO
   1801 # ----------------------
   1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1803 ac_fn_c_try_cpp ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 printf '%s\n' "$ac_try_echo"; } >&5
   1813   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } > conftest.i && {
   1822 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        }
   1825 then :
   1826   ac_retval=0
   1827 else case e in #(
   1828   e) printf '%s\n' "$as_me: failed program was:" >&5
   1829 sed 's/^/| /' conftest.$ac_ext >&5
   1830 
   1831     ac_retval=1 ;;
   1832 esac
   1833 fi
   1834   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1835   as_fn_set_status $ac_retval
   1836 
   1837 } # ac_fn_c_try_cpp
   1838 
   1839 # ac_fn_c_try_run LINENO
   1840 # ----------------------
   1841 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1842 # executables *can* be run.
   1843 ac_fn_c_try_run ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   if { { ac_try="$ac_link"
   1847 case "(($ac_try" in
   1848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1849   *) ac_try_echo=$ac_try;;
   1850 esac
   1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1852 printf '%s\n' "$ac_try_echo"; } >&5
   1853   (eval "$ac_link") 2>&5
   1854   ac_status=$?
   1855   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1856   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1857   { { case "(($ac_try" in
   1858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1859   *) ac_try_echo=$ac_try;;
   1860 esac
   1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1862 printf '%s\n' "$ac_try_echo"; } >&5
   1863   (eval "$ac_try") 2>&5
   1864   ac_status=$?
   1865   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1866   test $ac_status = 0; }; }
   1867 then :
   1868   ac_retval=0
   1869 else case e in #(
   1870   e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5
   1871        printf '%s\n' "$as_me: failed program was:" >&5
   1872 sed 's/^/| /' conftest.$ac_ext >&5
   1873 
   1874        ac_retval=$ac_status ;;
   1875 esac
   1876 fi
   1877   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879   as_fn_set_status $ac_retval
   1880 
   1881 } # ac_fn_c_try_run
   1882 ac_configure_args_raw=
   1883 for ac_arg
   1884 do
   1885   case $ac_arg in
   1886   *\'*)
   1887     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1888   esac
   1889   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1890 done
   1891 
   1892 case $ac_configure_args_raw in
   1893   *$as_nl*)
   1894     ac_safe_unquote= ;;
   1895   *)
   1896     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1897     ac_unsafe_a="$ac_unsafe_z#~"
   1898     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1899     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1900 esac
   1901 
   1902 cat >config.log <<_ACEOF
   1903 This file contains any messages produced by compilers while
   1904 running configure, to aid debugging if configure makes a mistake.
   1905 
   1906 It was created by xclock $as_me 1.2.1, which was
   1907 generated by GNU Autoconf 2.73.  Invocation command line was
   1908 
   1909   $ $0$ac_configure_args_raw
   1910 
   1911 _ACEOF
   1912 exec 5>>config.log
   1913 {
   1914 cat <<_ASUNAME
   1915 ## --------- ##
   1916 ## Platform. ##
   1917 ## --------- ##
   1918 
   1919 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1920 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1921 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1922 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1923 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1924 
   1925 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1926 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1927 
   1928 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1929 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1930 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1931 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1932 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1933 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1934 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1935 
   1936 _ASUNAME
   1937 
   1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1939 for as_dir in $PATH
   1940 do
   1941   IFS=$as_save_IFS
   1942   case $as_dir in #(((
   1943     '') as_dir=./ ;;
   1944     */) ;;
   1945     *) as_dir=$as_dir/ ;;
   1946   esac
   1947     printf '%s\n' "PATH: $as_dir"
   1948   done
   1949 IFS=$as_save_IFS
   1950 
   1951 } >&5
   1952 
   1953 cat >&5 <<_ACEOF
   1954 
   1955 
   1956 ## ----------- ##
   1957 ## Core tests. ##
   1958 ## ----------- ##
   1959 
   1960 _ACEOF
   1961 
   1962 
   1963 # Keep a trace of the command line.
   1964 # Strip out --no-create and --no-recursion so they do not pile up.
   1965 # Strip out --silent because we don't want to record it for future runs.
   1966 # Also quote any args containing shell meta-characters.
   1967 # Make two passes to allow for proper duplicate-argument suppression.
   1968 ac_configure_args=
   1969 ac_configure_args0=
   1970 ac_configure_args1=
   1971 ac_must_keep_next=false
   1972 for ac_pass in 1 2
   1973 do
   1974   for ac_arg
   1975   do
   1976     case $ac_arg in
   1977     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1978     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1979     | -silent | --silent | --silen | --sile | --sil)
   1980       continue ;;
   1981     *\'*)
   1982       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1983     esac
   1984     case $ac_pass in
   1985     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1986     2)
   1987       as_fn_append ac_configure_args1 " '$ac_arg'"
   1988       if test $ac_must_keep_next = true; then
   1989 	ac_must_keep_next=false # Got value, back to normal.
   1990       else
   1991 	case $ac_arg in
   1992 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1993 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1994 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1995 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1996 	    case "$ac_configure_args0 " in
   1997 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1998 	    esac
   1999 	    ;;
   2000 	  -* ) ac_must_keep_next=true ;;
   2001 	esac
   2002       fi
   2003       as_fn_append ac_configure_args " '$ac_arg'"
   2004       ;;
   2005     esac
   2006   done
   2007 done
   2008 { ac_configure_args0=; unset ac_configure_args0;}
   2009 { ac_configure_args1=; unset ac_configure_args1;}
   2010 
   2011 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   2012 ac_cache_dump ()
   2013 {
   2014   # The following way of writing the cache mishandles newlines in values,
   2015 # but we know of no workaround that is simple, portable, and efficient.
   2016 # So, we kill variables containing newlines.
   2017 # Ultrix sh set writes to stderr and can't be redirected directly,
   2018 # and sets the high bit in the cache file unless we assign to the vars.
   2019 (
   2020   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   2021     eval ac_val=\$$ac_var
   2022     case $ac_val in #(
   2023     *${as_nl}*)
   2024       case $ac_var in #(
   2025       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2026 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2027       esac
   2028       case $ac_var in #(
   2029       _ | IFS | as_nl) ;; #(
   2030       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2031       *) { eval $ac_var=; unset $ac_var;} ;;
   2032       esac ;;
   2033     esac
   2034   done
   2035 
   2036   (set) 2>&1 |
   2037     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   2038     *${as_nl}ac_space=\ *)
   2039       # 'set' does not quote correctly, so add quotes: double-quote
   2040       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2041       sed -n \
   2042 	"s/'/'\\\\''/g;
   2043 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2044       ;; #(
   2045     *)
   2046       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2047       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2048       ;;
   2049     esac |
   2050     sort
   2051 )
   2052 }
   2053 
   2054 # Print debugging info to stdout.
   2055 ac_dump_debugging_info ()
   2056 {
   2057   echo
   2058 
   2059   printf '%s\n' "## ---------------- ##
   2060 ## Cache variables. ##
   2061 ## ---------------- ##"
   2062   echo
   2063   ac_cache_dump
   2064   echo
   2065 
   2066   printf '%s\n' "## ----------------- ##
   2067 ## Output variables. ##
   2068 ## ----------------- ##"
   2069   echo
   2070   for ac_var in $ac_subst_vars
   2071   do
   2072     eval ac_val=\$$ac_var
   2073     case $ac_val in
   2074     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2075     esac
   2076     printf '%s\n' "$ac_var='$ac_val'"
   2077   done | sort
   2078   echo
   2079 
   2080   if test -n "$ac_subst_files"; then
   2081     printf '%s\n' "## ------------------- ##
   2082 ## File substitutions. ##
   2083 ## ------------------- ##"
   2084     echo
   2085     for ac_var in $ac_subst_files
   2086     do
   2087       eval ac_val=\$$ac_var
   2088       case $ac_val in
   2089       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2090       esac
   2091       printf '%s\n' "$ac_var='$ac_val'"
   2092     done | sort
   2093     echo
   2094   fi
   2095 
   2096   if test -s confdefs.h; then
   2097     printf '%s\n' "## ----------- ##
   2098 ## confdefs.h. ##
   2099 ## ----------- ##"
   2100     echo
   2101     cat confdefs.h
   2102     echo
   2103   fi
   2104   test "$ac_signal" != 0 &&
   2105     printf '%s\n' "$as_me: caught signal $ac_signal"
   2106   printf '%s\n' "$as_me: exit $exit_status"
   2107 }
   2108 
   2109 # When interrupted or exit'd, cleanup temporary files, and complete
   2110 # config.log.
   2111 ac_exit_trap ()
   2112 {
   2113   exit_status=
   2114   # Sanitize IFS.
   2115   IFS=" ""	$as_nl"
   2116   # Save into config.log some information that might help in debugging.
   2117   ac_dump_debugging_info >&5
   2118   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2119     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2120     exit $exit_status
   2121 }
   2122 
   2123 trap 'ac_exit_trap $?' 0
   2124 for ac_signal in 1 2 13 15; do
   2125   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2126 done
   2127 ac_signal=0
   2128 
   2129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2130 rm -f -r conftest* confdefs.h
   2131 
   2132 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2133 
   2134 # Predefined preprocessor variables.
   2135 
   2136 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2137 
   2138 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2139 
   2140 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2141 
   2142 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2143 
   2144 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2145 
   2146 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2147 
   2148 
   2149 # Let the site file select an alternate cache file if it wants to.
   2150 # Prefer an explicitly selected file to automatically selected ones.
   2151 if test -n "$CONFIG_SITE"; then
   2152   ac_site_files="$CONFIG_SITE"
   2153 elif test "x$prefix" != xNONE; then
   2154   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2155 else
   2156   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2157 fi
   2158 
   2159 for ac_site_file in $ac_site_files
   2160 do
   2161   case $ac_site_file in #(
   2162   */*) :
   2163      ;; #(
   2164   *) :
   2165     ac_site_file=./$ac_site_file ;;
   2166 esac
   2167   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2168     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2169 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2170     sed 's/^/| /' "$ac_site_file" >&5
   2171     . "$ac_site_file" \
   2172       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2173 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2174 as_fn_error $? "failed to load site script $ac_site_file
   2175 See 'config.log' for more details" "$LINENO" 5; }
   2176   fi
   2177 done
   2178 
   2179 if test -r "$cache_file"; then
   2180   # Some versions of bash will fail to source /dev/null (special files
   2181   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2182   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2183     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2184 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2185     case $cache_file in
   2186       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2187       *)                      . "./$cache_file";;
   2188     esac
   2189   fi
   2190 else
   2191   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2192 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2193   >$cache_file
   2194 fi
   2195 
   2196 # Test code for whether the C compiler supports C23 (global declarations)
   2197 ac_c_conftest_c23_globals='
   2198 /* Does the compiler advertise conformance to C17 or earlier?
   2199    Although GCC 14 does not do that, even with -std=gnu23,
   2200    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2201 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2202 # error "Compiler advertises conformance to C17 or earlier"
   2203 #endif
   2204 
   2205 // Check alignas.
   2206 char alignas (double) c23_aligned_as_double;
   2207 char alignas (0) c23_no_special_alignment;
   2208 extern char c23_aligned_as_int;
   2209 char alignas (0) alignas (int) c23_aligned_as_int;
   2210 
   2211 // Check alignof.
   2212 enum
   2213 {
   2214   c23_int_alignment = alignof (int),
   2215   c23_int_array_alignment = alignof (int[100]),
   2216   c23_char_alignment = alignof (char)
   2217 };
   2218 static_assert (0 < -alignof (int), "alignof is signed");
   2219 
   2220 int function_with_unnamed_parameter (int) { return 0; }
   2221 
   2222 void c23_noreturn ();
   2223 
   2224 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2225    The parens pacify GCC 15.  */
   2226 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2227 
   2228 bool check_that_bool_works = true | false | !nullptr;
   2229 #if !true
   2230 # error "true does not work in #if"
   2231 #endif
   2232 #if false
   2233 #elifdef __STDC_VERSION__
   2234 #else
   2235 # error "#elifdef does not work"
   2236 #endif
   2237 
   2238 #ifndef __has_c_attribute
   2239 # error "__has_c_attribute not defined"
   2240 #endif
   2241 
   2242 #ifndef __has_include
   2243 # error "__has_include not defined"
   2244 #endif
   2245 
   2246 #define LPAREN() (
   2247 #define FORTY_TWO(x) 42
   2248 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2249 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2250 
   2251 static_assert (0b101010 == 42);
   2252 static_assert (0B101010 == 42);
   2253 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2254 static_assert (0.500'\''000'\''000 == 0.5);
   2255 
   2256 enum unsignedish : unsigned int { uione = 1 };
   2257 static_assert (0 < -uione);
   2258 
   2259 #include <stddef.h>
   2260 constexpr nullptr_t null_pointer = nullptr;
   2261 
   2262 static typeof (1 + 1L) two () { return 2; }
   2263 static long int three () { return 3; }
   2264 '
   2265 
   2266 # Test code for whether the C compiler supports C23 (body of main).
   2267 ac_c_conftest_c23_main='
   2268   {
   2269     label_before_declaration:
   2270       int arr[10] = {};
   2271       if (arr[0])
   2272         goto label_before_declaration;
   2273       if (!arr[0])
   2274         goto label_at_end_of_block;
   2275     label_at_end_of_block:
   2276   }
   2277   ok |= !null_pointer;
   2278   ok |= two != three;
   2279 '
   2280 
   2281 # Test code for whether the C compiler supports C23 (complete).
   2282 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2283 
   2284 int
   2285 main (int, char **)
   2286 {
   2287   int ok = 0;
   2288   ${ac_c_conftest_c23_main}
   2289   return ok;
   2290 }
   2291 "
   2292 
   2293 # Test code for whether the C compiler supports C89 (global declarations)
   2294 ac_c_conftest_c89_globals='
   2295 /* Do not test the value of __STDC__, because some compilers define it to 0
   2296    or do not define it, while otherwise adequately conforming.  */
   2297 
   2298 #include <stddef.h>
   2299 #include <stdarg.h>
   2300 struct stat;
   2301 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2302 struct buf { int x; };
   2303 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2304 static char *e (char **p, int i)
   2305 {
   2306   return p[i];
   2307 }
   2308 static char *f (char * (*g) (char **, int), char **p, ...)
   2309 {
   2310   char *s;
   2311   va_list v;
   2312   va_start (v,p);
   2313   s = g (p, va_arg (v,int));
   2314   va_end (v);
   2315   return s;
   2316 }
   2317 
   2318 /* C89 style stringification. */
   2319 #define noexpand_stringify(a) #a
   2320 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2321 
   2322 /* C89 style token pasting.  Exercises some of the corner cases that
   2323    e.g. old MSVC gets wrong, but not very hard. */
   2324 #define noexpand_concat(a,b) a##b
   2325 #define expand_concat(a,b) noexpand_concat(a,b)
   2326 extern int vA;
   2327 extern int vbee;
   2328 #define aye A
   2329 #define bee B
   2330 int *pvA = &expand_concat(v,aye);
   2331 int *pvbee = &noexpand_concat(v,bee);
   2332 
   2333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2334    function prototypes and stuff, but not \xHH hex character constants.
   2335    These do not provoke an error unfortunately, instead are silently treated
   2336    as an "x".  The following induces an error, until -std is added to get
   2337    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2338    array size at least.  It is necessary to write \x00 == 0 to get something
   2339    that is true only with -std.  */
   2340 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2341 
   2342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2343    inside strings and character constants.  */
   2344 #define FOO(x) '\''x'\''
   2345 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2346 
   2347 int test (int i, double x);
   2348 struct s1 {int (*f) (int a);};
   2349 struct s2 {int (*f) (double a);};
   2350 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2351                int, int);'
   2352 
   2353 # Test code for whether the C compiler supports C89 (body of main).
   2354 ac_c_conftest_c89_main='
   2355 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2356 '
   2357 
   2358 # Test code for whether the C compiler supports C99 (global declarations)
   2359 ac_c_conftest_c99_globals='
   2360 /* Does the compiler advertise C99 conformance? */
   2361 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2362 # error "Compiler does not advertise C99 conformance"
   2363 #endif
   2364 
   2365 // See if C++-style comments work.
   2366 
   2367 #include <stdbool.h>
   2368 extern int puts (const char *);
   2369 extern int printf (const char *, ...);
   2370 extern int dprintf (int, const char *, ...);
   2371 extern void *malloc (size_t);
   2372 extern void free (void *);
   2373 
   2374 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2375 // dprintf is used instead of fprintf to avoid needing to declare
   2376 // FILE and stderr, and "aND" is used instead of "and" to work around
   2377 // GCC bug 40564 which is irrelevant here.
   2378 #define debug(...) dprintf (2, __VA_ARGS__)
   2379 #define showlist(...) puts (#__VA_ARGS__)
   2380 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2381 static void
   2382 test_varargs_macros (void)
   2383 {
   2384   int x = 1234;
   2385   int y = 5678;
   2386   debug ("Flag");
   2387   debug ("X = %d\n", x);
   2388   showlist (The first, second, aND third items.);
   2389   report (x>y, "x is %d but y is %d", x, y);
   2390 }
   2391 
   2392 // Check long long types.
   2393 #define BIG64 18446744073709551615ull
   2394 #define BIG32 4294967295ul
   2395 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2396 #if !BIG_OK
   2397   #error "your preprocessor is broken"
   2398 #endif
   2399 #if BIG_OK
   2400 #else
   2401   #error "your preprocessor is broken"
   2402 #endif
   2403 static long long int bignum = -9223372036854775807LL;
   2404 static unsigned long long int ubignum = BIG64;
   2405 
   2406 struct incomplete_array
   2407 {
   2408   int datasize;
   2409   double data[];
   2410 };
   2411 
   2412 struct named_init {
   2413   int number;
   2414   const wchar_t *name;
   2415   double average;
   2416 };
   2417 
   2418 typedef const char *ccp;
   2419 
   2420 static inline int
   2421 test_restrict (ccp restrict text)
   2422 {
   2423   // Iterate through items via the restricted pointer.
   2424   // Also check for declarations in for loops.
   2425   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2426     continue;
   2427   return 0;
   2428 }
   2429 
   2430 // Check varargs and va_copy.
   2431 static bool
   2432 test_varargs (const char *format, ...)
   2433 {
   2434   va_list args;
   2435   va_start (args, format);
   2436   va_list args_copy;
   2437   va_copy (args_copy, args);
   2438 
   2439   const char *str = "";
   2440   int number = 0;
   2441   float fnumber = 0;
   2442 
   2443   while (*format)
   2444     {
   2445       switch (*format++)
   2446 	{
   2447 	case '\''s'\'': // string
   2448 	  str = va_arg (args_copy, const char *);
   2449 	  break;
   2450 	case '\''d'\'': // int
   2451 	  number = va_arg (args_copy, int);
   2452 	  break;
   2453 	case '\''f'\'': // float
   2454 	  fnumber = va_arg (args_copy, double);
   2455 	  break;
   2456 	default:
   2457 	  break;
   2458 	}
   2459     }
   2460   va_end (args_copy);
   2461   va_end (args);
   2462 
   2463   return *str && number && fnumber;
   2464 }
   2465 '
   2466 
   2467 # Test code for whether the C compiler supports C99 (body of main).
   2468 ac_c_conftest_c99_main='
   2469   // Check bool.
   2470   _Bool success = false;
   2471   success |= (argc != 0);
   2472 
   2473   // Check restrict.
   2474   if (test_restrict ("String literal") == 0)
   2475     success = true;
   2476   const char *restrict newvar = "Another string";
   2477 
   2478   // Check varargs.
   2479   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2480   test_varargs_macros ();
   2481 
   2482   // Check flexible array members.
   2483   static struct incomplete_array *volatile incomplete_array_pointer;
   2484   struct incomplete_array *ia = incomplete_array_pointer;
   2485   ia->datasize = 10;
   2486   for (int i = 0; i < ia->datasize; ++i)
   2487     ia->data[i] = i * 1.234;
   2488   // Work around memory leak warnings.
   2489   free (ia);
   2490 
   2491   // Check named initializers.
   2492   struct named_init ni = {
   2493     .number = 34,
   2494     .name = L"Test wide string",
   2495     .average = 543.34343,
   2496   };
   2497 
   2498   ni.number = 58;
   2499 
   2500   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2501   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2502 
   2503   // work around unused variable warnings
   2504   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2505 	 || ni.number != 58);
   2506 '
   2507 
   2508 # Test code for whether the C compiler supports C11 (global declarations)
   2509 ac_c_conftest_c11_globals='
   2510 /* Does the compiler advertise C11 conformance? */
   2511 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2512 # error "Compiler does not advertise C11 conformance"
   2513 #endif
   2514 
   2515 // Check _Alignas.
   2516 char _Alignas (double) aligned_as_double;
   2517 char _Alignas (0) no_special_alignment;
   2518 extern char aligned_as_int;
   2519 char _Alignas (0) _Alignas (int) aligned_as_int;
   2520 
   2521 // Check _Alignof.
   2522 enum
   2523 {
   2524   int_alignment = _Alignof (int),
   2525   int_array_alignment = _Alignof (int[100]),
   2526   char_alignment = _Alignof (char)
   2527 };
   2528 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2529 
   2530 // Check _Noreturn.
   2531 int _Noreturn does_not_return (void) { for (;;) continue; }
   2532 
   2533 // Check _Static_assert.
   2534 struct test_static_assert
   2535 {
   2536   int x;
   2537   _Static_assert (sizeof (int) <= sizeof (long int),
   2538                   "_Static_assert does not work in struct");
   2539   long int y;
   2540 };
   2541 
   2542 // Check UTF-8 literals.
   2543 #define u8 syntax error!
   2544 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2545 
   2546 // Check duplicate typedefs.
   2547 typedef long *long_ptr;
   2548 typedef long int *long_ptr;
   2549 typedef long_ptr long_ptr;
   2550 
   2551 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2552 struct anonymous
   2553 {
   2554   union {
   2555     struct { int i; int j; };
   2556     struct { int k; long int l; } w;
   2557   };
   2558   int m;
   2559 } v1;
   2560 '
   2561 
   2562 # Test code for whether the C compiler supports C11 (body of main).
   2563 ac_c_conftest_c11_main='
   2564   _Static_assert ((offsetof (struct anonymous, i)
   2565 		   == offsetof (struct anonymous, w.k)),
   2566 		  "Anonymous union alignment botch");
   2567   v1.i = 2;
   2568   v1.w.k = 5;
   2569   ok |= v1.i != 5;
   2570 '
   2571 
   2572 # Test code for whether the C compiler supports C11 (complete).
   2573 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2574 ${ac_c_conftest_c99_globals}
   2575 ${ac_c_conftest_c11_globals}
   2576 
   2577 int
   2578 main (int argc, char **argv)
   2579 {
   2580   int ok = 0;
   2581   ${ac_c_conftest_c89_main}
   2582   ${ac_c_conftest_c99_main}
   2583   ${ac_c_conftest_c11_main}
   2584   return ok;
   2585 }
   2586 "
   2587 
   2588 # Test code for whether the C compiler supports C99 (complete).
   2589 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2590 ${ac_c_conftest_c99_globals}
   2591 
   2592 int
   2593 main (int argc, char **argv)
   2594 {
   2595   int ok = 0;
   2596   ${ac_c_conftest_c89_main}
   2597   ${ac_c_conftest_c99_main}
   2598   return ok;
   2599 }
   2600 "
   2601 
   2602 # Test code for whether the C compiler supports C89 (complete).
   2603 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2604 
   2605 int
   2606 main (int argc, char **argv)
   2607 {
   2608   int ok = 0;
   2609   ${ac_c_conftest_c89_main}
   2610   return ok;
   2611 }
   2612 "
   2613 
   2614 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2615 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2616 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2617 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2618 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2619 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2620 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2621 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2622 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2623 
   2624 # Auxiliary files required by this configure script.
   2625 ac_aux_files="config.rpath config.guess config.sub compile missing install-sh"
   2626 
   2627 # Locations in which to look for auxiliary files.
   2628 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2629 
   2630 # Search for a directory containing all of the required auxiliary files,
   2631 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2632 # If we don't find one directory that contains all the files we need,
   2633 # we report the set of missing files from the *first* directory in
   2634 # $ac_aux_dir_candidates and give up.
   2635 ac_missing_aux_files=""
   2636 ac_first_candidate=:
   2637 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2639 as_found=false
   2640 for as_dir in $ac_aux_dir_candidates
   2641 do
   2642   IFS=$as_save_IFS
   2643   case $as_dir in #(((
   2644     '') as_dir=./ ;;
   2645     */) ;;
   2646     *) as_dir=$as_dir/ ;;
   2647   esac
   2648   as_found=:
   2649 
   2650   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2651   ac_aux_dir_found=yes
   2652   ac_install_sh=
   2653   for ac_aux in $ac_aux_files
   2654   do
   2655     # As a special case, if "install-sh" is required, that requirement
   2656     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2657     # and $ac_install_sh is set appropriately for whichever one is found.
   2658     if test x"$ac_aux" = x"install-sh"
   2659     then
   2660       if test -f "${as_dir}install-sh"; then
   2661         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2662         ac_install_sh="${as_dir}install-sh -c"
   2663       elif test -f "${as_dir}install.sh"; then
   2664         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2665         ac_install_sh="${as_dir}install.sh -c"
   2666       elif test -f "${as_dir}shtool"; then
   2667         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2668         ac_install_sh="${as_dir}shtool install -c"
   2669       else
   2670         ac_aux_dir_found=no
   2671         if $ac_first_candidate; then
   2672           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2673         else
   2674           break
   2675         fi
   2676       fi
   2677     else
   2678       if test -f "${as_dir}${ac_aux}"; then
   2679         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2680       else
   2681         ac_aux_dir_found=no
   2682         if $ac_first_candidate; then
   2683           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2684         else
   2685           break
   2686         fi
   2687       fi
   2688     fi
   2689   done
   2690   if test "$ac_aux_dir_found" = yes; then
   2691     ac_aux_dir="$as_dir"
   2692     break
   2693   fi
   2694   ac_first_candidate=false
   2695 
   2696   as_found=false
   2697 done
   2698 IFS=$as_save_IFS
   2699 if $as_found
   2700 then :
   2701 
   2702 else case e in #(
   2703   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2704 esac
   2705 fi
   2706 
   2707 
   2708 # These three variables are undocumented and unsupported,
   2709 # and are intended to be withdrawn in a future Autoconf release.
   2710 # They can cause serious problems if a builder's source tree is in a directory
   2711 # whose full name contains unusual characters.
   2712 if test -f "${ac_aux_dir}config.guess"; then
   2713   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2714 fi
   2715 if test -f "${ac_aux_dir}config.sub"; then
   2716   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2717 fi
   2718 if test -f "$ac_aux_dir/configure"; then
   2719   ac_configure="$SHELL ${ac_aux_dir}configure"
   2720 fi
   2721 
   2722 # Check that the precious variables saved in the cache have kept the same
   2723 # value.
   2724 ac_cache_corrupted=false
   2725 for ac_var in $ac_precious_vars; do
   2726   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2727   eval ac_new_set=\$ac_env_${ac_var}_set
   2728   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2729   eval ac_new_val=\$ac_env_${ac_var}_value
   2730   case $ac_old_set,$ac_new_set in
   2731     set,)
   2732       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2733 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2734       ac_cache_corrupted=: ;;
   2735     ,set)
   2736       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2737 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2738       ac_cache_corrupted=: ;;
   2739     ,);;
   2740     *)
   2741       if test "x$ac_old_val" != "x$ac_new_val"; then
   2742 	# differences in whitespace do not lead to failure.
   2743 	ac_old_val_w=
   2744 	for ac_val in x $ac_old_val; do
   2745 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2746 	done
   2747 	ac_new_val_w=
   2748 	for ac_val in x $ac_new_val; do
   2749 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2750 	done
   2751 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2752 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2753 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2754 	  ac_cache_corrupted=:
   2755 	else
   2756 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2757 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2758 	  eval $ac_var=\$ac_old_val
   2759 	fi
   2760 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2761 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2762 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2763 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2764       fi;;
   2765   esac
   2766   # Pass precious variables to config.status.
   2767   if test "$ac_new_set" = set; then
   2768     case $ac_new_val in
   2769     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2770     *) ac_arg=$ac_var=$ac_new_val ;;
   2771     esac
   2772     case " $ac_configure_args " in
   2773       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2774       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2775     esac
   2776   fi
   2777 done
   2778 if $ac_cache_corrupted; then
   2779   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2780 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2781   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2782 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2783   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2784 	    and start over" "$LINENO" 5
   2785 fi
   2786 ## -------------------- ##
   2787 ## Main body of script. ##
   2788 ## -------------------- ##
   2789 
   2790 
   2791 # Determine whether it's possible to make 'echo' print without a newline.
   2792 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2793 # for compatibility with existing Makefiles.
   2794 ECHO_C= ECHO_N= ECHO_T=
   2795 case `echo -n x` in #(((((
   2796 -n*)
   2797   case `echo 'xy\c'` in
   2798   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2799   xy)  ECHO_C='\c';;
   2800   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2801        ECHO_T='	';;
   2802   esac;;
   2803 *)
   2804   ECHO_N='-n';;
   2805 esac
   2806 
   2807 ac_ext=c
   2808 ac_cpp='$CPP $CPPFLAGS'
   2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2812 
   2813 
   2814 
   2815 ac_config_headers="$ac_config_headers config.h"
   2816 
   2817 
   2818 # Initialize Automake
   2819 am__api_version='1.18'
   2820 
   2821 
   2822 
   2823   # Find a good install program.  We prefer a C program (faster),
   2824 # so one script is as good as another.  But avoid the broken or
   2825 # incompatible versions:
   2826 # SysV /etc/install, /usr/sbin/install
   2827 # SunOS /usr/etc/install
   2828 # IRIX /sbin/install
   2829 # AIX /bin/install
   2830 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2834 # OS/2's system install, which has a completely different semantic
   2835 # ./install, which can be erroneously created by make from ./install.sh.
   2836 # Reject install programs that cannot install multiple files.
   2837 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2838 printf %s "checking for a BSD-compatible install... " >&6; }
   2839 if test -z "$INSTALL"; then
   2840 if test ${ac_cv_path_install+y}
   2841 then :
   2842   printf %s "(cached) " >&6
   2843 else case e in #(
   2844   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2845 for as_dir in $PATH
   2846 do
   2847   IFS=$as_save_IFS
   2848   case $as_dir in #(((
   2849     '') as_dir=./ ;;
   2850     */) ;;
   2851     *) as_dir=$as_dir/ ;;
   2852   esac
   2853     # Account for fact that we put trailing slashes in our PATH walk.
   2854 case $as_dir in #((
   2855   ./ | /[cC]/* | \
   2856   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2857   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2858   /usr/ucb/* ) ;;
   2859   *)
   2860     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2861     # Don't use installbsd from OSF/1 since it installs stuff as root
   2862     # by default.
   2863     for ac_prog in ginstall scoinst install; do
   2864       for ac_exec_ext in '' $ac_executable_extensions; do
   2865 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2866 	  if test $ac_prog = install &&
   2867 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2868 	    # AIX install.  It has an incompatible calling convention.
   2869 	    :
   2870 	  elif test $ac_prog = install &&
   2871 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2872 	    # program-specific install script used by HP pwplus--don't use.
   2873 	    :
   2874 	  else
   2875 	    rm -rf conftest.one conftest.two conftest.dir
   2876 	    echo one > conftest.one
   2877 	    echo two > conftest.two
   2878 	    mkdir conftest.dir
   2879 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2880 	      test -s conftest.one && test -s conftest.two &&
   2881 	      test -s conftest.dir/conftest.one &&
   2882 	      test -s conftest.dir/conftest.two
   2883 	    then
   2884 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2885 	      break 3
   2886 	    fi
   2887 	  fi
   2888 	fi
   2889       done
   2890     done
   2891     ;;
   2892 esac
   2893 
   2894   done
   2895 IFS=$as_save_IFS
   2896 
   2897 rm -rf conftest.one conftest.two conftest.dir
   2898  ;;
   2899 esac
   2900 fi
   2901   if test ${ac_cv_path_install+y}; then
   2902     INSTALL=$ac_cv_path_install
   2903   else
   2904     # As a last resort, use the slow shell script.  Don't cache a
   2905     # value for INSTALL within a source directory, because that will
   2906     # break other packages using the cache if that directory is
   2907     # removed, or if the value is a relative name.
   2908     INSTALL=$ac_install_sh
   2909   fi
   2910 fi
   2911 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2912 printf '%s\n' "$INSTALL" >&6; }
   2913 
   2914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2915 # It thinks the first close brace ends the variable substitution.
   2916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2917 
   2918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2919 
   2920 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2921 
   2922 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2923 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2924 if test ${am_cv_sleep_fractional_seconds+y}
   2925 then :
   2926   printf %s "(cached) " >&6
   2927 else case e in #(
   2928   e) if sleep 0.001 2>/dev/null
   2929 then :
   2930   am_cv_sleep_fractional_seconds=yes
   2931 else case e in #(
   2932   e) am_cv_sleep_fractional_seconds=no ;;
   2933 esac
   2934 fi
   2935  ;;
   2936 esac
   2937 fi
   2938 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2939 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2940 
   2941 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2942 printf %s "checking filesystem timestamp resolution... " >&6; }
   2943 if test ${am_cv_filesystem_timestamp_resolution+y}
   2944 then :
   2945   printf %s "(cached) " >&6
   2946 else case e in #(
   2947   e) # Default to the worst case.
   2948 am_cv_filesystem_timestamp_resolution=2
   2949 
   2950 # Only try to go finer than 1 sec if sleep can do it.
   2951 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2952 # - 1 sec is not much of a win compared to 2 sec, and
   2953 # - it takes 2 seconds to perform the test whether 1 sec works.
   2954 #
   2955 # Instead, just use the default 2s on platforms that have 1s resolution,
   2956 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2957 # exchange for not incurring the 2s delay for running the test for all
   2958 # packages.
   2959 #
   2960 am_try_resolutions=
   2961 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2962   # Even a millisecond often causes a bunch of false positives,
   2963   # so just try a hundredth of a second. The time saved between .001 and
   2964   # .01 is not terribly consequential.
   2965   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2966 fi
   2967 
   2968 # In order to catch current-generation FAT out, we must *modify* files
   2969 # that already exist; the *creation* timestamp is finer.  Use names
   2970 # that make ls -t sort them differently when they have equal
   2971 # timestamps than when they have distinct timestamps, keeping
   2972 # in mind that ls -t prints the *newest* file first.
   2973 rm -f conftest.ts?
   2974 : > conftest.ts1
   2975 : > conftest.ts2
   2976 : > conftest.ts3
   2977 
   2978 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2979 # clobber the current shell's arguments. (Outer-level square brackets
   2980 # are removed by m4; they're present so that m4 does not expand
   2981 # <dollar><star>; be careful, easy to get confused.)
   2982 if (
   2983      set X `ls -t conftest.ts[12]` &&
   2984      {
   2985        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2986        test "$*" != "X conftest.ts2 conftest.ts1";
   2987      }
   2988 ); then :; else
   2989   # If neither matched, then we have a broken ls.  This can happen
   2990   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2991   # broken ls alias from the environment.  This has actually
   2992   # happened.  Such a system could not be considered "sane".
   2993   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2994   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2995 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2996 as_fn_error $? "ls -t produces unexpected output.
   2997 Make sure there is not a broken ls alias in your environment.
   2998 See 'config.log' for more details" "$LINENO" 5; }
   2999 fi
   3000 
   3001 for am_try_res in $am_try_resolutions; do
   3002   # Any one fine-grained sleep might happen to cross the boundary
   3003   # between two values of a coarser actual resolution, but if we do
   3004   # two fine-grained sleeps in a row, at least one of them will fall
   3005   # entirely within a coarse interval.
   3006   echo alpha > conftest.ts1
   3007   sleep $am_try_res
   3008   echo beta > conftest.ts2
   3009   sleep $am_try_res
   3010   echo gamma > conftest.ts3
   3011 
   3012   # We assume that 'ls -t' will make use of high-resolution
   3013   # timestamps if the operating system supports them at all.
   3014   if (set X `ls -t conftest.ts?` &&
   3015       test "$2" = conftest.ts3 &&
   3016       test "$3" = conftest.ts2 &&
   3017       test "$4" = conftest.ts1); then
   3018     #
   3019     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3020     # because we don't need to test make.
   3021     make_ok=true
   3022     if test $am_try_res != 1; then
   3023       # But if we've succeeded so far with a subsecond resolution, we
   3024       # have one more thing to check: make. It can happen that
   3025       # everything else supports the subsecond mtimes, but make doesn't;
   3026       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3027       # released under GPLv2). https://bugs.gnu.org/68808
   3028       #
   3029       # We test $MAKE if it is defined in the environment, else "make".
   3030       # It might get overridden later, but our hope is that in practice
   3031       # it does not matter: it is the system "make" which is (by far)
   3032       # the most likely to be broken, whereas if the user overrides it,
   3033       # probably they did so with a better, or at least not worse, make.
   3034       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3035       #
   3036       # Create a Makefile (real tab character here):
   3037       rm -f conftest.mk
   3038       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3039       echo '	touch conftest.ts2' >>conftest.mk
   3040       #
   3041       # Now, running
   3042       #   touch conftest.ts1; touch conftest.ts2; make
   3043       # should touch ts1 because ts2 is newer. This could happen by luck,
   3044       # but most often, it will fail if make's support is insufficient. So
   3045       # test for several consecutive successes.
   3046       #
   3047       # (We reuse conftest.ts[12] because we still want to modify existing
   3048       # files, not create new ones, per above.)
   3049       n=0
   3050       make=${MAKE-make}
   3051       until test $n -eq 3; do
   3052         echo one > conftest.ts1
   3053         sleep $am_try_res
   3054         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3055         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3056           make_ok=false
   3057           break # out of $n loop
   3058         fi
   3059         n=`expr $n + 1`
   3060       done
   3061     fi
   3062     #
   3063     if $make_ok; then
   3064       # Everything we know to check worked out, so call this resolution good.
   3065       am_cv_filesystem_timestamp_resolution=$am_try_res
   3066       break # out of $am_try_res loop
   3067     fi
   3068     # Otherwise, we'll go on to check the next resolution.
   3069   fi
   3070 done
   3071 rm -f conftest.ts?
   3072 # (end _am_filesystem_timestamp_resolution)
   3073  ;;
   3074 esac
   3075 fi
   3076 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3077 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   3078 
   3079 # This check should not be cached, as it may vary across builds of
   3080 # different projects.
   3081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3082 printf %s "checking whether build environment is sane... " >&6; }
   3083 # Reject unsafe characters in $srcdir or the absolute working directory
   3084 # name.  Accept space and tab only in the latter.
   3085 am_lf='
   3086 '
   3087 case `pwd` in
   3088   *[\\\"\#\$\&\'\`$am_lf]*)
   3089     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3090 printf '%s\n' "no" >&6; }
   3091     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3092 esac
   3093 case $srcdir in
   3094   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3095     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3096 printf '%s\n' "no" >&6; }
   3097     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3098 esac
   3099 
   3100 # Do 'set' in a subshell so we don't clobber the current shell's
   3101 # arguments.  Must try -L first in case configure is actually a
   3102 # symlink; some systems play weird games with the mod time of symlinks
   3103 # (eg FreeBSD returns the mod time of the symlink's containing
   3104 # directory).
   3105 am_build_env_is_sane=no
   3106 am_has_slept=no
   3107 rm -f conftest.file
   3108 for am_try in 1 2; do
   3109   echo "timestamp, slept: $am_has_slept" > conftest.file
   3110   if (
   3111     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3112     if test "$*" = "X"; then
   3113       # -L didn't work.
   3114       set X `ls -t "$srcdir/configure" conftest.file`
   3115     fi
   3116     test "$2" = conftest.file
   3117   ); then
   3118     am_build_env_is_sane=yes
   3119     break
   3120   fi
   3121   # Just in case.
   3122   sleep "$am_cv_filesystem_timestamp_resolution"
   3123   am_has_slept=yes
   3124 done
   3125 
   3126 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3127 printf '%s\n' "$am_build_env_is_sane" >&6; }
   3128 if test "$am_build_env_is_sane" = no; then
   3129   as_fn_error $? "newly created file is older than distributed files!
   3130 Check your system clock" "$LINENO" 5
   3131 fi
   3132 
   3133 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3134 # generated files are strictly newer.
   3135 am_sleep_pid=
   3136 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3137 then :
   3138 
   3139 else case e in #(
   3140   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3141   am_sleep_pid=$!
   3142  ;;
   3143 esac
   3144 fi
   3145 
   3146 rm -f conftest.file
   3147 
   3148 test "$program_prefix" != NONE &&
   3149   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3150 # Use a double $ so make ignores it.
   3151 test "$program_suffix" != NONE &&
   3152   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3153 # Double any \ or $.
   3154 # By default was 's,x,x', remove it if useless.
   3155 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3156 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   3157 
   3158 
   3159 # Expand $ac_aux_dir to an absolute path.
   3160 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3161 
   3162 
   3163   if test x"${MISSING+set}" != xset; then
   3164   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3165 fi
   3166 # Use eval to expand $SHELL
   3167 if eval "$MISSING --is-lightweight"; then
   3168   am_missing_run="$MISSING "
   3169 else
   3170   am_missing_run=
   3171   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3172 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3173 fi
   3174 
   3175 if test x"${install_sh+set}" != xset; then
   3176   case $am_aux_dir in
   3177   *\ * | *\	*)
   3178     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3179   *)
   3180     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3181   esac
   3182 fi
   3183 
   3184 # Installed binaries are usually stripped using 'strip' when the user
   3185 # run "make install-strip".  However 'strip' might not be the right
   3186 # tool to use in cross-compilation environments, therefore Automake
   3187 # will honor the 'STRIP' environment variable to overrule this program.
   3188 if test "$cross_compiling" != no; then
   3189   if test -n "$ac_tool_prefix"; then
   3190   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3191 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3193 printf %s "checking for $ac_word... " >&6; }
   3194 if test ${ac_cv_prog_STRIP+y}
   3195 then :
   3196   printf %s "(cached) " >&6
   3197 else case e in #(
   3198   e) if test -n "$STRIP"; then
   3199   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3200 else
   3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3202 for as_dir in $PATH
   3203 do
   3204   IFS=$as_save_IFS
   3205   case $as_dir in #(((
   3206     '') as_dir=./ ;;
   3207     */) ;;
   3208     *) as_dir=$as_dir/ ;;
   3209   esac
   3210     for ac_exec_ext in '' $ac_executable_extensions; do
   3211   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3212     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3213     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3214     break 2
   3215   fi
   3216 done
   3217   done
   3218 IFS=$as_save_IFS
   3219 
   3220 fi ;;
   3221 esac
   3222 fi
   3223 STRIP=$ac_cv_prog_STRIP
   3224 if test -n "$STRIP"; then
   3225   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3226 printf '%s\n' "$STRIP" >&6; }
   3227 else
   3228   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3229 printf '%s\n' "no" >&6; }
   3230 fi
   3231 
   3232 
   3233 fi
   3234 if test -z "$ac_cv_prog_STRIP"; then
   3235   ac_ct_STRIP=$STRIP
   3236   # Extract the first word of "strip", so it can be a program name with args.
   3237 set dummy strip; ac_word=$2
   3238 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3239 printf %s "checking for $ac_word... " >&6; }
   3240 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3241 then :
   3242   printf %s "(cached) " >&6
   3243 else case e in #(
   3244   e) if test -n "$ac_ct_STRIP"; then
   3245   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3246 else
   3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3248 for as_dir in $PATH
   3249 do
   3250   IFS=$as_save_IFS
   3251   case $as_dir in #(((
   3252     '') as_dir=./ ;;
   3253     */) ;;
   3254     *) as_dir=$as_dir/ ;;
   3255   esac
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_ac_ct_STRIP="strip"
   3259     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi ;;
   3267 esac
   3268 fi
   3269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3270 if test -n "$ac_ct_STRIP"; then
   3271   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3272 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3273 else
   3274   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3275 printf '%s\n' "no" >&6; }
   3276 fi
   3277 
   3278   if test "x$ac_ct_STRIP" = x; then
   3279     STRIP=":"
   3280   else
   3281     case $cross_compiling:$ac_tool_warned in
   3282 yes:)
   3283 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3284 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3285 ac_tool_warned=yes ;;
   3286 esac
   3287     STRIP=$ac_ct_STRIP
   3288   fi
   3289 else
   3290   STRIP="$ac_cv_prog_STRIP"
   3291 fi
   3292 
   3293 fi
   3294 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3295 
   3296 
   3297   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3298 printf %s "checking for a race-free mkdir -p... " >&6; }
   3299 if test -z "$MKDIR_P"; then
   3300   if test ${ac_cv_path_mkdir+y}
   3301 then :
   3302   printf %s "(cached) " >&6
   3303 else case e in #(
   3304   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3305 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3306 do
   3307   IFS=$as_save_IFS
   3308   case $as_dir in #(((
   3309     '') as_dir=./ ;;
   3310     */) ;;
   3311     *) as_dir=$as_dir/ ;;
   3312   esac
   3313     for ac_prog in mkdir gmkdir; do
   3314 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3315 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3316 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3317 	     'mkdir ('*'coreutils) '* | \
   3318 	     *'BusyBox '* | \
   3319 	     'mkdir (fileutils) '4.1*)
   3320 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3321 	       break 3;;
   3322 	   esac
   3323 	 done
   3324        done
   3325   done
   3326 IFS=$as_save_IFS
   3327  ;;
   3328 esac
   3329 fi
   3330 
   3331   test -d ./--version && rmdir ./--version
   3332   if test ${ac_cv_path_mkdir+y}; then
   3333     MKDIR_P="$ac_cv_path_mkdir -p"
   3334   else
   3335     # As a last resort, use plain mkdir -p,
   3336     # in the hope it doesn't have the bugs of ancient mkdir.
   3337     MKDIR_P='mkdir -p'
   3338   fi
   3339 fi
   3340 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3341 printf '%s\n' "$MKDIR_P" >&6; }
   3342 
   3343 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3344 do
   3345   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3346 set dummy $ac_prog; ac_word=$2
   3347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3348 printf %s "checking for $ac_word... " >&6; }
   3349 if test ${ac_cv_prog_AWK+y}
   3350 then :
   3351   printf %s "(cached) " >&6
   3352 else case e in #(
   3353   e) if test -n "$AWK"; then
   3354   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3355 else
   3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3357 for as_dir in $PATH
   3358 do
   3359   IFS=$as_save_IFS
   3360   case $as_dir in #(((
   3361     '') as_dir=./ ;;
   3362     */) ;;
   3363     *) as_dir=$as_dir/ ;;
   3364   esac
   3365     for ac_exec_ext in '' $ac_executable_extensions; do
   3366   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3367     ac_cv_prog_AWK="$ac_prog"
   3368     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3369     break 2
   3370   fi
   3371 done
   3372   done
   3373 IFS=$as_save_IFS
   3374 
   3375 fi ;;
   3376 esac
   3377 fi
   3378 AWK=$ac_cv_prog_AWK
   3379 if test -n "$AWK"; then
   3380   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3381 printf '%s\n' "$AWK" >&6; }
   3382 else
   3383   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3384 printf '%s\n' "no" >&6; }
   3385 fi
   3386 
   3387 
   3388   test -n "$AWK" && break
   3389 done
   3390 
   3391 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3392 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3393 set x ${MAKE-make}
   3394 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3395 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3396 then :
   3397   printf %s "(cached) " >&6
   3398 else case e in #(
   3399   e) cat >conftest.make <<\_ACEOF
   3400 SHELL = /bin/sh
   3401 all:
   3402 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3403 _ACEOF
   3404 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3406   *@@@%%%=?*=@@@%%%*)
   3407     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3408   *)
   3409     eval ac_cv_prog_make_${ac_make}_set=no;;
   3410 esac
   3411 rm -f conftest.make ;;
   3412 esac
   3413 fi
   3414 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3415   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3416 printf '%s\n' "yes" >&6; }
   3417   SET_MAKE=
   3418 else
   3419   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3420 printf '%s\n' "no" >&6; }
   3421   SET_MAKE="MAKE=${MAKE-make}"
   3422 fi
   3423 
   3424 rm -rf .tst 2>/dev/null
   3425 mkdir .tst 2>/dev/null
   3426 if test -d .tst; then
   3427   am__leading_dot=.
   3428 else
   3429   am__leading_dot=_
   3430 fi
   3431 rmdir .tst 2>/dev/null
   3432 
   3433 AM_DEFAULT_VERBOSITY=1
   3434 # Check whether --enable-silent-rules was given.
   3435 if test ${enable_silent_rules+y}
   3436 then :
   3437   enableval=$enable_silent_rules;
   3438 fi
   3439 
   3440 am_make=${MAKE-make}
   3441 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3442 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3443 if test ${am_cv_make_support_nested_variables+y}
   3444 then :
   3445   printf %s "(cached) " >&6
   3446 else case e in #(
   3447   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3448 BAR0=false
   3449 BAR1=true
   3450 V=1
   3451 am__doit:
   3452 	@$(TRUE)
   3453 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3454   am_cv_make_support_nested_variables=yes
   3455 else
   3456   am_cv_make_support_nested_variables=no
   3457 fi ;;
   3458 esac
   3459 fi
   3460 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3461 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3462 AM_BACKSLASH='\'
   3463 
   3464 am__rm_f_notfound=
   3465 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3466 then :
   3467 
   3468 else case e in #(
   3469   e) am__rm_f_notfound='""' ;;
   3470 esac
   3471 fi
   3472 
   3473 
   3474 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3475 printf %s "checking xargs -n works... " >&6; }
   3476 if test ${am_cv_xargs_n_works+y}
   3477 then :
   3478   printf %s "(cached) " >&6
   3479 else case e in #(
   3480   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3481 3"
   3482 then :
   3483   am_cv_xargs_n_works=yes
   3484 else case e in #(
   3485   e) am_cv_xargs_n_works=no ;;
   3486 esac
   3487 fi ;;
   3488 esac
   3489 fi
   3490 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3491 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3492 if test "$am_cv_xargs_n_works" = yes
   3493 then :
   3494   am__xargs_n='xargs -n'
   3495 else case e in #(
   3496   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3497  ;;
   3498 esac
   3499 fi
   3500 
   3501 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3502   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3503   # is not polluted with repeated "-I."
   3504   am__isrc=' -I$(srcdir)'
   3505   # test to see if srcdir already configured
   3506   if test -f $srcdir/config.status; then
   3507     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3508   fi
   3509 fi
   3510 
   3511 # test whether we have cygpath
   3512 if test -z "$CYGPATH_W"; then
   3513   if (cygpath --version) >/dev/null 2>/dev/null; then
   3514     CYGPATH_W='cygpath -w'
   3515   else
   3516     CYGPATH_W=echo
   3517   fi
   3518 fi
   3519 
   3520 
   3521 # Define the identity of the package.
   3522  PACKAGE='xclock'
   3523  VERSION='1.2.1'
   3524 
   3525 
   3526 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3527 
   3528 
   3529 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3530 
   3531 # Some tools Automake needs.
   3532 
   3533 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3534 
   3535 
   3536 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3537 
   3538 
   3539 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3540 
   3541 
   3542 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3543 
   3544 
   3545 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3546 
   3547 # For better backward compatibility.  To be removed once Automake 1.9.x
   3548 # dies out for good.  For more background, see:
   3549 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3550 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3551 mkdir_p='$(MKDIR_P)'
   3552 
   3553 # We need awk for the "check" target (and possibly the TAP driver).  The
   3554 # system "awk" is bad on some platforms.
   3555 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3556 # in the wild :-(  We should find a proper way to deprecate it ...
   3557 AMTAR='$${TAR-tar}'
   3558 
   3559 
   3560 # We'll loop over all known methods to create a tar archive until one works.
   3561 _am_tools='gnutar plaintar pax cpio none'
   3562 
   3563 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3564       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3565       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3566       # and bug#13588).
   3567       am_max_uid=2097151 # 2^21 - 1
   3568       am_max_gid=$am_max_uid
   3569       # The $UID and $GID variables are not portable, so we need to resort
   3570       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3571       # below are definitely unexpected, so allow the users to see them
   3572       # (that is, avoid stderr redirection).
   3573       am_uid=`id -u || echo unknown`
   3574       am_gid=`id -g || echo unknown`
   3575       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3576 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3577       if test x$am_uid = xunknown; then
   3578         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3579 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3580       elif test $am_uid -le $am_max_uid; then
   3581         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3582 printf '%s\n' "yes" >&6; }
   3583       else
   3584         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3585 printf '%s\n' "no" >&6; }
   3586         _am_tools=none
   3587       fi
   3588       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3589 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3590       if test x$gm_gid = xunknown; then
   3591         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3592 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3593       elif test $am_gid -le $am_max_gid; then
   3594         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3595 printf '%s\n' "yes" >&6; }
   3596       else
   3597         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3598 printf '%s\n' "no" >&6; }
   3599         _am_tools=none
   3600       fi
   3601 
   3602   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3603 printf %s "checking how to create a ustar tar archive... " >&6; }
   3604 
   3605   # Go ahead even if we have the value already cached.  We do so because we
   3606   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3607   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3608 
   3609   for _am_tool in $_am_tools; do
   3610     case $_am_tool in
   3611     gnutar)
   3612       for _am_tar in tar gnutar gtar; do
   3613         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3614    ($_am_tar --version) >&5 2>&5
   3615    ac_status=$?
   3616    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3617    (exit $ac_status); } && break
   3618       done
   3619       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3620       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3621       am__untar="$_am_tar -xf -"
   3622       ;;
   3623     plaintar)
   3624       # Must skip GNU tar: if it does not support --format= it doesn't create
   3625       # ustar tarball either.
   3626       (tar --version) >/dev/null 2>&1 && continue
   3627       am__tar='tar chf - "$$tardir"'
   3628       am__tar_='tar chf - "$tardir"'
   3629       am__untar='tar xf -'
   3630       ;;
   3631     pax)
   3632       am__tar='pax -L -x ustar -w "$$tardir"'
   3633       am__tar_='pax -L -x ustar -w "$tardir"'
   3634       am__untar='pax -r'
   3635       ;;
   3636     cpio)
   3637       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3638       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3639       am__untar='cpio -i -H ustar -d'
   3640       ;;
   3641     none)
   3642       am__tar=false
   3643       am__tar_=false
   3644       am__untar=false
   3645       ;;
   3646     esac
   3647 
   3648     # If the value was cached, stop now.  We just wanted to have am__tar
   3649     # and am__untar set.
   3650     test -n "${am_cv_prog_tar_ustar}" && break
   3651 
   3652     # tar/untar a dummy directory, and stop if the command works.
   3653     rm -rf conftest.dir
   3654     mkdir conftest.dir
   3655     echo GrepMe > conftest.dir/file
   3656     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3657    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3658    ac_status=$?
   3659    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3660    (exit $ac_status); }
   3661     rm -rf conftest.dir
   3662     if test -s conftest.tar; then
   3663       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3664    ($am__untar <conftest.tar) >&5 2>&5
   3665    ac_status=$?
   3666    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3667    (exit $ac_status); }
   3668       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3669    (cat conftest.dir/file) >&5 2>&5
   3670    ac_status=$?
   3671    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3672    (exit $ac_status); }
   3673       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3674     fi
   3675   done
   3676   rm -rf conftest.dir
   3677 
   3678   if test ${am_cv_prog_tar_ustar+y}
   3679 then :
   3680   printf %s "(cached) " >&6
   3681 else case e in #(
   3682   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3683 esac
   3684 fi
   3685 
   3686   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3687 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3688 
   3689 
   3690 
   3691 
   3692 
   3693 # Variables for tags utilities; see am/tags.am
   3694 if test -z "$CTAGS"; then
   3695   CTAGS=ctags
   3696 fi
   3697 
   3698 if test -z "$ETAGS"; then
   3699   ETAGS=etags
   3700 fi
   3701 
   3702 if test -z "$CSCOPE"; then
   3703   CSCOPE=cscope
   3704 fi
   3705 
   3706 
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3714 
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 
   3728 
   3729 
   3730 
   3731 
   3732 
   3733 
   3734 
   3735 
   3736 
   3737 DEPDIR="${am__leading_dot}deps"
   3738 
   3739 ac_config_commands="$ac_config_commands depfiles"
   3740 
   3741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3742 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3743 cat > confinc.mk << 'END'
   3744 am__doit:
   3745 	@echo this is the am__doit target >confinc.out
   3746 .PHONY: am__doit
   3747 END
   3748 am__include="#"
   3749 am__quote=
   3750 # BSD make does it like this.
   3751 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3752 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3753 echo 'include confinc.mk # ignored' > confmf.GNU
   3754 _am_result=no
   3755 for s in GNU BSD; do
   3756   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3757    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3758    ac_status=$?
   3759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3760    (exit $ac_status); }
   3761   case $?:`cat confinc.out 2>/dev/null` in #(
   3762   '0:this is the am__doit target') :
   3763     case $s in #(
   3764   BSD) :
   3765     am__include='.include' am__quote='"' ;; #(
   3766   *) :
   3767     am__include='include' am__quote='' ;;
   3768 esac ;; #(
   3769   *) :
   3770      ;;
   3771 esac
   3772   if test "$am__include" != "#"; then
   3773     _am_result="yes ($s style)"
   3774     break
   3775   fi
   3776 done
   3777 rm -f confinc.* confmf.*
   3778 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3779 printf '%s\n' "${_am_result}" >&6; }
   3780 
   3781 # Check whether --enable-dependency-tracking was given.
   3782 if test ${enable_dependency_tracking+y}
   3783 then :
   3784   enableval=$enable_dependency_tracking;
   3785 fi
   3786 
   3787 if test "x$enable_dependency_tracking" != xno; then
   3788   am_depcomp="$ac_aux_dir/depcomp"
   3789   AMDEPBACKSLASH='\'
   3790   am__nodep='_no'
   3791 fi
   3792  if test "x$enable_dependency_tracking" != xno; then
   3793   AMDEP_TRUE=
   3794   AMDEP_FALSE='#'
   3795 else
   3796   AMDEP_TRUE='#'
   3797   AMDEP_FALSE=
   3798 fi
   3799 
   3800 
   3801 ac_ext=c
   3802 ac_cpp='$CPP $CPPFLAGS'
   3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3806 if test -n "$ac_tool_prefix"; then
   3807   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3809 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3810 printf %s "checking for $ac_word... " >&6; }
   3811 if test ${ac_cv_prog_CC+y}
   3812 then :
   3813   printf %s "(cached) " >&6
   3814 else case e in #(
   3815   e) if test -n "$CC"; then
   3816   ac_cv_prog_CC="$CC" # Let the user override the test.
   3817 else
   3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3819 for as_dir in $PATH
   3820 do
   3821   IFS=$as_save_IFS
   3822   case $as_dir in #(((
   3823     '') as_dir=./ ;;
   3824     */) ;;
   3825     *) as_dir=$as_dir/ ;;
   3826   esac
   3827     for ac_exec_ext in '' $ac_executable_extensions; do
   3828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3829     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3830     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3831     break 2
   3832   fi
   3833 done
   3834   done
   3835 IFS=$as_save_IFS
   3836 
   3837 fi ;;
   3838 esac
   3839 fi
   3840 CC=$ac_cv_prog_CC
   3841 if test -n "$CC"; then
   3842   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3843 printf '%s\n' "$CC" >&6; }
   3844 else
   3845   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3846 printf '%s\n' "no" >&6; }
   3847 fi
   3848 
   3849 
   3850 fi
   3851 if test -z "$ac_cv_prog_CC"; then
   3852   ac_ct_CC=$CC
   3853   # Extract the first word of "gcc", so it can be a program name with args.
   3854 set dummy gcc; ac_word=$2
   3855 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3856 printf %s "checking for $ac_word... " >&6; }
   3857 if test ${ac_cv_prog_ac_ct_CC+y}
   3858 then :
   3859   printf %s "(cached) " >&6
   3860 else case e in #(
   3861   e) if test -n "$ac_ct_CC"; then
   3862   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3863 else
   3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3865 for as_dir in $PATH
   3866 do
   3867   IFS=$as_save_IFS
   3868   case $as_dir in #(((
   3869     '') as_dir=./ ;;
   3870     */) ;;
   3871     *) as_dir=$as_dir/ ;;
   3872   esac
   3873     for ac_exec_ext in '' $ac_executable_extensions; do
   3874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3875     ac_cv_prog_ac_ct_CC="gcc"
   3876     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3877     break 2
   3878   fi
   3879 done
   3880   done
   3881 IFS=$as_save_IFS
   3882 
   3883 fi ;;
   3884 esac
   3885 fi
   3886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3887 if test -n "$ac_ct_CC"; then
   3888   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3889 printf '%s\n' "$ac_ct_CC" >&6; }
   3890 else
   3891   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3892 printf '%s\n' "no" >&6; }
   3893 fi
   3894 
   3895   if test "x$ac_ct_CC" = x; then
   3896     CC=""
   3897   else
   3898     case $cross_compiling:$ac_tool_warned in
   3899 yes:)
   3900 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3901 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3902 ac_tool_warned=yes ;;
   3903 esac
   3904     CC=$ac_ct_CC
   3905   fi
   3906 else
   3907   CC="$ac_cv_prog_CC"
   3908 fi
   3909 
   3910 if test -z "$CC"; then
   3911           if test -n "$ac_tool_prefix"; then
   3912     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3913 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3914 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3915 printf %s "checking for $ac_word... " >&6; }
   3916 if test ${ac_cv_prog_CC+y}
   3917 then :
   3918   printf %s "(cached) " >&6
   3919 else case e in #(
   3920   e) if test -n "$CC"; then
   3921   ac_cv_prog_CC="$CC" # Let the user override the test.
   3922 else
   3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3924 for as_dir in $PATH
   3925 do
   3926   IFS=$as_save_IFS
   3927   case $as_dir in #(((
   3928     '') as_dir=./ ;;
   3929     */) ;;
   3930     *) as_dir=$as_dir/ ;;
   3931   esac
   3932     for ac_exec_ext in '' $ac_executable_extensions; do
   3933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3934     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3935     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3936     break 2
   3937   fi
   3938 done
   3939   done
   3940 IFS=$as_save_IFS
   3941 
   3942 fi ;;
   3943 esac
   3944 fi
   3945 CC=$ac_cv_prog_CC
   3946 if test -n "$CC"; then
   3947   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3948 printf '%s\n' "$CC" >&6; }
   3949 else
   3950   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3951 printf '%s\n' "no" >&6; }
   3952 fi
   3953 
   3954 
   3955   fi
   3956 fi
   3957 if test -z "$CC"; then
   3958   # Extract the first word of "cc", so it can be a program name with args.
   3959 set dummy cc; ac_word=$2
   3960 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3961 printf %s "checking for $ac_word... " >&6; }
   3962 if test ${ac_cv_prog_CC+y}
   3963 then :
   3964   printf %s "(cached) " >&6
   3965 else case e in #(
   3966   e) if test -n "$CC"; then
   3967   ac_cv_prog_CC="$CC" # Let the user override the test.
   3968 else
   3969   ac_prog_rejected=no
   3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3971 for as_dir in $PATH
   3972 do
   3973   IFS=$as_save_IFS
   3974   case $as_dir in #(((
   3975     '') as_dir=./ ;;
   3976     */) ;;
   3977     *) as_dir=$as_dir/ ;;
   3978   esac
   3979     for ac_exec_ext in '' $ac_executable_extensions; do
   3980   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3981     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3982        ac_prog_rejected=yes
   3983        continue
   3984      fi
   3985     ac_cv_prog_CC="cc"
   3986     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3987     break 2
   3988   fi
   3989 done
   3990   done
   3991 IFS=$as_save_IFS
   3992 
   3993 if test $ac_prog_rejected = yes; then
   3994   # We found a bogon in the path, so make sure we never use it.
   3995   set dummy $ac_cv_prog_CC
   3996   shift
   3997   if test $# != 0; then
   3998     # We chose a different compiler from the bogus one.
   3999     # However, it has the same basename, so the bogon will be chosen
   4000     # first if we set CC to just the basename; use the full file name.
   4001     shift
   4002     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4003   fi
   4004 fi
   4005 fi ;;
   4006 esac
   4007 fi
   4008 CC=$ac_cv_prog_CC
   4009 if test -n "$CC"; then
   4010   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4011 printf '%s\n' "$CC" >&6; }
   4012 else
   4013   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4014 printf '%s\n' "no" >&6; }
   4015 fi
   4016 
   4017 
   4018 fi
   4019 if test -z "$CC"; then
   4020   if test -n "$ac_tool_prefix"; then
   4021   for ac_prog in cl.exe
   4022   do
   4023     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4026 printf %s "checking for $ac_word... " >&6; }
   4027 if test ${ac_cv_prog_CC+y}
   4028 then :
   4029   printf %s "(cached) " >&6
   4030 else case e in #(
   4031   e) if test -n "$CC"; then
   4032   ac_cv_prog_CC="$CC" # Let the user override the test.
   4033 else
   4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4035 for as_dir in $PATH
   4036 do
   4037   IFS=$as_save_IFS
   4038   case $as_dir in #(((
   4039     '') as_dir=./ ;;
   4040     */) ;;
   4041     *) as_dir=$as_dir/ ;;
   4042   esac
   4043     for ac_exec_ext in '' $ac_executable_extensions; do
   4044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4045     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4046     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4047     break 2
   4048   fi
   4049 done
   4050   done
   4051 IFS=$as_save_IFS
   4052 
   4053 fi ;;
   4054 esac
   4055 fi
   4056 CC=$ac_cv_prog_CC
   4057 if test -n "$CC"; then
   4058   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4059 printf '%s\n' "$CC" >&6; }
   4060 else
   4061   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4062 printf '%s\n' "no" >&6; }
   4063 fi
   4064 
   4065 
   4066     test -n "$CC" && break
   4067   done
   4068 fi
   4069 if test -z "$CC"; then
   4070   ac_ct_CC=$CC
   4071   for ac_prog in cl.exe
   4072 do
   4073   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4074 set dummy $ac_prog; ac_word=$2
   4075 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4076 printf %s "checking for $ac_word... " >&6; }
   4077 if test ${ac_cv_prog_ac_ct_CC+y}
   4078 then :
   4079   printf %s "(cached) " >&6
   4080 else case e in #(
   4081   e) if test -n "$ac_ct_CC"; then
   4082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4083 else
   4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4085 for as_dir in $PATH
   4086 do
   4087   IFS=$as_save_IFS
   4088   case $as_dir in #(((
   4089     '') as_dir=./ ;;
   4090     */) ;;
   4091     *) as_dir=$as_dir/ ;;
   4092   esac
   4093     for ac_exec_ext in '' $ac_executable_extensions; do
   4094   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4095     ac_cv_prog_ac_ct_CC="$ac_prog"
   4096     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4097     break 2
   4098   fi
   4099 done
   4100   done
   4101 IFS=$as_save_IFS
   4102 
   4103 fi ;;
   4104 esac
   4105 fi
   4106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4107 if test -n "$ac_ct_CC"; then
   4108   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4109 printf '%s\n' "$ac_ct_CC" >&6; }
   4110 else
   4111   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4112 printf '%s\n' "no" >&6; }
   4113 fi
   4114 
   4115 
   4116   test -n "$ac_ct_CC" && break
   4117 done
   4118 
   4119   if test "x$ac_ct_CC" = x; then
   4120     CC=""
   4121   else
   4122     case $cross_compiling:$ac_tool_warned in
   4123 yes:)
   4124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4125 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4126 ac_tool_warned=yes ;;
   4127 esac
   4128     CC=$ac_ct_CC
   4129   fi
   4130 fi
   4131 
   4132 fi
   4133 if test -z "$CC"; then
   4134   if test -n "$ac_tool_prefix"; then
   4135   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4136 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4137 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4138 printf %s "checking for $ac_word... " >&6; }
   4139 if test ${ac_cv_prog_CC+y}
   4140 then :
   4141   printf %s "(cached) " >&6
   4142 else case e in #(
   4143   e) if test -n "$CC"; then
   4144   ac_cv_prog_CC="$CC" # Let the user override the test.
   4145 else
   4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4147 for as_dir in $PATH
   4148 do
   4149   IFS=$as_save_IFS
   4150   case $as_dir in #(((
   4151     '') as_dir=./ ;;
   4152     */) ;;
   4153     *) as_dir=$as_dir/ ;;
   4154   esac
   4155     for ac_exec_ext in '' $ac_executable_extensions; do
   4156   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4157     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4158     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4159     break 2
   4160   fi
   4161 done
   4162   done
   4163 IFS=$as_save_IFS
   4164 
   4165 fi ;;
   4166 esac
   4167 fi
   4168 CC=$ac_cv_prog_CC
   4169 if test -n "$CC"; then
   4170   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4171 printf '%s\n' "$CC" >&6; }
   4172 else
   4173   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4174 printf '%s\n' "no" >&6; }
   4175 fi
   4176 
   4177 
   4178 fi
   4179 if test -z "$ac_cv_prog_CC"; then
   4180   ac_ct_CC=$CC
   4181   # Extract the first word of "clang", so it can be a program name with args.
   4182 set dummy clang; ac_word=$2
   4183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4184 printf %s "checking for $ac_word... " >&6; }
   4185 if test ${ac_cv_prog_ac_ct_CC+y}
   4186 then :
   4187   printf %s "(cached) " >&6
   4188 else case e in #(
   4189   e) if test -n "$ac_ct_CC"; then
   4190   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4191 else
   4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4193 for as_dir in $PATH
   4194 do
   4195   IFS=$as_save_IFS
   4196   case $as_dir in #(((
   4197     '') as_dir=./ ;;
   4198     */) ;;
   4199     *) as_dir=$as_dir/ ;;
   4200   esac
   4201     for ac_exec_ext in '' $ac_executable_extensions; do
   4202   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4203     ac_cv_prog_ac_ct_CC="clang"
   4204     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4205     break 2
   4206   fi
   4207 done
   4208   done
   4209 IFS=$as_save_IFS
   4210 
   4211 fi ;;
   4212 esac
   4213 fi
   4214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4215 if test -n "$ac_ct_CC"; then
   4216   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4217 printf '%s\n' "$ac_ct_CC" >&6; }
   4218 else
   4219   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4220 printf '%s\n' "no" >&6; }
   4221 fi
   4222 
   4223   if test "x$ac_ct_CC" = x; then
   4224     CC=""
   4225   else
   4226     case $cross_compiling:$ac_tool_warned in
   4227 yes:)
   4228 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4229 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4230 ac_tool_warned=yes ;;
   4231 esac
   4232     CC=$ac_ct_CC
   4233   fi
   4234 else
   4235   CC="$ac_cv_prog_CC"
   4236 fi
   4237 
   4238 fi
   4239 
   4240 
   4241 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4242 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4243 as_fn_error $? "no acceptable C compiler found in \$PATH
   4244 See 'config.log' for more details" "$LINENO" 5; }
   4245 
   4246 # Provide some information about the compiler.
   4247 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4248 set X $ac_compile
   4249 ac_compiler=$2
   4250 for ac_option in --version -v -V -qversion -version; do
   4251   { { ac_try="$ac_compiler $ac_option >&5"
   4252 case "(($ac_try" in
   4253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4254   *) ac_try_echo=$ac_try;;
   4255 esac
   4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4257 printf '%s\n' "$ac_try_echo"; } >&5
   4258   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4259   ac_status=$?
   4260   if test -s conftest.err; then
   4261     sed '10a\
   4262 ... rest of stderr output deleted ...
   4263          10q' conftest.err >conftest.er1
   4264     cat conftest.er1 >&5
   4265   fi
   4266   rm -f conftest.er1 conftest.err
   4267   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4268   test $ac_status = 0; }
   4269 done
   4270 
   4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4272 /* end confdefs.h.  */
   4273 
   4274 int
   4275 main (void)
   4276 {
   4277 
   4278   ;
   4279   return 0;
   4280 }
   4281 _ACEOF
   4282 ac_clean_files_save=$ac_clean_files
   4283 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4284 # Try to create an executable without -o first, disregard a.out.
   4285 # It will help us diagnose broken compilers, and finding out an intuition
   4286 # of exeext.
   4287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4288 printf %s "checking whether the C compiler works... " >&6; }
   4289 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4290 
   4291 # The possible output files:
   4292 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4293 
   4294 ac_rmfiles=
   4295 for ac_file in $ac_files
   4296 do
   4297   case $ac_file in
   4298     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4299     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4300   esac
   4301 done
   4302 rm -f $ac_rmfiles
   4303 
   4304 if { { ac_try="$ac_link_default"
   4305 case "(($ac_try" in
   4306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4307   *) ac_try_echo=$ac_try;;
   4308 esac
   4309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4310 printf '%s\n' "$ac_try_echo"; } >&5
   4311   (eval "$ac_link_default") 2>&5
   4312   ac_status=$?
   4313   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4314   test $ac_status = 0; }
   4315 then :
   4316   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4317 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4318 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4319 # so that the user can short-circuit this test for compilers unknown to
   4320 # Autoconf.
   4321 for ac_file in $ac_files ''
   4322 do
   4323   test -f "$ac_file" || continue
   4324   case $ac_file in
   4325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4326 	;;
   4327     [ab].out )
   4328 	# We found the default executable, but exeext='' is most
   4329 	# certainly right.
   4330 	break;;
   4331     *.* )
   4332 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4333 	then :; else
   4334 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4335 	fi
   4336 	# We set ac_cv_exeext here because the later test for it is not
   4337 	# safe: cross compilers may not add the suffix if given an '-o'
   4338 	# argument, so we may need to know it at that point already.
   4339 	# Even if this section looks crufty: it has the advantage of
   4340 	# actually working.
   4341 	break;;
   4342     * )
   4343 	break;;
   4344   esac
   4345 done
   4346 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4347 
   4348 else case e in #(
   4349   e) ac_file='' ;;
   4350 esac
   4351 fi
   4352 if test -z "$ac_file"
   4353 then :
   4354   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4355 printf '%s\n' "no" >&6; }
   4356 printf '%s\n' "$as_me: failed program was:" >&5
   4357 sed 's/^/| /' conftest.$ac_ext >&5
   4358 
   4359 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4360 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4361 as_fn_error 77 "C compiler cannot create executables
   4362 See 'config.log' for more details" "$LINENO" 5; }
   4363 else case e in #(
   4364   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4365 printf '%s\n' "yes" >&6; } ;;
   4366 esac
   4367 fi
   4368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4369 printf %s "checking for C compiler default output file name... " >&6; }
   4370 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4371 printf '%s\n' "$ac_file" >&6; }
   4372 ac_exeext=$ac_cv_exeext
   4373 
   4374 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4375 ac_clean_files=$ac_clean_files_save
   4376 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4377 printf %s "checking for suffix of executables... " >&6; }
   4378 if { { ac_try="$ac_link"
   4379 case "(($ac_try" in
   4380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4381   *) ac_try_echo=$ac_try;;
   4382 esac
   4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4384 printf '%s\n' "$ac_try_echo"; } >&5
   4385   (eval "$ac_link") 2>&5
   4386   ac_status=$?
   4387   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4388   test $ac_status = 0; }
   4389 then :
   4390   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4391 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4392 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4393 # 'rm'.
   4394 for ac_file in conftest.exe conftest conftest.*; do
   4395   test -f "$ac_file" || continue
   4396   case $ac_file in
   4397     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4398     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4399 	  break;;
   4400     * ) break;;
   4401   esac
   4402 done
   4403 else case e in #(
   4404   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4405 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4406 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4407 See 'config.log' for more details" "$LINENO" 5; } ;;
   4408 esac
   4409 fi
   4410 rm -f conftest conftest$ac_cv_exeext
   4411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4412 printf '%s\n' "$ac_cv_exeext" >&6; }
   4413 
   4414 rm -f conftest.$ac_ext
   4415 EXEEXT=$ac_cv_exeext
   4416 ac_exeext=$EXEEXT
   4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4418 /* end confdefs.h.  */
   4419 #include <stdio.h>
   4420 int
   4421 main (void)
   4422 {
   4423 FILE *f = fopen ("conftest.out", "w");
   4424  if (!f)
   4425   return 1;
   4426  return ferror (f) || fclose (f) != 0;
   4427 
   4428   ;
   4429   return 0;
   4430 }
   4431 _ACEOF
   4432 ac_clean_files="$ac_clean_files conftest.out"
   4433 # Check that the compiler produces executables we can run.  If not, either
   4434 # the compiler is broken, or we cross compile.
   4435 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4436 printf %s "checking whether we are cross compiling... " >&6; }
   4437 if test "$cross_compiling" != yes; then
   4438   { { ac_try="$ac_link"
   4439 case "(($ac_try" in
   4440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4441   *) ac_try_echo=$ac_try;;
   4442 esac
   4443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4444 printf '%s\n' "$ac_try_echo"; } >&5
   4445   (eval "$ac_link") 2>&5
   4446   ac_status=$?
   4447   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4448   test $ac_status = 0; }
   4449   if { ac_try='./conftest$ac_cv_exeext'
   4450   { { case "(($ac_try" in
   4451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4452   *) ac_try_echo=$ac_try;;
   4453 esac
   4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4455 printf '%s\n' "$ac_try_echo"; } >&5
   4456   (eval "$ac_try") 2>&5
   4457   ac_status=$?
   4458   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4459   test $ac_status = 0; }; }; then
   4460     cross_compiling=no
   4461   else
   4462     if test "$cross_compiling" = maybe; then
   4463 	cross_compiling=yes
   4464     else
   4465 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4466 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4467 as_fn_error 77 "cannot run C compiled programs.
   4468 If you meant to cross compile, use '--host'.
   4469 See 'config.log' for more details" "$LINENO" 5; }
   4470     fi
   4471   fi
   4472 fi
   4473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4474 printf '%s\n' "$cross_compiling" >&6; }
   4475 
   4476 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4477   conftest.o conftest.obj conftest.out
   4478 ac_clean_files=$ac_clean_files_save
   4479 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4480 printf %s "checking for suffix of object files... " >&6; }
   4481 if test ${ac_cv_objext+y}
   4482 then :
   4483   printf %s "(cached) " >&6
   4484 else case e in #(
   4485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 
   4488 int
   4489 main (void)
   4490 {
   4491 
   4492   ;
   4493   return 0;
   4494 }
   4495 _ACEOF
   4496 rm -f conftest.o conftest.obj
   4497 if { { ac_try="$ac_compile"
   4498 case "(($ac_try" in
   4499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4500   *) ac_try_echo=$ac_try;;
   4501 esac
   4502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4503 printf '%s\n' "$ac_try_echo"; } >&5
   4504   (eval "$ac_compile") 2>&5
   4505   ac_status=$?
   4506   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4507   test $ac_status = 0; }
   4508 then :
   4509   for ac_file in conftest.o conftest.obj conftest.*; do
   4510   test -f "$ac_file" || continue;
   4511   case $ac_file in
   4512     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4513     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4514        break;;
   4515   esac
   4516 done
   4517 else case e in #(
   4518   e) printf '%s\n' "$as_me: failed program was:" >&5
   4519 sed 's/^/| /' conftest.$ac_ext >&5
   4520 
   4521 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4522 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4523 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4524 See 'config.log' for more details" "$LINENO" 5; } ;;
   4525 esac
   4526 fi
   4527 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4528 esac
   4529 fi
   4530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4531 printf '%s\n' "$ac_cv_objext" >&6; }
   4532 OBJEXT=$ac_cv_objext
   4533 ac_objext=$OBJEXT
   4534 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4535 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4536 if test ${ac_cv_c_compiler_gnu+y}
   4537 then :
   4538   printf %s "(cached) " >&6
   4539 else case e in #(
   4540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4541 /* end confdefs.h.  */
   4542 
   4543 int
   4544 main (void)
   4545 {
   4546 #ifndef __GNUC__
   4547        choke me
   4548 #endif
   4549 
   4550   ;
   4551   return 0;
   4552 }
   4553 _ACEOF
   4554 if ac_fn_c_try_compile "$LINENO"
   4555 then :
   4556   ac_compiler_gnu=yes
   4557 else case e in #(
   4558   e) ac_compiler_gnu=no ;;
   4559 esac
   4560 fi
   4561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4562 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4563  ;;
   4564 esac
   4565 fi
   4566 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4567 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569 
   4570 if test $ac_compiler_gnu = yes; then
   4571   GCC=yes
   4572 else
   4573   GCC=
   4574 fi
   4575 ac_test_CFLAGS=${CFLAGS+y}
   4576 ac_save_CFLAGS=$CFLAGS
   4577 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4578 printf %s "checking whether $CC accepts -g... " >&6; }
   4579 if test ${ac_cv_prog_cc_g+y}
   4580 then :
   4581   printf %s "(cached) " >&6
   4582 else case e in #(
   4583   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4584    ac_c_werror_flag=yes
   4585    ac_cv_prog_cc_g=no
   4586    CFLAGS="-g"
   4587    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4588 /* end confdefs.h.  */
   4589 
   4590 int
   4591 main (void)
   4592 {
   4593 
   4594   ;
   4595   return 0;
   4596 }
   4597 _ACEOF
   4598 if ac_fn_c_try_compile "$LINENO"
   4599 then :
   4600   ac_cv_prog_cc_g=yes
   4601 else case e in #(
   4602   e) CFLAGS=""
   4603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4604 /* end confdefs.h.  */
   4605 
   4606 int
   4607 main (void)
   4608 {
   4609 
   4610   ;
   4611   return 0;
   4612 }
   4613 _ACEOF
   4614 if ac_fn_c_try_compile "$LINENO"
   4615 then :
   4616 
   4617 else case e in #(
   4618   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4619 	 CFLAGS="-g"
   4620 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4621 /* end confdefs.h.  */
   4622 
   4623 int
   4624 main (void)
   4625 {
   4626 
   4627   ;
   4628   return 0;
   4629 }
   4630 _ACEOF
   4631 if ac_fn_c_try_compile "$LINENO"
   4632 then :
   4633   ac_cv_prog_cc_g=yes
   4634 fi
   4635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4636 esac
   4637 fi
   4638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4639 esac
   4640 fi
   4641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4642    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4643 esac
   4644 fi
   4645 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4646 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4647 if test $ac_test_CFLAGS; then
   4648   CFLAGS=$ac_save_CFLAGS
   4649 elif test $ac_cv_prog_cc_g = yes; then
   4650   if test "$GCC" = yes; then
   4651     CFLAGS="-g -O2"
   4652   else
   4653     CFLAGS="-g"
   4654   fi
   4655 else
   4656   if test "$GCC" = yes; then
   4657     CFLAGS="-O2"
   4658   else
   4659     CFLAGS=
   4660   fi
   4661 fi
   4662 ac_prog_cc_stdc=no
   4663 if test x$ac_prog_cc_stdc = xno
   4664 then :
   4665   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4666 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4667 if test ${ac_cv_prog_cc_c23+y}
   4668 then :
   4669   printf %s "(cached) " >&6
   4670 else case e in #(
   4671   e) ac_cv_prog_cc_c23=no
   4672 ac_save_CC=$CC
   4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4674 /* end confdefs.h.  */
   4675 $ac_c_conftest_c23_program
   4676 _ACEOF
   4677 for ac_arg in '' -std=gnu23
   4678 do
   4679   CC="$ac_save_CC $ac_arg"
   4680   if ac_fn_c_try_compile "$LINENO"
   4681 then :
   4682   ac_cv_prog_cc_c23=$ac_arg
   4683 fi
   4684 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4685   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4686 done
   4687 rm -f conftest.$ac_ext
   4688 CC=$ac_save_CC ;;
   4689 esac
   4690 fi
   4691 
   4692 if test "x$ac_cv_prog_cc_c23" = xno
   4693 then :
   4694   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4695 printf '%s\n' "unsupported" >&6; }
   4696 else case e in #(
   4697   e) if test "x$ac_cv_prog_cc_c23" = x
   4698 then :
   4699   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4700 printf '%s\n' "none needed" >&6; }
   4701 else case e in #(
   4702   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4703 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4704      CC="$CC $ac_cv_prog_cc_c23" ;;
   4705 esac
   4706 fi
   4707   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4708   ac_prog_cc_stdc=c23 ;;
   4709 esac
   4710 fi
   4711 fi
   4712 if test x$ac_prog_cc_stdc = xno
   4713 then :
   4714   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4715 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4716 if test ${ac_cv_prog_cc_c11+y}
   4717 then :
   4718   printf %s "(cached) " >&6
   4719 else case e in #(
   4720   e) ac_cv_prog_cc_c11=no
   4721 ac_save_CC=$CC
   4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4723 /* end confdefs.h.  */
   4724 $ac_c_conftest_c11_program
   4725 _ACEOF
   4726 for ac_arg in '' -std=gnu11 -std:c11
   4727 do
   4728   CC="$ac_save_CC $ac_arg"
   4729   if ac_fn_c_try_compile "$LINENO"
   4730 then :
   4731   ac_cv_prog_cc_c11=$ac_arg
   4732 fi
   4733 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4734   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4735 done
   4736 rm -f conftest.$ac_ext
   4737 CC=$ac_save_CC ;;
   4738 esac
   4739 fi
   4740 
   4741 if test "x$ac_cv_prog_cc_c11" = xno
   4742 then :
   4743   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4744 printf '%s\n' "unsupported" >&6; }
   4745 else case e in #(
   4746   e) if test "x$ac_cv_prog_cc_c11" = x
   4747 then :
   4748   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4749 printf '%s\n' "none needed" >&6; }
   4750 else case e in #(
   4751   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4752 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4753      CC="$CC $ac_cv_prog_cc_c11" ;;
   4754 esac
   4755 fi
   4756   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4757   ac_prog_cc_stdc=c11 ;;
   4758 esac
   4759 fi
   4760 fi
   4761 if test x$ac_prog_cc_stdc = xno
   4762 then :
   4763   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4764 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4765 if test ${ac_cv_prog_cc_c99+y}
   4766 then :
   4767   printf %s "(cached) " >&6
   4768 else case e in #(
   4769   e) ac_cv_prog_cc_c99=no
   4770 ac_save_CC=$CC
   4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 $ac_c_conftest_c99_program
   4774 _ACEOF
   4775 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4776 do
   4777   CC="$ac_save_CC $ac_arg"
   4778   if ac_fn_c_try_compile "$LINENO"
   4779 then :
   4780   ac_cv_prog_cc_c99=$ac_arg
   4781 fi
   4782 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4783   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4784 done
   4785 rm -f conftest.$ac_ext
   4786 CC=$ac_save_CC ;;
   4787 esac
   4788 fi
   4789 
   4790 if test "x$ac_cv_prog_cc_c99" = xno
   4791 then :
   4792   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4793 printf '%s\n' "unsupported" >&6; }
   4794 else case e in #(
   4795   e) if test "x$ac_cv_prog_cc_c99" = x
   4796 then :
   4797   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4798 printf '%s\n' "none needed" >&6; }
   4799 else case e in #(
   4800   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4801 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4802      CC="$CC $ac_cv_prog_cc_c99" ;;
   4803 esac
   4804 fi
   4805   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4806   ac_prog_cc_stdc=c99 ;;
   4807 esac
   4808 fi
   4809 fi
   4810 if test x$ac_prog_cc_stdc = xno
   4811 then :
   4812   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4813 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4814 if test ${ac_cv_prog_cc_c89+y}
   4815 then :
   4816   printf %s "(cached) " >&6
   4817 else case e in #(
   4818   e) ac_cv_prog_cc_c89=no
   4819 ac_save_CC=$CC
   4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4821 /* end confdefs.h.  */
   4822 $ac_c_conftest_c89_program
   4823 _ACEOF
   4824 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4825 do
   4826   CC="$ac_save_CC $ac_arg"
   4827   if ac_fn_c_try_compile "$LINENO"
   4828 then :
   4829   ac_cv_prog_cc_c89=$ac_arg
   4830 fi
   4831 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4832   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4833 done
   4834 rm -f conftest.$ac_ext
   4835 CC=$ac_save_CC ;;
   4836 esac
   4837 fi
   4838 
   4839 if test "x$ac_cv_prog_cc_c89" = xno
   4840 then :
   4841   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4842 printf '%s\n' "unsupported" >&6; }
   4843 else case e in #(
   4844   e) if test "x$ac_cv_prog_cc_c89" = x
   4845 then :
   4846   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4847 printf '%s\n' "none needed" >&6; }
   4848 else case e in #(
   4849   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4850 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4851      CC="$CC $ac_cv_prog_cc_c89" ;;
   4852 esac
   4853 fi
   4854   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4855   ac_prog_cc_stdc=c89 ;;
   4856 esac
   4857 fi
   4858 fi
   4859 
   4860 ac_ext=c
   4861 ac_cpp='$CPP $CPPFLAGS'
   4862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4865 
   4866 
   4867   ac_ext=c
   4868 ac_cpp='$CPP $CPPFLAGS'
   4869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4872 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4873 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4874 if test ${am_cv_prog_cc_c_o+y}
   4875 then :
   4876   printf %s "(cached) " >&6
   4877 else case e in #(
   4878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4879 /* end confdefs.h.  */
   4880 
   4881 int
   4882 main (void)
   4883 {
   4884 
   4885   ;
   4886   return 0;
   4887 }
   4888 _ACEOF
   4889   # Make sure it works both with $CC and with simple cc.
   4890   # Following AC_PROG_CC_C_O, we do the test twice because some
   4891   # compilers refuse to overwrite an existing .o file with -o,
   4892   # though they will create one.
   4893   am_cv_prog_cc_c_o=yes
   4894   for am_i in 1 2; do
   4895     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4896    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4897    ac_status=$?
   4898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4899    (exit $ac_status); } \
   4900          && test -f conftest2.$ac_objext; then
   4901       : OK
   4902     else
   4903       am_cv_prog_cc_c_o=no
   4904       break
   4905     fi
   4906   done
   4907   # aligned with autoconf, so not including core; see bug#72225.
   4908   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4909     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4910     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4911   unset am_i ;;
   4912 esac
   4913 fi
   4914 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4915 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4916 if test "$am_cv_prog_cc_c_o" != yes; then
   4917    # Losing compiler, so override with the script.
   4918    # FIXME: It is wrong to rewrite CC.
   4919    # But if we don't then we get into trouble of one sort or another.
   4920    # A longer-term fix would be to have automake use am__CC in this case,
   4921    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4922    CC="$am_aux_dir/compile $CC"
   4923 fi
   4924 ac_ext=c
   4925 ac_cpp='$CPP $CPPFLAGS'
   4926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4929 
   4930 
   4931 depcc="$CC"   am_compiler_list=
   4932 
   4933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4934 printf %s "checking dependency style of $depcc... " >&6; }
   4935 if test ${am_cv_CC_dependencies_compiler_type+y}
   4936 then :
   4937   printf %s "(cached) " >&6
   4938 else case e in #(
   4939   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4940   # We make a subdir and do the tests there.  Otherwise we can end up
   4941   # making bogus files that we don't know about and never remove.  For
   4942   # instance it was reported that on HP-UX the gcc test will end up
   4943   # making a dummy file named 'D' -- because '-MD' means "put the output
   4944   # in D".
   4945   rm -rf conftest.dir
   4946   mkdir conftest.dir
   4947   # Copy depcomp to subdir because otherwise we won't find it if we're
   4948   # using a relative directory.
   4949   cp "$am_depcomp" conftest.dir
   4950   cd conftest.dir
   4951   # We will build objects and dependencies in a subdirectory because
   4952   # it helps to detect inapplicable dependency modes.  For instance
   4953   # both Tru64's cc and ICC support -MD to output dependencies as a
   4954   # side effect of compilation, but ICC will put the dependencies in
   4955   # the current directory while Tru64 will put them in the object
   4956   # directory.
   4957   mkdir sub
   4958 
   4959   am_cv_CC_dependencies_compiler_type=none
   4960   if test "$am_compiler_list" = ""; then
   4961      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4962   fi
   4963   am__universal=false
   4964   case " $depcc " in #(
   4965      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4966      esac
   4967 
   4968   for depmode in $am_compiler_list; do
   4969     # Setup a source with many dependencies, because some compilers
   4970     # like to wrap large dependency lists on column 80 (with \), and
   4971     # we should not choose a depcomp mode which is confused by this.
   4972     #
   4973     # We need to recreate these files for each test, as the compiler may
   4974     # overwrite some of them when testing with obscure command lines.
   4975     # This happens at least with the AIX C compiler.
   4976     : > sub/conftest.c
   4977     for i in 1 2 3 4 5 6; do
   4978       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4979       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4980       # Solaris 10 /bin/sh.
   4981       echo '/* dummy */' > sub/conftst$i.h
   4982     done
   4983     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4984 
   4985     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4986     # mode.  It turns out that the SunPro C++ compiler does not properly
   4987     # handle '-M -o', and we need to detect this.  Also, some Intel
   4988     # versions had trouble with output in subdirs.
   4989     am__obj=sub/conftest.${OBJEXT-o}
   4990     am__minus_obj="-o $am__obj"
   4991     case $depmode in
   4992     gcc)
   4993       # This depmode causes a compiler race in universal mode.
   4994       test "$am__universal" = false || continue
   4995       ;;
   4996     nosideeffect)
   4997       # After this tag, mechanisms are not by side-effect, so they'll
   4998       # only be used when explicitly requested.
   4999       if test "x$enable_dependency_tracking" = xyes; then
   5000 	continue
   5001       else
   5002 	break
   5003       fi
   5004       ;;
   5005     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5006       # This compiler won't grok '-c -o', but also, the minuso test has
   5007       # not run yet.  These depmodes are late enough in the game, and
   5008       # so weak that their functioning should not be impacted.
   5009       am__obj=conftest.${OBJEXT-o}
   5010       am__minus_obj=
   5011       ;;
   5012     none) break ;;
   5013     esac
   5014     if depmode=$depmode \
   5015        source=sub/conftest.c object=$am__obj \
   5016        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5017        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5018          >/dev/null 2>conftest.err &&
   5019        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5020        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5021        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5022        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5023       # icc doesn't choke on unknown options, it will just issue warnings
   5024       # or remarks (even with -Werror).  So we grep stderr for any message
   5025       # that says an option was ignored or not supported.
   5026       # When given -MP, icc 7.0 and 7.1 complain thus:
   5027       #   icc: Command line warning: ignoring option '-M'; no argument required
   5028       # The diagnosis changed in icc 8.0:
   5029       #   icc: Command line remark: option '-MP' not supported
   5030       if (grep 'ignoring option' conftest.err ||
   5031           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5032         am_cv_CC_dependencies_compiler_type=$depmode
   5033         break
   5034       fi
   5035     fi
   5036   done
   5037 
   5038   cd ..
   5039   rm -rf conftest.dir
   5040 else
   5041   am_cv_CC_dependencies_compiler_type=none
   5042 fi
   5043  ;;
   5044 esac
   5045 fi
   5046 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5047 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5048 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5049 
   5050  if
   5051   test "x$enable_dependency_tracking" != xno \
   5052   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5053   am__fastdepCC_TRUE=
   5054   am__fastdepCC_FALSE='#'
   5055 else
   5056   am__fastdepCC_TRUE='#'
   5057   am__fastdepCC_FALSE=
   5058 fi
   5059 
   5060 
   5061 
   5062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   5063 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   5064 if test ${ac_cv_c_undeclared_builtin_options+y}
   5065 then :
   5066   printf %s "(cached) " >&6
   5067 else case e in #(
   5068   e) ac_save_CFLAGS=$CFLAGS
   5069    ac_cv_c_undeclared_builtin_options='cannot detect'
   5070    for ac_arg in '' -fno-builtin; do
   5071      CFLAGS="$ac_save_CFLAGS $ac_arg"
   5072      # This test program should *not* compile successfully.
   5073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5074 /* end confdefs.h.  */
   5075 
   5076 int
   5077 main (void)
   5078 {
   5079 (void) strchr;
   5080   ;
   5081   return 0;
   5082 }
   5083 _ACEOF
   5084 if ac_fn_c_try_compile "$LINENO"
   5085 then :
   5086 
   5087 else case e in #(
   5088   e) # This test program should compile successfully.
   5089         # No library function is consistently available on
   5090         # freestanding implementations, so test against a dummy
   5091         # declaration.  Include always-available headers on the
   5092         # off chance that they somehow elicit warnings.
   5093         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5094 /* end confdefs.h.  */
   5095 #include <float.h>
   5096 #include <limits.h>
   5097 #include <stdarg.h>
   5098 #include <stddef.h>
   5099 extern void ac_decl (int, char *);
   5100 
   5101 int
   5102 main (void)
   5103 {
   5104 (void) ac_decl (0, (char *) 0);
   5105   (void) ac_decl;
   5106 
   5107   ;
   5108   return 0;
   5109 }
   5110 _ACEOF
   5111 if ac_fn_c_try_compile "$LINENO"
   5112 then :
   5113   if test x"$ac_arg" = x
   5114 then :
   5115   ac_cv_c_undeclared_builtin_options='none needed'
   5116 else case e in #(
   5117   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   5118 esac
   5119 fi
   5120           break
   5121 fi
   5122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5123 esac
   5124 fi
   5125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5126     done
   5127     CFLAGS=$ac_save_CFLAGS
   5128    ;;
   5129 esac
   5130 fi
   5131 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   5132 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   5133   case $ac_cv_c_undeclared_builtin_options in #(
   5134   'cannot detect') :
   5135     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5136 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5137 as_fn_error $? "cannot make $CC report undeclared builtins
   5138 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   5139   'none needed') :
   5140     ac_c_undeclared_builtin_options='' ;; #(
   5141   *) :
   5142     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   5143 esac
   5144 
   5145 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   5146 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   5147 if test ${ac_cv_c_future_darwin_options+y}
   5148 then :
   5149   printf %s "(cached) " >&6
   5150 else case e in #(
   5151   e)       ac_compile_saved="$ac_compile"
   5152    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   5153    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 #if ! (defined __APPLE__ && defined __MACH__)
   5156 	   #error "-Werror=unguarded-availability-new not needed here"
   5157 	  #endif
   5158 
   5159 int
   5160 main (void)
   5161 {
   5162 
   5163   ;
   5164   return 0;
   5165 }
   5166 _ACEOF
   5167 if ac_fn_c_try_compile "$LINENO"
   5168 then :
   5169   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   5170 else case e in #(
   5171   e) ac_cv_c_future_darwin_options='none needed' ;;
   5172 esac
   5173 fi
   5174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5175    ac_compile="$ac_compile_saved"
   5176    ;;
   5177 esac
   5178 fi
   5179 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5180 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5181  case $ac_cv_c_future_darwin_options in #(
   5182   'none needed') :
   5183     ac_c_future_darwin_options='' ;; #(
   5184   *) :
   5185     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5186 esac
   5187 
   5188 ac_header= ac_cache=
   5189 for ac_item in $ac_header_c_list
   5190 do
   5191   if test $ac_cache; then
   5192     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5193     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5194       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5195     fi
   5196     ac_header= ac_cache=
   5197   elif test $ac_header; then
   5198     ac_cache=$ac_item
   5199   else
   5200     ac_header=$ac_item
   5201   fi
   5202 done
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5212 then :
   5213 
   5214 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5215 
   5216 fi
   5217 
   5218 
   5219 
   5220 
   5221 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"
   5222 if test "x$ac_cv_have_decl___clang__" = xyes
   5223 then :
   5224   CLANGCC="yes"
   5225 else case e in #(
   5226   e) CLANGCC="no" ;;
   5227 esac
   5228 fi
   5229 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"
   5230 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5231 then :
   5232   INTELCC="yes"
   5233 else case e in #(
   5234   e) INTELCC="no" ;;
   5235 esac
   5236 fi
   5237 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"
   5238 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5239 then :
   5240   SUNCC="yes"
   5241 else case e in #(
   5242   e) SUNCC="no" ;;
   5243 esac
   5244 fi
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5254 	if test -n "$ac_tool_prefix"; then
   5255   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5256 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5258 printf %s "checking for $ac_word... " >&6; }
   5259 if test ${ac_cv_path_PKG_CONFIG+y}
   5260 then :
   5261   printf %s "(cached) " >&6
   5262 else case e in #(
   5263   e) case $PKG_CONFIG in
   5264   [\\/]* | ?:[\\/]*)
   5265   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5266   ;;
   5267   *)
   5268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5269 for as_dir in $PATH
   5270 do
   5271   IFS=$as_save_IFS
   5272   case $as_dir in #(((
   5273     '') as_dir=./ ;;
   5274     */) ;;
   5275     *) as_dir=$as_dir/ ;;
   5276   esac
   5277     for ac_exec_ext in '' $ac_executable_extensions; do
   5278   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5279     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5280     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5281     break 2
   5282   fi
   5283 done
   5284   done
   5285 IFS=$as_save_IFS
   5286 
   5287   ;;
   5288 esac ;;
   5289 esac
   5290 fi
   5291 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5292 if test -n "$PKG_CONFIG"; then
   5293   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5294 printf '%s\n' "$PKG_CONFIG" >&6; }
   5295 else
   5296   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5297 printf '%s\n' "no" >&6; }
   5298 fi
   5299 
   5300 
   5301 fi
   5302 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5303   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5304   # Extract the first word of "pkg-config", so it can be a program name with args.
   5305 set dummy pkg-config; ac_word=$2
   5306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5307 printf %s "checking for $ac_word... " >&6; }
   5308 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5309 then :
   5310   printf %s "(cached) " >&6
   5311 else case e in #(
   5312   e) case $ac_pt_PKG_CONFIG in
   5313   [\\/]* | ?:[\\/]*)
   5314   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5315   ;;
   5316   *)
   5317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5318 for as_dir in $PATH
   5319 do
   5320   IFS=$as_save_IFS
   5321   case $as_dir in #(((
   5322     '') as_dir=./ ;;
   5323     */) ;;
   5324     *) as_dir=$as_dir/ ;;
   5325   esac
   5326     for ac_exec_ext in '' $ac_executable_extensions; do
   5327   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5328     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5329     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5330     break 2
   5331   fi
   5332 done
   5333   done
   5334 IFS=$as_save_IFS
   5335 
   5336   ;;
   5337 esac ;;
   5338 esac
   5339 fi
   5340 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5341 if test -n "$ac_pt_PKG_CONFIG"; then
   5342   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5343 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5344 else
   5345   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5346 printf '%s\n' "no" >&6; }
   5347 fi
   5348 
   5349   if test "x$ac_pt_PKG_CONFIG" = x; then
   5350     PKG_CONFIG=""
   5351   else
   5352     case $cross_compiling:$ac_tool_warned in
   5353 yes:)
   5354 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5355 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5356 ac_tool_warned=yes ;;
   5357 esac
   5358     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5359   fi
   5360 else
   5361   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5362 fi
   5363 
   5364 fi
   5365 if test -n "$PKG_CONFIG"; then
   5366 	_pkg_min_version=0.9.0
   5367 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5368 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5369 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5370 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5371 printf '%s\n' "yes" >&6; }
   5372 	else
   5373 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5374 printf '%s\n' "no" >&6; }
   5375 		PKG_CONFIG=""
   5376 	fi
   5377 fi
   5378 
   5379 
   5380   # Make sure we can run config.sub.
   5381 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5382   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5383 
   5384 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5385 printf %s "checking build system type... " >&6; }
   5386 if test ${ac_cv_build+y}
   5387 then :
   5388   printf %s "(cached) " >&6
   5389 else case e in #(
   5390   e) ac_build_alias=$build_alias
   5391 test "x$ac_build_alias" = x &&
   5392   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5393 test "x$ac_build_alias" = x &&
   5394   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5395 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5396   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5397  ;;
   5398 esac
   5399 fi
   5400 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5401 printf '%s\n' "$ac_cv_build" >&6; }
   5402 case $ac_cv_build in
   5403 *-*-*) ;;
   5404 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5405 esac
   5406 build=$ac_cv_build
   5407 ac_save_IFS=$IFS; IFS='-'
   5408 set x $ac_cv_build
   5409 shift
   5410 build_cpu=$1
   5411 build_vendor=$2
   5412 shift; shift
   5413 # Remember, the first character of IFS is used to create $*,
   5414 # except with old shells:
   5415 build_os=$*
   5416 IFS=$ac_save_IFS
   5417 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5418 
   5419 
   5420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5421 printf %s "checking host system type... " >&6; }
   5422 if test ${ac_cv_host+y}
   5423 then :
   5424   printf %s "(cached) " >&6
   5425 else case e in #(
   5426   e) if test "x$host_alias" = x; then
   5427   ac_cv_host=$ac_cv_build
   5428 else
   5429   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5430     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5431 fi
   5432  ;;
   5433 esac
   5434 fi
   5435 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5436 printf '%s\n' "$ac_cv_host" >&6; }
   5437 case $ac_cv_host in
   5438 *-*-*) ;;
   5439 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5440 esac
   5441 host=$ac_cv_host
   5442 ac_save_IFS=$IFS; IFS='-'
   5443 set x $ac_cv_host
   5444 shift
   5445 host_cpu=$1
   5446 host_vendor=$2
   5447 shift; shift
   5448 # Remember, the first character of IFS is used to create $*,
   5449 # except with old shells:
   5450 host_os=$*
   5451 IFS=$ac_save_IFS
   5452 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5453 
   5454 
   5455 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5456 printf %s "checking for a sed that does not truncate output... " >&6; }
   5457 if test ${ac_cv_path_SED+y}
   5458 then :
   5459   printf %s "(cached) " >&6
   5460 else case e in #(
   5461   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5462      for ac_i in 1 2 3 4 5 6 7; do
   5463        ac_script="$ac_script$as_nl$ac_script"
   5464      done
   5465      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5466      { ac_script=; unset ac_script;}
   5467      if test -z "$SED"; then
   5468   ac_path_SED_found=false
   5469   # Loop through the user's path and test for each of PROGNAME-LIST
   5470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5471 for as_dir in $PATH
   5472 do
   5473   IFS=$as_save_IFS
   5474   case $as_dir in #(((
   5475     '') as_dir=./ ;;
   5476     */) ;;
   5477     *) as_dir=$as_dir/ ;;
   5478   esac
   5479     for ac_prog in sed gsed
   5480    do
   5481     for ac_exec_ext in '' $ac_executable_extensions; do
   5482       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5483       as_fn_executable_p "$ac_path_SED" || continue
   5484 # Check for GNU ac_path_SED and select it if it is found.
   5485   # Check for GNU $ac_path_SED
   5486 case `"$ac_path_SED" --version 2>&1` in #(
   5487 *GNU*)
   5488   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5489 #(
   5490 *)
   5491   ac_count=0
   5492   printf %s 0123456789 >"conftest.in"
   5493   while :
   5494   do
   5495     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5496     mv "conftest.tmp" "conftest.in"
   5497     cp "conftest.in" "conftest.nl"
   5498     printf '%s\n' '' >> "conftest.nl"
   5499     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5500     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5501     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5502     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5503       # Best one so far, save it but keep looking for a better one
   5504       ac_cv_path_SED="$ac_path_SED"
   5505       ac_path_SED_max=$ac_count
   5506     fi
   5507     # 10*(2^10) chars as input seems more than enough
   5508     test $ac_count -gt 10 && break
   5509   done
   5510   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5511 esac
   5512 
   5513       $ac_path_SED_found && break 3
   5514     done
   5515   done
   5516   done
   5517 IFS=$as_save_IFS
   5518   if test -z "$ac_cv_path_SED"; then
   5519     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5520   fi
   5521 else
   5522   ac_cv_path_SED=$SED
   5523 fi
   5524  ;;
   5525 esac
   5526 fi
   5527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5528 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5529  SED="$ac_cv_path_SED"
   5530   rm -f conftest.sed
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 # Check whether --enable-selective-werror was given.
   5538 if test ${enable_selective_werror+y}
   5539 then :
   5540   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5541 else case e in #(
   5542   e) SELECTIVE_WERROR=yes ;;
   5543 esac
   5544 fi
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5551 if test "x$SUNCC" = "xyes"; then
   5552     BASE_CFLAGS="-v"
   5553 else
   5554     BASE_CFLAGS=""
   5555 fi
   5556 
   5557 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 xorg_testset_save_CFLAGS="$CFLAGS"
   5572 
   5573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5575 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5576 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5577 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5578 then :
   5579   printf %s "(cached) " >&6
   5580 else case e in #(
   5581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 int i;
   5584 _ACEOF
   5585 if ac_fn_c_try_compile "$LINENO"
   5586 then :
   5587   xorg_cv_cc_flag_unknown_warning_option=yes
   5588 else case e in #(
   5589   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5590 esac
   5591 fi
   5592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5593 esac
   5594 fi
   5595 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5596 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5598 	CFLAGS="$xorg_testset_save_CFLAGS"
   5599 fi
   5600 
   5601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5604 	fi
   5605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5606 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5607 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5608 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5609 then :
   5610   printf %s "(cached) " >&6
   5611 else case e in #(
   5612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 _ACEOF
   5616 if ac_fn_c_try_compile "$LINENO"
   5617 then :
   5618   xorg_cv_cc_flag_unused_command_line_argument=yes
   5619 else case e in #(
   5620   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5621 esac
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5624 esac
   5625 fi
   5626 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5627 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5628 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5629 	CFLAGS="$xorg_testset_save_CFLAGS"
   5630 fi
   5631 
   5632 found="no"
   5633 
   5634 	if test $found = "no" ; then
   5635 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5637 		fi
   5638 
   5639 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5641 		fi
   5642 
   5643 		CFLAGS="$CFLAGS -Wall"
   5644 
   5645 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5646 printf %s "checking if $CC supports -Wall... " >&6; }
   5647 		cacheid=xorg_cv_cc_flag__Wall
   5648 		if eval test \${$cacheid+y}
   5649 then :
   5650   printf %s "(cached) " >&6
   5651 else case e in #(
   5652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5653 /* end confdefs.h.  */
   5654 int i;
   5655 int
   5656 main (void)
   5657 {
   5658 
   5659   ;
   5660   return 0;
   5661 }
   5662 _ACEOF
   5663 if ac_fn_c_try_link "$LINENO"
   5664 then :
   5665   eval $cacheid=yes
   5666 else case e in #(
   5667   e) eval $cacheid=no ;;
   5668 esac
   5669 fi
   5670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5671     conftest$ac_exeext conftest.$ac_ext ;;
   5672 esac
   5673 fi
   5674 
   5675 
   5676 		CFLAGS="$xorg_testset_save_CFLAGS"
   5677 
   5678 		eval supported=\$$cacheid
   5679 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5680 printf '%s\n' "$supported" >&6; }
   5681 		if test "$supported" = "yes" ; then
   5682 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5683 			found="yes"
   5684 		fi
   5685 	fi
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 xorg_testset_save_CFLAGS="$CFLAGS"
   5702 
   5703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5706 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5707 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5708 then :
   5709   printf %s "(cached) " >&6
   5710 else case e in #(
   5711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 _ACEOF
   5715 if ac_fn_c_try_compile "$LINENO"
   5716 then :
   5717   xorg_cv_cc_flag_unknown_warning_option=yes
   5718 else case e in #(
   5719   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5720 esac
   5721 fi
   5722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5723 esac
   5724 fi
   5725 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5726 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5728 	CFLAGS="$xorg_testset_save_CFLAGS"
   5729 fi
   5730 
   5731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 	fi
   5735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5736 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5737 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5738 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5739 then :
   5740   printf %s "(cached) " >&6
   5741 else case e in #(
   5742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5743 /* end confdefs.h.  */
   5744 int i;
   5745 _ACEOF
   5746 if ac_fn_c_try_compile "$LINENO"
   5747 then :
   5748   xorg_cv_cc_flag_unused_command_line_argument=yes
   5749 else case e in #(
   5750   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5751 esac
   5752 fi
   5753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5754 esac
   5755 fi
   5756 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5757 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5759 	CFLAGS="$xorg_testset_save_CFLAGS"
   5760 fi
   5761 
   5762 found="no"
   5763 
   5764 	if test $found = "no" ; then
   5765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5767 		fi
   5768 
   5769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5771 		fi
   5772 
   5773 		CFLAGS="$CFLAGS -Wpointer-arith"
   5774 
   5775 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5776 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5777 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5778 		if eval test \${$cacheid+y}
   5779 then :
   5780   printf %s "(cached) " >&6
   5781 else case e in #(
   5782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5783 /* end confdefs.h.  */
   5784 int i;
   5785 int
   5786 main (void)
   5787 {
   5788 
   5789   ;
   5790   return 0;
   5791 }
   5792 _ACEOF
   5793 if ac_fn_c_try_link "$LINENO"
   5794 then :
   5795   eval $cacheid=yes
   5796 else case e in #(
   5797   e) eval $cacheid=no ;;
   5798 esac
   5799 fi
   5800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5801     conftest$ac_exeext conftest.$ac_ext ;;
   5802 esac
   5803 fi
   5804 
   5805 
   5806 		CFLAGS="$xorg_testset_save_CFLAGS"
   5807 
   5808 		eval supported=\$$cacheid
   5809 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5810 printf '%s\n' "$supported" >&6; }
   5811 		if test "$supported" = "yes" ; then
   5812 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5813 			found="yes"
   5814 		fi
   5815 	fi
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 xorg_testset_save_CFLAGS="$CFLAGS"
   5832 
   5833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5835 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5836 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5837 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5838 then :
   5839   printf %s "(cached) " >&6
   5840 else case e in #(
   5841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5842 /* end confdefs.h.  */
   5843 int i;
   5844 _ACEOF
   5845 if ac_fn_c_try_compile "$LINENO"
   5846 then :
   5847   xorg_cv_cc_flag_unknown_warning_option=yes
   5848 else case e in #(
   5849   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5850 esac
   5851 fi
   5852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5853 esac
   5854 fi
   5855 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5856 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5858 	CFLAGS="$xorg_testset_save_CFLAGS"
   5859 fi
   5860 
   5861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5864 	fi
   5865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5866 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5867 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5868 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5869 then :
   5870   printf %s "(cached) " >&6
   5871 else case e in #(
   5872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5873 /* end confdefs.h.  */
   5874 int i;
   5875 _ACEOF
   5876 if ac_fn_c_try_compile "$LINENO"
   5877 then :
   5878   xorg_cv_cc_flag_unused_command_line_argument=yes
   5879 else case e in #(
   5880   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5881 esac
   5882 fi
   5883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5884 esac
   5885 fi
   5886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5887 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5889 	CFLAGS="$xorg_testset_save_CFLAGS"
   5890 fi
   5891 
   5892 found="no"
   5893 
   5894 	if test $found = "no" ; then
   5895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5897 		fi
   5898 
   5899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5901 		fi
   5902 
   5903 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5904 
   5905 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5906 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5907 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5908 		if eval test \${$cacheid+y}
   5909 then :
   5910   printf %s "(cached) " >&6
   5911 else case e in #(
   5912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5913 /* end confdefs.h.  */
   5914 int i;
   5915 int
   5916 main (void)
   5917 {
   5918 
   5919   ;
   5920   return 0;
   5921 }
   5922 _ACEOF
   5923 if ac_fn_c_try_link "$LINENO"
   5924 then :
   5925   eval $cacheid=yes
   5926 else case e in #(
   5927   e) eval $cacheid=no ;;
   5928 esac
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5931     conftest$ac_exeext conftest.$ac_ext ;;
   5932 esac
   5933 fi
   5934 
   5935 
   5936 		CFLAGS="$xorg_testset_save_CFLAGS"
   5937 
   5938 		eval supported=\$$cacheid
   5939 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5940 printf '%s\n' "$supported" >&6; }
   5941 		if test "$supported" = "yes" ; then
   5942 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5943 			found="yes"
   5944 		fi
   5945 	fi
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 xorg_testset_save_CFLAGS="$CFLAGS"
   5962 
   5963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5965 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5966 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5967 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5968 then :
   5969   printf %s "(cached) " >&6
   5970 else case e in #(
   5971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5972 /* end confdefs.h.  */
   5973 int i;
   5974 _ACEOF
   5975 if ac_fn_c_try_compile "$LINENO"
   5976 then :
   5977   xorg_cv_cc_flag_unknown_warning_option=yes
   5978 else case e in #(
   5979   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5980 esac
   5981 fi
   5982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5983 esac
   5984 fi
   5985 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5986 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5988 	CFLAGS="$xorg_testset_save_CFLAGS"
   5989 fi
   5990 
   5991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5994 	fi
   5995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5996 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5999 then :
   6000   printf %s "(cached) " >&6
   6001 else case e in #(
   6002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6003 /* end confdefs.h.  */
   6004 int i;
   6005 _ACEOF
   6006 if ac_fn_c_try_compile "$LINENO"
   6007 then :
   6008   xorg_cv_cc_flag_unused_command_line_argument=yes
   6009 else case e in #(
   6010   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6011 esac
   6012 fi
   6013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6014 esac
   6015 fi
   6016 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6017 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6019 	CFLAGS="$xorg_testset_save_CFLAGS"
   6020 fi
   6021 
   6022 found="no"
   6023 
   6024 	if test $found = "no" ; then
   6025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6027 		fi
   6028 
   6029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6031 		fi
   6032 
   6033 		CFLAGS="$CFLAGS -Wformat=2"
   6034 
   6035 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   6036 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   6037 		cacheid=xorg_cv_cc_flag__Wformat_2
   6038 		if eval test \${$cacheid+y}
   6039 then :
   6040   printf %s "(cached) " >&6
   6041 else case e in #(
   6042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6043 /* end confdefs.h.  */
   6044 int i;
   6045 int
   6046 main (void)
   6047 {
   6048 
   6049   ;
   6050   return 0;
   6051 }
   6052 _ACEOF
   6053 if ac_fn_c_try_link "$LINENO"
   6054 then :
   6055   eval $cacheid=yes
   6056 else case e in #(
   6057   e) eval $cacheid=no ;;
   6058 esac
   6059 fi
   6060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6061     conftest$ac_exeext conftest.$ac_ext ;;
   6062 esac
   6063 fi
   6064 
   6065 
   6066 		CFLAGS="$xorg_testset_save_CFLAGS"
   6067 
   6068 		eval supported=\$$cacheid
   6069 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6070 printf '%s\n' "$supported" >&6; }
   6071 		if test "$supported" = "yes" ; then
   6072 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   6073 			found="yes"
   6074 		fi
   6075 	fi
   6076 
   6077 	if test $found = "no" ; then
   6078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6080 		fi
   6081 
   6082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6084 		fi
   6085 
   6086 		CFLAGS="$CFLAGS -Wformat"
   6087 
   6088 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   6089 printf %s "checking if $CC supports -Wformat... " >&6; }
   6090 		cacheid=xorg_cv_cc_flag__Wformat
   6091 		if eval test \${$cacheid+y}
   6092 then :
   6093   printf %s "(cached) " >&6
   6094 else case e in #(
   6095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6096 /* end confdefs.h.  */
   6097 int i;
   6098 int
   6099 main (void)
   6100 {
   6101 
   6102   ;
   6103   return 0;
   6104 }
   6105 _ACEOF
   6106 if ac_fn_c_try_link "$LINENO"
   6107 then :
   6108   eval $cacheid=yes
   6109 else case e in #(
   6110   e) eval $cacheid=no ;;
   6111 esac
   6112 fi
   6113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6114     conftest$ac_exeext conftest.$ac_ext ;;
   6115 esac
   6116 fi
   6117 
   6118 
   6119 		CFLAGS="$xorg_testset_save_CFLAGS"
   6120 
   6121 		eval supported=\$$cacheid
   6122 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6123 printf '%s\n' "$supported" >&6; }
   6124 		if test "$supported" = "yes" ; then
   6125 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   6126 			found="yes"
   6127 		fi
   6128 	fi
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 xorg_testset_save_CFLAGS="$CFLAGS"
   6147 
   6148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6150 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6153 then :
   6154   printf %s "(cached) " >&6
   6155 else case e in #(
   6156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 _ACEOF
   6160 if ac_fn_c_try_compile "$LINENO"
   6161 then :
   6162   xorg_cv_cc_flag_unknown_warning_option=yes
   6163 else case e in #(
   6164   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6165 esac
   6166 fi
   6167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6168 esac
   6169 fi
   6170 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6171 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6173 	CFLAGS="$xorg_testset_save_CFLAGS"
   6174 fi
   6175 
   6176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6179 	fi
   6180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6181 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6182 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6183 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6184 then :
   6185   printf %s "(cached) " >&6
   6186 else case e in #(
   6187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6188 /* end confdefs.h.  */
   6189 int i;
   6190 _ACEOF
   6191 if ac_fn_c_try_compile "$LINENO"
   6192 then :
   6193   xorg_cv_cc_flag_unused_command_line_argument=yes
   6194 else case e in #(
   6195   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6196 esac
   6197 fi
   6198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6199 esac
   6200 fi
   6201 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6202 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6204 	CFLAGS="$xorg_testset_save_CFLAGS"
   6205 fi
   6206 
   6207 found="no"
   6208 
   6209 	if test $found = "no" ; then
   6210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6212 		fi
   6213 
   6214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6216 		fi
   6217 
   6218 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6219 
   6220 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6221 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6222 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6223 		if eval test \${$cacheid+y}
   6224 then :
   6225   printf %s "(cached) " >&6
   6226 else case e in #(
   6227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6228 /* end confdefs.h.  */
   6229 int i;
   6230 int
   6231 main (void)
   6232 {
   6233 
   6234   ;
   6235   return 0;
   6236 }
   6237 _ACEOF
   6238 if ac_fn_c_try_link "$LINENO"
   6239 then :
   6240   eval $cacheid=yes
   6241 else case e in #(
   6242   e) eval $cacheid=no ;;
   6243 esac
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6246     conftest$ac_exeext conftest.$ac_ext ;;
   6247 esac
   6248 fi
   6249 
   6250 
   6251 		CFLAGS="$xorg_testset_save_CFLAGS"
   6252 
   6253 		eval supported=\$$cacheid
   6254 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6255 printf '%s\n' "$supported" >&6; }
   6256 		if test "$supported" = "yes" ; then
   6257 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6258 			found="yes"
   6259 		fi
   6260 	fi
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 xorg_testset_save_CFLAGS="$CFLAGS"
   6277 
   6278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6280 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6281 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6282 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6283 then :
   6284   printf %s "(cached) " >&6
   6285 else case e in #(
   6286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6287 /* end confdefs.h.  */
   6288 int i;
   6289 _ACEOF
   6290 if ac_fn_c_try_compile "$LINENO"
   6291 then :
   6292   xorg_cv_cc_flag_unknown_warning_option=yes
   6293 else case e in #(
   6294   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6295 esac
   6296 fi
   6297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6298 esac
   6299 fi
   6300 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6301 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6303 	CFLAGS="$xorg_testset_save_CFLAGS"
   6304 fi
   6305 
   6306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6309 	fi
   6310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6311 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6312 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6313 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6314 then :
   6315   printf %s "(cached) " >&6
   6316 else case e in #(
   6317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6318 /* end confdefs.h.  */
   6319 int i;
   6320 _ACEOF
   6321 if ac_fn_c_try_compile "$LINENO"
   6322 then :
   6323   xorg_cv_cc_flag_unused_command_line_argument=yes
   6324 else case e in #(
   6325   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6326 esac
   6327 fi
   6328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6329 esac
   6330 fi
   6331 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6332 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6334 	CFLAGS="$xorg_testset_save_CFLAGS"
   6335 fi
   6336 
   6337 found="no"
   6338 
   6339 	if test $found = "no" ; then
   6340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 		fi
   6343 
   6344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6346 		fi
   6347 
   6348 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6349 
   6350 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6351 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6352 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6353 		if eval test \${$cacheid+y}
   6354 then :
   6355   printf %s "(cached) " >&6
   6356 else case e in #(
   6357   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6358 /* end confdefs.h.  */
   6359 int i;
   6360 int
   6361 main (void)
   6362 {
   6363 
   6364   ;
   6365   return 0;
   6366 }
   6367 _ACEOF
   6368 if ac_fn_c_try_link "$LINENO"
   6369 then :
   6370   eval $cacheid=yes
   6371 else case e in #(
   6372   e) eval $cacheid=no ;;
   6373 esac
   6374 fi
   6375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6376     conftest$ac_exeext conftest.$ac_ext ;;
   6377 esac
   6378 fi
   6379 
   6380 
   6381 		CFLAGS="$xorg_testset_save_CFLAGS"
   6382 
   6383 		eval supported=\$$cacheid
   6384 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6385 printf '%s\n' "$supported" >&6; }
   6386 		if test "$supported" = "yes" ; then
   6387 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6388 			found="yes"
   6389 		fi
   6390 	fi
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 xorg_testset_save_CFLAGS="$CFLAGS"
   6407 
   6408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6410 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6411 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6412 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6413 then :
   6414   printf %s "(cached) " >&6
   6415 else case e in #(
   6416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6417 /* end confdefs.h.  */
   6418 int i;
   6419 _ACEOF
   6420 if ac_fn_c_try_compile "$LINENO"
   6421 then :
   6422   xorg_cv_cc_flag_unknown_warning_option=yes
   6423 else case e in #(
   6424   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6425 esac
   6426 fi
   6427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6428 esac
   6429 fi
   6430 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6431 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6433 	CFLAGS="$xorg_testset_save_CFLAGS"
   6434 fi
   6435 
   6436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6439 	fi
   6440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6441 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6442 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6443 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6444 then :
   6445   printf %s "(cached) " >&6
   6446 else case e in #(
   6447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6448 /* end confdefs.h.  */
   6449 int i;
   6450 _ACEOF
   6451 if ac_fn_c_try_compile "$LINENO"
   6452 then :
   6453   xorg_cv_cc_flag_unused_command_line_argument=yes
   6454 else case e in #(
   6455   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6456 esac
   6457 fi
   6458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6459 esac
   6460 fi
   6461 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6462 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6464 	CFLAGS="$xorg_testset_save_CFLAGS"
   6465 fi
   6466 
   6467 found="no"
   6468 
   6469 	if test $found = "no" ; then
   6470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6472 		fi
   6473 
   6474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6476 		fi
   6477 
   6478 		CFLAGS="$CFLAGS -Wnested-externs"
   6479 
   6480 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6481 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6482 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6483 		if eval test \${$cacheid+y}
   6484 then :
   6485   printf %s "(cached) " >&6
   6486 else case e in #(
   6487   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6488 /* end confdefs.h.  */
   6489 int i;
   6490 int
   6491 main (void)
   6492 {
   6493 
   6494   ;
   6495   return 0;
   6496 }
   6497 _ACEOF
   6498 if ac_fn_c_try_link "$LINENO"
   6499 then :
   6500   eval $cacheid=yes
   6501 else case e in #(
   6502   e) eval $cacheid=no ;;
   6503 esac
   6504 fi
   6505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6506     conftest$ac_exeext conftest.$ac_ext ;;
   6507 esac
   6508 fi
   6509 
   6510 
   6511 		CFLAGS="$xorg_testset_save_CFLAGS"
   6512 
   6513 		eval supported=\$$cacheid
   6514 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6515 printf '%s\n' "$supported" >&6; }
   6516 		if test "$supported" = "yes" ; then
   6517 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6518 			found="yes"
   6519 		fi
   6520 	fi
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 xorg_testset_save_CFLAGS="$CFLAGS"
   6537 
   6538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6541 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6542 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6543 then :
   6544   printf %s "(cached) " >&6
   6545 else case e in #(
   6546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 _ACEOF
   6550 if ac_fn_c_try_compile "$LINENO"
   6551 then :
   6552   xorg_cv_cc_flag_unknown_warning_option=yes
   6553 else case e in #(
   6554   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6555 esac
   6556 fi
   6557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6558 esac
   6559 fi
   6560 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6561 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6563 	CFLAGS="$xorg_testset_save_CFLAGS"
   6564 fi
   6565 
   6566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 	fi
   6570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6571 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6572 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6573 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6574 then :
   6575   printf %s "(cached) " >&6
   6576 else case e in #(
   6577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6578 /* end confdefs.h.  */
   6579 int i;
   6580 _ACEOF
   6581 if ac_fn_c_try_compile "$LINENO"
   6582 then :
   6583   xorg_cv_cc_flag_unused_command_line_argument=yes
   6584 else case e in #(
   6585   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6586 esac
   6587 fi
   6588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6589 esac
   6590 fi
   6591 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6592 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6594 	CFLAGS="$xorg_testset_save_CFLAGS"
   6595 fi
   6596 
   6597 found="no"
   6598 
   6599 	if test $found = "no" ; then
   6600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6602 		fi
   6603 
   6604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6606 		fi
   6607 
   6608 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6609 
   6610 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6611 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6612 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6613 		if eval test \${$cacheid+y}
   6614 then :
   6615   printf %s "(cached) " >&6
   6616 else case e in #(
   6617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6618 /* end confdefs.h.  */
   6619 int i;
   6620 int
   6621 main (void)
   6622 {
   6623 
   6624   ;
   6625   return 0;
   6626 }
   6627 _ACEOF
   6628 if ac_fn_c_try_link "$LINENO"
   6629 then :
   6630   eval $cacheid=yes
   6631 else case e in #(
   6632   e) eval $cacheid=no ;;
   6633 esac
   6634 fi
   6635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6636     conftest$ac_exeext conftest.$ac_ext ;;
   6637 esac
   6638 fi
   6639 
   6640 
   6641 		CFLAGS="$xorg_testset_save_CFLAGS"
   6642 
   6643 		eval supported=\$$cacheid
   6644 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6645 printf '%s\n' "$supported" >&6; }
   6646 		if test "$supported" = "yes" ; then
   6647 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6648 			found="yes"
   6649 		fi
   6650 	fi
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 xorg_testset_save_CFLAGS="$CFLAGS"
   6667 
   6668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6670 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6671 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6672 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6673 then :
   6674   printf %s "(cached) " >&6
   6675 else case e in #(
   6676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 _ACEOF
   6680 if ac_fn_c_try_compile "$LINENO"
   6681 then :
   6682   xorg_cv_cc_flag_unknown_warning_option=yes
   6683 else case e in #(
   6684   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6685 esac
   6686 fi
   6687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6688 esac
   6689 fi
   6690 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6691 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6693 	CFLAGS="$xorg_testset_save_CFLAGS"
   6694 fi
   6695 
   6696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6699 	fi
   6700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6701 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6702 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6703 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6704 then :
   6705   printf %s "(cached) " >&6
   6706 else case e in #(
   6707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6708 /* end confdefs.h.  */
   6709 int i;
   6710 _ACEOF
   6711 if ac_fn_c_try_compile "$LINENO"
   6712 then :
   6713   xorg_cv_cc_flag_unused_command_line_argument=yes
   6714 else case e in #(
   6715   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6716 esac
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6719 esac
   6720 fi
   6721 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6722 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6724 	CFLAGS="$xorg_testset_save_CFLAGS"
   6725 fi
   6726 
   6727 found="no"
   6728 
   6729 	if test $found = "no" ; then
   6730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6732 		fi
   6733 
   6734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6736 		fi
   6737 
   6738 		CFLAGS="$CFLAGS -Wold-style-definition"
   6739 
   6740 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6741 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6742 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6743 		if eval test \${$cacheid+y}
   6744 then :
   6745   printf %s "(cached) " >&6
   6746 else case e in #(
   6747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6748 /* end confdefs.h.  */
   6749 int i;
   6750 int
   6751 main (void)
   6752 {
   6753 
   6754   ;
   6755   return 0;
   6756 }
   6757 _ACEOF
   6758 if ac_fn_c_try_link "$LINENO"
   6759 then :
   6760   eval $cacheid=yes
   6761 else case e in #(
   6762   e) eval $cacheid=no ;;
   6763 esac
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6766     conftest$ac_exeext conftest.$ac_ext ;;
   6767 esac
   6768 fi
   6769 
   6770 
   6771 		CFLAGS="$xorg_testset_save_CFLAGS"
   6772 
   6773 		eval supported=\$$cacheid
   6774 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6775 printf '%s\n' "$supported" >&6; }
   6776 		if test "$supported" = "yes" ; then
   6777 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6778 			found="yes"
   6779 		fi
   6780 	fi
   6781 
   6782 	if test $found = "no" ; then
   6783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6785 		fi
   6786 
   6787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6789 		fi
   6790 
   6791 		CFLAGS="$CFLAGS -fd"
   6792 
   6793 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6794 printf %s "checking if $CC supports -fd... " >&6; }
   6795 		cacheid=xorg_cv_cc_flag__fd
   6796 		if eval test \${$cacheid+y}
   6797 then :
   6798   printf %s "(cached) " >&6
   6799 else case e in #(
   6800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 int
   6804 main (void)
   6805 {
   6806 
   6807   ;
   6808   return 0;
   6809 }
   6810 _ACEOF
   6811 if ac_fn_c_try_link "$LINENO"
   6812 then :
   6813   eval $cacheid=yes
   6814 else case e in #(
   6815   e) eval $cacheid=no ;;
   6816 esac
   6817 fi
   6818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6819     conftest$ac_exeext conftest.$ac_ext ;;
   6820 esac
   6821 fi
   6822 
   6823 
   6824 		CFLAGS="$xorg_testset_save_CFLAGS"
   6825 
   6826 		eval supported=\$$cacheid
   6827 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6828 printf '%s\n' "$supported" >&6; }
   6829 		if test "$supported" = "yes" ; then
   6830 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6831 			found="yes"
   6832 		fi
   6833 	fi
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 # This chunk adds additional warnings that could catch undesired effects.
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 xorg_testset_save_CFLAGS="$CFLAGS"
   6854 
   6855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6857 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6858 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6859 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6860 then :
   6861   printf %s "(cached) " >&6
   6862 else case e in #(
   6863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 _ACEOF
   6867 if ac_fn_c_try_compile "$LINENO"
   6868 then :
   6869   xorg_cv_cc_flag_unknown_warning_option=yes
   6870 else case e in #(
   6871   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6872 esac
   6873 fi
   6874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6875 esac
   6876 fi
   6877 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6878 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6880 	CFLAGS="$xorg_testset_save_CFLAGS"
   6881 fi
   6882 
   6883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6886 	fi
   6887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6888 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6889 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6890 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6891 then :
   6892   printf %s "(cached) " >&6
   6893 else case e in #(
   6894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6895 /* end confdefs.h.  */
   6896 int i;
   6897 _ACEOF
   6898 if ac_fn_c_try_compile "$LINENO"
   6899 then :
   6900   xorg_cv_cc_flag_unused_command_line_argument=yes
   6901 else case e in #(
   6902   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6903 esac
   6904 fi
   6905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6906 esac
   6907 fi
   6908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6909 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6911 	CFLAGS="$xorg_testset_save_CFLAGS"
   6912 fi
   6913 
   6914 found="no"
   6915 
   6916 	if test $found = "no" ; then
   6917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6919 		fi
   6920 
   6921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6923 		fi
   6924 
   6925 		CFLAGS="$CFLAGS -Wunused"
   6926 
   6927 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6928 printf %s "checking if $CC supports -Wunused... " >&6; }
   6929 		cacheid=xorg_cv_cc_flag__Wunused
   6930 		if eval test \${$cacheid+y}
   6931 then :
   6932   printf %s "(cached) " >&6
   6933 else case e in #(
   6934   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 int i;
   6937 int
   6938 main (void)
   6939 {
   6940 
   6941   ;
   6942   return 0;
   6943 }
   6944 _ACEOF
   6945 if ac_fn_c_try_link "$LINENO"
   6946 then :
   6947   eval $cacheid=yes
   6948 else case e in #(
   6949   e) eval $cacheid=no ;;
   6950 esac
   6951 fi
   6952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6953     conftest$ac_exeext conftest.$ac_ext ;;
   6954 esac
   6955 fi
   6956 
   6957 
   6958 		CFLAGS="$xorg_testset_save_CFLAGS"
   6959 
   6960 		eval supported=\$$cacheid
   6961 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6962 printf '%s\n' "$supported" >&6; }
   6963 		if test "$supported" = "yes" ; then
   6964 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6965 			found="yes"
   6966 		fi
   6967 	fi
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 xorg_testset_save_CFLAGS="$CFLAGS"
   6984 
   6985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6988 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6989 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6990 then :
   6991   printf %s "(cached) " >&6
   6992 else case e in #(
   6993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 _ACEOF
   6997 if ac_fn_c_try_compile "$LINENO"
   6998 then :
   6999   xorg_cv_cc_flag_unknown_warning_option=yes
   7000 else case e in #(
   7001   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7002 esac
   7003 fi
   7004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7005 esac
   7006 fi
   7007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7008 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7010 	CFLAGS="$xorg_testset_save_CFLAGS"
   7011 fi
   7012 
   7013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 	fi
   7017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7018 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7019 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7020 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7021 then :
   7022   printf %s "(cached) " >&6
   7023 else case e in #(
   7024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7025 /* end confdefs.h.  */
   7026 int i;
   7027 _ACEOF
   7028 if ac_fn_c_try_compile "$LINENO"
   7029 then :
   7030   xorg_cv_cc_flag_unused_command_line_argument=yes
   7031 else case e in #(
   7032   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7033 esac
   7034 fi
   7035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7036 esac
   7037 fi
   7038 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7039 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7041 	CFLAGS="$xorg_testset_save_CFLAGS"
   7042 fi
   7043 
   7044 found="no"
   7045 
   7046 	if test $found = "no" ; then
   7047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7049 		fi
   7050 
   7051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7053 		fi
   7054 
   7055 		CFLAGS="$CFLAGS -Wuninitialized"
   7056 
   7057 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   7058 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   7059 		cacheid=xorg_cv_cc_flag__Wuninitialized
   7060 		if eval test \${$cacheid+y}
   7061 then :
   7062   printf %s "(cached) " >&6
   7063 else case e in #(
   7064   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7065 /* end confdefs.h.  */
   7066 int i;
   7067 int
   7068 main (void)
   7069 {
   7070 
   7071   ;
   7072   return 0;
   7073 }
   7074 _ACEOF
   7075 if ac_fn_c_try_link "$LINENO"
   7076 then :
   7077   eval $cacheid=yes
   7078 else case e in #(
   7079   e) eval $cacheid=no ;;
   7080 esac
   7081 fi
   7082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7083     conftest$ac_exeext conftest.$ac_ext ;;
   7084 esac
   7085 fi
   7086 
   7087 
   7088 		CFLAGS="$xorg_testset_save_CFLAGS"
   7089 
   7090 		eval supported=\$$cacheid
   7091 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7092 printf '%s\n' "$supported" >&6; }
   7093 		if test "$supported" = "yes" ; then
   7094 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   7095 			found="yes"
   7096 		fi
   7097 	fi
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 xorg_testset_save_CFLAGS="$CFLAGS"
   7114 
   7115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7118 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7119 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7120 then :
   7121   printf %s "(cached) " >&6
   7122 else case e in #(
   7123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"
   7128 then :
   7129   xorg_cv_cc_flag_unknown_warning_option=yes
   7130 else case e in #(
   7131   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7132 esac
   7133 fi
   7134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7135 esac
   7136 fi
   7137 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7138 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7140 	CFLAGS="$xorg_testset_save_CFLAGS"
   7141 fi
   7142 
   7143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7146 	fi
   7147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7148 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7149 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7150 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7151 then :
   7152   printf %s "(cached) " >&6
   7153 else case e in #(
   7154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7155 /* end confdefs.h.  */
   7156 int i;
   7157 _ACEOF
   7158 if ac_fn_c_try_compile "$LINENO"
   7159 then :
   7160   xorg_cv_cc_flag_unused_command_line_argument=yes
   7161 else case e in #(
   7162   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7163 esac
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7166 esac
   7167 fi
   7168 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7169 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7171 	CFLAGS="$xorg_testset_save_CFLAGS"
   7172 fi
   7173 
   7174 found="no"
   7175 
   7176 	if test $found = "no" ; then
   7177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7179 		fi
   7180 
   7181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7183 		fi
   7184 
   7185 		CFLAGS="$CFLAGS -Wshadow"
   7186 
   7187 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7188 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7189 		cacheid=xorg_cv_cc_flag__Wshadow
   7190 		if eval test \${$cacheid+y}
   7191 then :
   7192   printf %s "(cached) " >&6
   7193 else case e in #(
   7194   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7195 /* end confdefs.h.  */
   7196 int i;
   7197 int
   7198 main (void)
   7199 {
   7200 
   7201   ;
   7202   return 0;
   7203 }
   7204 _ACEOF
   7205 if ac_fn_c_try_link "$LINENO"
   7206 then :
   7207   eval $cacheid=yes
   7208 else case e in #(
   7209   e) eval $cacheid=no ;;
   7210 esac
   7211 fi
   7212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7213     conftest$ac_exeext conftest.$ac_ext ;;
   7214 esac
   7215 fi
   7216 
   7217 
   7218 		CFLAGS="$xorg_testset_save_CFLAGS"
   7219 
   7220 		eval supported=\$$cacheid
   7221 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7222 printf '%s\n' "$supported" >&6; }
   7223 		if test "$supported" = "yes" ; then
   7224 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7225 			found="yes"
   7226 		fi
   7227 	fi
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 xorg_testset_save_CFLAGS="$CFLAGS"
   7244 
   7245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7248 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7249 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7250 then :
   7251   printf %s "(cached) " >&6
   7252 else case e in #(
   7253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 _ACEOF
   7257 if ac_fn_c_try_compile "$LINENO"
   7258 then :
   7259   xorg_cv_cc_flag_unknown_warning_option=yes
   7260 else case e in #(
   7261   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7262 esac
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7265 esac
   7266 fi
   7267 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7268 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7270 	CFLAGS="$xorg_testset_save_CFLAGS"
   7271 fi
   7272 
   7273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7276 	fi
   7277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7278 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7279 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7280 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7281 then :
   7282   printf %s "(cached) " >&6
   7283 else case e in #(
   7284   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"
   7289 then :
   7290   xorg_cv_cc_flag_unused_command_line_argument=yes
   7291 else case e in #(
   7292   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7293 esac
   7294 fi
   7295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7296 esac
   7297 fi
   7298 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7299 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7301 	CFLAGS="$xorg_testset_save_CFLAGS"
   7302 fi
   7303 
   7304 found="no"
   7305 
   7306 	if test $found = "no" ; then
   7307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 		fi
   7310 
   7311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7313 		fi
   7314 
   7315 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7316 
   7317 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7318 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7319 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7320 		if eval test \${$cacheid+y}
   7321 then :
   7322   printf %s "(cached) " >&6
   7323 else case e in #(
   7324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7325 /* end confdefs.h.  */
   7326 int i;
   7327 int
   7328 main (void)
   7329 {
   7330 
   7331   ;
   7332   return 0;
   7333 }
   7334 _ACEOF
   7335 if ac_fn_c_try_link "$LINENO"
   7336 then :
   7337   eval $cacheid=yes
   7338 else case e in #(
   7339   e) eval $cacheid=no ;;
   7340 esac
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7343     conftest$ac_exeext conftest.$ac_ext ;;
   7344 esac
   7345 fi
   7346 
   7347 
   7348 		CFLAGS="$xorg_testset_save_CFLAGS"
   7349 
   7350 		eval supported=\$$cacheid
   7351 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7352 printf '%s\n' "$supported" >&6; }
   7353 		if test "$supported" = "yes" ; then
   7354 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7355 			found="yes"
   7356 		fi
   7357 	fi
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 xorg_testset_save_CFLAGS="$CFLAGS"
   7374 
   7375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7378 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7379 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7380 then :
   7381   printf %s "(cached) " >&6
   7382 else case e in #(
   7383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 _ACEOF
   7387 if ac_fn_c_try_compile "$LINENO"
   7388 then :
   7389   xorg_cv_cc_flag_unknown_warning_option=yes
   7390 else case e in #(
   7391   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7392 esac
   7393 fi
   7394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7395 esac
   7396 fi
   7397 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7398 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7400 	CFLAGS="$xorg_testset_save_CFLAGS"
   7401 fi
   7402 
   7403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7406 	fi
   7407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7408 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7409 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7410 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7411 then :
   7412   printf %s "(cached) " >&6
   7413 else case e in #(
   7414   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7415 /* end confdefs.h.  */
   7416 int i;
   7417 _ACEOF
   7418 if ac_fn_c_try_compile "$LINENO"
   7419 then :
   7420   xorg_cv_cc_flag_unused_command_line_argument=yes
   7421 else case e in #(
   7422   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7423 esac
   7424 fi
   7425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7426 esac
   7427 fi
   7428 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7429 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7431 	CFLAGS="$xorg_testset_save_CFLAGS"
   7432 fi
   7433 
   7434 found="no"
   7435 
   7436 	if test $found = "no" ; then
   7437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7439 		fi
   7440 
   7441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7443 		fi
   7444 
   7445 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7446 
   7447 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7448 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7449 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7450 		if eval test \${$cacheid+y}
   7451 then :
   7452   printf %s "(cached) " >&6
   7453 else case e in #(
   7454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7455 /* end confdefs.h.  */
   7456 int i;
   7457 int
   7458 main (void)
   7459 {
   7460 
   7461   ;
   7462   return 0;
   7463 }
   7464 _ACEOF
   7465 if ac_fn_c_try_link "$LINENO"
   7466 then :
   7467   eval $cacheid=yes
   7468 else case e in #(
   7469   e) eval $cacheid=no ;;
   7470 esac
   7471 fi
   7472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7473     conftest$ac_exeext conftest.$ac_ext ;;
   7474 esac
   7475 fi
   7476 
   7477 
   7478 		CFLAGS="$xorg_testset_save_CFLAGS"
   7479 
   7480 		eval supported=\$$cacheid
   7481 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7482 printf '%s\n' "$supported" >&6; }
   7483 		if test "$supported" = "yes" ; then
   7484 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7485 			found="yes"
   7486 		fi
   7487 	fi
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 xorg_testset_save_CFLAGS="$CFLAGS"
   7504 
   7505 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7508 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7509 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7510 then :
   7511   printf %s "(cached) " >&6
   7512 else case e in #(
   7513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7514 /* end confdefs.h.  */
   7515 int i;
   7516 _ACEOF
   7517 if ac_fn_c_try_compile "$LINENO"
   7518 then :
   7519   xorg_cv_cc_flag_unknown_warning_option=yes
   7520 else case e in #(
   7521   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7522 esac
   7523 fi
   7524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7525 esac
   7526 fi
   7527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7528 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7530 	CFLAGS="$xorg_testset_save_CFLAGS"
   7531 fi
   7532 
   7533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 	fi
   7537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7538 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7539 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7540 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7541 then :
   7542   printf %s "(cached) " >&6
   7543 else case e in #(
   7544   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7545 /* end confdefs.h.  */
   7546 int i;
   7547 _ACEOF
   7548 if ac_fn_c_try_compile "$LINENO"
   7549 then :
   7550   xorg_cv_cc_flag_unused_command_line_argument=yes
   7551 else case e in #(
   7552   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7553 esac
   7554 fi
   7555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7556 esac
   7557 fi
   7558 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7559 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7561 	CFLAGS="$xorg_testset_save_CFLAGS"
   7562 fi
   7563 
   7564 found="no"
   7565 
   7566 	if test $found = "no" ; then
   7567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 		fi
   7570 
   7571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7573 		fi
   7574 
   7575 		CFLAGS="$CFLAGS -Wredundant-decls"
   7576 
   7577 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7578 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7579 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7580 		if eval test \${$cacheid+y}
   7581 then :
   7582   printf %s "(cached) " >&6
   7583 else case e in #(
   7584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 int i;
   7587 int
   7588 main (void)
   7589 {
   7590 
   7591   ;
   7592   return 0;
   7593 }
   7594 _ACEOF
   7595 if ac_fn_c_try_link "$LINENO"
   7596 then :
   7597   eval $cacheid=yes
   7598 else case e in #(
   7599   e) eval $cacheid=no ;;
   7600 esac
   7601 fi
   7602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7603     conftest$ac_exeext conftest.$ac_ext ;;
   7604 esac
   7605 fi
   7606 
   7607 
   7608 		CFLAGS="$xorg_testset_save_CFLAGS"
   7609 
   7610 		eval supported=\$$cacheid
   7611 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7612 printf '%s\n' "$supported" >&6; }
   7613 		if test "$supported" = "yes" ; then
   7614 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7615 			found="yes"
   7616 		fi
   7617 	fi
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 xorg_testset_save_CFLAGS="$CFLAGS"
   7634 
   7635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7638 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7639 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7640 then :
   7641   printf %s "(cached) " >&6
   7642 else case e in #(
   7643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 _ACEOF
   7647 if ac_fn_c_try_compile "$LINENO"
   7648 then :
   7649   xorg_cv_cc_flag_unknown_warning_option=yes
   7650 else case e in #(
   7651   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7652 esac
   7653 fi
   7654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7655 esac
   7656 fi
   7657 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7658 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7660 	CFLAGS="$xorg_testset_save_CFLAGS"
   7661 fi
   7662 
   7663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7666 	fi
   7667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7668 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7669 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7670 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7671 then :
   7672   printf %s "(cached) " >&6
   7673 else case e in #(
   7674   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 _ACEOF
   7678 if ac_fn_c_try_compile "$LINENO"
   7679 then :
   7680   xorg_cv_cc_flag_unused_command_line_argument=yes
   7681 else case e in #(
   7682   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7683 esac
   7684 fi
   7685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7686 esac
   7687 fi
   7688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7689 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 found="no"
   7695 
   7696 	if test $found = "no" ; then
   7697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7699 		fi
   7700 
   7701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 		fi
   7704 
   7705 		CFLAGS="$CFLAGS -Wlogical-op"
   7706 
   7707 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7708 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7709 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7710 		if eval test \${$cacheid+y}
   7711 then :
   7712   printf %s "(cached) " >&6
   7713 else case e in #(
   7714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 int
   7718 main (void)
   7719 {
   7720 
   7721   ;
   7722   return 0;
   7723 }
   7724 _ACEOF
   7725 if ac_fn_c_try_link "$LINENO"
   7726 then :
   7727   eval $cacheid=yes
   7728 else case e in #(
   7729   e) eval $cacheid=no ;;
   7730 esac
   7731 fi
   7732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7733     conftest$ac_exeext conftest.$ac_ext ;;
   7734 esac
   7735 fi
   7736 
   7737 
   7738 		CFLAGS="$xorg_testset_save_CFLAGS"
   7739 
   7740 		eval supported=\$$cacheid
   7741 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7742 printf '%s\n' "$supported" >&6; }
   7743 		if test "$supported" = "yes" ; then
   7744 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7745 			found="yes"
   7746 		fi
   7747 	fi
   7748 
   7749 
   7750 
   7751 # These are currently disabled because they are noisy.  They will be enabled
   7752 # in the future once the codebase is sufficiently modernized to silence
   7753 # them.  For now, I don't want them to drown out the other warnings.
   7754 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7755 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7756 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7757 
   7758 # Turn some warnings into errors, so we don't accidentally get successful builds
   7759 # when there are problems that should be fixed.
   7760 
   7761 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 xorg_testset_save_CFLAGS="$CFLAGS"
   7776 
   7777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7779 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7780 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7781 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7782 then :
   7783   printf %s "(cached) " >&6
   7784 else case e in #(
   7785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7786 /* end confdefs.h.  */
   7787 int i;
   7788 _ACEOF
   7789 if ac_fn_c_try_compile "$LINENO"
   7790 then :
   7791   xorg_cv_cc_flag_unknown_warning_option=yes
   7792 else case e in #(
   7793   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7794 esac
   7795 fi
   7796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7797 esac
   7798 fi
   7799 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7800 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7802 	CFLAGS="$xorg_testset_save_CFLAGS"
   7803 fi
   7804 
   7805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7808 	fi
   7809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7810 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7811 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7812 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7813 then :
   7814   printf %s "(cached) " >&6
   7815 else case e in #(
   7816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7817 /* end confdefs.h.  */
   7818 int i;
   7819 _ACEOF
   7820 if ac_fn_c_try_compile "$LINENO"
   7821 then :
   7822   xorg_cv_cc_flag_unused_command_line_argument=yes
   7823 else case e in #(
   7824   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7825 esac
   7826 fi
   7827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7828 esac
   7829 fi
   7830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7831 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7833 	CFLAGS="$xorg_testset_save_CFLAGS"
   7834 fi
   7835 
   7836 found="no"
   7837 
   7838 	if test $found = "no" ; then
   7839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7841 		fi
   7842 
   7843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7845 		fi
   7846 
   7847 		CFLAGS="$CFLAGS -Werror=implicit"
   7848 
   7849 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7850 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7851 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7852 		if eval test \${$cacheid+y}
   7853 then :
   7854   printf %s "(cached) " >&6
   7855 else case e in #(
   7856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7857 /* end confdefs.h.  */
   7858 int i;
   7859 int
   7860 main (void)
   7861 {
   7862 
   7863   ;
   7864   return 0;
   7865 }
   7866 _ACEOF
   7867 if ac_fn_c_try_link "$LINENO"
   7868 then :
   7869   eval $cacheid=yes
   7870 else case e in #(
   7871   e) eval $cacheid=no ;;
   7872 esac
   7873 fi
   7874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7875     conftest$ac_exeext conftest.$ac_ext ;;
   7876 esac
   7877 fi
   7878 
   7879 
   7880 		CFLAGS="$xorg_testset_save_CFLAGS"
   7881 
   7882 		eval supported=\$$cacheid
   7883 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7884 printf '%s\n' "$supported" >&6; }
   7885 		if test "$supported" = "yes" ; then
   7886 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7887 			found="yes"
   7888 		fi
   7889 	fi
   7890 
   7891 	if test $found = "no" ; then
   7892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7894 		fi
   7895 
   7896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7898 		fi
   7899 
   7900 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7901 
   7902 		{ 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
   7903 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7904 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7905 		if eval test \${$cacheid+y}
   7906 then :
   7907   printf %s "(cached) " >&6
   7908 else case e in #(
   7909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7910 /* end confdefs.h.  */
   7911 int i;
   7912 int
   7913 main (void)
   7914 {
   7915 
   7916   ;
   7917   return 0;
   7918 }
   7919 _ACEOF
   7920 if ac_fn_c_try_link "$LINENO"
   7921 then :
   7922   eval $cacheid=yes
   7923 else case e in #(
   7924   e) eval $cacheid=no ;;
   7925 esac
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7928     conftest$ac_exeext conftest.$ac_ext ;;
   7929 esac
   7930 fi
   7931 
   7932 
   7933 		CFLAGS="$xorg_testset_save_CFLAGS"
   7934 
   7935 		eval supported=\$$cacheid
   7936 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7937 printf '%s\n' "$supported" >&6; }
   7938 		if test "$supported" = "yes" ; then
   7939 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7940 			found="yes"
   7941 		fi
   7942 	fi
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 xorg_testset_save_CFLAGS="$CFLAGS"
   7959 
   7960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7965 then :
   7966   printf %s "(cached) " >&6
   7967 else case e in #(
   7968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 int i;
   7971 _ACEOF
   7972 if ac_fn_c_try_compile "$LINENO"
   7973 then :
   7974   xorg_cv_cc_flag_unknown_warning_option=yes
   7975 else case e in #(
   7976   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7977 esac
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7980 esac
   7981 fi
   7982 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7983 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7985 	CFLAGS="$xorg_testset_save_CFLAGS"
   7986 fi
   7987 
   7988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7991 	fi
   7992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7993 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7994 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7995 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7996 then :
   7997   printf %s "(cached) " >&6
   7998 else case e in #(
   7999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 int i;
   8002 _ACEOF
   8003 if ac_fn_c_try_compile "$LINENO"
   8004 then :
   8005   xorg_cv_cc_flag_unused_command_line_argument=yes
   8006 else case e in #(
   8007   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8008 esac
   8009 fi
   8010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8011 esac
   8012 fi
   8013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8014 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8016 	CFLAGS="$xorg_testset_save_CFLAGS"
   8017 fi
   8018 
   8019 found="no"
   8020 
   8021 	if test $found = "no" ; then
   8022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8024 		fi
   8025 
   8026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8028 		fi
   8029 
   8030 		CFLAGS="$CFLAGS -Werror=nonnull"
   8031 
   8032 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   8033 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   8034 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   8035 		if eval test \${$cacheid+y}
   8036 then :
   8037   printf %s "(cached) " >&6
   8038 else case e in #(
   8039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8040 /* end confdefs.h.  */
   8041 int i;
   8042 int
   8043 main (void)
   8044 {
   8045 
   8046   ;
   8047   return 0;
   8048 }
   8049 _ACEOF
   8050 if ac_fn_c_try_link "$LINENO"
   8051 then :
   8052   eval $cacheid=yes
   8053 else case e in #(
   8054   e) eval $cacheid=no ;;
   8055 esac
   8056 fi
   8057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8058     conftest$ac_exeext conftest.$ac_ext ;;
   8059 esac
   8060 fi
   8061 
   8062 
   8063 		CFLAGS="$xorg_testset_save_CFLAGS"
   8064 
   8065 		eval supported=\$$cacheid
   8066 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8067 printf '%s\n' "$supported" >&6; }
   8068 		if test "$supported" = "yes" ; then
   8069 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   8070 			found="yes"
   8071 		fi
   8072 	fi
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 xorg_testset_save_CFLAGS="$CFLAGS"
   8089 
   8090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8094 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8095 then :
   8096   printf %s "(cached) " >&6
   8097 else case e in #(
   8098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 _ACEOF
   8102 if ac_fn_c_try_compile "$LINENO"
   8103 then :
   8104   xorg_cv_cc_flag_unknown_warning_option=yes
   8105 else case e in #(
   8106   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8107 esac
   8108 fi
   8109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8110 esac
   8111 fi
   8112 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8113 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8115 	CFLAGS="$xorg_testset_save_CFLAGS"
   8116 fi
   8117 
   8118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8121 	fi
   8122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8123 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8126 then :
   8127   printf %s "(cached) " >&6
   8128 else case e in #(
   8129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8130 /* end confdefs.h.  */
   8131 int i;
   8132 _ACEOF
   8133 if ac_fn_c_try_compile "$LINENO"
   8134 then :
   8135   xorg_cv_cc_flag_unused_command_line_argument=yes
   8136 else case e in #(
   8137   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8138 esac
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8141 esac
   8142 fi
   8143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8144 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8146 	CFLAGS="$xorg_testset_save_CFLAGS"
   8147 fi
   8148 
   8149 found="no"
   8150 
   8151 	if test $found = "no" ; then
   8152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8154 		fi
   8155 
   8156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8158 		fi
   8159 
   8160 		CFLAGS="$CFLAGS -Werror=init-self"
   8161 
   8162 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   8163 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   8164 		cacheid=xorg_cv_cc_flag__Werror_init_self
   8165 		if eval test \${$cacheid+y}
   8166 then :
   8167   printf %s "(cached) " >&6
   8168 else case e in #(
   8169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8170 /* end confdefs.h.  */
   8171 int i;
   8172 int
   8173 main (void)
   8174 {
   8175 
   8176   ;
   8177   return 0;
   8178 }
   8179 _ACEOF
   8180 if ac_fn_c_try_link "$LINENO"
   8181 then :
   8182   eval $cacheid=yes
   8183 else case e in #(
   8184   e) eval $cacheid=no ;;
   8185 esac
   8186 fi
   8187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8188     conftest$ac_exeext conftest.$ac_ext ;;
   8189 esac
   8190 fi
   8191 
   8192 
   8193 		CFLAGS="$xorg_testset_save_CFLAGS"
   8194 
   8195 		eval supported=\$$cacheid
   8196 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8197 printf '%s\n' "$supported" >&6; }
   8198 		if test "$supported" = "yes" ; then
   8199 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8200 			found="yes"
   8201 		fi
   8202 	fi
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 xorg_testset_save_CFLAGS="$CFLAGS"
   8219 
   8220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8225 then :
   8226   printf %s "(cached) " >&6
   8227 else case e in #(
   8228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"
   8233 then :
   8234   xorg_cv_cc_flag_unknown_warning_option=yes
   8235 else case e in #(
   8236   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8237 esac
   8238 fi
   8239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8240 esac
   8241 fi
   8242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8243 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8245 	CFLAGS="$xorg_testset_save_CFLAGS"
   8246 fi
   8247 
   8248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8251 	fi
   8252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8253 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8256 then :
   8257   printf %s "(cached) " >&6
   8258 else case e in #(
   8259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8260 /* end confdefs.h.  */
   8261 int i;
   8262 _ACEOF
   8263 if ac_fn_c_try_compile "$LINENO"
   8264 then :
   8265   xorg_cv_cc_flag_unused_command_line_argument=yes
   8266 else case e in #(
   8267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8268 esac
   8269 fi
   8270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8271 esac
   8272 fi
   8273 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8274 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8276 	CFLAGS="$xorg_testset_save_CFLAGS"
   8277 fi
   8278 
   8279 found="no"
   8280 
   8281 	if test $found = "no" ; then
   8282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8284 		fi
   8285 
   8286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8288 		fi
   8289 
   8290 		CFLAGS="$CFLAGS -Werror=main"
   8291 
   8292 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8293 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8294 		cacheid=xorg_cv_cc_flag__Werror_main
   8295 		if eval test \${$cacheid+y}
   8296 then :
   8297   printf %s "(cached) " >&6
   8298 else case e in #(
   8299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8300 /* end confdefs.h.  */
   8301 int i;
   8302 int
   8303 main (void)
   8304 {
   8305 
   8306   ;
   8307   return 0;
   8308 }
   8309 _ACEOF
   8310 if ac_fn_c_try_link "$LINENO"
   8311 then :
   8312   eval $cacheid=yes
   8313 else case e in #(
   8314   e) eval $cacheid=no ;;
   8315 esac
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8318     conftest$ac_exeext conftest.$ac_ext ;;
   8319 esac
   8320 fi
   8321 
   8322 
   8323 		CFLAGS="$xorg_testset_save_CFLAGS"
   8324 
   8325 		eval supported=\$$cacheid
   8326 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8327 printf '%s\n' "$supported" >&6; }
   8328 		if test "$supported" = "yes" ; then
   8329 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8330 			found="yes"
   8331 		fi
   8332 	fi
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 xorg_testset_save_CFLAGS="$CFLAGS"
   8349 
   8350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else case e in #(
   8358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"
   8363 then :
   8364   xorg_cv_cc_flag_unknown_warning_option=yes
   8365 else case e in #(
   8366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8367 esac
   8368 fi
   8369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8370 esac
   8371 fi
   8372 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8373 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8375 	CFLAGS="$xorg_testset_save_CFLAGS"
   8376 fi
   8377 
   8378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8381 	fi
   8382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8383 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8386 then :
   8387   printf %s "(cached) " >&6
   8388 else case e in #(
   8389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 _ACEOF
   8393 if ac_fn_c_try_compile "$LINENO"
   8394 then :
   8395   xorg_cv_cc_flag_unused_command_line_argument=yes
   8396 else case e in #(
   8397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8398 esac
   8399 fi
   8400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8401 esac
   8402 fi
   8403 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8404 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8406 	CFLAGS="$xorg_testset_save_CFLAGS"
   8407 fi
   8408 
   8409 found="no"
   8410 
   8411 	if test $found = "no" ; then
   8412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8414 		fi
   8415 
   8416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8418 		fi
   8419 
   8420 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8421 
   8422 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8423 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8424 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8425 		if eval test \${$cacheid+y}
   8426 then :
   8427   printf %s "(cached) " >&6
   8428 else case e in #(
   8429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8430 /* end confdefs.h.  */
   8431 int i;
   8432 int
   8433 main (void)
   8434 {
   8435 
   8436   ;
   8437   return 0;
   8438 }
   8439 _ACEOF
   8440 if ac_fn_c_try_link "$LINENO"
   8441 then :
   8442   eval $cacheid=yes
   8443 else case e in #(
   8444   e) eval $cacheid=no ;;
   8445 esac
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8448     conftest$ac_exeext conftest.$ac_ext ;;
   8449 esac
   8450 fi
   8451 
   8452 
   8453 		CFLAGS="$xorg_testset_save_CFLAGS"
   8454 
   8455 		eval supported=\$$cacheid
   8456 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8457 printf '%s\n' "$supported" >&6; }
   8458 		if test "$supported" = "yes" ; then
   8459 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8460 			found="yes"
   8461 		fi
   8462 	fi
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 xorg_testset_save_CFLAGS="$CFLAGS"
   8479 
   8480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8482 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8483 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8484 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8485 then :
   8486   printf %s "(cached) " >&6
   8487 else case e in #(
   8488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8489 /* end confdefs.h.  */
   8490 int i;
   8491 _ACEOF
   8492 if ac_fn_c_try_compile "$LINENO"
   8493 then :
   8494   xorg_cv_cc_flag_unknown_warning_option=yes
   8495 else case e in #(
   8496   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8497 esac
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8500 esac
   8501 fi
   8502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8503 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8505 	CFLAGS="$xorg_testset_save_CFLAGS"
   8506 fi
   8507 
   8508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8511 	fi
   8512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8513 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8516 then :
   8517   printf %s "(cached) " >&6
   8518 else case e in #(
   8519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8520 /* end confdefs.h.  */
   8521 int i;
   8522 _ACEOF
   8523 if ac_fn_c_try_compile "$LINENO"
   8524 then :
   8525   xorg_cv_cc_flag_unused_command_line_argument=yes
   8526 else case e in #(
   8527   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8528 esac
   8529 fi
   8530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8531 esac
   8532 fi
   8533 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8534 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8536 	CFLAGS="$xorg_testset_save_CFLAGS"
   8537 fi
   8538 
   8539 found="no"
   8540 
   8541 	if test $found = "no" ; then
   8542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8544 		fi
   8545 
   8546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8548 		fi
   8549 
   8550 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8551 
   8552 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8553 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8554 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8555 		if eval test \${$cacheid+y}
   8556 then :
   8557   printf %s "(cached) " >&6
   8558 else case e in #(
   8559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8560 /* end confdefs.h.  */
   8561 int i;
   8562 int
   8563 main (void)
   8564 {
   8565 
   8566   ;
   8567   return 0;
   8568 }
   8569 _ACEOF
   8570 if ac_fn_c_try_link "$LINENO"
   8571 then :
   8572   eval $cacheid=yes
   8573 else case e in #(
   8574   e) eval $cacheid=no ;;
   8575 esac
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8578     conftest$ac_exeext conftest.$ac_ext ;;
   8579 esac
   8580 fi
   8581 
   8582 
   8583 		CFLAGS="$xorg_testset_save_CFLAGS"
   8584 
   8585 		eval supported=\$$cacheid
   8586 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8587 printf '%s\n' "$supported" >&6; }
   8588 		if test "$supported" = "yes" ; then
   8589 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8590 			found="yes"
   8591 		fi
   8592 	fi
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 xorg_testset_save_CFLAGS="$CFLAGS"
   8609 
   8610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8612 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8615 then :
   8616   printf %s "(cached) " >&6
   8617 else case e in #(
   8618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8619 /* end confdefs.h.  */
   8620 int i;
   8621 _ACEOF
   8622 if ac_fn_c_try_compile "$LINENO"
   8623 then :
   8624   xorg_cv_cc_flag_unknown_warning_option=yes
   8625 else case e in #(
   8626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8627 esac
   8628 fi
   8629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8630 esac
   8631 fi
   8632 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8633 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8635 	CFLAGS="$xorg_testset_save_CFLAGS"
   8636 fi
   8637 
   8638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8641 	fi
   8642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8643 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8646 then :
   8647   printf %s "(cached) " >&6
   8648 else case e in #(
   8649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8650 /* end confdefs.h.  */
   8651 int i;
   8652 _ACEOF
   8653 if ac_fn_c_try_compile "$LINENO"
   8654 then :
   8655   xorg_cv_cc_flag_unused_command_line_argument=yes
   8656 else case e in #(
   8657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8658 esac
   8659 fi
   8660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8661 esac
   8662 fi
   8663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8664 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8666 	CFLAGS="$xorg_testset_save_CFLAGS"
   8667 fi
   8668 
   8669 found="no"
   8670 
   8671 	if test $found = "no" ; then
   8672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 		fi
   8675 
   8676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8678 		fi
   8679 
   8680 		CFLAGS="$CFLAGS -Werror=return-type"
   8681 
   8682 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8683 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8684 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8685 		if eval test \${$cacheid+y}
   8686 then :
   8687   printf %s "(cached) " >&6
   8688 else case e in #(
   8689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8690 /* end confdefs.h.  */
   8691 int i;
   8692 int
   8693 main (void)
   8694 {
   8695 
   8696   ;
   8697   return 0;
   8698 }
   8699 _ACEOF
   8700 if ac_fn_c_try_link "$LINENO"
   8701 then :
   8702   eval $cacheid=yes
   8703 else case e in #(
   8704   e) eval $cacheid=no ;;
   8705 esac
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8708     conftest$ac_exeext conftest.$ac_ext ;;
   8709 esac
   8710 fi
   8711 
   8712 
   8713 		CFLAGS="$xorg_testset_save_CFLAGS"
   8714 
   8715 		eval supported=\$$cacheid
   8716 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8717 printf '%s\n' "$supported" >&6; }
   8718 		if test "$supported" = "yes" ; then
   8719 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8720 			found="yes"
   8721 		fi
   8722 	fi
   8723 
   8724 	if test $found = "no" ; then
   8725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 		fi
   8728 
   8729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8731 		fi
   8732 
   8733 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8734 
   8735 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8736 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8737 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8738 		if eval test \${$cacheid+y}
   8739 then :
   8740   printf %s "(cached) " >&6
   8741 else case e in #(
   8742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8743 /* end confdefs.h.  */
   8744 int i;
   8745 int
   8746 main (void)
   8747 {
   8748 
   8749   ;
   8750   return 0;
   8751 }
   8752 _ACEOF
   8753 if ac_fn_c_try_link "$LINENO"
   8754 then :
   8755   eval $cacheid=yes
   8756 else case e in #(
   8757   e) eval $cacheid=no ;;
   8758 esac
   8759 fi
   8760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8761     conftest$ac_exeext conftest.$ac_ext ;;
   8762 esac
   8763 fi
   8764 
   8765 
   8766 		CFLAGS="$xorg_testset_save_CFLAGS"
   8767 
   8768 		eval supported=\$$cacheid
   8769 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8770 printf '%s\n' "$supported" >&6; }
   8771 		if test "$supported" = "yes" ; then
   8772 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8773 			found="yes"
   8774 		fi
   8775 	fi
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 xorg_testset_save_CFLAGS="$CFLAGS"
   8792 
   8793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8795 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8796 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8797 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8798 then :
   8799   printf %s "(cached) " >&6
   8800 else case e in #(
   8801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 _ACEOF
   8805 if ac_fn_c_try_compile "$LINENO"
   8806 then :
   8807   xorg_cv_cc_flag_unknown_warning_option=yes
   8808 else case e in #(
   8809   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8810 esac
   8811 fi
   8812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8813 esac
   8814 fi
   8815 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8816 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8818 	CFLAGS="$xorg_testset_save_CFLAGS"
   8819 fi
   8820 
   8821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8824 	fi
   8825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8826 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8829 then :
   8830   printf %s "(cached) " >&6
   8831 else case e in #(
   8832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8833 /* end confdefs.h.  */
   8834 int i;
   8835 _ACEOF
   8836 if ac_fn_c_try_compile "$LINENO"
   8837 then :
   8838   xorg_cv_cc_flag_unused_command_line_argument=yes
   8839 else case e in #(
   8840   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8841 esac
   8842 fi
   8843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8844 esac
   8845 fi
   8846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8847 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8849 	CFLAGS="$xorg_testset_save_CFLAGS"
   8850 fi
   8851 
   8852 found="no"
   8853 
   8854 	if test $found = "no" ; then
   8855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8857 		fi
   8858 
   8859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8861 		fi
   8862 
   8863 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8864 
   8865 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8866 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8867 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8868 		if eval test \${$cacheid+y}
   8869 then :
   8870   printf %s "(cached) " >&6
   8871 else case e in #(
   8872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8873 /* end confdefs.h.  */
   8874 int i;
   8875 int
   8876 main (void)
   8877 {
   8878 
   8879   ;
   8880   return 0;
   8881 }
   8882 _ACEOF
   8883 if ac_fn_c_try_link "$LINENO"
   8884 then :
   8885   eval $cacheid=yes
   8886 else case e in #(
   8887   e) eval $cacheid=no ;;
   8888 esac
   8889 fi
   8890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8891     conftest$ac_exeext conftest.$ac_ext ;;
   8892 esac
   8893 fi
   8894 
   8895 
   8896 		CFLAGS="$xorg_testset_save_CFLAGS"
   8897 
   8898 		eval supported=\$$cacheid
   8899 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8900 printf '%s\n' "$supported" >&6; }
   8901 		if test "$supported" = "yes" ; then
   8902 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8903 			found="yes"
   8904 		fi
   8905 	fi
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 xorg_testset_save_CFLAGS="$CFLAGS"
   8922 
   8923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8925 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8926 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8927 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8928 then :
   8929   printf %s "(cached) " >&6
   8930 else case e in #(
   8931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"
   8936 then :
   8937   xorg_cv_cc_flag_unknown_warning_option=yes
   8938 else case e in #(
   8939   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8940 esac
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8943 esac
   8944 fi
   8945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8946 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8948 	CFLAGS="$xorg_testset_save_CFLAGS"
   8949 fi
   8950 
   8951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8954 	fi
   8955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8956 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8957 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8958 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8959 then :
   8960   printf %s "(cached) " >&6
   8961 else case e in #(
   8962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8963 /* end confdefs.h.  */
   8964 int i;
   8965 _ACEOF
   8966 if ac_fn_c_try_compile "$LINENO"
   8967 then :
   8968   xorg_cv_cc_flag_unused_command_line_argument=yes
   8969 else case e in #(
   8970   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8971 esac
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8974 esac
   8975 fi
   8976 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8977 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8979 	CFLAGS="$xorg_testset_save_CFLAGS"
   8980 fi
   8981 
   8982 found="no"
   8983 
   8984 	if test $found = "no" ; then
   8985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8987 		fi
   8988 
   8989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8991 		fi
   8992 
   8993 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8994 
   8995 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8996 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8997 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8998 		if eval test \${$cacheid+y}
   8999 then :
   9000   printf %s "(cached) " >&6
   9001 else case e in #(
   9002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9003 /* end confdefs.h.  */
   9004 int i;
   9005 int
   9006 main (void)
   9007 {
   9008 
   9009   ;
   9010   return 0;
   9011 }
   9012 _ACEOF
   9013 if ac_fn_c_try_link "$LINENO"
   9014 then :
   9015   eval $cacheid=yes
   9016 else case e in #(
   9017   e) eval $cacheid=no ;;
   9018 esac
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9021     conftest$ac_exeext conftest.$ac_ext ;;
   9022 esac
   9023 fi
   9024 
   9025 
   9026 		CFLAGS="$xorg_testset_save_CFLAGS"
   9027 
   9028 		eval supported=\$$cacheid
   9029 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9030 printf '%s\n' "$supported" >&6; }
   9031 		if test "$supported" = "yes" ; then
   9032 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   9033 			found="yes"
   9034 		fi
   9035 	fi
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 xorg_testset_save_CFLAGS="$CFLAGS"
   9052 
   9053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9055 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9056 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9057 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9058 then :
   9059   printf %s "(cached) " >&6
   9060 else case e in #(
   9061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9062 /* end confdefs.h.  */
   9063 int i;
   9064 _ACEOF
   9065 if ac_fn_c_try_compile "$LINENO"
   9066 then :
   9067   xorg_cv_cc_flag_unknown_warning_option=yes
   9068 else case e in #(
   9069   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9070 esac
   9071 fi
   9072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9073 esac
   9074 fi
   9075 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9076 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9078 	CFLAGS="$xorg_testset_save_CFLAGS"
   9079 fi
   9080 
   9081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9084 	fi
   9085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9086 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9087 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9088 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9089 then :
   9090   printf %s "(cached) " >&6
   9091 else case e in #(
   9092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9093 /* end confdefs.h.  */
   9094 int i;
   9095 _ACEOF
   9096 if ac_fn_c_try_compile "$LINENO"
   9097 then :
   9098   xorg_cv_cc_flag_unused_command_line_argument=yes
   9099 else case e in #(
   9100   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9101 esac
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9104 esac
   9105 fi
   9106 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9107 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9109 	CFLAGS="$xorg_testset_save_CFLAGS"
   9110 fi
   9111 
   9112 found="no"
   9113 
   9114 	if test $found = "no" ; then
   9115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 		fi
   9118 
   9119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9121 		fi
   9122 
   9123 		CFLAGS="$CFLAGS -Werror=write-strings"
   9124 
   9125 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   9126 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   9127 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   9128 		if eval test \${$cacheid+y}
   9129 then :
   9130   printf %s "(cached) " >&6
   9131 else case e in #(
   9132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9133 /* end confdefs.h.  */
   9134 int i;
   9135 int
   9136 main (void)
   9137 {
   9138 
   9139   ;
   9140   return 0;
   9141 }
   9142 _ACEOF
   9143 if ac_fn_c_try_link "$LINENO"
   9144 then :
   9145   eval $cacheid=yes
   9146 else case e in #(
   9147   e) eval $cacheid=no ;;
   9148 esac
   9149 fi
   9150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9151     conftest$ac_exeext conftest.$ac_ext ;;
   9152 esac
   9153 fi
   9154 
   9155 
   9156 		CFLAGS="$xorg_testset_save_CFLAGS"
   9157 
   9158 		eval supported=\$$cacheid
   9159 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9160 printf '%s\n' "$supported" >&6; }
   9161 		if test "$supported" = "yes" ; then
   9162 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   9163 			found="yes"
   9164 		fi
   9165 	fi
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 xorg_testset_save_CFLAGS="$CFLAGS"
   9182 
   9183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9185 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9186 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9187 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9188 then :
   9189   printf %s "(cached) " >&6
   9190 else case e in #(
   9191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 _ACEOF
   9195 if ac_fn_c_try_compile "$LINENO"
   9196 then :
   9197   xorg_cv_cc_flag_unknown_warning_option=yes
   9198 else case e in #(
   9199   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9200 esac
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9203 esac
   9204 fi
   9205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9206 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9208 	CFLAGS="$xorg_testset_save_CFLAGS"
   9209 fi
   9210 
   9211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9214 	fi
   9215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9216 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9217 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9218 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9219 then :
   9220   printf %s "(cached) " >&6
   9221 else case e in #(
   9222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9223 /* end confdefs.h.  */
   9224 int i;
   9225 _ACEOF
   9226 if ac_fn_c_try_compile "$LINENO"
   9227 then :
   9228   xorg_cv_cc_flag_unused_command_line_argument=yes
   9229 else case e in #(
   9230   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9231 esac
   9232 fi
   9233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9234 esac
   9235 fi
   9236 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9237 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 found="no"
   9243 
   9244 	if test $found = "no" ; then
   9245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9247 		fi
   9248 
   9249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9251 		fi
   9252 
   9253 		CFLAGS="$CFLAGS -Werror=address"
   9254 
   9255 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9256 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9257 		cacheid=xorg_cv_cc_flag__Werror_address
   9258 		if eval test \${$cacheid+y}
   9259 then :
   9260   printf %s "(cached) " >&6
   9261 else case e in #(
   9262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9263 /* end confdefs.h.  */
   9264 int i;
   9265 int
   9266 main (void)
   9267 {
   9268 
   9269   ;
   9270   return 0;
   9271 }
   9272 _ACEOF
   9273 if ac_fn_c_try_link "$LINENO"
   9274 then :
   9275   eval $cacheid=yes
   9276 else case e in #(
   9277   e) eval $cacheid=no ;;
   9278 esac
   9279 fi
   9280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9281     conftest$ac_exeext conftest.$ac_ext ;;
   9282 esac
   9283 fi
   9284 
   9285 
   9286 		CFLAGS="$xorg_testset_save_CFLAGS"
   9287 
   9288 		eval supported=\$$cacheid
   9289 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9290 printf '%s\n' "$supported" >&6; }
   9291 		if test "$supported" = "yes" ; then
   9292 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9293 			found="yes"
   9294 		fi
   9295 	fi
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 xorg_testset_save_CFLAGS="$CFLAGS"
   9312 
   9313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9315 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9316 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9317 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9318 then :
   9319   printf %s "(cached) " >&6
   9320 else case e in #(
   9321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 _ACEOF
   9325 if ac_fn_c_try_compile "$LINENO"
   9326 then :
   9327   xorg_cv_cc_flag_unknown_warning_option=yes
   9328 else case e in #(
   9329   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9330 esac
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9333 esac
   9334 fi
   9335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9336 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9338 	CFLAGS="$xorg_testset_save_CFLAGS"
   9339 fi
   9340 
   9341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9344 	fi
   9345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9346 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9349 then :
   9350   printf %s "(cached) " >&6
   9351 else case e in #(
   9352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9353 /* end confdefs.h.  */
   9354 int i;
   9355 _ACEOF
   9356 if ac_fn_c_try_compile "$LINENO"
   9357 then :
   9358   xorg_cv_cc_flag_unused_command_line_argument=yes
   9359 else case e in #(
   9360   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9361 esac
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9364 esac
   9365 fi
   9366 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9367 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9369 	CFLAGS="$xorg_testset_save_CFLAGS"
   9370 fi
   9371 
   9372 found="no"
   9373 
   9374 	if test $found = "no" ; then
   9375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9377 		fi
   9378 
   9379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9381 		fi
   9382 
   9383 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9384 
   9385 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9386 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9387 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9388 		if eval test \${$cacheid+y}
   9389 then :
   9390   printf %s "(cached) " >&6
   9391 else case e in #(
   9392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int i;
   9395 int
   9396 main (void)
   9397 {
   9398 
   9399   ;
   9400   return 0;
   9401 }
   9402 _ACEOF
   9403 if ac_fn_c_try_link "$LINENO"
   9404 then :
   9405   eval $cacheid=yes
   9406 else case e in #(
   9407   e) eval $cacheid=no ;;
   9408 esac
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9411     conftest$ac_exeext conftest.$ac_ext ;;
   9412 esac
   9413 fi
   9414 
   9415 
   9416 		CFLAGS="$xorg_testset_save_CFLAGS"
   9417 
   9418 		eval supported=\$$cacheid
   9419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9420 printf '%s\n' "$supported" >&6; }
   9421 		if test "$supported" = "yes" ; then
   9422 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9423 			found="yes"
   9424 		fi
   9425 	fi
   9426 
   9427 	if test $found = "no" ; then
   9428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 		fi
   9431 
   9432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 		fi
   9435 
   9436 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9437 
   9438 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9439 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9440 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9441 		if eval test \${$cacheid+y}
   9442 then :
   9443   printf %s "(cached) " >&6
   9444 else case e in #(
   9445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int i;
   9448 int
   9449 main (void)
   9450 {
   9451 
   9452   ;
   9453   return 0;
   9454 }
   9455 _ACEOF
   9456 if ac_fn_c_try_link "$LINENO"
   9457 then :
   9458   eval $cacheid=yes
   9459 else case e in #(
   9460   e) eval $cacheid=no ;;
   9461 esac
   9462 fi
   9463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9464     conftest$ac_exeext conftest.$ac_ext ;;
   9465 esac
   9466 fi
   9467 
   9468 
   9469 		CFLAGS="$xorg_testset_save_CFLAGS"
   9470 
   9471 		eval supported=\$$cacheid
   9472 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9473 printf '%s\n' "$supported" >&6; }
   9474 		if test "$supported" = "yes" ; then
   9475 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9476 			found="yes"
   9477 		fi
   9478 	fi
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 xorg_testset_save_CFLAGS="$CFLAGS"
   9495 
   9496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9498 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9499 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9500 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9501 then :
   9502   printf %s "(cached) " >&6
   9503 else case e in #(
   9504   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9505 /* end confdefs.h.  */
   9506 int i;
   9507 _ACEOF
   9508 if ac_fn_c_try_compile "$LINENO"
   9509 then :
   9510   xorg_cv_cc_flag_unknown_warning_option=yes
   9511 else case e in #(
   9512   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9513 esac
   9514 fi
   9515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9516 esac
   9517 fi
   9518 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9519 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9521 	CFLAGS="$xorg_testset_save_CFLAGS"
   9522 fi
   9523 
   9524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9527 	fi
   9528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9529 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9530 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9531 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9532 then :
   9533   printf %s "(cached) " >&6
   9534 else case e in #(
   9535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 int i;
   9538 _ACEOF
   9539 if ac_fn_c_try_compile "$LINENO"
   9540 then :
   9541   xorg_cv_cc_flag_unused_command_line_argument=yes
   9542 else case e in #(
   9543   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9544 esac
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9547 esac
   9548 fi
   9549 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9550 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9552 	CFLAGS="$xorg_testset_save_CFLAGS"
   9553 fi
   9554 
   9555 found="no"
   9556 
   9557 	if test $found = "no" ; then
   9558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9560 		fi
   9561 
   9562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9564 		fi
   9565 
   9566 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9567 
   9568 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9569 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9570 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9571 		if eval test \${$cacheid+y}
   9572 then :
   9573   printf %s "(cached) " >&6
   9574 else case e in #(
   9575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9576 /* end confdefs.h.  */
   9577 int i;
   9578 int
   9579 main (void)
   9580 {
   9581 
   9582   ;
   9583   return 0;
   9584 }
   9585 _ACEOF
   9586 if ac_fn_c_try_link "$LINENO"
   9587 then :
   9588   eval $cacheid=yes
   9589 else case e in #(
   9590   e) eval $cacheid=no ;;
   9591 esac
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9594     conftest$ac_exeext conftest.$ac_ext ;;
   9595 esac
   9596 fi
   9597 
   9598 
   9599 		CFLAGS="$xorg_testset_save_CFLAGS"
   9600 
   9601 		eval supported=\$$cacheid
   9602 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9603 printf '%s\n' "$supported" >&6; }
   9604 		if test "$supported" = "yes" ; then
   9605 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9606 			found="yes"
   9607 		fi
   9608 	fi
   9609 
   9610  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9611 else
   9612 { 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
   9613 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;}
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 xorg_testset_save_CFLAGS="$CFLAGS"
   9628 
   9629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9631 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9632 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9633 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9634 then :
   9635   printf %s "(cached) " >&6
   9636 else case e in #(
   9637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9638 /* end confdefs.h.  */
   9639 int i;
   9640 _ACEOF
   9641 if ac_fn_c_try_compile "$LINENO"
   9642 then :
   9643   xorg_cv_cc_flag_unknown_warning_option=yes
   9644 else case e in #(
   9645   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9646 esac
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9649 esac
   9650 fi
   9651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9652 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9654 	CFLAGS="$xorg_testset_save_CFLAGS"
   9655 fi
   9656 
   9657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9660 	fi
   9661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9662 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9663 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9664 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9665 then :
   9666   printf %s "(cached) " >&6
   9667 else case e in #(
   9668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9669 /* end confdefs.h.  */
   9670 int i;
   9671 _ACEOF
   9672 if ac_fn_c_try_compile "$LINENO"
   9673 then :
   9674   xorg_cv_cc_flag_unused_command_line_argument=yes
   9675 else case e in #(
   9676   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9677 esac
   9678 fi
   9679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9680 esac
   9681 fi
   9682 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9683 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9685 	CFLAGS="$xorg_testset_save_CFLAGS"
   9686 fi
   9687 
   9688 found="no"
   9689 
   9690 	if test $found = "no" ; then
   9691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9693 		fi
   9694 
   9695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9697 		fi
   9698 
   9699 		CFLAGS="$CFLAGS -Wimplicit"
   9700 
   9701 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9702 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9703 		cacheid=xorg_cv_cc_flag__Wimplicit
   9704 		if eval test \${$cacheid+y}
   9705 then :
   9706   printf %s "(cached) " >&6
   9707 else case e in #(
   9708   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 int
   9712 main (void)
   9713 {
   9714 
   9715   ;
   9716   return 0;
   9717 }
   9718 _ACEOF
   9719 if ac_fn_c_try_link "$LINENO"
   9720 then :
   9721   eval $cacheid=yes
   9722 else case e in #(
   9723   e) eval $cacheid=no ;;
   9724 esac
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9727     conftest$ac_exeext conftest.$ac_ext ;;
   9728 esac
   9729 fi
   9730 
   9731 
   9732 		CFLAGS="$xorg_testset_save_CFLAGS"
   9733 
   9734 		eval supported=\$$cacheid
   9735 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9736 printf '%s\n' "$supported" >&6; }
   9737 		if test "$supported" = "yes" ; then
   9738 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9739 			found="yes"
   9740 		fi
   9741 	fi
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 xorg_testset_save_CFLAGS="$CFLAGS"
   9758 
   9759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9762 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9763 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9764 then :
   9765   printf %s "(cached) " >&6
   9766 else case e in #(
   9767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"
   9772 then :
   9773   xorg_cv_cc_flag_unknown_warning_option=yes
   9774 else case e in #(
   9775   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9776 esac
   9777 fi
   9778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9779 esac
   9780 fi
   9781 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9782 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9784 	CFLAGS="$xorg_testset_save_CFLAGS"
   9785 fi
   9786 
   9787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9790 	fi
   9791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9792 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9793 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9794 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9795 then :
   9796   printf %s "(cached) " >&6
   9797 else case e in #(
   9798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 _ACEOF
   9802 if ac_fn_c_try_compile "$LINENO"
   9803 then :
   9804   xorg_cv_cc_flag_unused_command_line_argument=yes
   9805 else case e in #(
   9806   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9807 esac
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9810 esac
   9811 fi
   9812 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9813 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9815 	CFLAGS="$xorg_testset_save_CFLAGS"
   9816 fi
   9817 
   9818 found="no"
   9819 
   9820 	if test $found = "no" ; then
   9821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9823 		fi
   9824 
   9825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9827 		fi
   9828 
   9829 		CFLAGS="$CFLAGS -Wnonnull"
   9830 
   9831 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9832 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9833 		cacheid=xorg_cv_cc_flag__Wnonnull
   9834 		if eval test \${$cacheid+y}
   9835 then :
   9836   printf %s "(cached) " >&6
   9837 else case e in #(
   9838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9839 /* end confdefs.h.  */
   9840 int i;
   9841 int
   9842 main (void)
   9843 {
   9844 
   9845   ;
   9846   return 0;
   9847 }
   9848 _ACEOF
   9849 if ac_fn_c_try_link "$LINENO"
   9850 then :
   9851   eval $cacheid=yes
   9852 else case e in #(
   9853   e) eval $cacheid=no ;;
   9854 esac
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9857     conftest$ac_exeext conftest.$ac_ext ;;
   9858 esac
   9859 fi
   9860 
   9861 
   9862 		CFLAGS="$xorg_testset_save_CFLAGS"
   9863 
   9864 		eval supported=\$$cacheid
   9865 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9866 printf '%s\n' "$supported" >&6; }
   9867 		if test "$supported" = "yes" ; then
   9868 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9869 			found="yes"
   9870 		fi
   9871 	fi
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 xorg_testset_save_CFLAGS="$CFLAGS"
   9888 
   9889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9892 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9893 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9894 then :
   9895   printf %s "(cached) " >&6
   9896 else case e in #(
   9897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9898 /* end confdefs.h.  */
   9899 int i;
   9900 _ACEOF
   9901 if ac_fn_c_try_compile "$LINENO"
   9902 then :
   9903   xorg_cv_cc_flag_unknown_warning_option=yes
   9904 else case e in #(
   9905   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9906 esac
   9907 fi
   9908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9909 esac
   9910 fi
   9911 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9912 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9914 	CFLAGS="$xorg_testset_save_CFLAGS"
   9915 fi
   9916 
   9917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9920 	fi
   9921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9922 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9923 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9924 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9925 then :
   9926   printf %s "(cached) " >&6
   9927 else case e in #(
   9928   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9929 /* end confdefs.h.  */
   9930 int i;
   9931 _ACEOF
   9932 if ac_fn_c_try_compile "$LINENO"
   9933 then :
   9934   xorg_cv_cc_flag_unused_command_line_argument=yes
   9935 else case e in #(
   9936   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9937 esac
   9938 fi
   9939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9940 esac
   9941 fi
   9942 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9943 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9945 	CFLAGS="$xorg_testset_save_CFLAGS"
   9946 fi
   9947 
   9948 found="no"
   9949 
   9950 	if test $found = "no" ; then
   9951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9953 		fi
   9954 
   9955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9957 		fi
   9958 
   9959 		CFLAGS="$CFLAGS -Winit-self"
   9960 
   9961 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9962 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9963 		cacheid=xorg_cv_cc_flag__Winit_self
   9964 		if eval test \${$cacheid+y}
   9965 then :
   9966   printf %s "(cached) " >&6
   9967 else case e in #(
   9968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9969 /* end confdefs.h.  */
   9970 int i;
   9971 int
   9972 main (void)
   9973 {
   9974 
   9975   ;
   9976   return 0;
   9977 }
   9978 _ACEOF
   9979 if ac_fn_c_try_link "$LINENO"
   9980 then :
   9981   eval $cacheid=yes
   9982 else case e in #(
   9983   e) eval $cacheid=no ;;
   9984 esac
   9985 fi
   9986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9987     conftest$ac_exeext conftest.$ac_ext ;;
   9988 esac
   9989 fi
   9990 
   9991 
   9992 		CFLAGS="$xorg_testset_save_CFLAGS"
   9993 
   9994 		eval supported=\$$cacheid
   9995 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9996 printf '%s\n' "$supported" >&6; }
   9997 		if test "$supported" = "yes" ; then
   9998 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9999 			found="yes"
   10000 		fi
   10001 	fi
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 xorg_testset_save_CFLAGS="$CFLAGS"
   10018 
   10019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10021 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10024 then :
   10025   printf %s "(cached) " >&6
   10026 else case e in #(
   10027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 _ACEOF
   10031 if ac_fn_c_try_compile "$LINENO"
   10032 then :
   10033   xorg_cv_cc_flag_unknown_warning_option=yes
   10034 else case e in #(
   10035   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10036 esac
   10037 fi
   10038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10039 esac
   10040 fi
   10041 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10042 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 	fi
   10051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10055 then :
   10056   printf %s "(cached) " >&6
   10057 else case e in #(
   10058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10059 /* end confdefs.h.  */
   10060 int i;
   10061 _ACEOF
   10062 if ac_fn_c_try_compile "$LINENO"
   10063 then :
   10064   xorg_cv_cc_flag_unused_command_line_argument=yes
   10065 else case e in #(
   10066   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10067 esac
   10068 fi
   10069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10070 esac
   10071 fi
   10072 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10073 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 found="no"
   10079 
   10080 	if test $found = "no" ; then
   10081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10083 		fi
   10084 
   10085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10087 		fi
   10088 
   10089 		CFLAGS="$CFLAGS -Wmain"
   10090 
   10091 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   10092 printf %s "checking if $CC supports -Wmain... " >&6; }
   10093 		cacheid=xorg_cv_cc_flag__Wmain
   10094 		if eval test \${$cacheid+y}
   10095 then :
   10096   printf %s "(cached) " >&6
   10097 else case e in #(
   10098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10099 /* end confdefs.h.  */
   10100 int i;
   10101 int
   10102 main (void)
   10103 {
   10104 
   10105   ;
   10106   return 0;
   10107 }
   10108 _ACEOF
   10109 if ac_fn_c_try_link "$LINENO"
   10110 then :
   10111   eval $cacheid=yes
   10112 else case e in #(
   10113   e) eval $cacheid=no ;;
   10114 esac
   10115 fi
   10116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10117     conftest$ac_exeext conftest.$ac_ext ;;
   10118 esac
   10119 fi
   10120 
   10121 
   10122 		CFLAGS="$xorg_testset_save_CFLAGS"
   10123 
   10124 		eval supported=\$$cacheid
   10125 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10126 printf '%s\n' "$supported" >&6; }
   10127 		if test "$supported" = "yes" ; then
   10128 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   10129 			found="yes"
   10130 		fi
   10131 	fi
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 xorg_testset_save_CFLAGS="$CFLAGS"
   10148 
   10149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10151 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10152 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10153 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10154 then :
   10155   printf %s "(cached) " >&6
   10156 else case e in #(
   10157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10158 /* end confdefs.h.  */
   10159 int i;
   10160 _ACEOF
   10161 if ac_fn_c_try_compile "$LINENO"
   10162 then :
   10163   xorg_cv_cc_flag_unknown_warning_option=yes
   10164 else case e in #(
   10165   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10166 esac
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10169 esac
   10170 fi
   10171 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10172 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10174 	CFLAGS="$xorg_testset_save_CFLAGS"
   10175 fi
   10176 
   10177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10180 	fi
   10181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10182 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10185 then :
   10186   printf %s "(cached) " >&6
   10187 else case e in #(
   10188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10189 /* end confdefs.h.  */
   10190 int i;
   10191 _ACEOF
   10192 if ac_fn_c_try_compile "$LINENO"
   10193 then :
   10194   xorg_cv_cc_flag_unused_command_line_argument=yes
   10195 else case e in #(
   10196   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10197 esac
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10200 esac
   10201 fi
   10202 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10203 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10205 	CFLAGS="$xorg_testset_save_CFLAGS"
   10206 fi
   10207 
   10208 found="no"
   10209 
   10210 	if test $found = "no" ; then
   10211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10213 		fi
   10214 
   10215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10217 		fi
   10218 
   10219 		CFLAGS="$CFLAGS -Wmissing-braces"
   10220 
   10221 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10222 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10223 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10224 		if eval test \${$cacheid+y}
   10225 then :
   10226   printf %s "(cached) " >&6
   10227 else case e in #(
   10228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10229 /* end confdefs.h.  */
   10230 int i;
   10231 int
   10232 main (void)
   10233 {
   10234 
   10235   ;
   10236   return 0;
   10237 }
   10238 _ACEOF
   10239 if ac_fn_c_try_link "$LINENO"
   10240 then :
   10241   eval $cacheid=yes
   10242 else case e in #(
   10243   e) eval $cacheid=no ;;
   10244 esac
   10245 fi
   10246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10247     conftest$ac_exeext conftest.$ac_ext ;;
   10248 esac
   10249 fi
   10250 
   10251 
   10252 		CFLAGS="$xorg_testset_save_CFLAGS"
   10253 
   10254 		eval supported=\$$cacheid
   10255 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10256 printf '%s\n' "$supported" >&6; }
   10257 		if test "$supported" = "yes" ; then
   10258 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10259 			found="yes"
   10260 		fi
   10261 	fi
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 xorg_testset_save_CFLAGS="$CFLAGS"
   10278 
   10279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10281 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10282 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10283 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10284 then :
   10285   printf %s "(cached) " >&6
   10286 else case e in #(
   10287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10288 /* end confdefs.h.  */
   10289 int i;
   10290 _ACEOF
   10291 if ac_fn_c_try_compile "$LINENO"
   10292 then :
   10293   xorg_cv_cc_flag_unknown_warning_option=yes
   10294 else case e in #(
   10295   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10296 esac
   10297 fi
   10298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10299 esac
   10300 fi
   10301 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10302 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10304 	CFLAGS="$xorg_testset_save_CFLAGS"
   10305 fi
   10306 
   10307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10310 	fi
   10311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10312 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10313 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10314 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10315 then :
   10316   printf %s "(cached) " >&6
   10317 else case e in #(
   10318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 _ACEOF
   10322 if ac_fn_c_try_compile "$LINENO"
   10323 then :
   10324   xorg_cv_cc_flag_unused_command_line_argument=yes
   10325 else case e in #(
   10326   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10327 esac
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10330 esac
   10331 fi
   10332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10333 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10335 	CFLAGS="$xorg_testset_save_CFLAGS"
   10336 fi
   10337 
   10338 found="no"
   10339 
   10340 	if test $found = "no" ; then
   10341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10343 		fi
   10344 
   10345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10347 		fi
   10348 
   10349 		CFLAGS="$CFLAGS -Wsequence-point"
   10350 
   10351 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10352 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10353 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10354 		if eval test \${$cacheid+y}
   10355 then :
   10356   printf %s "(cached) " >&6
   10357 else case e in #(
   10358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10359 /* end confdefs.h.  */
   10360 int i;
   10361 int
   10362 main (void)
   10363 {
   10364 
   10365   ;
   10366   return 0;
   10367 }
   10368 _ACEOF
   10369 if ac_fn_c_try_link "$LINENO"
   10370 then :
   10371   eval $cacheid=yes
   10372 else case e in #(
   10373   e) eval $cacheid=no ;;
   10374 esac
   10375 fi
   10376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10377     conftest$ac_exeext conftest.$ac_ext ;;
   10378 esac
   10379 fi
   10380 
   10381 
   10382 		CFLAGS="$xorg_testset_save_CFLAGS"
   10383 
   10384 		eval supported=\$$cacheid
   10385 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10386 printf '%s\n' "$supported" >&6; }
   10387 		if test "$supported" = "yes" ; then
   10388 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10389 			found="yes"
   10390 		fi
   10391 	fi
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 xorg_testset_save_CFLAGS="$CFLAGS"
   10408 
   10409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10412 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10413 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10414 then :
   10415   printf %s "(cached) " >&6
   10416 else case e in #(
   10417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"
   10422 then :
   10423   xorg_cv_cc_flag_unknown_warning_option=yes
   10424 else case e in #(
   10425   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10426 esac
   10427 fi
   10428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10429 esac
   10430 fi
   10431 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10432 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10434 	CFLAGS="$xorg_testset_save_CFLAGS"
   10435 fi
   10436 
   10437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10440 	fi
   10441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10442 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10443 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10444 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10445 then :
   10446   printf %s "(cached) " >&6
   10447 else case e in #(
   10448   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 _ACEOF
   10452 if ac_fn_c_try_compile "$LINENO"
   10453 then :
   10454   xorg_cv_cc_flag_unused_command_line_argument=yes
   10455 else case e in #(
   10456   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10457 esac
   10458 fi
   10459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10460 esac
   10461 fi
   10462 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10463 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10465 	CFLAGS="$xorg_testset_save_CFLAGS"
   10466 fi
   10467 
   10468 found="no"
   10469 
   10470 	if test $found = "no" ; then
   10471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10473 		fi
   10474 
   10475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10477 		fi
   10478 
   10479 		CFLAGS="$CFLAGS -Wreturn-type"
   10480 
   10481 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10482 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10483 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10484 		if eval test \${$cacheid+y}
   10485 then :
   10486   printf %s "(cached) " >&6
   10487 else case e in #(
   10488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10489 /* end confdefs.h.  */
   10490 int i;
   10491 int
   10492 main (void)
   10493 {
   10494 
   10495   ;
   10496   return 0;
   10497 }
   10498 _ACEOF
   10499 if ac_fn_c_try_link "$LINENO"
   10500 then :
   10501   eval $cacheid=yes
   10502 else case e in #(
   10503   e) eval $cacheid=no ;;
   10504 esac
   10505 fi
   10506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10507     conftest$ac_exeext conftest.$ac_ext ;;
   10508 esac
   10509 fi
   10510 
   10511 
   10512 		CFLAGS="$xorg_testset_save_CFLAGS"
   10513 
   10514 		eval supported=\$$cacheid
   10515 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10516 printf '%s\n' "$supported" >&6; }
   10517 		if test "$supported" = "yes" ; then
   10518 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10519 			found="yes"
   10520 		fi
   10521 	fi
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 xorg_testset_save_CFLAGS="$CFLAGS"
   10538 
   10539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10541 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10544 then :
   10545   printf %s "(cached) " >&6
   10546 else case e in #(
   10547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 _ACEOF
   10551 if ac_fn_c_try_compile "$LINENO"
   10552 then :
   10553   xorg_cv_cc_flag_unknown_warning_option=yes
   10554 else case e in #(
   10555   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10556 esac
   10557 fi
   10558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10559 esac
   10560 fi
   10561 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10562 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10564 	CFLAGS="$xorg_testset_save_CFLAGS"
   10565 fi
   10566 
   10567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10570 	fi
   10571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10572 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10573 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10574 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10575 then :
   10576   printf %s "(cached) " >&6
   10577 else case e in #(
   10578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10579 /* end confdefs.h.  */
   10580 int i;
   10581 _ACEOF
   10582 if ac_fn_c_try_compile "$LINENO"
   10583 then :
   10584   xorg_cv_cc_flag_unused_command_line_argument=yes
   10585 else case e in #(
   10586   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10587 esac
   10588 fi
   10589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10590 esac
   10591 fi
   10592 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10593 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10595 	CFLAGS="$xorg_testset_save_CFLAGS"
   10596 fi
   10597 
   10598 found="no"
   10599 
   10600 	if test $found = "no" ; then
   10601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10603 		fi
   10604 
   10605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10607 		fi
   10608 
   10609 		CFLAGS="$CFLAGS -Wtrigraphs"
   10610 
   10611 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10612 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10613 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10614 		if eval test \${$cacheid+y}
   10615 then :
   10616   printf %s "(cached) " >&6
   10617 else case e in #(
   10618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int i;
   10621 int
   10622 main (void)
   10623 {
   10624 
   10625   ;
   10626   return 0;
   10627 }
   10628 _ACEOF
   10629 if ac_fn_c_try_link "$LINENO"
   10630 then :
   10631   eval $cacheid=yes
   10632 else case e in #(
   10633   e) eval $cacheid=no ;;
   10634 esac
   10635 fi
   10636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10637     conftest$ac_exeext conftest.$ac_ext ;;
   10638 esac
   10639 fi
   10640 
   10641 
   10642 		CFLAGS="$xorg_testset_save_CFLAGS"
   10643 
   10644 		eval supported=\$$cacheid
   10645 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10646 printf '%s\n' "$supported" >&6; }
   10647 		if test "$supported" = "yes" ; then
   10648 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10649 			found="yes"
   10650 		fi
   10651 	fi
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 xorg_testset_save_CFLAGS="$CFLAGS"
   10668 
   10669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10671 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10674 then :
   10675   printf %s "(cached) " >&6
   10676 else case e in #(
   10677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10678 /* end confdefs.h.  */
   10679 int i;
   10680 _ACEOF
   10681 if ac_fn_c_try_compile "$LINENO"
   10682 then :
   10683   xorg_cv_cc_flag_unknown_warning_option=yes
   10684 else case e in #(
   10685   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10686 esac
   10687 fi
   10688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10689 esac
   10690 fi
   10691 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10692 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10694 	CFLAGS="$xorg_testset_save_CFLAGS"
   10695 fi
   10696 
   10697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10700 	fi
   10701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10702 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10705 then :
   10706   printf %s "(cached) " >&6
   10707 else case e in #(
   10708   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10709 /* end confdefs.h.  */
   10710 int i;
   10711 _ACEOF
   10712 if ac_fn_c_try_compile "$LINENO"
   10713 then :
   10714   xorg_cv_cc_flag_unused_command_line_argument=yes
   10715 else case e in #(
   10716   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10717 esac
   10718 fi
   10719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10720 esac
   10721 fi
   10722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10723 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10725 	CFLAGS="$xorg_testset_save_CFLAGS"
   10726 fi
   10727 
   10728 found="no"
   10729 
   10730 	if test $found = "no" ; then
   10731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10733 		fi
   10734 
   10735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10737 		fi
   10738 
   10739 		CFLAGS="$CFLAGS -Warray-bounds"
   10740 
   10741 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10742 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10743 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10744 		if eval test \${$cacheid+y}
   10745 then :
   10746   printf %s "(cached) " >&6
   10747 else case e in #(
   10748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10749 /* end confdefs.h.  */
   10750 int i;
   10751 int
   10752 main (void)
   10753 {
   10754 
   10755   ;
   10756   return 0;
   10757 }
   10758 _ACEOF
   10759 if ac_fn_c_try_link "$LINENO"
   10760 then :
   10761   eval $cacheid=yes
   10762 else case e in #(
   10763   e) eval $cacheid=no ;;
   10764 esac
   10765 fi
   10766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10767     conftest$ac_exeext conftest.$ac_ext ;;
   10768 esac
   10769 fi
   10770 
   10771 
   10772 		CFLAGS="$xorg_testset_save_CFLAGS"
   10773 
   10774 		eval supported=\$$cacheid
   10775 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10776 printf '%s\n' "$supported" >&6; }
   10777 		if test "$supported" = "yes" ; then
   10778 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10779 			found="yes"
   10780 		fi
   10781 	fi
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 xorg_testset_save_CFLAGS="$CFLAGS"
   10798 
   10799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10801 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10802 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10803 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10804 then :
   10805   printf %s "(cached) " >&6
   10806 else case e in #(
   10807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10808 /* end confdefs.h.  */
   10809 int i;
   10810 _ACEOF
   10811 if ac_fn_c_try_compile "$LINENO"
   10812 then :
   10813   xorg_cv_cc_flag_unknown_warning_option=yes
   10814 else case e in #(
   10815   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10816 esac
   10817 fi
   10818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10819 esac
   10820 fi
   10821 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10822 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10824 	CFLAGS="$xorg_testset_save_CFLAGS"
   10825 fi
   10826 
   10827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10830 	fi
   10831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10832 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10833 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10834 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10835 then :
   10836   printf %s "(cached) " >&6
   10837 else case e in #(
   10838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10839 /* end confdefs.h.  */
   10840 int i;
   10841 _ACEOF
   10842 if ac_fn_c_try_compile "$LINENO"
   10843 then :
   10844   xorg_cv_cc_flag_unused_command_line_argument=yes
   10845 else case e in #(
   10846   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10847 esac
   10848 fi
   10849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10850 esac
   10851 fi
   10852 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10853 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10855 	CFLAGS="$xorg_testset_save_CFLAGS"
   10856 fi
   10857 
   10858 found="no"
   10859 
   10860 	if test $found = "no" ; then
   10861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10863 		fi
   10864 
   10865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10867 		fi
   10868 
   10869 		CFLAGS="$CFLAGS -Wwrite-strings"
   10870 
   10871 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10872 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10873 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10874 		if eval test \${$cacheid+y}
   10875 then :
   10876   printf %s "(cached) " >&6
   10877 else case e in #(
   10878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10879 /* end confdefs.h.  */
   10880 int i;
   10881 int
   10882 main (void)
   10883 {
   10884 
   10885   ;
   10886   return 0;
   10887 }
   10888 _ACEOF
   10889 if ac_fn_c_try_link "$LINENO"
   10890 then :
   10891   eval $cacheid=yes
   10892 else case e in #(
   10893   e) eval $cacheid=no ;;
   10894 esac
   10895 fi
   10896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10897     conftest$ac_exeext conftest.$ac_ext ;;
   10898 esac
   10899 fi
   10900 
   10901 
   10902 		CFLAGS="$xorg_testset_save_CFLAGS"
   10903 
   10904 		eval supported=\$$cacheid
   10905 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10906 printf '%s\n' "$supported" >&6; }
   10907 		if test "$supported" = "yes" ; then
   10908 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10909 			found="yes"
   10910 		fi
   10911 	fi
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 xorg_testset_save_CFLAGS="$CFLAGS"
   10928 
   10929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10931 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10934 then :
   10935   printf %s "(cached) " >&6
   10936 else case e in #(
   10937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10938 /* end confdefs.h.  */
   10939 int i;
   10940 _ACEOF
   10941 if ac_fn_c_try_compile "$LINENO"
   10942 then :
   10943   xorg_cv_cc_flag_unknown_warning_option=yes
   10944 else case e in #(
   10945   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10946 esac
   10947 fi
   10948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10949 esac
   10950 fi
   10951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10952 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10954 	CFLAGS="$xorg_testset_save_CFLAGS"
   10955 fi
   10956 
   10957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10960 	fi
   10961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10962 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10963 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10964 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10965 then :
   10966   printf %s "(cached) " >&6
   10967 else case e in #(
   10968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10969 /* end confdefs.h.  */
   10970 int i;
   10971 _ACEOF
   10972 if ac_fn_c_try_compile "$LINENO"
   10973 then :
   10974   xorg_cv_cc_flag_unused_command_line_argument=yes
   10975 else case e in #(
   10976   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10977 esac
   10978 fi
   10979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10980 esac
   10981 fi
   10982 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10983 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10985 	CFLAGS="$xorg_testset_save_CFLAGS"
   10986 fi
   10987 
   10988 found="no"
   10989 
   10990 	if test $found = "no" ; then
   10991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10993 		fi
   10994 
   10995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10997 		fi
   10998 
   10999 		CFLAGS="$CFLAGS -Waddress"
   11000 
   11001 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   11002 printf %s "checking if $CC supports -Waddress... " >&6; }
   11003 		cacheid=xorg_cv_cc_flag__Waddress
   11004 		if eval test \${$cacheid+y}
   11005 then :
   11006   printf %s "(cached) " >&6
   11007 else case e in #(
   11008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11009 /* end confdefs.h.  */
   11010 int i;
   11011 int
   11012 main (void)
   11013 {
   11014 
   11015   ;
   11016   return 0;
   11017 }
   11018 _ACEOF
   11019 if ac_fn_c_try_link "$LINENO"
   11020 then :
   11021   eval $cacheid=yes
   11022 else case e in #(
   11023   e) eval $cacheid=no ;;
   11024 esac
   11025 fi
   11026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11027     conftest$ac_exeext conftest.$ac_ext ;;
   11028 esac
   11029 fi
   11030 
   11031 
   11032 		CFLAGS="$xorg_testset_save_CFLAGS"
   11033 
   11034 		eval supported=\$$cacheid
   11035 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11036 printf '%s\n' "$supported" >&6; }
   11037 		if test "$supported" = "yes" ; then
   11038 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   11039 			found="yes"
   11040 		fi
   11041 	fi
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 xorg_testset_save_CFLAGS="$CFLAGS"
   11058 
   11059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11061 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11062 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11063 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11064 then :
   11065   printf %s "(cached) " >&6
   11066 else case e in #(
   11067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11068 /* end confdefs.h.  */
   11069 int i;
   11070 _ACEOF
   11071 if ac_fn_c_try_compile "$LINENO"
   11072 then :
   11073   xorg_cv_cc_flag_unknown_warning_option=yes
   11074 else case e in #(
   11075   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11076 esac
   11077 fi
   11078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11079 esac
   11080 fi
   11081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11082 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11084 	CFLAGS="$xorg_testset_save_CFLAGS"
   11085 fi
   11086 
   11087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11090 	fi
   11091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11092 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11095 then :
   11096   printf %s "(cached) " >&6
   11097 else case e in #(
   11098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11099 /* end confdefs.h.  */
   11100 int i;
   11101 _ACEOF
   11102 if ac_fn_c_try_compile "$LINENO"
   11103 then :
   11104   xorg_cv_cc_flag_unused_command_line_argument=yes
   11105 else case e in #(
   11106   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11107 esac
   11108 fi
   11109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11110 esac
   11111 fi
   11112 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11113 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11115 	CFLAGS="$xorg_testset_save_CFLAGS"
   11116 fi
   11117 
   11118 found="no"
   11119 
   11120 	if test $found = "no" ; then
   11121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11123 		fi
   11124 
   11125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11127 		fi
   11128 
   11129 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   11130 
   11131 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   11132 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   11133 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   11134 		if eval test \${$cacheid+y}
   11135 then :
   11136   printf %s "(cached) " >&6
   11137 else case e in #(
   11138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11139 /* end confdefs.h.  */
   11140 int i;
   11141 int
   11142 main (void)
   11143 {
   11144 
   11145   ;
   11146   return 0;
   11147 }
   11148 _ACEOF
   11149 if ac_fn_c_try_link "$LINENO"
   11150 then :
   11151   eval $cacheid=yes
   11152 else case e in #(
   11153   e) eval $cacheid=no ;;
   11154 esac
   11155 fi
   11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11157     conftest$ac_exeext conftest.$ac_ext ;;
   11158 esac
   11159 fi
   11160 
   11161 
   11162 		CFLAGS="$xorg_testset_save_CFLAGS"
   11163 
   11164 		eval supported=\$$cacheid
   11165 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11166 printf '%s\n' "$supported" >&6; }
   11167 		if test "$supported" = "yes" ; then
   11168 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   11169 			found="yes"
   11170 		fi
   11171 	fi
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 xorg_testset_save_CFLAGS="$CFLAGS"
   11188 
   11189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11191 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11192 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11193 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11194 then :
   11195   printf %s "(cached) " >&6
   11196 else case e in #(
   11197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11198 /* end confdefs.h.  */
   11199 int i;
   11200 _ACEOF
   11201 if ac_fn_c_try_compile "$LINENO"
   11202 then :
   11203   xorg_cv_cc_flag_unknown_warning_option=yes
   11204 else case e in #(
   11205   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11206 esac
   11207 fi
   11208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11209 esac
   11210 fi
   11211 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11212 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11214 	CFLAGS="$xorg_testset_save_CFLAGS"
   11215 fi
   11216 
   11217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11220 	fi
   11221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11222 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11223 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11224 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11225 then :
   11226   printf %s "(cached) " >&6
   11227 else case e in #(
   11228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11229 /* end confdefs.h.  */
   11230 int i;
   11231 _ACEOF
   11232 if ac_fn_c_try_compile "$LINENO"
   11233 then :
   11234   xorg_cv_cc_flag_unused_command_line_argument=yes
   11235 else case e in #(
   11236   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11237 esac
   11238 fi
   11239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11240 esac
   11241 fi
   11242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11243 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11245 	CFLAGS="$xorg_testset_save_CFLAGS"
   11246 fi
   11247 
   11248 found="no"
   11249 
   11250 	if test $found = "no" ; then
   11251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11253 		fi
   11254 
   11255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11257 		fi
   11258 
   11259 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11260 
   11261 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11262 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11263 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11264 		if eval test \${$cacheid+y}
   11265 then :
   11266   printf %s "(cached) " >&6
   11267 else case e in #(
   11268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11269 /* end confdefs.h.  */
   11270 int i;
   11271 int
   11272 main (void)
   11273 {
   11274 
   11275   ;
   11276   return 0;
   11277 }
   11278 _ACEOF
   11279 if ac_fn_c_try_link "$LINENO"
   11280 then :
   11281   eval $cacheid=yes
   11282 else case e in #(
   11283   e) eval $cacheid=no ;;
   11284 esac
   11285 fi
   11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11287     conftest$ac_exeext conftest.$ac_ext ;;
   11288 esac
   11289 fi
   11290 
   11291 
   11292 		CFLAGS="$xorg_testset_save_CFLAGS"
   11293 
   11294 		eval supported=\$$cacheid
   11295 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11296 printf '%s\n' "$supported" >&6; }
   11297 		if test "$supported" = "yes" ; then
   11298 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11299 			found="yes"
   11300 		fi
   11301 	fi
   11302 
   11303 
   11304 fi
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 		CWARNFLAGS="$BASE_CFLAGS"
   11313 		if  test "x$GCC" = xyes ; then
   11314 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11315 		fi
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 # Check whether --enable-strict-compilation was given.
   11325 if test ${enable_strict_compilation+y}
   11326 then :
   11327   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11328 else case e in #(
   11329   e) STRICT_COMPILE=no ;;
   11330 esac
   11331 fi
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 STRICT_CFLAGS=""
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 xorg_testset_save_CFLAGS="$CFLAGS"
   11353 
   11354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11356 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11357 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11358 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11359 then :
   11360   printf %s "(cached) " >&6
   11361 else case e in #(
   11362   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11363 /* end confdefs.h.  */
   11364 int i;
   11365 _ACEOF
   11366 if ac_fn_c_try_compile "$LINENO"
   11367 then :
   11368   xorg_cv_cc_flag_unknown_warning_option=yes
   11369 else case e in #(
   11370   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11371 esac
   11372 fi
   11373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11374 esac
   11375 fi
   11376 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11377 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11379 	CFLAGS="$xorg_testset_save_CFLAGS"
   11380 fi
   11381 
   11382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11385 	fi
   11386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11387 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11388 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11389 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11390 then :
   11391   printf %s "(cached) " >&6
   11392 else case e in #(
   11393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11394 /* end confdefs.h.  */
   11395 int i;
   11396 _ACEOF
   11397 if ac_fn_c_try_compile "$LINENO"
   11398 then :
   11399   xorg_cv_cc_flag_unused_command_line_argument=yes
   11400 else case e in #(
   11401   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11402 esac
   11403 fi
   11404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11405 esac
   11406 fi
   11407 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11408 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11410 	CFLAGS="$xorg_testset_save_CFLAGS"
   11411 fi
   11412 
   11413 found="no"
   11414 
   11415 	if test $found = "no" ; then
   11416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11418 		fi
   11419 
   11420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11422 		fi
   11423 
   11424 		CFLAGS="$CFLAGS -pedantic"
   11425 
   11426 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11427 printf %s "checking if $CC supports -pedantic... " >&6; }
   11428 		cacheid=xorg_cv_cc_flag__pedantic
   11429 		if eval test \${$cacheid+y}
   11430 then :
   11431   printf %s "(cached) " >&6
   11432 else case e in #(
   11433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11434 /* end confdefs.h.  */
   11435 int i;
   11436 int
   11437 main (void)
   11438 {
   11439 
   11440   ;
   11441   return 0;
   11442 }
   11443 _ACEOF
   11444 if ac_fn_c_try_link "$LINENO"
   11445 then :
   11446   eval $cacheid=yes
   11447 else case e in #(
   11448   e) eval $cacheid=no ;;
   11449 esac
   11450 fi
   11451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11452     conftest$ac_exeext conftest.$ac_ext ;;
   11453 esac
   11454 fi
   11455 
   11456 
   11457 		CFLAGS="$xorg_testset_save_CFLAGS"
   11458 
   11459 		eval supported=\$$cacheid
   11460 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11461 printf '%s\n' "$supported" >&6; }
   11462 		if test "$supported" = "yes" ; then
   11463 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11464 			found="yes"
   11465 		fi
   11466 	fi
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 xorg_testset_save_CFLAGS="$CFLAGS"
   11483 
   11484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11486 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11487 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11488 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11489 then :
   11490   printf %s "(cached) " >&6
   11491 else case e in #(
   11492   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11493 /* end confdefs.h.  */
   11494 int i;
   11495 _ACEOF
   11496 if ac_fn_c_try_compile "$LINENO"
   11497 then :
   11498   xorg_cv_cc_flag_unknown_warning_option=yes
   11499 else case e in #(
   11500   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11501 esac
   11502 fi
   11503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11504 esac
   11505 fi
   11506 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11507 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11509 	CFLAGS="$xorg_testset_save_CFLAGS"
   11510 fi
   11511 
   11512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11515 	fi
   11516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11517 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11518 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11519 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11520 then :
   11521   printf %s "(cached) " >&6
   11522 else case e in #(
   11523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11524 /* end confdefs.h.  */
   11525 int i;
   11526 _ACEOF
   11527 if ac_fn_c_try_compile "$LINENO"
   11528 then :
   11529   xorg_cv_cc_flag_unused_command_line_argument=yes
   11530 else case e in #(
   11531   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11532 esac
   11533 fi
   11534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11535 esac
   11536 fi
   11537 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11538 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11540 	CFLAGS="$xorg_testset_save_CFLAGS"
   11541 fi
   11542 
   11543 found="no"
   11544 
   11545 	if test $found = "no" ; then
   11546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11548 		fi
   11549 
   11550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11552 		fi
   11553 
   11554 		CFLAGS="$CFLAGS -Werror"
   11555 
   11556 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11557 printf %s "checking if $CC supports -Werror... " >&6; }
   11558 		cacheid=xorg_cv_cc_flag__Werror
   11559 		if eval test \${$cacheid+y}
   11560 then :
   11561   printf %s "(cached) " >&6
   11562 else case e in #(
   11563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11564 /* end confdefs.h.  */
   11565 int i;
   11566 int
   11567 main (void)
   11568 {
   11569 
   11570   ;
   11571   return 0;
   11572 }
   11573 _ACEOF
   11574 if ac_fn_c_try_link "$LINENO"
   11575 then :
   11576   eval $cacheid=yes
   11577 else case e in #(
   11578   e) eval $cacheid=no ;;
   11579 esac
   11580 fi
   11581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11582     conftest$ac_exeext conftest.$ac_ext ;;
   11583 esac
   11584 fi
   11585 
   11586 
   11587 		CFLAGS="$xorg_testset_save_CFLAGS"
   11588 
   11589 		eval supported=\$$cacheid
   11590 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11591 printf '%s\n' "$supported" >&6; }
   11592 		if test "$supported" = "yes" ; then
   11593 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11594 			found="yes"
   11595 		fi
   11596 	fi
   11597 
   11598 	if test $found = "no" ; then
   11599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11601 		fi
   11602 
   11603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11605 		fi
   11606 
   11607 		CFLAGS="$CFLAGS -errwarn"
   11608 
   11609 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11610 printf %s "checking if $CC supports -errwarn... " >&6; }
   11611 		cacheid=xorg_cv_cc_flag__errwarn
   11612 		if eval test \${$cacheid+y}
   11613 then :
   11614   printf %s "(cached) " >&6
   11615 else case e in #(
   11616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11617 /* end confdefs.h.  */
   11618 int i;
   11619 int
   11620 main (void)
   11621 {
   11622 
   11623   ;
   11624   return 0;
   11625 }
   11626 _ACEOF
   11627 if ac_fn_c_try_link "$LINENO"
   11628 then :
   11629   eval $cacheid=yes
   11630 else case e in #(
   11631   e) eval $cacheid=no ;;
   11632 esac
   11633 fi
   11634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11635     conftest$ac_exeext conftest.$ac_ext ;;
   11636 esac
   11637 fi
   11638 
   11639 
   11640 		CFLAGS="$xorg_testset_save_CFLAGS"
   11641 
   11642 		eval supported=\$$cacheid
   11643 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11644 printf '%s\n' "$supported" >&6; }
   11645 		if test "$supported" = "yes" ; then
   11646 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11647 			found="yes"
   11648 		fi
   11649 	fi
   11650 
   11651 
   11652 
   11653 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11654 # activate it with -Werror, so we add it here explicitly.
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 xorg_testset_save_CFLAGS="$CFLAGS"
   11669 
   11670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11672 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11673 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11674 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11675 then :
   11676   printf %s "(cached) " >&6
   11677 else case e in #(
   11678   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11679 /* end confdefs.h.  */
   11680 int i;
   11681 _ACEOF
   11682 if ac_fn_c_try_compile "$LINENO"
   11683 then :
   11684   xorg_cv_cc_flag_unknown_warning_option=yes
   11685 else case e in #(
   11686   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11687 esac
   11688 fi
   11689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11690 esac
   11691 fi
   11692 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11693 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11695 	CFLAGS="$xorg_testset_save_CFLAGS"
   11696 fi
   11697 
   11698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11701 	fi
   11702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11703 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11704 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11705 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11706 then :
   11707   printf %s "(cached) " >&6
   11708 else case e in #(
   11709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11710 /* end confdefs.h.  */
   11711 int i;
   11712 _ACEOF
   11713 if ac_fn_c_try_compile "$LINENO"
   11714 then :
   11715   xorg_cv_cc_flag_unused_command_line_argument=yes
   11716 else case e in #(
   11717   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11718 esac
   11719 fi
   11720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11721 esac
   11722 fi
   11723 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11724 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11726 	CFLAGS="$xorg_testset_save_CFLAGS"
   11727 fi
   11728 
   11729 found="no"
   11730 
   11731 	if test $found = "no" ; then
   11732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11734 		fi
   11735 
   11736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11738 		fi
   11739 
   11740 		CFLAGS="$CFLAGS -Werror=attributes"
   11741 
   11742 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11743 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11744 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11745 		if eval test \${$cacheid+y}
   11746 then :
   11747   printf %s "(cached) " >&6
   11748 else case e in #(
   11749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11750 /* end confdefs.h.  */
   11751 int i;
   11752 int
   11753 main (void)
   11754 {
   11755 
   11756   ;
   11757   return 0;
   11758 }
   11759 _ACEOF
   11760 if ac_fn_c_try_link "$LINENO"
   11761 then :
   11762   eval $cacheid=yes
   11763 else case e in #(
   11764   e) eval $cacheid=no ;;
   11765 esac
   11766 fi
   11767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11768     conftest$ac_exeext conftest.$ac_ext ;;
   11769 esac
   11770 fi
   11771 
   11772 
   11773 		CFLAGS="$xorg_testset_save_CFLAGS"
   11774 
   11775 		eval supported=\$$cacheid
   11776 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11777 printf '%s\n' "$supported" >&6; }
   11778 		if test "$supported" = "yes" ; then
   11779 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11780 			found="yes"
   11781 		fi
   11782 	fi
   11783 
   11784 
   11785 
   11786 if test "x$STRICT_COMPILE" = "xyes"; then
   11787     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11788     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11789 fi
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 cat >>confdefs.h <<_ACEOF
   11799 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11800 _ACEOF
   11801 
   11802 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11803 	if test "x$PVM" = "x"; then
   11804 		PVM="0"
   11805 	fi
   11806 
   11807 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11808 
   11809 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11810 	if test "x$PVP" = "x"; then
   11811 		PVP="0"
   11812 	fi
   11813 
   11814 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11815 
   11816 
   11817 
   11818 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11819 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11820 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11821 touch \$(top_srcdir)/ChangeLog; \
   11822 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11823 
   11824 
   11825 
   11826 
   11827 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11828 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11829 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11830 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11831 touch \$(top_srcdir)/INSTALL; \
   11832 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 case $host_os in
   11840     solaris*)
   11841         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11842         # check for a man page file found in later versions that use
   11843         # traditional section numbers instead
   11844         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11845 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11846 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11847 then :
   11848   printf %s "(cached) " >&6
   11849 else case e in #(
   11850   e) test "$cross_compiling" = yes &&
   11851   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11852 if test -r "/usr/share/man/man7/attributes.7"; then
   11853   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11854 else
   11855   ac_cv_file__usr_share_man_man7_attributes_7=no
   11856 fi ;;
   11857 esac
   11858 fi
   11859 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11860 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11861 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11862 then :
   11863   SYSV_MAN_SECTIONS=false
   11864 else case e in #(
   11865   e) SYSV_MAN_SECTIONS=true ;;
   11866 esac
   11867 fi
   11868 
   11869         ;;
   11870     *) SYSV_MAN_SECTIONS=false ;;
   11871 esac
   11872 
   11873 if test x$APP_MAN_SUFFIX = x    ; then
   11874     APP_MAN_SUFFIX=1
   11875 fi
   11876 if test x$APP_MAN_DIR = x    ; then
   11877     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11878 fi
   11879 
   11880 if test x$LIB_MAN_SUFFIX = x    ; then
   11881     LIB_MAN_SUFFIX=3
   11882 fi
   11883 if test x$LIB_MAN_DIR = x    ; then
   11884     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11885 fi
   11886 
   11887 if test x$FILE_MAN_SUFFIX = x    ; then
   11888     case $SYSV_MAN_SECTIONS in
   11889 	true)				FILE_MAN_SUFFIX=4  ;;
   11890 	*)				FILE_MAN_SUFFIX=5  ;;
   11891     esac
   11892 fi
   11893 if test x$FILE_MAN_DIR = x    ; then
   11894     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11895 fi
   11896 
   11897 if test x$MISC_MAN_SUFFIX = x    ; then
   11898     case $SYSV_MAN_SECTIONS in
   11899 	true)				MISC_MAN_SUFFIX=5  ;;
   11900 	*)				MISC_MAN_SUFFIX=7  ;;
   11901     esac
   11902 fi
   11903 if test x$MISC_MAN_DIR = x    ; then
   11904     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11905 fi
   11906 
   11907 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11908     case $SYSV_MAN_SECTIONS in
   11909 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11910 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11911     esac
   11912 fi
   11913 if test x$DRIVER_MAN_DIR = x    ; then
   11914     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11915 fi
   11916 
   11917 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11918     case $SYSV_MAN_SECTIONS in
   11919 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11920 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11921     esac
   11922 fi
   11923 if test x$ADMIN_MAN_DIR = x    ; then
   11924     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11925 fi
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 XORG_MAN_PAGE="X Version 11"
   11942 
   11943 MAN_SUBSTS="\
   11944 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11945 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11946 	-e 's|__xservername__|Xorg|g' \
   11947 	-e 's|__xconfigfile__|xorg.conf|g' \
   11948 	-e 's|__projectroot__|\$(prefix)|g' \
   11949 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11950 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11951 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11952 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11953 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11954 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11955 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11956 
   11957 
   11958 
   11959 
   11960 AM_DEFAULT_VERBOSITY=0
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 ac_fn_c_check_header_compile "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
   11967 if test "x$ac_cv_header_xlocale_h" = xyes
   11968 then :
   11969   printf '%s\n' "#define HAVE_XLOCALE_H 1" >>confdefs.h
   11970 
   11971 fi
   11972 
   11973 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   11974 if test "x$ac_cv_func_strlcpy" = xyes
   11975 then :
   11976   printf '%s\n' "#define HAVE_STRLCPY 1" >>confdefs.h
   11977 
   11978 fi
   11979 ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
   11980 if test "x$ac_cv_func_getpid" = xyes
   11981 then :
   11982   printf '%s\n' "#define HAVE_GETPID 1" >>confdefs.h
   11983 
   11984 fi
   11985 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   11986 if test "x$ac_cv_func_nl_langinfo" = xyes
   11987 then :
   11988   printf '%s\n' "#define HAVE_NL_LANGINFO 1" >>confdefs.h
   11989 
   11990 fi
   11991 
   11992 
   11993 
   11994       if test "X$prefix" = "XNONE"; then
   11995     acl_final_prefix="$ac_default_prefix"
   11996   else
   11997     acl_final_prefix="$prefix"
   11998   fi
   11999   if test "X$exec_prefix" = "XNONE"; then
   12000     acl_final_exec_prefix='${prefix}'
   12001   else
   12002     acl_final_exec_prefix="$exec_prefix"
   12003   fi
   12004   acl_saved_prefix="$prefix"
   12005   prefix="$acl_final_prefix"
   12006   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12007   prefix="$acl_saved_prefix"
   12008 
   12009 
   12010 
   12011 # Check whether --with-gnu-ld was given.
   12012 if test ${with_gnu_ld+y}
   12013 then :
   12014   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12015 else case e in #(
   12016   e) with_gnu_ld=no ;;
   12017 esac
   12018 fi
   12019 
   12020 # Prepare PATH_SEPARATOR.
   12021 # The user is always right.
   12022 if test "${PATH_SEPARATOR+set}" != set; then
   12023   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   12024   # contains only /bin. Note that ksh looks also at the FPATH variable,
   12025   # so we have to set that as well for the test.
   12026   PATH_SEPARATOR=:
   12027   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   12028     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   12029            || PATH_SEPARATOR=';'
   12030        }
   12031 fi
   12032 
   12033 if test -n "$LD"; then
   12034   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
   12035 printf %s "checking for ld... " >&6; }
   12036 elif test "$GCC" = yes; then
   12037   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12038 printf %s "checking for ld used by $CC... " >&6; }
   12039 elif test "$with_gnu_ld" = yes; then
   12040   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12041 printf %s "checking for GNU ld... " >&6; }
   12042 else
   12043   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12044 printf %s "checking for non-GNU ld... " >&6; }
   12045 fi
   12046 if test -n "$LD"; then
   12047   # Let the user override the test with a path.
   12048   :
   12049 else
   12050   if test ${acl_cv_path_LD+y}
   12051 then :
   12052   printf %s "(cached) " >&6
   12053 else case e in #(
   12054   e)
   12055     acl_cv_path_LD= # Final result of this test
   12056     ac_prog=ld # Program to search in $PATH
   12057     if test "$GCC" = yes; then
   12058       # Check if gcc -print-prog-name=ld gives a path.
   12059       case $host in
   12060         *-*-mingw* | windows*)
   12061           # gcc leaves a trailing carriage return which upsets mingw
   12062           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12063         *)
   12064           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
   12065       esac
   12066       case $acl_output in
   12067         # Accept absolute paths.
   12068         [\\/]* | ?:[\\/]*)
   12069           re_direlt='/[^/][^/]*/\.\./'
   12070           # Canonicalize the pathname of ld
   12071           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
   12072           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
   12073             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
   12074           done
   12075           # Got the pathname. No search in PATH is needed.
   12076           acl_cv_path_LD="$acl_output"
   12077           ac_prog=
   12078           ;;
   12079         "")
   12080           # If it fails, then pretend we aren't using GCC.
   12081           ;;
   12082         *)
   12083           # If it is relative, then search for the first ld in PATH.
   12084           with_gnu_ld=unknown
   12085           ;;
   12086       esac
   12087     fi
   12088     if test -n "$ac_prog"; then
   12089       # Search for $ac_prog in $PATH.
   12090       acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12091       for ac_dir in $PATH; do
   12092         IFS="$acl_saved_IFS"
   12093         test -z "$ac_dir" && ac_dir=.
   12094         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12095           acl_cv_path_LD="$ac_dir/$ac_prog"
   12096           # Check to see if the program is GNU ld.  I'd rather use --version,
   12097           # but apparently some variants of GNU ld only accept -v.
   12098           # Break only if it was the GNU/non-GNU ld that we prefer.
   12099           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   12100             *GNU* | *'with BFD'*)
   12101               test "$with_gnu_ld" != no && break
   12102               ;;
   12103             *)
   12104               test "$with_gnu_ld" != yes && break
   12105               ;;
   12106           esac
   12107         fi
   12108       done
   12109       IFS="$acl_saved_IFS"
   12110     fi
   12111     case $host in
   12112       *-*-aix*)
   12113         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12114 /* end confdefs.h.  */
   12115 #if defined __powerpc64__ || defined __LP64__
   12116                 int ok;
   12117                #else
   12118                 error fail
   12119                #endif
   12120 
   12121 _ACEOF
   12122 if ac_fn_c_try_compile "$LINENO"
   12123 then :
   12124   # The compiler produces 64-bit code. Add option '-b64' so that the
   12125            # linker groks 64-bit object files.
   12126            case "$acl_cv_path_LD " in
   12127              *" -b64 "*) ;;
   12128              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
   12129            esac
   12130 
   12131 fi
   12132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12133         ;;
   12134       sparc64-*-netbsd*)
   12135         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12136 /* end confdefs.h.  */
   12137 #if defined __sparcv9 || defined __arch64__
   12138                 int ok;
   12139                #else
   12140                 error fail
   12141                #endif
   12142 
   12143 _ACEOF
   12144 if ac_fn_c_try_compile "$LINENO"
   12145 then :
   12146 
   12147 else case e in #(
   12148   e) # The compiler produces 32-bit code. Add option '-m elf32_sparc'
   12149            # so that the linker groks 32-bit object files.
   12150            case "$acl_cv_path_LD " in
   12151              *" -m elf32_sparc "*) ;;
   12152              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
   12153            esac
   12154            ;;
   12155 esac
   12156 fi
   12157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12158         ;;
   12159     esac
   12160    ;;
   12161 esac
   12162 fi
   12163 
   12164   LD="$acl_cv_path_LD"
   12165 fi
   12166 if test -n "$LD"; then
   12167   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12168 printf '%s\n' "$LD" >&6; }
   12169 else
   12170   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12171 printf '%s\n' "no" >&6; }
   12172   as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12173 fi
   12174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12175 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12176 if test ${acl_cv_prog_gnu_ld+y}
   12177 then :
   12178   printf %s "(cached) " >&6
   12179 else case e in #(
   12180   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12181 case `$LD -v 2>&1 </dev/null` in
   12182 *GNU* | *'with BFD'*)
   12183   acl_cv_prog_gnu_ld=yes
   12184   ;;
   12185 *)
   12186   acl_cv_prog_gnu_ld=no
   12187   ;;
   12188 esac ;;
   12189 esac
   12190 fi
   12191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   12192 printf '%s\n' "$acl_cv_prog_gnu_ld" >&6; }
   12193 with_gnu_ld=$acl_cv_prog_gnu_ld
   12194 
   12195 
   12196 
   12197 
   12198 
   12199                                                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   12200 printf %s "checking for shared library run path origin... " >&6; }
   12201 if test ${acl_cv_rpath+y}
   12202 then :
   12203   printf %s "(cached) " >&6
   12204 else case e in #(
   12205   e)
   12206     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   12207     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   12208     . ./conftest.sh
   12209     rm -f ./conftest.sh
   12210     acl_cv_rpath=done
   12211    ;;
   12212 esac
   12213 fi
   12214 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   12215 printf '%s\n' "$acl_cv_rpath" >&6; }
   12216   wl="$acl_cv_wl"
   12217   acl_libext="$acl_cv_libext"
   12218   acl_shlibext="$acl_cv_shlibext"
   12219   acl_libname_spec="$acl_cv_libname_spec"
   12220   acl_library_names_spec="$acl_cv_library_names_spec"
   12221   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   12222   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   12223   acl_hardcode_direct="$acl_cv_hardcode_direct"
   12224   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   12225     # Check whether --enable-rpath was given.
   12226 if test ${enable_rpath+y}
   12227 then :
   12228   enableval=$enable_rpath; :
   12229 else case e in #(
   12230   e) enable_rpath=yes ;;
   12231 esac
   12232 fi
   12233 
   12234 
   12235 
   12236 
   12237   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
   12238 printf %s "checking 32-bit host C ABI... " >&6; }
   12239 if test ${gl_cv_host_cpu_c_abi_32bit+y}
   12240 then :
   12241   printf %s "(cached) " >&6
   12242 else case e in #(
   12243   e) case "$host_cpu" in
   12244 
   12245        # CPUs that only support a 32-bit ABI.
   12246        arc \
   12247        | bfin \
   12248        | cris* \
   12249        | csky \
   12250        | epiphany \
   12251        | ft32 \
   12252        | h8300 \
   12253        | m68k \
   12254        | microblaze | microblazeel \
   12255        | nds32 | nds32le | nds32be \
   12256        | nios2 | nios2eb | nios2el \
   12257        | or1k* \
   12258        | or32 \
   12259        | sh | sh1234 | sh1234elb \
   12260        | tic6x \
   12261        | xtensa* )
   12262          gl_cv_host_cpu_c_abi_32bit=yes
   12263          ;;
   12264 
   12265        # CPUs that only support a 64-bit ABI.
   12266        alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
   12267        | mmix )
   12268          gl_cv_host_cpu_c_abi_32bit=no
   12269          ;;
   12270 
   12271        *)
   12272          if test -n "$gl_cv_host_cpu_c_abi"; then
   12273                       case "$gl_cv_host_cpu_c_abi" in
   12274              i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
   12275                gl_cv_host_cpu_c_abi_32bit=yes ;;
   12276              x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
   12277                gl_cv_host_cpu_c_abi_32bit=no ;;
   12278              *)
   12279                gl_cv_host_cpu_c_abi_32bit=unknown ;;
   12280            esac
   12281          else
   12282            gl_cv_host_cpu_c_abi_32bit=unknown
   12283          fi
   12284          if test $gl_cv_host_cpu_c_abi_32bit = unknown; then
   12285            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12286 /* end confdefs.h.  */
   12287 int test_pointer_size[sizeof (void *) - 5];
   12288 
   12289 _ACEOF
   12290 if ac_fn_c_try_compile "$LINENO"
   12291 then :
   12292   gl_cv_host_cpu_c_abi_32bit=no
   12293 else case e in #(
   12294   e) gl_cv_host_cpu_c_abi_32bit=yes ;;
   12295 esac
   12296 fi
   12297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12298          fi
   12299          ;;
   12300      esac
   12301      ;;
   12302 esac
   12303 fi
   12304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
   12305 printf '%s\n' "$gl_cv_host_cpu_c_abi_32bit" >&6; }
   12306 
   12307   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
   12308 
   12309 ac_ext=c
   12310 ac_cpp='$CPP $CPPFLAGS'
   12311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12314 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   12315 printf %s "checking how to run the C preprocessor... " >&6; }
   12316 # On Suns, sometimes $CPP names a directory.
   12317 if test -n "$CPP" && test -d "$CPP"; then
   12318   CPP=
   12319 fi
   12320 if test -z "$CPP"; then
   12321   if test ${ac_cv_prog_CPP+y}
   12322 then :
   12323   printf %s "(cached) " >&6
   12324 else case e in #(
   12325   e)     # Double quotes because $CC needs to be expanded
   12326     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   12327     do
   12328       ac_preproc_ok=false
   12329 for ac_c_preproc_warn_flag in '' yes
   12330 do
   12331   # Use a header file that comes with gcc, so configuring glibc
   12332   # with a fresh cross-compiler works.
   12333   # On the NeXT, cc -E runs the code through the compiler's parser,
   12334   # not just through cpp. "Syntax error" is here to catch this case.
   12335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12336 /* end confdefs.h.  */
   12337 #include <limits.h>
   12338 		     Syntax error
   12339 _ACEOF
   12340 if ac_fn_c_try_cpp "$LINENO"
   12341 then :
   12342 
   12343 else case e in #(
   12344   e) # Broken: fails on valid input.
   12345 continue ;;
   12346 esac
   12347 fi
   12348 rm -f conftest.err conftest.i conftest.$ac_ext
   12349 
   12350   # OK, works on sane cases.  Now check whether nonexistent headers
   12351   # can be detected and how.
   12352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12353 /* end confdefs.h.  */
   12354 #include <ac_nonexistent.h>
   12355 _ACEOF
   12356 if ac_fn_c_try_cpp "$LINENO"
   12357 then :
   12358   # Broken: success on invalid input.
   12359 continue
   12360 else case e in #(
   12361   e) # Passes both tests.
   12362 ac_preproc_ok=:
   12363 break ;;
   12364 esac
   12365 fi
   12366 rm -f conftest.err conftest.i conftest.$ac_ext
   12367 
   12368 done
   12369 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12370 rm -f conftest.i conftest.err conftest.$ac_ext
   12371 if $ac_preproc_ok
   12372 then :
   12373   break
   12374 fi
   12375 
   12376     done
   12377     ac_cv_prog_CPP=$CPP
   12378    ;;
   12379 esac
   12380 fi
   12381   CPP=$ac_cv_prog_CPP
   12382 else
   12383   ac_cv_prog_CPP=$CPP
   12384 fi
   12385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   12386 printf '%s\n' "$CPP" >&6; }
   12387 ac_preproc_ok=false
   12388 for ac_c_preproc_warn_flag in '' yes
   12389 do
   12390   # Use a header file that comes with gcc, so configuring glibc
   12391   # with a fresh cross-compiler works.
   12392   # On the NeXT, cc -E runs the code through the compiler's parser,
   12393   # not just through cpp. "Syntax error" is here to catch this case.
   12394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12395 /* end confdefs.h.  */
   12396 #include <limits.h>
   12397 		     Syntax error
   12398 _ACEOF
   12399 if ac_fn_c_try_cpp "$LINENO"
   12400 then :
   12401 
   12402 else case e in #(
   12403   e) # Broken: fails on valid input.
   12404 continue ;;
   12405 esac
   12406 fi
   12407 rm -f conftest.err conftest.i conftest.$ac_ext
   12408 
   12409   # OK, works on sane cases.  Now check whether nonexistent headers
   12410   # can be detected and how.
   12411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12412 /* end confdefs.h.  */
   12413 #include <ac_nonexistent.h>
   12414 _ACEOF
   12415 if ac_fn_c_try_cpp "$LINENO"
   12416 then :
   12417   # Broken: success on invalid input.
   12418 continue
   12419 else case e in #(
   12420   e) # Passes both tests.
   12421 ac_preproc_ok=:
   12422 break ;;
   12423 esac
   12424 fi
   12425 rm -f conftest.err conftest.i conftest.$ac_ext
   12426 
   12427 done
   12428 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12429 rm -f conftest.i conftest.err conftest.$ac_ext
   12430 if $ac_preproc_ok
   12431 then :
   12432 
   12433 else case e in #(
   12434   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12435 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12436 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   12437 See 'config.log' for more details" "$LINENO" 5; } ;;
   12438 esac
   12439 fi
   12440 
   12441 ac_ext=c
   12442 ac_cpp='$CPP $CPPFLAGS'
   12443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12446 
   12447 
   12448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
   12449 printf %s "checking for egrep -e... " >&6; }
   12450 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
   12451 then :
   12452   printf %s "(cached) " >&6
   12453 else case e in #(
   12454   e) if test -z "$EGREP_TRADITIONAL"; then
   12455   ac_path_EGREP_TRADITIONAL_found=false
   12456   # Loop through the user's path and test for each of PROGNAME-LIST
   12457   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12459 do
   12460   IFS=$as_save_IFS
   12461   case $as_dir in #(((
   12462     '') as_dir=./ ;;
   12463     */) ;;
   12464     *) as_dir=$as_dir/ ;;
   12465   esac
   12466     for ac_prog in grep ggrep
   12467    do
   12468     for ac_exec_ext in '' $ac_executable_extensions; do
   12469       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   12470       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   12471 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   12472   # Check for GNU $ac_path_EGREP_TRADITIONAL
   12473 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   12474 *GNU*)
   12475   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   12476 #(
   12477 *)
   12478   ac_count=0
   12479   printf %s 0123456789 >"conftest.in"
   12480   while :
   12481   do
   12482     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12483     mv "conftest.tmp" "conftest.in"
   12484     cp "conftest.in" "conftest.nl"
   12485     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   12486     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12487     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12488     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12489     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   12490       # Best one so far, save it but keep looking for a better one
   12491       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   12492       ac_path_EGREP_TRADITIONAL_max=$ac_count
   12493     fi
   12494     # 10*(2^10) chars as input seems more than enough
   12495     test $ac_count -gt 10 && break
   12496   done
   12497   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12498 esac
   12499 
   12500       $ac_path_EGREP_TRADITIONAL_found && break 3
   12501     done
   12502   done
   12503   done
   12504 IFS=$as_save_IFS
   12505   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   12506     :
   12507   fi
   12508 else
   12509   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   12510 fi
   12511 
   12512     if test "$ac_cv_path_EGREP_TRADITIONAL"
   12513 then :
   12514   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
   12515 else case e in #(
   12516   e) if test -z "$EGREP_TRADITIONAL"; then
   12517   ac_path_EGREP_TRADITIONAL_found=false
   12518   # Loop through the user's path and test for each of PROGNAME-LIST
   12519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12521 do
   12522   IFS=$as_save_IFS
   12523   case $as_dir in #(((
   12524     '') as_dir=./ ;;
   12525     */) ;;
   12526     *) as_dir=$as_dir/ ;;
   12527   esac
   12528     for ac_prog in egrep
   12529    do
   12530     for ac_exec_ext in '' $ac_executable_extensions; do
   12531       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   12532       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   12533 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   12534   # Check for GNU $ac_path_EGREP_TRADITIONAL
   12535 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   12536 *GNU*)
   12537   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   12538 #(
   12539 *)
   12540   ac_count=0
   12541   printf %s 0123456789 >"conftest.in"
   12542   while :
   12543   do
   12544     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12545     mv "conftest.tmp" "conftest.in"
   12546     cp "conftest.in" "conftest.nl"
   12547     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   12548     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12549     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12550     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12551     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   12552       # Best one so far, save it but keep looking for a better one
   12553       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   12554       ac_path_EGREP_TRADITIONAL_max=$ac_count
   12555     fi
   12556     # 10*(2^10) chars as input seems more than enough
   12557     test $ac_count -gt 10 && break
   12558   done
   12559   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12560 esac
   12561 
   12562       $ac_path_EGREP_TRADITIONAL_found && break 3
   12563     done
   12564   done
   12565   done
   12566 IFS=$as_save_IFS
   12567   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   12568     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12569   fi
   12570 else
   12571   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   12572 fi
   12573  ;;
   12574 esac
   12575 fi ;;
   12576 esac
   12577 fi
   12578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
   12579 printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
   12580  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
   12581 
   12582 
   12583 
   12584 
   12585 
   12586   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
   12587 printf %s "checking for ELF binary format... " >&6; }
   12588 if test ${gl_cv_elf+y}
   12589 then :
   12590   printf %s "(cached) " >&6
   12591 else case e in #(
   12592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12593 /* end confdefs.h.  */
   12594 #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
   12595         Extensible Linking Format
   12596         #endif
   12597 
   12598 _ACEOF
   12599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12600   $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1
   12601 then :
   12602   gl_cv_elf=yes
   12603 else case e in #(
   12604   e) gl_cv_elf=no ;;
   12605 esac
   12606 fi
   12607 rm -rf conftest*
   12608 
   12609      ;;
   12610 esac
   12611 fi
   12612 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
   12613 printf '%s\n' "$gl_cv_elf" >&6; }
   12614   if test $gl_cv_elf = yes; then
   12615     # Extract the ELF class of a file (5th byte) in decimal.
   12616     # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
   12617     if od -A x < /dev/null >/dev/null 2>/dev/null; then
   12618       # Use POSIX od.
   12619       func_elfclass ()
   12620       {
   12621         od -A n -t d1 -j 4 -N 1
   12622       }
   12623     else
   12624       # Use BSD hexdump.
   12625       func_elfclass ()
   12626       {
   12627         dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
   12628         echo
   12629       }
   12630     fi
   12631     # Use 'expr', not 'test', to compare the values of func_elfclass, because on
   12632     # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
   12633     # not 1 or 2.
   12634     case $HOST_CPU_C_ABI_32BIT in
   12635       yes)
   12636         # 32-bit ABI.
   12637         acl_is_expected_elfclass ()
   12638         {
   12639           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 1 > /dev/null
   12640         }
   12641         ;;
   12642       no)
   12643         # 64-bit ABI.
   12644         acl_is_expected_elfclass ()
   12645         {
   12646           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 2 > /dev/null
   12647         }
   12648         ;;
   12649       *)
   12650         # Unknown.
   12651         acl_is_expected_elfclass ()
   12652         {
   12653           :
   12654         }
   12655         ;;
   12656     esac
   12657   else
   12658     acl_is_expected_elfclass ()
   12659     {
   12660       :
   12661     }
   12662   fi
   12663 
   12664     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
   12665 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
   12666 if test ${acl_cv_libdirstems+y}
   12667 then :
   12668   printf %s "(cached) " >&6
   12669 else case e in #(
   12670   e)           acl_libdirstem=lib
   12671      acl_libdirstem2=
   12672      acl_libdirstem3=
   12673      case "$host_os" in
   12674        solaris*)
   12675                                                       if test $HOST_CPU_C_ABI_32BIT = no; then
   12676            acl_libdirstem2=lib/64
   12677            case "$host_cpu" in
   12678              sparc*)        acl_libdirstem3=lib/sparcv9 ;;
   12679              i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
   12680            esac
   12681          fi
   12682          ;;
   12683        netbsd*)
   12684                            if test $HOST_CPU_C_ABI_32BIT != no; then
   12685            case "$host_cpu" in
   12686              sparc*) acl_libdirstem2=lib/sparc ;;
   12687            esac
   12688          fi
   12689          ;;
   12690        *)
   12691                                                                                  searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
   12692                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   12693          if test $HOST_CPU_C_ABI_32BIT != no; then
   12694            # 32-bit or unknown ABI.
   12695            if test -d /usr/lib32; then
   12696              acl_libdirstem2=lib32
   12697            fi
   12698          fi
   12699          if test $HOST_CPU_C_ABI_32BIT != yes; then
   12700            # 64-bit or unknown ABI.
   12701            if test -d /usr/lib64; then
   12702              acl_libdirstem3=lib64
   12703            fi
   12704          fi
   12705          if test -n "$searchpath"; then
   12706            acl_saved_IFS="${IFS= 	}"; IFS=":"
   12707            for searchdir in $searchpath; do
   12708              if test -d "$searchdir"; then
   12709                case "$searchdir" in
   12710                  */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
   12711                  */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
   12712                  */../ | */.. )
   12713                    # Better ignore directories of this form. They are misleading.
   12714                    ;;
   12715                  *) searchdir=`cd "$searchdir" && pwd`
   12716                     case "$searchdir" in
   12717                       */lib32 ) acl_libdirstem2=lib32 ;;
   12718                       */lib64 ) acl_libdirstem3=lib64 ;;
   12719                     esac ;;
   12720                esac
   12721              fi
   12722            done
   12723            IFS="$acl_saved_IFS"
   12724            if test $HOST_CPU_C_ABI_32BIT = yes; then
   12725              # 32-bit ABI.
   12726              acl_libdirstem3=
   12727            fi
   12728            if test $HOST_CPU_C_ABI_32BIT = no; then
   12729              # 64-bit ABI.
   12730              acl_libdirstem2=
   12731            fi
   12732          fi
   12733          ;;
   12734      esac
   12735      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   12736      test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
   12737      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
   12738      ;;
   12739 esac
   12740 fi
   12741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
   12742 printf '%s\n' "$acl_cv_libdirstems" >&6; }
   12743       acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
   12744   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
   12745   acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757     use_additional=yes
   12758 
   12759   acl_saved_prefix="$prefix"
   12760   prefix="$acl_final_prefix"
   12761   acl_saved_exec_prefix="$exec_prefix"
   12762   exec_prefix="$acl_final_exec_prefix"
   12763 
   12764     eval additional_includedir=\"$includedir\"
   12765     eval additional_libdir=\"$libdir\"
   12766     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   12767     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   12768 
   12769   exec_prefix="$acl_saved_exec_prefix"
   12770   prefix="$acl_saved_prefix"
   12771 
   12772 
   12773 # Check whether --with-libiconv-prefix was given.
   12774 if test ${with_libiconv_prefix+y}
   12775 then :
   12776   withval=$with_libiconv_prefix;
   12777     if test "X$withval" = "Xno"; then
   12778       use_additional=no
   12779     else
   12780       if test "X$withval" = "X"; then
   12781 
   12782   acl_saved_prefix="$prefix"
   12783   prefix="$acl_final_prefix"
   12784   acl_saved_exec_prefix="$exec_prefix"
   12785   exec_prefix="$acl_final_exec_prefix"
   12786 
   12787           eval additional_includedir=\"$includedir\"
   12788           eval additional_libdir=\"$libdir\"
   12789           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   12790           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   12791 
   12792   exec_prefix="$acl_saved_exec_prefix"
   12793   prefix="$acl_saved_prefix"
   12794 
   12795       else
   12796         additional_includedir="$withval/include"
   12797         additional_libdir="$withval/$acl_libdirstem"
   12798         additional_libdir2="$withval/$acl_libdirstem2"
   12799         additional_libdir3="$withval/$acl_libdirstem3"
   12800       fi
   12801     fi
   12802 
   12803 fi
   12804 
   12805   if test "X$additional_libdir2" = "X$additional_libdir"; then
   12806     additional_libdir2=
   12807   fi
   12808   if test "X$additional_libdir3" = "X$additional_libdir"; then
   12809     additional_libdir3=
   12810   fi
   12811       LIBICONV=
   12812   LTLIBICONV=
   12813   INCICONV=
   12814   LIBICONV_PREFIX=
   12815       HAVE_LIBICONV=
   12816   rpathdirs=
   12817   ltrpathdirs=
   12818   names_already_handled=
   12819   names_next_round='iconv '
   12820   while test -n "$names_next_round"; do
   12821     names_this_round="$names_next_round"
   12822     names_next_round=
   12823     for name in $names_this_round; do
   12824       already_handled=
   12825       for n in $names_already_handled; do
   12826         if test "$n" = "$name"; then
   12827           already_handled=yes
   12828           break
   12829         fi
   12830       done
   12831       if test -z "$already_handled"; then
   12832         names_already_handled="$names_already_handled $name"
   12833                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   12834         eval value=\"\$HAVE_LIB$uppername\"
   12835         if test -n "$value"; then
   12836           if test "$value" = yes; then
   12837             eval value=\"\$LIB$uppername\"
   12838             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   12839             eval value=\"\$LTLIB$uppername\"
   12840             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   12841           else
   12842                                     :
   12843           fi
   12844         else
   12845                               found_dir=
   12846           found_la=
   12847           found_so=
   12848           found_a=
   12849           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   12850           if test -n "$acl_shlibext"; then
   12851             shrext=".$acl_shlibext"             # typically: shrext=.so
   12852           else
   12853             shrext=
   12854           fi
   12855           if test $use_additional = yes; then
   12856             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
   12857               if test "X$found_dir" = "X"; then
   12858                 eval dir=\$$additional_libdir_variable
   12859                 if test -n "$dir"; then
   12860                                                       if test -n "$acl_shlibext"; then
   12861                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   12862                       found_dir="$dir"
   12863                       found_so="$dir/$libname$shrext"
   12864                     else
   12865                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   12866                         ver=`(cd "$dir" && \
   12867                               for f in "$libname$shrext".*; do echo "$f"; done \
   12868                               | sed -e "s,^$libname$shrext\\\\.,," \
   12869                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   12870                               | sed 1q ) 2>/dev/null`
   12871                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   12872                           found_dir="$dir"
   12873                           found_so="$dir/$libname$shrext.$ver"
   12874                         fi
   12875                       else
   12876                         eval library_names=\"$acl_library_names_spec\"
   12877                         for f in $library_names; do
   12878                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   12879                             found_dir="$dir"
   12880                             found_so="$dir/$f"
   12881                             break
   12882                           fi
   12883                         done
   12884                       fi
   12885                     fi
   12886                   fi
   12887                                     if test "X$found_dir" = "X"; then
   12888                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   12889                       found_dir="$dir"
   12890                       found_a="$dir/$libname.$acl_libext"
   12891                     fi
   12892                   fi
   12893                   if test "X$found_dir" != "X"; then
   12894                     if test -f "$dir/$libname.la"; then
   12895                       found_la="$dir/$libname.la"
   12896                     fi
   12897                   fi
   12898                 fi
   12899               fi
   12900             done
   12901           fi
   12902           if test "X$found_dir" = "X"; then
   12903             for x in $LDFLAGS $LTLIBICONV; do
   12904 
   12905   acl_saved_prefix="$prefix"
   12906   prefix="$acl_final_prefix"
   12907   acl_saved_exec_prefix="$exec_prefix"
   12908   exec_prefix="$acl_final_exec_prefix"
   12909   eval x=\"$x\"
   12910   exec_prefix="$acl_saved_exec_prefix"
   12911   prefix="$acl_saved_prefix"
   12912 
   12913               case "$x" in
   12914                 -L*)
   12915                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12916                                     if test -n "$acl_shlibext"; then
   12917                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   12918                       found_dir="$dir"
   12919                       found_so="$dir/$libname$shrext"
   12920                     else
   12921                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   12922                         ver=`(cd "$dir" && \
   12923                               for f in "$libname$shrext".*; do echo "$f"; done \
   12924                               | sed -e "s,^$libname$shrext\\\\.,," \
   12925                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   12926                               | sed 1q ) 2>/dev/null`
   12927                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   12928                           found_dir="$dir"
   12929                           found_so="$dir/$libname$shrext.$ver"
   12930                         fi
   12931                       else
   12932                         eval library_names=\"$acl_library_names_spec\"
   12933                         for f in $library_names; do
   12934                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   12935                             found_dir="$dir"
   12936                             found_so="$dir/$f"
   12937                             break
   12938                           fi
   12939                         done
   12940                       fi
   12941                     fi
   12942                   fi
   12943                                     if test "X$found_dir" = "X"; then
   12944                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   12945                       found_dir="$dir"
   12946                       found_a="$dir/$libname.$acl_libext"
   12947                     fi
   12948                   fi
   12949                   if test "X$found_dir" != "X"; then
   12950                     if test -f "$dir/$libname.la"; then
   12951                       found_la="$dir/$libname.la"
   12952                     fi
   12953                   fi
   12954                   ;;
   12955               esac
   12956               if test "X$found_dir" != "X"; then
   12957                 break
   12958               fi
   12959             done
   12960           fi
   12961           if test "X$found_dir" != "X"; then
   12962                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   12963             if test "X$found_so" != "X"; then
   12964                                                         if test "$enable_rpath" = no \
   12965                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   12966                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
   12967                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
   12968                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12969               else
   12970                                                                                 haveit=
   12971                 for x in $ltrpathdirs; do
   12972                   if test "X$x" = "X$found_dir"; then
   12973                     haveit=yes
   12974                     break
   12975                   fi
   12976                 done
   12977                 if test -z "$haveit"; then
   12978                   ltrpathdirs="$ltrpathdirs $found_dir"
   12979                 fi
   12980                                 if test "$acl_hardcode_direct" = yes; then
   12981                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12982                 else
   12983                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   12984                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12985                                                             haveit=
   12986                     for x in $rpathdirs; do
   12987                       if test "X$x" = "X$found_dir"; then
   12988                         haveit=yes
   12989                         break
   12990                       fi
   12991                     done
   12992                     if test -z "$haveit"; then
   12993                       rpathdirs="$rpathdirs $found_dir"
   12994                     fi
   12995                   else
   12996                                                                                 haveit=
   12997                     for x in $LDFLAGS $LIBICONV; do
   12998 
   12999   acl_saved_prefix="$prefix"
   13000   prefix="$acl_final_prefix"
   13001   acl_saved_exec_prefix="$exec_prefix"
   13002   exec_prefix="$acl_final_exec_prefix"
   13003   eval x=\"$x\"
   13004   exec_prefix="$acl_saved_exec_prefix"
   13005   prefix="$acl_saved_prefix"
   13006 
   13007                       if test "X$x" = "X-L$found_dir"; then
   13008                         haveit=yes
   13009                         break
   13010                       fi
   13011                     done
   13012                     if test -z "$haveit"; then
   13013                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   13014                     fi
   13015                     if test "$acl_hardcode_minus_L" != no; then
   13016                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   13017                     else
   13018                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13019                     fi
   13020                   fi
   13021                 fi
   13022               fi
   13023             else
   13024               if test "X$found_a" != "X"; then
   13025                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   13026               else
   13027                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   13028               fi
   13029             fi
   13030                         additional_includedir=
   13031             case "$found_dir" in
   13032               */$acl_libdirstem | */$acl_libdirstem/)
   13033                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   13034                 if test "$name" = 'iconv'; then
   13035                   LIBICONV_PREFIX="$basedir"
   13036                 fi
   13037                 additional_includedir="$basedir/include"
   13038                 ;;
   13039               */$acl_libdirstem2 | */$acl_libdirstem2/)
   13040                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   13041                 if test "$name" = 'iconv'; then
   13042                   LIBICONV_PREFIX="$basedir"
   13043                 fi
   13044                 additional_includedir="$basedir/include"
   13045                 ;;
   13046               */$acl_libdirstem3 | */$acl_libdirstem3/)
   13047                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
   13048                 if test "$name" = 'iconv'; then
   13049                   LIBICONV_PREFIX="$basedir"
   13050                 fi
   13051                 additional_includedir="$basedir/include"
   13052                 ;;
   13053             esac
   13054             if test "X$additional_includedir" != "X"; then
   13055                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13056                 haveit=
   13057                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13058                   if test -n "$GCC"; then
   13059                     case $host_os in
   13060                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   13061                     esac
   13062                   fi
   13063                 fi
   13064                 if test -z "$haveit"; then
   13065                   for x in $CPPFLAGS $INCICONV; do
   13066 
   13067   acl_saved_prefix="$prefix"
   13068   prefix="$acl_final_prefix"
   13069   acl_saved_exec_prefix="$exec_prefix"
   13070   exec_prefix="$acl_final_exec_prefix"
   13071   eval x=\"$x\"
   13072   exec_prefix="$acl_saved_exec_prefix"
   13073   prefix="$acl_saved_prefix"
   13074 
   13075                     if test "X$x" = "X-I$additional_includedir"; then
   13076                       haveit=yes
   13077                       break
   13078                     fi
   13079                   done
   13080                   if test -z "$haveit"; then
   13081                     if test -d "$additional_includedir"; then
   13082                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   13083                     fi
   13084                   fi
   13085                 fi
   13086               fi
   13087             fi
   13088                         if test -n "$found_la"; then
   13089                                                         saved_libdir="$libdir"
   13090               case "$found_la" in
   13091                 */* | *\\*) . "$found_la" ;;
   13092                 *) . "./$found_la" ;;
   13093               esac
   13094               libdir="$saved_libdir"
   13095                             for dep in $dependency_libs; do
   13096                 case "$dep" in
   13097                   -L*)
   13098                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13099                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
   13100                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
   13101                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
   13102                       haveit=
   13103                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
   13104                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
   13105                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
   13106                         if test -n "$GCC"; then
   13107                           case $host_os in
   13108                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   13109                           esac
   13110                         fi
   13111                       fi
   13112                       if test -z "$haveit"; then
   13113                         haveit=
   13114                         for x in $LDFLAGS $LIBICONV; do
   13115 
   13116   acl_saved_prefix="$prefix"
   13117   prefix="$acl_final_prefix"
   13118   acl_saved_exec_prefix="$exec_prefix"
   13119   exec_prefix="$acl_final_exec_prefix"
   13120   eval x=\"$x\"
   13121   exec_prefix="$acl_saved_exec_prefix"
   13122   prefix="$acl_saved_prefix"
   13123 
   13124                           if test "X$x" = "X-L$dependency_libdir"; then
   13125                             haveit=yes
   13126                             break
   13127                           fi
   13128                         done
   13129                         if test -z "$haveit"; then
   13130                           if test -d "$dependency_libdir"; then
   13131                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
   13132                           fi
   13133                         fi
   13134                         haveit=
   13135                         for x in $LDFLAGS $LTLIBICONV; do
   13136 
   13137   acl_saved_prefix="$prefix"
   13138   prefix="$acl_final_prefix"
   13139   acl_saved_exec_prefix="$exec_prefix"
   13140   exec_prefix="$acl_final_exec_prefix"
   13141   eval x=\"$x\"
   13142   exec_prefix="$acl_saved_exec_prefix"
   13143   prefix="$acl_saved_prefix"
   13144 
   13145                           if test "X$x" = "X-L$dependency_libdir"; then
   13146                             haveit=yes
   13147                             break
   13148                           fi
   13149                         done
   13150                         if test -z "$haveit"; then
   13151                           if test -d "$dependency_libdir"; then
   13152                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
   13153                           fi
   13154                         fi
   13155                       fi
   13156                     fi
   13157                     ;;
   13158                   -R*)
   13159                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13160                     if test "$enable_rpath" != no; then
   13161                                                                   haveit=
   13162                       for x in $rpathdirs; do
   13163                         if test "X$x" = "X$dir"; then
   13164                           haveit=yes
   13165                           break
   13166                         fi
   13167                       done
   13168                       if test -z "$haveit"; then
   13169                         rpathdirs="$rpathdirs $dir"
   13170                       fi
   13171                                                                   haveit=
   13172                       for x in $ltrpathdirs; do
   13173                         if test "X$x" = "X$dir"; then
   13174                           haveit=yes
   13175                           break
   13176                         fi
   13177                       done
   13178                       if test -z "$haveit"; then
   13179                         ltrpathdirs="$ltrpathdirs $dir"
   13180                       fi
   13181                     fi
   13182                     ;;
   13183                   -l*)
   13184                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
   13185                     if test "X$dep" != Xc \
   13186                        || case $host_os in
   13187                             linux* | gnu* | k*bsd*-gnu) false ;;
   13188                             *)                          true ;;
   13189                           esac; then
   13190                       names_next_round="$names_next_round $dep"
   13191                     fi
   13192                     ;;
   13193                   *.la)
   13194                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13195                     ;;
   13196                   *)
   13197                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   13198                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   13199                     ;;
   13200                 esac
   13201               done
   13202             fi
   13203           else
   13204                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   13205             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   13206           fi
   13207         fi
   13208       fi
   13209     done
   13210   done
   13211   if test "X$rpathdirs" != "X"; then
   13212     if test -n "$acl_hardcode_libdir_separator"; then
   13213                         alldirs=
   13214       for found_dir in $rpathdirs; do
   13215         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   13216       done
   13217             acl_saved_libdir="$libdir"
   13218       libdir="$alldirs"
   13219       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   13220       libdir="$acl_saved_libdir"
   13221       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13222     else
   13223             for found_dir in $rpathdirs; do
   13224         acl_saved_libdir="$libdir"
   13225         libdir="$found_dir"
   13226         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   13227         libdir="$acl_saved_libdir"
   13228         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   13229       done
   13230     fi
   13231   fi
   13232   if test "X$ltrpathdirs" != "X"; then
   13233             for found_dir in $ltrpathdirs; do
   13234       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   13235     done
   13236   fi
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248           gl_saved_CPPFLAGS="$CPPFLAGS"
   13249 
   13250   for element in $INCICONV; do
   13251     haveit=
   13252     for x in $CPPFLAGS; do
   13253 
   13254   acl_saved_prefix="$prefix"
   13255   prefix="$acl_final_prefix"
   13256   acl_saved_exec_prefix="$exec_prefix"
   13257   exec_prefix="$acl_final_exec_prefix"
   13258   eval x=\"$x\"
   13259   exec_prefix="$acl_saved_exec_prefix"
   13260   prefix="$acl_saved_prefix"
   13261 
   13262       if test "X$x" = "X$element"; then
   13263         haveit=yes
   13264         break
   13265       fi
   13266     done
   13267     if test -z "$haveit"; then
   13268       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13269     fi
   13270   done
   13271 
   13272 
   13273   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   13274 printf %s "checking for iconv... " >&6; }
   13275 if test ${am_cv_func_iconv+y}
   13276 then :
   13277   printf %s "(cached) " >&6
   13278 else case e in #(
   13279   e)
   13280     am_cv_func_iconv="no, consider installing GNU libiconv"
   13281     am_cv_lib_iconv=no
   13282     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13283 /* end confdefs.h.  */
   13284 
   13285 #include <stdlib.h>
   13286 #include <iconv.h>
   13287 
   13288 int
   13289 main (void)
   13290 {
   13291 iconv_t cd = iconv_open("","");
   13292            iconv(cd,NULL,NULL,NULL,NULL);
   13293            iconv_close(cd);
   13294   ;
   13295   return 0;
   13296 }
   13297 _ACEOF
   13298 if ac_fn_c_try_link "$LINENO"
   13299 then :
   13300   am_cv_func_iconv=yes
   13301 fi
   13302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13303     conftest$ac_exeext conftest.$ac_ext
   13304     if test "$am_cv_func_iconv" != yes; then
   13305       gl_saved_LIBS="$LIBS"
   13306       LIBS="$LIBS $LIBICONV"
   13307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13308 /* end confdefs.h.  */
   13309 
   13310 #include <stdlib.h>
   13311 #include <iconv.h>
   13312 
   13313 int
   13314 main (void)
   13315 {
   13316 iconv_t cd = iconv_open("","");
   13317              iconv(cd,NULL,NULL,NULL,NULL);
   13318              iconv_close(cd);
   13319   ;
   13320   return 0;
   13321 }
   13322 _ACEOF
   13323 if ac_fn_c_try_link "$LINENO"
   13324 then :
   13325   am_cv_lib_iconv=yes
   13326         am_cv_func_iconv=yes
   13327 fi
   13328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13329     conftest$ac_exeext conftest.$ac_ext
   13330       LIBS="$gl_saved_LIBS"
   13331     fi
   13332    ;;
   13333 esac
   13334 fi
   13335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   13336 printf '%s\n' "$am_cv_func_iconv" >&6; }
   13337   if test "$am_cv_func_iconv" = yes; then
   13338     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   13339 printf %s "checking for working iconv... " >&6; }
   13340 if test ${am_cv_func_iconv_works+y}
   13341 then :
   13342   printf %s "(cached) " >&6
   13343 else case e in #(
   13344   e)
   13345                   gl_saved_LIBS="$LIBS"
   13346       if test $am_cv_lib_iconv = yes; then
   13347         LIBS="$LIBS $LIBICONV"
   13348       fi
   13349       am_cv_func_iconv_works=no
   13350       for ac_iconv_const in '' 'const'; do
   13351         if test "$cross_compiling" = yes
   13352 then :
   13353   case "$host_os" in
   13354              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   13355              *)            am_cv_func_iconv_works="guessing yes" ;;
   13356            esac
   13357 else case e in #(
   13358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13359 /* end confdefs.h.  */
   13360 
   13361 #include <iconv.h>
   13362 #include <string.h>
   13363 
   13364 #ifndef ICONV_CONST
   13365 # define ICONV_CONST $ac_iconv_const
   13366 #endif
   13367 
   13368 int
   13369 main (void)
   13370 {
   13371 int result = 0;
   13372   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   13373      successful returns.  This is even documented in
   13374      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   13375   {
   13376     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   13377     if (cd_utf8_to_88591 != (iconv_t)(-1))
   13378       {
   13379         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   13380         char buf[10];
   13381         ICONV_CONST char *inptr = input;
   13382         size_t inbytesleft = strlen (input);
   13383         char *outptr = buf;
   13384         size_t outbytesleft = sizeof (buf);
   13385         size_t res = iconv (cd_utf8_to_88591,
   13386                             &inptr, &inbytesleft,
   13387                             &outptr, &outbytesleft);
   13388         if (res == 0)
   13389           result |= 1;
   13390         iconv_close (cd_utf8_to_88591);
   13391       }
   13392   }
   13393   /* Test against macOS 14.4 bug: Failures are not distinguishable from
   13394      successful returns.
   13395      POSIX:2018 says: "The iconv() function shall ... return the number of
   13396      non-identical conversions performed."
   13397      But here, the conversion always does transliteration (the suffixes
   13398      "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and
   13399      does not report when it does a non-identical conversion.  */
   13400   {
   13401     iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
   13402     if (cd_utf8_to_88591 != (iconv_t)(-1))
   13403       {
   13404         static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */
   13405         char buf[10];
   13406         ICONV_CONST char *inptr = input;
   13407         size_t inbytesleft = strlen (input);
   13408         char *outptr = buf;
   13409         size_t outbytesleft = sizeof (buf);
   13410         size_t res = iconv (cd_utf8_to_88591,
   13411                             &inptr, &inbytesleft,
   13412                             &outptr, &outbytesleft);
   13413         /* Here:
   13414            With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ.
   13415            With musl libc, NetBSD 10, Solaris 11: res == 1.
   13416            With macOS 14.4: res == 0, output is "l".  */
   13417         if (res == 0)
   13418           result |= 2;
   13419         iconv_close (cd_utf8_to_88591);
   13420       }
   13421   }
   13422   /* Test against Solaris 10 bug: Failures are not distinguishable from
   13423      successful returns.  */
   13424   {
   13425     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   13426     if (cd_ascii_to_88591 != (iconv_t)(-1))
   13427       {
   13428         static ICONV_CONST char input[] = "\263";
   13429         char buf[10];
   13430         ICONV_CONST char *inptr = input;
   13431         size_t inbytesleft = strlen (input);
   13432         char *outptr = buf;
   13433         size_t outbytesleft = sizeof (buf);
   13434         size_t res = iconv (cd_ascii_to_88591,
   13435                             &inptr, &inbytesleft,
   13436                             &outptr, &outbytesleft);
   13437         if (res == 0)
   13438           result |= 4;
   13439         iconv_close (cd_ascii_to_88591);
   13440       }
   13441   }
   13442   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   13443   {
   13444     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   13445     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13446       {
   13447         static ICONV_CONST char input[] = "\304";
   13448         static char buf[2] = { (char)0xDE, (char)0xAD };
   13449         ICONV_CONST char *inptr = input;
   13450         size_t inbytesleft = 1;
   13451         char *outptr = buf;
   13452         size_t outbytesleft = 1;
   13453         size_t res = iconv (cd_88591_to_utf8,
   13454                             &inptr, &inbytesleft,
   13455                             &outptr, &outbytesleft);
   13456         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   13457           result |= 8;
   13458         iconv_close (cd_88591_to_utf8);
   13459       }
   13460   }
   13461 #if 0 /* This bug could be worked around by the caller.  */
   13462   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   13463   {
   13464     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   13465     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13466       {
   13467         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   13468         char buf[50];
   13469         ICONV_CONST char *inptr = input;
   13470         size_t inbytesleft = strlen (input);
   13471         char *outptr = buf;
   13472         size_t outbytesleft = sizeof (buf);
   13473         size_t res = iconv (cd_88591_to_utf8,
   13474                             &inptr, &inbytesleft,
   13475                             &outptr, &outbytesleft);
   13476         if ((int)res > 0)
   13477           result |= 16;
   13478         iconv_close (cd_88591_to_utf8);
   13479       }
   13480   }
   13481 #endif
   13482   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   13483      provided.  */
   13484   {
   13485     /* Try standardized names.  */
   13486     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   13487     /* Try IRIX, OSF/1 names.  */
   13488     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   13489     /* Try AIX names.  */
   13490     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   13491     /* Try HP-UX names.  */
   13492     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   13493     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   13494         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   13495       result |= 32;
   13496     if (cd1 != (iconv_t)(-1))
   13497       iconv_close (cd1);
   13498     if (cd2 != (iconv_t)(-1))
   13499       iconv_close (cd2);
   13500     if (cd3 != (iconv_t)(-1))
   13501       iconv_close (cd3);
   13502     if (cd4 != (iconv_t)(-1))
   13503       iconv_close (cd4);
   13504   }
   13505   return result;
   13506 
   13507   ;
   13508   return 0;
   13509 }
   13510 _ACEOF
   13511 if ac_fn_c_try_run "$LINENO"
   13512 then :
   13513   am_cv_func_iconv_works=yes
   13514 fi
   13515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13516   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13517 esac
   13518 fi
   13519 
   13520         test "$am_cv_func_iconv_works" = no || break
   13521       done
   13522       LIBS="$gl_saved_LIBS"
   13523      ;;
   13524 esac
   13525 fi
   13526 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   13527 printf '%s\n' "$am_cv_func_iconv_works" >&6; }
   13528     case "$am_cv_func_iconv_works" in
   13529       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   13530       *)   am_func_iconv=yes ;;
   13531     esac
   13532   else
   13533     am_func_iconv=no am_cv_lib_iconv=no
   13534   fi
   13535   if test "$am_func_iconv" = yes; then
   13536 
   13537 printf '%s\n' "#define HAVE_ICONV 1" >>confdefs.h
   13538 
   13539   fi
   13540   if test "$am_cv_lib_iconv" = yes; then
   13541     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13542 printf %s "checking how to link with libiconv... " >&6; }
   13543     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13544 printf '%s\n' "$LIBICONV" >&6; }
   13545   else
   13546             CPPFLAGS="$gl_saved_CPPFLAGS"
   13547     LIBICONV=
   13548     LTLIBICONV=
   13549   fi
   13550 
   13551 
   13552 
   13553   if test "$am_cv_func_iconv" = yes; then
   13554     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
   13555 printf %s "checking whether iconv is compatible with its POSIX signature... " >&6; }
   13556 if test ${gl_cv_iconv_nonconst+y}
   13557 then :
   13558   printf %s "(cached) " >&6
   13559 else case e in #(
   13560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13561 /* end confdefs.h.  */
   13562 
   13563 #include <stdlib.h>
   13564 #include <iconv.h>
   13565 extern
   13566 #ifdef __cplusplus
   13567 "C"
   13568 #endif
   13569 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   13570 
   13571 int
   13572 main (void)
   13573 {
   13574 
   13575   ;
   13576   return 0;
   13577 }
   13578 _ACEOF
   13579 if ac_fn_c_try_compile "$LINENO"
   13580 then :
   13581   gl_cv_iconv_nonconst=yes
   13582 else case e in #(
   13583   e) gl_cv_iconv_nonconst=no ;;
   13584 esac
   13585 fi
   13586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13587        ;;
   13588 esac
   13589 fi
   13590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
   13591 printf '%s\n' "$gl_cv_iconv_nonconst" >&6; }
   13592   else
   13593             gl_cv_iconv_nonconst=yes
   13594   fi
   13595   if test $gl_cv_iconv_nonconst = yes; then
   13596     iconv_arg1=""
   13597   else
   13598     iconv_arg1="const"
   13599   fi
   13600 
   13601 printf '%s\n' "#define ICONV_CONST $iconv_arg1" >>confdefs.h
   13602 
   13603 
   13604 
   13605       if test "$am_func_iconv" = yes; then
   13606     if test -n "$LIBICONV"; then
   13607       am_cv_func_iconv_summary='yes, in libiconv'
   13608     else
   13609       am_cv_func_iconv_summary='yes, in libc'
   13610     fi
   13611   else
   13612     if test "$am_cv_func_iconv" = yes; then
   13613       am_cv_func_iconv_summary='not working, consider installing GNU libiconv'
   13614     else
   13615       am_cv_func_iconv_summary='no, consider installing GNU libiconv'
   13616     fi
   13617   fi
   13618 
   13619 
   13620 
   13621 pkg_failed=no
   13622 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XCLOCK" >&5
   13623 printf %s "checking for XCLOCK... " >&6; }
   13624 
   13625 if test -n "$XCLOCK_CFLAGS"; then
   13626     pkg_cv_XCLOCK_CFLAGS="$XCLOCK_CFLAGS"
   13627  elif test -n "$PKG_CONFIG"; then
   13628     if test -n "$PKG_CONFIG" && \
   13629     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   13630   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   13631   ac_status=$?
   13632   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13633   test $ac_status = 0; }; then
   13634   pkg_cv_XCLOCK_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   13635 		      test "x$?" != "x0" && pkg_failed=yes
   13636 else
   13637   pkg_failed=yes
   13638 fi
   13639  else
   13640     pkg_failed=untried
   13641 fi
   13642 if test -n "$XCLOCK_LIBS"; then
   13643     pkg_cv_XCLOCK_LIBS="$XCLOCK_LIBS"
   13644  elif test -n "$PKG_CONFIG"; then
   13645     if test -n "$PKG_CONFIG" && \
   13646     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   13647   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   13648   ac_status=$?
   13649   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13650   test $ac_status = 0; }; then
   13651   pkg_cv_XCLOCK_LIBS=`$PKG_CONFIG --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   13652 		      test "x$?" != "x0" && pkg_failed=yes
   13653 else
   13654   pkg_failed=yes
   13655 fi
   13656  else
   13657     pkg_failed=untried
   13658 fi
   13659 
   13660 
   13661 
   13662 if test $pkg_failed = yes; then
   13663    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13664 printf '%s\n' "no" >&6; }
   13665 
   13666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13667         _pkg_short_errors_supported=yes
   13668 else
   13669         _pkg_short_errors_supported=no
   13670 fi
   13671         if test $_pkg_short_errors_supported = yes; then
   13672 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   13673         else
   13674 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   13675         fi
   13676 	# Put the nasty error message in config.log where it belongs
   13677 	echo "$XCLOCK_PKG_ERRORS" >&5
   13678 
   13679 	as_fn_error $? "Package requirements (xaw7 xmu x11 xproto >= 7.0.17) were not met:
   13680 
   13681 $XCLOCK_PKG_ERRORS
   13682 
   13683 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13684 installed software in a non-standard prefix.
   13685 
   13686 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   13687 and XCLOCK_LIBS to avoid the need to call pkg-config.
   13688 See the pkg-config man page for more details." "$LINENO" 5
   13689 elif test $pkg_failed = untried; then
   13690      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13691 printf '%s\n' "no" >&6; }
   13692 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13693 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13694 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   13695 is in your PATH or set the PKG_CONFIG environment variable to the full
   13696 path to pkg-config.
   13697 
   13698 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   13699 and XCLOCK_LIBS to avoid the need to call pkg-config.
   13700 See the pkg-config man page for more details.
   13701 
   13702 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13703 See 'config.log' for more details" "$LINENO" 5; }
   13704 else
   13705 	XCLOCK_CFLAGS=$pkg_cv_XCLOCK_CFLAGS
   13706 	XCLOCK_LIBS=$pkg_cv_XCLOCK_LIBS
   13707         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13708 printf '%s\n' "yes" >&6; }
   13709 
   13710 fi
   13711 XCLOCK_LIBS="$XCLOCK_LIBS $LIBICONV"
   13712 
   13713 
   13714 # Check whether --with-xft was given.
   13715 if test ${with_xft+y}
   13716 then :
   13717   withval=$with_xft; use_xft="$withval"
   13718 else case e in #(
   13719   e) use_xft="try" ;;
   13720 esac
   13721 fi
   13722 
   13723 if test x$use_xft != xno ; then
   13724 
   13725 pkg_failed=no
   13726 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
   13727 printf %s "checking for XFT... " >&6; }
   13728 
   13729 if test -n "$XFT_CFLAGS"; then
   13730     pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
   13731  elif test -n "$PKG_CONFIG"; then
   13732     if test -n "$PKG_CONFIG" && \
   13733     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   13734   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   13735   ac_status=$?
   13736   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13737   test $ac_status = 0; }; then
   13738   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xrender xft" 2>/dev/null`
   13739 		      test "x$?" != "x0" && pkg_failed=yes
   13740 else
   13741   pkg_failed=yes
   13742 fi
   13743  else
   13744     pkg_failed=untried
   13745 fi
   13746 if test -n "$XFT_LIBS"; then
   13747     pkg_cv_XFT_LIBS="$XFT_LIBS"
   13748  elif test -n "$PKG_CONFIG"; then
   13749     if test -n "$PKG_CONFIG" && \
   13750     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   13751   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   13752   ac_status=$?
   13753   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13754   test $ac_status = 0; }; then
   13755   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xrender xft" 2>/dev/null`
   13756 		      test "x$?" != "x0" && pkg_failed=yes
   13757 else
   13758   pkg_failed=yes
   13759 fi
   13760  else
   13761     pkg_failed=untried
   13762 fi
   13763 
   13764 
   13765 
   13766 if test $pkg_failed = yes; then
   13767    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13768 printf '%s\n' "no" >&6; }
   13769 
   13770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13771         _pkg_short_errors_supported=yes
   13772 else
   13773         _pkg_short_errors_supported=no
   13774 fi
   13775         if test $_pkg_short_errors_supported = yes; then
   13776 	        XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender xft" 2>&1`
   13777         else
   13778 	        XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender xft" 2>&1`
   13779         fi
   13780 	# Put the nasty error message in config.log where it belongs
   13781 	echo "$XFT_PKG_ERRORS" >&5
   13782 
   13783 	as_fn_error $? "Package requirements (xrender xft) were not met:
   13784 
   13785 $XFT_PKG_ERRORS
   13786 
   13787 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13788 installed software in a non-standard prefix.
   13789 
   13790 Alternatively, you may set the environment variables XFT_CFLAGS
   13791 and XFT_LIBS to avoid the need to call pkg-config.
   13792 See the pkg-config man page for more details." "$LINENO" 5
   13793 elif test $pkg_failed = untried; then
   13794      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13795 printf '%s\n' "no" >&6; }
   13796 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13797 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13798 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   13799 is in your PATH or set the PKG_CONFIG environment variable to the full
   13800 path to pkg-config.
   13801 
   13802 Alternatively, you may set the environment variables XFT_CFLAGS
   13803 and XFT_LIBS to avoid the need to call pkg-config.
   13804 See the pkg-config man page for more details.
   13805 
   13806 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13807 See 'config.log' for more details" "$LINENO" 5; }
   13808 else
   13809 	XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
   13810 	XFT_LIBS=$pkg_cv_XFT_LIBS
   13811         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13812 printf '%s\n' "yes" >&6; }
   13813 
   13814 fi
   13815 	# Solaris 11 has sqrt in libc but needs libm for sincos
   13816 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
   13817 printf %s "checking for library containing sqrt... " >&6; }
   13818 if test ${ac_cv_search_sqrt+y}
   13819 then :
   13820   printf %s "(cached) " >&6
   13821 else case e in #(
   13822   e) ac_func_search_save_LIBS=$LIBS
   13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13824 /* end confdefs.h.  */
   13825 
   13826 /* Override any GCC internal prototype to avoid an error.
   13827    Use char because int might match the return type of a GCC
   13828    builtin and then its argument prototype would still apply.
   13829    The 'extern "C"' is for builds by C++ compilers;
   13830    although this is not generally supported in C code supporting it here
   13831    has little cost and some practical benefit (sr 110532).  */
   13832 #ifdef __cplusplus
   13833 extern "C"
   13834 #endif
   13835 char sqrt (void);
   13836 int
   13837 main (void)
   13838 {
   13839 return sqrt ();
   13840   ;
   13841   return 0;
   13842 }
   13843 _ACEOF
   13844 for ac_lib in '' m
   13845 do
   13846   if test -z "$ac_lib"; then
   13847     ac_res="none required"
   13848   else
   13849     ac_res=-l$ac_lib
   13850     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13851   fi
   13852   if ac_fn_c_try_link "$LINENO"
   13853 then :
   13854   ac_cv_search_sqrt=$ac_res
   13855 fi
   13856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13857     conftest$ac_exeext
   13858   if test ${ac_cv_search_sqrt+y}
   13859 then :
   13860   break
   13861 fi
   13862 done
   13863 if test ${ac_cv_search_sqrt+y}
   13864 then :
   13865 
   13866 else case e in #(
   13867   e) ac_cv_search_sqrt=no ;;
   13868 esac
   13869 fi
   13870 rm conftest.$ac_ext
   13871 LIBS=$ac_func_search_save_LIBS ;;
   13872 esac
   13873 fi
   13874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
   13875 printf '%s\n' "$ac_cv_search_sqrt" >&6; }
   13876 ac_res=$ac_cv_search_sqrt
   13877 if test "$ac_res" != no
   13878 then :
   13879   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13880 
   13881 fi
   13882 
   13883 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing sincos" >&5
   13884 printf %s "checking for library containing sincos... " >&6; }
   13885 if test ${ac_cv_search_sincos+y}
   13886 then :
   13887   printf %s "(cached) " >&6
   13888 else case e in #(
   13889   e) ac_func_search_save_LIBS=$LIBS
   13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13891 /* end confdefs.h.  */
   13892 
   13893 /* Override any GCC internal prototype to avoid an error.
   13894    Use char because int might match the return type of a GCC
   13895    builtin and then its argument prototype would still apply.
   13896    The 'extern "C"' is for builds by C++ compilers;
   13897    although this is not generally supported in C code supporting it here
   13898    has little cost and some practical benefit (sr 110532).  */
   13899 #ifdef __cplusplus
   13900 extern "C"
   13901 #endif
   13902 char sincos (void);
   13903 int
   13904 main (void)
   13905 {
   13906 return sincos ();
   13907   ;
   13908   return 0;
   13909 }
   13910 _ACEOF
   13911 for ac_lib in '' m
   13912 do
   13913   if test -z "$ac_lib"; then
   13914     ac_res="none required"
   13915   else
   13916     ac_res=-l$ac_lib
   13917     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13918   fi
   13919   if ac_fn_c_try_link "$LINENO"
   13920 then :
   13921   ac_cv_search_sincos=$ac_res
   13922 fi
   13923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13924     conftest$ac_exeext
   13925   if test ${ac_cv_search_sincos+y}
   13926 then :
   13927   break
   13928 fi
   13929 done
   13930 if test ${ac_cv_search_sincos+y}
   13931 then :
   13932 
   13933 else case e in #(
   13934   e) ac_cv_search_sincos=no ;;
   13935 esac
   13936 fi
   13937 rm conftest.$ac_ext
   13938 LIBS=$ac_func_search_save_LIBS ;;
   13939 esac
   13940 fi
   13941 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sincos" >&5
   13942 printf '%s\n' "$ac_cv_search_sincos" >&6; }
   13943 ac_res=$ac_cv_search_sincos
   13944 if test "$ac_res" != no
   13945 then :
   13946   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13947 
   13948 printf '%s\n' "#define HAVE_SINCOS 1" >>confdefs.h
   13949 
   13950 fi
   13951 
   13952 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XFT_CFLAGS"
   13953 	XCLOCK_LIBS="$XCLOCK_LIBS $XFT_LIBS"
   13954 
   13955 printf '%s\n' "#define XRENDER 1" >>confdefs.h
   13956 
   13957 
   13958 printf '%s\n' "#define XFREE86_FT2 1" >>confdefs.h
   13959 
   13960 fi
   13961 
   13962 
   13963 # Check whether --with-xkb was given.
   13964 if test ${with_xkb+y}
   13965 then :
   13966   withval=$with_xkb; use_xkb="$withval"
   13967 else case e in #(
   13968   e) use_xkb="try" ;;
   13969 esac
   13970 fi
   13971 
   13972 if test x$use_xkb != xno ; then
   13973 
   13974 pkg_failed=no
   13975 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XKB" >&5
   13976 printf %s "checking for XKB... " >&6; }
   13977 
   13978 if test -n "$XKB_CFLAGS"; then
   13979     pkg_cv_XKB_CFLAGS="$XKB_CFLAGS"
   13980  elif test -n "$PKG_CONFIG"; then
   13981     if test -n "$PKG_CONFIG" && \
   13982     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   13983   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   13984   ac_status=$?
   13985   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13986   test $ac_status = 0; }; then
   13987   pkg_cv_XKB_CFLAGS=`$PKG_CONFIG --cflags "xkbfile" 2>/dev/null`
   13988 		      test "x$?" != "x0" && pkg_failed=yes
   13989 else
   13990   pkg_failed=yes
   13991 fi
   13992  else
   13993     pkg_failed=untried
   13994 fi
   13995 if test -n "$XKB_LIBS"; then
   13996     pkg_cv_XKB_LIBS="$XKB_LIBS"
   13997  elif test -n "$PKG_CONFIG"; then
   13998     if test -n "$PKG_CONFIG" && \
   13999     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   14000   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   14001   ac_status=$?
   14002   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14003   test $ac_status = 0; }; then
   14004   pkg_cv_XKB_LIBS=`$PKG_CONFIG --libs "xkbfile" 2>/dev/null`
   14005 		      test "x$?" != "x0" && pkg_failed=yes
   14006 else
   14007   pkg_failed=yes
   14008 fi
   14009  else
   14010     pkg_failed=untried
   14011 fi
   14012 
   14013 
   14014 
   14015 if test $pkg_failed = yes; then
   14016    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14017 printf '%s\n' "no" >&6; }
   14018 
   14019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14020         _pkg_short_errors_supported=yes
   14021 else
   14022         _pkg_short_errors_supported=no
   14023 fi
   14024         if test $_pkg_short_errors_supported = yes; then
   14025 	        XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkbfile" 2>&1`
   14026         else
   14027 	        XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkbfile" 2>&1`
   14028         fi
   14029 	# Put the nasty error message in config.log where it belongs
   14030 	echo "$XKB_PKG_ERRORS" >&5
   14031 
   14032 	as_fn_error $? "Package requirements (xkbfile) were not met:
   14033 
   14034 $XKB_PKG_ERRORS
   14035 
   14036 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14037 installed software in a non-standard prefix.
   14038 
   14039 Alternatively, you may set the environment variables XKB_CFLAGS
   14040 and XKB_LIBS to avoid the need to call pkg-config.
   14041 See the pkg-config man page for more details." "$LINENO" 5
   14042 elif test $pkg_failed = untried; then
   14043      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14044 printf '%s\n' "no" >&6; }
   14045 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14046 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14047 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   14048 is in your PATH or set the PKG_CONFIG environment variable to the full
   14049 path to pkg-config.
   14050 
   14051 Alternatively, you may set the environment variables XKB_CFLAGS
   14052 and XKB_LIBS to avoid the need to call pkg-config.
   14053 See the pkg-config man page for more details.
   14054 
   14055 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14056 See 'config.log' for more details" "$LINENO" 5; }
   14057 else
   14058 	XKB_CFLAGS=$pkg_cv_XKB_CFLAGS
   14059 	XKB_LIBS=$pkg_cv_XKB_LIBS
   14060         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14061 printf '%s\n' "yes" >&6; }
   14062 
   14063 fi
   14064 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XKB_CFLAGS"
   14065 	XCLOCK_LIBS="$XCLOCK_LIBS $XKB_LIBS"
   14066 
   14067 printf '%s\n' "#define XKB 1" >>confdefs.h
   14068 
   14069 fi
   14070 
   14071 
   14072 
   14073 pkg_failed=no
   14074 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   14075 printf %s "checking for APPDEFS... " >&6; }
   14076 
   14077 if test -n "$APPDEFS_CFLAGS"; then
   14078     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   14079  elif test -n "$PKG_CONFIG"; then
   14080     if test -n "$PKG_CONFIG" && \
   14081     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   14082   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   14083   ac_status=$?
   14084   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14085   test $ac_status = 0; }; then
   14086   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   14087 		      test "x$?" != "x0" && pkg_failed=yes
   14088 else
   14089   pkg_failed=yes
   14090 fi
   14091  else
   14092     pkg_failed=untried
   14093 fi
   14094 if test -n "$APPDEFS_LIBS"; then
   14095     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   14096  elif test -n "$PKG_CONFIG"; then
   14097     if test -n "$PKG_CONFIG" && \
   14098     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   14099   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   14100   ac_status=$?
   14101   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14102   test $ac_status = 0; }; then
   14103   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   14104 		      test "x$?" != "x0" && pkg_failed=yes
   14105 else
   14106   pkg_failed=yes
   14107 fi
   14108  else
   14109     pkg_failed=untried
   14110 fi
   14111 
   14112 
   14113 
   14114 if test $pkg_failed = yes; then
   14115    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14116 printf '%s\n' "no" >&6; }
   14117 
   14118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14119         _pkg_short_errors_supported=yes
   14120 else
   14121         _pkg_short_errors_supported=no
   14122 fi
   14123         if test $_pkg_short_errors_supported = yes; then
   14124 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   14125         else
   14126 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   14127         fi
   14128 	# Put the nasty error message in config.log where it belongs
   14129 	echo "$APPDEFS_PKG_ERRORS" >&5
   14130 
   14131 	as_fn_error $? "Package requirements (xt) were not met:
   14132 
   14133 $APPDEFS_PKG_ERRORS
   14134 
   14135 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14136 installed software in a non-standard prefix.
   14137 
   14138 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   14139 and APPDEFS_LIBS to avoid the need to call pkg-config.
   14140 See the pkg-config man page for more details." "$LINENO" 5
   14141 elif test $pkg_failed = untried; then
   14142      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14143 printf '%s\n' "no" >&6; }
   14144 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14145 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14146 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   14147 is in your PATH or set the PKG_CONFIG environment variable to the full
   14148 path to pkg-config.
   14149 
   14150 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   14151 and APPDEFS_LIBS to avoid the need to call pkg-config.
   14152 See the pkg-config man page for more details.
   14153 
   14154 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14155 See 'config.log' for more details" "$LINENO" 5; }
   14156 else
   14157 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   14158 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   14159         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14160 printf '%s\n' "yes" >&6; }
   14161 
   14162 fi
   14163 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   14164 
   14165 # Check whether --with-appdefaultdir was given.
   14166 if test ${with_appdefaultdir+y}
   14167 then :
   14168   withval=$with_appdefaultdir; appdefaultdir="$withval"
   14169 else case e in #(
   14170   e) appdefaultdir="${xt_appdefaultdir}" ;;
   14171 esac
   14172 fi
   14173 
   14174 
   14175 
   14176 ac_config_files="$ac_config_files Makefile man/Makefile"
   14177 
   14178 cat >confcache <<\_ACEOF
   14179 # This file is a shell script that caches the results of configure
   14180 # tests run on this system so they can be shared between configure
   14181 # scripts and configure runs, see configure's option --config-cache.
   14182 # It is not useful on other systems.  If it contains results you don't
   14183 # want to keep, you may remove or edit it.
   14184 #
   14185 # config.status only pays attention to the cache file if you give it
   14186 # the --recheck option to rerun configure.
   14187 #
   14188 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   14189 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   14190 # following values.
   14191 
   14192 _ACEOF
   14193 
   14194 ac_cache_dump |
   14195   sed '
   14196      /^ac_cv_env_/b end
   14197      t clear
   14198      :clear
   14199      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   14200      t end
   14201      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14202      :end' >>confcache
   14203 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14204   if test -w "$cache_file"; then
   14205     if test "x$cache_file" != "x/dev/null"; then
   14206       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14207 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   14208       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14209 	cat confcache >"$cache_file"
   14210       else
   14211         case $cache_file in #(
   14212         */* | ?:*)
   14213 	  mv -f confcache "$cache_file"$$ &&
   14214 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14215         *)
   14216 	  mv -f confcache "$cache_file" ;;
   14217 	esac
   14218       fi
   14219     fi
   14220   else
   14221     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14222 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   14223   fi
   14224 fi
   14225 rm -f confcache
   14226 
   14227 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14228 # Let make expand exec_prefix.
   14229 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14230 
   14231 DEFS=-DHAVE_CONFIG_H
   14232 
   14233 ac_libobjs=
   14234 ac_ltlibobjs=
   14235 U=
   14236 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14237   # 1. Remove the extension, and $U if already installed.
   14238   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14239   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   14240   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14241   #    will be set to the directory where LIBOBJS objects are built.
   14242   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14243   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14244 done
   14245 LIBOBJS=$ac_libobjs
   14246 
   14247 LTLIBOBJS=$ac_ltlibobjs
   14248 
   14249 
   14250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14251 printf %s "checking that generated files are newer than configure... " >&6; }
   14252    if test -n "$am_sleep_pid"; then
   14253      # Hide warnings about reused PIDs.
   14254      wait $am_sleep_pid 2>/dev/null
   14255    fi
   14256    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14257 printf '%s\n' "done" >&6; }
   14258 case $enable_silent_rules in # (((
   14259   yes) AM_DEFAULT_VERBOSITY=0;;
   14260    no) AM_DEFAULT_VERBOSITY=1;;
   14261 esac
   14262 if test $am_cv_make_support_nested_variables = yes; then
   14263     AM_V='$(V)'
   14264   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   14265 else
   14266   AM_V=$AM_DEFAULT_VERBOSITY
   14267   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   14268 fi
   14269 
   14270  if test -n "$EXEEXT"; then
   14271   am__EXEEXT_TRUE=
   14272   am__EXEEXT_FALSE='#'
   14273 else
   14274   am__EXEEXT_TRUE='#'
   14275   am__EXEEXT_FALSE=
   14276 fi
   14277 
   14278 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14279   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14281 fi
   14282 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14283   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14285 fi
   14286 
   14287 : "${CONFIG_STATUS=./config.status}"
   14288 case $CONFIG_STATUS in #(
   14289   -*) :
   14290     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   14291   */*) :
   14292      ;; #(
   14293   *) :
   14294     CONFIG_STATUS=./$CONFIG_STATUS ;;
   14295 esac
   14296 
   14297 ac_write_fail=0
   14298 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   14299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14300 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   14301 as_write_fail=0
   14302 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   14303 #! $SHELL
   14304 # Generated by $as_me.
   14305 # Run this file to recreate the current configuration.
   14306 # Compiler output produced by configure, useful for debugging
   14307 # configure, is in config.log if it exists.
   14308 
   14309 debug=false
   14310 ac_cs_recheck=false
   14311 ac_cs_silent=false
   14312 
   14313 SHELL=\${CONFIG_SHELL-$SHELL}
   14314 export SHELL
   14315 _ASEOF
   14316 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   14317 ## -------------------- ##
   14318 ## M4sh Initialization. ##
   14319 ## -------------------- ##
   14320 
   14321 # Be more Bourne compatible
   14322 DUALCASE=1; export DUALCASE # for MKS sh
   14323 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   14324 then :
   14325   emulate sh
   14326   NULLCMD=:
   14327   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14328   # contradicts POSIX and common usage.  Disable this.
   14329   alias -g '${1+"$@"}'='"$@"'
   14330   setopt NO_GLOB_SUBST
   14331 else case e in #(
   14332   e) case `(set -o) 2>/dev/null` in #(
   14333   *posix*) :
   14334     set -o posix ;; #(
   14335   *) :
   14336      ;;
   14337 esac ;;
   14338 esac
   14339 fi
   14340 
   14341 
   14342 
   14343 # Reset variables that may have inherited troublesome values from
   14344 # the environment.
   14345 
   14346 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   14347 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   14348 # side effect of setting IFS to empty, thus disabling word splitting.)
   14349 # Quoting is to prevent editors from complaining about space-tab.
   14350 as_nl='
   14351 '
   14352 export as_nl
   14353 IFS=" ""	$as_nl"
   14354 
   14355 PS1='$ '
   14356 PS2='> '
   14357 PS4='+ '
   14358 
   14359 # Ensure predictable behavior from utilities with locale-dependent output.
   14360 LC_ALL=C
   14361 export LC_ALL
   14362 LANGUAGE=C
   14363 export LANGUAGE
   14364 
   14365 # We cannot yet rely on "unset" to work, but we need these variables
   14366 # to be unset--not just set to an empty or harmless value--now, to
   14367 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   14368 # also avoids known problems related to "unset" and subshell syntax
   14369 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   14370 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   14371 do eval test \${$as_var+y} \
   14372   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14373 done
   14374 
   14375 # Ensure that fds 0, 1, and 2 are open.
   14376 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   14377 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   14378 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   14379 
   14380 # The user is always right.
   14381 if ${PATH_SEPARATOR+false} :; then
   14382   PATH_SEPARATOR=:
   14383   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14384     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14385       PATH_SEPARATOR=';'
   14386   }
   14387 fi
   14388 
   14389 
   14390 # Find who we are.  Look in the path if we contain no directory separator.
   14391 as_myself=
   14392 case $0 in #((
   14393   *[\\/]* ) as_myself=$0 ;;
   14394   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14395 for as_dir in $PATH
   14396 do
   14397   IFS=$as_save_IFS
   14398   case $as_dir in #(((
   14399     '') as_dir=./ ;;
   14400     */) ;;
   14401     *) as_dir=$as_dir/ ;;
   14402   esac
   14403     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   14404   done
   14405 IFS=$as_save_IFS
   14406 
   14407      ;;
   14408 esac
   14409 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   14410 # in which case we are not to be found in the path.
   14411 if test "x$as_myself" = x; then
   14412   as_myself=$0
   14413 fi
   14414 if test ! -f "$as_myself"; then
   14415   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14416   exit 1
   14417 fi
   14418 
   14419 
   14420 
   14421 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14422 # ----------------------------------------
   14423 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14424 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14425 # script with STATUS, using 1 if that was 0.
   14426 as_fn_error ()
   14427 {
   14428   as_status=$1; test $as_status -eq 0 && as_status=1
   14429   if test "$4"; then
   14430     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14431     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14432   fi
   14433   printf '%s\n' "$as_me: error: $2" >&2
   14434   as_fn_exit $as_status
   14435 } # as_fn_error
   14436 
   14437 
   14438 # as_fn_set_status STATUS
   14439 # -----------------------
   14440 # Set $? to STATUS, without forking.
   14441 as_fn_set_status ()
   14442 {
   14443   return $1
   14444 } # as_fn_set_status
   14445 
   14446 # as_fn_exit STATUS
   14447 # -----------------
   14448 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14449 as_fn_exit ()
   14450 {
   14451   set +e
   14452   as_fn_set_status $1
   14453   exit $1
   14454 } # as_fn_exit
   14455 
   14456 # as_fn_unset VAR
   14457 # ---------------
   14458 # Portably unset VAR.
   14459 as_fn_unset ()
   14460 {
   14461   { eval $1=; unset $1;}
   14462 }
   14463 as_unset=as_fn_unset
   14464 
   14465 # as_fn_append VAR VALUE
   14466 # ----------------------
   14467 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14468 # advantage of any shell optimizations that allow amortized linear growth over
   14469 # repeated appends, instead of the typical quadratic growth present in naive
   14470 # implementations.
   14471 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   14472 then :
   14473   eval 'as_fn_append ()
   14474   {
   14475     eval $1+=\$2
   14476   }'
   14477 else case e in #(
   14478   e) as_fn_append ()
   14479   {
   14480     eval $1=\$$1\$2
   14481   } ;;
   14482 esac
   14483 fi # as_fn_append
   14484 
   14485 # as_fn_arith ARG...
   14486 # ------------------
   14487 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14488 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14489 # must be portable across $(()) and expr.
   14490 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   14491 then :
   14492   eval 'as_fn_arith ()
   14493   {
   14494     as_val=$(( $* ))
   14495   }'
   14496 else case e in #(
   14497   e) as_fn_arith ()
   14498   {
   14499     as_val=`expr "$@" || test $? -eq 1`
   14500   } ;;
   14501 esac
   14502 fi # as_fn_arith
   14503 
   14504 
   14505 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14506    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14507   as_expr=expr
   14508 else
   14509   as_expr=false
   14510 fi
   14511 
   14512 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14513   as_basename=basename
   14514 else
   14515   as_basename=false
   14516 fi
   14517 
   14518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14519   as_dirname=dirname
   14520 else
   14521   as_dirname=false
   14522 fi
   14523 
   14524 as_me=`$as_basename -- "$0" ||
   14525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14526 	 X"$0" : 'X\(//\)$' \| \
   14527 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14528 printf '%s\n' X/"$0" |
   14529     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14530 	    s//\1/
   14531 	    q
   14532 	  }
   14533 	  /^X\/\(\/\/\)$/{
   14534 	    s//\1/
   14535 	    q
   14536 	  }
   14537 	  /^X\/\(\/\).*/{
   14538 	    s//\1/
   14539 	    q
   14540 	  }
   14541 	  s/.*/./; q'`
   14542 
   14543 # Avoid depending upon Character Ranges.
   14544 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14545 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14546 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14547 as_cr_digits='0123456789'
   14548 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14549 
   14550 rm -f conf$$ conf$$.exe conf$$.file
   14551 if test -d conf$$.dir; then
   14552   rm -f conf$$.dir/conf$$.file
   14553 else
   14554   rm -f conf$$.dir
   14555   mkdir conf$$.dir 2>/dev/null
   14556 fi
   14557 if (echo >conf$$.file) 2>/dev/null; then
   14558   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14559     as_ln_s='ln -s'
   14560     # ... but there are two gotchas:
   14561     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   14562     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   14563     # In both cases, we have to default to 'cp -pR'.
   14564     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14565       as_ln_s='cp -pR'
   14566   elif ln conf$$.file conf$$ 2>/dev/null; then
   14567     as_ln_s=ln
   14568   else
   14569     as_ln_s='cp -pR'
   14570   fi
   14571 else
   14572   as_ln_s='cp -pR'
   14573 fi
   14574 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14575 rmdir conf$$.dir 2>/dev/null
   14576 
   14577 
   14578 # as_fn_mkdir_p
   14579 # -------------
   14580 # Create "$as_dir" as a directory, including parents if necessary.
   14581 as_fn_mkdir_p ()
   14582 {
   14583 
   14584   case $as_dir in #(
   14585   -*) as_dir=./$as_dir;;
   14586   esac
   14587   test -d "$as_dir" || eval $as_mkdir_p || {
   14588     as_dirs=
   14589     while :; do
   14590       case $as_dir in #(
   14591       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14592       *) as_qdir=$as_dir;;
   14593       esac
   14594       as_dirs="'$as_qdir' $as_dirs"
   14595       as_dir=`$as_dirname -- "$as_dir" ||
   14596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14597 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14598 	 X"$as_dir" : 'X\(//\)$' \| \
   14599 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14600 printf '%s\n' X"$as_dir" |
   14601     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14602 	    s//\1/
   14603 	    q
   14604 	  }
   14605 	  /^X\(\/\/\)[^/].*/{
   14606 	    s//\1/
   14607 	    q
   14608 	  }
   14609 	  /^X\(\/\/\)$/{
   14610 	    s//\1/
   14611 	    q
   14612 	  }
   14613 	  /^X\(\/\).*/{
   14614 	    s//\1/
   14615 	    q
   14616 	  }
   14617 	  s/.*/./; q'`
   14618       test -d "$as_dir" && break
   14619     done
   14620     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14621   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14622 
   14623 
   14624 } # as_fn_mkdir_p
   14625 if mkdir -p . 2>/dev/null; then
   14626   as_mkdir_p='mkdir -p "$as_dir"'
   14627 else
   14628   test -d ./-p && rmdir ./-p
   14629   as_mkdir_p=false
   14630 fi
   14631 
   14632 
   14633 # as_fn_executable_p FILE
   14634 # -----------------------
   14635 # Test if FILE is an executable regular file.
   14636 as_fn_executable_p ()
   14637 {
   14638   test -f "$1" && test -x "$1"
   14639 } # as_fn_executable_p
   14640 as_test_x='test -x'
   14641 as_executable_p=as_fn_executable_p
   14642 
   14643 # Sed expression to map a string onto a valid CPP name.
   14644 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   14645 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   14646 
   14647 # Sed expression to map a string onto a valid variable name.
   14648 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   14649 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   14650 
   14651 
   14652 exec 6>&1
   14653 ## ------------------------------------- ##
   14654 ## Main body of "$CONFIG_STATUS" script. ##
   14655 ## ------------------------------------- ##
   14656 _ASEOF
   14657 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   14658 
   14659 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14660 # Save the log message, to keep $0 and so on meaningful, and to
   14661 # report actual input values of CONFIG_FILES etc. instead of their
   14662 # values after options handling.
   14663 ac_log="
   14664 This file was extended by xclock $as_me 1.2.1, which was
   14665 generated by GNU Autoconf 2.73.  Invocation command line was
   14666 
   14667   CONFIG_FILES    = $CONFIG_FILES
   14668   CONFIG_HEADERS  = $CONFIG_HEADERS
   14669   CONFIG_LINKS    = $CONFIG_LINKS
   14670   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14671   $ $0 $@
   14672 
   14673 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14674 "
   14675 
   14676 _ACEOF
   14677 
   14678 case $ac_config_files in *"
   14679 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14680 esac
   14681 
   14682 case $ac_config_headers in *"
   14683 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14684 esac
   14685 
   14686 
   14687 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14688 # Files that config.status was made for.
   14689 config_files="$ac_config_files"
   14690 config_headers="$ac_config_headers"
   14691 config_commands="$ac_config_commands"
   14692 
   14693 _ACEOF
   14694 
   14695 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14696 ac_cs_usage="\
   14697 '$as_me' instantiates files and other configuration actions
   14698 from templates according to the current configuration.  Unless the files
   14699 and actions are specified as TAGs, all are instantiated by default.
   14700 
   14701 Usage: $0 [OPTION]... [TAG]...
   14702 
   14703   -h, --help       print this help, then exit
   14704   -V, --version    print version number and configuration settings, then exit
   14705       --config     print configuration, then exit
   14706   -q, --quiet, --silent
   14707                    do not print progress messages
   14708   -d, --debug      don't remove temporary files
   14709       --recheck    update $as_me by reconfiguring in the same conditions
   14710       --file=FILE[:TEMPLATE]
   14711                    instantiate the configuration file FILE
   14712       --header=FILE[:TEMPLATE]
   14713                    instantiate the configuration header FILE
   14714 
   14715 Configuration files:
   14716 $config_files
   14717 
   14718 Configuration headers:
   14719 $config_headers
   14720 
   14721 Configuration commands:
   14722 $config_commands
   14723 
   14724 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/-/issues>."
   14725 
   14726 _ACEOF
   14727 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   14728 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   14729 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14730 ac_cs_config='$ac_cs_config_escaped'
   14731 ac_cs_version="\\
   14732 xclock config.status 1.2.1
   14733 configured by $0, generated by GNU Autoconf 2.73,
   14734   with options \\"\$ac_cs_config\\"
   14735 
   14736 Copyright (C) 2026 Free Software Foundation, Inc.
   14737 This config.status script is free software; the Free Software Foundation
   14738 gives unlimited permission to copy, distribute and modify it."
   14739 
   14740 ac_pwd='$ac_pwd'
   14741 srcdir='$srcdir'
   14742 INSTALL='$INSTALL'
   14743 MKDIR_P='$MKDIR_P'
   14744 AWK='$AWK'
   14745 test -n "\$AWK" || {
   14746   awk '' </dev/null ||
   14747     as_fn_error \$? "try installing gawk"
   14748   AWK=awk
   14749 }
   14750 _ACEOF
   14751 
   14752 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14753 # The default lists apply if the user does not specify any file.
   14754 ac_need_defaults=:
   14755 while test $# != 0
   14756 do
   14757   case $1 in
   14758   --*=?*)
   14759     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14760     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14761     ac_shift=:
   14762     ;;
   14763   --*=)
   14764     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14765     ac_optarg=
   14766     ac_shift=:
   14767     ;;
   14768   *)
   14769     ac_option=$1
   14770     ac_optarg=$2
   14771     ac_shift=shift
   14772     ;;
   14773   esac
   14774 
   14775   case $ac_option in
   14776   # Handling of the options.
   14777   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14778     ac_cs_recheck=: ;;
   14779   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14780     printf '%s\n' "$ac_cs_version"; exit ;;
   14781   --config | --confi | --conf | --con | --co | --c )
   14782     printf '%s\n' "$ac_cs_config"; exit ;;
   14783   --debug | --debu | --deb | --de | --d | -d )
   14784     debug=: ;;
   14785   --file | --fil | --fi | --f )
   14786     $ac_shift
   14787     case $ac_optarg in
   14788     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14789     '') as_fn_error $? "missing file argument" ;;
   14790     esac
   14791     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14792     ac_need_defaults=false;;
   14793   --header | --heade | --head | --hea )
   14794     $ac_shift
   14795     case $ac_optarg in
   14796     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14797     esac
   14798     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14799     ac_need_defaults=false;;
   14800   --he | --h)
   14801     # Conflict between --help and --header
   14802     as_fn_error $? "ambiguous option: '$1'
   14803 Try '$0 --help' for more information.";;
   14804   --help | --hel | -h )
   14805     printf '%s\n' "$ac_cs_usage"; exit ;;
   14806   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14807   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14808     ac_cs_silent=: ;;
   14809 
   14810   # This is an error.
   14811   -*) as_fn_error $? "unrecognized option: '$1'
   14812 Try '$0 --help' for more information." ;;
   14813 
   14814   *) as_fn_append ac_config_targets " $1"
   14815      ac_need_defaults=false ;;
   14816 
   14817   esac
   14818   shift
   14819 done
   14820 
   14821 ac_configure_extra_args=
   14822 
   14823 if $ac_cs_silent; then
   14824   exec 6>/dev/null
   14825   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14826 fi
   14827 
   14828 _ACEOF
   14829 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14830 if \$ac_cs_recheck; then
   14831   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14832   shift
   14833   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   14834   CONFIG_SHELL='$SHELL'
   14835   export CONFIG_SHELL
   14836   exec "\$@"
   14837 fi
   14838 
   14839 _ACEOF
   14840 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14841 exec 5>>config.log
   14842 {
   14843   echo
   14844   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14845 ## Running $as_me. ##
   14846 _ASBOX
   14847   printf '%s\n' "$ac_log"
   14848 } >&5
   14849 
   14850 _ACEOF
   14851 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14852 #
   14853 # INIT-COMMANDS
   14854 #
   14855 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   14856 
   14857 _ACEOF
   14858 
   14859 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   14860 
   14861 # Handling of arguments.
   14862 for ac_config_target in $ac_config_targets
   14863 do
   14864   case $ac_config_target in
   14865     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14866     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14867     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14868     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14869 
   14870   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   14871   esac
   14872 done
   14873 
   14874 
   14875 # If the user did not use the arguments to specify the items to instantiate,
   14876 # then the envvar interface is used.  Set only those that are not.
   14877 # We use the long form for the default assignment because of an extremely
   14878 # bizarre bug on SunOS 4.1.3.
   14879 if $ac_need_defaults; then
   14880   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   14881   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   14882   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   14883 fi
   14884 
   14885 # Have a temporary directory for convenience.  Make it in the build tree
   14886 # simply because there is no reason against having it here, and in addition,
   14887 # creating and moving files from /tmp can sometimes cause problems.
   14888 # Hook for its removal unless debugging.
   14889 # Note that there is a small window in which the directory will not be cleaned:
   14890 # after its creation but before its name has been assigned to '$tmp'.
   14891 $debug ||
   14892 {
   14893   tmp= ac_tmp=
   14894   trap 'exit_status=$?
   14895   : "${ac_tmp:=$tmp}"
   14896   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14897 ' 0
   14898   trap 'as_fn_exit 1' 1 2 13 15
   14899 }
   14900 # Create a (secure) tmp directory for tmp files.
   14901 
   14902 {
   14903   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14904   test -d "$tmp"
   14905 }  ||
   14906 {
   14907   tmp=./conf$$-$RANDOM
   14908   (umask 077 && mkdir "$tmp")
   14909 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14910 ac_tmp=$tmp
   14911 
   14912 # Set up the scripts for CONFIG_FILES section.
   14913 # No need to generate them if there are no CONFIG_FILES.
   14914 # This happens for instance with './config.status config.h'.
   14915 if test -n "$CONFIG_FILES"; then
   14916 
   14917 
   14918 ac_cr=`echo X | tr X '\015'`
   14919 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14920 # But we know of no other shell where ac_cr would be empty at this
   14921 # point, so we can use a bashism as a fallback.
   14922 if test "x$ac_cr" = x; then
   14923   eval ac_cr=\$\'\\r\'
   14924 fi
   14925 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14926 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14927   ac_cs_awk_cr='\\r'
   14928 else
   14929   ac_cs_awk_cr=$ac_cr
   14930 fi
   14931 
   14932 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14933 _ACEOF
   14934 
   14935 
   14936 {
   14937   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14938   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14939   echo "_ACEOF"
   14940 } >conf$$subs.sh ||
   14941   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14942 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   14943 ac_delim='%!_!# '
   14944 for ac_last_try in false false false false false :; do
   14945   . ./conf$$subs.sh ||
   14946     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14947 
   14948   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   14949   if test $ac_delim_n = $ac_delim_num; then
   14950     break
   14951   elif $ac_last_try; then
   14952     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14953   else
   14954     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14955   fi
   14956 done
   14957 rm -f conf$$subs.sh
   14958 
   14959 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   14960 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14961 _ACEOF
   14962 sed -n '
   14963 h
   14964 s/^/S["/; s/!.*/"]=/
   14965 p
   14966 g
   14967 s/^[^!]*!//
   14968 :repl
   14969 t repl
   14970 s/'"$ac_delim"'$//
   14971 t delim
   14972 :nl
   14973 h
   14974 s/\(.\{148\}\)..*/\1/
   14975 t more1
   14976 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14977 p
   14978 n
   14979 b repl
   14980 :more1
   14981 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14982 p
   14983 g
   14984 s/.\{148\}//
   14985 t nl
   14986 :delim
   14987 h
   14988 s/\(.\{148\}\)..*/\1/
   14989 t more2
   14990 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14991 p
   14992 b
   14993 :more2
   14994 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14995 p
   14996 g
   14997 s/.\{148\}//
   14998 t delim
   14999 ' <conf$$subs.awk | sed '
   15000 /^[^""]/{
   15001   N
   15002   s/\n//
   15003 }
   15004 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   15005 rm -f conf$$subs.awk
   15006 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15007 _ACAWK
   15008 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15009   for (key in S) S_is_set[key] = 1
   15010   FS = ""
   15011 
   15012 }
   15013 {
   15014   line = $ 0
   15015   nfields = split(line, field, "@")
   15016   substed = 0
   15017   len = length(field[1])
   15018   for (i = 2; i < nfields; i++) {
   15019     key = field[i]
   15020     keylen = length(key)
   15021     if (S_is_set[key]) {
   15022       value = S[key]
   15023       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15024       len += length(value) + length(field[++i])
   15025       substed = 1
   15026     } else
   15027       len += 1 + keylen
   15028   }
   15029 
   15030   print line
   15031 }
   15032 
   15033 _ACAWK
   15034 _ACEOF
   15035 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15036 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15037   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15038 else
   15039   cat
   15040 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15041   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15042 _ACEOF
   15043 
   15044 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15045 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15046 # trailing colons and then remove the whole line if VPATH becomes empty
   15047 # (actually we leave an empty line to preserve line numbers).
   15048 if test "x$srcdir" = x.; then
   15049   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15050 h
   15051 s///
   15052 s/^/:/
   15053 s/[	 ]*$/:/
   15054 s/:\$(srcdir):/:/g
   15055 s/:\${srcdir}:/:/g
   15056 s/:@srcdir@:/:/g
   15057 s/^:*//
   15058 s/:*$//
   15059 x
   15060 s/\(=[	 ]*\).*/\1/
   15061 G
   15062 s/\n//
   15063 s/^[^=]*=[	 ]*$//
   15064 }'
   15065 fi
   15066 
   15067 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15068 fi # test -n "$CONFIG_FILES"
   15069 
   15070 # Set up the scripts for CONFIG_HEADERS section.
   15071 # No need to generate them if there are no CONFIG_HEADERS.
   15072 # This happens for instance with './config.status Makefile'.
   15073 if test -n "$CONFIG_HEADERS"; then
   15074 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15075 BEGIN {
   15076 _ACEOF
   15077 
   15078 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   15079 # here-document in config.status, that substitutes the proper values into
   15080 # config.h.in to produce config.h.
   15081 
   15082 # Create a delimiter string that does not exist in confdefs.h, to ease
   15083 # handling of long lines.
   15084 ac_delim='%!_!# '
   15085 for ac_last_try in false false :; do
   15086   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15087   if test -z "$ac_tt"; then
   15088     break
   15089   elif $ac_last_try; then
   15090     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15091   else
   15092     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15093   fi
   15094 done
   15095 
   15096 # For the awk script, D is an array of macro values keyed by name,
   15097 # likewise P contains macro parameters if any.  Preserve backslash
   15098 # newline sequences.
   15099 
   15100 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15101 sed -n '
   15102 s/.\{148\}/&'"$ac_delim"'/g
   15103 t rset
   15104 :rset
   15105 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15106 t def
   15107 d
   15108 :def
   15109 s/\\$//
   15110 t bsnl
   15111 s/["\\]/\\&/g
   15112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15113 D["\1"]=" \3"/p
   15114 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15115 d
   15116 :bsnl
   15117 s/["\\]/\\&/g
   15118 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15119 D["\1"]=" \3\\\\\\n"\\/p
   15120 t cont
   15121 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15122 t cont
   15123 d
   15124 :cont
   15125 n
   15126 s/.\{148\}/&'"$ac_delim"'/g
   15127 t clear
   15128 :clear
   15129 s/\\$//
   15130 t bsnlc
   15131 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15132 d
   15133 :bsnlc
   15134 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15135 b cont
   15136 ' <confdefs.h | sed '
   15137 s/'"$ac_delim"'/"\\\
   15138 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   15139 
   15140 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15141   for (key in D) D_is_set[key] = 1
   15142   FS = ""
   15143 }
   15144 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15145   line = \$ 0
   15146   split(line, arg, " ")
   15147   if (arg[1] == "#") {
   15148     defundef = arg[2]
   15149     mac1 = arg[3]
   15150   } else {
   15151     defundef = substr(arg[1], 2)
   15152     mac1 = arg[2]
   15153   }
   15154   split(mac1, mac2, "(") #)
   15155   macro = mac2[1]
   15156   prefix = substr(line, 1, index(line, defundef) - 1)
   15157   if (D_is_set[macro]) {
   15158     suffix = P[macro] D[macro]
   15159     while (suffix ~ /[\t ]$/) {
   15160       suffix = substr(suffix, 1, length(suffix) - 1)
   15161     }
   15162     # Preserve the white space surrounding the "#".
   15163     print prefix "define", macro suffix
   15164     next
   15165   } else {
   15166     # Replace #undef with comments.  This is necessary, for example,
   15167     # in the case of _POSIX_SOURCE, which is predefined and required
   15168     # on some systems where configure will not decide to define it.
   15169     if (defundef == "undef") {
   15170       print "/*", prefix defundef, macro, "*/"
   15171       next
   15172     }
   15173   }
   15174 }
   15175 { print }
   15176 _ACAWK
   15177 _ACEOF
   15178 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15179   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15180 fi # test -n "$CONFIG_HEADERS"
   15181 
   15182 
   15183 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15184 shift
   15185 for ac_tag
   15186 do
   15187   case $ac_tag in
   15188   :[FHLC]) ac_mode=$ac_tag; continue;;
   15189   esac
   15190   case $ac_mode$ac_tag in
   15191   :[FHL]*:*);;
   15192   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   15193   :[FH]-) ac_tag=-:-;;
   15194   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15195   esac
   15196   ac_save_IFS=$IFS
   15197   IFS=:
   15198   set x $ac_tag
   15199   IFS=$ac_save_IFS
   15200   shift
   15201   ac_file=$1
   15202   shift
   15203 
   15204   case $ac_mode in
   15205   :L) ac_source=$1;;
   15206   :[FH])
   15207     ac_file_inputs=
   15208     for ac_f
   15209     do
   15210       case $ac_f in
   15211       -) ac_f="$ac_tmp/stdin";;
   15212       *) # Look for the file first in the build tree, then in the source tree
   15213 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15214 	 # because $ac_f cannot contain ':'.
   15215 	 test -f "$ac_f" ||
   15216 	   case $ac_f in
   15217 	   [\\/$]*) false;;
   15218 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15219 	   esac ||
   15220 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   15221       esac
   15222       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15223       as_fn_append ac_file_inputs " '$ac_f'"
   15224     done
   15225 
   15226     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   15227     # use $as_me), people would be surprised to read:
   15228     #    /* config.h.  Generated by config.status.  */
   15229     configure_input='Generated from '`
   15230 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15231 	`' by configure.'
   15232     if test x"$ac_file" != x-; then
   15233       configure_input="$ac_file.  $configure_input"
   15234       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15235 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   15236     fi
   15237     # Neutralize special characters interpreted by sed in replacement strings.
   15238     case $configure_input in #(
   15239     *\&* | *\|* | *\\* )
   15240        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   15241        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15242     *) ac_sed_conf_input=$configure_input;;
   15243     esac
   15244 
   15245     case $ac_tag in
   15246     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15247       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15248     esac
   15249     ;;
   15250   esac
   15251 
   15252   ac_dir=`$as_dirname -- "$ac_file" ||
   15253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15254 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15255 	 X"$ac_file" : 'X\(//\)$' \| \
   15256 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15257 printf '%s\n' X"$ac_file" |
   15258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15259 	    s//\1/
   15260 	    q
   15261 	  }
   15262 	  /^X\(\/\/\)[^/].*/{
   15263 	    s//\1/
   15264 	    q
   15265 	  }
   15266 	  /^X\(\/\/\)$/{
   15267 	    s//\1/
   15268 	    q
   15269 	  }
   15270 	  /^X\(\/\).*/{
   15271 	    s//\1/
   15272 	    q
   15273 	  }
   15274 	  s/.*/./; q'`
   15275   as_dir="$ac_dir"; as_fn_mkdir_p
   15276   ac_builddir=.
   15277 
   15278 case "$ac_dir" in
   15279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15280 *)
   15281   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   15282   # A ".." for each directory in $ac_dir_suffix.
   15283   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15284   case $ac_top_builddir_sub in
   15285   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15286   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15287   esac ;;
   15288 esac
   15289 ac_abs_top_builddir=$ac_pwd
   15290 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15291 # for backward compatibility:
   15292 ac_top_builddir=$ac_top_build_prefix
   15293 
   15294 case $srcdir in
   15295   .)  # We are building in place.
   15296     ac_srcdir=.
   15297     ac_top_srcdir=$ac_top_builddir_sub
   15298     ac_abs_top_srcdir=$ac_pwd ;;
   15299   [\\/]* | ?:[\\/]* )  # Absolute name.
   15300     ac_srcdir=$srcdir$ac_dir_suffix;
   15301     ac_top_srcdir=$srcdir
   15302     ac_abs_top_srcdir=$srcdir ;;
   15303   *) # Relative name.
   15304     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15305     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15306     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15307 esac
   15308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15309 
   15310 
   15311   case $ac_mode in
   15312   :F)
   15313   #
   15314   # CONFIG_FILE
   15315   #
   15316 
   15317   case $INSTALL in
   15318   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15319   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15320   esac
   15321   ac_MKDIR_P=$MKDIR_P
   15322   case $MKDIR_P in
   15323   [\\/$]* | ?:[\\/]* ) ;;
   15324   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15325   esac
   15326 _ACEOF
   15327 
   15328 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15329 # If the template does not know about datarootdir, expand it.
   15330 # FIXME: This hack should be removed a few years after 2.60.
   15331 ac_datarootdir_hack=; ac_datarootdir_seen=
   15332 ac_sed_dataroot='
   15333 /datarootdir/ {
   15334   p
   15335   q
   15336 }
   15337 /@datadir@/p
   15338 /@docdir@/p
   15339 /@infodir@/p
   15340 /@localedir@/p
   15341 /@mandir@/p'
   15342 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15343 *datarootdir*) ac_datarootdir_seen=yes;;
   15344 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15345   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15346 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15347 _ACEOF
   15348 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15349   ac_datarootdir_hack='
   15350   s&@datadir@&$datadir&g
   15351   s&@docdir@&$docdir&g
   15352   s&@infodir@&$infodir&g
   15353   s&@localedir@&$localedir&g
   15354   s&@mandir@&$mandir&g
   15355   s&\\\${datarootdir}&$datarootdir&g' ;;
   15356 esac
   15357 _ACEOF
   15358 
   15359 # Neutralize VPATH when '$srcdir' = '.'.
   15360 # Shell code in configure.ac might set extrasub.
   15361 # FIXME: do we really want to maintain this feature?
   15362 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   15363 ac_sed_extra="$ac_vpsub
   15364 $extrasub
   15365 _ACEOF
   15366 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   15367 :t
   15368 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15369 s|@configure_input@|$ac_sed_conf_input|;t t
   15370 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15371 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15372 s&@srcdir@&$ac_srcdir&;t t
   15373 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15374 s&@top_srcdir@&$ac_top_srcdir&;t t
   15375 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15376 s&@builddir@&$ac_builddir&;t t
   15377 s&@abs_builddir@&$ac_abs_builddir&;t t
   15378 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15379 s&@INSTALL@&$ac_INSTALL&;t t
   15380 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15381 $ac_datarootdir_hack
   15382 "
   15383 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15384   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15385 
   15386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15387   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15388   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15389       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15390   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   15391 which seems to be undefined.  Please make sure it is defined" >&5
   15392 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   15393 which seems to be undefined.  Please make sure it is defined" >&2;}
   15394 
   15395   rm -f "$ac_tmp/stdin"
   15396   case $ac_file in
   15397   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15398   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15399   esac \
   15400   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15401  ;;
   15402   :H)
   15403   #
   15404   # CONFIG_HEADER
   15405   #
   15406   if test x"$ac_file" != x-; then
   15407     {
   15408       printf '%s\n' "/* $configure_input  */" >&1 \
   15409       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15410     } >"$ac_tmp/config.h" \
   15411       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15412     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15413       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15414 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   15415     else
   15416       rm -f "$ac_file"
   15417       mv "$ac_tmp/config.h" "$ac_file" \
   15418 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15419     fi
   15420   else
   15421     printf '%s\n' "/* $configure_input  */" >&1 \
   15422       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15423       || as_fn_error $? "could not create -" "$LINENO" 5
   15424   fi
   15425 # Compute "$ac_file"'s index in $config_headers.
   15426 _am_arg="$ac_file"
   15427 _am_stamp_count=1
   15428 for _am_header in $config_headers :; do
   15429   case $_am_header in
   15430     $_am_arg | $_am_arg:* )
   15431       break ;;
   15432     * )
   15433       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15434   esac
   15435 done
   15436 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15437 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15438 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15439 	 X"$_am_arg" : 'X\(//\)$' \| \
   15440 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15441 printf '%s\n' X"$_am_arg" |
   15442     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15443 	    s//\1/
   15444 	    q
   15445 	  }
   15446 	  /^X\(\/\/\)[^/].*/{
   15447 	    s//\1/
   15448 	    q
   15449 	  }
   15450 	  /^X\(\/\/\)$/{
   15451 	    s//\1/
   15452 	    q
   15453 	  }
   15454 	  /^X\(\/\).*/{
   15455 	    s//\1/
   15456 	    q
   15457 	  }
   15458 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15459  ;;
   15460 
   15461   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15462 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   15463  ;;
   15464   esac
   15465 
   15466 
   15467   case $ac_file$ac_mode in
   15468     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15469   # Older Autoconf quotes --file arguments for eval, but not when files
   15470   # are listed without --file.  Let's play safe and only enable the eval
   15471   # if we detect the quoting.
   15472   # TODO: see whether this extra hack can be removed once we start
   15473   # requiring Autoconf 2.70 or later.
   15474   case $CONFIG_FILES in #(
   15475   *\'*) :
   15476     eval set x "$CONFIG_FILES" ;; #(
   15477   *) :
   15478     set x $CONFIG_FILES ;; #(
   15479   *) :
   15480      ;;
   15481 esac
   15482   shift
   15483   # Used to flag and report bootstrapping failures.
   15484   am_rc=0
   15485   for am_mf
   15486   do
   15487     # Strip MF so we end up with the name of the file.
   15488     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   15489     # Check whether this is an Automake generated Makefile which includes
   15490     # dependency-tracking related rules and includes.
   15491     # Grep'ing the whole file directly is not great: AIX grep has a line
   15492     # limit of 2048, but all sed's we know have understand at least 4000.
   15493     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   15494       || continue
   15495     am_dirpart=`$as_dirname -- "$am_mf" ||
   15496 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15497 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   15498 	 X"$am_mf" : 'X\(//\)$' \| \
   15499 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   15500 printf '%s\n' X"$am_mf" |
   15501     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15502 	    s//\1/
   15503 	    q
   15504 	  }
   15505 	  /^X\(\/\/\)[^/].*/{
   15506 	    s//\1/
   15507 	    q
   15508 	  }
   15509 	  /^X\(\/\/\)$/{
   15510 	    s//\1/
   15511 	    q
   15512 	  }
   15513 	  /^X\(\/\).*/{
   15514 	    s//\1/
   15515 	    q
   15516 	  }
   15517 	  s/.*/./; q'`
   15518     am_filepart=`$as_basename -- "$am_mf" ||
   15519 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   15520 	 X"$am_mf" : 'X\(//\)$' \| \
   15521 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   15522 printf '%s\n' X/"$am_mf" |
   15523     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15524 	    s//\1/
   15525 	    q
   15526 	  }
   15527 	  /^X\/\(\/\/\)$/{
   15528 	    s//\1/
   15529 	    q
   15530 	  }
   15531 	  /^X\/\(\/\).*/{
   15532 	    s//\1/
   15533 	    q
   15534 	  }
   15535 	  s/.*/./; q'`
   15536     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   15537       && sed -e '/# am--include-marker/d' "$am_filepart" \
   15538         | $MAKE -f - am--depfiles" >&5
   15539    (cd "$am_dirpart" \
   15540       && sed -e '/# am--include-marker/d' "$am_filepart" \
   15541         | $MAKE -f - am--depfiles) >&5 2>&5
   15542    ac_status=$?
   15543    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15544    (exit $ac_status); } || am_rc=$?
   15545   done
   15546   if test $am_rc -ne 0; then
   15547     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   15548 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   15549 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   15550     for automatic dependency tracking.  If GNU make was not used, consider
   15551     re-running the configure script with MAKE=\"gmake\" (or whatever is
   15552     necessary).  You can also try re-running configure with the
   15553     '--disable-dependency-tracking' option to at least be able to build
   15554     the package (albeit without support for automatic dependency tracking).
   15555 See 'config.log' for more details" "$LINENO" 5; }
   15556   fi
   15557   { am_dirpart=; unset am_dirpart;}
   15558   { am_filepart=; unset am_filepart;}
   15559   { am_mf=; unset am_mf;}
   15560   { am_rc=; unset am_rc;}
   15561   rm -f conftest-deps.mk
   15562 }
   15563  ;;
   15564 
   15565   esac
   15566 done # for ac_tag
   15567 
   15568 
   15569 as_fn_exit 0
   15570 _ACEOF
   15571 ac_clean_CONFIG_STATUS=
   15572 
   15573 test $ac_write_fail = 0 ||
   15574   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15575 
   15576 
   15577 # configure is writing to config.log, and then calls config.status.
   15578 # config.status does its own redirection, appending to config.log.
   15579 # Unfortunately, on DOS this fails, as config.log is still kept open
   15580 # by configure, so config.status won't be able to write to it; its
   15581 # output is simply discarded.  So we exec the FD to /dev/null,
   15582 # effectively closing config.log, so it can be properly (re)opened and
   15583 # appended to by config.status.  When coming back to configure, we
   15584 # need to make the FD available again.
   15585 if test "$no_create" != yes; then
   15586   ac_cs_success=:
   15587   case $CONFIG_STATUS in #(
   15588   -*) :
   15589     ac_no_opts=-- ;; #(
   15590   *) :
   15591     ac_no_opts= ;;
   15592 esac
   15593   ac_config_status_args=
   15594   test "$silent" = yes &&
   15595     ac_config_status_args="$ac_config_status_args --quiet"
   15596   exec 5>/dev/null
   15597   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   15598     ac_cs_success=false
   15599   exec 5>>config.log
   15600   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15601   # would make configure fail if this is the last instruction.
   15602   $ac_cs_success || as_fn_exit 1
   15603 fi
   15604 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15605   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15606 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15607 fi
   15608 
   15609 
   15610