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 xrdb 1.2.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/-/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/xrdb/-/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='xrdb'
    591 PACKAGE_TARNAME='xrdb'
    592 PACKAGE_VERSION='1.2.3'
    593 PACKAGE_STRING='xrdb 1.2.3'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xrdb/-/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 XRDB_LIBS
    635 XRDB_CFLAGS
    636 CPP_PATH
    637 MAN_SUBSTS
    638 XORG_MAN_PAGE
    639 ADMIN_MAN_DIR
    640 DRIVER_MAN_DIR
    641 MISC_MAN_DIR
    642 FILE_MAN_DIR
    643 LIB_MAN_DIR
    644 APP_MAN_DIR
    645 ADMIN_MAN_SUFFIX
    646 DRIVER_MAN_SUFFIX
    647 MISC_MAN_SUFFIX
    648 FILE_MAN_SUFFIX
    649 LIB_MAN_SUFFIX
    650 APP_MAN_SUFFIX
    651 SED
    652 host_os
    653 host_vendor
    654 host_cpu
    655 host
    656 build_os
    657 build_vendor
    658 build_cpu
    659 build
    660 INSTALL_CMD
    661 PKG_CONFIG_LIBDIR
    662 PKG_CONFIG_PATH
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 am__xargs_n
    669 am__rm_f_notfound
    670 AM_BACKSLASH
    671 AM_DEFAULT_VERBOSITY
    672 AM_DEFAULT_V
    673 AM_V
    674 CSCOPE
    675 ETAGS
    676 CTAGS
    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 am__untar
    687 am__tar
    688 AMTAR
    689 am__leading_dot
    690 SET_MAKE
    691 AWK
    692 mkdir_p
    693 MKDIR_P
    694 INSTALL_STRIP_PROGRAM
    695 STRIP
    696 install_sh
    697 MAKEINFO
    698 AUTOHEADER
    699 AUTOMAKE
    700 AUTOCONF
    701 ACLOCAL
    702 VERSION
    703 PACKAGE
    704 CYGPATH_W
    705 am__isrc
    706 INSTALL_DATA
    707 INSTALL_SCRIPT
    708 INSTALL_PROGRAM
    709 OBJEXT
    710 EXEEXT
    711 ac_ct_CC
    712 CPPFLAGS
    713 LDFLAGS
    714 CFLAGS
    715 CC
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 target_alias
    720 host_alias
    721 build_alias
    722 LIBS
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 runstatedir
    736 localstatedir
    737 sharedstatedir
    738 sysconfdir
    739 datadir
    740 datarootdir
    741 libexecdir
    742 sbindir
    743 bindir
    744 program_transform_name
    745 prefix
    746 exec_prefix
    747 PACKAGE_URL
    748 PACKAGE_BUGREPORT
    749 PACKAGE_STRING
    750 PACKAGE_VERSION
    751 PACKAGE_TARNAME
    752 PACKAGE_NAME
    753 PATH_SEPARATOR
    754 SHELL
    755 am__quote'
    756 ac_subst_files=''
    757 ac_user_opts='
    758 enable_option_checking
    759 enable_dependency_tracking
    760 enable_silent_rules
    761 enable_selective_werror
    762 enable_strict_compilation
    763 with_cpp
    764 '
    765       ac_precious_vars='build_alias
    766 host_alias
    767 target_alias
    768 CC
    769 CFLAGS
    770 LDFLAGS
    771 LIBS
    772 CPPFLAGS
    773 PKG_CONFIG
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG_LIBDIR
    776 XRDB_CFLAGS
    777 XRDB_LIBS'
    778 
    779 
    780 # Initialize some variables set by options.
    781 ac_init_help=
    782 ac_init_version=false
    783 ac_unrecognized_opts=
    784 ac_unrecognized_sep=
    785 # The variables have the same names as the options, with
    786 # dashes changed to underlines.
    787 cache_file=/dev/null
    788 exec_prefix=NONE
    789 no_create=
    790 no_recursion=
    791 prefix=NONE
    792 program_prefix=NONE
    793 program_suffix=NONE
    794 program_transform_name=s,x,x,
    795 silent=
    796 site=
    797 srcdir=
    798 verbose=
    799 x_includes=NONE
    800 x_libraries=NONE
    801 
    802 # Installation directory options.
    803 # These are left unexpanded so users can "make install exec_prefix=/foo"
    804 # and all the variables that are supposed to be based on exec_prefix
    805 # by default will actually change.
    806 # Use braces instead of parens because sh, perl, etc. also accept them.
    807 # (The list follows the same order as the GNU Coding Standards.)
    808 bindir='${exec_prefix}/bin'
    809 sbindir='${exec_prefix}/sbin'
    810 libexecdir='${exec_prefix}/libexec'
    811 datarootdir='${prefix}/share'
    812 datadir='${datarootdir}'
    813 sysconfdir='${prefix}/etc'
    814 sharedstatedir='${prefix}/com'
    815 localstatedir='${prefix}/var'
    816 runstatedir='${localstatedir}/run'
    817 includedir='${prefix}/include'
    818 oldincludedir='/usr/include'
    819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    820 infodir='${datarootdir}/info'
    821 htmldir='${docdir}'
    822 dvidir='${docdir}'
    823 pdfdir='${docdir}'
    824 psdir='${docdir}'
    825 libdir='${exec_prefix}/lib'
    826 localedir='${datarootdir}/locale'
    827 mandir='${datarootdir}/man'
    828 
    829 ac_prev=
    830 ac_dashdash=
    831 for ac_option
    832 do
    833   # If the previous option needs an argument, assign it.
    834   if test -n "$ac_prev"; then
    835     eval $ac_prev=\$ac_option
    836     ac_prev=
    837     continue
    838   fi
    839 
    840   case $ac_option in
    841   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    842   *=)   ac_optarg= ;;
    843   *)    ac_optarg=yes ;;
    844   esac
    845 
    846   case $ac_dashdash$ac_option in
    847   --)
    848     ac_dashdash=yes ;;
    849 
    850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    851     ac_prev=bindir ;;
    852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    853     bindir=$ac_optarg ;;
    854 
    855   -build | --build | --buil | --bui | --bu)
    856     ac_prev=build_alias ;;
    857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    858     build_alias=$ac_optarg ;;
    859 
    860   -cache-file | --cache-file | --cache-fil | --cache-fi \
    861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    862     ac_prev=cache_file ;;
    863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    865     cache_file=$ac_optarg ;;
    866 
    867   --config-cache | -C)
    868     cache_file=config.cache ;;
    869 
    870   -datadir | --datadir | --datadi | --datad)
    871     ac_prev=datadir ;;
    872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    873     datadir=$ac_optarg ;;
    874 
    875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    876   | --dataroo | --dataro | --datar)
    877     ac_prev=datarootdir ;;
    878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    880     datarootdir=$ac_optarg ;;
    881 
    882   -disable-* | --disable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: '$ac_useropt'"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=no ;;
    897 
    898   -docdir | --docdir | --docdi | --doc | --do)
    899     ac_prev=docdir ;;
    900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    901     docdir=$ac_optarg ;;
    902 
    903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    904     ac_prev=dvidir ;;
    905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    906     dvidir=$ac_optarg ;;
    907 
    908   -enable-* | --enable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: '$ac_useropt'"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=\$ac_optarg ;;
    923 
    924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    926   | --exec | --exe | --ex)
    927     ac_prev=exec_prefix ;;
    928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    930   | --exec=* | --exe=* | --ex=*)
    931     exec_prefix=$ac_optarg ;;
    932 
    933   -gas | --gas | --ga | --g)
    934     # Obsolete; use --with-gas.
    935     with_gas=yes ;;
    936 
    937   -help | --help | --hel | --he | -h)
    938     ac_init_help=long ;;
    939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    940     ac_init_help=recursive ;;
    941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    942     ac_init_help=short ;;
    943 
    944   -host | --host | --hos | --ho)
    945     ac_prev=host_alias ;;
    946   -host=* | --host=* | --hos=* | --ho=*)
    947     host_alias=$ac_optarg ;;
    948 
    949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    950     ac_prev=htmldir ;;
    951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    952   | --ht=*)
    953     htmldir=$ac_optarg ;;
    954 
    955   -includedir | --includedir | --includedi | --included | --include \
    956   | --includ | --inclu | --incl | --inc)
    957     ac_prev=includedir ;;
    958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    959   | --includ=* | --inclu=* | --incl=* | --inc=*)
    960     includedir=$ac_optarg ;;
    961 
    962   -infodir | --infodir | --infodi | --infod | --info | --inf)
    963     ac_prev=infodir ;;
    964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    965     infodir=$ac_optarg ;;
    966 
    967   -libdir | --libdir | --libdi | --libd)
    968     ac_prev=libdir ;;
    969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    970     libdir=$ac_optarg ;;
    971 
    972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    973   | --libexe | --libex | --libe)
    974     ac_prev=libexecdir ;;
    975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    976   | --libexe=* | --libex=* | --libe=*)
    977     libexecdir=$ac_optarg ;;
    978 
    979   -localedir | --localedir | --localedi | --localed | --locale)
    980     ac_prev=localedir ;;
    981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    982     localedir=$ac_optarg ;;
    983 
    984   -localstatedir | --localstatedir | --localstatedi | --localstated \
    985   | --localstate | --localstat | --localsta | --localst | --locals)
    986     ac_prev=localstatedir ;;
    987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    989     localstatedir=$ac_optarg ;;
    990 
    991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    992     ac_prev=mandir ;;
    993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    994     mandir=$ac_optarg ;;
    995 
    996   -nfp | --nfp | --nf)
    997     # Obsolete; use --without-fp.
    998     with_fp=no ;;
    999 
   1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1001   | --no-cr | --no-c | -n)
   1002     no_create=yes ;;
   1003 
   1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1006     no_recursion=yes ;;
   1007 
   1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1010   | --oldin | --oldi | --old | --ol | --o)
   1011     ac_prev=oldincludedir ;;
   1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1015     oldincludedir=$ac_optarg ;;
   1016 
   1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1018     ac_prev=prefix ;;
   1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1020     prefix=$ac_optarg ;;
   1021 
   1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1023   | --program-pre | --program-pr | --program-p)
   1024     ac_prev=program_prefix ;;
   1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1027     program_prefix=$ac_optarg ;;
   1028 
   1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1030   | --program-suf | --program-su | --program-s)
   1031     ac_prev=program_suffix ;;
   1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1034     program_suffix=$ac_optarg ;;
   1035 
   1036   -program-transform-name | --program-transform-name \
   1037   | --program-transform-nam | --program-transform-na \
   1038   | --program-transform-n | --program-transform- \
   1039   | --program-transform | --program-transfor \
   1040   | --program-transfo | --program-transf \
   1041   | --program-trans | --program-tran \
   1042   | --progr-tra | --program-tr | --program-t)
   1043     ac_prev=program_transform_name ;;
   1044   -program-transform-name=* | --program-transform-name=* \
   1045   | --program-transform-nam=* | --program-transform-na=* \
   1046   | --program-transform-n=* | --program-transform-=* \
   1047   | --program-transform=* | --program-transfor=* \
   1048   | --program-transfo=* | --program-transf=* \
   1049   | --program-trans=* | --program-tran=* \
   1050   | --progr-tra=* | --program-tr=* | --program-t=*)
   1051     program_transform_name=$ac_optarg ;;
   1052 
   1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1054     ac_prev=pdfdir ;;
   1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1056     pdfdir=$ac_optarg ;;
   1057 
   1058   -psdir | --psdir | --psdi | --psd | --ps)
   1059     ac_prev=psdir ;;
   1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1061     psdir=$ac_optarg ;;
   1062 
   1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1064   | -silent | --silent | --silen | --sile | --sil)
   1065     silent=yes ;;
   1066 
   1067   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1068   | --runstate | --runstat | --runsta | --runst | --runs \
   1069   | --run | --ru | --r)
   1070     ac_prev=runstatedir ;;
   1071   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1072   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1073   | --run=* | --ru=* | --r=*)
   1074     runstatedir=$ac_optarg ;;
   1075 
   1076   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1077     ac_prev=sbindir ;;
   1078   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1079   | --sbi=* | --sb=*)
   1080     sbindir=$ac_optarg ;;
   1081 
   1082   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1083   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1084   | --sharedst | --shareds | --shared | --share | --shar \
   1085   | --sha | --sh)
   1086     ac_prev=sharedstatedir ;;
   1087   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1088   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1089   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1090   | --sha=* | --sh=*)
   1091     sharedstatedir=$ac_optarg ;;
   1092 
   1093   -site | --site | --sit)
   1094     ac_prev=site ;;
   1095   -site=* | --site=* | --sit=*)
   1096     site=$ac_optarg ;;
   1097 
   1098   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1099     ac_prev=srcdir ;;
   1100   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1101     srcdir=$ac_optarg ;;
   1102 
   1103   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1104   | --syscon | --sysco | --sysc | --sys | --sy)
   1105     ac_prev=sysconfdir ;;
   1106   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1107   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1108     sysconfdir=$ac_optarg ;;
   1109 
   1110   -target | --target | --targe | --targ | --tar | --ta | --t)
   1111     ac_prev=target_alias ;;
   1112   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1113     target_alias=$ac_optarg ;;
   1114 
   1115   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1116     verbose=yes ;;
   1117 
   1118   -version | --version | --versio | --versi | --vers | -V)
   1119     ac_init_version=: ;;
   1120 
   1121   -with-* | --with-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: '$ac_useropt'"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -without-* | --without-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: '$ac_useropt'"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=no ;;
   1152 
   1153   --x)
   1154     # Obsolete; use --with-x.
   1155     with_x=yes ;;
   1156 
   1157   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1158   | --x-incl | --x-inc | --x-in | --x-i)
   1159     ac_prev=x_includes ;;
   1160   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1161   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1162     x_includes=$ac_optarg ;;
   1163 
   1164   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1165   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1166     ac_prev=x_libraries ;;
   1167   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1168   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1169     x_libraries=$ac_optarg ;;
   1170 
   1171   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1172 Try '$0 --help' for more information"
   1173     ;;
   1174 
   1175   *=*)
   1176     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1177     # Reject names that are not valid shell variable names.
   1178     case $ac_envvar in #(
   1179       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1180       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1181     esac
   1182     eval $ac_envvar=\$ac_optarg
   1183     export $ac_envvar ;;
   1184 
   1185   *)
   1186     # FIXME: should be removed in autoconf 3.0.
   1187     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1188     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1189       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1190     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1191     ;;
   1192 
   1193   esac
   1194 done
   1195 
   1196 if test -n "$ac_prev"; then
   1197   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1198   as_fn_error $? "missing argument to $ac_option"
   1199 fi
   1200 
   1201 if test -n "$ac_unrecognized_opts"; then
   1202   case $enable_option_checking in
   1203     no) ;;
   1204     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1205     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1206   esac
   1207 fi
   1208 
   1209 # Check all directory arguments for consistency.
   1210 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1211 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1212 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1213 		libdir localedir mandir runstatedir
   1214 do
   1215   eval ac_val=\$$ac_var
   1216   # Remove trailing slashes.
   1217   case $ac_val in
   1218     */ )
   1219       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1220       eval $ac_var=\$ac_val;;
   1221   esac
   1222   # Be sure to have absolute directory names.
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: '$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241   elif test "x$build_alias" != "x$host_alias"; then
   1242     cross_compiling=yes
   1243   fi
   1244 fi
   1245 
   1246 ac_tool_prefix=
   1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1248 
   1249 test "$silent" = yes && exec 6>/dev/null
   1250 
   1251 
   1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1253 ac_ls_di=`ls -di .` &&
   1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1255   as_fn_error $? "working directory cannot be determined"
   1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1257   as_fn_error $? "pwd does not report name of working directory"
   1258 
   1259 
   1260 # Find the source files, if location was not specified.
   1261 if test -z "$srcdir"; then
   1262   ac_srcdir_defaulted=yes
   1263   # Try the directory containing this script, then the parent directory.
   1264   ac_confdir=`$as_dirname -- "$as_myself" ||
   1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1266 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1267 	 X"$as_myself" : 'X\(//\)$' \| \
   1268 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1269 printf '%s\n' X"$as_myself" |
   1270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\/\)[^/].*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\).*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  s/.*/./; q'`
   1287   srcdir=$ac_confdir
   1288   if test ! -r "$srcdir/$ac_unique_file"; then
   1289     srcdir=..
   1290   fi
   1291 else
   1292   ac_srcdir_defaulted=no
   1293 fi
   1294 if test ! -r "$srcdir/$ac_unique_file"; then
   1295   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1296   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1297 fi
   1298 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1299 ac_abs_confdir=`(
   1300 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1301 	pwd)`
   1302 # When building in place, set srcdir=.
   1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1304   srcdir=.
   1305 fi
   1306 # Remove unnecessary trailing slashes from srcdir.
   1307 # Double slashes in file names in object file debugging info
   1308 # mess up M-x gdb in Emacs.
   1309 case $srcdir in
   1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1311 esac
   1312 for ac_var in $ac_precious_vars; do
   1313   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_env_${ac_var}_value=\$${ac_var}
   1315   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1317 done
   1318 
   1319 #
   1320 # Report the --help message.
   1321 #
   1322 if test "$ac_init_help" = "long"; then
   1323   # Omit some internal or obsolete options to make the list less imposing.
   1324   # This message is too long to be a string in the A/UX 3.1 sh.
   1325   cat <<_ACEOF
   1326 'configure' configures xrdb 1.2.3 to adapt to many kinds of systems.
   1327 
   1328 Usage: $0 [OPTION]... [VAR=VALUE]...
   1329 
   1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1331 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1332 
   1333 Defaults for the options are specified in brackets.
   1334 
   1335 Configuration:
   1336   -h, --help              display this help and exit
   1337       --help=short        display options specific to this package
   1338       --help=recursive    display the short help of all the included packages
   1339   -V, --version           display version information and exit
   1340   -q, --quiet, --silent   do not print 'checking ...' messages
   1341       --cache-file=FILE   cache test results in FILE [disabled]
   1342   -C, --config-cache      alias for '--cache-file=config.cache'
   1343   -n, --no-create         do not create output files
   1344       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1345 
   1346 Installation directories:
   1347   --prefix=PREFIX         install architecture-independent files in PREFIX
   1348                           [$ac_default_prefix]
   1349   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1350                           [PREFIX]
   1351 
   1352 By default, 'make install' will install all the files in
   1353 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1354 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1355 for instance '--prefix=\$HOME'.
   1356 
   1357 For better control, use the options below.
   1358 
   1359 Fine tuning of the installation directories:
   1360   --bindir=DIR            user executables [EPREFIX/bin]
   1361   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1362   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1363   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1364   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1365   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1366   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1367   --libdir=DIR            object code libraries [EPREFIX/lib]
   1368   --includedir=DIR        C header files [PREFIX/include]
   1369   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1370   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1371   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1372   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1373   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1374   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1375   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrdb]
   1376   --htmldir=DIR           html documentation [DOCDIR]
   1377   --dvidir=DIR            dvi documentation [DOCDIR]
   1378   --pdfdir=DIR            pdf documentation [DOCDIR]
   1379   --psdir=DIR             ps documentation [DOCDIR]
   1380 _ACEOF
   1381 
   1382   cat <<\_ACEOF
   1383 
   1384 Program names:
   1385   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1386   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1387   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1388 
   1389 System types:
   1390   --build=BUILD     configure for building on BUILD [guessed]
   1391   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1392 _ACEOF
   1393 fi
   1394 
   1395 if test -n "$ac_init_help"; then
   1396   case $ac_init_help in
   1397      short | recursive ) echo "Configuration of xrdb 1.2.3:";;
   1398    esac
   1399   cat <<\_ACEOF
   1400 
   1401 Optional Features:
   1402   --disable-option-checking  ignore unrecognized --enable/--with options
   1403   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1404   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1405   --enable-dependency-tracking
   1406                           do not reject slow dependency extractors
   1407   --disable-dependency-tracking
   1408                           speeds up one-time build
   1409   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1410   --disable-silent-rules  verbose build output (undo: "make V=0")
   1411   --disable-selective-werror
   1412                           Turn off selective compiler errors. (default:
   1413                           enabled)
   1414   --enable-strict-compilation
   1415                           Enable all warnings from compiler and make them
   1416                           errors (default: disabled)
   1417 
   1418 Optional Packages:
   1419   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1420   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1421   --with-cpp=path         comma-separated list of paths to cpp command for
   1422                           xrdb to use at runtime
   1423 
   1424 Some influential environment variables:
   1425   CC          C compiler command
   1426   CFLAGS      C compiler flags
   1427   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1428               nonstandard directory <lib dir>
   1429   LIBS        libraries to pass to the linker, e.g. -l<library>
   1430   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1431               you have headers in a nonstandard directory <include dir>
   1432   PKG_CONFIG  path to pkg-config utility
   1433   PKG_CONFIG_PATH
   1434               directories to add to pkg-config's search path
   1435   PKG_CONFIG_LIBDIR
   1436               path overriding pkg-config's built-in search path
   1437   XRDB_CFLAGS C compiler flags for XRDB, overriding pkg-config
   1438   XRDB_LIBS   linker flags for XRDB, overriding pkg-config
   1439 
   1440 Use these variables to override the choices made by 'configure' or to help
   1441 it to find libraries and programs with nonstandard names/locations.
   1442 
   1443 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/-/issues>.
   1444 _ACEOF
   1445 ac_status=$?
   1446 fi
   1447 
   1448 if test "$ac_init_help" = "recursive"; then
   1449   # If there are subdirs, report their specific --help.
   1450   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1451     test -d "$ac_dir" ||
   1452       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1453       continue
   1454     ac_builddir=.
   1455 
   1456 case "$ac_dir" in
   1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458 *)
   1459   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1460   # A ".." for each directory in $ac_dir_suffix.
   1461   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1462   case $ac_top_builddir_sub in
   1463   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1464   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1465   esac ;;
   1466 esac
   1467 ac_abs_top_builddir=$ac_pwd
   1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1469 # for backward compatibility:
   1470 ac_top_builddir=$ac_top_build_prefix
   1471 
   1472 case $srcdir in
   1473   .)  # We are building in place.
   1474     ac_srcdir=.
   1475     ac_top_srcdir=$ac_top_builddir_sub
   1476     ac_abs_top_srcdir=$ac_pwd ;;
   1477   [\\/]* | ?:[\\/]* )  # Absolute name.
   1478     ac_srcdir=$srcdir$ac_dir_suffix;
   1479     ac_top_srcdir=$srcdir
   1480     ac_abs_top_srcdir=$srcdir ;;
   1481   *) # Relative name.
   1482     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1483     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1484     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1485 esac
   1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1487 
   1488     cd "$ac_dir" || { ac_status=$?; continue; }
   1489     # Check for configure.gnu first; this name is used for a wrapper for
   1490     # Metaconfig's "Configure" on case-insensitive file systems.
   1491     if test -f "$ac_srcdir/configure.gnu"; then
   1492       echo &&
   1493       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1494     elif test -f "$ac_srcdir/configure"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure" --help=recursive
   1497     else
   1498       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1499     fi || ac_status=$?
   1500     cd "$ac_pwd" || { ac_status=$?; break; }
   1501   done
   1502 fi
   1503 
   1504 test -n "$ac_init_help" && exit $ac_status
   1505 if $ac_init_version; then
   1506   cat <<\_ACEOF
   1507 xrdb configure 1.2.3
   1508 generated by GNU Autoconf 2.73
   1509 
   1510 Copyright (C) 2026 Free Software Foundation, Inc.
   1511 This configure script is free software; the Free Software Foundation
   1512 gives unlimited permission to copy, distribute and modify it.
   1513 _ACEOF
   1514   exit
   1515 fi
   1516 
   1517 ## ------------------------ ##
   1518 ## Autoconf initialization. ##
   1519 ## ------------------------ ##
   1520 
   1521 # ac_fn_c_try_compile LINENO
   1522 # --------------------------
   1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1524 ac_fn_c_try_compile ()
   1525 {
   1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1527   rm -f conftest.$ac_objext conftest.beam
   1528   if { { ac_try="$ac_compile"
   1529 case "(($ac_try" in
   1530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1531   *) ac_try_echo=$ac_try;;
   1532 esac
   1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1534 printf '%s\n' "$ac_try_echo"; } >&5
   1535   (eval "$ac_compile") 2>conftest.err
   1536   ac_status=$?
   1537   if test -s conftest.err; then
   1538     grep -v '^ *+' conftest.err >conftest.er1
   1539     cat conftest.er1 >&5
   1540     mv -f conftest.er1 conftest.err
   1541   fi
   1542   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1543   test $ac_status = 0; } && {
   1544 	 test -z "$ac_c_werror_flag" ||
   1545 	 test ! -s conftest.err
   1546        } && test -s conftest.$ac_objext
   1547 then :
   1548   ac_retval=0
   1549 else case e in #(
   1550   e) printf '%s\n' "$as_me: failed program was:" >&5
   1551 sed 's/^/| /' conftest.$ac_ext >&5
   1552 
   1553 	ac_retval=1 ;;
   1554 esac
   1555 fi
   1556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1557   as_fn_set_status $ac_retval
   1558 
   1559 } # ac_fn_c_try_compile
   1560 
   1561 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1562 # -------------------------------------------------------
   1563 # Tests whether HEADER exists and can be compiled using the include files in
   1564 # INCLUDES, setting the cache variable VAR accordingly.
   1565 ac_fn_c_check_header_compile ()
   1566 {
   1567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1568   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1569 printf %s "checking for $2... " >&6; }
   1570 if eval test \${$3+y}
   1571 then :
   1572   printf %s "(cached) " >&6
   1573 else case e in #(
   1574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1575 /* end confdefs.h.  */
   1576 $4
   1577 #include <$2>
   1578 _ACEOF
   1579 if ac_fn_c_try_compile "$LINENO"
   1580 then :
   1581   eval "$3=yes"
   1582 else case e in #(
   1583   e) eval "$3=no" ;;
   1584 esac
   1585 fi
   1586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1587 esac
   1588 fi
   1589 eval ac_res=\$$3
   1590 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1591 printf '%s\n' "$ac_res" >&6; }
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593 
   1594 } # ac_fn_c_check_header_compile
   1595 
   1596 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1597 # ------------------------------------------------------------------
   1598 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1599 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1600 ac_fn_check_decl ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1604   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1605 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1606 if eval test \${$3+y}
   1607 then :
   1608   printf %s "(cached) " >&6
   1609 else case e in #(
   1610   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1611   eval ac_save_FLAGS=\$$6
   1612   as_fn_append $6 " $5"
   1613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 $4
   1616 int
   1617 main (void)
   1618 {
   1619 #ifndef $as_decl_name
   1620 #ifdef __cplusplus
   1621   (void) $as_decl_use;
   1622 #else
   1623   (void) $as_decl_name;
   1624 #endif
   1625 #endif
   1626 
   1627   ;
   1628   return 0;
   1629 }
   1630 _ACEOF
   1631 if ac_fn_c_try_compile "$LINENO"
   1632 then :
   1633   eval "$3=yes"
   1634 else case e in #(
   1635   e) eval "$3=no" ;;
   1636 esac
   1637 fi
   1638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1639   eval $6=\$ac_save_FLAGS
   1640  ;;
   1641 esac
   1642 fi
   1643 eval ac_res=\$$3
   1644 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1645 printf '%s\n' "$ac_res" >&6; }
   1646   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1647 
   1648 } # ac_fn_check_decl
   1649 
   1650 # ac_fn_c_try_link LINENO
   1651 # -----------------------
   1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1653 ac_fn_c_try_link ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1657   if { { ac_try="$ac_link"
   1658 case "(($ac_try" in
   1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1660   *) ac_try_echo=$ac_try;;
   1661 esac
   1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1663 printf '%s\n' "$ac_try_echo"; } >&5
   1664   (eval "$ac_link") 2>conftest.err
   1665   ac_status=$?
   1666   if test -s conftest.err; then
   1667     grep -v '^ *+' conftest.err >conftest.er1
   1668     cat conftest.er1 >&5
   1669     mv -f conftest.er1 conftest.err
   1670   fi
   1671   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1672   test $ac_status = 0; } && {
   1673 	 test -z "$ac_c_werror_flag" ||
   1674 	 test ! -s conftest.err
   1675        } && test -s conftest$ac_exeext && {
   1676 	 test "$cross_compiling" = yes ||
   1677 	 test -x conftest$ac_exeext
   1678        }
   1679 then :
   1680   ac_retval=0
   1681 else case e in #(
   1682   e) printf '%s\n' "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685 	ac_retval=1 ;;
   1686 esac
   1687 fi
   1688   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1689   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1690   # interfere with the next link command; also delete a directory that is
   1691   # left behind by Apple's compiler.  We do this before executing the actions.
   1692   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694   as_fn_set_status $ac_retval
   1695 
   1696 } # ac_fn_c_try_link
   1697 
   1698 # ac_fn_c_check_func LINENO FUNC VAR
   1699 # ----------------------------------
   1700 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1701 ac_fn_c_check_func ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1705 printf %s "checking for $2... " >&6; }
   1706 if eval test \${$3+y}
   1707 then :
   1708   printf %s "(cached) " >&6
   1709 else case e in #(
   1710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1711 /* end confdefs.h.  */
   1712 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1714 #define $2 innocuous_$2
   1715 
   1716 /* System header to define __stub macros and hopefully few prototypes,
   1717    which can conflict with char $2 (void); below.  */
   1718 
   1719 #include <limits.h>
   1720 #undef $2
   1721 
   1722 /* Override any GCC internal prototype to avoid an error.
   1723    Use char because int might match the return type of a GCC
   1724    builtin and then its argument prototype would still apply.  */
   1725 #ifdef __cplusplus
   1726 extern "C"
   1727 #endif
   1728 char $2 (void);
   1729 /* The GNU C library defines this for functions which it implements
   1730     to always fail with ENOSYS.  Some functions are actually named
   1731     something starting with __ and the normal name is an alias.  */
   1732 #if defined __stub_$2 || defined __stub___$2
   1733 choke me
   1734 #endif
   1735 
   1736 int
   1737 main (void)
   1738 {
   1739 return $2 ();
   1740   ;
   1741   return 0;
   1742 }
   1743 _ACEOF
   1744 if ac_fn_c_try_link "$LINENO"
   1745 then :
   1746   eval "$3=yes"
   1747 else case e in #(
   1748   e) eval "$3=no" ;;
   1749 esac
   1750 fi
   1751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1752     conftest$ac_exeext conftest.$ac_ext ;;
   1753 esac
   1754 fi
   1755 eval ac_res=\$$3
   1756 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1757 printf '%s\n' "$ac_res" >&6; }
   1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1759 
   1760 } # ac_fn_c_check_func
   1761 ac_configure_args_raw=
   1762 for ac_arg
   1763 do
   1764   case $ac_arg in
   1765   *\'*)
   1766     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1767   esac
   1768   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1769 done
   1770 
   1771 case $ac_configure_args_raw in
   1772   *$as_nl*)
   1773     ac_safe_unquote= ;;
   1774   *)
   1775     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1776     ac_unsafe_a="$ac_unsafe_z#~"
   1777     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1778     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1779 esac
   1780 
   1781 cat >config.log <<_ACEOF
   1782 This file contains any messages produced by compilers while
   1783 running configure, to aid debugging if configure makes a mistake.
   1784 
   1785 It was created by xrdb $as_me 1.2.3, which was
   1786 generated by GNU Autoconf 2.73.  Invocation command line was
   1787 
   1788   $ $0$ac_configure_args_raw
   1789 
   1790 _ACEOF
   1791 exec 5>>config.log
   1792 {
   1793 cat <<_ASUNAME
   1794 ## --------- ##
   1795 ## Platform. ##
   1796 ## --------- ##
   1797 
   1798 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1799 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1800 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1801 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1802 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1803 
   1804 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1805 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1806 
   1807 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1808 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1809 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1810 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1811 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1812 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1813 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1814 
   1815 _ASUNAME
   1816 
   1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1818 for as_dir in $PATH
   1819 do
   1820   IFS=$as_save_IFS
   1821   case $as_dir in #(((
   1822     '') as_dir=./ ;;
   1823     */) ;;
   1824     *) as_dir=$as_dir/ ;;
   1825   esac
   1826     printf '%s\n' "PATH: $as_dir"
   1827   done
   1828 IFS=$as_save_IFS
   1829 
   1830 } >&5
   1831 
   1832 cat >&5 <<_ACEOF
   1833 
   1834 
   1835 ## ----------- ##
   1836 ## Core tests. ##
   1837 ## ----------- ##
   1838 
   1839 _ACEOF
   1840 
   1841 
   1842 # Keep a trace of the command line.
   1843 # Strip out --no-create and --no-recursion so they do not pile up.
   1844 # Strip out --silent because we don't want to record it for future runs.
   1845 # Also quote any args containing shell meta-characters.
   1846 # Make two passes to allow for proper duplicate-argument suppression.
   1847 ac_configure_args=
   1848 ac_configure_args0=
   1849 ac_configure_args1=
   1850 ac_must_keep_next=false
   1851 for ac_pass in 1 2
   1852 do
   1853   for ac_arg
   1854   do
   1855     case $ac_arg in
   1856     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1857     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1858     | -silent | --silent | --silen | --sile | --sil)
   1859       continue ;;
   1860     *\'*)
   1861       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1862     esac
   1863     case $ac_pass in
   1864     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1865     2)
   1866       as_fn_append ac_configure_args1 " '$ac_arg'"
   1867       if test $ac_must_keep_next = true; then
   1868 	ac_must_keep_next=false # Got value, back to normal.
   1869       else
   1870 	case $ac_arg in
   1871 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1872 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1873 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1874 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1875 	    case "$ac_configure_args0 " in
   1876 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1877 	    esac
   1878 	    ;;
   1879 	  -* ) ac_must_keep_next=true ;;
   1880 	esac
   1881       fi
   1882       as_fn_append ac_configure_args " '$ac_arg'"
   1883       ;;
   1884     esac
   1885   done
   1886 done
   1887 { ac_configure_args0=; unset ac_configure_args0;}
   1888 { ac_configure_args1=; unset ac_configure_args1;}
   1889 
   1890 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1891 ac_cache_dump ()
   1892 {
   1893   # The following way of writing the cache mishandles newlines in values,
   1894 # but we know of no workaround that is simple, portable, and efficient.
   1895 # So, we kill variables containing newlines.
   1896 # Ultrix sh set writes to stderr and can't be redirected directly,
   1897 # and sets the high bit in the cache file unless we assign to the vars.
   1898 (
   1899   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1900     eval ac_val=\$$ac_var
   1901     case $ac_val in #(
   1902     *${as_nl}*)
   1903       case $ac_var in #(
   1904       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1905 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1906       esac
   1907       case $ac_var in #(
   1908       _ | IFS | as_nl) ;; #(
   1909       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1910       *) { eval $ac_var=; unset $ac_var;} ;;
   1911       esac ;;
   1912     esac
   1913   done
   1914 
   1915   (set) 2>&1 |
   1916     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1917     *${as_nl}ac_space=\ *)
   1918       # 'set' does not quote correctly, so add quotes: double-quote
   1919       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1920       sed -n \
   1921 	"s/'/'\\\\''/g;
   1922 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1923       ;; #(
   1924     *)
   1925       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1926       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1927       ;;
   1928     esac |
   1929     sort
   1930 )
   1931 }
   1932 
   1933 # Print debugging info to stdout.
   1934 ac_dump_debugging_info ()
   1935 {
   1936   echo
   1937 
   1938   printf '%s\n' "## ---------------- ##
   1939 ## Cache variables. ##
   1940 ## ---------------- ##"
   1941   echo
   1942   ac_cache_dump
   1943   echo
   1944 
   1945   printf '%s\n' "## ----------------- ##
   1946 ## Output variables. ##
   1947 ## ----------------- ##"
   1948   echo
   1949   for ac_var in $ac_subst_vars
   1950   do
   1951     eval ac_val=\$$ac_var
   1952     case $ac_val in
   1953     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1954     esac
   1955     printf '%s\n' "$ac_var='$ac_val'"
   1956   done | sort
   1957   echo
   1958 
   1959   if test -n "$ac_subst_files"; then
   1960     printf '%s\n' "## ------------------- ##
   1961 ## File substitutions. ##
   1962 ## ------------------- ##"
   1963     echo
   1964     for ac_var in $ac_subst_files
   1965     do
   1966       eval ac_val=\$$ac_var
   1967       case $ac_val in
   1968       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1969       esac
   1970       printf '%s\n' "$ac_var='$ac_val'"
   1971     done | sort
   1972     echo
   1973   fi
   1974 
   1975   if test -s confdefs.h; then
   1976     printf '%s\n' "## ----------- ##
   1977 ## confdefs.h. ##
   1978 ## ----------- ##"
   1979     echo
   1980     cat confdefs.h
   1981     echo
   1982   fi
   1983   test "$ac_signal" != 0 &&
   1984     printf '%s\n' "$as_me: caught signal $ac_signal"
   1985   printf '%s\n' "$as_me: exit $exit_status"
   1986 }
   1987 
   1988 # When interrupted or exit'd, cleanup temporary files, and complete
   1989 # config.log.
   1990 ac_exit_trap ()
   1991 {
   1992   exit_status=
   1993   # Sanitize IFS.
   1994   IFS=" ""	$as_nl"
   1995   # Save into config.log some information that might help in debugging.
   1996   ac_dump_debugging_info >&5
   1997   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1998     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1999     exit $exit_status
   2000 }
   2001 
   2002 trap 'ac_exit_trap $?' 0
   2003 for ac_signal in 1 2 13 15; do
   2004   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2005 done
   2006 ac_signal=0
   2007 
   2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2009 rm -f -r conftest* confdefs.h
   2010 
   2011 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2012 
   2013 # Predefined preprocessor variables.
   2014 
   2015 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2016 
   2017 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2018 
   2019 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2020 
   2021 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2022 
   2023 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2024 
   2025 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2026 
   2027 
   2028 # Let the site file select an alternate cache file if it wants to.
   2029 # Prefer an explicitly selected file to automatically selected ones.
   2030 if test -n "$CONFIG_SITE"; then
   2031   ac_site_files="$CONFIG_SITE"
   2032 elif test "x$prefix" != xNONE; then
   2033   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2034 else
   2035   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2036 fi
   2037 
   2038 for ac_site_file in $ac_site_files
   2039 do
   2040   case $ac_site_file in #(
   2041   */*) :
   2042      ;; #(
   2043   *) :
   2044     ac_site_file=./$ac_site_file ;;
   2045 esac
   2046   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2047     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2048 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2049     sed 's/^/| /' "$ac_site_file" >&5
   2050     . "$ac_site_file" \
   2051       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2052 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2053 as_fn_error $? "failed to load site script $ac_site_file
   2054 See 'config.log' for more details" "$LINENO" 5; }
   2055   fi
   2056 done
   2057 
   2058 if test -r "$cache_file"; then
   2059   # Some versions of bash will fail to source /dev/null (special files
   2060   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2061   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2062     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2063 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2064     case $cache_file in
   2065       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2066       *)                      . "./$cache_file";;
   2067     esac
   2068   fi
   2069 else
   2070   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2071 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2072   >$cache_file
   2073 fi
   2074 
   2075 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2076 # Test code for whether the C compiler supports C23 (global declarations)
   2077 ac_c_conftest_c23_globals='
   2078 /* Does the compiler advertise conformance to C17 or earlier?
   2079    Although GCC 14 does not do that, even with -std=gnu23,
   2080    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2081 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2082 # error "Compiler advertises conformance to C17 or earlier"
   2083 #endif
   2084 
   2085 // Check alignas.
   2086 char alignas (double) c23_aligned_as_double;
   2087 char alignas (0) c23_no_special_alignment;
   2088 extern char c23_aligned_as_int;
   2089 char alignas (0) alignas (int) c23_aligned_as_int;
   2090 
   2091 // Check alignof.
   2092 enum
   2093 {
   2094   c23_int_alignment = alignof (int),
   2095   c23_int_array_alignment = alignof (int[100]),
   2096   c23_char_alignment = alignof (char)
   2097 };
   2098 static_assert (0 < -alignof (int), "alignof is signed");
   2099 
   2100 int function_with_unnamed_parameter (int) { return 0; }
   2101 
   2102 void c23_noreturn ();
   2103 
   2104 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2105    The parens pacify GCC 15.  */
   2106 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2107 
   2108 bool check_that_bool_works = true | false | !nullptr;
   2109 #if !true
   2110 # error "true does not work in #if"
   2111 #endif
   2112 #if false
   2113 #elifdef __STDC_VERSION__
   2114 #else
   2115 # error "#elifdef does not work"
   2116 #endif
   2117 
   2118 #ifndef __has_c_attribute
   2119 # error "__has_c_attribute not defined"
   2120 #endif
   2121 
   2122 #ifndef __has_include
   2123 # error "__has_include not defined"
   2124 #endif
   2125 
   2126 #define LPAREN() (
   2127 #define FORTY_TWO(x) 42
   2128 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2129 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2130 
   2131 static_assert (0b101010 == 42);
   2132 static_assert (0B101010 == 42);
   2133 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2134 static_assert (0.500'\''000'\''000 == 0.5);
   2135 
   2136 enum unsignedish : unsigned int { uione = 1 };
   2137 static_assert (0 < -uione);
   2138 
   2139 #include <stddef.h>
   2140 constexpr nullptr_t null_pointer = nullptr;
   2141 
   2142 static typeof (1 + 1L) two () { return 2; }
   2143 static long int three () { return 3; }
   2144 '
   2145 
   2146 # Test code for whether the C compiler supports C23 (body of main).
   2147 ac_c_conftest_c23_main='
   2148   {
   2149     label_before_declaration:
   2150       int arr[10] = {};
   2151       if (arr[0])
   2152         goto label_before_declaration;
   2153       if (!arr[0])
   2154         goto label_at_end_of_block;
   2155     label_at_end_of_block:
   2156   }
   2157   ok |= !null_pointer;
   2158   ok |= two != three;
   2159 '
   2160 
   2161 # Test code for whether the C compiler supports C23 (complete).
   2162 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2163 
   2164 int
   2165 main (int, char **)
   2166 {
   2167   int ok = 0;
   2168   ${ac_c_conftest_c23_main}
   2169   return ok;
   2170 }
   2171 "
   2172 
   2173 # Test code for whether the C compiler supports C89 (global declarations)
   2174 ac_c_conftest_c89_globals='
   2175 /* Do not test the value of __STDC__, because some compilers define it to 0
   2176    or do not define it, while otherwise adequately conforming.  */
   2177 
   2178 #include <stddef.h>
   2179 #include <stdarg.h>
   2180 struct stat;
   2181 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2182 struct buf { int x; };
   2183 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2184 static char *e (char **p, int i)
   2185 {
   2186   return p[i];
   2187 }
   2188 static char *f (char * (*g) (char **, int), char **p, ...)
   2189 {
   2190   char *s;
   2191   va_list v;
   2192   va_start (v,p);
   2193   s = g (p, va_arg (v,int));
   2194   va_end (v);
   2195   return s;
   2196 }
   2197 
   2198 /* C89 style stringification. */
   2199 #define noexpand_stringify(a) #a
   2200 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2201 
   2202 /* C89 style token pasting.  Exercises some of the corner cases that
   2203    e.g. old MSVC gets wrong, but not very hard. */
   2204 #define noexpand_concat(a,b) a##b
   2205 #define expand_concat(a,b) noexpand_concat(a,b)
   2206 extern int vA;
   2207 extern int vbee;
   2208 #define aye A
   2209 #define bee B
   2210 int *pvA = &expand_concat(v,aye);
   2211 int *pvbee = &noexpand_concat(v,bee);
   2212 
   2213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2214    function prototypes and stuff, but not \xHH hex character constants.
   2215    These do not provoke an error unfortunately, instead are silently treated
   2216    as an "x".  The following induces an error, until -std is added to get
   2217    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2218    array size at least.  It is necessary to write \x00 == 0 to get something
   2219    that is true only with -std.  */
   2220 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2221 
   2222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2223    inside strings and character constants.  */
   2224 #define FOO(x) '\''x'\''
   2225 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2226 
   2227 int test (int i, double x);
   2228 struct s1 {int (*f) (int a);};
   2229 struct s2 {int (*f) (double a);};
   2230 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2231                int, int);'
   2232 
   2233 # Test code for whether the C compiler supports C89 (body of main).
   2234 ac_c_conftest_c89_main='
   2235 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2236 '
   2237 
   2238 # Test code for whether the C compiler supports C99 (global declarations)
   2239 ac_c_conftest_c99_globals='
   2240 /* Does the compiler advertise C99 conformance? */
   2241 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2242 # error "Compiler does not advertise C99 conformance"
   2243 #endif
   2244 
   2245 // See if C++-style comments work.
   2246 
   2247 #include <stdbool.h>
   2248 extern int puts (const char *);
   2249 extern int printf (const char *, ...);
   2250 extern int dprintf (int, const char *, ...);
   2251 extern void *malloc (size_t);
   2252 extern void free (void *);
   2253 
   2254 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2255 // dprintf is used instead of fprintf to avoid needing to declare
   2256 // FILE and stderr, and "aND" is used instead of "and" to work around
   2257 // GCC bug 40564 which is irrelevant here.
   2258 #define debug(...) dprintf (2, __VA_ARGS__)
   2259 #define showlist(...) puts (#__VA_ARGS__)
   2260 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2261 static void
   2262 test_varargs_macros (void)
   2263 {
   2264   int x = 1234;
   2265   int y = 5678;
   2266   debug ("Flag");
   2267   debug ("X = %d\n", x);
   2268   showlist (The first, second, aND third items.);
   2269   report (x>y, "x is %d but y is %d", x, y);
   2270 }
   2271 
   2272 // Check long long types.
   2273 #define BIG64 18446744073709551615ull
   2274 #define BIG32 4294967295ul
   2275 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2276 #if !BIG_OK
   2277   #error "your preprocessor is broken"
   2278 #endif
   2279 #if BIG_OK
   2280 #else
   2281   #error "your preprocessor is broken"
   2282 #endif
   2283 static long long int bignum = -9223372036854775807LL;
   2284 static unsigned long long int ubignum = BIG64;
   2285 
   2286 struct incomplete_array
   2287 {
   2288   int datasize;
   2289   double data[];
   2290 };
   2291 
   2292 struct named_init {
   2293   int number;
   2294   const wchar_t *name;
   2295   double average;
   2296 };
   2297 
   2298 typedef const char *ccp;
   2299 
   2300 static inline int
   2301 test_restrict (ccp restrict text)
   2302 {
   2303   // Iterate through items via the restricted pointer.
   2304   // Also check for declarations in for loops.
   2305   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2306     continue;
   2307   return 0;
   2308 }
   2309 
   2310 // Check varargs and va_copy.
   2311 static bool
   2312 test_varargs (const char *format, ...)
   2313 {
   2314   va_list args;
   2315   va_start (args, format);
   2316   va_list args_copy;
   2317   va_copy (args_copy, args);
   2318 
   2319   const char *str = "";
   2320   int number = 0;
   2321   float fnumber = 0;
   2322 
   2323   while (*format)
   2324     {
   2325       switch (*format++)
   2326 	{
   2327 	case '\''s'\'': // string
   2328 	  str = va_arg (args_copy, const char *);
   2329 	  break;
   2330 	case '\''d'\'': // int
   2331 	  number = va_arg (args_copy, int);
   2332 	  break;
   2333 	case '\''f'\'': // float
   2334 	  fnumber = va_arg (args_copy, double);
   2335 	  break;
   2336 	default:
   2337 	  break;
   2338 	}
   2339     }
   2340   va_end (args_copy);
   2341   va_end (args);
   2342 
   2343   return *str && number && fnumber;
   2344 }
   2345 '
   2346 
   2347 # Test code for whether the C compiler supports C99 (body of main).
   2348 ac_c_conftest_c99_main='
   2349   // Check bool.
   2350   _Bool success = false;
   2351   success |= (argc != 0);
   2352 
   2353   // Check restrict.
   2354   if (test_restrict ("String literal") == 0)
   2355     success = true;
   2356   const char *restrict newvar = "Another string";
   2357 
   2358   // Check varargs.
   2359   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2360   test_varargs_macros ();
   2361 
   2362   // Check flexible array members.
   2363   static struct incomplete_array *volatile incomplete_array_pointer;
   2364   struct incomplete_array *ia = incomplete_array_pointer;
   2365   ia->datasize = 10;
   2366   for (int i = 0; i < ia->datasize; ++i)
   2367     ia->data[i] = i * 1.234;
   2368   // Work around memory leak warnings.
   2369   free (ia);
   2370 
   2371   // Check named initializers.
   2372   struct named_init ni = {
   2373     .number = 34,
   2374     .name = L"Test wide string",
   2375     .average = 543.34343,
   2376   };
   2377 
   2378   ni.number = 58;
   2379 
   2380   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2381   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2382 
   2383   // work around unused variable warnings
   2384   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2385 	 || ni.number != 58);
   2386 '
   2387 
   2388 # Test code for whether the C compiler supports C11 (global declarations)
   2389 ac_c_conftest_c11_globals='
   2390 /* Does the compiler advertise C11 conformance? */
   2391 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2392 # error "Compiler does not advertise C11 conformance"
   2393 #endif
   2394 
   2395 // Check _Alignas.
   2396 char _Alignas (double) aligned_as_double;
   2397 char _Alignas (0) no_special_alignment;
   2398 extern char aligned_as_int;
   2399 char _Alignas (0) _Alignas (int) aligned_as_int;
   2400 
   2401 // Check _Alignof.
   2402 enum
   2403 {
   2404   int_alignment = _Alignof (int),
   2405   int_array_alignment = _Alignof (int[100]),
   2406   char_alignment = _Alignof (char)
   2407 };
   2408 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2409 
   2410 // Check _Noreturn.
   2411 int _Noreturn does_not_return (void) { for (;;) continue; }
   2412 
   2413 // Check _Static_assert.
   2414 struct test_static_assert
   2415 {
   2416   int x;
   2417   _Static_assert (sizeof (int) <= sizeof (long int),
   2418                   "_Static_assert does not work in struct");
   2419   long int y;
   2420 };
   2421 
   2422 // Check UTF-8 literals.
   2423 #define u8 syntax error!
   2424 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2425 
   2426 // Check duplicate typedefs.
   2427 typedef long *long_ptr;
   2428 typedef long int *long_ptr;
   2429 typedef long_ptr long_ptr;
   2430 
   2431 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2432 struct anonymous
   2433 {
   2434   union {
   2435     struct { int i; int j; };
   2436     struct { int k; long int l; } w;
   2437   };
   2438   int m;
   2439 } v1;
   2440 '
   2441 
   2442 # Test code for whether the C compiler supports C11 (body of main).
   2443 ac_c_conftest_c11_main='
   2444   _Static_assert ((offsetof (struct anonymous, i)
   2445 		   == offsetof (struct anonymous, w.k)),
   2446 		  "Anonymous union alignment botch");
   2447   v1.i = 2;
   2448   v1.w.k = 5;
   2449   ok |= v1.i != 5;
   2450 '
   2451 
   2452 # Test code for whether the C compiler supports C11 (complete).
   2453 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2454 ${ac_c_conftest_c99_globals}
   2455 ${ac_c_conftest_c11_globals}
   2456 
   2457 int
   2458 main (int argc, char **argv)
   2459 {
   2460   int ok = 0;
   2461   ${ac_c_conftest_c89_main}
   2462   ${ac_c_conftest_c99_main}
   2463   ${ac_c_conftest_c11_main}
   2464   return ok;
   2465 }
   2466 "
   2467 
   2468 # Test code for whether the C compiler supports C99 (complete).
   2469 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2470 ${ac_c_conftest_c99_globals}
   2471 
   2472 int
   2473 main (int argc, char **argv)
   2474 {
   2475   int ok = 0;
   2476   ${ac_c_conftest_c89_main}
   2477   ${ac_c_conftest_c99_main}
   2478   return ok;
   2479 }
   2480 "
   2481 
   2482 # Test code for whether the C compiler supports C89 (complete).
   2483 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2484 
   2485 int
   2486 main (int argc, char **argv)
   2487 {
   2488   int ok = 0;
   2489   ${ac_c_conftest_c89_main}
   2490   return ok;
   2491 }
   2492 "
   2493 
   2494 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2495 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2496 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2497 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2498 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2499 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2500 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2501 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2502 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2503 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2504 
   2505 # Auxiliary files required by this configure script.
   2506 ac_aux_files="config.guess config.sub missing install-sh compile"
   2507 
   2508 # Locations in which to look for auxiliary files.
   2509 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2510 
   2511 # Search for a directory containing all of the required auxiliary files,
   2512 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2513 # If we don't find one directory that contains all the files we need,
   2514 # we report the set of missing files from the *first* directory in
   2515 # $ac_aux_dir_candidates and give up.
   2516 ac_missing_aux_files=""
   2517 ac_first_candidate=:
   2518 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2520 as_found=false
   2521 for as_dir in $ac_aux_dir_candidates
   2522 do
   2523   IFS=$as_save_IFS
   2524   case $as_dir in #(((
   2525     '') as_dir=./ ;;
   2526     */) ;;
   2527     *) as_dir=$as_dir/ ;;
   2528   esac
   2529   as_found=:
   2530 
   2531   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2532   ac_aux_dir_found=yes
   2533   ac_install_sh=
   2534   for ac_aux in $ac_aux_files
   2535   do
   2536     # As a special case, if "install-sh" is required, that requirement
   2537     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2538     # and $ac_install_sh is set appropriately for whichever one is found.
   2539     if test x"$ac_aux" = x"install-sh"
   2540     then
   2541       if test -f "${as_dir}install-sh"; then
   2542         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2543         ac_install_sh="${as_dir}install-sh -c"
   2544       elif test -f "${as_dir}install.sh"; then
   2545         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2546         ac_install_sh="${as_dir}install.sh -c"
   2547       elif test -f "${as_dir}shtool"; then
   2548         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2549         ac_install_sh="${as_dir}shtool install -c"
   2550       else
   2551         ac_aux_dir_found=no
   2552         if $ac_first_candidate; then
   2553           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2554         else
   2555           break
   2556         fi
   2557       fi
   2558     else
   2559       if test -f "${as_dir}${ac_aux}"; then
   2560         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2561       else
   2562         ac_aux_dir_found=no
   2563         if $ac_first_candidate; then
   2564           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2565         else
   2566           break
   2567         fi
   2568       fi
   2569     fi
   2570   done
   2571   if test "$ac_aux_dir_found" = yes; then
   2572     ac_aux_dir="$as_dir"
   2573     break
   2574   fi
   2575   ac_first_candidate=false
   2576 
   2577   as_found=false
   2578 done
   2579 IFS=$as_save_IFS
   2580 if $as_found
   2581 then :
   2582 
   2583 else case e in #(
   2584   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2585 esac
   2586 fi
   2587 
   2588 
   2589 # These three variables are undocumented and unsupported,
   2590 # and are intended to be withdrawn in a future Autoconf release.
   2591 # They can cause serious problems if a builder's source tree is in a directory
   2592 # whose full name contains unusual characters.
   2593 if test -f "${ac_aux_dir}config.guess"; then
   2594   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2595 fi
   2596 if test -f "${ac_aux_dir}config.sub"; then
   2597   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2598 fi
   2599 if test -f "$ac_aux_dir/configure"; then
   2600   ac_configure="$SHELL ${ac_aux_dir}configure"
   2601 fi
   2602 
   2603 # Check that the precious variables saved in the cache have kept the same
   2604 # value.
   2605 ac_cache_corrupted=false
   2606 for ac_var in $ac_precious_vars; do
   2607   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2608   eval ac_new_set=\$ac_env_${ac_var}_set
   2609   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2610   eval ac_new_val=\$ac_env_${ac_var}_value
   2611   case $ac_old_set,$ac_new_set in
   2612     set,)
   2613       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2614 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2615       ac_cache_corrupted=: ;;
   2616     ,set)
   2617       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2618 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2619       ac_cache_corrupted=: ;;
   2620     ,);;
   2621     *)
   2622       if test "x$ac_old_val" != "x$ac_new_val"; then
   2623 	# differences in whitespace do not lead to failure.
   2624 	ac_old_val_w=
   2625 	for ac_val in x $ac_old_val; do
   2626 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2627 	done
   2628 	ac_new_val_w=
   2629 	for ac_val in x $ac_new_val; do
   2630 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2631 	done
   2632 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2633 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2634 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2635 	  ac_cache_corrupted=:
   2636 	else
   2637 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2638 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2639 	  eval $ac_var=\$ac_old_val
   2640 	fi
   2641 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2642 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2643 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2644 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2645       fi;;
   2646   esac
   2647   # Pass precious variables to config.status.
   2648   if test "$ac_new_set" = set; then
   2649     case $ac_new_val in
   2650     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2651     *) ac_arg=$ac_var=$ac_new_val ;;
   2652     esac
   2653     case " $ac_configure_args " in
   2654       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2655       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2656     esac
   2657   fi
   2658 done
   2659 if $ac_cache_corrupted; then
   2660   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2661 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2662   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2663 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2664   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2665 	    and start over" "$LINENO" 5
   2666 fi
   2667 ## -------------------- ##
   2668 ## Main body of script. ##
   2669 ## -------------------- ##
   2670 
   2671 
   2672 # Determine whether it's possible to make 'echo' print without a newline.
   2673 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2674 # for compatibility with existing Makefiles.
   2675 ECHO_C= ECHO_N= ECHO_T=
   2676 case `echo -n x` in #(((((
   2677 -n*)
   2678   case `echo 'xy\c'` in
   2679   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2680   xy)  ECHO_C='\c';;
   2681   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2682        ECHO_T='	';;
   2683   esac;;
   2684 *)
   2685   ECHO_N='-n';;
   2686 esac
   2687 
   2688 ac_ext=c
   2689 ac_cpp='$CPP $CPPFLAGS'
   2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2693 
   2694 
   2695 
   2696 ac_config_headers="$ac_config_headers config.h"
   2697 
   2698 
   2699 
   2700 
   2701 
   2702 
   2703 
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 # Expand $ac_aux_dir to an absolute path.
   2713 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2714 
   2715 ac_ext=c
   2716 ac_cpp='$CPP $CPPFLAGS'
   2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2720 if test -n "$ac_tool_prefix"; then
   2721   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2723 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2724 printf %s "checking for $ac_word... " >&6; }
   2725 if test ${ac_cv_prog_CC+y}
   2726 then :
   2727   printf %s "(cached) " >&6
   2728 else case e in #(
   2729   e) if test -n "$CC"; then
   2730   ac_cv_prog_CC="$CC" # Let the user override the test.
   2731 else
   2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH
   2734 do
   2735   IFS=$as_save_IFS
   2736   case $as_dir in #(((
   2737     '') as_dir=./ ;;
   2738     */) ;;
   2739     *) as_dir=$as_dir/ ;;
   2740   esac
   2741     for ac_exec_ext in '' $ac_executable_extensions; do
   2742   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2743     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2744     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2745     break 2
   2746   fi
   2747 done
   2748   done
   2749 IFS=$as_save_IFS
   2750 
   2751 fi ;;
   2752 esac
   2753 fi
   2754 CC=$ac_cv_prog_CC
   2755 if test -n "$CC"; then
   2756   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2757 printf '%s\n' "$CC" >&6; }
   2758 else
   2759   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2760 printf '%s\n' "no" >&6; }
   2761 fi
   2762 
   2763 
   2764 fi
   2765 if test -z "$ac_cv_prog_CC"; then
   2766   ac_ct_CC=$CC
   2767   # Extract the first word of "gcc", so it can be a program name with args.
   2768 set dummy gcc; ac_word=$2
   2769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2770 printf %s "checking for $ac_word... " >&6; }
   2771 if test ${ac_cv_prog_ac_ct_CC+y}
   2772 then :
   2773   printf %s "(cached) " >&6
   2774 else case e in #(
   2775   e) if test -n "$ac_ct_CC"; then
   2776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2777 else
   2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2779 for as_dir in $PATH
   2780 do
   2781   IFS=$as_save_IFS
   2782   case $as_dir in #(((
   2783     '') as_dir=./ ;;
   2784     */) ;;
   2785     *) as_dir=$as_dir/ ;;
   2786   esac
   2787     for ac_exec_ext in '' $ac_executable_extensions; do
   2788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2789     ac_cv_prog_ac_ct_CC="gcc"
   2790     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2791     break 2
   2792   fi
   2793 done
   2794   done
   2795 IFS=$as_save_IFS
   2796 
   2797 fi ;;
   2798 esac
   2799 fi
   2800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2801 if test -n "$ac_ct_CC"; then
   2802   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2803 printf '%s\n' "$ac_ct_CC" >&6; }
   2804 else
   2805   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2806 printf '%s\n' "no" >&6; }
   2807 fi
   2808 
   2809   if test "x$ac_ct_CC" = x; then
   2810     CC=""
   2811   else
   2812     case $cross_compiling:$ac_tool_warned in
   2813 yes:)
   2814 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2815 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2816 ac_tool_warned=yes ;;
   2817 esac
   2818     CC=$ac_ct_CC
   2819   fi
   2820 else
   2821   CC="$ac_cv_prog_CC"
   2822 fi
   2823 
   2824 if test -z "$CC"; then
   2825           if test -n "$ac_tool_prefix"; then
   2826     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2827 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2828 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2829 printf %s "checking for $ac_word... " >&6; }
   2830 if test ${ac_cv_prog_CC+y}
   2831 then :
   2832   printf %s "(cached) " >&6
   2833 else case e in #(
   2834   e) if test -n "$CC"; then
   2835   ac_cv_prog_CC="$CC" # Let the user override the test.
   2836 else
   2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2838 for as_dir in $PATH
   2839 do
   2840   IFS=$as_save_IFS
   2841   case $as_dir in #(((
   2842     '') as_dir=./ ;;
   2843     */) ;;
   2844     *) as_dir=$as_dir/ ;;
   2845   esac
   2846     for ac_exec_ext in '' $ac_executable_extensions; do
   2847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2848     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2849     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2850     break 2
   2851   fi
   2852 done
   2853   done
   2854 IFS=$as_save_IFS
   2855 
   2856 fi ;;
   2857 esac
   2858 fi
   2859 CC=$ac_cv_prog_CC
   2860 if test -n "$CC"; then
   2861   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2862 printf '%s\n' "$CC" >&6; }
   2863 else
   2864   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2865 printf '%s\n' "no" >&6; }
   2866 fi
   2867 
   2868 
   2869   fi
   2870 fi
   2871 if test -z "$CC"; then
   2872   # Extract the first word of "cc", so it can be a program name with args.
   2873 set dummy cc; ac_word=$2
   2874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2875 printf %s "checking for $ac_word... " >&6; }
   2876 if test ${ac_cv_prog_CC+y}
   2877 then :
   2878   printf %s "(cached) " >&6
   2879 else case e in #(
   2880   e) if test -n "$CC"; then
   2881   ac_cv_prog_CC="$CC" # Let the user override the test.
   2882 else
   2883   ac_prog_rejected=no
   2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   case $as_dir in #(((
   2889     '') as_dir=./ ;;
   2890     */) ;;
   2891     *) as_dir=$as_dir/ ;;
   2892   esac
   2893     for ac_exec_ext in '' $ac_executable_extensions; do
   2894   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2895     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2896        ac_prog_rejected=yes
   2897        continue
   2898      fi
   2899     ac_cv_prog_CC="cc"
   2900     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2901     break 2
   2902   fi
   2903 done
   2904   done
   2905 IFS=$as_save_IFS
   2906 
   2907 if test $ac_prog_rejected = yes; then
   2908   # We found a bogon in the path, so make sure we never use it.
   2909   set dummy $ac_cv_prog_CC
   2910   shift
   2911   if test $# != 0; then
   2912     # We chose a different compiler from the bogus one.
   2913     # However, it has the same basename, so the bogon will be chosen
   2914     # first if we set CC to just the basename; use the full file name.
   2915     shift
   2916     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2917   fi
   2918 fi
   2919 fi ;;
   2920 esac
   2921 fi
   2922 CC=$ac_cv_prog_CC
   2923 if test -n "$CC"; then
   2924   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2925 printf '%s\n' "$CC" >&6; }
   2926 else
   2927   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2928 printf '%s\n' "no" >&6; }
   2929 fi
   2930 
   2931 
   2932 fi
   2933 if test -z "$CC"; then
   2934   if test -n "$ac_tool_prefix"; then
   2935   for ac_prog in cl.exe
   2936   do
   2937     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2940 printf %s "checking for $ac_word... " >&6; }
   2941 if test ${ac_cv_prog_CC+y}
   2942 then :
   2943   printf %s "(cached) " >&6
   2944 else case e in #(
   2945   e) if test -n "$CC"; then
   2946   ac_cv_prog_CC="$CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   case $as_dir in #(((
   2953     '') as_dir=./ ;;
   2954     */) ;;
   2955     *) as_dir=$as_dir/ ;;
   2956   esac
   2957     for ac_exec_ext in '' $ac_executable_extensions; do
   2958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2959     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2960     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2961     break 2
   2962   fi
   2963 done
   2964   done
   2965 IFS=$as_save_IFS
   2966 
   2967 fi ;;
   2968 esac
   2969 fi
   2970 CC=$ac_cv_prog_CC
   2971 if test -n "$CC"; then
   2972   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2973 printf '%s\n' "$CC" >&6; }
   2974 else
   2975   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2976 printf '%s\n' "no" >&6; }
   2977 fi
   2978 
   2979 
   2980     test -n "$CC" && break
   2981   done
   2982 fi
   2983 if test -z "$CC"; then
   2984   ac_ct_CC=$CC
   2985   for ac_prog in cl.exe
   2986 do
   2987   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2988 set dummy $ac_prog; ac_word=$2
   2989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2990 printf %s "checking for $ac_word... " >&6; }
   2991 if test ${ac_cv_prog_ac_ct_CC+y}
   2992 then :
   2993   printf %s "(cached) " >&6
   2994 else case e in #(
   2995   e) if test -n "$ac_ct_CC"; then
   2996   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2997 else
   2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2999 for as_dir in $PATH
   3000 do
   3001   IFS=$as_save_IFS
   3002   case $as_dir in #(((
   3003     '') as_dir=./ ;;
   3004     */) ;;
   3005     *) as_dir=$as_dir/ ;;
   3006   esac
   3007     for ac_exec_ext in '' $ac_executable_extensions; do
   3008   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3009     ac_cv_prog_ac_ct_CC="$ac_prog"
   3010     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3011     break 2
   3012   fi
   3013 done
   3014   done
   3015 IFS=$as_save_IFS
   3016 
   3017 fi ;;
   3018 esac
   3019 fi
   3020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3021 if test -n "$ac_ct_CC"; then
   3022   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3023 printf '%s\n' "$ac_ct_CC" >&6; }
   3024 else
   3025   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3026 printf '%s\n' "no" >&6; }
   3027 fi
   3028 
   3029 
   3030   test -n "$ac_ct_CC" && break
   3031 done
   3032 
   3033   if test "x$ac_ct_CC" = x; then
   3034     CC=""
   3035   else
   3036     case $cross_compiling:$ac_tool_warned in
   3037 yes:)
   3038 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3039 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3040 ac_tool_warned=yes ;;
   3041 esac
   3042     CC=$ac_ct_CC
   3043   fi
   3044 fi
   3045 
   3046 fi
   3047 if test -z "$CC"; then
   3048   if test -n "$ac_tool_prefix"; then
   3049   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3050 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3051 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3052 printf %s "checking for $ac_word... " >&6; }
   3053 if test ${ac_cv_prog_CC+y}
   3054 then :
   3055   printf %s "(cached) " >&6
   3056 else case e in #(
   3057   e) if test -n "$CC"; then
   3058   ac_cv_prog_CC="$CC" # Let the user override the test.
   3059 else
   3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3061 for as_dir in $PATH
   3062 do
   3063   IFS=$as_save_IFS
   3064   case $as_dir in #(((
   3065     '') as_dir=./ ;;
   3066     */) ;;
   3067     *) as_dir=$as_dir/ ;;
   3068   esac
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3072     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi ;;
   3080 esac
   3081 fi
   3082 CC=$ac_cv_prog_CC
   3083 if test -n "$CC"; then
   3084   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3085 printf '%s\n' "$CC" >&6; }
   3086 else
   3087   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3088 printf '%s\n' "no" >&6; }
   3089 fi
   3090 
   3091 
   3092 fi
   3093 if test -z "$ac_cv_prog_CC"; then
   3094   ac_ct_CC=$CC
   3095   # Extract the first word of "clang", so it can be a program name with args.
   3096 set dummy clang; ac_word=$2
   3097 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3098 printf %s "checking for $ac_word... " >&6; }
   3099 if test ${ac_cv_prog_ac_ct_CC+y}
   3100 then :
   3101   printf %s "(cached) " >&6
   3102 else case e in #(
   3103   e) if test -n "$ac_ct_CC"; then
   3104   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3105 else
   3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3107 for as_dir in $PATH
   3108 do
   3109   IFS=$as_save_IFS
   3110   case $as_dir in #(((
   3111     '') as_dir=./ ;;
   3112     */) ;;
   3113     *) as_dir=$as_dir/ ;;
   3114   esac
   3115     for ac_exec_ext in '' $ac_executable_extensions; do
   3116   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3117     ac_cv_prog_ac_ct_CC="clang"
   3118     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3119     break 2
   3120   fi
   3121 done
   3122   done
   3123 IFS=$as_save_IFS
   3124 
   3125 fi ;;
   3126 esac
   3127 fi
   3128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3129 if test -n "$ac_ct_CC"; then
   3130   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3131 printf '%s\n' "$ac_ct_CC" >&6; }
   3132 else
   3133   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3134 printf '%s\n' "no" >&6; }
   3135 fi
   3136 
   3137   if test "x$ac_ct_CC" = x; then
   3138     CC=""
   3139   else
   3140     case $cross_compiling:$ac_tool_warned in
   3141 yes:)
   3142 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3143 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3144 ac_tool_warned=yes ;;
   3145 esac
   3146     CC=$ac_ct_CC
   3147   fi
   3148 else
   3149   CC="$ac_cv_prog_CC"
   3150 fi
   3151 
   3152 fi
   3153 
   3154 
   3155 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3156 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3157 as_fn_error $? "no acceptable C compiler found in \$PATH
   3158 See 'config.log' for more details" "$LINENO" 5; }
   3159 
   3160 # Provide some information about the compiler.
   3161 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3162 set X $ac_compile
   3163 ac_compiler=$2
   3164 for ac_option in --version -v -V -qversion -version; do
   3165   { { ac_try="$ac_compiler $ac_option >&5"
   3166 case "(($ac_try" in
   3167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3168   *) ac_try_echo=$ac_try;;
   3169 esac
   3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3171 printf '%s\n' "$ac_try_echo"; } >&5
   3172   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3173   ac_status=$?
   3174   if test -s conftest.err; then
   3175     sed '10a\
   3176 ... rest of stderr output deleted ...
   3177          10q' conftest.err >conftest.er1
   3178     cat conftest.er1 >&5
   3179   fi
   3180   rm -f conftest.er1 conftest.err
   3181   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3182   test $ac_status = 0; }
   3183 done
   3184 
   3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3186 /* end confdefs.h.  */
   3187 
   3188 int
   3189 main (void)
   3190 {
   3191 
   3192   ;
   3193   return 0;
   3194 }
   3195 _ACEOF
   3196 ac_clean_files_save=$ac_clean_files
   3197 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3198 # Try to create an executable without -o first, disregard a.out.
   3199 # It will help us diagnose broken compilers, and finding out an intuition
   3200 # of exeext.
   3201 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3202 printf %s "checking whether the C compiler works... " >&6; }
   3203 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3204 
   3205 # The possible output files:
   3206 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3207 
   3208 ac_rmfiles=
   3209 for ac_file in $ac_files
   3210 do
   3211   case $ac_file in
   3212     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3213     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3214   esac
   3215 done
   3216 rm -f $ac_rmfiles
   3217 
   3218 if { { ac_try="$ac_link_default"
   3219 case "(($ac_try" in
   3220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3221   *) ac_try_echo=$ac_try;;
   3222 esac
   3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3224 printf '%s\n' "$ac_try_echo"; } >&5
   3225   (eval "$ac_link_default") 2>&5
   3226   ac_status=$?
   3227   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3228   test $ac_status = 0; }
   3229 then :
   3230   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3231 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3232 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3233 # so that the user can short-circuit this test for compilers unknown to
   3234 # Autoconf.
   3235 for ac_file in $ac_files ''
   3236 do
   3237   test -f "$ac_file" || continue
   3238   case $ac_file in
   3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3240 	;;
   3241     [ab].out )
   3242 	# We found the default executable, but exeext='' is most
   3243 	# certainly right.
   3244 	break;;
   3245     *.* )
   3246 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3247 	then :; else
   3248 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3249 	fi
   3250 	# We set ac_cv_exeext here because the later test for it is not
   3251 	# safe: cross compilers may not add the suffix if given an '-o'
   3252 	# argument, so we may need to know it at that point already.
   3253 	# Even if this section looks crufty: it has the advantage of
   3254 	# actually working.
   3255 	break;;
   3256     * )
   3257 	break;;
   3258   esac
   3259 done
   3260 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3261 
   3262 else case e in #(
   3263   e) ac_file='' ;;
   3264 esac
   3265 fi
   3266 if test -z "$ac_file"
   3267 then :
   3268   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3269 printf '%s\n' "no" >&6; }
   3270 printf '%s\n' "$as_me: failed program was:" >&5
   3271 sed 's/^/| /' conftest.$ac_ext >&5
   3272 
   3273 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3274 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3275 as_fn_error 77 "C compiler cannot create executables
   3276 See 'config.log' for more details" "$LINENO" 5; }
   3277 else case e in #(
   3278   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3279 printf '%s\n' "yes" >&6; } ;;
   3280 esac
   3281 fi
   3282 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3283 printf %s "checking for C compiler default output file name... " >&6; }
   3284 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3285 printf '%s\n' "$ac_file" >&6; }
   3286 ac_exeext=$ac_cv_exeext
   3287 
   3288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3289 ac_clean_files=$ac_clean_files_save
   3290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3291 printf %s "checking for suffix of executables... " >&6; }
   3292 if { { ac_try="$ac_link"
   3293 case "(($ac_try" in
   3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3295   *) ac_try_echo=$ac_try;;
   3296 esac
   3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3298 printf '%s\n' "$ac_try_echo"; } >&5
   3299   (eval "$ac_link") 2>&5
   3300   ac_status=$?
   3301   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }
   3303 then :
   3304   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3305 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3306 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3307 # 'rm'.
   3308 for ac_file in conftest.exe conftest conftest.*; do
   3309   test -f "$ac_file" || continue
   3310   case $ac_file in
   3311     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3312     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3313 	  break;;
   3314     * ) break;;
   3315   esac
   3316 done
   3317 else case e in #(
   3318   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3319 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3320 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3321 See 'config.log' for more details" "$LINENO" 5; } ;;
   3322 esac
   3323 fi
   3324 rm -f conftest conftest$ac_cv_exeext
   3325 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3326 printf '%s\n' "$ac_cv_exeext" >&6; }
   3327 
   3328 rm -f conftest.$ac_ext
   3329 EXEEXT=$ac_cv_exeext
   3330 ac_exeext=$EXEEXT
   3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3332 /* end confdefs.h.  */
   3333 #include <stdio.h>
   3334 int
   3335 main (void)
   3336 {
   3337 FILE *f = fopen ("conftest.out", "w");
   3338  if (!f)
   3339   return 1;
   3340  return ferror (f) || fclose (f) != 0;
   3341 
   3342   ;
   3343   return 0;
   3344 }
   3345 _ACEOF
   3346 ac_clean_files="$ac_clean_files conftest.out"
   3347 # Check that the compiler produces executables we can run.  If not, either
   3348 # the compiler is broken, or we cross compile.
   3349 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3350 printf %s "checking whether we are cross compiling... " >&6; }
   3351 if test "$cross_compiling" != yes; then
   3352   { { ac_try="$ac_link"
   3353 case "(($ac_try" in
   3354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3355   *) ac_try_echo=$ac_try;;
   3356 esac
   3357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3358 printf '%s\n' "$ac_try_echo"; } >&5
   3359   (eval "$ac_link") 2>&5
   3360   ac_status=$?
   3361   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3362   test $ac_status = 0; }
   3363   if { ac_try='./conftest$ac_cv_exeext'
   3364   { { case "(($ac_try" in
   3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3366   *) ac_try_echo=$ac_try;;
   3367 esac
   3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3369 printf '%s\n' "$ac_try_echo"; } >&5
   3370   (eval "$ac_try") 2>&5
   3371   ac_status=$?
   3372   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3373   test $ac_status = 0; }; }; then
   3374     cross_compiling=no
   3375   else
   3376     if test "$cross_compiling" = maybe; then
   3377 	cross_compiling=yes
   3378     else
   3379 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3380 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3381 as_fn_error 77 "cannot run C compiled programs.
   3382 If you meant to cross compile, use '--host'.
   3383 See 'config.log' for more details" "$LINENO" 5; }
   3384     fi
   3385   fi
   3386 fi
   3387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3388 printf '%s\n' "$cross_compiling" >&6; }
   3389 
   3390 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3391   conftest.o conftest.obj conftest.out
   3392 ac_clean_files=$ac_clean_files_save
   3393 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3394 printf %s "checking for suffix of object files... " >&6; }
   3395 if test ${ac_cv_objext+y}
   3396 then :
   3397   printf %s "(cached) " >&6
   3398 else case e in #(
   3399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main (void)
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 rm -f conftest.o conftest.obj
   3411 if { { ac_try="$ac_compile"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 printf '%s\n' "$ac_try_echo"; } >&5
   3418   (eval "$ac_compile") 2>&5
   3419   ac_status=$?
   3420   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }
   3422 then :
   3423   for ac_file in conftest.o conftest.obj conftest.*; do
   3424   test -f "$ac_file" || continue;
   3425   case $ac_file in
   3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3427     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3428        break;;
   3429   esac
   3430 done
   3431 else case e in #(
   3432   e) printf '%s\n' "$as_me: failed program was:" >&5
   3433 sed 's/^/| /' conftest.$ac_ext >&5
   3434 
   3435 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3436 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3437 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3438 See 'config.log' for more details" "$LINENO" 5; } ;;
   3439 esac
   3440 fi
   3441 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3442 esac
   3443 fi
   3444 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3445 printf '%s\n' "$ac_cv_objext" >&6; }
   3446 OBJEXT=$ac_cv_objext
   3447 ac_objext=$OBJEXT
   3448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3449 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3450 if test ${ac_cv_c_compiler_gnu+y}
   3451 then :
   3452   printf %s "(cached) " >&6
   3453 else case e in #(
   3454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3455 /* end confdefs.h.  */
   3456 
   3457 int
   3458 main (void)
   3459 {
   3460 #ifndef __GNUC__
   3461        choke me
   3462 #endif
   3463 
   3464   ;
   3465   return 0;
   3466 }
   3467 _ACEOF
   3468 if ac_fn_c_try_compile "$LINENO"
   3469 then :
   3470   ac_compiler_gnu=yes
   3471 else case e in #(
   3472   e) ac_compiler_gnu=no ;;
   3473 esac
   3474 fi
   3475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3477  ;;
   3478 esac
   3479 fi
   3480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3481 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3483 
   3484 if test $ac_compiler_gnu = yes; then
   3485   GCC=yes
   3486 else
   3487   GCC=
   3488 fi
   3489 ac_test_CFLAGS=${CFLAGS+y}
   3490 ac_save_CFLAGS=$CFLAGS
   3491 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3492 printf %s "checking whether $CC accepts -g... " >&6; }
   3493 if test ${ac_cv_prog_cc_g+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3498    ac_c_werror_flag=yes
   3499    ac_cv_prog_cc_g=no
   3500    CFLAGS="-g"
   3501    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 
   3504 int
   3505 main (void)
   3506 {
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 if ac_fn_c_try_compile "$LINENO"
   3513 then :
   3514   ac_cv_prog_cc_g=yes
   3515 else case e in #(
   3516   e) CFLAGS=""
   3517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3518 /* end confdefs.h.  */
   3519 
   3520 int
   3521 main (void)
   3522 {
   3523 
   3524   ;
   3525   return 0;
   3526 }
   3527 _ACEOF
   3528 if ac_fn_c_try_compile "$LINENO"
   3529 then :
   3530 
   3531 else case e in #(
   3532   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3533 	 CFLAGS="-g"
   3534 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 
   3537 int
   3538 main (void)
   3539 {
   3540 
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 if ac_fn_c_try_compile "$LINENO"
   3546 then :
   3547   ac_cv_prog_cc_g=yes
   3548 fi
   3549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3550 esac
   3551 fi
   3552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3553 esac
   3554 fi
   3555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3556    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3557 esac
   3558 fi
   3559 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3560 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   3561 if test $ac_test_CFLAGS; then
   3562   CFLAGS=$ac_save_CFLAGS
   3563 elif test $ac_cv_prog_cc_g = yes; then
   3564   if test "$GCC" = yes; then
   3565     CFLAGS="-g -O2"
   3566   else
   3567     CFLAGS="-g"
   3568   fi
   3569 else
   3570   if test "$GCC" = yes; then
   3571     CFLAGS="-O2"
   3572   else
   3573     CFLAGS=
   3574   fi
   3575 fi
   3576 ac_prog_cc_stdc=no
   3577 if test x$ac_prog_cc_stdc = xno
   3578 then :
   3579   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   3580 printf %s "checking for $CC option to enable C23 features... " >&6; }
   3581 if test ${ac_cv_prog_cc_c23+y}
   3582 then :
   3583   printf %s "(cached) " >&6
   3584 else case e in #(
   3585   e) ac_cv_prog_cc_c23=no
   3586 ac_save_CC=$CC
   3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3588 /* end confdefs.h.  */
   3589 $ac_c_conftest_c23_program
   3590 _ACEOF
   3591 for ac_arg in '' -std=gnu23
   3592 do
   3593   CC="$ac_save_CC $ac_arg"
   3594   if ac_fn_c_try_compile "$LINENO"
   3595 then :
   3596   ac_cv_prog_cc_c23=$ac_arg
   3597 fi
   3598 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3599   test "x$ac_cv_prog_cc_c23" != "xno" && break
   3600 done
   3601 rm -f conftest.$ac_ext
   3602 CC=$ac_save_CC ;;
   3603 esac
   3604 fi
   3605 
   3606 if test "x$ac_cv_prog_cc_c23" = xno
   3607 then :
   3608   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3609 printf '%s\n' "unsupported" >&6; }
   3610 else case e in #(
   3611   e) if test "x$ac_cv_prog_cc_c23" = x
   3612 then :
   3613   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3614 printf '%s\n' "none needed" >&6; }
   3615 else case e in #(
   3616   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   3617 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   3618      CC="$CC $ac_cv_prog_cc_c23" ;;
   3619 esac
   3620 fi
   3621   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   3622   ac_prog_cc_stdc=c23 ;;
   3623 esac
   3624 fi
   3625 fi
   3626 if test x$ac_prog_cc_stdc = xno
   3627 then :
   3628   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3629 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3630 if test ${ac_cv_prog_cc_c11+y}
   3631 then :
   3632   printf %s "(cached) " >&6
   3633 else case e in #(
   3634   e) ac_cv_prog_cc_c11=no
   3635 ac_save_CC=$CC
   3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3637 /* end confdefs.h.  */
   3638 $ac_c_conftest_c11_program
   3639 _ACEOF
   3640 for ac_arg in '' -std=gnu11 -std:c11
   3641 do
   3642   CC="$ac_save_CC $ac_arg"
   3643   if ac_fn_c_try_compile "$LINENO"
   3644 then :
   3645   ac_cv_prog_cc_c11=$ac_arg
   3646 fi
   3647 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3648   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3649 done
   3650 rm -f conftest.$ac_ext
   3651 CC=$ac_save_CC ;;
   3652 esac
   3653 fi
   3654 
   3655 if test "x$ac_cv_prog_cc_c11" = xno
   3656 then :
   3657   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3658 printf '%s\n' "unsupported" >&6; }
   3659 else case e in #(
   3660   e) if test "x$ac_cv_prog_cc_c11" = x
   3661 then :
   3662   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3663 printf '%s\n' "none needed" >&6; }
   3664 else case e in #(
   3665   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3666 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   3667      CC="$CC $ac_cv_prog_cc_c11" ;;
   3668 esac
   3669 fi
   3670   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3671   ac_prog_cc_stdc=c11 ;;
   3672 esac
   3673 fi
   3674 fi
   3675 if test x$ac_prog_cc_stdc = xno
   3676 then :
   3677   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3678 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3679 if test ${ac_cv_prog_cc_c99+y}
   3680 then :
   3681   printf %s "(cached) " >&6
   3682 else case e in #(
   3683   e) ac_cv_prog_cc_c99=no
   3684 ac_save_CC=$CC
   3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3686 /* end confdefs.h.  */
   3687 $ac_c_conftest_c99_program
   3688 _ACEOF
   3689 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3690 do
   3691   CC="$ac_save_CC $ac_arg"
   3692   if ac_fn_c_try_compile "$LINENO"
   3693 then :
   3694   ac_cv_prog_cc_c99=$ac_arg
   3695 fi
   3696 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3697   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3698 done
   3699 rm -f conftest.$ac_ext
   3700 CC=$ac_save_CC ;;
   3701 esac
   3702 fi
   3703 
   3704 if test "x$ac_cv_prog_cc_c99" = xno
   3705 then :
   3706   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3707 printf '%s\n' "unsupported" >&6; }
   3708 else case e in #(
   3709   e) if test "x$ac_cv_prog_cc_c99" = x
   3710 then :
   3711   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3712 printf '%s\n' "none needed" >&6; }
   3713 else case e in #(
   3714   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3715 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   3716      CC="$CC $ac_cv_prog_cc_c99" ;;
   3717 esac
   3718 fi
   3719   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3720   ac_prog_cc_stdc=c99 ;;
   3721 esac
   3722 fi
   3723 fi
   3724 if test x$ac_prog_cc_stdc = xno
   3725 then :
   3726   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3727 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3728 if test ${ac_cv_prog_cc_c89+y}
   3729 then :
   3730   printf %s "(cached) " >&6
   3731 else case e in #(
   3732   e) ac_cv_prog_cc_c89=no
   3733 ac_save_CC=$CC
   3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3735 /* end confdefs.h.  */
   3736 $ac_c_conftest_c89_program
   3737 _ACEOF
   3738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3739 do
   3740   CC="$ac_save_CC $ac_arg"
   3741   if ac_fn_c_try_compile "$LINENO"
   3742 then :
   3743   ac_cv_prog_cc_c89=$ac_arg
   3744 fi
   3745 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3746   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3747 done
   3748 rm -f conftest.$ac_ext
   3749 CC=$ac_save_CC ;;
   3750 esac
   3751 fi
   3752 
   3753 if test "x$ac_cv_prog_cc_c89" = xno
   3754 then :
   3755   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3756 printf '%s\n' "unsupported" >&6; }
   3757 else case e in #(
   3758   e) if test "x$ac_cv_prog_cc_c89" = x
   3759 then :
   3760   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3761 printf '%s\n' "none needed" >&6; }
   3762 else case e in #(
   3763   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3764 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   3765      CC="$CC $ac_cv_prog_cc_c89" ;;
   3766 esac
   3767 fi
   3768   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3769   ac_prog_cc_stdc=c89 ;;
   3770 esac
   3771 fi
   3772 fi
   3773 
   3774 ac_ext=c
   3775 ac_cpp='$CPP $CPPFLAGS'
   3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3779 
   3780 
   3781   ac_ext=c
   3782 ac_cpp='$CPP $CPPFLAGS'
   3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3786 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3787 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3788 if test ${am_cv_prog_cc_c_o+y}
   3789 then :
   3790   printf %s "(cached) " >&6
   3791 else case e in #(
   3792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3793 /* end confdefs.h.  */
   3794 
   3795 int
   3796 main (void)
   3797 {
   3798 
   3799   ;
   3800   return 0;
   3801 }
   3802 _ACEOF
   3803   # Make sure it works both with $CC and with simple cc.
   3804   # Following AC_PROG_CC_C_O, we do the test twice because some
   3805   # compilers refuse to overwrite an existing .o file with -o,
   3806   # though they will create one.
   3807   am_cv_prog_cc_c_o=yes
   3808   for am_i in 1 2; do
   3809     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3810    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3811    ac_status=$?
   3812    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3813    (exit $ac_status); } \
   3814          && test -f conftest2.$ac_objext; then
   3815       : OK
   3816     else
   3817       am_cv_prog_cc_c_o=no
   3818       break
   3819     fi
   3820   done
   3821   # aligned with autoconf, so not including core; see bug#72225.
   3822   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   3823     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   3824     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   3825   unset am_i ;;
   3826 esac
   3827 fi
   3828 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3829 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   3830 if test "$am_cv_prog_cc_c_o" != yes; then
   3831    # Losing compiler, so override with the script.
   3832    # FIXME: It is wrong to rewrite CC.
   3833    # But if we don't then we get into trouble of one sort or another.
   3834    # A longer-term fix would be to have automake use am__CC in this case,
   3835    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3836    CC="$am_aux_dir/compile $CC"
   3837 fi
   3838 ac_ext=c
   3839 ac_cpp='$CPP $CPPFLAGS'
   3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3843 
   3844 
   3845 
   3846 ac_header= ac_cache=
   3847 for ac_item in $ac_header_c_list
   3848 do
   3849   if test $ac_cache; then
   3850     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3851     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3852       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   3853     fi
   3854     ac_header= ac_cache=
   3855   elif test $ac_header; then
   3856     ac_cache=$ac_item
   3857   else
   3858     ac_header=$ac_item
   3859   fi
   3860 done
   3861 
   3862 
   3863 
   3864 
   3865 
   3866 
   3867 
   3868 
   3869 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3870 then :
   3871 
   3872 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   3873 
   3874 fi
   3875 
   3876 
   3877 
   3878 
   3879 
   3880 
   3881   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3882 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3883 if test ${ac_cv_safe_to_define___extensions__+y}
   3884 then :
   3885   printf %s "(cached) " >&6
   3886 else case e in #(
   3887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3888 /* end confdefs.h.  */
   3889 
   3890 #         define __EXTENSIONS__ 1
   3891           $ac_includes_default
   3892 int
   3893 main (void)
   3894 {
   3895 
   3896   ;
   3897   return 0;
   3898 }
   3899 _ACEOF
   3900 if ac_fn_c_try_compile "$LINENO"
   3901 then :
   3902   ac_cv_safe_to_define___extensions__=yes
   3903 else case e in #(
   3904   e) ac_cv_safe_to_define___extensions__=no ;;
   3905 esac
   3906 fi
   3907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3908 esac
   3909 fi
   3910 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3911 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   3912 
   3913   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3914 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3915 if test ${ac_cv_should_define__xopen_source+y}
   3916 then :
   3917   printf %s "(cached) " >&6
   3918 else case e in #(
   3919   e) ac_cv_should_define__xopen_source=no
   3920     if test $ac_cv_header_wchar_h = yes
   3921 then :
   3922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923 /* end confdefs.h.  */
   3924 
   3925           #include <wchar.h>
   3926           mbstate_t x;
   3927 int
   3928 main (void)
   3929 {
   3930 
   3931   ;
   3932   return 0;
   3933 }
   3934 _ACEOF
   3935 if ac_fn_c_try_compile "$LINENO"
   3936 then :
   3937 
   3938 else case e in #(
   3939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 
   3942             #define _XOPEN_SOURCE 500
   3943             #include <wchar.h>
   3944             mbstate_t x;
   3945 int
   3946 main (void)
   3947 {
   3948 
   3949   ;
   3950   return 0;
   3951 }
   3952 _ACEOF
   3953 if ac_fn_c_try_compile "$LINENO"
   3954 then :
   3955   ac_cv_should_define__xopen_source=yes
   3956 fi
   3957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3958 esac
   3959 fi
   3960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3961 fi ;;
   3962 esac
   3963 fi
   3964 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3965 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   3966 
   3967   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   3968 
   3969   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   3970 
   3971   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3972 
   3973   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   3974 
   3975   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3976 
   3977   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   3978 
   3979   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3980 
   3981   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3982 
   3983   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3984 
   3985   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3986 
   3987   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3988 
   3989   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   3990 
   3991   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3992 
   3993   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3994 
   3995   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3996 
   3997   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3998 
   3999   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   4000 
   4001   if test $ac_cv_header_minix_config_h = yes
   4002 then :
   4003   MINIX=yes
   4004     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   4005 
   4006     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   4007 
   4008     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4009 
   4010 else case e in #(
   4011   e) MINIX= ;;
   4012 esac
   4013 fi
   4014   if test $ac_cv_safe_to_define___extensions__ = yes
   4015 then :
   4016   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   4017 
   4018 fi
   4019   if test $ac_cv_should_define__xopen_source = yes
   4020 then :
   4021   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   4022 
   4023 fi
   4024 
   4025 
   4026 # Initialize Automake
   4027 am__api_version='1.18'
   4028 
   4029 
   4030   # Find a good install program.  We prefer a C program (faster),
   4031 # so one script is as good as another.  But avoid the broken or
   4032 # incompatible versions:
   4033 # SysV /etc/install, /usr/sbin/install
   4034 # SunOS /usr/etc/install
   4035 # IRIX /sbin/install
   4036 # AIX /bin/install
   4037 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4038 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4039 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4040 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4041 # OS/2's system install, which has a completely different semantic
   4042 # ./install, which can be erroneously created by make from ./install.sh.
   4043 # Reject install programs that cannot install multiple files.
   4044 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4045 printf %s "checking for a BSD-compatible install... " >&6; }
   4046 if test -z "$INSTALL"; then
   4047 if test ${ac_cv_path_install+y}
   4048 then :
   4049   printf %s "(cached) " >&6
   4050 else case e in #(
   4051   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4052 for as_dir in $PATH
   4053 do
   4054   IFS=$as_save_IFS
   4055   case $as_dir in #(((
   4056     '') as_dir=./ ;;
   4057     */) ;;
   4058     *) as_dir=$as_dir/ ;;
   4059   esac
   4060     # Account for fact that we put trailing slashes in our PATH walk.
   4061 case $as_dir in #((
   4062   ./ | /[cC]/* | \
   4063   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4064   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4065   /usr/ucb/* ) ;;
   4066   *)
   4067     # OSF/1 and SCO ODT 3.0 have their own names for install.
   4068     # Don't use installbsd from OSF/1 since it installs stuff as root
   4069     # by default.
   4070     for ac_prog in ginstall scoinst install; do
   4071       for ac_exec_ext in '' $ac_executable_extensions; do
   4072 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4073 	  if test $ac_prog = install &&
   4074 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4075 	    # AIX install.  It has an incompatible calling convention.
   4076 	    :
   4077 	  elif test $ac_prog = install &&
   4078 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4079 	    # program-specific install script used by HP pwplus--don't use.
   4080 	    :
   4081 	  else
   4082 	    rm -rf conftest.one conftest.two conftest.dir
   4083 	    echo one > conftest.one
   4084 	    echo two > conftest.two
   4085 	    mkdir conftest.dir
   4086 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4087 	      test -s conftest.one && test -s conftest.two &&
   4088 	      test -s conftest.dir/conftest.one &&
   4089 	      test -s conftest.dir/conftest.two
   4090 	    then
   4091 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4092 	      break 3
   4093 	    fi
   4094 	  fi
   4095 	fi
   4096       done
   4097     done
   4098     ;;
   4099 esac
   4100 
   4101   done
   4102 IFS=$as_save_IFS
   4103 
   4104 rm -rf conftest.one conftest.two conftest.dir
   4105  ;;
   4106 esac
   4107 fi
   4108   if test ${ac_cv_path_install+y}; then
   4109     INSTALL=$ac_cv_path_install
   4110   else
   4111     # As a last resort, use the slow shell script.  Don't cache a
   4112     # value for INSTALL within a source directory, because that will
   4113     # break other packages using the cache if that directory is
   4114     # removed, or if the value is a relative name.
   4115     INSTALL=$ac_install_sh
   4116   fi
   4117 fi
   4118 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4119 printf '%s\n' "$INSTALL" >&6; }
   4120 
   4121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4122 # It thinks the first close brace ends the variable substitution.
   4123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4124 
   4125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4126 
   4127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4128 
   4129 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4130 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4131 if test ${am_cv_sleep_fractional_seconds+y}
   4132 then :
   4133   printf %s "(cached) " >&6
   4134 else case e in #(
   4135   e) if sleep 0.001 2>/dev/null
   4136 then :
   4137   am_cv_sleep_fractional_seconds=yes
   4138 else case e in #(
   4139   e) am_cv_sleep_fractional_seconds=no ;;
   4140 esac
   4141 fi
   4142  ;;
   4143 esac
   4144 fi
   4145 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4146 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   4147 
   4148 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4149 printf %s "checking filesystem timestamp resolution... " >&6; }
   4150 if test ${am_cv_filesystem_timestamp_resolution+y}
   4151 then :
   4152   printf %s "(cached) " >&6
   4153 else case e in #(
   4154   e) # Default to the worst case.
   4155 am_cv_filesystem_timestamp_resolution=2
   4156 
   4157 # Only try to go finer than 1 sec if sleep can do it.
   4158 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4159 # - 1 sec is not much of a win compared to 2 sec, and
   4160 # - it takes 2 seconds to perform the test whether 1 sec works.
   4161 #
   4162 # Instead, just use the default 2s on platforms that have 1s resolution,
   4163 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4164 # exchange for not incurring the 2s delay for running the test for all
   4165 # packages.
   4166 #
   4167 am_try_resolutions=
   4168 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4169   # Even a millisecond often causes a bunch of false positives,
   4170   # so just try a hundredth of a second. The time saved between .001 and
   4171   # .01 is not terribly consequential.
   4172   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4173 fi
   4174 
   4175 # In order to catch current-generation FAT out, we must *modify* files
   4176 # that already exist; the *creation* timestamp is finer.  Use names
   4177 # that make ls -t sort them differently when they have equal
   4178 # timestamps than when they have distinct timestamps, keeping
   4179 # in mind that ls -t prints the *newest* file first.
   4180 rm -f conftest.ts?
   4181 : > conftest.ts1
   4182 : > conftest.ts2
   4183 : > conftest.ts3
   4184 
   4185 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4186 # clobber the current shell's arguments. (Outer-level square brackets
   4187 # are removed by m4; they're present so that m4 does not expand
   4188 # <dollar><star>; be careful, easy to get confused.)
   4189 if (
   4190      set X `ls -t conftest.ts[12]` &&
   4191      {
   4192        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4193        test "$*" != "X conftest.ts2 conftest.ts1";
   4194      }
   4195 ); then :; else
   4196   # If neither matched, then we have a broken ls.  This can happen
   4197   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4198   # broken ls alias from the environment.  This has actually
   4199   # happened.  Such a system could not be considered "sane".
   4200   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4201   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4202 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4203 as_fn_error $? "ls -t produces unexpected output.
   4204 Make sure there is not a broken ls alias in your environment.
   4205 See 'config.log' for more details" "$LINENO" 5; }
   4206 fi
   4207 
   4208 for am_try_res in $am_try_resolutions; do
   4209   # Any one fine-grained sleep might happen to cross the boundary
   4210   # between two values of a coarser actual resolution, but if we do
   4211   # two fine-grained sleeps in a row, at least one of them will fall
   4212   # entirely within a coarse interval.
   4213   echo alpha > conftest.ts1
   4214   sleep $am_try_res
   4215   echo beta > conftest.ts2
   4216   sleep $am_try_res
   4217   echo gamma > conftest.ts3
   4218 
   4219   # We assume that 'ls -t' will make use of high-resolution
   4220   # timestamps if the operating system supports them at all.
   4221   if (set X `ls -t conftest.ts?` &&
   4222       test "$2" = conftest.ts3 &&
   4223       test "$3" = conftest.ts2 &&
   4224       test "$4" = conftest.ts1); then
   4225     #
   4226     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4227     # because we don't need to test make.
   4228     make_ok=true
   4229     if test $am_try_res != 1; then
   4230       # But if we've succeeded so far with a subsecond resolution, we
   4231       # have one more thing to check: make. It can happen that
   4232       # everything else supports the subsecond mtimes, but make doesn't;
   4233       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4234       # released under GPLv2). https://bugs.gnu.org/68808
   4235       #
   4236       # We test $MAKE if it is defined in the environment, else "make".
   4237       # It might get overridden later, but our hope is that in practice
   4238       # it does not matter: it is the system "make" which is (by far)
   4239       # the most likely to be broken, whereas if the user overrides it,
   4240       # probably they did so with a better, or at least not worse, make.
   4241       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4242       #
   4243       # Create a Makefile (real tab character here):
   4244       rm -f conftest.mk
   4245       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4246       echo '	touch conftest.ts2' >>conftest.mk
   4247       #
   4248       # Now, running
   4249       #   touch conftest.ts1; touch conftest.ts2; make
   4250       # should touch ts1 because ts2 is newer. This could happen by luck,
   4251       # but most often, it will fail if make's support is insufficient. So
   4252       # test for several consecutive successes.
   4253       #
   4254       # (We reuse conftest.ts[12] because we still want to modify existing
   4255       # files, not create new ones, per above.)
   4256       n=0
   4257       make=${MAKE-make}
   4258       until test $n -eq 3; do
   4259         echo one > conftest.ts1
   4260         sleep $am_try_res
   4261         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4262         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4263           make_ok=false
   4264           break # out of $n loop
   4265         fi
   4266         n=`expr $n + 1`
   4267       done
   4268     fi
   4269     #
   4270     if $make_ok; then
   4271       # Everything we know to check worked out, so call this resolution good.
   4272       am_cv_filesystem_timestamp_resolution=$am_try_res
   4273       break # out of $am_try_res loop
   4274     fi
   4275     # Otherwise, we'll go on to check the next resolution.
   4276   fi
   4277 done
   4278 rm -f conftest.ts?
   4279 # (end _am_filesystem_timestamp_resolution)
   4280  ;;
   4281 esac
   4282 fi
   4283 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4284 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   4285 
   4286 # This check should not be cached, as it may vary across builds of
   4287 # different projects.
   4288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4289 printf %s "checking whether build environment is sane... " >&6; }
   4290 # Reject unsafe characters in $srcdir or the absolute working directory
   4291 # name.  Accept space and tab only in the latter.
   4292 am_lf='
   4293 '
   4294 case `pwd` in
   4295   *[\\\"\#\$\&\'\`$am_lf]*)
   4296     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4297 printf '%s\n' "no" >&6; }
   4298     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4299 esac
   4300 case $srcdir in
   4301   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4302     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4303 printf '%s\n' "no" >&6; }
   4304     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4305 esac
   4306 
   4307 # Do 'set' in a subshell so we don't clobber the current shell's
   4308 # arguments.  Must try -L first in case configure is actually a
   4309 # symlink; some systems play weird games with the mod time of symlinks
   4310 # (eg FreeBSD returns the mod time of the symlink's containing
   4311 # directory).
   4312 am_build_env_is_sane=no
   4313 am_has_slept=no
   4314 rm -f conftest.file
   4315 for am_try in 1 2; do
   4316   echo "timestamp, slept: $am_has_slept" > conftest.file
   4317   if (
   4318     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4319     if test "$*" = "X"; then
   4320       # -L didn't work.
   4321       set X `ls -t "$srcdir/configure" conftest.file`
   4322     fi
   4323     test "$2" = conftest.file
   4324   ); then
   4325     am_build_env_is_sane=yes
   4326     break
   4327   fi
   4328   # Just in case.
   4329   sleep "$am_cv_filesystem_timestamp_resolution"
   4330   am_has_slept=yes
   4331 done
   4332 
   4333 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4334 printf '%s\n' "$am_build_env_is_sane" >&6; }
   4335 if test "$am_build_env_is_sane" = no; then
   4336   as_fn_error $? "newly created file is older than distributed files!
   4337 Check your system clock" "$LINENO" 5
   4338 fi
   4339 
   4340 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4341 # generated files are strictly newer.
   4342 am_sleep_pid=
   4343 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4344 then :
   4345 
   4346 else case e in #(
   4347   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4348   am_sleep_pid=$!
   4349  ;;
   4350 esac
   4351 fi
   4352 
   4353 rm -f conftest.file
   4354 
   4355 test "$program_prefix" != NONE &&
   4356   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4357 # Use a double $ so make ignores it.
   4358 test "$program_suffix" != NONE &&
   4359   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4360 # Double any \ or $.
   4361 # By default was 's,x,x', remove it if useless.
   4362 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4363 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   4364 
   4365 
   4366   if test x"${MISSING+set}" != xset; then
   4367   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4368 fi
   4369 # Use eval to expand $SHELL
   4370 if eval "$MISSING --is-lightweight"; then
   4371   am_missing_run="$MISSING "
   4372 else
   4373   am_missing_run=
   4374   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4375 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4376 fi
   4377 
   4378 if test x"${install_sh+set}" != xset; then
   4379   case $am_aux_dir in
   4380   *\ * | *\	*)
   4381     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4382   *)
   4383     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4384   esac
   4385 fi
   4386 
   4387 # Installed binaries are usually stripped using 'strip' when the user
   4388 # run "make install-strip".  However 'strip' might not be the right
   4389 # tool to use in cross-compilation environments, therefore Automake
   4390 # will honor the 'STRIP' environment variable to overrule this program.
   4391 if test "$cross_compiling" != no; then
   4392   if test -n "$ac_tool_prefix"; then
   4393   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4394 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4395 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4396 printf %s "checking for $ac_word... " >&6; }
   4397 if test ${ac_cv_prog_STRIP+y}
   4398 then :
   4399   printf %s "(cached) " >&6
   4400 else case e in #(
   4401   e) if test -n "$STRIP"; then
   4402   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4403 else
   4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4405 for as_dir in $PATH
   4406 do
   4407   IFS=$as_save_IFS
   4408   case $as_dir in #(((
   4409     '') as_dir=./ ;;
   4410     */) ;;
   4411     *) as_dir=$as_dir/ ;;
   4412   esac
   4413     for ac_exec_ext in '' $ac_executable_extensions; do
   4414   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4415     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4416     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4417     break 2
   4418   fi
   4419 done
   4420   done
   4421 IFS=$as_save_IFS
   4422 
   4423 fi ;;
   4424 esac
   4425 fi
   4426 STRIP=$ac_cv_prog_STRIP
   4427 if test -n "$STRIP"; then
   4428   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4429 printf '%s\n' "$STRIP" >&6; }
   4430 else
   4431   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4432 printf '%s\n' "no" >&6; }
   4433 fi
   4434 
   4435 
   4436 fi
   4437 if test -z "$ac_cv_prog_STRIP"; then
   4438   ac_ct_STRIP=$STRIP
   4439   # Extract the first word of "strip", so it can be a program name with args.
   4440 set dummy strip; ac_word=$2
   4441 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4442 printf %s "checking for $ac_word... " >&6; }
   4443 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4444 then :
   4445   printf %s "(cached) " >&6
   4446 else case e in #(
   4447   e) if test -n "$ac_ct_STRIP"; then
   4448   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4449 else
   4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4451 for as_dir in $PATH
   4452 do
   4453   IFS=$as_save_IFS
   4454   case $as_dir in #(((
   4455     '') as_dir=./ ;;
   4456     */) ;;
   4457     *) as_dir=$as_dir/ ;;
   4458   esac
   4459     for ac_exec_ext in '' $ac_executable_extensions; do
   4460   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4461     ac_cv_prog_ac_ct_STRIP="strip"
   4462     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4463     break 2
   4464   fi
   4465 done
   4466   done
   4467 IFS=$as_save_IFS
   4468 
   4469 fi ;;
   4470 esac
   4471 fi
   4472 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4473 if test -n "$ac_ct_STRIP"; then
   4474   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4475 printf '%s\n' "$ac_ct_STRIP" >&6; }
   4476 else
   4477   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4478 printf '%s\n' "no" >&6; }
   4479 fi
   4480 
   4481   if test "x$ac_ct_STRIP" = x; then
   4482     STRIP=":"
   4483   else
   4484     case $cross_compiling:$ac_tool_warned in
   4485 yes:)
   4486 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4487 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4488 ac_tool_warned=yes ;;
   4489 esac
   4490     STRIP=$ac_ct_STRIP
   4491   fi
   4492 else
   4493   STRIP="$ac_cv_prog_STRIP"
   4494 fi
   4495 
   4496 fi
   4497 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4498 
   4499 
   4500   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4501 printf %s "checking for a race-free mkdir -p... " >&6; }
   4502 if test -z "$MKDIR_P"; then
   4503   if test ${ac_cv_path_mkdir+y}
   4504 then :
   4505   printf %s "(cached) " >&6
   4506 else case e in #(
   4507   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4508 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4509 do
   4510   IFS=$as_save_IFS
   4511   case $as_dir in #(((
   4512     '') as_dir=./ ;;
   4513     */) ;;
   4514     *) as_dir=$as_dir/ ;;
   4515   esac
   4516     for ac_prog in mkdir gmkdir; do
   4517 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4518 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4519 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4520 	     'mkdir ('*'coreutils) '* | \
   4521 	     *'BusyBox '* | \
   4522 	     'mkdir (fileutils) '4.1*)
   4523 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4524 	       break 3;;
   4525 	   esac
   4526 	 done
   4527        done
   4528   done
   4529 IFS=$as_save_IFS
   4530  ;;
   4531 esac
   4532 fi
   4533 
   4534   test -d ./--version && rmdir ./--version
   4535   if test ${ac_cv_path_mkdir+y}; then
   4536     MKDIR_P="$ac_cv_path_mkdir -p"
   4537   else
   4538     # As a last resort, use plain mkdir -p,
   4539     # in the hope it doesn't have the bugs of ancient mkdir.
   4540     MKDIR_P='mkdir -p'
   4541   fi
   4542 fi
   4543 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4544 printf '%s\n' "$MKDIR_P" >&6; }
   4545 
   4546 for ac_prog in gawk mawk nawk awk 'busybox awk'
   4547 do
   4548   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4549 set dummy $ac_prog; ac_word=$2
   4550 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4551 printf %s "checking for $ac_word... " >&6; }
   4552 if test ${ac_cv_prog_AWK+y}
   4553 then :
   4554   printf %s "(cached) " >&6
   4555 else case e in #(
   4556   e) if test -n "$AWK"; then
   4557   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4558 else
   4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4560 for as_dir in $PATH
   4561 do
   4562   IFS=$as_save_IFS
   4563   case $as_dir in #(((
   4564     '') as_dir=./ ;;
   4565     */) ;;
   4566     *) as_dir=$as_dir/ ;;
   4567   esac
   4568     for ac_exec_ext in '' $ac_executable_extensions; do
   4569   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4570     ac_cv_prog_AWK="$ac_prog"
   4571     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4572     break 2
   4573   fi
   4574 done
   4575   done
   4576 IFS=$as_save_IFS
   4577 
   4578 fi ;;
   4579 esac
   4580 fi
   4581 AWK=$ac_cv_prog_AWK
   4582 if test -n "$AWK"; then
   4583   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4584 printf '%s\n' "$AWK" >&6; }
   4585 else
   4586   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4587 printf '%s\n' "no" >&6; }
   4588 fi
   4589 
   4590 
   4591   test -n "$AWK" && break
   4592 done
   4593 
   4594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4595 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4596 set x ${MAKE-make}
   4597 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4598 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4599 then :
   4600   printf %s "(cached) " >&6
   4601 else case e in #(
   4602   e) cat >conftest.make <<\_ACEOF
   4603 SHELL = /bin/sh
   4604 all:
   4605 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   4606 _ACEOF
   4607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4609   *@@@%%%=?*=@@@%%%*)
   4610     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4611   *)
   4612     eval ac_cv_prog_make_${ac_make}_set=no;;
   4613 esac
   4614 rm -f conftest.make ;;
   4615 esac
   4616 fi
   4617 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4618   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4619 printf '%s\n' "yes" >&6; }
   4620   SET_MAKE=
   4621 else
   4622   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4623 printf '%s\n' "no" >&6; }
   4624   SET_MAKE="MAKE=${MAKE-make}"
   4625 fi
   4626 
   4627 rm -rf .tst 2>/dev/null
   4628 mkdir .tst 2>/dev/null
   4629 if test -d .tst; then
   4630   am__leading_dot=.
   4631 else
   4632   am__leading_dot=_
   4633 fi
   4634 rmdir .tst 2>/dev/null
   4635 
   4636 DEPDIR="${am__leading_dot}deps"
   4637 
   4638 ac_config_commands="$ac_config_commands depfiles"
   4639 
   4640 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4641 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4642 cat > confinc.mk << 'END'
   4643 am__doit:
   4644 	@echo this is the am__doit target >confinc.out
   4645 .PHONY: am__doit
   4646 END
   4647 am__include="#"
   4648 am__quote=
   4649 # BSD make does it like this.
   4650 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4651 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4652 echo 'include confinc.mk # ignored' > confmf.GNU
   4653 _am_result=no
   4654 for s in GNU BSD; do
   4655   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4656    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4657    ac_status=$?
   4658    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4659    (exit $ac_status); }
   4660   case $?:`cat confinc.out 2>/dev/null` in #(
   4661   '0:this is the am__doit target') :
   4662     case $s in #(
   4663   BSD) :
   4664     am__include='.include' am__quote='"' ;; #(
   4665   *) :
   4666     am__include='include' am__quote='' ;;
   4667 esac ;; #(
   4668   *) :
   4669      ;;
   4670 esac
   4671   if test "$am__include" != "#"; then
   4672     _am_result="yes ($s style)"
   4673     break
   4674   fi
   4675 done
   4676 rm -f confinc.* confmf.*
   4677 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4678 printf '%s\n' "${_am_result}" >&6; }
   4679 
   4680 # Check whether --enable-dependency-tracking was given.
   4681 if test ${enable_dependency_tracking+y}
   4682 then :
   4683   enableval=$enable_dependency_tracking;
   4684 fi
   4685 
   4686 if test "x$enable_dependency_tracking" != xno; then
   4687   am_depcomp="$ac_aux_dir/depcomp"
   4688   AMDEPBACKSLASH='\'
   4689   am__nodep='_no'
   4690 fi
   4691  if test "x$enable_dependency_tracking" != xno; then
   4692   AMDEP_TRUE=
   4693   AMDEP_FALSE='#'
   4694 else
   4695   AMDEP_TRUE='#'
   4696   AMDEP_FALSE=
   4697 fi
   4698 
   4699 
   4700 AM_DEFAULT_VERBOSITY=1
   4701 # Check whether --enable-silent-rules was given.
   4702 if test ${enable_silent_rules+y}
   4703 then :
   4704   enableval=$enable_silent_rules;
   4705 fi
   4706 
   4707 am_make=${MAKE-make}
   4708 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4709 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4710 if test ${am_cv_make_support_nested_variables+y}
   4711 then :
   4712   printf %s "(cached) " >&6
   4713 else case e in #(
   4714   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   4715 BAR0=false
   4716 BAR1=true
   4717 V=1
   4718 am__doit:
   4719 	@$(TRUE)
   4720 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4721   am_cv_make_support_nested_variables=yes
   4722 else
   4723   am_cv_make_support_nested_variables=no
   4724 fi ;;
   4725 esac
   4726 fi
   4727 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4728 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   4729 AM_BACKSLASH='\'
   4730 
   4731 am__rm_f_notfound=
   4732 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4733 then :
   4734 
   4735 else case e in #(
   4736   e) am__rm_f_notfound='""' ;;
   4737 esac
   4738 fi
   4739 
   4740 
   4741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4742 printf %s "checking xargs -n works... " >&6; }
   4743 if test ${am_cv_xargs_n_works+y}
   4744 then :
   4745   printf %s "(cached) " >&6
   4746 else case e in #(
   4747   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4748 3"
   4749 then :
   4750   am_cv_xargs_n_works=yes
   4751 else case e in #(
   4752   e) am_cv_xargs_n_works=no ;;
   4753 esac
   4754 fi ;;
   4755 esac
   4756 fi
   4757 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4758 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   4759 if test "$am_cv_xargs_n_works" = yes
   4760 then :
   4761   am__xargs_n='xargs -n'
   4762 else case e in #(
   4763   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4764  ;;
   4765 esac
   4766 fi
   4767 
   4768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4769   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4770   # is not polluted with repeated "-I."
   4771   am__isrc=' -I$(srcdir)'
   4772   # test to see if srcdir already configured
   4773   if test -f $srcdir/config.status; then
   4774     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4775   fi
   4776 fi
   4777 
   4778 # test whether we have cygpath
   4779 if test -z "$CYGPATH_W"; then
   4780   if (cygpath --version) >/dev/null 2>/dev/null; then
   4781     CYGPATH_W='cygpath -w'
   4782   else
   4783     CYGPATH_W=echo
   4784   fi
   4785 fi
   4786 
   4787 
   4788 # Define the identity of the package.
   4789  PACKAGE='xrdb'
   4790  VERSION='1.2.3'
   4791 
   4792 
   4793 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4794 
   4795 
   4796 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   4797 
   4798 # Some tools Automake needs.
   4799 
   4800 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4801 
   4802 
   4803 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4804 
   4805 
   4806 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4807 
   4808 
   4809 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4810 
   4811 
   4812 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4813 
   4814 # For better backward compatibility.  To be removed once Automake 1.9.x
   4815 # dies out for good.  For more background, see:
   4816 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4817 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4818 mkdir_p='$(MKDIR_P)'
   4819 
   4820 # We need awk for the "check" target (and possibly the TAP driver).  The
   4821 # system "awk" is bad on some platforms.
   4822 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4823 # in the wild :-(  We should find a proper way to deprecate it ...
   4824 AMTAR='$${TAR-tar}'
   4825 
   4826 
   4827 # We'll loop over all known methods to create a tar archive until one works.
   4828 _am_tools='gnutar plaintar pax cpio none'
   4829 
   4830 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4831       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4832       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4833       # and bug#13588).
   4834       am_max_uid=2097151 # 2^21 - 1
   4835       am_max_gid=$am_max_uid
   4836       # The $UID and $GID variables are not portable, so we need to resort
   4837       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4838       # below are definitely unexpected, so allow the users to see them
   4839       # (that is, avoid stderr redirection).
   4840       am_uid=`id -u || echo unknown`
   4841       am_gid=`id -g || echo unknown`
   4842       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4843 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4844       if test x$am_uid = xunknown; then
   4845         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   4846 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   4847       elif test $am_uid -le $am_max_uid; then
   4848         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4849 printf '%s\n' "yes" >&6; }
   4850       else
   4851         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4852 printf '%s\n' "no" >&6; }
   4853         _am_tools=none
   4854       fi
   4855       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4856 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4857       if test x$gm_gid = xunknown; then
   4858         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   4859 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   4860       elif test $am_gid -le $am_max_gid; then
   4861         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4862 printf '%s\n' "yes" >&6; }
   4863       else
   4864         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4865 printf '%s\n' "no" >&6; }
   4866         _am_tools=none
   4867       fi
   4868 
   4869   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4870 printf %s "checking how to create a ustar tar archive... " >&6; }
   4871 
   4872   # Go ahead even if we have the value already cached.  We do so because we
   4873   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4874   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4875 
   4876   for _am_tool in $_am_tools; do
   4877     case $_am_tool in
   4878     gnutar)
   4879       for _am_tar in tar gnutar gtar; do
   4880         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4881    ($_am_tar --version) >&5 2>&5
   4882    ac_status=$?
   4883    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4884    (exit $ac_status); } && break
   4885       done
   4886       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4887       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4888       am__untar="$_am_tar -xf -"
   4889       ;;
   4890     plaintar)
   4891       # Must skip GNU tar: if it does not support --format= it doesn't create
   4892       # ustar tarball either.
   4893       (tar --version) >/dev/null 2>&1 && continue
   4894       am__tar='tar chf - "$$tardir"'
   4895       am__tar_='tar chf - "$tardir"'
   4896       am__untar='tar xf -'
   4897       ;;
   4898     pax)
   4899       am__tar='pax -L -x ustar -w "$$tardir"'
   4900       am__tar_='pax -L -x ustar -w "$tardir"'
   4901       am__untar='pax -r'
   4902       ;;
   4903     cpio)
   4904       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   4905       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   4906       am__untar='cpio -i -H ustar -d'
   4907       ;;
   4908     none)
   4909       am__tar=false
   4910       am__tar_=false
   4911       am__untar=false
   4912       ;;
   4913     esac
   4914 
   4915     # If the value was cached, stop now.  We just wanted to have am__tar
   4916     # and am__untar set.
   4917     test -n "${am_cv_prog_tar_ustar}" && break
   4918 
   4919     # tar/untar a dummy directory, and stop if the command works.
   4920     rm -rf conftest.dir
   4921     mkdir conftest.dir
   4922     echo GrepMe > conftest.dir/file
   4923     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4924    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4925    ac_status=$?
   4926    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4927    (exit $ac_status); }
   4928     rm -rf conftest.dir
   4929     if test -s conftest.tar; then
   4930       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4931    ($am__untar <conftest.tar) >&5 2>&5
   4932    ac_status=$?
   4933    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934    (exit $ac_status); }
   4935       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4936    (cat conftest.dir/file) >&5 2>&5
   4937    ac_status=$?
   4938    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4939    (exit $ac_status); }
   4940       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4941     fi
   4942   done
   4943   rm -rf conftest.dir
   4944 
   4945   if test ${am_cv_prog_tar_ustar+y}
   4946 then :
   4947   printf %s "(cached) " >&6
   4948 else case e in #(
   4949   e) am_cv_prog_tar_ustar=$_am_tool ;;
   4950 esac
   4951 fi
   4952 
   4953   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   4954 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 depcc="$CC"   am_compiler_list=
   4961 
   4962 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4963 printf %s "checking dependency style of $depcc... " >&6; }
   4964 if test ${am_cv_CC_dependencies_compiler_type+y}
   4965 then :
   4966   printf %s "(cached) " >&6
   4967 else case e in #(
   4968   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4969   # We make a subdir and do the tests there.  Otherwise we can end up
   4970   # making bogus files that we don't know about and never remove.  For
   4971   # instance it was reported that on HP-UX the gcc test will end up
   4972   # making a dummy file named 'D' -- because '-MD' means "put the output
   4973   # in D".
   4974   rm -rf conftest.dir
   4975   mkdir conftest.dir
   4976   # Copy depcomp to subdir because otherwise we won't find it if we're
   4977   # using a relative directory.
   4978   cp "$am_depcomp" conftest.dir
   4979   cd conftest.dir
   4980   # We will build objects and dependencies in a subdirectory because
   4981   # it helps to detect inapplicable dependency modes.  For instance
   4982   # both Tru64's cc and ICC support -MD to output dependencies as a
   4983   # side effect of compilation, but ICC will put the dependencies in
   4984   # the current directory while Tru64 will put them in the object
   4985   # directory.
   4986   mkdir sub
   4987 
   4988   am_cv_CC_dependencies_compiler_type=none
   4989   if test "$am_compiler_list" = ""; then
   4990      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4991   fi
   4992   am__universal=false
   4993   case " $depcc " in #(
   4994      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4995      esac
   4996 
   4997   for depmode in $am_compiler_list; do
   4998     # Setup a source with many dependencies, because some compilers
   4999     # like to wrap large dependency lists on column 80 (with \), and
   5000     # we should not choose a depcomp mode which is confused by this.
   5001     #
   5002     # We need to recreate these files for each test, as the compiler may
   5003     # overwrite some of them when testing with obscure command lines.
   5004     # This happens at least with the AIX C compiler.
   5005     : > sub/conftest.c
   5006     for i in 1 2 3 4 5 6; do
   5007       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5008       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5009       # Solaris 10 /bin/sh.
   5010       echo '/* dummy */' > sub/conftst$i.h
   5011     done
   5012     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5013 
   5014     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5015     # mode.  It turns out that the SunPro C++ compiler does not properly
   5016     # handle '-M -o', and we need to detect this.  Also, some Intel
   5017     # versions had trouble with output in subdirs.
   5018     am__obj=sub/conftest.${OBJEXT-o}
   5019     am__minus_obj="-o $am__obj"
   5020     case $depmode in
   5021     gcc)
   5022       # This depmode causes a compiler race in universal mode.
   5023       test "$am__universal" = false || continue
   5024       ;;
   5025     nosideeffect)
   5026       # After this tag, mechanisms are not by side-effect, so they'll
   5027       # only be used when explicitly requested.
   5028       if test "x$enable_dependency_tracking" = xyes; then
   5029 	continue
   5030       else
   5031 	break
   5032       fi
   5033       ;;
   5034     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5035       # This compiler won't grok '-c -o', but also, the minuso test has
   5036       # not run yet.  These depmodes are late enough in the game, and
   5037       # so weak that their functioning should not be impacted.
   5038       am__obj=conftest.${OBJEXT-o}
   5039       am__minus_obj=
   5040       ;;
   5041     none) break ;;
   5042     esac
   5043     if depmode=$depmode \
   5044        source=sub/conftest.c object=$am__obj \
   5045        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5046        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5047          >/dev/null 2>conftest.err &&
   5048        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5049        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5050        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5051        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5052       # icc doesn't choke on unknown options, it will just issue warnings
   5053       # or remarks (even with -Werror).  So we grep stderr for any message
   5054       # that says an option was ignored or not supported.
   5055       # When given -MP, icc 7.0 and 7.1 complain thus:
   5056       #   icc: Command line warning: ignoring option '-M'; no argument required
   5057       # The diagnosis changed in icc 8.0:
   5058       #   icc: Command line remark: option '-MP' not supported
   5059       if (grep 'ignoring option' conftest.err ||
   5060           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5061         am_cv_CC_dependencies_compiler_type=$depmode
   5062         break
   5063       fi
   5064     fi
   5065   done
   5066 
   5067   cd ..
   5068   rm -rf conftest.dir
   5069 else
   5070   am_cv_CC_dependencies_compiler_type=none
   5071 fi
   5072  ;;
   5073 esac
   5074 fi
   5075 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5076 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5077 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5078 
   5079  if
   5080   test "x$enable_dependency_tracking" != xno \
   5081   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5082   am__fastdepCC_TRUE=
   5083   am__fastdepCC_FALSE='#'
   5084 else
   5085   am__fastdepCC_TRUE='#'
   5086   am__fastdepCC_FALSE=
   5087 fi
   5088 
   5089 
   5090 # Variables for tags utilities; see am/tags.am
   5091 if test -z "$CTAGS"; then
   5092   CTAGS=ctags
   5093 fi
   5094 
   5095 if test -z "$ETAGS"; then
   5096   ETAGS=etags
   5097 fi
   5098 
   5099 if test -z "$CSCOPE"; then
   5100   CSCOPE=cscope
   5101 fi
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   5123 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   5124 if test ${ac_cv_c_undeclared_builtin_options+y}
   5125 then :
   5126   printf %s "(cached) " >&6
   5127 else case e in #(
   5128   e) ac_save_CFLAGS=$CFLAGS
   5129    ac_cv_c_undeclared_builtin_options='cannot detect'
   5130    for ac_arg in '' -fno-builtin; do
   5131      CFLAGS="$ac_save_CFLAGS $ac_arg"
   5132      # This test program should *not* compile successfully.
   5133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 
   5136 int
   5137 main (void)
   5138 {
   5139 (void) strchr;
   5140   ;
   5141   return 0;
   5142 }
   5143 _ACEOF
   5144 if ac_fn_c_try_compile "$LINENO"
   5145 then :
   5146 
   5147 else case e in #(
   5148   e) # This test program should compile successfully.
   5149         # No library function is consistently available on
   5150         # freestanding implementations, so test against a dummy
   5151         # declaration.  Include always-available headers on the
   5152         # off chance that they somehow elicit warnings.
   5153         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 #include <float.h>
   5156 #include <limits.h>
   5157 #include <stdarg.h>
   5158 #include <stddef.h>
   5159 extern void ac_decl (int, char *);
   5160 
   5161 int
   5162 main (void)
   5163 {
   5164 (void) ac_decl (0, (char *) 0);
   5165   (void) ac_decl;
   5166 
   5167   ;
   5168   return 0;
   5169 }
   5170 _ACEOF
   5171 if ac_fn_c_try_compile "$LINENO"
   5172 then :
   5173   if test x"$ac_arg" = x
   5174 then :
   5175   ac_cv_c_undeclared_builtin_options='none needed'
   5176 else case e in #(
   5177   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   5178 esac
   5179 fi
   5180           break
   5181 fi
   5182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5183 esac
   5184 fi
   5185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5186     done
   5187     CFLAGS=$ac_save_CFLAGS
   5188    ;;
   5189 esac
   5190 fi
   5191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   5192 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   5193   case $ac_cv_c_undeclared_builtin_options in #(
   5194   'cannot detect') :
   5195     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5196 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5197 as_fn_error $? "cannot make $CC report undeclared builtins
   5198 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   5199   'none needed') :
   5200     ac_c_undeclared_builtin_options='' ;; #(
   5201   *) :
   5202     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   5203 esac
   5204 
   5205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   5206 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   5207 if test ${ac_cv_c_future_darwin_options+y}
   5208 then :
   5209   printf %s "(cached) " >&6
   5210 else case e in #(
   5211   e)       ac_compile_saved="$ac_compile"
   5212    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   5213    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 #if ! (defined __APPLE__ && defined __MACH__)
   5216 	   #error "-Werror=unguarded-availability-new not needed here"
   5217 	  #endif
   5218 
   5219 int
   5220 main (void)
   5221 {
   5222 
   5223   ;
   5224   return 0;
   5225 }
   5226 _ACEOF
   5227 if ac_fn_c_try_compile "$LINENO"
   5228 then :
   5229   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   5230 else case e in #(
   5231   e) ac_cv_c_future_darwin_options='none needed' ;;
   5232 esac
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5235    ac_compile="$ac_compile_saved"
   5236    ;;
   5237 esac
   5238 fi
   5239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5240 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5241  case $ac_cv_c_future_darwin_options in #(
   5242   'none needed') :
   5243     ac_c_future_darwin_options='' ;; #(
   5244   *) :
   5245     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5246 esac
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 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"
   5253 if test "x$ac_cv_have_decl___clang__" = xyes
   5254 then :
   5255   CLANGCC="yes"
   5256 else case e in #(
   5257   e) CLANGCC="no" ;;
   5258 esac
   5259 fi
   5260 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"
   5261 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5262 then :
   5263   INTELCC="yes"
   5264 else case e in #(
   5265   e) INTELCC="no" ;;
   5266 esac
   5267 fi
   5268 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"
   5269 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5270 then :
   5271   SUNCC="yes"
   5272 else case e in #(
   5273   e) SUNCC="no" ;;
   5274 esac
   5275 fi
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5285 	if test -n "$ac_tool_prefix"; then
   5286   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5287 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5289 printf %s "checking for $ac_word... " >&6; }
   5290 if test ${ac_cv_path_PKG_CONFIG+y}
   5291 then :
   5292   printf %s "(cached) " >&6
   5293 else case e in #(
   5294   e) case $PKG_CONFIG in
   5295   [\\/]* | ?:[\\/]*)
   5296   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5297   ;;
   5298   *)
   5299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5300 for as_dir in $PATH
   5301 do
   5302   IFS=$as_save_IFS
   5303   case $as_dir in #(((
   5304     '') as_dir=./ ;;
   5305     */) ;;
   5306     *) as_dir=$as_dir/ ;;
   5307   esac
   5308     for ac_exec_ext in '' $ac_executable_extensions; do
   5309   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5310     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5311     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5312     break 2
   5313   fi
   5314 done
   5315   done
   5316 IFS=$as_save_IFS
   5317 
   5318   ;;
   5319 esac ;;
   5320 esac
   5321 fi
   5322 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5323 if test -n "$PKG_CONFIG"; then
   5324   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5325 printf '%s\n' "$PKG_CONFIG" >&6; }
   5326 else
   5327   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5328 printf '%s\n' "no" >&6; }
   5329 fi
   5330 
   5331 
   5332 fi
   5333 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5334   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5335   # Extract the first word of "pkg-config", so it can be a program name with args.
   5336 set dummy pkg-config; ac_word=$2
   5337 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5338 printf %s "checking for $ac_word... " >&6; }
   5339 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5340 then :
   5341   printf %s "(cached) " >&6
   5342 else case e in #(
   5343   e) case $ac_pt_PKG_CONFIG in
   5344   [\\/]* | ?:[\\/]*)
   5345   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5346   ;;
   5347   *)
   5348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5349 for as_dir in $PATH
   5350 do
   5351   IFS=$as_save_IFS
   5352   case $as_dir in #(((
   5353     '') as_dir=./ ;;
   5354     */) ;;
   5355     *) as_dir=$as_dir/ ;;
   5356   esac
   5357     for ac_exec_ext in '' $ac_executable_extensions; do
   5358   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5359     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5360     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5361     break 2
   5362   fi
   5363 done
   5364   done
   5365 IFS=$as_save_IFS
   5366 
   5367   ;;
   5368 esac ;;
   5369 esac
   5370 fi
   5371 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5372 if test -n "$ac_pt_PKG_CONFIG"; then
   5373   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5374 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5375 else
   5376   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5377 printf '%s\n' "no" >&6; }
   5378 fi
   5379 
   5380   if test "x$ac_pt_PKG_CONFIG" = x; then
   5381     PKG_CONFIG=""
   5382   else
   5383     case $cross_compiling:$ac_tool_warned in
   5384 yes:)
   5385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5386 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5387 ac_tool_warned=yes ;;
   5388 esac
   5389     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5390   fi
   5391 else
   5392   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5393 fi
   5394 
   5395 fi
   5396 if test -n "$PKG_CONFIG"; then
   5397 	_pkg_min_version=0.9.0
   5398 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5399 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5400 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5401 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5402 printf '%s\n' "yes" >&6; }
   5403 	else
   5404 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5405 printf '%s\n' "no" >&6; }
   5406 		PKG_CONFIG=""
   5407 	fi
   5408 fi
   5409 
   5410 
   5411   # Make sure we can run config.sub.
   5412 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5413   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5414 
   5415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5416 printf %s "checking build system type... " >&6; }
   5417 if test ${ac_cv_build+y}
   5418 then :
   5419   printf %s "(cached) " >&6
   5420 else case e in #(
   5421   e) ac_build_alias=$build_alias
   5422 test "x$ac_build_alias" = x &&
   5423   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5424 test "x$ac_build_alias" = x &&
   5425   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5426 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5427   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5428  ;;
   5429 esac
   5430 fi
   5431 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5432 printf '%s\n' "$ac_cv_build" >&6; }
   5433 case $ac_cv_build in
   5434 *-*-*) ;;
   5435 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5436 esac
   5437 build=$ac_cv_build
   5438 ac_save_IFS=$IFS; IFS='-'
   5439 set x $ac_cv_build
   5440 shift
   5441 build_cpu=$1
   5442 build_vendor=$2
   5443 shift; shift
   5444 # Remember, the first character of IFS is used to create $*,
   5445 # except with old shells:
   5446 build_os=$*
   5447 IFS=$ac_save_IFS
   5448 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5449 
   5450 
   5451 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5452 printf %s "checking host system type... " >&6; }
   5453 if test ${ac_cv_host+y}
   5454 then :
   5455   printf %s "(cached) " >&6
   5456 else case e in #(
   5457   e) if test "x$host_alias" = x; then
   5458   ac_cv_host=$ac_cv_build
   5459 else
   5460   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5461     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5462 fi
   5463  ;;
   5464 esac
   5465 fi
   5466 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5467 printf '%s\n' "$ac_cv_host" >&6; }
   5468 case $ac_cv_host in
   5469 *-*-*) ;;
   5470 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5471 esac
   5472 host=$ac_cv_host
   5473 ac_save_IFS=$IFS; IFS='-'
   5474 set x $ac_cv_host
   5475 shift
   5476 host_cpu=$1
   5477 host_vendor=$2
   5478 shift; shift
   5479 # Remember, the first character of IFS is used to create $*,
   5480 # except with old shells:
   5481 host_os=$*
   5482 IFS=$ac_save_IFS
   5483 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5484 
   5485 
   5486 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5487 printf %s "checking for a sed that does not truncate output... " >&6; }
   5488 if test ${ac_cv_path_SED+y}
   5489 then :
   5490   printf %s "(cached) " >&6
   5491 else case e in #(
   5492   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5493      for ac_i in 1 2 3 4 5 6 7; do
   5494        ac_script="$ac_script$as_nl$ac_script"
   5495      done
   5496      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5497      { ac_script=; unset ac_script;}
   5498      if test -z "$SED"; then
   5499   ac_path_SED_found=false
   5500   # Loop through the user's path and test for each of PROGNAME-LIST
   5501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5502 for as_dir in $PATH
   5503 do
   5504   IFS=$as_save_IFS
   5505   case $as_dir in #(((
   5506     '') as_dir=./ ;;
   5507     */) ;;
   5508     *) as_dir=$as_dir/ ;;
   5509   esac
   5510     for ac_prog in sed gsed
   5511    do
   5512     for ac_exec_ext in '' $ac_executable_extensions; do
   5513       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5514       as_fn_executable_p "$ac_path_SED" || continue
   5515 # Check for GNU ac_path_SED and select it if it is found.
   5516   # Check for GNU $ac_path_SED
   5517 case `"$ac_path_SED" --version 2>&1` in #(
   5518 *GNU*)
   5519   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5520 #(
   5521 *)
   5522   ac_count=0
   5523   printf %s 0123456789 >"conftest.in"
   5524   while :
   5525   do
   5526     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5527     mv "conftest.tmp" "conftest.in"
   5528     cp "conftest.in" "conftest.nl"
   5529     printf '%s\n' '' >> "conftest.nl"
   5530     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5531     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5532     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5533     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5534       # Best one so far, save it but keep looking for a better one
   5535       ac_cv_path_SED="$ac_path_SED"
   5536       ac_path_SED_max=$ac_count
   5537     fi
   5538     # 10*(2^10) chars as input seems more than enough
   5539     test $ac_count -gt 10 && break
   5540   done
   5541   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5542 esac
   5543 
   5544       $ac_path_SED_found && break 3
   5545     done
   5546   done
   5547   done
   5548 IFS=$as_save_IFS
   5549   if test -z "$ac_cv_path_SED"; then
   5550     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5551   fi
   5552 else
   5553   ac_cv_path_SED=$SED
   5554 fi
   5555  ;;
   5556 esac
   5557 fi
   5558 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5559 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5560  SED="$ac_cv_path_SED"
   5561   rm -f conftest.sed
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 # Check whether --enable-selective-werror was given.
   5569 if test ${enable_selective_werror+y}
   5570 then :
   5571   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5572 else case e in #(
   5573   e) SELECTIVE_WERROR=yes ;;
   5574 esac
   5575 fi
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5582 if test "x$SUNCC" = "xyes"; then
   5583     BASE_CFLAGS="-v"
   5584 else
   5585     BASE_CFLAGS=""
   5586 fi
   5587 
   5588 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 xorg_testset_save_CFLAGS="$CFLAGS"
   5603 
   5604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5607 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5608 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   5619 else case e in #(
   5620   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   5627 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5629 	CFLAGS="$xorg_testset_save_CFLAGS"
   5630 fi
   5631 
   5632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5635 	fi
   5636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5637 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5640 then :
   5641   printf %s "(cached) " >&6
   5642 else case e in #(
   5643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5644 /* end confdefs.h.  */
   5645 int i;
   5646 _ACEOF
   5647 if ac_fn_c_try_compile "$LINENO"
   5648 then :
   5649   xorg_cv_cc_flag_unused_command_line_argument=yes
   5650 else case e in #(
   5651   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5652 esac
   5653 fi
   5654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5655 esac
   5656 fi
   5657 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5658 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5660 	CFLAGS="$xorg_testset_save_CFLAGS"
   5661 fi
   5662 
   5663 found="no"
   5664 
   5665 	if test $found = "no" ; then
   5666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5668 		fi
   5669 
   5670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5672 		fi
   5673 
   5674 		CFLAGS="$CFLAGS -Wall"
   5675 
   5676 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5677 printf %s "checking if $CC supports -Wall... " >&6; }
   5678 		cacheid=xorg_cv_cc_flag__Wall
   5679 		if eval test \${$cacheid+y}
   5680 then :
   5681   printf %s "(cached) " >&6
   5682 else case e in #(
   5683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5684 /* end confdefs.h.  */
   5685 int i;
   5686 int
   5687 main (void)
   5688 {
   5689 
   5690   ;
   5691   return 0;
   5692 }
   5693 _ACEOF
   5694 if ac_fn_c_try_link "$LINENO"
   5695 then :
   5696   eval $cacheid=yes
   5697 else case e in #(
   5698   e) eval $cacheid=no ;;
   5699 esac
   5700 fi
   5701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5702     conftest$ac_exeext conftest.$ac_ext ;;
   5703 esac
   5704 fi
   5705 
   5706 
   5707 		CFLAGS="$xorg_testset_save_CFLAGS"
   5708 
   5709 		eval supported=\$$cacheid
   5710 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5711 printf '%s\n' "$supported" >&6; }
   5712 		if test "$supported" = "yes" ; then
   5713 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5714 			found="yes"
   5715 		fi
   5716 	fi
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 xorg_testset_save_CFLAGS="$CFLAGS"
   5733 
   5734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5736 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5738 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   5749 else case e in #(
   5750   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   5757 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5759 	CFLAGS="$xorg_testset_save_CFLAGS"
   5760 fi
   5761 
   5762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5765 	fi
   5766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5767 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5770 then :
   5771   printf %s "(cached) " >&6
   5772 else case e in #(
   5773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5774 /* end confdefs.h.  */
   5775 int i;
   5776 _ACEOF
   5777 if ac_fn_c_try_compile "$LINENO"
   5778 then :
   5779   xorg_cv_cc_flag_unused_command_line_argument=yes
   5780 else case e in #(
   5781   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5782 esac
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5785 esac
   5786 fi
   5787 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5788 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5790 	CFLAGS="$xorg_testset_save_CFLAGS"
   5791 fi
   5792 
   5793 found="no"
   5794 
   5795 	if test $found = "no" ; then
   5796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 		fi
   5799 
   5800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5802 		fi
   5803 
   5804 		CFLAGS="$CFLAGS -Wpointer-arith"
   5805 
   5806 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5807 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5808 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5809 		if eval test \${$cacheid+y}
   5810 then :
   5811   printf %s "(cached) " >&6
   5812 else case e in #(
   5813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5814 /* end confdefs.h.  */
   5815 int i;
   5816 int
   5817 main (void)
   5818 {
   5819 
   5820   ;
   5821   return 0;
   5822 }
   5823 _ACEOF
   5824 if ac_fn_c_try_link "$LINENO"
   5825 then :
   5826   eval $cacheid=yes
   5827 else case e in #(
   5828   e) eval $cacheid=no ;;
   5829 esac
   5830 fi
   5831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5832     conftest$ac_exeext conftest.$ac_ext ;;
   5833 esac
   5834 fi
   5835 
   5836 
   5837 		CFLAGS="$xorg_testset_save_CFLAGS"
   5838 
   5839 		eval supported=\$$cacheid
   5840 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5841 printf '%s\n' "$supported" >&6; }
   5842 		if test "$supported" = "yes" ; then
   5843 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5844 			found="yes"
   5845 		fi
   5846 	fi
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 xorg_testset_save_CFLAGS="$CFLAGS"
   5863 
   5864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5866 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5867 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5868 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   5879 else case e in #(
   5880   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   5887 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5889 	CFLAGS="$xorg_testset_save_CFLAGS"
   5890 fi
   5891 
   5892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5895 	fi
   5896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5897 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5900 then :
   5901   printf %s "(cached) " >&6
   5902 else case e in #(
   5903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5904 /* end confdefs.h.  */
   5905 int i;
   5906 _ACEOF
   5907 if ac_fn_c_try_compile "$LINENO"
   5908 then :
   5909   xorg_cv_cc_flag_unused_command_line_argument=yes
   5910 else case e in #(
   5911   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5912 esac
   5913 fi
   5914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5915 esac
   5916 fi
   5917 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5918 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5920 	CFLAGS="$xorg_testset_save_CFLAGS"
   5921 fi
   5922 
   5923 found="no"
   5924 
   5925 	if test $found = "no" ; then
   5926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5928 		fi
   5929 
   5930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5932 		fi
   5933 
   5934 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5935 
   5936 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5937 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5938 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5939 		if eval test \${$cacheid+y}
   5940 then :
   5941   printf %s "(cached) " >&6
   5942 else case e in #(
   5943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5944 /* end confdefs.h.  */
   5945 int i;
   5946 int
   5947 main (void)
   5948 {
   5949 
   5950   ;
   5951   return 0;
   5952 }
   5953 _ACEOF
   5954 if ac_fn_c_try_link "$LINENO"
   5955 then :
   5956   eval $cacheid=yes
   5957 else case e in #(
   5958   e) eval $cacheid=no ;;
   5959 esac
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5962     conftest$ac_exeext conftest.$ac_ext ;;
   5963 esac
   5964 fi
   5965 
   5966 
   5967 		CFLAGS="$xorg_testset_save_CFLAGS"
   5968 
   5969 		eval supported=\$$cacheid
   5970 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5971 printf '%s\n' "$supported" >&6; }
   5972 		if test "$supported" = "yes" ; then
   5973 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5974 			found="yes"
   5975 		fi
   5976 	fi
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 xorg_testset_save_CFLAGS="$CFLAGS"
   5993 
   5994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5996 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5998 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6009 else case e in #(
   6010   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6017 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6019 	CFLAGS="$xorg_testset_save_CFLAGS"
   6020 fi
   6021 
   6022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6025 	fi
   6026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6027 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6030 then :
   6031   printf %s "(cached) " >&6
   6032 else case e in #(
   6033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 _ACEOF
   6037 if ac_fn_c_try_compile "$LINENO"
   6038 then :
   6039   xorg_cv_cc_flag_unused_command_line_argument=yes
   6040 else case e in #(
   6041   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6042 esac
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6045 esac
   6046 fi
   6047 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6048 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6050 	CFLAGS="$xorg_testset_save_CFLAGS"
   6051 fi
   6052 
   6053 found="no"
   6054 
   6055 	if test $found = "no" ; then
   6056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 		fi
   6059 
   6060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6062 		fi
   6063 
   6064 		CFLAGS="$CFLAGS -Wformat=2"
   6065 
   6066 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   6067 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   6068 		cacheid=xorg_cv_cc_flag__Wformat_2
   6069 		if eval test \${$cacheid+y}
   6070 then :
   6071   printf %s "(cached) " >&6
   6072 else case e in #(
   6073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6074 /* end confdefs.h.  */
   6075 int i;
   6076 int
   6077 main (void)
   6078 {
   6079 
   6080   ;
   6081   return 0;
   6082 }
   6083 _ACEOF
   6084 if ac_fn_c_try_link "$LINENO"
   6085 then :
   6086   eval $cacheid=yes
   6087 else case e in #(
   6088   e) eval $cacheid=no ;;
   6089 esac
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6092     conftest$ac_exeext conftest.$ac_ext ;;
   6093 esac
   6094 fi
   6095 
   6096 
   6097 		CFLAGS="$xorg_testset_save_CFLAGS"
   6098 
   6099 		eval supported=\$$cacheid
   6100 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6101 printf '%s\n' "$supported" >&6; }
   6102 		if test "$supported" = "yes" ; then
   6103 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   6104 			found="yes"
   6105 		fi
   6106 	fi
   6107 
   6108 	if test $found = "no" ; then
   6109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6111 		fi
   6112 
   6113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6115 		fi
   6116 
   6117 		CFLAGS="$CFLAGS -Wformat"
   6118 
   6119 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   6120 printf %s "checking if $CC supports -Wformat... " >&6; }
   6121 		cacheid=xorg_cv_cc_flag__Wformat
   6122 		if eval test \${$cacheid+y}
   6123 then :
   6124   printf %s "(cached) " >&6
   6125 else case e in #(
   6126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 int
   6130 main (void)
   6131 {
   6132 
   6133   ;
   6134   return 0;
   6135 }
   6136 _ACEOF
   6137 if ac_fn_c_try_link "$LINENO"
   6138 then :
   6139   eval $cacheid=yes
   6140 else case e in #(
   6141   e) eval $cacheid=no ;;
   6142 esac
   6143 fi
   6144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6145     conftest$ac_exeext conftest.$ac_ext ;;
   6146 esac
   6147 fi
   6148 
   6149 
   6150 		CFLAGS="$xorg_testset_save_CFLAGS"
   6151 
   6152 		eval supported=\$$cacheid
   6153 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6154 printf '%s\n' "$supported" >&6; }
   6155 		if test "$supported" = "yes" ; then
   6156 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   6157 			found="yes"
   6158 		fi
   6159 	fi
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 xorg_testset_save_CFLAGS="$CFLAGS"
   6178 
   6179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6183 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6194 else case e in #(
   6195   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6202 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6204 	CFLAGS="$xorg_testset_save_CFLAGS"
   6205 fi
   6206 
   6207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6210 	fi
   6211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6212 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6213 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6214 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6215 then :
   6216   printf %s "(cached) " >&6
   6217 else case e in #(
   6218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 _ACEOF
   6222 if ac_fn_c_try_compile "$LINENO"
   6223 then :
   6224   xorg_cv_cc_flag_unused_command_line_argument=yes
   6225 else case e in #(
   6226   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6227 esac
   6228 fi
   6229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6230 esac
   6231 fi
   6232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6233 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6235 	CFLAGS="$xorg_testset_save_CFLAGS"
   6236 fi
   6237 
   6238 found="no"
   6239 
   6240 	if test $found = "no" ; then
   6241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6243 		fi
   6244 
   6245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6247 		fi
   6248 
   6249 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6250 
   6251 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6252 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6253 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6254 		if eval test \${$cacheid+y}
   6255 then :
   6256   printf %s "(cached) " >&6
   6257 else case e in #(
   6258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6259 /* end confdefs.h.  */
   6260 int i;
   6261 int
   6262 main (void)
   6263 {
   6264 
   6265   ;
   6266   return 0;
   6267 }
   6268 _ACEOF
   6269 if ac_fn_c_try_link "$LINENO"
   6270 then :
   6271   eval $cacheid=yes
   6272 else case e in #(
   6273   e) eval $cacheid=no ;;
   6274 esac
   6275 fi
   6276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6277     conftest$ac_exeext conftest.$ac_ext ;;
   6278 esac
   6279 fi
   6280 
   6281 
   6282 		CFLAGS="$xorg_testset_save_CFLAGS"
   6283 
   6284 		eval supported=\$$cacheid
   6285 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6286 printf '%s\n' "$supported" >&6; }
   6287 		if test "$supported" = "yes" ; then
   6288 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6289 			found="yes"
   6290 		fi
   6291 	fi
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 xorg_testset_save_CFLAGS="$CFLAGS"
   6308 
   6309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6311 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6313 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6324 else case e in #(
   6325   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6332 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6334 	CFLAGS="$xorg_testset_save_CFLAGS"
   6335 fi
   6336 
   6337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6340 	fi
   6341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6342 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6345 then :
   6346   printf %s "(cached) " >&6
   6347 else case e in #(
   6348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6349 /* end confdefs.h.  */
   6350 int i;
   6351 _ACEOF
   6352 if ac_fn_c_try_compile "$LINENO"
   6353 then :
   6354   xorg_cv_cc_flag_unused_command_line_argument=yes
   6355 else case e in #(
   6356   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6357 esac
   6358 fi
   6359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6360 esac
   6361 fi
   6362 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6363 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6365 	CFLAGS="$xorg_testset_save_CFLAGS"
   6366 fi
   6367 
   6368 found="no"
   6369 
   6370 	if test $found = "no" ; then
   6371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6373 		fi
   6374 
   6375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6377 		fi
   6378 
   6379 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6380 
   6381 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6382 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6383 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6384 		if eval test \${$cacheid+y}
   6385 then :
   6386   printf %s "(cached) " >&6
   6387 else case e in #(
   6388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6389 /* end confdefs.h.  */
   6390 int i;
   6391 int
   6392 main (void)
   6393 {
   6394 
   6395   ;
   6396   return 0;
   6397 }
   6398 _ACEOF
   6399 if ac_fn_c_try_link "$LINENO"
   6400 then :
   6401   eval $cacheid=yes
   6402 else case e in #(
   6403   e) eval $cacheid=no ;;
   6404 esac
   6405 fi
   6406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6407     conftest$ac_exeext conftest.$ac_ext ;;
   6408 esac
   6409 fi
   6410 
   6411 
   6412 		CFLAGS="$xorg_testset_save_CFLAGS"
   6413 
   6414 		eval supported=\$$cacheid
   6415 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6416 printf '%s\n' "$supported" >&6; }
   6417 		if test "$supported" = "yes" ; then
   6418 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6419 			found="yes"
   6420 		fi
   6421 	fi
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 xorg_testset_save_CFLAGS="$CFLAGS"
   6438 
   6439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6443 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6454 else case e in #(
   6455   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6462 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6464 	CFLAGS="$xorg_testset_save_CFLAGS"
   6465 fi
   6466 
   6467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 	fi
   6471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6475 then :
   6476   printf %s "(cached) " >&6
   6477 else case e in #(
   6478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 _ACEOF
   6482 if ac_fn_c_try_compile "$LINENO"
   6483 then :
   6484   xorg_cv_cc_flag_unused_command_line_argument=yes
   6485 else case e in #(
   6486   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6487 esac
   6488 fi
   6489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6490 esac
   6491 fi
   6492 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6493 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6495 	CFLAGS="$xorg_testset_save_CFLAGS"
   6496 fi
   6497 
   6498 found="no"
   6499 
   6500 	if test $found = "no" ; then
   6501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6503 		fi
   6504 
   6505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 		fi
   6508 
   6509 		CFLAGS="$CFLAGS -Wnested-externs"
   6510 
   6511 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6512 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6513 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6514 		if eval test \${$cacheid+y}
   6515 then :
   6516   printf %s "(cached) " >&6
   6517 else case e in #(
   6518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 int
   6522 main (void)
   6523 {
   6524 
   6525   ;
   6526   return 0;
   6527 }
   6528 _ACEOF
   6529 if ac_fn_c_try_link "$LINENO"
   6530 then :
   6531   eval $cacheid=yes
   6532 else case e in #(
   6533   e) eval $cacheid=no ;;
   6534 esac
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6537     conftest$ac_exeext conftest.$ac_ext ;;
   6538 esac
   6539 fi
   6540 
   6541 
   6542 		CFLAGS="$xorg_testset_save_CFLAGS"
   6543 
   6544 		eval supported=\$$cacheid
   6545 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6546 printf '%s\n' "$supported" >&6; }
   6547 		if test "$supported" = "yes" ; then
   6548 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6549 			found="yes"
   6550 		fi
   6551 	fi
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 xorg_testset_save_CFLAGS="$CFLAGS"
   6568 
   6569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6571 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6572 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6573 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6584 else case e in #(
   6585   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6592 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6594 	CFLAGS="$xorg_testset_save_CFLAGS"
   6595 fi
   6596 
   6597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6600 	fi
   6601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6602 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6605 then :
   6606   printf %s "(cached) " >&6
   6607 else case e in #(
   6608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 _ACEOF
   6612 if ac_fn_c_try_compile "$LINENO"
   6613 then :
   6614   xorg_cv_cc_flag_unused_command_line_argument=yes
   6615 else case e in #(
   6616   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6617 esac
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6620 esac
   6621 fi
   6622 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6623 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6625 	CFLAGS="$xorg_testset_save_CFLAGS"
   6626 fi
   6627 
   6628 found="no"
   6629 
   6630 	if test $found = "no" ; then
   6631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 		fi
   6634 
   6635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 		fi
   6638 
   6639 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6640 
   6641 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6642 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6643 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6644 		if eval test \${$cacheid+y}
   6645 then :
   6646   printf %s "(cached) " >&6
   6647 else case e in #(
   6648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6649 /* end confdefs.h.  */
   6650 int i;
   6651 int
   6652 main (void)
   6653 {
   6654 
   6655   ;
   6656   return 0;
   6657 }
   6658 _ACEOF
   6659 if ac_fn_c_try_link "$LINENO"
   6660 then :
   6661   eval $cacheid=yes
   6662 else case e in #(
   6663   e) eval $cacheid=no ;;
   6664 esac
   6665 fi
   6666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6667     conftest$ac_exeext conftest.$ac_ext ;;
   6668 esac
   6669 fi
   6670 
   6671 
   6672 		CFLAGS="$xorg_testset_save_CFLAGS"
   6673 
   6674 		eval supported=\$$cacheid
   6675 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6676 printf '%s\n' "$supported" >&6; }
   6677 		if test "$supported" = "yes" ; then
   6678 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6679 			found="yes"
   6680 		fi
   6681 	fi
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 xorg_testset_save_CFLAGS="$CFLAGS"
   6698 
   6699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6701 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6703 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6714 else case e in #(
   6715   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6722 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6724 	CFLAGS="$xorg_testset_save_CFLAGS"
   6725 fi
   6726 
   6727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6730 	fi
   6731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6732 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6735 then :
   6736   printf %s "(cached) " >&6
   6737 else case e in #(
   6738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6739 /* end confdefs.h.  */
   6740 int i;
   6741 _ACEOF
   6742 if ac_fn_c_try_compile "$LINENO"
   6743 then :
   6744   xorg_cv_cc_flag_unused_command_line_argument=yes
   6745 else case e in #(
   6746   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6747 esac
   6748 fi
   6749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6750 esac
   6751 fi
   6752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6753 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6755 	CFLAGS="$xorg_testset_save_CFLAGS"
   6756 fi
   6757 
   6758 found="no"
   6759 
   6760 	if test $found = "no" ; then
   6761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6763 		fi
   6764 
   6765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6767 		fi
   6768 
   6769 		CFLAGS="$CFLAGS -Wold-style-definition"
   6770 
   6771 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6772 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6773 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6774 		if eval test \${$cacheid+y}
   6775 then :
   6776   printf %s "(cached) " >&6
   6777 else case e in #(
   6778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6779 /* end confdefs.h.  */
   6780 int i;
   6781 int
   6782 main (void)
   6783 {
   6784 
   6785   ;
   6786   return 0;
   6787 }
   6788 _ACEOF
   6789 if ac_fn_c_try_link "$LINENO"
   6790 then :
   6791   eval $cacheid=yes
   6792 else case e in #(
   6793   e) eval $cacheid=no ;;
   6794 esac
   6795 fi
   6796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6797     conftest$ac_exeext conftest.$ac_ext ;;
   6798 esac
   6799 fi
   6800 
   6801 
   6802 		CFLAGS="$xorg_testset_save_CFLAGS"
   6803 
   6804 		eval supported=\$$cacheid
   6805 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6806 printf '%s\n' "$supported" >&6; }
   6807 		if test "$supported" = "yes" ; then
   6808 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6809 			found="yes"
   6810 		fi
   6811 	fi
   6812 
   6813 	if test $found = "no" ; then
   6814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 		fi
   6817 
   6818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6820 		fi
   6821 
   6822 		CFLAGS="$CFLAGS -fd"
   6823 
   6824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6825 printf %s "checking if $CC supports -fd... " >&6; }
   6826 		cacheid=xorg_cv_cc_flag__fd
   6827 		if eval test \${$cacheid+y}
   6828 then :
   6829   printf %s "(cached) " >&6
   6830 else case e in #(
   6831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 int
   6835 main (void)
   6836 {
   6837 
   6838   ;
   6839   return 0;
   6840 }
   6841 _ACEOF
   6842 if ac_fn_c_try_link "$LINENO"
   6843 then :
   6844   eval $cacheid=yes
   6845 else case e in #(
   6846   e) eval $cacheid=no ;;
   6847 esac
   6848 fi
   6849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6850     conftest$ac_exeext conftest.$ac_ext ;;
   6851 esac
   6852 fi
   6853 
   6854 
   6855 		CFLAGS="$xorg_testset_save_CFLAGS"
   6856 
   6857 		eval supported=\$$cacheid
   6858 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6859 printf '%s\n' "$supported" >&6; }
   6860 		if test "$supported" = "yes" ; then
   6861 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6862 			found="yes"
   6863 		fi
   6864 	fi
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 # This chunk adds additional warnings that could catch undesired effects.
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 xorg_testset_save_CFLAGS="$CFLAGS"
   6885 
   6886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6889 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6890 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   6901 else case e in #(
   6902   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6909 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6911 	CFLAGS="$xorg_testset_save_CFLAGS"
   6912 fi
   6913 
   6914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 	fi
   6918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6919 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6922 then :
   6923   printf %s "(cached) " >&6
   6924 else case e in #(
   6925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6926 /* end confdefs.h.  */
   6927 int i;
   6928 _ACEOF
   6929 if ac_fn_c_try_compile "$LINENO"
   6930 then :
   6931   xorg_cv_cc_flag_unused_command_line_argument=yes
   6932 else case e in #(
   6933   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6934 esac
   6935 fi
   6936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6937 esac
   6938 fi
   6939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6940 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6942 	CFLAGS="$xorg_testset_save_CFLAGS"
   6943 fi
   6944 
   6945 found="no"
   6946 
   6947 	if test $found = "no" ; then
   6948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6950 		fi
   6951 
   6952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6954 		fi
   6955 
   6956 		CFLAGS="$CFLAGS -Wunused"
   6957 
   6958 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6959 printf %s "checking if $CC supports -Wunused... " >&6; }
   6960 		cacheid=xorg_cv_cc_flag__Wunused
   6961 		if eval test \${$cacheid+y}
   6962 then :
   6963   printf %s "(cached) " >&6
   6964 else case e in #(
   6965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 int
   6969 main (void)
   6970 {
   6971 
   6972   ;
   6973   return 0;
   6974 }
   6975 _ACEOF
   6976 if ac_fn_c_try_link "$LINENO"
   6977 then :
   6978   eval $cacheid=yes
   6979 else case e in #(
   6980   e) eval $cacheid=no ;;
   6981 esac
   6982 fi
   6983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6984     conftest$ac_exeext conftest.$ac_ext ;;
   6985 esac
   6986 fi
   6987 
   6988 
   6989 		CFLAGS="$xorg_testset_save_CFLAGS"
   6990 
   6991 		eval supported=\$$cacheid
   6992 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6993 printf '%s\n' "$supported" >&6; }
   6994 		if test "$supported" = "yes" ; then
   6995 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6996 			found="yes"
   6997 		fi
   6998 	fi
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 xorg_testset_save_CFLAGS="$CFLAGS"
   7015 
   7016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7018 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7020 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7031 else case e in #(
   7032   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7039 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7041 	CFLAGS="$xorg_testset_save_CFLAGS"
   7042 fi
   7043 
   7044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	fi
   7048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7049 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7052 then :
   7053   printf %s "(cached) " >&6
   7054 else case e in #(
   7055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 int i;
   7058 _ACEOF
   7059 if ac_fn_c_try_compile "$LINENO"
   7060 then :
   7061   xorg_cv_cc_flag_unused_command_line_argument=yes
   7062 else case e in #(
   7063   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7064 esac
   7065 fi
   7066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7067 esac
   7068 fi
   7069 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7070 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7072 	CFLAGS="$xorg_testset_save_CFLAGS"
   7073 fi
   7074 
   7075 found="no"
   7076 
   7077 	if test $found = "no" ; then
   7078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7080 		fi
   7081 
   7082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7084 		fi
   7085 
   7086 		CFLAGS="$CFLAGS -Wuninitialized"
   7087 
   7088 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   7089 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   7090 		cacheid=xorg_cv_cc_flag__Wuninitialized
   7091 		if eval test \${$cacheid+y}
   7092 then :
   7093   printf %s "(cached) " >&6
   7094 else case e in #(
   7095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 int
   7099 main (void)
   7100 {
   7101 
   7102   ;
   7103   return 0;
   7104 }
   7105 _ACEOF
   7106 if ac_fn_c_try_link "$LINENO"
   7107 then :
   7108   eval $cacheid=yes
   7109 else case e in #(
   7110   e) eval $cacheid=no ;;
   7111 esac
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7114     conftest$ac_exeext conftest.$ac_ext ;;
   7115 esac
   7116 fi
   7117 
   7118 
   7119 		CFLAGS="$xorg_testset_save_CFLAGS"
   7120 
   7121 		eval supported=\$$cacheid
   7122 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7123 printf '%s\n' "$supported" >&6; }
   7124 		if test "$supported" = "yes" ; then
   7125 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   7126 			found="yes"
   7127 		fi
   7128 	fi
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 xorg_testset_save_CFLAGS="$CFLAGS"
   7145 
   7146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7150 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7161 else case e in #(
   7162   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7169 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7171 	CFLAGS="$xorg_testset_save_CFLAGS"
   7172 fi
   7173 
   7174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7177 	fi
   7178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7179 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7182 then :
   7183   printf %s "(cached) " >&6
   7184 else case e in #(
   7185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7186 /* end confdefs.h.  */
   7187 int i;
   7188 _ACEOF
   7189 if ac_fn_c_try_compile "$LINENO"
   7190 then :
   7191   xorg_cv_cc_flag_unused_command_line_argument=yes
   7192 else case e in #(
   7193   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7194 esac
   7195 fi
   7196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7197 esac
   7198 fi
   7199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7200 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7202 	CFLAGS="$xorg_testset_save_CFLAGS"
   7203 fi
   7204 
   7205 found="no"
   7206 
   7207 	if test $found = "no" ; then
   7208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 		fi
   7211 
   7212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7214 		fi
   7215 
   7216 		CFLAGS="$CFLAGS -Wshadow"
   7217 
   7218 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7219 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7220 		cacheid=xorg_cv_cc_flag__Wshadow
   7221 		if eval test \${$cacheid+y}
   7222 then :
   7223   printf %s "(cached) " >&6
   7224 else case e in #(
   7225   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 int i;
   7228 int
   7229 main (void)
   7230 {
   7231 
   7232   ;
   7233   return 0;
   7234 }
   7235 _ACEOF
   7236 if ac_fn_c_try_link "$LINENO"
   7237 then :
   7238   eval $cacheid=yes
   7239 else case e in #(
   7240   e) eval $cacheid=no ;;
   7241 esac
   7242 fi
   7243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7244     conftest$ac_exeext conftest.$ac_ext ;;
   7245 esac
   7246 fi
   7247 
   7248 
   7249 		CFLAGS="$xorg_testset_save_CFLAGS"
   7250 
   7251 		eval supported=\$$cacheid
   7252 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7253 printf '%s\n' "$supported" >&6; }
   7254 		if test "$supported" = "yes" ; then
   7255 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7256 			found="yes"
   7257 		fi
   7258 	fi
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 xorg_testset_save_CFLAGS="$CFLAGS"
   7275 
   7276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7280 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7291 else case e in #(
   7292   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7299 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7301 	CFLAGS="$xorg_testset_save_CFLAGS"
   7302 fi
   7303 
   7304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7307 	fi
   7308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7309 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7310 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7311 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7312 then :
   7313   printf %s "(cached) " >&6
   7314 else case e in #(
   7315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"
   7320 then :
   7321   xorg_cv_cc_flag_unused_command_line_argument=yes
   7322 else case e in #(
   7323   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7324 esac
   7325 fi
   7326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7327 esac
   7328 fi
   7329 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7330 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7332 	CFLAGS="$xorg_testset_save_CFLAGS"
   7333 fi
   7334 
   7335 found="no"
   7336 
   7337 	if test $found = "no" ; then
   7338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7340 		fi
   7341 
   7342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7344 		fi
   7345 
   7346 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7347 
   7348 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7349 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7350 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7351 		if eval test \${$cacheid+y}
   7352 then :
   7353   printf %s "(cached) " >&6
   7354 else case e in #(
   7355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7356 /* end confdefs.h.  */
   7357 int i;
   7358 int
   7359 main (void)
   7360 {
   7361 
   7362   ;
   7363   return 0;
   7364 }
   7365 _ACEOF
   7366 if ac_fn_c_try_link "$LINENO"
   7367 then :
   7368   eval $cacheid=yes
   7369 else case e in #(
   7370   e) eval $cacheid=no ;;
   7371 esac
   7372 fi
   7373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7374     conftest$ac_exeext conftest.$ac_ext ;;
   7375 esac
   7376 fi
   7377 
   7378 
   7379 		CFLAGS="$xorg_testset_save_CFLAGS"
   7380 
   7381 		eval supported=\$$cacheid
   7382 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7383 printf '%s\n' "$supported" >&6; }
   7384 		if test "$supported" = "yes" ; then
   7385 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7386 			found="yes"
   7387 		fi
   7388 	fi
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 xorg_testset_save_CFLAGS="$CFLAGS"
   7405 
   7406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7408 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7409 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7410 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7421 else case e in #(
   7422   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7429 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7431 	CFLAGS="$xorg_testset_save_CFLAGS"
   7432 fi
   7433 
   7434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7437 	fi
   7438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7439 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7440 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7441 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7442 then :
   7443   printf %s "(cached) " >&6
   7444 else case e in #(
   7445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7446 /* end confdefs.h.  */
   7447 int i;
   7448 _ACEOF
   7449 if ac_fn_c_try_compile "$LINENO"
   7450 then :
   7451   xorg_cv_cc_flag_unused_command_line_argument=yes
   7452 else case e in #(
   7453   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7454 esac
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7457 esac
   7458 fi
   7459 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7460 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7462 	CFLAGS="$xorg_testset_save_CFLAGS"
   7463 fi
   7464 
   7465 found="no"
   7466 
   7467 	if test $found = "no" ; then
   7468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7470 		fi
   7471 
   7472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7474 		fi
   7475 
   7476 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7477 
   7478 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7479 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7480 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7481 		if eval test \${$cacheid+y}
   7482 then :
   7483   printf %s "(cached) " >&6
   7484 else case e in #(
   7485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 int i;
   7488 int
   7489 main (void)
   7490 {
   7491 
   7492   ;
   7493   return 0;
   7494 }
   7495 _ACEOF
   7496 if ac_fn_c_try_link "$LINENO"
   7497 then :
   7498   eval $cacheid=yes
   7499 else case e in #(
   7500   e) eval $cacheid=no ;;
   7501 esac
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7504     conftest$ac_exeext conftest.$ac_ext ;;
   7505 esac
   7506 fi
   7507 
   7508 
   7509 		CFLAGS="$xorg_testset_save_CFLAGS"
   7510 
   7511 		eval supported=\$$cacheid
   7512 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7513 printf '%s\n' "$supported" >&6; }
   7514 		if test "$supported" = "yes" ; then
   7515 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7516 			found="yes"
   7517 		fi
   7518 	fi
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 xorg_testset_save_CFLAGS="$CFLAGS"
   7535 
   7536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7538 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7539 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7540 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7551 else case e in #(
   7552   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7559 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7561 	CFLAGS="$xorg_testset_save_CFLAGS"
   7562 fi
   7563 
   7564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7567 	fi
   7568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7569 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7570 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7571 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7572 then :
   7573   printf %s "(cached) " >&6
   7574 else case e in #(
   7575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7576 /* end confdefs.h.  */
   7577 int i;
   7578 _ACEOF
   7579 if ac_fn_c_try_compile "$LINENO"
   7580 then :
   7581   xorg_cv_cc_flag_unused_command_line_argument=yes
   7582 else case e in #(
   7583   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7584 esac
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7587 esac
   7588 fi
   7589 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7590 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7592 	CFLAGS="$xorg_testset_save_CFLAGS"
   7593 fi
   7594 
   7595 found="no"
   7596 
   7597 	if test $found = "no" ; then
   7598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 		fi
   7601 
   7602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7604 		fi
   7605 
   7606 		CFLAGS="$CFLAGS -Wredundant-decls"
   7607 
   7608 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7609 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7610 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7611 		if eval test \${$cacheid+y}
   7612 then :
   7613   printf %s "(cached) " >&6
   7614 else case e in #(
   7615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7616 /* end confdefs.h.  */
   7617 int i;
   7618 int
   7619 main (void)
   7620 {
   7621 
   7622   ;
   7623   return 0;
   7624 }
   7625 _ACEOF
   7626 if ac_fn_c_try_link "$LINENO"
   7627 then :
   7628   eval $cacheid=yes
   7629 else case e in #(
   7630   e) eval $cacheid=no ;;
   7631 esac
   7632 fi
   7633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7634     conftest$ac_exeext conftest.$ac_ext ;;
   7635 esac
   7636 fi
   7637 
   7638 
   7639 		CFLAGS="$xorg_testset_save_CFLAGS"
   7640 
   7641 		eval supported=\$$cacheid
   7642 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7643 printf '%s\n' "$supported" >&6; }
   7644 		if test "$supported" = "yes" ; then
   7645 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7646 			found="yes"
   7647 		fi
   7648 	fi
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 xorg_testset_save_CFLAGS="$CFLAGS"
   7665 
   7666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7668 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7669 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7670 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7681 else case e in #(
   7682   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7689 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7697 	fi
   7698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7699 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7700 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7701 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7702 then :
   7703   printf %s "(cached) " >&6
   7704 else case e in #(
   7705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7706 /* end confdefs.h.  */
   7707 int i;
   7708 _ACEOF
   7709 if ac_fn_c_try_compile "$LINENO"
   7710 then :
   7711   xorg_cv_cc_flag_unused_command_line_argument=yes
   7712 else case e in #(
   7713   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7714 esac
   7715 fi
   7716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7717 esac
   7718 fi
   7719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7720 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7722 	CFLAGS="$xorg_testset_save_CFLAGS"
   7723 fi
   7724 
   7725 found="no"
   7726 
   7727 	if test $found = "no" ; then
   7728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7730 		fi
   7731 
   7732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7734 		fi
   7735 
   7736 		CFLAGS="$CFLAGS -Wlogical-op"
   7737 
   7738 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7739 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7740 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7741 		if eval test \${$cacheid+y}
   7742 then :
   7743   printf %s "(cached) " >&6
   7744 else case e in #(
   7745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7746 /* end confdefs.h.  */
   7747 int i;
   7748 int
   7749 main (void)
   7750 {
   7751 
   7752   ;
   7753   return 0;
   7754 }
   7755 _ACEOF
   7756 if ac_fn_c_try_link "$LINENO"
   7757 then :
   7758   eval $cacheid=yes
   7759 else case e in #(
   7760   e) eval $cacheid=no ;;
   7761 esac
   7762 fi
   7763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7764     conftest$ac_exeext conftest.$ac_ext ;;
   7765 esac
   7766 fi
   7767 
   7768 
   7769 		CFLAGS="$xorg_testset_save_CFLAGS"
   7770 
   7771 		eval supported=\$$cacheid
   7772 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7773 printf '%s\n' "$supported" >&6; }
   7774 		if test "$supported" = "yes" ; then
   7775 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7776 			found="yes"
   7777 		fi
   7778 	fi
   7779 
   7780 
   7781 
   7782 # These are currently disabled because they are noisy.  They will be enabled
   7783 # in the future once the codebase is sufficiently modernized to silence
   7784 # them.  For now, I don't want them to drown out the other warnings.
   7785 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7786 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7787 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7788 
   7789 # Turn some warnings into errors, so we don't accidentally get successful builds
   7790 # when there are problems that should be fixed.
   7791 
   7792 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 xorg_testset_save_CFLAGS="$CFLAGS"
   7807 
   7808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7812 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   7823 else case e in #(
   7824   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   7831 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7833 	CFLAGS="$xorg_testset_save_CFLAGS"
   7834 fi
   7835 
   7836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 	fi
   7840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7841 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7844 then :
   7845   printf %s "(cached) " >&6
   7846 else case e in #(
   7847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 _ACEOF
   7851 if ac_fn_c_try_compile "$LINENO"
   7852 then :
   7853   xorg_cv_cc_flag_unused_command_line_argument=yes
   7854 else case e in #(
   7855   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7856 esac
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7859 esac
   7860 fi
   7861 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7862 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7864 	CFLAGS="$xorg_testset_save_CFLAGS"
   7865 fi
   7866 
   7867 found="no"
   7868 
   7869 	if test $found = "no" ; then
   7870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7872 		fi
   7873 
   7874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7876 		fi
   7877 
   7878 		CFLAGS="$CFLAGS -Werror=implicit"
   7879 
   7880 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7881 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7882 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7883 		if eval test \${$cacheid+y}
   7884 then :
   7885   printf %s "(cached) " >&6
   7886 else case e in #(
   7887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7888 /* end confdefs.h.  */
   7889 int i;
   7890 int
   7891 main (void)
   7892 {
   7893 
   7894   ;
   7895   return 0;
   7896 }
   7897 _ACEOF
   7898 if ac_fn_c_try_link "$LINENO"
   7899 then :
   7900   eval $cacheid=yes
   7901 else case e in #(
   7902   e) eval $cacheid=no ;;
   7903 esac
   7904 fi
   7905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7906     conftest$ac_exeext conftest.$ac_ext ;;
   7907 esac
   7908 fi
   7909 
   7910 
   7911 		CFLAGS="$xorg_testset_save_CFLAGS"
   7912 
   7913 		eval supported=\$$cacheid
   7914 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7915 printf '%s\n' "$supported" >&6; }
   7916 		if test "$supported" = "yes" ; then
   7917 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7918 			found="yes"
   7919 		fi
   7920 	fi
   7921 
   7922 	if test $found = "no" ; then
   7923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7925 		fi
   7926 
   7927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7929 		fi
   7930 
   7931 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7932 
   7933 		{ 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
   7934 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7935 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7936 		if eval test \${$cacheid+y}
   7937 then :
   7938   printf %s "(cached) " >&6
   7939 else case e in #(
   7940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7941 /* end confdefs.h.  */
   7942 int i;
   7943 int
   7944 main (void)
   7945 {
   7946 
   7947   ;
   7948   return 0;
   7949 }
   7950 _ACEOF
   7951 if ac_fn_c_try_link "$LINENO"
   7952 then :
   7953   eval $cacheid=yes
   7954 else case e in #(
   7955   e) eval $cacheid=no ;;
   7956 esac
   7957 fi
   7958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7959     conftest$ac_exeext conftest.$ac_ext ;;
   7960 esac
   7961 fi
   7962 
   7963 
   7964 		CFLAGS="$xorg_testset_save_CFLAGS"
   7965 
   7966 		eval supported=\$$cacheid
   7967 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7968 printf '%s\n' "$supported" >&6; }
   7969 		if test "$supported" = "yes" ; then
   7970 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7971 			found="yes"
   7972 		fi
   7973 	fi
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 xorg_testset_save_CFLAGS="$CFLAGS"
   7990 
   7991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7995 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8006 else case e in #(
   8007   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8014 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8016 	CFLAGS="$xorg_testset_save_CFLAGS"
   8017 fi
   8018 
   8019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8022 	fi
   8023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8024 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8025 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8026 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8027 then :
   8028   printf %s "(cached) " >&6
   8029 else case e in #(
   8030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8031 /* end confdefs.h.  */
   8032 int i;
   8033 _ACEOF
   8034 if ac_fn_c_try_compile "$LINENO"
   8035 then :
   8036   xorg_cv_cc_flag_unused_command_line_argument=yes
   8037 else case e in #(
   8038   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8039 esac
   8040 fi
   8041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8042 esac
   8043 fi
   8044 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8045 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8047 	CFLAGS="$xorg_testset_save_CFLAGS"
   8048 fi
   8049 
   8050 found="no"
   8051 
   8052 	if test $found = "no" ; then
   8053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8055 		fi
   8056 
   8057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8059 		fi
   8060 
   8061 		CFLAGS="$CFLAGS -Werror=nonnull"
   8062 
   8063 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   8064 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   8065 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   8066 		if eval test \${$cacheid+y}
   8067 then :
   8068   printf %s "(cached) " >&6
   8069 else case e in #(
   8070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8071 /* end confdefs.h.  */
   8072 int i;
   8073 int
   8074 main (void)
   8075 {
   8076 
   8077   ;
   8078   return 0;
   8079 }
   8080 _ACEOF
   8081 if ac_fn_c_try_link "$LINENO"
   8082 then :
   8083   eval $cacheid=yes
   8084 else case e in #(
   8085   e) eval $cacheid=no ;;
   8086 esac
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8089     conftest$ac_exeext conftest.$ac_ext ;;
   8090 esac
   8091 fi
   8092 
   8093 
   8094 		CFLAGS="$xorg_testset_save_CFLAGS"
   8095 
   8096 		eval supported=\$$cacheid
   8097 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8098 printf '%s\n' "$supported" >&6; }
   8099 		if test "$supported" = "yes" ; then
   8100 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   8101 			found="yes"
   8102 		fi
   8103 	fi
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 xorg_testset_save_CFLAGS="$CFLAGS"
   8120 
   8121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8124 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8125 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8136 else case e in #(
   8137   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8144 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8146 	CFLAGS="$xorg_testset_save_CFLAGS"
   8147 fi
   8148 
   8149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8152 	fi
   8153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8154 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8157 then :
   8158   printf %s "(cached) " >&6
   8159 else case e in #(
   8160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 _ACEOF
   8164 if ac_fn_c_try_compile "$LINENO"
   8165 then :
   8166   xorg_cv_cc_flag_unused_command_line_argument=yes
   8167 else case e in #(
   8168   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8169 esac
   8170 fi
   8171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8172 esac
   8173 fi
   8174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8175 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8177 	CFLAGS="$xorg_testset_save_CFLAGS"
   8178 fi
   8179 
   8180 found="no"
   8181 
   8182 	if test $found = "no" ; then
   8183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8185 		fi
   8186 
   8187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8189 		fi
   8190 
   8191 		CFLAGS="$CFLAGS -Werror=init-self"
   8192 
   8193 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   8194 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   8195 		cacheid=xorg_cv_cc_flag__Werror_init_self
   8196 		if eval test \${$cacheid+y}
   8197 then :
   8198   printf %s "(cached) " >&6
   8199 else case e in #(
   8200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8201 /* end confdefs.h.  */
   8202 int i;
   8203 int
   8204 main (void)
   8205 {
   8206 
   8207   ;
   8208   return 0;
   8209 }
   8210 _ACEOF
   8211 if ac_fn_c_try_link "$LINENO"
   8212 then :
   8213   eval $cacheid=yes
   8214 else case e in #(
   8215   e) eval $cacheid=no ;;
   8216 esac
   8217 fi
   8218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8219     conftest$ac_exeext conftest.$ac_ext ;;
   8220 esac
   8221 fi
   8222 
   8223 
   8224 		CFLAGS="$xorg_testset_save_CFLAGS"
   8225 
   8226 		eval supported=\$$cacheid
   8227 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8228 printf '%s\n' "$supported" >&6; }
   8229 		if test "$supported" = "yes" ; then
   8230 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8231 			found="yes"
   8232 		fi
   8233 	fi
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 xorg_testset_save_CFLAGS="$CFLAGS"
   8250 
   8251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8255 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8266 else case e in #(
   8267   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8274 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8276 	CFLAGS="$xorg_testset_save_CFLAGS"
   8277 fi
   8278 
   8279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8282 	fi
   8283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8284 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8285 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8286 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8287 then :
   8288   printf %s "(cached) " >&6
   8289 else case e in #(
   8290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8291 /* end confdefs.h.  */
   8292 int i;
   8293 _ACEOF
   8294 if ac_fn_c_try_compile "$LINENO"
   8295 then :
   8296   xorg_cv_cc_flag_unused_command_line_argument=yes
   8297 else case e in #(
   8298   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8299 esac
   8300 fi
   8301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8302 esac
   8303 fi
   8304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8305 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8307 	CFLAGS="$xorg_testset_save_CFLAGS"
   8308 fi
   8309 
   8310 found="no"
   8311 
   8312 	if test $found = "no" ; then
   8313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8315 		fi
   8316 
   8317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8319 		fi
   8320 
   8321 		CFLAGS="$CFLAGS -Werror=main"
   8322 
   8323 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8324 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8325 		cacheid=xorg_cv_cc_flag__Werror_main
   8326 		if eval test \${$cacheid+y}
   8327 then :
   8328   printf %s "(cached) " >&6
   8329 else case e in #(
   8330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 int
   8334 main (void)
   8335 {
   8336 
   8337   ;
   8338   return 0;
   8339 }
   8340 _ACEOF
   8341 if ac_fn_c_try_link "$LINENO"
   8342 then :
   8343   eval $cacheid=yes
   8344 else case e in #(
   8345   e) eval $cacheid=no ;;
   8346 esac
   8347 fi
   8348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8349     conftest$ac_exeext conftest.$ac_ext ;;
   8350 esac
   8351 fi
   8352 
   8353 
   8354 		CFLAGS="$xorg_testset_save_CFLAGS"
   8355 
   8356 		eval supported=\$$cacheid
   8357 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8358 printf '%s\n' "$supported" >&6; }
   8359 		if test "$supported" = "yes" ; then
   8360 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8361 			found="yes"
   8362 		fi
   8363 	fi
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 xorg_testset_save_CFLAGS="$CFLAGS"
   8380 
   8381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8383 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8384 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8385 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8396 else case e in #(
   8397   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8404 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8406 	CFLAGS="$xorg_testset_save_CFLAGS"
   8407 fi
   8408 
   8409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	fi
   8413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8414 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8417 then :
   8418   printf %s "(cached) " >&6
   8419 else case e in #(
   8420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 _ACEOF
   8424 if ac_fn_c_try_compile "$LINENO"
   8425 then :
   8426   xorg_cv_cc_flag_unused_command_line_argument=yes
   8427 else case e in #(
   8428   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8429 esac
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8432 esac
   8433 fi
   8434 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8435 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8437 	CFLAGS="$xorg_testset_save_CFLAGS"
   8438 fi
   8439 
   8440 found="no"
   8441 
   8442 	if test $found = "no" ; then
   8443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8445 		fi
   8446 
   8447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8449 		fi
   8450 
   8451 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8452 
   8453 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8454 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8455 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8456 		if eval test \${$cacheid+y}
   8457 then :
   8458   printf %s "(cached) " >&6
   8459 else case e in #(
   8460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8461 /* end confdefs.h.  */
   8462 int i;
   8463 int
   8464 main (void)
   8465 {
   8466 
   8467   ;
   8468   return 0;
   8469 }
   8470 _ACEOF
   8471 if ac_fn_c_try_link "$LINENO"
   8472 then :
   8473   eval $cacheid=yes
   8474 else case e in #(
   8475   e) eval $cacheid=no ;;
   8476 esac
   8477 fi
   8478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8479     conftest$ac_exeext conftest.$ac_ext ;;
   8480 esac
   8481 fi
   8482 
   8483 
   8484 		CFLAGS="$xorg_testset_save_CFLAGS"
   8485 
   8486 		eval supported=\$$cacheid
   8487 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8488 printf '%s\n' "$supported" >&6; }
   8489 		if test "$supported" = "yes" ; then
   8490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8491 			found="yes"
   8492 		fi
   8493 	fi
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 xorg_testset_save_CFLAGS="$CFLAGS"
   8510 
   8511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8513 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8514 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8515 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8526 else case e in #(
   8527   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8534 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8536 	CFLAGS="$xorg_testset_save_CFLAGS"
   8537 fi
   8538 
   8539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8542 	fi
   8543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8544 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8545 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8546 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8547 then :
   8548   printf %s "(cached) " >&6
   8549 else case e in #(
   8550   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"
   8555 then :
   8556   xorg_cv_cc_flag_unused_command_line_argument=yes
   8557 else case e in #(
   8558   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8559 esac
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8562 esac
   8563 fi
   8564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8565 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8567 	CFLAGS="$xorg_testset_save_CFLAGS"
   8568 fi
   8569 
   8570 found="no"
   8571 
   8572 	if test $found = "no" ; then
   8573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8575 		fi
   8576 
   8577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8579 		fi
   8580 
   8581 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8582 
   8583 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8584 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8585 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8586 		if eval test \${$cacheid+y}
   8587 then :
   8588   printf %s "(cached) " >&6
   8589 else case e in #(
   8590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8591 /* end confdefs.h.  */
   8592 int i;
   8593 int
   8594 main (void)
   8595 {
   8596 
   8597   ;
   8598   return 0;
   8599 }
   8600 _ACEOF
   8601 if ac_fn_c_try_link "$LINENO"
   8602 then :
   8603   eval $cacheid=yes
   8604 else case e in #(
   8605   e) eval $cacheid=no ;;
   8606 esac
   8607 fi
   8608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8609     conftest$ac_exeext conftest.$ac_ext ;;
   8610 esac
   8611 fi
   8612 
   8613 
   8614 		CFLAGS="$xorg_testset_save_CFLAGS"
   8615 
   8616 		eval supported=\$$cacheid
   8617 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8618 printf '%s\n' "$supported" >&6; }
   8619 		if test "$supported" = "yes" ; then
   8620 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8621 			found="yes"
   8622 		fi
   8623 	fi
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 xorg_testset_save_CFLAGS="$CFLAGS"
   8640 
   8641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8643 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8644 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8645 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8656 else case e in #(
   8657   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8664 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8666 	CFLAGS="$xorg_testset_save_CFLAGS"
   8667 fi
   8668 
   8669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8672 	fi
   8673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8674 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8675 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8676 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else case e in #(
   8680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 _ACEOF
   8684 if ac_fn_c_try_compile "$LINENO"
   8685 then :
   8686   xorg_cv_cc_flag_unused_command_line_argument=yes
   8687 else case e in #(
   8688   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8689 esac
   8690 fi
   8691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8692 esac
   8693 fi
   8694 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8695 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8697 	CFLAGS="$xorg_testset_save_CFLAGS"
   8698 fi
   8699 
   8700 found="no"
   8701 
   8702 	if test $found = "no" ; then
   8703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8705 		fi
   8706 
   8707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8709 		fi
   8710 
   8711 		CFLAGS="$CFLAGS -Werror=return-type"
   8712 
   8713 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8714 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8715 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8716 		if eval test \${$cacheid+y}
   8717 then :
   8718   printf %s "(cached) " >&6
   8719 else case e in #(
   8720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8721 /* end confdefs.h.  */
   8722 int i;
   8723 int
   8724 main (void)
   8725 {
   8726 
   8727   ;
   8728   return 0;
   8729 }
   8730 _ACEOF
   8731 if ac_fn_c_try_link "$LINENO"
   8732 then :
   8733   eval $cacheid=yes
   8734 else case e in #(
   8735   e) eval $cacheid=no ;;
   8736 esac
   8737 fi
   8738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8739     conftest$ac_exeext conftest.$ac_ext ;;
   8740 esac
   8741 fi
   8742 
   8743 
   8744 		CFLAGS="$xorg_testset_save_CFLAGS"
   8745 
   8746 		eval supported=\$$cacheid
   8747 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8748 printf '%s\n' "$supported" >&6; }
   8749 		if test "$supported" = "yes" ; then
   8750 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8751 			found="yes"
   8752 		fi
   8753 	fi
   8754 
   8755 	if test $found = "no" ; then
   8756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8758 		fi
   8759 
   8760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8762 		fi
   8763 
   8764 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8765 
   8766 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8767 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8768 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8769 		if eval test \${$cacheid+y}
   8770 then :
   8771   printf %s "(cached) " >&6
   8772 else case e in #(
   8773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8774 /* end confdefs.h.  */
   8775 int i;
   8776 int
   8777 main (void)
   8778 {
   8779 
   8780   ;
   8781   return 0;
   8782 }
   8783 _ACEOF
   8784 if ac_fn_c_try_link "$LINENO"
   8785 then :
   8786   eval $cacheid=yes
   8787 else case e in #(
   8788   e) eval $cacheid=no ;;
   8789 esac
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8792     conftest$ac_exeext conftest.$ac_ext ;;
   8793 esac
   8794 fi
   8795 
   8796 
   8797 		CFLAGS="$xorg_testset_save_CFLAGS"
   8798 
   8799 		eval supported=\$$cacheid
   8800 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8801 printf '%s\n' "$supported" >&6; }
   8802 		if test "$supported" = "yes" ; then
   8803 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8804 			found="yes"
   8805 		fi
   8806 	fi
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 xorg_testset_save_CFLAGS="$CFLAGS"
   8823 
   8824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8828 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8839 else case e in #(
   8840   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8847 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8849 	CFLAGS="$xorg_testset_save_CFLAGS"
   8850 fi
   8851 
   8852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8855 	fi
   8856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8857 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8859 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8860 then :
   8861   printf %s "(cached) " >&6
   8862 else case e in #(
   8863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8864 /* end confdefs.h.  */
   8865 int i;
   8866 _ACEOF
   8867 if ac_fn_c_try_compile "$LINENO"
   8868 then :
   8869   xorg_cv_cc_flag_unused_command_line_argument=yes
   8870 else case e in #(
   8871   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8872 esac
   8873 fi
   8874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8875 esac
   8876 fi
   8877 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8878 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8880 	CFLAGS="$xorg_testset_save_CFLAGS"
   8881 fi
   8882 
   8883 found="no"
   8884 
   8885 	if test $found = "no" ; then
   8886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 		fi
   8889 
   8890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8892 		fi
   8893 
   8894 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8895 
   8896 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8897 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8898 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8899 		if eval test \${$cacheid+y}
   8900 then :
   8901   printf %s "(cached) " >&6
   8902 else case e in #(
   8903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8904 /* end confdefs.h.  */
   8905 int i;
   8906 int
   8907 main (void)
   8908 {
   8909 
   8910   ;
   8911   return 0;
   8912 }
   8913 _ACEOF
   8914 if ac_fn_c_try_link "$LINENO"
   8915 then :
   8916   eval $cacheid=yes
   8917 else case e in #(
   8918   e) eval $cacheid=no ;;
   8919 esac
   8920 fi
   8921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8922     conftest$ac_exeext conftest.$ac_ext ;;
   8923 esac
   8924 fi
   8925 
   8926 
   8927 		CFLAGS="$xorg_testset_save_CFLAGS"
   8928 
   8929 		eval supported=\$$cacheid
   8930 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8931 printf '%s\n' "$supported" >&6; }
   8932 		if test "$supported" = "yes" ; then
   8933 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8934 			found="yes"
   8935 		fi
   8936 	fi
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 xorg_testset_save_CFLAGS="$CFLAGS"
   8953 
   8954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8958 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   8969 else case e in #(
   8970   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8977 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8979 	CFLAGS="$xorg_testset_save_CFLAGS"
   8980 fi
   8981 
   8982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8985 	fi
   8986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8987 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8990 then :
   8991   printf %s "(cached) " >&6
   8992 else case e in #(
   8993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8994 /* end confdefs.h.  */
   8995 int i;
   8996 _ACEOF
   8997 if ac_fn_c_try_compile "$LINENO"
   8998 then :
   8999   xorg_cv_cc_flag_unused_command_line_argument=yes
   9000 else case e in #(
   9001   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9002 esac
   9003 fi
   9004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9005 esac
   9006 fi
   9007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9008 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9010 	CFLAGS="$xorg_testset_save_CFLAGS"
   9011 fi
   9012 
   9013 found="no"
   9014 
   9015 	if test $found = "no" ; then
   9016 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9018 		fi
   9019 
   9020 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9022 		fi
   9023 
   9024 		CFLAGS="$CFLAGS -Werror=array-bounds"
   9025 
   9026 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   9027 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   9028 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   9029 		if eval test \${$cacheid+y}
   9030 then :
   9031   printf %s "(cached) " >&6
   9032 else case e in #(
   9033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9034 /* end confdefs.h.  */
   9035 int i;
   9036 int
   9037 main (void)
   9038 {
   9039 
   9040   ;
   9041   return 0;
   9042 }
   9043 _ACEOF
   9044 if ac_fn_c_try_link "$LINENO"
   9045 then :
   9046   eval $cacheid=yes
   9047 else case e in #(
   9048   e) eval $cacheid=no ;;
   9049 esac
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9052     conftest$ac_exeext conftest.$ac_ext ;;
   9053 esac
   9054 fi
   9055 
   9056 
   9057 		CFLAGS="$xorg_testset_save_CFLAGS"
   9058 
   9059 		eval supported=\$$cacheid
   9060 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9061 printf '%s\n' "$supported" >&6; }
   9062 		if test "$supported" = "yes" ; then
   9063 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   9064 			found="yes"
   9065 		fi
   9066 	fi
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 xorg_testset_save_CFLAGS="$CFLAGS"
   9083 
   9084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9088 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9099 else case e in #(
   9100   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9107 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9109 	CFLAGS="$xorg_testset_save_CFLAGS"
   9110 fi
   9111 
   9112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9115 	fi
   9116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9117 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9120 then :
   9121   printf %s "(cached) " >&6
   9122 else case e in #(
   9123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9124 /* end confdefs.h.  */
   9125 int i;
   9126 _ACEOF
   9127 if ac_fn_c_try_compile "$LINENO"
   9128 then :
   9129   xorg_cv_cc_flag_unused_command_line_argument=yes
   9130 else case e in #(
   9131   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9132 esac
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9135 esac
   9136 fi
   9137 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9138 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 found="no"
   9144 
   9145 	if test $found = "no" ; then
   9146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9148 		fi
   9149 
   9150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9152 		fi
   9153 
   9154 		CFLAGS="$CFLAGS -Werror=write-strings"
   9155 
   9156 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   9157 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   9158 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   9159 		if eval test \${$cacheid+y}
   9160 then :
   9161   printf %s "(cached) " >&6
   9162 else case e in #(
   9163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9164 /* end confdefs.h.  */
   9165 int i;
   9166 int
   9167 main (void)
   9168 {
   9169 
   9170   ;
   9171   return 0;
   9172 }
   9173 _ACEOF
   9174 if ac_fn_c_try_link "$LINENO"
   9175 then :
   9176   eval $cacheid=yes
   9177 else case e in #(
   9178   e) eval $cacheid=no ;;
   9179 esac
   9180 fi
   9181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9182     conftest$ac_exeext conftest.$ac_ext ;;
   9183 esac
   9184 fi
   9185 
   9186 
   9187 		CFLAGS="$xorg_testset_save_CFLAGS"
   9188 
   9189 		eval supported=\$$cacheid
   9190 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9191 printf '%s\n' "$supported" >&6; }
   9192 		if test "$supported" = "yes" ; then
   9193 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   9194 			found="yes"
   9195 		fi
   9196 	fi
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 xorg_testset_save_CFLAGS="$CFLAGS"
   9213 
   9214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9217 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9218 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9229 else case e in #(
   9230   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9237 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9245 	fi
   9246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9247 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9250 then :
   9251   printf %s "(cached) " >&6
   9252 else case e in #(
   9253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 _ACEOF
   9257 if ac_fn_c_try_compile "$LINENO"
   9258 then :
   9259   xorg_cv_cc_flag_unused_command_line_argument=yes
   9260 else case e in #(
   9261   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9262 esac
   9263 fi
   9264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9265 esac
   9266 fi
   9267 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9268 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9270 	CFLAGS="$xorg_testset_save_CFLAGS"
   9271 fi
   9272 
   9273 found="no"
   9274 
   9275 	if test $found = "no" ; then
   9276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9278 		fi
   9279 
   9280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9282 		fi
   9283 
   9284 		CFLAGS="$CFLAGS -Werror=address"
   9285 
   9286 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9287 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9288 		cacheid=xorg_cv_cc_flag__Werror_address
   9289 		if eval test \${$cacheid+y}
   9290 then :
   9291   printf %s "(cached) " >&6
   9292 else case e in #(
   9293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9294 /* end confdefs.h.  */
   9295 int i;
   9296 int
   9297 main (void)
   9298 {
   9299 
   9300   ;
   9301   return 0;
   9302 }
   9303 _ACEOF
   9304 if ac_fn_c_try_link "$LINENO"
   9305 then :
   9306   eval $cacheid=yes
   9307 else case e in #(
   9308   e) eval $cacheid=no ;;
   9309 esac
   9310 fi
   9311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9312     conftest$ac_exeext conftest.$ac_ext ;;
   9313 esac
   9314 fi
   9315 
   9316 
   9317 		CFLAGS="$xorg_testset_save_CFLAGS"
   9318 
   9319 		eval supported=\$$cacheid
   9320 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9321 printf '%s\n' "$supported" >&6; }
   9322 		if test "$supported" = "yes" ; then
   9323 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9324 			found="yes"
   9325 		fi
   9326 	fi
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 xorg_testset_save_CFLAGS="$CFLAGS"
   9343 
   9344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9346 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9348 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9359 else case e in #(
   9360   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9367 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9368 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9369 	CFLAGS="$xorg_testset_save_CFLAGS"
   9370 fi
   9371 
   9372 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9373 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9374 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9375 	fi
   9376 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9377 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9378 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9379 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9380 then :
   9381   printf %s "(cached) " >&6
   9382 else case e in #(
   9383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9384 /* end confdefs.h.  */
   9385 int i;
   9386 _ACEOF
   9387 if ac_fn_c_try_compile "$LINENO"
   9388 then :
   9389   xorg_cv_cc_flag_unused_command_line_argument=yes
   9390 else case e in #(
   9391   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9392 esac
   9393 fi
   9394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9395 esac
   9396 fi
   9397 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9398 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9400 	CFLAGS="$xorg_testset_save_CFLAGS"
   9401 fi
   9402 
   9403 found="no"
   9404 
   9405 	if test $found = "no" ; then
   9406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 		fi
   9409 
   9410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9412 		fi
   9413 
   9414 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9415 
   9416 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9417 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9418 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9419 		if eval test \${$cacheid+y}
   9420 then :
   9421   printf %s "(cached) " >&6
   9422 else case e in #(
   9423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 int
   9427 main (void)
   9428 {
   9429 
   9430   ;
   9431   return 0;
   9432 }
   9433 _ACEOF
   9434 if ac_fn_c_try_link "$LINENO"
   9435 then :
   9436   eval $cacheid=yes
   9437 else case e in #(
   9438   e) eval $cacheid=no ;;
   9439 esac
   9440 fi
   9441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9442     conftest$ac_exeext conftest.$ac_ext ;;
   9443 esac
   9444 fi
   9445 
   9446 
   9447 		CFLAGS="$xorg_testset_save_CFLAGS"
   9448 
   9449 		eval supported=\$$cacheid
   9450 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9451 printf '%s\n' "$supported" >&6; }
   9452 		if test "$supported" = "yes" ; then
   9453 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9454 			found="yes"
   9455 		fi
   9456 	fi
   9457 
   9458 	if test $found = "no" ; then
   9459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9461 		fi
   9462 
   9463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9465 		fi
   9466 
   9467 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9468 
   9469 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9470 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9471 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9472 		if eval test \${$cacheid+y}
   9473 then :
   9474   printf %s "(cached) " >&6
   9475 else case e in #(
   9476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 int
   9480 main (void)
   9481 {
   9482 
   9483   ;
   9484   return 0;
   9485 }
   9486 _ACEOF
   9487 if ac_fn_c_try_link "$LINENO"
   9488 then :
   9489   eval $cacheid=yes
   9490 else case e in #(
   9491   e) eval $cacheid=no ;;
   9492 esac
   9493 fi
   9494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9495     conftest$ac_exeext conftest.$ac_ext ;;
   9496 esac
   9497 fi
   9498 
   9499 
   9500 		CFLAGS="$xorg_testset_save_CFLAGS"
   9501 
   9502 		eval supported=\$$cacheid
   9503 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9504 printf '%s\n' "$supported" >&6; }
   9505 		if test "$supported" = "yes" ; then
   9506 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9507 			found="yes"
   9508 		fi
   9509 	fi
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 xorg_testset_save_CFLAGS="$CFLAGS"
   9526 
   9527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9531 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9542 else case e in #(
   9543   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9550 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9552 	CFLAGS="$xorg_testset_save_CFLAGS"
   9553 fi
   9554 
   9555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 	fi
   9559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9560 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9563 then :
   9564   printf %s "(cached) " >&6
   9565 else case e in #(
   9566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"
   9571 then :
   9572   xorg_cv_cc_flag_unused_command_line_argument=yes
   9573 else case e in #(
   9574   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9575 esac
   9576 fi
   9577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9578 esac
   9579 fi
   9580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9581 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9583 	CFLAGS="$xorg_testset_save_CFLAGS"
   9584 fi
   9585 
   9586 found="no"
   9587 
   9588 	if test $found = "no" ; then
   9589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9591 		fi
   9592 
   9593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9595 		fi
   9596 
   9597 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9598 
   9599 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9600 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9601 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9602 		if eval test \${$cacheid+y}
   9603 then :
   9604   printf %s "(cached) " >&6
   9605 else case e in #(
   9606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int i;
   9609 int
   9610 main (void)
   9611 {
   9612 
   9613   ;
   9614   return 0;
   9615 }
   9616 _ACEOF
   9617 if ac_fn_c_try_link "$LINENO"
   9618 then :
   9619   eval $cacheid=yes
   9620 else case e in #(
   9621   e) eval $cacheid=no ;;
   9622 esac
   9623 fi
   9624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9625     conftest$ac_exeext conftest.$ac_ext ;;
   9626 esac
   9627 fi
   9628 
   9629 
   9630 		CFLAGS="$xorg_testset_save_CFLAGS"
   9631 
   9632 		eval supported=\$$cacheid
   9633 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9634 printf '%s\n' "$supported" >&6; }
   9635 		if test "$supported" = "yes" ; then
   9636 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9637 			found="yes"
   9638 		fi
   9639 	fi
   9640 
   9641  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9642 else
   9643 { 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
   9644 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;}
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 xorg_testset_save_CFLAGS="$CFLAGS"
   9659 
   9660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9662 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9664 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9675 else case e in #(
   9676   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9683 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9685 	CFLAGS="$xorg_testset_save_CFLAGS"
   9686 fi
   9687 
   9688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9691 	fi
   9692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9693 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9696 then :
   9697   printf %s "(cached) " >&6
   9698 else case e in #(
   9699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9700 /* end confdefs.h.  */
   9701 int i;
   9702 _ACEOF
   9703 if ac_fn_c_try_compile "$LINENO"
   9704 then :
   9705   xorg_cv_cc_flag_unused_command_line_argument=yes
   9706 else case e in #(
   9707   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9708 esac
   9709 fi
   9710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9711 esac
   9712 fi
   9713 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9714 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9716 	CFLAGS="$xorg_testset_save_CFLAGS"
   9717 fi
   9718 
   9719 found="no"
   9720 
   9721 	if test $found = "no" ; then
   9722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9724 		fi
   9725 
   9726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9728 		fi
   9729 
   9730 		CFLAGS="$CFLAGS -Wimplicit"
   9731 
   9732 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9733 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9734 		cacheid=xorg_cv_cc_flag__Wimplicit
   9735 		if eval test \${$cacheid+y}
   9736 then :
   9737   printf %s "(cached) " >&6
   9738 else case e in #(
   9739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 int
   9743 main (void)
   9744 {
   9745 
   9746   ;
   9747   return 0;
   9748 }
   9749 _ACEOF
   9750 if ac_fn_c_try_link "$LINENO"
   9751 then :
   9752   eval $cacheid=yes
   9753 else case e in #(
   9754   e) eval $cacheid=no ;;
   9755 esac
   9756 fi
   9757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9758     conftest$ac_exeext conftest.$ac_ext ;;
   9759 esac
   9760 fi
   9761 
   9762 
   9763 		CFLAGS="$xorg_testset_save_CFLAGS"
   9764 
   9765 		eval supported=\$$cacheid
   9766 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9767 printf '%s\n' "$supported" >&6; }
   9768 		if test "$supported" = "yes" ; then
   9769 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9770 			found="yes"
   9771 		fi
   9772 	fi
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 xorg_testset_save_CFLAGS="$CFLAGS"
   9789 
   9790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9792 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9794 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9805 else case e in #(
   9806   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9813 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9815 	CFLAGS="$xorg_testset_save_CFLAGS"
   9816 fi
   9817 
   9818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9821 	fi
   9822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9823 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9826 then :
   9827   printf %s "(cached) " >&6
   9828 else case e in #(
   9829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9830 /* end confdefs.h.  */
   9831 int i;
   9832 _ACEOF
   9833 if ac_fn_c_try_compile "$LINENO"
   9834 then :
   9835   xorg_cv_cc_flag_unused_command_line_argument=yes
   9836 else case e in #(
   9837   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9838 esac
   9839 fi
   9840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9841 esac
   9842 fi
   9843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9844 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9846 	CFLAGS="$xorg_testset_save_CFLAGS"
   9847 fi
   9848 
   9849 found="no"
   9850 
   9851 	if test $found = "no" ; then
   9852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9854 		fi
   9855 
   9856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9858 		fi
   9859 
   9860 		CFLAGS="$CFLAGS -Wnonnull"
   9861 
   9862 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9863 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9864 		cacheid=xorg_cv_cc_flag__Wnonnull
   9865 		if eval test \${$cacheid+y}
   9866 then :
   9867   printf %s "(cached) " >&6
   9868 else case e in #(
   9869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9870 /* end confdefs.h.  */
   9871 int i;
   9872 int
   9873 main (void)
   9874 {
   9875 
   9876   ;
   9877   return 0;
   9878 }
   9879 _ACEOF
   9880 if ac_fn_c_try_link "$LINENO"
   9881 then :
   9882   eval $cacheid=yes
   9883 else case e in #(
   9884   e) eval $cacheid=no ;;
   9885 esac
   9886 fi
   9887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9888     conftest$ac_exeext conftest.$ac_ext ;;
   9889 esac
   9890 fi
   9891 
   9892 
   9893 		CFLAGS="$xorg_testset_save_CFLAGS"
   9894 
   9895 		eval supported=\$$cacheid
   9896 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9897 printf '%s\n' "$supported" >&6; }
   9898 		if test "$supported" = "yes" ; then
   9899 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9900 			found="yes"
   9901 		fi
   9902 	fi
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 xorg_testset_save_CFLAGS="$CFLAGS"
   9919 
   9920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9922 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9924 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   9935 else case e in #(
   9936   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   9943 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9945 	CFLAGS="$xorg_testset_save_CFLAGS"
   9946 fi
   9947 
   9948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9951 	fi
   9952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9953 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9956 then :
   9957   printf %s "(cached) " >&6
   9958 else case e in #(
   9959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9960 /* end confdefs.h.  */
   9961 int i;
   9962 _ACEOF
   9963 if ac_fn_c_try_compile "$LINENO"
   9964 then :
   9965   xorg_cv_cc_flag_unused_command_line_argument=yes
   9966 else case e in #(
   9967   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9968 esac
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9971 esac
   9972 fi
   9973 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9974 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9976 	CFLAGS="$xorg_testset_save_CFLAGS"
   9977 fi
   9978 
   9979 found="no"
   9980 
   9981 	if test $found = "no" ; then
   9982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9984 		fi
   9985 
   9986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9988 		fi
   9989 
   9990 		CFLAGS="$CFLAGS -Winit-self"
   9991 
   9992 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9993 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9994 		cacheid=xorg_cv_cc_flag__Winit_self
   9995 		if eval test \${$cacheid+y}
   9996 then :
   9997   printf %s "(cached) " >&6
   9998 else case e in #(
   9999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10000 /* end confdefs.h.  */
   10001 int i;
   10002 int
   10003 main (void)
   10004 {
   10005 
   10006   ;
   10007   return 0;
   10008 }
   10009 _ACEOF
   10010 if ac_fn_c_try_link "$LINENO"
   10011 then :
   10012   eval $cacheid=yes
   10013 else case e in #(
   10014   e) eval $cacheid=no ;;
   10015 esac
   10016 fi
   10017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10018     conftest$ac_exeext conftest.$ac_ext ;;
   10019 esac
   10020 fi
   10021 
   10022 
   10023 		CFLAGS="$xorg_testset_save_CFLAGS"
   10024 
   10025 		eval supported=\$$cacheid
   10026 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10027 printf '%s\n' "$supported" >&6; }
   10028 		if test "$supported" = "yes" ; then
   10029 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   10030 			found="yes"
   10031 		fi
   10032 	fi
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 xorg_testset_save_CFLAGS="$CFLAGS"
   10049 
   10050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10053 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10054 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10065 else case e in #(
   10066   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10073 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10081 	fi
   10082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10086 then :
   10087   printf %s "(cached) " >&6
   10088 else case e in #(
   10089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10090 /* end confdefs.h.  */
   10091 int i;
   10092 _ACEOF
   10093 if ac_fn_c_try_compile "$LINENO"
   10094 then :
   10095   xorg_cv_cc_flag_unused_command_line_argument=yes
   10096 else case e in #(
   10097   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10098 esac
   10099 fi
   10100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10101 esac
   10102 fi
   10103 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10104 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10106 	CFLAGS="$xorg_testset_save_CFLAGS"
   10107 fi
   10108 
   10109 found="no"
   10110 
   10111 	if test $found = "no" ; then
   10112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10114 		fi
   10115 
   10116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10118 		fi
   10119 
   10120 		CFLAGS="$CFLAGS -Wmain"
   10121 
   10122 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   10123 printf %s "checking if $CC supports -Wmain... " >&6; }
   10124 		cacheid=xorg_cv_cc_flag__Wmain
   10125 		if eval test \${$cacheid+y}
   10126 then :
   10127   printf %s "(cached) " >&6
   10128 else case e in #(
   10129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10130 /* end confdefs.h.  */
   10131 int i;
   10132 int
   10133 main (void)
   10134 {
   10135 
   10136   ;
   10137   return 0;
   10138 }
   10139 _ACEOF
   10140 if ac_fn_c_try_link "$LINENO"
   10141 then :
   10142   eval $cacheid=yes
   10143 else case e in #(
   10144   e) eval $cacheid=no ;;
   10145 esac
   10146 fi
   10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10148     conftest$ac_exeext conftest.$ac_ext ;;
   10149 esac
   10150 fi
   10151 
   10152 
   10153 		CFLAGS="$xorg_testset_save_CFLAGS"
   10154 
   10155 		eval supported=\$$cacheid
   10156 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10157 printf '%s\n' "$supported" >&6; }
   10158 		if test "$supported" = "yes" ; then
   10159 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   10160 			found="yes"
   10161 		fi
   10162 	fi
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 xorg_testset_save_CFLAGS="$CFLAGS"
   10179 
   10180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10184 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10195 else case e in #(
   10196   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10203 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10205 	CFLAGS="$xorg_testset_save_CFLAGS"
   10206 fi
   10207 
   10208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10211 	fi
   10212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10213 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10216 then :
   10217   printf %s "(cached) " >&6
   10218 else case e in #(
   10219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10220 /* end confdefs.h.  */
   10221 int i;
   10222 _ACEOF
   10223 if ac_fn_c_try_compile "$LINENO"
   10224 then :
   10225   xorg_cv_cc_flag_unused_command_line_argument=yes
   10226 else case e in #(
   10227   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10228 esac
   10229 fi
   10230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10231 esac
   10232 fi
   10233 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10234 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10236 	CFLAGS="$xorg_testset_save_CFLAGS"
   10237 fi
   10238 
   10239 found="no"
   10240 
   10241 	if test $found = "no" ; then
   10242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10244 		fi
   10245 
   10246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 		fi
   10249 
   10250 		CFLAGS="$CFLAGS -Wmissing-braces"
   10251 
   10252 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10253 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10254 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10255 		if eval test \${$cacheid+y}
   10256 then :
   10257   printf %s "(cached) " >&6
   10258 else case e in #(
   10259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10260 /* end confdefs.h.  */
   10261 int i;
   10262 int
   10263 main (void)
   10264 {
   10265 
   10266   ;
   10267   return 0;
   10268 }
   10269 _ACEOF
   10270 if ac_fn_c_try_link "$LINENO"
   10271 then :
   10272   eval $cacheid=yes
   10273 else case e in #(
   10274   e) eval $cacheid=no ;;
   10275 esac
   10276 fi
   10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10278     conftest$ac_exeext conftest.$ac_ext ;;
   10279 esac
   10280 fi
   10281 
   10282 
   10283 		CFLAGS="$xorg_testset_save_CFLAGS"
   10284 
   10285 		eval supported=\$$cacheid
   10286 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10287 printf '%s\n' "$supported" >&6; }
   10288 		if test "$supported" = "yes" ; then
   10289 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10290 			found="yes"
   10291 		fi
   10292 	fi
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 xorg_testset_save_CFLAGS="$CFLAGS"
   10309 
   10310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10314 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10325 else case e in #(
   10326   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10333 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10335 	CFLAGS="$xorg_testset_save_CFLAGS"
   10336 fi
   10337 
   10338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10341 	fi
   10342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10343 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10346 then :
   10347   printf %s "(cached) " >&6
   10348 else case e in #(
   10349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10350 /* end confdefs.h.  */
   10351 int i;
   10352 _ACEOF
   10353 if ac_fn_c_try_compile "$LINENO"
   10354 then :
   10355   xorg_cv_cc_flag_unused_command_line_argument=yes
   10356 else case e in #(
   10357   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10358 esac
   10359 fi
   10360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10361 esac
   10362 fi
   10363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10364 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10366 	CFLAGS="$xorg_testset_save_CFLAGS"
   10367 fi
   10368 
   10369 found="no"
   10370 
   10371 	if test $found = "no" ; then
   10372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10374 		fi
   10375 
   10376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10378 		fi
   10379 
   10380 		CFLAGS="$CFLAGS -Wsequence-point"
   10381 
   10382 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10383 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10384 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10385 		if eval test \${$cacheid+y}
   10386 then :
   10387   printf %s "(cached) " >&6
   10388 else case e in #(
   10389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 int
   10393 main (void)
   10394 {
   10395 
   10396   ;
   10397   return 0;
   10398 }
   10399 _ACEOF
   10400 if ac_fn_c_try_link "$LINENO"
   10401 then :
   10402   eval $cacheid=yes
   10403 else case e in #(
   10404   e) eval $cacheid=no ;;
   10405 esac
   10406 fi
   10407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10408     conftest$ac_exeext conftest.$ac_ext ;;
   10409 esac
   10410 fi
   10411 
   10412 
   10413 		CFLAGS="$xorg_testset_save_CFLAGS"
   10414 
   10415 		eval supported=\$$cacheid
   10416 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10417 printf '%s\n' "$supported" >&6; }
   10418 		if test "$supported" = "yes" ; then
   10419 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10420 			found="yes"
   10421 		fi
   10422 	fi
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 xorg_testset_save_CFLAGS="$CFLAGS"
   10439 
   10440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10443 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10444 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10455 else case e in #(
   10456   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10463 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10465 	CFLAGS="$xorg_testset_save_CFLAGS"
   10466 fi
   10467 
   10468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 	fi
   10472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10473 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10474 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10475 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10476 then :
   10477   printf %s "(cached) " >&6
   10478 else case e in #(
   10479   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10480 /* end confdefs.h.  */
   10481 int i;
   10482 _ACEOF
   10483 if ac_fn_c_try_compile "$LINENO"
   10484 then :
   10485   xorg_cv_cc_flag_unused_command_line_argument=yes
   10486 else case e in #(
   10487   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10488 esac
   10489 fi
   10490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10491 esac
   10492 fi
   10493 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10494 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10496 	CFLAGS="$xorg_testset_save_CFLAGS"
   10497 fi
   10498 
   10499 found="no"
   10500 
   10501 	if test $found = "no" ; then
   10502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10504 		fi
   10505 
   10506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10508 		fi
   10509 
   10510 		CFLAGS="$CFLAGS -Wreturn-type"
   10511 
   10512 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10513 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10514 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10515 		if eval test \${$cacheid+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else case e in #(
   10519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10520 /* end confdefs.h.  */
   10521 int i;
   10522 int
   10523 main (void)
   10524 {
   10525 
   10526   ;
   10527   return 0;
   10528 }
   10529 _ACEOF
   10530 if ac_fn_c_try_link "$LINENO"
   10531 then :
   10532   eval $cacheid=yes
   10533 else case e in #(
   10534   e) eval $cacheid=no ;;
   10535 esac
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10538     conftest$ac_exeext conftest.$ac_ext ;;
   10539 esac
   10540 fi
   10541 
   10542 
   10543 		CFLAGS="$xorg_testset_save_CFLAGS"
   10544 
   10545 		eval supported=\$$cacheid
   10546 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10547 printf '%s\n' "$supported" >&6; }
   10548 		if test "$supported" = "yes" ; then
   10549 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10550 			found="yes"
   10551 		fi
   10552 	fi
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 xorg_testset_save_CFLAGS="$CFLAGS"
   10569 
   10570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10572 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10573 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10574 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10585 else case e in #(
   10586   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10593 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10595 	CFLAGS="$xorg_testset_save_CFLAGS"
   10596 fi
   10597 
   10598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10601 	fi
   10602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10603 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10604 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10605 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10606 then :
   10607   printf %s "(cached) " >&6
   10608 else case e in #(
   10609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10610 /* end confdefs.h.  */
   10611 int i;
   10612 _ACEOF
   10613 if ac_fn_c_try_compile "$LINENO"
   10614 then :
   10615   xorg_cv_cc_flag_unused_command_line_argument=yes
   10616 else case e in #(
   10617   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10618 esac
   10619 fi
   10620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10621 esac
   10622 fi
   10623 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10624 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10626 	CFLAGS="$xorg_testset_save_CFLAGS"
   10627 fi
   10628 
   10629 found="no"
   10630 
   10631 	if test $found = "no" ; then
   10632 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10634 		fi
   10635 
   10636 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10638 		fi
   10639 
   10640 		CFLAGS="$CFLAGS -Wtrigraphs"
   10641 
   10642 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10643 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10644 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10645 		if eval test \${$cacheid+y}
   10646 then :
   10647   printf %s "(cached) " >&6
   10648 else case e in #(
   10649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10650 /* end confdefs.h.  */
   10651 int i;
   10652 int
   10653 main (void)
   10654 {
   10655 
   10656   ;
   10657   return 0;
   10658 }
   10659 _ACEOF
   10660 if ac_fn_c_try_link "$LINENO"
   10661 then :
   10662   eval $cacheid=yes
   10663 else case e in #(
   10664   e) eval $cacheid=no ;;
   10665 esac
   10666 fi
   10667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10668     conftest$ac_exeext conftest.$ac_ext ;;
   10669 esac
   10670 fi
   10671 
   10672 
   10673 		CFLAGS="$xorg_testset_save_CFLAGS"
   10674 
   10675 		eval supported=\$$cacheid
   10676 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10677 printf '%s\n' "$supported" >&6; }
   10678 		if test "$supported" = "yes" ; then
   10679 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10680 			found="yes"
   10681 		fi
   10682 	fi
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 xorg_testset_save_CFLAGS="$CFLAGS"
   10699 
   10700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10703 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10704 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10715 else case e in #(
   10716   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10723 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10725 	CFLAGS="$xorg_testset_save_CFLAGS"
   10726 fi
   10727 
   10728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10731 	fi
   10732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10733 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10734 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10735 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10736 then :
   10737   printf %s "(cached) " >&6
   10738 else case e in #(
   10739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10740 /* end confdefs.h.  */
   10741 int i;
   10742 _ACEOF
   10743 if ac_fn_c_try_compile "$LINENO"
   10744 then :
   10745   xorg_cv_cc_flag_unused_command_line_argument=yes
   10746 else case e in #(
   10747   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10748 esac
   10749 fi
   10750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10751 esac
   10752 fi
   10753 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10754 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10756 	CFLAGS="$xorg_testset_save_CFLAGS"
   10757 fi
   10758 
   10759 found="no"
   10760 
   10761 	if test $found = "no" ; then
   10762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10764 		fi
   10765 
   10766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10768 		fi
   10769 
   10770 		CFLAGS="$CFLAGS -Warray-bounds"
   10771 
   10772 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10773 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10774 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10775 		if eval test \${$cacheid+y}
   10776 then :
   10777   printf %s "(cached) " >&6
   10778 else case e in #(
   10779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10780 /* end confdefs.h.  */
   10781 int i;
   10782 int
   10783 main (void)
   10784 {
   10785 
   10786   ;
   10787   return 0;
   10788 }
   10789 _ACEOF
   10790 if ac_fn_c_try_link "$LINENO"
   10791 then :
   10792   eval $cacheid=yes
   10793 else case e in #(
   10794   e) eval $cacheid=no ;;
   10795 esac
   10796 fi
   10797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10798     conftest$ac_exeext conftest.$ac_ext ;;
   10799 esac
   10800 fi
   10801 
   10802 
   10803 		CFLAGS="$xorg_testset_save_CFLAGS"
   10804 
   10805 		eval supported=\$$cacheid
   10806 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10807 printf '%s\n' "$supported" >&6; }
   10808 		if test "$supported" = "yes" ; then
   10809 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10810 			found="yes"
   10811 		fi
   10812 	fi
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 xorg_testset_save_CFLAGS="$CFLAGS"
   10829 
   10830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10832 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10833 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10834 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10845 else case e in #(
   10846   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10853 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10855 	CFLAGS="$xorg_testset_save_CFLAGS"
   10856 fi
   10857 
   10858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10861 	fi
   10862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10863 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10864 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10865 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10866 then :
   10867   printf %s "(cached) " >&6
   10868 else case e in #(
   10869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10870 /* end confdefs.h.  */
   10871 int i;
   10872 _ACEOF
   10873 if ac_fn_c_try_compile "$LINENO"
   10874 then :
   10875   xorg_cv_cc_flag_unused_command_line_argument=yes
   10876 else case e in #(
   10877   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10878 esac
   10879 fi
   10880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10881 esac
   10882 fi
   10883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10884 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10885 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10886 	CFLAGS="$xorg_testset_save_CFLAGS"
   10887 fi
   10888 
   10889 found="no"
   10890 
   10891 	if test $found = "no" ; then
   10892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10894 		fi
   10895 
   10896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10898 		fi
   10899 
   10900 		CFLAGS="$CFLAGS -Wwrite-strings"
   10901 
   10902 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10903 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10904 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10905 		if eval test \${$cacheid+y}
   10906 then :
   10907   printf %s "(cached) " >&6
   10908 else case e in #(
   10909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10910 /* end confdefs.h.  */
   10911 int i;
   10912 int
   10913 main (void)
   10914 {
   10915 
   10916   ;
   10917   return 0;
   10918 }
   10919 _ACEOF
   10920 if ac_fn_c_try_link "$LINENO"
   10921 then :
   10922   eval $cacheid=yes
   10923 else case e in #(
   10924   e) eval $cacheid=no ;;
   10925 esac
   10926 fi
   10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10928     conftest$ac_exeext conftest.$ac_ext ;;
   10929 esac
   10930 fi
   10931 
   10932 
   10933 		CFLAGS="$xorg_testset_save_CFLAGS"
   10934 
   10935 		eval supported=\$$cacheid
   10936 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10937 printf '%s\n' "$supported" >&6; }
   10938 		if test "$supported" = "yes" ; then
   10939 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10940 			found="yes"
   10941 		fi
   10942 	fi
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 xorg_testset_save_CFLAGS="$CFLAGS"
   10959 
   10960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10962 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10964 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   10975 else case e in #(
   10976   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10983 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10985 	CFLAGS="$xorg_testset_save_CFLAGS"
   10986 fi
   10987 
   10988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10991 	fi
   10992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10993 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10994 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10995 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10996 then :
   10997   printf %s "(cached) " >&6
   10998 else case e in #(
   10999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11000 /* end confdefs.h.  */
   11001 int i;
   11002 _ACEOF
   11003 if ac_fn_c_try_compile "$LINENO"
   11004 then :
   11005   xorg_cv_cc_flag_unused_command_line_argument=yes
   11006 else case e in #(
   11007   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11008 esac
   11009 fi
   11010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11011 esac
   11012 fi
   11013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11014 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11016 	CFLAGS="$xorg_testset_save_CFLAGS"
   11017 fi
   11018 
   11019 found="no"
   11020 
   11021 	if test $found = "no" ; then
   11022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11024 		fi
   11025 
   11026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11028 		fi
   11029 
   11030 		CFLAGS="$CFLAGS -Waddress"
   11031 
   11032 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   11033 printf %s "checking if $CC supports -Waddress... " >&6; }
   11034 		cacheid=xorg_cv_cc_flag__Waddress
   11035 		if eval test \${$cacheid+y}
   11036 then :
   11037   printf %s "(cached) " >&6
   11038 else case e in #(
   11039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11040 /* end confdefs.h.  */
   11041 int i;
   11042 int
   11043 main (void)
   11044 {
   11045 
   11046   ;
   11047   return 0;
   11048 }
   11049 _ACEOF
   11050 if ac_fn_c_try_link "$LINENO"
   11051 then :
   11052   eval $cacheid=yes
   11053 else case e in #(
   11054   e) eval $cacheid=no ;;
   11055 esac
   11056 fi
   11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11058     conftest$ac_exeext conftest.$ac_ext ;;
   11059 esac
   11060 fi
   11061 
   11062 
   11063 		CFLAGS="$xorg_testset_save_CFLAGS"
   11064 
   11065 		eval supported=\$$cacheid
   11066 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11067 printf '%s\n' "$supported" >&6; }
   11068 		if test "$supported" = "yes" ; then
   11069 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   11070 			found="yes"
   11071 		fi
   11072 	fi
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 xorg_testset_save_CFLAGS="$CFLAGS"
   11089 
   11090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11092 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11094 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   11105 else case e in #(
   11106   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   11113 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11115 	CFLAGS="$xorg_testset_save_CFLAGS"
   11116 fi
   11117 
   11118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11121 	fi
   11122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11123 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11126 then :
   11127   printf %s "(cached) " >&6
   11128 else case e in #(
   11129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11130 /* end confdefs.h.  */
   11131 int i;
   11132 _ACEOF
   11133 if ac_fn_c_try_compile "$LINENO"
   11134 then :
   11135   xorg_cv_cc_flag_unused_command_line_argument=yes
   11136 else case e in #(
   11137   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11138 esac
   11139 fi
   11140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11141 esac
   11142 fi
   11143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11144 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11146 	CFLAGS="$xorg_testset_save_CFLAGS"
   11147 fi
   11148 
   11149 found="no"
   11150 
   11151 	if test $found = "no" ; then
   11152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11154 		fi
   11155 
   11156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11158 		fi
   11159 
   11160 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   11161 
   11162 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   11163 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   11164 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   11165 		if eval test \${$cacheid+y}
   11166 then :
   11167   printf %s "(cached) " >&6
   11168 else case e in #(
   11169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11170 /* end confdefs.h.  */
   11171 int i;
   11172 int
   11173 main (void)
   11174 {
   11175 
   11176   ;
   11177   return 0;
   11178 }
   11179 _ACEOF
   11180 if ac_fn_c_try_link "$LINENO"
   11181 then :
   11182   eval $cacheid=yes
   11183 else case e in #(
   11184   e) eval $cacheid=no ;;
   11185 esac
   11186 fi
   11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11188     conftest$ac_exeext conftest.$ac_ext ;;
   11189 esac
   11190 fi
   11191 
   11192 
   11193 		CFLAGS="$xorg_testset_save_CFLAGS"
   11194 
   11195 		eval supported=\$$cacheid
   11196 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11197 printf '%s\n' "$supported" >&6; }
   11198 		if test "$supported" = "yes" ; then
   11199 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   11200 			found="yes"
   11201 		fi
   11202 	fi
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 xorg_testset_save_CFLAGS="$CFLAGS"
   11219 
   11220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11222 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11224 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   11235 else case e in #(
   11236   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   11243 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11245 	CFLAGS="$xorg_testset_save_CFLAGS"
   11246 fi
   11247 
   11248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11251 	fi
   11252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11253 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11256 then :
   11257   printf %s "(cached) " >&6
   11258 else case e in #(
   11259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11260 /* end confdefs.h.  */
   11261 int i;
   11262 _ACEOF
   11263 if ac_fn_c_try_compile "$LINENO"
   11264 then :
   11265   xorg_cv_cc_flag_unused_command_line_argument=yes
   11266 else case e in #(
   11267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11268 esac
   11269 fi
   11270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11271 esac
   11272 fi
   11273 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11274 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11276 	CFLAGS="$xorg_testset_save_CFLAGS"
   11277 fi
   11278 
   11279 found="no"
   11280 
   11281 	if test $found = "no" ; then
   11282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11284 		fi
   11285 
   11286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11288 		fi
   11289 
   11290 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11291 
   11292 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11293 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11294 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11295 		if eval test \${$cacheid+y}
   11296 then :
   11297   printf %s "(cached) " >&6
   11298 else case e in #(
   11299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11300 /* end confdefs.h.  */
   11301 int i;
   11302 int
   11303 main (void)
   11304 {
   11305 
   11306   ;
   11307   return 0;
   11308 }
   11309 _ACEOF
   11310 if ac_fn_c_try_link "$LINENO"
   11311 then :
   11312   eval $cacheid=yes
   11313 else case e in #(
   11314   e) eval $cacheid=no ;;
   11315 esac
   11316 fi
   11317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11318     conftest$ac_exeext conftest.$ac_ext ;;
   11319 esac
   11320 fi
   11321 
   11322 
   11323 		CFLAGS="$xorg_testset_save_CFLAGS"
   11324 
   11325 		eval supported=\$$cacheid
   11326 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11327 printf '%s\n' "$supported" >&6; }
   11328 		if test "$supported" = "yes" ; then
   11329 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11330 			found="yes"
   11331 		fi
   11332 	fi
   11333 
   11334 
   11335 fi
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 		CWARNFLAGS="$BASE_CFLAGS"
   11344 		if  test "x$GCC" = xyes ; then
   11345 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11346 		fi
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 # Check whether --enable-strict-compilation was given.
   11356 if test ${enable_strict_compilation+y}
   11357 then :
   11358   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11359 else case e in #(
   11360   e) STRICT_COMPILE=no ;;
   11361 esac
   11362 fi
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 STRICT_CFLAGS=""
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 xorg_testset_save_CFLAGS="$CFLAGS"
   11384 
   11385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11387 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11388 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11389 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   11400 else case e in #(
   11401   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   11408 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11410 	CFLAGS="$xorg_testset_save_CFLAGS"
   11411 fi
   11412 
   11413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11416 	fi
   11417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11418 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11421 then :
   11422   printf %s "(cached) " >&6
   11423 else case e in #(
   11424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11425 /* end confdefs.h.  */
   11426 int i;
   11427 _ACEOF
   11428 if ac_fn_c_try_compile "$LINENO"
   11429 then :
   11430   xorg_cv_cc_flag_unused_command_line_argument=yes
   11431 else case e in #(
   11432   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11433 esac
   11434 fi
   11435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11436 esac
   11437 fi
   11438 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11439 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11441 	CFLAGS="$xorg_testset_save_CFLAGS"
   11442 fi
   11443 
   11444 found="no"
   11445 
   11446 	if test $found = "no" ; then
   11447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11449 		fi
   11450 
   11451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11453 		fi
   11454 
   11455 		CFLAGS="$CFLAGS -pedantic"
   11456 
   11457 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11458 printf %s "checking if $CC supports -pedantic... " >&6; }
   11459 		cacheid=xorg_cv_cc_flag__pedantic
   11460 		if eval test \${$cacheid+y}
   11461 then :
   11462   printf %s "(cached) " >&6
   11463 else case e in #(
   11464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11465 /* end confdefs.h.  */
   11466 int i;
   11467 int
   11468 main (void)
   11469 {
   11470 
   11471   ;
   11472   return 0;
   11473 }
   11474 _ACEOF
   11475 if ac_fn_c_try_link "$LINENO"
   11476 then :
   11477   eval $cacheid=yes
   11478 else case e in #(
   11479   e) eval $cacheid=no ;;
   11480 esac
   11481 fi
   11482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11483     conftest$ac_exeext conftest.$ac_ext ;;
   11484 esac
   11485 fi
   11486 
   11487 
   11488 		CFLAGS="$xorg_testset_save_CFLAGS"
   11489 
   11490 		eval supported=\$$cacheid
   11491 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11492 printf '%s\n' "$supported" >&6; }
   11493 		if test "$supported" = "yes" ; then
   11494 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11495 			found="yes"
   11496 		fi
   11497 	fi
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 xorg_testset_save_CFLAGS="$CFLAGS"
   11514 
   11515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11517 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11519 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   11530 else case e in #(
   11531   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   11538 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11540 	CFLAGS="$xorg_testset_save_CFLAGS"
   11541 fi
   11542 
   11543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11546 	fi
   11547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11548 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11551 then :
   11552   printf %s "(cached) " >&6
   11553 else case e in #(
   11554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11555 /* end confdefs.h.  */
   11556 int i;
   11557 _ACEOF
   11558 if ac_fn_c_try_compile "$LINENO"
   11559 then :
   11560   xorg_cv_cc_flag_unused_command_line_argument=yes
   11561 else case e in #(
   11562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11563 esac
   11564 fi
   11565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11566 esac
   11567 fi
   11568 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11569 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11571 	CFLAGS="$xorg_testset_save_CFLAGS"
   11572 fi
   11573 
   11574 found="no"
   11575 
   11576 	if test $found = "no" ; then
   11577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11579 		fi
   11580 
   11581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11583 		fi
   11584 
   11585 		CFLAGS="$CFLAGS -Werror"
   11586 
   11587 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11588 printf %s "checking if $CC supports -Werror... " >&6; }
   11589 		cacheid=xorg_cv_cc_flag__Werror
   11590 		if eval test \${$cacheid+y}
   11591 then :
   11592   printf %s "(cached) " >&6
   11593 else case e in #(
   11594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11595 /* end confdefs.h.  */
   11596 int i;
   11597 int
   11598 main (void)
   11599 {
   11600 
   11601   ;
   11602   return 0;
   11603 }
   11604 _ACEOF
   11605 if ac_fn_c_try_link "$LINENO"
   11606 then :
   11607   eval $cacheid=yes
   11608 else case e in #(
   11609   e) eval $cacheid=no ;;
   11610 esac
   11611 fi
   11612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11613     conftest$ac_exeext conftest.$ac_ext ;;
   11614 esac
   11615 fi
   11616 
   11617 
   11618 		CFLAGS="$xorg_testset_save_CFLAGS"
   11619 
   11620 		eval supported=\$$cacheid
   11621 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11622 printf '%s\n' "$supported" >&6; }
   11623 		if test "$supported" = "yes" ; then
   11624 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11625 			found="yes"
   11626 		fi
   11627 	fi
   11628 
   11629 	if test $found = "no" ; then
   11630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11632 		fi
   11633 
   11634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11636 		fi
   11637 
   11638 		CFLAGS="$CFLAGS -errwarn"
   11639 
   11640 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11641 printf %s "checking if $CC supports -errwarn... " >&6; }
   11642 		cacheid=xorg_cv_cc_flag__errwarn
   11643 		if eval test \${$cacheid+y}
   11644 then :
   11645   printf %s "(cached) " >&6
   11646 else case e in #(
   11647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11648 /* end confdefs.h.  */
   11649 int i;
   11650 int
   11651 main (void)
   11652 {
   11653 
   11654   ;
   11655   return 0;
   11656 }
   11657 _ACEOF
   11658 if ac_fn_c_try_link "$LINENO"
   11659 then :
   11660   eval $cacheid=yes
   11661 else case e in #(
   11662   e) eval $cacheid=no ;;
   11663 esac
   11664 fi
   11665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11666     conftest$ac_exeext conftest.$ac_ext ;;
   11667 esac
   11668 fi
   11669 
   11670 
   11671 		CFLAGS="$xorg_testset_save_CFLAGS"
   11672 
   11673 		eval supported=\$$cacheid
   11674 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11675 printf '%s\n' "$supported" >&6; }
   11676 		if test "$supported" = "yes" ; then
   11677 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11678 			found="yes"
   11679 		fi
   11680 	fi
   11681 
   11682 
   11683 
   11684 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11685 # activate it with -Werror, so we add it here explicitly.
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 xorg_testset_save_CFLAGS="$CFLAGS"
   11700 
   11701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11703 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11705 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   11716 else case e in #(
   11717   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   11724 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11726 	CFLAGS="$xorg_testset_save_CFLAGS"
   11727 fi
   11728 
   11729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11732 	fi
   11733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11734 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11737 then :
   11738   printf %s "(cached) " >&6
   11739 else case e in #(
   11740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11741 /* end confdefs.h.  */
   11742 int i;
   11743 _ACEOF
   11744 if ac_fn_c_try_compile "$LINENO"
   11745 then :
   11746   xorg_cv_cc_flag_unused_command_line_argument=yes
   11747 else case e in #(
   11748   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11749 esac
   11750 fi
   11751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11752 esac
   11753 fi
   11754 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11755 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11757 	CFLAGS="$xorg_testset_save_CFLAGS"
   11758 fi
   11759 
   11760 found="no"
   11761 
   11762 	if test $found = "no" ; then
   11763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11765 		fi
   11766 
   11767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11769 		fi
   11770 
   11771 		CFLAGS="$CFLAGS -Werror=attributes"
   11772 
   11773 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11774 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11775 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11776 		if eval test \${$cacheid+y}
   11777 then :
   11778   printf %s "(cached) " >&6
   11779 else case e in #(
   11780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11781 /* end confdefs.h.  */
   11782 int i;
   11783 int
   11784 main (void)
   11785 {
   11786 
   11787   ;
   11788   return 0;
   11789 }
   11790 _ACEOF
   11791 if ac_fn_c_try_link "$LINENO"
   11792 then :
   11793   eval $cacheid=yes
   11794 else case e in #(
   11795   e) eval $cacheid=no ;;
   11796 esac
   11797 fi
   11798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11799     conftest$ac_exeext conftest.$ac_ext ;;
   11800 esac
   11801 fi
   11802 
   11803 
   11804 		CFLAGS="$xorg_testset_save_CFLAGS"
   11805 
   11806 		eval supported=\$$cacheid
   11807 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11808 printf '%s\n' "$supported" >&6; }
   11809 		if test "$supported" = "yes" ; then
   11810 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11811 			found="yes"
   11812 		fi
   11813 	fi
   11814 
   11815 
   11816 
   11817 if test "x$STRICT_COMPILE" = "xyes"; then
   11818     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11819     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11820 fi
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 cat >>confdefs.h <<_ACEOF
   11830 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11831 _ACEOF
   11832 
   11833 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11834 	if test "x$PVM" = "x"; then
   11835 		PVM="0"
   11836 	fi
   11837 
   11838 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11839 
   11840 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11841 	if test "x$PVP" = "x"; then
   11842 		PVP="0"
   11843 	fi
   11844 
   11845 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11846 
   11847 
   11848 
   11849 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11850 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11851 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11852 touch \$(top_srcdir)/ChangeLog; \
   11853 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11854 
   11855 
   11856 
   11857 
   11858 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11859 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11860 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11861 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11862 touch \$(top_srcdir)/INSTALL; \
   11863 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 case $host_os in
   11871     solaris*)
   11872         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11873         # check for a man page file found in later versions that use
   11874         # traditional section numbers instead
   11875         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11876 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11877 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11878 then :
   11879   printf %s "(cached) " >&6
   11880 else case e in #(
   11881   e) test "$cross_compiling" = yes &&
   11882   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11883 if test -r "/usr/share/man/man7/attributes.7"; then
   11884   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11885 else
   11886   ac_cv_file__usr_share_man_man7_attributes_7=no
   11887 fi ;;
   11888 esac
   11889 fi
   11890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11891 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11892 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11893 then :
   11894   SYSV_MAN_SECTIONS=false
   11895 else case e in #(
   11896   e) SYSV_MAN_SECTIONS=true ;;
   11897 esac
   11898 fi
   11899 
   11900         ;;
   11901     *) SYSV_MAN_SECTIONS=false ;;
   11902 esac
   11903 
   11904 if test x$APP_MAN_SUFFIX = x    ; then
   11905     APP_MAN_SUFFIX=1
   11906 fi
   11907 if test x$APP_MAN_DIR = x    ; then
   11908     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11909 fi
   11910 
   11911 if test x$LIB_MAN_SUFFIX = x    ; then
   11912     LIB_MAN_SUFFIX=3
   11913 fi
   11914 if test x$LIB_MAN_DIR = x    ; then
   11915     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11916 fi
   11917 
   11918 if test x$FILE_MAN_SUFFIX = x    ; then
   11919     case $SYSV_MAN_SECTIONS in
   11920 	true)				FILE_MAN_SUFFIX=4  ;;
   11921 	*)				FILE_MAN_SUFFIX=5  ;;
   11922     esac
   11923 fi
   11924 if test x$FILE_MAN_DIR = x    ; then
   11925     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11926 fi
   11927 
   11928 if test x$MISC_MAN_SUFFIX = x    ; then
   11929     case $SYSV_MAN_SECTIONS in
   11930 	true)				MISC_MAN_SUFFIX=5  ;;
   11931 	*)				MISC_MAN_SUFFIX=7  ;;
   11932     esac
   11933 fi
   11934 if test x$MISC_MAN_DIR = x    ; then
   11935     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11936 fi
   11937 
   11938 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11939     case $SYSV_MAN_SECTIONS in
   11940 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11941 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11942     esac
   11943 fi
   11944 if test x$DRIVER_MAN_DIR = x    ; then
   11945     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11946 fi
   11947 
   11948 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11949     case $SYSV_MAN_SECTIONS in
   11950 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11951 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11952     esac
   11953 fi
   11954 if test x$ADMIN_MAN_DIR = x    ; then
   11955     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11956 fi
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 XORG_MAN_PAGE="X Version 11"
   11973 
   11974 MAN_SUBSTS="\
   11975 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11976 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11977 	-e 's|__xservername__|Xorg|g' \
   11978 	-e 's|__xconfigfile__|xorg.conf|g' \
   11979 	-e 's|__projectroot__|\$(prefix)|g' \
   11980 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11981 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11982 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11983 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11984 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11985 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11986 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11987 
   11988 
   11989 
   11990 
   11991 AM_DEFAULT_VERBOSITY=0
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11998 if test "x$ac_cv_func_mkstemp" = xyes
   11999 then :
   12000   printf '%s\n' "#define HAVE_MKSTEMP 1" >>confdefs.h
   12001 
   12002 fi
   12003 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   12004 if test "x$ac_cv_func_asprintf" = xyes
   12005 then :
   12006   printf '%s\n' "#define HAVE_ASPRINTF 1" >>confdefs.h
   12007 
   12008 fi
   12009 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   12010 if test "x$ac_cv_func_reallocarray" = xyes
   12011 then :
   12012   printf '%s\n' "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   12013 
   12014 fi
   12015 
   12016 
   12017 # Find MAXHOSTNAMELEN definition
   12018 # Common hidey holes:
   12019 #  BSD & Linux - <sys/param.h>
   12020 #  Solaris - <netdb.h>
   12021 
   12022 ac_fn_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   12023 if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = xyes
   12024 then :
   12025   FOUND_MAXHOSTNAMELEN=yes
   12026 fi
   12027 
   12028 if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
   12029 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
   12030 printf %s "checking for header that defines MAXHOSTNAMELEN... " >&6; }
   12031 
   12032 	FOUND_MAXHOSTNAMELEN='not found'
   12033 
   12034 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 #include <sys/param.h>
   12037 int
   12038 main (void)
   12039 {
   12040 int h = MAXHOSTNAMELEN;
   12041   ;
   12042   return 0;
   12043 }
   12044 _ACEOF
   12045 if ac_fn_c_try_compile "$LINENO"
   12046 then :
   12047   FOUND_MAXHOSTNAMELEN='sys/param.h'
   12048 
   12049 printf '%s\n' "#define NEED_SYS_PARAM_H 1" >>confdefs.h
   12050 
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12053 
   12054 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12055 /* end confdefs.h.  */
   12056 #include <netdb.h>
   12057 int
   12058 main (void)
   12059 {
   12060 int h = MAXHOSTNAMELEN;
   12061   ;
   12062   return 0;
   12063 }
   12064 _ACEOF
   12065 if ac_fn_c_try_compile "$LINENO"
   12066 then :
   12067   FOUND_MAXHOSTNAMELEN='netdb.h'
   12068 
   12069 printf '%s\n' "#define NEED_NETDB_H 1" >>confdefs.h
   12070 
   12071 fi
   12072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12073 
   12074 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
   12075 printf '%s\n' "$FOUND_MAXHOSTNAMELEN" >&6; }
   12076 fi
   12077 
   12078 # xrdb needs to know where to find cpp at runtime - previously set as CppCmd
   12079 # in Imake config files for each OS
   12080 
   12081 # Check whether --with-cpp was given.
   12082 if test ${with_cpp+y}
   12083 then :
   12084   withval=$with_cpp; { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for cpp" >&5
   12085 printf %s "checking for cpp... " >&6; }
   12086 	CPP_PATH=$withval
   12087 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: --with-cpp specified $CPP_PATH" >&5
   12088 printf '%s\n' "--with-cpp specified $CPP_PATH" >&6; }
   12089 else case e in #(
   12090   e) # Extract the first word of "cpp", so it can be a program name with args.
   12091 set dummy cpp; ac_word=$2
   12092 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12093 printf %s "checking for $ac_word... " >&6; }
   12094 if test ${ac_cv_path_CPP_PATH+y}
   12095 then :
   12096   printf %s "(cached) " >&6
   12097 else case e in #(
   12098   e) case $CPP_PATH in
   12099   [\\/]* | ?:[\\/]*)
   12100   ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
   12101   ;;
   12102   *)
   12103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12104 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   12105 for as_dir in $as_dummy
   12106 do
   12107   IFS=$as_save_IFS
   12108   case $as_dir in #(((
   12109     '') as_dir=./ ;;
   12110     */) ;;
   12111     *) as_dir=$as_dir/ ;;
   12112   esac
   12113     for ac_exec_ext in '' $ac_executable_extensions; do
   12114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12115     ac_cv_path_CPP_PATH="$as_dir$ac_word$ac_exec_ext"
   12116     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12117     break 2
   12118   fi
   12119 done
   12120   done
   12121 IFS=$as_save_IFS
   12122 
   12123   test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="cpp"
   12124   ;;
   12125 esac ;;
   12126 esac
   12127 fi
   12128 CPP_PATH=$ac_cv_path_CPP_PATH
   12129 if test -n "$CPP_PATH"; then
   12130   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&5
   12131 printf '%s\n' "$CPP_PATH" >&6; }
   12132 else
   12133   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12134 printf '%s\n' "no" >&6; }
   12135 fi
   12136 
   12137  ;;
   12138 esac
   12139 fi
   12140 
   12141 CPP_PATH=`echo ${CPP_PATH} | sed 's/,/\\",\\"/g'`
   12142 
   12143 printf '%s\n' "#define CPP \"$CPP_PATH\"" >>confdefs.h
   12144 
   12145 
   12146 # Checks for pkg-config packages
   12147 
   12148 pkg_failed=no
   12149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XRDB" >&5
   12150 printf %s "checking for XRDB... " >&6; }
   12151 
   12152 if test -n "$XRDB_CFLAGS"; then
   12153     pkg_cv_XRDB_CFLAGS="$XRDB_CFLAGS"
   12154  elif test -n "$PKG_CONFIG"; then
   12155     if test -n "$PKG_CONFIG" && \
   12156     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
   12157   ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
   12158   ac_status=$?
   12159   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12160   test $ac_status = 0; }; then
   12161   pkg_cv_XRDB_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
   12162 		      test "x$?" != "x0" && pkg_failed=yes
   12163 else
   12164   pkg_failed=yes
   12165 fi
   12166  else
   12167     pkg_failed=untried
   12168 fi
   12169 if test -n "$XRDB_LIBS"; then
   12170     pkg_cv_XRDB_LIBS="$XRDB_LIBS"
   12171  elif test -n "$PKG_CONFIG"; then
   12172     if test -n "$PKG_CONFIG" && \
   12173     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
   12174   ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
   12175   ac_status=$?
   12176   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12177   test $ac_status = 0; }; then
   12178   pkg_cv_XRDB_LIBS=`$PKG_CONFIG --libs "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
   12179 		      test "x$?" != "x0" && pkg_failed=yes
   12180 else
   12181   pkg_failed=yes
   12182 fi
   12183  else
   12184     pkg_failed=untried
   12185 fi
   12186 
   12187 
   12188 
   12189 if test $pkg_failed = yes; then
   12190    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12191 printf '%s\n' "no" >&6; }
   12192 
   12193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12194         _pkg_short_errors_supported=yes
   12195 else
   12196         _pkg_short_errors_supported=no
   12197 fi
   12198         if test $_pkg_short_errors_supported = yes; then
   12199 	        XRDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xmuu x11 xproto >= 7.0.25" 2>&1`
   12200         else
   12201 	        XRDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xmuu x11 xproto >= 7.0.25" 2>&1`
   12202         fi
   12203 	# Put the nasty error message in config.log where it belongs
   12204 	echo "$XRDB_PKG_ERRORS" >&5
   12205 
   12206 	as_fn_error $? "Package requirements (xmuu x11 xproto >= 7.0.25) were not met:
   12207 
   12208 $XRDB_PKG_ERRORS
   12209 
   12210 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12211 installed software in a non-standard prefix.
   12212 
   12213 Alternatively, you may set the environment variables XRDB_CFLAGS
   12214 and XRDB_LIBS to avoid the need to call pkg-config.
   12215 See the pkg-config man page for more details." "$LINENO" 5
   12216 elif test $pkg_failed = untried; then
   12217      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12218 printf '%s\n' "no" >&6; }
   12219 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12220 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12221 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12222 is in your PATH or set the PKG_CONFIG environment variable to the full
   12223 path to pkg-config.
   12224 
   12225 Alternatively, you may set the environment variables XRDB_CFLAGS
   12226 and XRDB_LIBS to avoid the need to call pkg-config.
   12227 See the pkg-config man page for more details.
   12228 
   12229 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12230 See 'config.log' for more details" "$LINENO" 5; }
   12231 else
   12232 	XRDB_CFLAGS=$pkg_cv_XRDB_CFLAGS
   12233 	XRDB_LIBS=$pkg_cv_XRDB_LIBS
   12234         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12235 printf '%s\n' "yes" >&6; }
   12236 
   12237 fi
   12238 
   12239 ac_config_files="$ac_config_files Makefile man/Makefile"
   12240 
   12241 cat >confcache <<\_ACEOF
   12242 # This file is a shell script that caches the results of configure
   12243 # tests run on this system so they can be shared between configure
   12244 # scripts and configure runs, see configure's option --config-cache.
   12245 # It is not useful on other systems.  If it contains results you don't
   12246 # want to keep, you may remove or edit it.
   12247 #
   12248 # config.status only pays attention to the cache file if you give it
   12249 # the --recheck option to rerun configure.
   12250 #
   12251 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12252 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12253 # following values.
   12254 
   12255 _ACEOF
   12256 
   12257 ac_cache_dump |
   12258   sed '
   12259      /^ac_cv_env_/b end
   12260      t clear
   12261      :clear
   12262      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12263      t end
   12264      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12265      :end' >>confcache
   12266 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12267   if test -w "$cache_file"; then
   12268     if test "x$cache_file" != "x/dev/null"; then
   12269       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12270 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   12271       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12272 	cat confcache >"$cache_file"
   12273       else
   12274         case $cache_file in #(
   12275         */* | ?:*)
   12276 	  mv -f confcache "$cache_file"$$ &&
   12277 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12278         *)
   12279 	  mv -f confcache "$cache_file" ;;
   12280 	esac
   12281       fi
   12282     fi
   12283   else
   12284     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12285 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   12286   fi
   12287 fi
   12288 rm -f confcache
   12289 
   12290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12291 # Let make expand exec_prefix.
   12292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12293 
   12294 DEFS=-DHAVE_CONFIG_H
   12295 
   12296 ac_libobjs=
   12297 ac_ltlibobjs=
   12298 U=
   12299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12300   # 1. Remove the extension, and $U if already installed.
   12301   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12302   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   12303   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12304   #    will be set to the directory where LIBOBJS objects are built.
   12305   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12306   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12307 done
   12308 LIBOBJS=$ac_libobjs
   12309 
   12310 LTLIBOBJS=$ac_ltlibobjs
   12311 
   12312 
   12313 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12314 printf %s "checking that generated files are newer than configure... " >&6; }
   12315    if test -n "$am_sleep_pid"; then
   12316      # Hide warnings about reused PIDs.
   12317      wait $am_sleep_pid 2>/dev/null
   12318    fi
   12319    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12320 printf '%s\n' "done" >&6; }
   12321 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12322   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12324 fi
   12325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12326   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12328 fi
   12329 case $enable_silent_rules in # (((
   12330   yes) AM_DEFAULT_VERBOSITY=0;;
   12331    no) AM_DEFAULT_VERBOSITY=1;;
   12332 esac
   12333 if test $am_cv_make_support_nested_variables = yes; then
   12334     AM_V='$(V)'
   12335   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12336 else
   12337   AM_V=$AM_DEFAULT_VERBOSITY
   12338   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12339 fi
   12340 
   12341  if test -n "$EXEEXT"; then
   12342   am__EXEEXT_TRUE=
   12343   am__EXEEXT_FALSE='#'
   12344 else
   12345   am__EXEEXT_TRUE='#'
   12346   am__EXEEXT_FALSE=
   12347 fi
   12348 
   12349 
   12350 : "${CONFIG_STATUS=./config.status}"
   12351 case $CONFIG_STATUS in #(
   12352   -*) :
   12353     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   12354   */*) :
   12355      ;; #(
   12356   *) :
   12357     CONFIG_STATUS=./$CONFIG_STATUS ;;
   12358 esac
   12359 
   12360 ac_write_fail=0
   12361 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   12362 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12363 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   12364 as_write_fail=0
   12365 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   12366 #! $SHELL
   12367 # Generated by $as_me.
   12368 # Run this file to recreate the current configuration.
   12369 # Compiler output produced by configure, useful for debugging
   12370 # configure, is in config.log if it exists.
   12371 
   12372 debug=false
   12373 ac_cs_recheck=false
   12374 ac_cs_silent=false
   12375 
   12376 SHELL=\${CONFIG_SHELL-$SHELL}
   12377 export SHELL
   12378 _ASEOF
   12379 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12380 ## -------------------- ##
   12381 ## M4sh Initialization. ##
   12382 ## -------------------- ##
   12383 
   12384 # Be more Bourne compatible
   12385 DUALCASE=1; export DUALCASE # for MKS sh
   12386 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12387 then :
   12388   emulate sh
   12389   NULLCMD=:
   12390   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12391   # contradicts POSIX and common usage.  Disable this.
   12392   alias -g '${1+"$@"}'='"$@"'
   12393   setopt NO_GLOB_SUBST
   12394 else case e in #(
   12395   e) case `(set -o) 2>/dev/null` in #(
   12396   *posix*) :
   12397     set -o posix ;; #(
   12398   *) :
   12399      ;;
   12400 esac ;;
   12401 esac
   12402 fi
   12403 
   12404 
   12405 
   12406 # Reset variables that may have inherited troublesome values from
   12407 # the environment.
   12408 
   12409 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12410 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12411 # side effect of setting IFS to empty, thus disabling word splitting.)
   12412 # Quoting is to prevent editors from complaining about space-tab.
   12413 as_nl='
   12414 '
   12415 export as_nl
   12416 IFS=" ""	$as_nl"
   12417 
   12418 PS1='$ '
   12419 PS2='> '
   12420 PS4='+ '
   12421 
   12422 # Ensure predictable behavior from utilities with locale-dependent output.
   12423 LC_ALL=C
   12424 export LC_ALL
   12425 LANGUAGE=C
   12426 export LANGUAGE
   12427 
   12428 # We cannot yet rely on "unset" to work, but we need these variables
   12429 # to be unset--not just set to an empty or harmless value--now, to
   12430 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12431 # also avoids known problems related to "unset" and subshell syntax
   12432 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12433 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12434 do eval test \${$as_var+y} \
   12435   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12436 done
   12437 
   12438 # Ensure that fds 0, 1, and 2 are open.
   12439 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12440 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12441 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12442 
   12443 # The user is always right.
   12444 if ${PATH_SEPARATOR+false} :; then
   12445   PATH_SEPARATOR=:
   12446   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12447     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12448       PATH_SEPARATOR=';'
   12449   }
   12450 fi
   12451 
   12452 
   12453 # Find who we are.  Look in the path if we contain no directory separator.
   12454 as_myself=
   12455 case $0 in #((
   12456   *[\\/]* ) as_myself=$0 ;;
   12457   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12458 for as_dir in $PATH
   12459 do
   12460   IFS=$as_save_IFS
   12461   case $as_dir in #(((
   12462     '') as_dir=./ ;;
   12463     */) ;;
   12464     *) as_dir=$as_dir/ ;;
   12465   esac
   12466     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12467   done
   12468 IFS=$as_save_IFS
   12469 
   12470      ;;
   12471 esac
   12472 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12473 # in which case we are not to be found in the path.
   12474 if test "x$as_myself" = x; then
   12475   as_myself=$0
   12476 fi
   12477 if test ! -f "$as_myself"; then
   12478   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12479   exit 1
   12480 fi
   12481 
   12482 
   12483 
   12484 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12485 # ----------------------------------------
   12486 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12487 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12488 # script with STATUS, using 1 if that was 0.
   12489 as_fn_error ()
   12490 {
   12491   as_status=$1; test $as_status -eq 0 && as_status=1
   12492   if test "$4"; then
   12493     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12494     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12495   fi
   12496   printf '%s\n' "$as_me: error: $2" >&2
   12497   as_fn_exit $as_status
   12498 } # as_fn_error
   12499 
   12500 
   12501 # as_fn_set_status STATUS
   12502 # -----------------------
   12503 # Set $? to STATUS, without forking.
   12504 as_fn_set_status ()
   12505 {
   12506   return $1
   12507 } # as_fn_set_status
   12508 
   12509 # as_fn_exit STATUS
   12510 # -----------------
   12511 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12512 as_fn_exit ()
   12513 {
   12514   set +e
   12515   as_fn_set_status $1
   12516   exit $1
   12517 } # as_fn_exit
   12518 
   12519 # as_fn_unset VAR
   12520 # ---------------
   12521 # Portably unset VAR.
   12522 as_fn_unset ()
   12523 {
   12524   { eval $1=; unset $1;}
   12525 }
   12526 as_unset=as_fn_unset
   12527 
   12528 # as_fn_append VAR VALUE
   12529 # ----------------------
   12530 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12531 # advantage of any shell optimizations that allow amortized linear growth over
   12532 # repeated appends, instead of the typical quadratic growth present in naive
   12533 # implementations.
   12534 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12535 then :
   12536   eval 'as_fn_append ()
   12537   {
   12538     eval $1+=\$2
   12539   }'
   12540 else case e in #(
   12541   e) as_fn_append ()
   12542   {
   12543     eval $1=\$$1\$2
   12544   } ;;
   12545 esac
   12546 fi # as_fn_append
   12547 
   12548 # as_fn_arith ARG...
   12549 # ------------------
   12550 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12551 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12552 # must be portable across $(()) and expr.
   12553 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12554 then :
   12555   eval 'as_fn_arith ()
   12556   {
   12557     as_val=$(( $* ))
   12558   }'
   12559 else case e in #(
   12560   e) as_fn_arith ()
   12561   {
   12562     as_val=`expr "$@" || test $? -eq 1`
   12563   } ;;
   12564 esac
   12565 fi # as_fn_arith
   12566 
   12567 
   12568 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12569    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12570   as_expr=expr
   12571 else
   12572   as_expr=false
   12573 fi
   12574 
   12575 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12576   as_basename=basename
   12577 else
   12578   as_basename=false
   12579 fi
   12580 
   12581 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12582   as_dirname=dirname
   12583 else
   12584   as_dirname=false
   12585 fi
   12586 
   12587 as_me=`$as_basename -- "$0" ||
   12588 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12589 	 X"$0" : 'X\(//\)$' \| \
   12590 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12591 printf '%s\n' X/"$0" |
   12592     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12593 	    s//\1/
   12594 	    q
   12595 	  }
   12596 	  /^X\/\(\/\/\)$/{
   12597 	    s//\1/
   12598 	    q
   12599 	  }
   12600 	  /^X\/\(\/\).*/{
   12601 	    s//\1/
   12602 	    q
   12603 	  }
   12604 	  s/.*/./; q'`
   12605 
   12606 # Avoid depending upon Character Ranges.
   12607 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12608 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12609 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12610 as_cr_digits='0123456789'
   12611 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12612 
   12613 rm -f conf$$ conf$$.exe conf$$.file
   12614 if test -d conf$$.dir; then
   12615   rm -f conf$$.dir/conf$$.file
   12616 else
   12617   rm -f conf$$.dir
   12618   mkdir conf$$.dir 2>/dev/null
   12619 fi
   12620 if (echo >conf$$.file) 2>/dev/null; then
   12621   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12622     as_ln_s='ln -s'
   12623     # ... but there are two gotchas:
   12624     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12625     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12626     # In both cases, we have to default to 'cp -pR'.
   12627     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12628       as_ln_s='cp -pR'
   12629   elif ln conf$$.file conf$$ 2>/dev/null; then
   12630     as_ln_s=ln
   12631   else
   12632     as_ln_s='cp -pR'
   12633   fi
   12634 else
   12635   as_ln_s='cp -pR'
   12636 fi
   12637 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12638 rmdir conf$$.dir 2>/dev/null
   12639 
   12640 
   12641 # as_fn_mkdir_p
   12642 # -------------
   12643 # Create "$as_dir" as a directory, including parents if necessary.
   12644 as_fn_mkdir_p ()
   12645 {
   12646 
   12647   case $as_dir in #(
   12648   -*) as_dir=./$as_dir;;
   12649   esac
   12650   test -d "$as_dir" || eval $as_mkdir_p || {
   12651     as_dirs=
   12652     while :; do
   12653       case $as_dir in #(
   12654       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12655       *) as_qdir=$as_dir;;
   12656       esac
   12657       as_dirs="'$as_qdir' $as_dirs"
   12658       as_dir=`$as_dirname -- "$as_dir" ||
   12659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12660 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12661 	 X"$as_dir" : 'X\(//\)$' \| \
   12662 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12663 printf '%s\n' X"$as_dir" |
   12664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12665 	    s//\1/
   12666 	    q
   12667 	  }
   12668 	  /^X\(\/\/\)[^/].*/{
   12669 	    s//\1/
   12670 	    q
   12671 	  }
   12672 	  /^X\(\/\/\)$/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  /^X\(\/\).*/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  s/.*/./; q'`
   12681       test -d "$as_dir" && break
   12682     done
   12683     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12684   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12685 
   12686 
   12687 } # as_fn_mkdir_p
   12688 if mkdir -p . 2>/dev/null; then
   12689   as_mkdir_p='mkdir -p "$as_dir"'
   12690 else
   12691   test -d ./-p && rmdir ./-p
   12692   as_mkdir_p=false
   12693 fi
   12694 
   12695 
   12696 # as_fn_executable_p FILE
   12697 # -----------------------
   12698 # Test if FILE is an executable regular file.
   12699 as_fn_executable_p ()
   12700 {
   12701   test -f "$1" && test -x "$1"
   12702 } # as_fn_executable_p
   12703 as_test_x='test -x'
   12704 as_executable_p=as_fn_executable_p
   12705 
   12706 # Sed expression to map a string onto a valid CPP name.
   12707 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12708 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12709 
   12710 # Sed expression to map a string onto a valid variable name.
   12711 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12712 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12713 
   12714 
   12715 exec 6>&1
   12716 ## ------------------------------------- ##
   12717 ## Main body of "$CONFIG_STATUS" script. ##
   12718 ## ------------------------------------- ##
   12719 _ASEOF
   12720 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12721 
   12722 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12723 # Save the log message, to keep $0 and so on meaningful, and to
   12724 # report actual input values of CONFIG_FILES etc. instead of their
   12725 # values after options handling.
   12726 ac_log="
   12727 This file was extended by xrdb $as_me 1.2.3, which was
   12728 generated by GNU Autoconf 2.73.  Invocation command line was
   12729 
   12730   CONFIG_FILES    = $CONFIG_FILES
   12731   CONFIG_HEADERS  = $CONFIG_HEADERS
   12732   CONFIG_LINKS    = $CONFIG_LINKS
   12733   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12734   $ $0 $@
   12735 
   12736 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12737 "
   12738 
   12739 _ACEOF
   12740 
   12741 case $ac_config_files in *"
   12742 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12743 esac
   12744 
   12745 case $ac_config_headers in *"
   12746 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12747 esac
   12748 
   12749 
   12750 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12751 # Files that config.status was made for.
   12752 config_files="$ac_config_files"
   12753 config_headers="$ac_config_headers"
   12754 config_commands="$ac_config_commands"
   12755 
   12756 _ACEOF
   12757 
   12758 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12759 ac_cs_usage="\
   12760 '$as_me' instantiates files and other configuration actions
   12761 from templates according to the current configuration.  Unless the files
   12762 and actions are specified as TAGs, all are instantiated by default.
   12763 
   12764 Usage: $0 [OPTION]... [TAG]...
   12765 
   12766   -h, --help       print this help, then exit
   12767   -V, --version    print version number and configuration settings, then exit
   12768       --config     print configuration, then exit
   12769   -q, --quiet, --silent
   12770                    do not print progress messages
   12771   -d, --debug      don't remove temporary files
   12772       --recheck    update $as_me by reconfiguring in the same conditions
   12773       --file=FILE[:TEMPLATE]
   12774                    instantiate the configuration file FILE
   12775       --header=FILE[:TEMPLATE]
   12776                    instantiate the configuration header FILE
   12777 
   12778 Configuration files:
   12779 $config_files
   12780 
   12781 Configuration headers:
   12782 $config_headers
   12783 
   12784 Configuration commands:
   12785 $config_commands
   12786 
   12787 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xrdb/-/issues>."
   12788 
   12789 _ACEOF
   12790 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12791 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12792 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12793 ac_cs_config='$ac_cs_config_escaped'
   12794 ac_cs_version="\\
   12795 xrdb config.status 1.2.3
   12796 configured by $0, generated by GNU Autoconf 2.73,
   12797   with options \\"\$ac_cs_config\\"
   12798 
   12799 Copyright (C) 2026 Free Software Foundation, Inc.
   12800 This config.status script is free software; the Free Software Foundation
   12801 gives unlimited permission to copy, distribute and modify it."
   12802 
   12803 ac_pwd='$ac_pwd'
   12804 srcdir='$srcdir'
   12805 INSTALL='$INSTALL'
   12806 MKDIR_P='$MKDIR_P'
   12807 AWK='$AWK'
   12808 test -n "\$AWK" || {
   12809   awk '' </dev/null ||
   12810     as_fn_error \$? "try installing gawk"
   12811   AWK=awk
   12812 }
   12813 _ACEOF
   12814 
   12815 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12816 # The default lists apply if the user does not specify any file.
   12817 ac_need_defaults=:
   12818 while test $# != 0
   12819 do
   12820   case $1 in
   12821   --*=?*)
   12822     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12823     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12824     ac_shift=:
   12825     ;;
   12826   --*=)
   12827     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12828     ac_optarg=
   12829     ac_shift=:
   12830     ;;
   12831   *)
   12832     ac_option=$1
   12833     ac_optarg=$2
   12834     ac_shift=shift
   12835     ;;
   12836   esac
   12837 
   12838   case $ac_option in
   12839   # Handling of the options.
   12840   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12841     ac_cs_recheck=: ;;
   12842   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12843     printf '%s\n' "$ac_cs_version"; exit ;;
   12844   --config | --confi | --conf | --con | --co | --c )
   12845     printf '%s\n' "$ac_cs_config"; exit ;;
   12846   --debug | --debu | --deb | --de | --d | -d )
   12847     debug=: ;;
   12848   --file | --fil | --fi | --f )
   12849     $ac_shift
   12850     case $ac_optarg in
   12851     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12852     '') as_fn_error $? "missing file argument" ;;
   12853     esac
   12854     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12855     ac_need_defaults=false;;
   12856   --header | --heade | --head | --hea )
   12857     $ac_shift
   12858     case $ac_optarg in
   12859     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12860     esac
   12861     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12862     ac_need_defaults=false;;
   12863   --he | --h)
   12864     # Conflict between --help and --header
   12865     as_fn_error $? "ambiguous option: '$1'
   12866 Try '$0 --help' for more information.";;
   12867   --help | --hel | -h )
   12868     printf '%s\n' "$ac_cs_usage"; exit ;;
   12869   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12870   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12871     ac_cs_silent=: ;;
   12872 
   12873   # This is an error.
   12874   -*) as_fn_error $? "unrecognized option: '$1'
   12875 Try '$0 --help' for more information." ;;
   12876 
   12877   *) as_fn_append ac_config_targets " $1"
   12878      ac_need_defaults=false ;;
   12879 
   12880   esac
   12881   shift
   12882 done
   12883 
   12884 ac_configure_extra_args=
   12885 
   12886 if $ac_cs_silent; then
   12887   exec 6>/dev/null
   12888   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12889 fi
   12890 
   12891 _ACEOF
   12892 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12893 if \$ac_cs_recheck; then
   12894   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12895   shift
   12896   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12897   CONFIG_SHELL='$SHELL'
   12898   export CONFIG_SHELL
   12899   exec "\$@"
   12900 fi
   12901 
   12902 _ACEOF
   12903 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12904 exec 5>>config.log
   12905 {
   12906   echo
   12907   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12908 ## Running $as_me. ##
   12909 _ASBOX
   12910   printf '%s\n' "$ac_log"
   12911 } >&5
   12912 
   12913 _ACEOF
   12914 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12915 #
   12916 # INIT-COMMANDS
   12917 #
   12918 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12919 
   12920 _ACEOF
   12921 
   12922 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12923 
   12924 # Handling of arguments.
   12925 for ac_config_target in $ac_config_targets
   12926 do
   12927   case $ac_config_target in
   12928     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12929     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12930     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12931     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12932 
   12933   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12934   esac
   12935 done
   12936 
   12937 
   12938 # If the user did not use the arguments to specify the items to instantiate,
   12939 # then the envvar interface is used.  Set only those that are not.
   12940 # We use the long form for the default assignment because of an extremely
   12941 # bizarre bug on SunOS 4.1.3.
   12942 if $ac_need_defaults; then
   12943   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12944   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12945   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12946 fi
   12947 
   12948 # Have a temporary directory for convenience.  Make it in the build tree
   12949 # simply because there is no reason against having it here, and in addition,
   12950 # creating and moving files from /tmp can sometimes cause problems.
   12951 # Hook for its removal unless debugging.
   12952 # Note that there is a small window in which the directory will not be cleaned:
   12953 # after its creation but before its name has been assigned to '$tmp'.
   12954 $debug ||
   12955 {
   12956   tmp= ac_tmp=
   12957   trap 'exit_status=$?
   12958   : "${ac_tmp:=$tmp}"
   12959   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12960 ' 0
   12961   trap 'as_fn_exit 1' 1 2 13 15
   12962 }
   12963 # Create a (secure) tmp directory for tmp files.
   12964 
   12965 {
   12966   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12967   test -d "$tmp"
   12968 }  ||
   12969 {
   12970   tmp=./conf$$-$RANDOM
   12971   (umask 077 && mkdir "$tmp")
   12972 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12973 ac_tmp=$tmp
   12974 
   12975 # Set up the scripts for CONFIG_FILES section.
   12976 # No need to generate them if there are no CONFIG_FILES.
   12977 # This happens for instance with './config.status config.h'.
   12978 if test -n "$CONFIG_FILES"; then
   12979 
   12980 
   12981 ac_cr=`echo X | tr X '\015'`
   12982 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12983 # But we know of no other shell where ac_cr would be empty at this
   12984 # point, so we can use a bashism as a fallback.
   12985 if test "x$ac_cr" = x; then
   12986   eval ac_cr=\$\'\\r\'
   12987 fi
   12988 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12989 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12990   ac_cs_awk_cr='\\r'
   12991 else
   12992   ac_cs_awk_cr=$ac_cr
   12993 fi
   12994 
   12995 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12996 _ACEOF
   12997 
   12998 
   12999 {
   13000   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13001   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13002   echo "_ACEOF"
   13003 } >conf$$subs.sh ||
   13004   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13005 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   13006 ac_delim='%!_!# '
   13007 for ac_last_try in false false false false false :; do
   13008   . ./conf$$subs.sh ||
   13009     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13010 
   13011   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   13012   if test $ac_delim_n = $ac_delim_num; then
   13013     break
   13014   elif $ac_last_try; then
   13015     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13016   else
   13017     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13018   fi
   13019 done
   13020 rm -f conf$$subs.sh
   13021 
   13022 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13023 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13024 _ACEOF
   13025 sed -n '
   13026 h
   13027 s/^/S["/; s/!.*/"]=/
   13028 p
   13029 g
   13030 s/^[^!]*!//
   13031 :repl
   13032 t repl
   13033 s/'"$ac_delim"'$//
   13034 t delim
   13035 :nl
   13036 h
   13037 s/\(.\{148\}\)..*/\1/
   13038 t more1
   13039 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13040 p
   13041 n
   13042 b repl
   13043 :more1
   13044 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13045 p
   13046 g
   13047 s/.\{148\}//
   13048 t nl
   13049 :delim
   13050 h
   13051 s/\(.\{148\}\)..*/\1/
   13052 t more2
   13053 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13054 p
   13055 b
   13056 :more2
   13057 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13058 p
   13059 g
   13060 s/.\{148\}//
   13061 t delim
   13062 ' <conf$$subs.awk | sed '
   13063 /^[^""]/{
   13064   N
   13065   s/\n//
   13066 }
   13067 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   13068 rm -f conf$$subs.awk
   13069 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13070 _ACAWK
   13071 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13072   for (key in S) S_is_set[key] = 1
   13073   FS = ""
   13074 
   13075 }
   13076 {
   13077   line = $ 0
   13078   nfields = split(line, field, "@")
   13079   substed = 0
   13080   len = length(field[1])
   13081   for (i = 2; i < nfields; i++) {
   13082     key = field[i]
   13083     keylen = length(key)
   13084     if (S_is_set[key]) {
   13085       value = S[key]
   13086       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13087       len += length(value) + length(field[++i])
   13088       substed = 1
   13089     } else
   13090       len += 1 + keylen
   13091   }
   13092 
   13093   print line
   13094 }
   13095 
   13096 _ACAWK
   13097 _ACEOF
   13098 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13099 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13100   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13101 else
   13102   cat
   13103 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13104   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13105 _ACEOF
   13106 
   13107 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13108 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13109 # trailing colons and then remove the whole line if VPATH becomes empty
   13110 # (actually we leave an empty line to preserve line numbers).
   13111 if test "x$srcdir" = x.; then
   13112   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13113 h
   13114 s///
   13115 s/^/:/
   13116 s/[	 ]*$/:/
   13117 s/:\$(srcdir):/:/g
   13118 s/:\${srcdir}:/:/g
   13119 s/:@srcdir@:/:/g
   13120 s/^:*//
   13121 s/:*$//
   13122 x
   13123 s/\(=[	 ]*\).*/\1/
   13124 G
   13125 s/\n//
   13126 s/^[^=]*=[	 ]*$//
   13127 }'
   13128 fi
   13129 
   13130 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13131 fi # test -n "$CONFIG_FILES"
   13132 
   13133 # Set up the scripts for CONFIG_HEADERS section.
   13134 # No need to generate them if there are no CONFIG_HEADERS.
   13135 # This happens for instance with './config.status Makefile'.
   13136 if test -n "$CONFIG_HEADERS"; then
   13137 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13138 BEGIN {
   13139 _ACEOF
   13140 
   13141 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13142 # here-document in config.status, that substitutes the proper values into
   13143 # config.h.in to produce config.h.
   13144 
   13145 # Create a delimiter string that does not exist in confdefs.h, to ease
   13146 # handling of long lines.
   13147 ac_delim='%!_!# '
   13148 for ac_last_try in false false :; do
   13149   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13150   if test -z "$ac_tt"; then
   13151     break
   13152   elif $ac_last_try; then
   13153     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13154   else
   13155     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13156   fi
   13157 done
   13158 
   13159 # For the awk script, D is an array of macro values keyed by name,
   13160 # likewise P contains macro parameters if any.  Preserve backslash
   13161 # newline sequences.
   13162 
   13163 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13164 sed -n '
   13165 s/.\{148\}/&'"$ac_delim"'/g
   13166 t rset
   13167 :rset
   13168 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13169 t def
   13170 d
   13171 :def
   13172 s/\\$//
   13173 t bsnl
   13174 s/["\\]/\\&/g
   13175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13176 D["\1"]=" \3"/p
   13177 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13178 d
   13179 :bsnl
   13180 s/["\\]/\\&/g
   13181 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13182 D["\1"]=" \3\\\\\\n"\\/p
   13183 t cont
   13184 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13185 t cont
   13186 d
   13187 :cont
   13188 n
   13189 s/.\{148\}/&'"$ac_delim"'/g
   13190 t clear
   13191 :clear
   13192 s/\\$//
   13193 t bsnlc
   13194 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13195 d
   13196 :bsnlc
   13197 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13198 b cont
   13199 ' <confdefs.h | sed '
   13200 s/'"$ac_delim"'/"\\\
   13201 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   13202 
   13203 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13204   for (key in D) D_is_set[key] = 1
   13205   FS = ""
   13206 }
   13207 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13208   line = \$ 0
   13209   split(line, arg, " ")
   13210   if (arg[1] == "#") {
   13211     defundef = arg[2]
   13212     mac1 = arg[3]
   13213   } else {
   13214     defundef = substr(arg[1], 2)
   13215     mac1 = arg[2]
   13216   }
   13217   split(mac1, mac2, "(") #)
   13218   macro = mac2[1]
   13219   prefix = substr(line, 1, index(line, defundef) - 1)
   13220   if (D_is_set[macro]) {
   13221     suffix = P[macro] D[macro]
   13222     while (suffix ~ /[\t ]$/) {
   13223       suffix = substr(suffix, 1, length(suffix) - 1)
   13224     }
   13225     # Preserve the white space surrounding the "#".
   13226     print prefix "define", macro suffix
   13227     next
   13228   } else {
   13229     # Replace #undef with comments.  This is necessary, for example,
   13230     # in the case of _POSIX_SOURCE, which is predefined and required
   13231     # on some systems where configure will not decide to define it.
   13232     if (defundef == "undef") {
   13233       print "/*", prefix defundef, macro, "*/"
   13234       next
   13235     }
   13236   }
   13237 }
   13238 { print }
   13239 _ACAWK
   13240 _ACEOF
   13241 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13242   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13243 fi # test -n "$CONFIG_HEADERS"
   13244 
   13245 
   13246 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13247 shift
   13248 for ac_tag
   13249 do
   13250   case $ac_tag in
   13251   :[FHLC]) ac_mode=$ac_tag; continue;;
   13252   esac
   13253   case $ac_mode$ac_tag in
   13254   :[FHL]*:*);;
   13255   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13256   :[FH]-) ac_tag=-:-;;
   13257   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13258   esac
   13259   ac_save_IFS=$IFS
   13260   IFS=:
   13261   set x $ac_tag
   13262   IFS=$ac_save_IFS
   13263   shift
   13264   ac_file=$1
   13265   shift
   13266 
   13267   case $ac_mode in
   13268   :L) ac_source=$1;;
   13269   :[FH])
   13270     ac_file_inputs=
   13271     for ac_f
   13272     do
   13273       case $ac_f in
   13274       -) ac_f="$ac_tmp/stdin";;
   13275       *) # Look for the file first in the build tree, then in the source tree
   13276 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13277 	 # because $ac_f cannot contain ':'.
   13278 	 test -f "$ac_f" ||
   13279 	   case $ac_f in
   13280 	   [\\/$]*) false;;
   13281 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13282 	   esac ||
   13283 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13284       esac
   13285       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13286       as_fn_append ac_file_inputs " '$ac_f'"
   13287     done
   13288 
   13289     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13290     # use $as_me), people would be surprised to read:
   13291     #    /* config.h.  Generated by config.status.  */
   13292     configure_input='Generated from '`
   13293 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13294 	`' by configure.'
   13295     if test x"$ac_file" != x-; then
   13296       configure_input="$ac_file.  $configure_input"
   13297       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13298 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   13299     fi
   13300     # Neutralize special characters interpreted by sed in replacement strings.
   13301     case $configure_input in #(
   13302     *\&* | *\|* | *\\* )
   13303        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   13304        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13305     *) ac_sed_conf_input=$configure_input;;
   13306     esac
   13307 
   13308     case $ac_tag in
   13309     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13310       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13311     esac
   13312     ;;
   13313   esac
   13314 
   13315   ac_dir=`$as_dirname -- "$ac_file" ||
   13316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13317 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13318 	 X"$ac_file" : 'X\(//\)$' \| \
   13319 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13320 printf '%s\n' X"$ac_file" |
   13321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13322 	    s//\1/
   13323 	    q
   13324 	  }
   13325 	  /^X\(\/\/\)[^/].*/{
   13326 	    s//\1/
   13327 	    q
   13328 	  }
   13329 	  /^X\(\/\/\)$/{
   13330 	    s//\1/
   13331 	    q
   13332 	  }
   13333 	  /^X\(\/\).*/{
   13334 	    s//\1/
   13335 	    q
   13336 	  }
   13337 	  s/.*/./; q'`
   13338   as_dir="$ac_dir"; as_fn_mkdir_p
   13339   ac_builddir=.
   13340 
   13341 case "$ac_dir" in
   13342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13343 *)
   13344   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   13345   # A ".." for each directory in $ac_dir_suffix.
   13346   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13347   case $ac_top_builddir_sub in
   13348   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13349   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13350   esac ;;
   13351 esac
   13352 ac_abs_top_builddir=$ac_pwd
   13353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13354 # for backward compatibility:
   13355 ac_top_builddir=$ac_top_build_prefix
   13356 
   13357 case $srcdir in
   13358   .)  # We are building in place.
   13359     ac_srcdir=.
   13360     ac_top_srcdir=$ac_top_builddir_sub
   13361     ac_abs_top_srcdir=$ac_pwd ;;
   13362   [\\/]* | ?:[\\/]* )  # Absolute name.
   13363     ac_srcdir=$srcdir$ac_dir_suffix;
   13364     ac_top_srcdir=$srcdir
   13365     ac_abs_top_srcdir=$srcdir ;;
   13366   *) # Relative name.
   13367     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13368     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13369     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13370 esac
   13371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13372 
   13373 
   13374   case $ac_mode in
   13375   :F)
   13376   #
   13377   # CONFIG_FILE
   13378   #
   13379 
   13380   case $INSTALL in
   13381   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13382   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13383   esac
   13384   ac_MKDIR_P=$MKDIR_P
   13385   case $MKDIR_P in
   13386   [\\/$]* | ?:[\\/]* ) ;;
   13387   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13388   esac
   13389 _ACEOF
   13390 
   13391 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13392 # If the template does not know about datarootdir, expand it.
   13393 # FIXME: This hack should be removed a few years after 2.60.
   13394 ac_datarootdir_hack=; ac_datarootdir_seen=
   13395 ac_sed_dataroot='
   13396 /datarootdir/ {
   13397   p
   13398   q
   13399 }
   13400 /@datadir@/p
   13401 /@docdir@/p
   13402 /@infodir@/p
   13403 /@localedir@/p
   13404 /@mandir@/p'
   13405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13406 *datarootdir*) ac_datarootdir_seen=yes;;
   13407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13408   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13409 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13410 _ACEOF
   13411 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13412   ac_datarootdir_hack='
   13413   s&@datadir@&$datadir&g
   13414   s&@docdir@&$docdir&g
   13415   s&@infodir@&$infodir&g
   13416   s&@localedir@&$localedir&g
   13417   s&@mandir@&$mandir&g
   13418   s&\\\${datarootdir}&$datarootdir&g' ;;
   13419 esac
   13420 _ACEOF
   13421 
   13422 # Neutralize VPATH when '$srcdir' = '.'.
   13423 # Shell code in configure.ac might set extrasub.
   13424 # FIXME: do we really want to maintain this feature?
   13425 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13426 ac_sed_extra="$ac_vpsub
   13427 $extrasub
   13428 _ACEOF
   13429 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13430 :t
   13431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13432 s|@configure_input@|$ac_sed_conf_input|;t t
   13433 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13435 s&@srcdir@&$ac_srcdir&;t t
   13436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13437 s&@top_srcdir@&$ac_top_srcdir&;t t
   13438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13439 s&@builddir@&$ac_builddir&;t t
   13440 s&@abs_builddir@&$ac_abs_builddir&;t t
   13441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13442 s&@INSTALL@&$ac_INSTALL&;t t
   13443 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13444 $ac_datarootdir_hack
   13445 "
   13446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13447   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13448 
   13449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13450   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13451   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13452       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13453   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13454 which seems to be undefined.  Please make sure it is defined" >&5
   13455 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13456 which seems to be undefined.  Please make sure it is defined" >&2;}
   13457 
   13458   rm -f "$ac_tmp/stdin"
   13459   case $ac_file in
   13460   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13461   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13462   esac \
   13463   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13464  ;;
   13465   :H)
   13466   #
   13467   # CONFIG_HEADER
   13468   #
   13469   if test x"$ac_file" != x-; then
   13470     {
   13471       printf '%s\n' "/* $configure_input  */" >&1 \
   13472       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13473     } >"$ac_tmp/config.h" \
   13474       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13475     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13476       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13477 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13478     else
   13479       rm -f "$ac_file"
   13480       mv "$ac_tmp/config.h" "$ac_file" \
   13481 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13482     fi
   13483   else
   13484     printf '%s\n' "/* $configure_input  */" >&1 \
   13485       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13486       || as_fn_error $? "could not create -" "$LINENO" 5
   13487   fi
   13488 # Compute "$ac_file"'s index in $config_headers.
   13489 _am_arg="$ac_file"
   13490 _am_stamp_count=1
   13491 for _am_header in $config_headers :; do
   13492   case $_am_header in
   13493     $_am_arg | $_am_arg:* )
   13494       break ;;
   13495     * )
   13496       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13497   esac
   13498 done
   13499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13501 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13502 	 X"$_am_arg" : 'X\(//\)$' \| \
   13503 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13504 printf '%s\n' X"$_am_arg" |
   13505     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13506 	    s//\1/
   13507 	    q
   13508 	  }
   13509 	  /^X\(\/\/\)[^/].*/{
   13510 	    s//\1/
   13511 	    q
   13512 	  }
   13513 	  /^X\(\/\/\)$/{
   13514 	    s//\1/
   13515 	    q
   13516 	  }
   13517 	  /^X\(\/\).*/{
   13518 	    s//\1/
   13519 	    q
   13520 	  }
   13521 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13522  ;;
   13523 
   13524   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13525 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13526  ;;
   13527   esac
   13528 
   13529 
   13530   case $ac_file$ac_mode in
   13531     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13532   # Older Autoconf quotes --file arguments for eval, but not when files
   13533   # are listed without --file.  Let's play safe and only enable the eval
   13534   # if we detect the quoting.
   13535   # TODO: see whether this extra hack can be removed once we start
   13536   # requiring Autoconf 2.70 or later.
   13537   case $CONFIG_FILES in #(
   13538   *\'*) :
   13539     eval set x "$CONFIG_FILES" ;; #(
   13540   *) :
   13541     set x $CONFIG_FILES ;; #(
   13542   *) :
   13543      ;;
   13544 esac
   13545   shift
   13546   # Used to flag and report bootstrapping failures.
   13547   am_rc=0
   13548   for am_mf
   13549   do
   13550     # Strip MF so we end up with the name of the file.
   13551     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13552     # Check whether this is an Automake generated Makefile which includes
   13553     # dependency-tracking related rules and includes.
   13554     # Grep'ing the whole file directly is not great: AIX grep has a line
   13555     # limit of 2048, but all sed's we know have understand at least 4000.
   13556     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13557       || continue
   13558     am_dirpart=`$as_dirname -- "$am_mf" ||
   13559 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13560 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13561 	 X"$am_mf" : 'X\(//\)$' \| \
   13562 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13563 printf '%s\n' X"$am_mf" |
   13564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13565 	    s//\1/
   13566 	    q
   13567 	  }
   13568 	  /^X\(\/\/\)[^/].*/{
   13569 	    s//\1/
   13570 	    q
   13571 	  }
   13572 	  /^X\(\/\/\)$/{
   13573 	    s//\1/
   13574 	    q
   13575 	  }
   13576 	  /^X\(\/\).*/{
   13577 	    s//\1/
   13578 	    q
   13579 	  }
   13580 	  s/.*/./; q'`
   13581     am_filepart=`$as_basename -- "$am_mf" ||
   13582 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13583 	 X"$am_mf" : 'X\(//\)$' \| \
   13584 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13585 printf '%s\n' X/"$am_mf" |
   13586     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13587 	    s//\1/
   13588 	    q
   13589 	  }
   13590 	  /^X\/\(\/\/\)$/{
   13591 	    s//\1/
   13592 	    q
   13593 	  }
   13594 	  /^X\/\(\/\).*/{
   13595 	    s//\1/
   13596 	    q
   13597 	  }
   13598 	  s/.*/./; q'`
   13599     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13600       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13601         | $MAKE -f - am--depfiles" >&5
   13602    (cd "$am_dirpart" \
   13603       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13604         | $MAKE -f - am--depfiles) >&5 2>&5
   13605    ac_status=$?
   13606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13607    (exit $ac_status); } || am_rc=$?
   13608   done
   13609   if test $am_rc -ne 0; then
   13610     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13611 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13612 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13613     for automatic dependency tracking.  If GNU make was not used, consider
   13614     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13615     necessary).  You can also try re-running configure with the
   13616     '--disable-dependency-tracking' option to at least be able to build
   13617     the package (albeit without support for automatic dependency tracking).
   13618 See 'config.log' for more details" "$LINENO" 5; }
   13619   fi
   13620   { am_dirpart=; unset am_dirpart;}
   13621   { am_filepart=; unset am_filepart;}
   13622   { am_mf=; unset am_mf;}
   13623   { am_rc=; unset am_rc;}
   13624   rm -f conftest-deps.mk
   13625 }
   13626  ;;
   13627 
   13628   esac
   13629 done # for ac_tag
   13630 
   13631 
   13632 as_fn_exit 0
   13633 _ACEOF
   13634 ac_clean_CONFIG_STATUS=
   13635 
   13636 test $ac_write_fail = 0 ||
   13637   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13638 
   13639 
   13640 # configure is writing to config.log, and then calls config.status.
   13641 # config.status does its own redirection, appending to config.log.
   13642 # Unfortunately, on DOS this fails, as config.log is still kept open
   13643 # by configure, so config.status won't be able to write to it; its
   13644 # output is simply discarded.  So we exec the FD to /dev/null,
   13645 # effectively closing config.log, so it can be properly (re)opened and
   13646 # appended to by config.status.  When coming back to configure, we
   13647 # need to make the FD available again.
   13648 if test "$no_create" != yes; then
   13649   ac_cs_success=:
   13650   case $CONFIG_STATUS in #(
   13651   -*) :
   13652     ac_no_opts=-- ;; #(
   13653   *) :
   13654     ac_no_opts= ;;
   13655 esac
   13656   ac_config_status_args=
   13657   test "$silent" = yes &&
   13658     ac_config_status_args="$ac_config_status_args --quiet"
   13659   exec 5>/dev/null
   13660   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13661     ac_cs_success=false
   13662   exec 5>>config.log
   13663   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13664   # would make configure fail if this is the last instruction.
   13665   $ac_cs_success || as_fn_exit 1
   13666 fi
   13667 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13668   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13669 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13670 fi
   13671 
   13672 
   13673