Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for editres 1.1.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/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/editres/-/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='editres'
    591 PACKAGE_TARNAME='editres'
    592 PACKAGE_VERSION='1.1.1'
    593 PACKAGE_STRING='editres 1.1.1'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/editres/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 ac_subst_vars='am__EXEEXT_FALSE
    631 am__EXEEXT_TRUE
    632 LTLIBOBJS
    633 LIBOBJS
    634 appdefaultdir
    635 APPDEFS_LIBS
    636 APPDEFS_CFLAGS
    637 EDITRES_LIBS
    638 EDITRES_CFLAGS
    639 MAN_SUBSTS
    640 XORG_MAN_PAGE
    641 ADMIN_MAN_DIR
    642 DRIVER_MAN_DIR
    643 MISC_MAN_DIR
    644 FILE_MAN_DIR
    645 LIB_MAN_DIR
    646 APP_MAN_DIR
    647 ADMIN_MAN_SUFFIX
    648 DRIVER_MAN_SUFFIX
    649 MISC_MAN_SUFFIX
    650 FILE_MAN_SUFFIX
    651 LIB_MAN_SUFFIX
    652 APP_MAN_SUFFIX
    653 SED
    654 host_os
    655 host_vendor
    656 host_cpu
    657 host
    658 build_os
    659 build_vendor
    660 build_cpu
    661 build
    662 INSTALL_CMD
    663 PKG_CONFIG_LIBDIR
    664 PKG_CONFIG_PATH
    665 PKG_CONFIG
    666 CHANGELOG_CMD
    667 STRICT_CFLAGS
    668 CWARNFLAGS
    669 BASE_CFLAGS
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__include
    678 DEPDIR
    679 OBJEXT
    680 EXEEXT
    681 ac_ct_CC
    682 CPPFLAGS
    683 LDFLAGS
    684 CFLAGS
    685 CC
    686 am__xargs_n
    687 am__rm_f_notfound
    688 AM_BACKSLASH
    689 AM_DEFAULT_VERBOSITY
    690 AM_DEFAULT_V
    691 AM_V
    692 CSCOPE
    693 ETAGS
    694 CTAGS
    695 am__untar
    696 am__tar
    697 AMTAR
    698 am__leading_dot
    699 SET_MAKE
    700 AWK
    701 mkdir_p
    702 MKDIR_P
    703 INSTALL_STRIP_PROGRAM
    704 STRIP
    705 install_sh
    706 MAKEINFO
    707 AUTOHEADER
    708 AUTOMAKE
    709 AUTOCONF
    710 ACLOCAL
    711 VERSION
    712 PACKAGE
    713 CYGPATH_W
    714 am__isrc
    715 INSTALL_DATA
    716 INSTALL_SCRIPT
    717 INSTALL_PROGRAM
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 target_alias
    722 host_alias
    723 build_alias
    724 LIBS
    725 DEFS
    726 mandir
    727 localedir
    728 libdir
    729 psdir
    730 pdfdir
    731 dvidir
    732 htmldir
    733 infodir
    734 docdir
    735 oldincludedir
    736 includedir
    737 runstatedir
    738 localstatedir
    739 sharedstatedir
    740 sysconfdir
    741 datadir
    742 datarootdir
    743 libexecdir
    744 sbindir
    745 bindir
    746 program_transform_name
    747 prefix
    748 exec_prefix
    749 PACKAGE_URL
    750 PACKAGE_BUGREPORT
    751 PACKAGE_STRING
    752 PACKAGE_VERSION
    753 PACKAGE_TARNAME
    754 PACKAGE_NAME
    755 PATH_SEPARATOR
    756 SHELL
    757 am__quote'
    758 ac_subst_files=''
    759 ac_user_opts='
    760 enable_option_checking
    761 enable_silent_rules
    762 enable_dependency_tracking
    763 enable_selective_werror
    764 enable_strict_compilation
    765 with_xkb
    766 with_appdefaultdir
    767 '
    768       ac_precious_vars='build_alias
    769 host_alias
    770 target_alias
    771 CC
    772 CFLAGS
    773 LDFLAGS
    774 LIBS
    775 CPPFLAGS
    776 PKG_CONFIG
    777 PKG_CONFIG_PATH
    778 PKG_CONFIG_LIBDIR
    779 EDITRES_CFLAGS
    780 EDITRES_LIBS
    781 APPDEFS_CFLAGS
    782 APPDEFS_LIBS'
    783 
    784 
    785 # Initialize some variables set by options.
    786 ac_init_help=
    787 ac_init_version=false
    788 ac_unrecognized_opts=
    789 ac_unrecognized_sep=
    790 # The variables have the same names as the options, with
    791 # dashes changed to underlines.
    792 cache_file=/dev/null
    793 exec_prefix=NONE
    794 no_create=
    795 no_recursion=
    796 prefix=NONE
    797 program_prefix=NONE
    798 program_suffix=NONE
    799 program_transform_name=s,x,x,
    800 silent=
    801 site=
    802 srcdir=
    803 verbose=
    804 x_includes=NONE
    805 x_libraries=NONE
    806 
    807 # Installation directory options.
    808 # These are left unexpanded so users can "make install exec_prefix=/foo"
    809 # and all the variables that are supposed to be based on exec_prefix
    810 # by default will actually change.
    811 # Use braces instead of parens because sh, perl, etc. also accept them.
    812 # (The list follows the same order as the GNU Coding Standards.)
    813 bindir='${exec_prefix}/bin'
    814 sbindir='${exec_prefix}/sbin'
    815 libexecdir='${exec_prefix}/libexec'
    816 datarootdir='${prefix}/share'
    817 datadir='${datarootdir}'
    818 sysconfdir='${prefix}/etc'
    819 sharedstatedir='${prefix}/com'
    820 localstatedir='${prefix}/var'
    821 runstatedir='${localstatedir}/run'
    822 includedir='${prefix}/include'
    823 oldincludedir='/usr/include'
    824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    825 infodir='${datarootdir}/info'
    826 htmldir='${docdir}'
    827 dvidir='${docdir}'
    828 pdfdir='${docdir}'
    829 psdir='${docdir}'
    830 libdir='${exec_prefix}/lib'
    831 localedir='${datarootdir}/locale'
    832 mandir='${datarootdir}/man'
    833 
    834 ac_prev=
    835 ac_dashdash=
    836 for ac_option
    837 do
    838   # If the previous option needs an argument, assign it.
    839   if test -n "$ac_prev"; then
    840     eval $ac_prev=\$ac_option
    841     ac_prev=
    842     continue
    843   fi
    844 
    845   case $ac_option in
    846   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    847   *=)   ac_optarg= ;;
    848   *)    ac_optarg=yes ;;
    849   esac
    850 
    851   case $ac_dashdash$ac_option in
    852   --)
    853     ac_dashdash=yes ;;
    854 
    855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    856     ac_prev=bindir ;;
    857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    858     bindir=$ac_optarg ;;
    859 
    860   -build | --build | --buil | --bui | --bu)
    861     ac_prev=build_alias ;;
    862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    863     build_alias=$ac_optarg ;;
    864 
    865   -cache-file | --cache-file | --cache-fil | --cache-fi \
    866   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    867     ac_prev=cache_file ;;
    868   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    869   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    870     cache_file=$ac_optarg ;;
    871 
    872   --config-cache | -C)
    873     cache_file=config.cache ;;
    874 
    875   -datadir | --datadir | --datadi | --datad)
    876     ac_prev=datadir ;;
    877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    878     datadir=$ac_optarg ;;
    879 
    880   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    881   | --dataroo | --dataro | --datar)
    882     ac_prev=datarootdir ;;
    883   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    884   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    885     datarootdir=$ac_optarg ;;
    886 
    887   -disable-* | --disable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: '$ac_useropt'"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=no ;;
    902 
    903   -docdir | --docdir | --docdi | --doc | --do)
    904     ac_prev=docdir ;;
    905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    906     docdir=$ac_optarg ;;
    907 
    908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    909     ac_prev=dvidir ;;
    910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    911     dvidir=$ac_optarg ;;
    912 
    913   -enable-* | --enable-*)
    914     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    915     # Reject names that are not valid shell variable names.
    916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    917       as_fn_error $? "invalid feature name: '$ac_useropt'"
    918     ac_useropt_orig=$ac_useropt
    919     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    920     case $ac_user_opts in
    921       *"
    922 "enable_$ac_useropt"
    923 "*) ;;
    924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    925 	 ac_unrecognized_sep=', ';;
    926     esac
    927     eval enable_$ac_useropt=\$ac_optarg ;;
    928 
    929   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    930   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    931   | --exec | --exe | --ex)
    932     ac_prev=exec_prefix ;;
    933   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    934   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    935   | --exec=* | --exe=* | --ex=*)
    936     exec_prefix=$ac_optarg ;;
    937 
    938   -gas | --gas | --ga | --g)
    939     # Obsolete; use --with-gas.
    940     with_gas=yes ;;
    941 
    942   -help | --help | --hel | --he | -h)
    943     ac_init_help=long ;;
    944   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    945     ac_init_help=recursive ;;
    946   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    947     ac_init_help=short ;;
    948 
    949   -host | --host | --hos | --ho)
    950     ac_prev=host_alias ;;
    951   -host=* | --host=* | --hos=* | --ho=*)
    952     host_alias=$ac_optarg ;;
    953 
    954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    955     ac_prev=htmldir ;;
    956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    957   | --ht=*)
    958     htmldir=$ac_optarg ;;
    959 
    960   -includedir | --includedir | --includedi | --included | --include \
    961   | --includ | --inclu | --incl | --inc)
    962     ac_prev=includedir ;;
    963   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    964   | --includ=* | --inclu=* | --incl=* | --inc=*)
    965     includedir=$ac_optarg ;;
    966 
    967   -infodir | --infodir | --infodi | --infod | --info | --inf)
    968     ac_prev=infodir ;;
    969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    970     infodir=$ac_optarg ;;
    971 
    972   -libdir | --libdir | --libdi | --libd)
    973     ac_prev=libdir ;;
    974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    975     libdir=$ac_optarg ;;
    976 
    977   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    978   | --libexe | --libex | --libe)
    979     ac_prev=libexecdir ;;
    980   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    981   | --libexe=* | --libex=* | --libe=*)
    982     libexecdir=$ac_optarg ;;
    983 
    984   -localedir | --localedir | --localedi | --localed | --locale)
    985     ac_prev=localedir ;;
    986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    987     localedir=$ac_optarg ;;
    988 
    989   -localstatedir | --localstatedir | --localstatedi | --localstated \
    990   | --localstate | --localstat | --localsta | --localst | --locals)
    991     ac_prev=localstatedir ;;
    992   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    993   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    994     localstatedir=$ac_optarg ;;
    995 
    996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    997     ac_prev=mandir ;;
    998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    999     mandir=$ac_optarg ;;
   1000 
   1001   -nfp | --nfp | --nf)
   1002     # Obsolete; use --without-fp.
   1003     with_fp=no ;;
   1004 
   1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1006   | --no-cr | --no-c | -n)
   1007     no_create=yes ;;
   1008 
   1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1011     no_recursion=yes ;;
   1012 
   1013   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1014   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1015   | --oldin | --oldi | --old | --ol | --o)
   1016     ac_prev=oldincludedir ;;
   1017   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1018   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1019   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1020     oldincludedir=$ac_optarg ;;
   1021 
   1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1023     ac_prev=prefix ;;
   1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1025     prefix=$ac_optarg ;;
   1026 
   1027   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1028   | --program-pre | --program-pr | --program-p)
   1029     ac_prev=program_prefix ;;
   1030   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1031   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1032     program_prefix=$ac_optarg ;;
   1033 
   1034   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1035   | --program-suf | --program-su | --program-s)
   1036     ac_prev=program_suffix ;;
   1037   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1038   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1039     program_suffix=$ac_optarg ;;
   1040 
   1041   -program-transform-name | --program-transform-name \
   1042   | --program-transform-nam | --program-transform-na \
   1043   | --program-transform-n | --program-transform- \
   1044   | --program-transform | --program-transfor \
   1045   | --program-transfo | --program-transf \
   1046   | --program-trans | --program-tran \
   1047   | --progr-tra | --program-tr | --program-t)
   1048     ac_prev=program_transform_name ;;
   1049   -program-transform-name=* | --program-transform-name=* \
   1050   | --program-transform-nam=* | --program-transform-na=* \
   1051   | --program-transform-n=* | --program-transform-=* \
   1052   | --program-transform=* | --program-transfor=* \
   1053   | --program-transfo=* | --program-transf=* \
   1054   | --program-trans=* | --program-tran=* \
   1055   | --progr-tra=* | --program-tr=* | --program-t=*)
   1056     program_transform_name=$ac_optarg ;;
   1057 
   1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1059     ac_prev=pdfdir ;;
   1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1061     pdfdir=$ac_optarg ;;
   1062 
   1063   -psdir | --psdir | --psdi | --psd | --ps)
   1064     ac_prev=psdir ;;
   1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1066     psdir=$ac_optarg ;;
   1067 
   1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1069   | -silent | --silent | --silen | --sile | --sil)
   1070     silent=yes ;;
   1071 
   1072   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1073   | --runstate | --runstat | --runsta | --runst | --runs \
   1074   | --run | --ru | --r)
   1075     ac_prev=runstatedir ;;
   1076   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1077   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1078   | --run=* | --ru=* | --r=*)
   1079     runstatedir=$ac_optarg ;;
   1080 
   1081   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1082     ac_prev=sbindir ;;
   1083   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1084   | --sbi=* | --sb=*)
   1085     sbindir=$ac_optarg ;;
   1086 
   1087   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1088   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1089   | --sharedst | --shareds | --shared | --share | --shar \
   1090   | --sha | --sh)
   1091     ac_prev=sharedstatedir ;;
   1092   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1093   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1094   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1095   | --sha=* | --sh=*)
   1096     sharedstatedir=$ac_optarg ;;
   1097 
   1098   -site | --site | --sit)
   1099     ac_prev=site ;;
   1100   -site=* | --site=* | --sit=*)
   1101     site=$ac_optarg ;;
   1102 
   1103   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1104     ac_prev=srcdir ;;
   1105   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1106     srcdir=$ac_optarg ;;
   1107 
   1108   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1109   | --syscon | --sysco | --sysc | --sys | --sy)
   1110     ac_prev=sysconfdir ;;
   1111   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1112   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1113     sysconfdir=$ac_optarg ;;
   1114 
   1115   -target | --target | --targe | --targ | --tar | --ta | --t)
   1116     ac_prev=target_alias ;;
   1117   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1118     target_alias=$ac_optarg ;;
   1119 
   1120   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1121     verbose=yes ;;
   1122 
   1123   -version | --version | --versio | --versi | --vers | -V)
   1124     ac_init_version=: ;;
   1125 
   1126   -with-* | --with-*)
   1127     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1128     # Reject names that are not valid shell variable names.
   1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1130       as_fn_error $? "invalid package name: '$ac_useropt'"
   1131     ac_useropt_orig=$ac_useropt
   1132     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1133     case $ac_user_opts in
   1134       *"
   1135 "with_$ac_useropt"
   1136 "*) ;;
   1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1138 	 ac_unrecognized_sep=', ';;
   1139     esac
   1140     eval with_$ac_useropt=\$ac_optarg ;;
   1141 
   1142   -without-* | --without-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: '$ac_useropt'"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=no ;;
   1157 
   1158   --x)
   1159     # Obsolete; use --with-x.
   1160     with_x=yes ;;
   1161 
   1162   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1163   | --x-incl | --x-inc | --x-in | --x-i)
   1164     ac_prev=x_includes ;;
   1165   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1166   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1167     x_includes=$ac_optarg ;;
   1168 
   1169   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1170   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1171     ac_prev=x_libraries ;;
   1172   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1173   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1174     x_libraries=$ac_optarg ;;
   1175 
   1176   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1177 Try '$0 --help' for more information"
   1178     ;;
   1179 
   1180   *=*)
   1181     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1182     # Reject names that are not valid shell variable names.
   1183     case $ac_envvar in #(
   1184       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1185       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1186     esac
   1187     eval $ac_envvar=\$ac_optarg
   1188     export $ac_envvar ;;
   1189 
   1190   *)
   1191     # FIXME: should be removed in autoconf 3.0.
   1192     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1193     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1194       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1195     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1196     ;;
   1197 
   1198   esac
   1199 done
   1200 
   1201 if test -n "$ac_prev"; then
   1202   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1203   as_fn_error $? "missing argument to $ac_option"
   1204 fi
   1205 
   1206 if test -n "$ac_unrecognized_opts"; then
   1207   case $enable_option_checking in
   1208     no) ;;
   1209     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1210     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1211   esac
   1212 fi
   1213 
   1214 # Check all directory arguments for consistency.
   1215 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1216 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1217 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1218 		libdir localedir mandir runstatedir
   1219 do
   1220   eval ac_val=\$$ac_var
   1221   # Remove trailing slashes.
   1222   case $ac_val in
   1223     */ )
   1224       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1225       eval $ac_var=\$ac_val;;
   1226   esac
   1227   # Be sure to have absolute directory names.
   1228   case $ac_val in
   1229     [\\/$]* | ?:[\\/]* )  continue;;
   1230     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1231   esac
   1232   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1233 done
   1234 
   1235 # There might be people who depend on the old broken behavior: '$host'
   1236 # used to hold the argument of --host etc.
   1237 # FIXME: To remove some day.
   1238 build=$build_alias
   1239 host=$host_alias
   1240 target=$target_alias
   1241 
   1242 # FIXME: To remove some day.
   1243 if test "x$host_alias" != x; then
   1244   if test "x$build_alias" = x; then
   1245     cross_compiling=maybe
   1246   elif test "x$build_alias" != "x$host_alias"; then
   1247     cross_compiling=yes
   1248   fi
   1249 fi
   1250 
   1251 ac_tool_prefix=
   1252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1253 
   1254 test "$silent" = yes && exec 6>/dev/null
   1255 
   1256 
   1257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1258 ac_ls_di=`ls -di .` &&
   1259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1260   as_fn_error $? "working directory cannot be determined"
   1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1262   as_fn_error $? "pwd does not report name of working directory"
   1263 
   1264 
   1265 # Find the source files, if location was not specified.
   1266 if test -z "$srcdir"; then
   1267   ac_srcdir_defaulted=yes
   1268   # Try the directory containing this script, then the parent directory.
   1269   ac_confdir=`$as_dirname -- "$as_myself" ||
   1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1271 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1272 	 X"$as_myself" : 'X\(//\)$' \| \
   1273 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1274 printf '%s\n' X"$as_myself" |
   1275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)[^/].*/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)$/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\).*/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  s/.*/./; q'`
   1292   srcdir=$ac_confdir
   1293   if test ! -r "$srcdir/$ac_unique_file"; then
   1294     srcdir=..
   1295   fi
   1296 else
   1297   ac_srcdir_defaulted=no
   1298 fi
   1299 if test ! -r "$srcdir/$ac_unique_file"; then
   1300   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1301   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1302 fi
   1303 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1304 ac_abs_confdir=`(
   1305 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1306 	pwd)`
   1307 # When building in place, set srcdir=.
   1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1309   srcdir=.
   1310 fi
   1311 # Remove unnecessary trailing slashes from srcdir.
   1312 # Double slashes in file names in object file debugging info
   1313 # mess up M-x gdb in Emacs.
   1314 case $srcdir in
   1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1316 esac
   1317 for ac_var in $ac_precious_vars; do
   1318   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1319   eval ac_env_${ac_var}_value=\$${ac_var}
   1320   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1321   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1322 done
   1323 
   1324 #
   1325 # Report the --help message.
   1326 #
   1327 if test "$ac_init_help" = "long"; then
   1328   # Omit some internal or obsolete options to make the list less imposing.
   1329   # This message is too long to be a string in the A/UX 3.1 sh.
   1330   cat <<_ACEOF
   1331 'configure' configures editres 1.1.1 to adapt to many kinds of systems.
   1332 
   1333 Usage: $0 [OPTION]... [VAR=VALUE]...
   1334 
   1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1336 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1337 
   1338 Defaults for the options are specified in brackets.
   1339 
   1340 Configuration:
   1341   -h, --help              display this help and exit
   1342       --help=short        display options specific to this package
   1343       --help=recursive    display the short help of all the included packages
   1344   -V, --version           display version information and exit
   1345   -q, --quiet, --silent   do not print 'checking ...' messages
   1346       --cache-file=FILE   cache test results in FILE [disabled]
   1347   -C, --config-cache      alias for '--cache-file=config.cache'
   1348   -n, --no-create         do not create output files
   1349       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1350 
   1351 Installation directories:
   1352   --prefix=PREFIX         install architecture-independent files in PREFIX
   1353                           [$ac_default_prefix]
   1354   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1355                           [PREFIX]
   1356 
   1357 By default, 'make install' will install all the files in
   1358 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1359 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1360 for instance '--prefix=\$HOME'.
   1361 
   1362 For better control, use the options below.
   1363 
   1364 Fine tuning of the installation directories:
   1365   --bindir=DIR            user executables [EPREFIX/bin]
   1366   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1367   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1368   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1369   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1370   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1371   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1372   --libdir=DIR            object code libraries [EPREFIX/lib]
   1373   --includedir=DIR        C header files [PREFIX/include]
   1374   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1375   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1376   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1377   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1378   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1379   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1380   --docdir=DIR            documentation root [DATAROOTDIR/doc/editres]
   1381   --htmldir=DIR           html documentation [DOCDIR]
   1382   --dvidir=DIR            dvi documentation [DOCDIR]
   1383   --pdfdir=DIR            pdf documentation [DOCDIR]
   1384   --psdir=DIR             ps documentation [DOCDIR]
   1385 _ACEOF
   1386 
   1387   cat <<\_ACEOF
   1388 
   1389 Program names:
   1390   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1391   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1392   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1393 
   1394 System types:
   1395   --build=BUILD     configure for building on BUILD [guessed]
   1396   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1397 _ACEOF
   1398 fi
   1399 
   1400 if test -n "$ac_init_help"; then
   1401   case $ac_init_help in
   1402      short | recursive ) echo "Configuration of editres 1.1.1:";;
   1403    esac
   1404   cat <<\_ACEOF
   1405 
   1406 Optional Features:
   1407   --disable-option-checking  ignore unrecognized --enable/--with options
   1408   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1409   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1410   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1411   --disable-silent-rules  verbose build output (undo: "make V=0")
   1412   --enable-dependency-tracking
   1413                           do not reject slow dependency extractors
   1414   --disable-dependency-tracking
   1415                           speeds up one-time build
   1416   --disable-selective-werror
   1417                           Turn off selective compiler errors. (default:
   1418                           enabled)
   1419   --enable-strict-compilation
   1420                           Enable all warnings from compiler and make them
   1421                           errors (default: disabled)
   1422 
   1423 Optional Packages:
   1424   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1425   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1426   --without-xkb           Disable use of XKB to sound bells (Default is
   1427                           with-xkb)
   1428   --with-appdefaultdir=<pathname>
   1429                           specify directory for app-defaults files (default is
   1430                           autodetected)
   1431 
   1432 Some influential environment variables:
   1433   CC          C compiler command
   1434   CFLAGS      C compiler flags
   1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1436               nonstandard directory <lib dir>
   1437   LIBS        libraries to pass to the linker, e.g. -l<library>
   1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1439               you have headers in a nonstandard directory <include dir>
   1440   PKG_CONFIG  path to pkg-config utility
   1441   PKG_CONFIG_PATH
   1442               directories to add to pkg-config's search path
   1443   PKG_CONFIG_LIBDIR
   1444               path overriding pkg-config's built-in search path
   1445   EDITRES_CFLAGS
   1446               C compiler flags for EDITRES, overriding pkg-config
   1447   EDITRES_LIBS
   1448               linker flags for EDITRES, overriding pkg-config
   1449   APPDEFS_CFLAGS
   1450               C compiler flags for APPDEFS, overriding pkg-config
   1451   APPDEFS_LIBS
   1452               linker flags for APPDEFS, overriding pkg-config
   1453 
   1454 Use these variables to override the choices made by 'configure' or to help
   1455 it to find libraries and programs with nonstandard names/locations.
   1456 
   1457 Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/issues>.
   1458 _ACEOF
   1459 ac_status=$?
   1460 fi
   1461 
   1462 if test "$ac_init_help" = "recursive"; then
   1463   # If there are subdirs, report their specific --help.
   1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1465     test -d "$ac_dir" ||
   1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1467       continue
   1468     ac_builddir=.
   1469 
   1470 case "$ac_dir" in
   1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472 *)
   1473   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1474   # A ".." for each directory in $ac_dir_suffix.
   1475   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1476   case $ac_top_builddir_sub in
   1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1479   esac ;;
   1480 esac
   1481 ac_abs_top_builddir=$ac_pwd
   1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1483 # for backward compatibility:
   1484 ac_top_builddir=$ac_top_build_prefix
   1485 
   1486 case $srcdir in
   1487   .)  # We are building in place.
   1488     ac_srcdir=.
   1489     ac_top_srcdir=$ac_top_builddir_sub
   1490     ac_abs_top_srcdir=$ac_pwd ;;
   1491   [\\/]* | ?:[\\/]* )  # Absolute name.
   1492     ac_srcdir=$srcdir$ac_dir_suffix;
   1493     ac_top_srcdir=$srcdir
   1494     ac_abs_top_srcdir=$srcdir ;;
   1495   *) # Relative name.
   1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1499 esac
   1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1501 
   1502     cd "$ac_dir" || { ac_status=$?; continue; }
   1503     # Check for configure.gnu first; this name is used for a wrapper for
   1504     # Metaconfig's "Configure" on case-insensitive file systems.
   1505     if test -f "$ac_srcdir/configure.gnu"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1508     elif test -f "$ac_srcdir/configure"; then
   1509       echo &&
   1510       $SHELL "$ac_srcdir/configure" --help=recursive
   1511     else
   1512       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1513     fi || ac_status=$?
   1514     cd "$ac_pwd" || { ac_status=$?; break; }
   1515   done
   1516 fi
   1517 
   1518 test -n "$ac_init_help" && exit $ac_status
   1519 if $ac_init_version; then
   1520   cat <<\_ACEOF
   1521 editres configure 1.1.1
   1522 generated by GNU Autoconf 2.73
   1523 
   1524 Copyright (C) 2026 Free Software Foundation, Inc.
   1525 This configure script is free software; the Free Software Foundation
   1526 gives unlimited permission to copy, distribute and modify it.
   1527 _ACEOF
   1528   exit
   1529 fi
   1530 
   1531 ## ------------------------ ##
   1532 ## Autoconf initialization. ##
   1533 ## ------------------------ ##
   1534 
   1535 # ac_fn_c_try_compile LINENO
   1536 # --------------------------
   1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1538 ac_fn_c_try_compile ()
   1539 {
   1540   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1541   rm -f conftest.$ac_objext conftest.beam
   1542   if { { ac_try="$ac_compile"
   1543 case "(($ac_try" in
   1544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1545   *) ac_try_echo=$ac_try;;
   1546 esac
   1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1548 printf '%s\n' "$ac_try_echo"; } >&5
   1549   (eval "$ac_compile") 2>conftest.err
   1550   ac_status=$?
   1551   if test -s conftest.err; then
   1552     grep -v '^ *+' conftest.err >conftest.er1
   1553     cat conftest.er1 >&5
   1554     mv -f conftest.er1 conftest.err
   1555   fi
   1556   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1557   test $ac_status = 0; } && {
   1558 	 test -z "$ac_c_werror_flag" ||
   1559 	 test ! -s conftest.err
   1560        } && test -s conftest.$ac_objext
   1561 then :
   1562   ac_retval=0
   1563 else case e in #(
   1564   e) printf '%s\n' "$as_me: failed program was:" >&5
   1565 sed 's/^/| /' conftest.$ac_ext >&5
   1566 
   1567 	ac_retval=1 ;;
   1568 esac
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1576 # ------------------------------------------------------------------
   1577 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1578 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1579 ac_fn_check_decl ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1583   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1584 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1585 if eval test \${$3+y}
   1586 then :
   1587   printf %s "(cached) " >&6
   1588 else case e in #(
   1589   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1590   eval ac_save_FLAGS=\$$6
   1591   as_fn_append $6 " $5"
   1592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1593 /* end confdefs.h.  */
   1594 $4
   1595 int
   1596 main (void)
   1597 {
   1598 #ifndef $as_decl_name
   1599 #ifdef __cplusplus
   1600   (void) $as_decl_use;
   1601 #else
   1602   (void) $as_decl_name;
   1603 #endif
   1604 #endif
   1605 
   1606   ;
   1607   return 0;
   1608 }
   1609 _ACEOF
   1610 if ac_fn_c_try_compile "$LINENO"
   1611 then :
   1612   eval "$3=yes"
   1613 else case e in #(
   1614   e) eval "$3=no" ;;
   1615 esac
   1616 fi
   1617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1618   eval $6=\$ac_save_FLAGS
   1619  ;;
   1620 esac
   1621 fi
   1622 eval ac_res=\$$3
   1623 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1624 printf '%s\n' "$ac_res" >&6; }
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626 
   1627 } # ac_fn_check_decl
   1628 
   1629 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1630 # -------------------------------------------------------
   1631 # Tests whether HEADER exists and can be compiled using the include files in
   1632 # INCLUDES, setting the cache variable VAR accordingly.
   1633 ac_fn_c_check_header_compile ()
   1634 {
   1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1636   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1637 printf %s "checking for $2... " >&6; }
   1638 if eval test \${$3+y}
   1639 then :
   1640   printf %s "(cached) " >&6
   1641 else case e in #(
   1642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1643 /* end confdefs.h.  */
   1644 $4
   1645 #include <$2>
   1646 _ACEOF
   1647 if ac_fn_c_try_compile "$LINENO"
   1648 then :
   1649   eval "$3=yes"
   1650 else case e in #(
   1651   e) eval "$3=no" ;;
   1652 esac
   1653 fi
   1654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1655 esac
   1656 fi
   1657 eval ac_res=\$$3
   1658 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1659 printf '%s\n' "$ac_res" >&6; }
   1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1661 
   1662 } # ac_fn_c_check_header_compile
   1663 
   1664 # ac_fn_c_try_link LINENO
   1665 # -----------------------
   1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_link ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1671   if { { ac_try="$ac_link"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 printf '%s\n' "$ac_try_echo"; } >&5
   1678   (eval "$ac_link") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } && {
   1687 	 test -z "$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        } && test -s conftest$ac_exeext && {
   1690 	 test "$cross_compiling" = yes ||
   1691 	 test -x conftest$ac_exeext
   1692        }
   1693 then :
   1694   ac_retval=0
   1695 else case e in #(
   1696   e) printf '%s\n' "$as_me: failed program was:" >&5
   1697 sed 's/^/| /' conftest.$ac_ext >&5
   1698 
   1699 	ac_retval=1 ;;
   1700 esac
   1701 fi
   1702   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1703   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1704   # interfere with the next link command; also delete a directory that is
   1705   # left behind by Apple's compiler.  We do this before executing the actions.
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_link
   1711 ac_configure_args_raw=
   1712 for ac_arg
   1713 do
   1714   case $ac_arg in
   1715   *\'*)
   1716     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1717   esac
   1718   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1719 done
   1720 
   1721 case $ac_configure_args_raw in
   1722   *$as_nl*)
   1723     ac_safe_unquote= ;;
   1724   *)
   1725     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1726     ac_unsafe_a="$ac_unsafe_z#~"
   1727     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1728     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1729 esac
   1730 
   1731 cat >config.log <<_ACEOF
   1732 This file contains any messages produced by compilers while
   1733 running configure, to aid debugging if configure makes a mistake.
   1734 
   1735 It was created by editres $as_me 1.1.1, which was
   1736 generated by GNU Autoconf 2.73.  Invocation command line was
   1737 
   1738   $ $0$ac_configure_args_raw
   1739 
   1740 _ACEOF
   1741 exec 5>>config.log
   1742 {
   1743 cat <<_ASUNAME
   1744 ## --------- ##
   1745 ## Platform. ##
   1746 ## --------- ##
   1747 
   1748 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1749 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1750 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1751 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1752 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1753 
   1754 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1755 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1756 
   1757 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1758 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1759 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1760 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1761 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1762 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1763 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1764 
   1765 _ASUNAME
   1766 
   1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1768 for as_dir in $PATH
   1769 do
   1770   IFS=$as_save_IFS
   1771   case $as_dir in #(((
   1772     '') as_dir=./ ;;
   1773     */) ;;
   1774     *) as_dir=$as_dir/ ;;
   1775   esac
   1776     printf '%s\n' "PATH: $as_dir"
   1777   done
   1778 IFS=$as_save_IFS
   1779 
   1780 } >&5
   1781 
   1782 cat >&5 <<_ACEOF
   1783 
   1784 
   1785 ## ----------- ##
   1786 ## Core tests. ##
   1787 ## ----------- ##
   1788 
   1789 _ACEOF
   1790 
   1791 
   1792 # Keep a trace of the command line.
   1793 # Strip out --no-create and --no-recursion so they do not pile up.
   1794 # Strip out --silent because we don't want to record it for future runs.
   1795 # Also quote any args containing shell meta-characters.
   1796 # Make two passes to allow for proper duplicate-argument suppression.
   1797 ac_configure_args=
   1798 ac_configure_args0=
   1799 ac_configure_args1=
   1800 ac_must_keep_next=false
   1801 for ac_pass in 1 2
   1802 do
   1803   for ac_arg
   1804   do
   1805     case $ac_arg in
   1806     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1807     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1808     | -silent | --silent | --silen | --sile | --sil)
   1809       continue ;;
   1810     *\'*)
   1811       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1812     esac
   1813     case $ac_pass in
   1814     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1815     2)
   1816       as_fn_append ac_configure_args1 " '$ac_arg'"
   1817       if test $ac_must_keep_next = true; then
   1818 	ac_must_keep_next=false # Got value, back to normal.
   1819       else
   1820 	case $ac_arg in
   1821 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1822 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1823 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1824 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1825 	    case "$ac_configure_args0 " in
   1826 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1827 	    esac
   1828 	    ;;
   1829 	  -* ) ac_must_keep_next=true ;;
   1830 	esac
   1831       fi
   1832       as_fn_append ac_configure_args " '$ac_arg'"
   1833       ;;
   1834     esac
   1835   done
   1836 done
   1837 { ac_configure_args0=; unset ac_configure_args0;}
   1838 { ac_configure_args1=; unset ac_configure_args1;}
   1839 
   1840 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1841 ac_cache_dump ()
   1842 {
   1843   # The following way of writing the cache mishandles newlines in values,
   1844 # but we know of no workaround that is simple, portable, and efficient.
   1845 # So, we kill variables containing newlines.
   1846 # Ultrix sh set writes to stderr and can't be redirected directly,
   1847 # and sets the high bit in the cache file unless we assign to the vars.
   1848 (
   1849   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1850     eval ac_val=\$$ac_var
   1851     case $ac_val in #(
   1852     *${as_nl}*)
   1853       case $ac_var in #(
   1854       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1855 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1856       esac
   1857       case $ac_var in #(
   1858       _ | IFS | as_nl) ;; #(
   1859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1860       *) { eval $ac_var=; unset $ac_var;} ;;
   1861       esac ;;
   1862     esac
   1863   done
   1864 
   1865   (set) 2>&1 |
   1866     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1867     *${as_nl}ac_space=\ *)
   1868       # 'set' does not quote correctly, so add quotes: double-quote
   1869       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1870       sed -n \
   1871 	"s/'/'\\\\''/g;
   1872 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1873       ;; #(
   1874     *)
   1875       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1877       ;;
   1878     esac |
   1879     sort
   1880 )
   1881 }
   1882 
   1883 # Print debugging info to stdout.
   1884 ac_dump_debugging_info ()
   1885 {
   1886   echo
   1887 
   1888   printf '%s\n' "## ---------------- ##
   1889 ## Cache variables. ##
   1890 ## ---------------- ##"
   1891   echo
   1892   ac_cache_dump
   1893   echo
   1894 
   1895   printf '%s\n' "## ----------------- ##
   1896 ## Output variables. ##
   1897 ## ----------------- ##"
   1898   echo
   1899   for ac_var in $ac_subst_vars
   1900   do
   1901     eval ac_val=\$$ac_var
   1902     case $ac_val in
   1903     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1904     esac
   1905     printf '%s\n' "$ac_var='$ac_val'"
   1906   done | sort
   1907   echo
   1908 
   1909   if test -n "$ac_subst_files"; then
   1910     printf '%s\n' "## ------------------- ##
   1911 ## File substitutions. ##
   1912 ## ------------------- ##"
   1913     echo
   1914     for ac_var in $ac_subst_files
   1915     do
   1916       eval ac_val=\$$ac_var
   1917       case $ac_val in
   1918       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1919       esac
   1920       printf '%s\n' "$ac_var='$ac_val'"
   1921     done | sort
   1922     echo
   1923   fi
   1924 
   1925   if test -s confdefs.h; then
   1926     printf '%s\n' "## ----------- ##
   1927 ## confdefs.h. ##
   1928 ## ----------- ##"
   1929     echo
   1930     cat confdefs.h
   1931     echo
   1932   fi
   1933   test "$ac_signal" != 0 &&
   1934     printf '%s\n' "$as_me: caught signal $ac_signal"
   1935   printf '%s\n' "$as_me: exit $exit_status"
   1936 }
   1937 
   1938 # When interrupted or exit'd, cleanup temporary files, and complete
   1939 # config.log.
   1940 ac_exit_trap ()
   1941 {
   1942   exit_status=
   1943   # Sanitize IFS.
   1944   IFS=" ""	$as_nl"
   1945   # Save into config.log some information that might help in debugging.
   1946   ac_dump_debugging_info >&5
   1947   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1948     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1949     exit $exit_status
   1950 }
   1951 
   1952 trap 'ac_exit_trap $?' 0
   1953 for ac_signal in 1 2 13 15; do
   1954   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1955 done
   1956 ac_signal=0
   1957 
   1958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1959 rm -f -r conftest* confdefs.h
   1960 
   1961 printf '%s\n' "/* confdefs.h */" > confdefs.h
   1962 
   1963 # Predefined preprocessor variables.
   1964 
   1965 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1966 
   1967 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1968 
   1969 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1970 
   1971 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1972 
   1973 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1974 
   1975 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1976 
   1977 
   1978 # Let the site file select an alternate cache file if it wants to.
   1979 # Prefer an explicitly selected file to automatically selected ones.
   1980 if test -n "$CONFIG_SITE"; then
   1981   ac_site_files="$CONFIG_SITE"
   1982 elif test "x$prefix" != xNONE; then
   1983   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1984 else
   1985   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1986 fi
   1987 
   1988 for ac_site_file in $ac_site_files
   1989 do
   1990   case $ac_site_file in #(
   1991   */*) :
   1992      ;; #(
   1993   *) :
   1994     ac_site_file=./$ac_site_file ;;
   1995 esac
   1996   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1997     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1998 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   1999     sed 's/^/| /' "$ac_site_file" >&5
   2000     . "$ac_site_file" \
   2001       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2002 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2003 as_fn_error $? "failed to load site script $ac_site_file
   2004 See 'config.log' for more details" "$LINENO" 5; }
   2005   fi
   2006 done
   2007 
   2008 if test -r "$cache_file"; then
   2009   # Some versions of bash will fail to source /dev/null (special files
   2010   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2011   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2012     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2013 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2014     case $cache_file in
   2015       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2016       *)                      . "./$cache_file";;
   2017     esac
   2018   fi
   2019 else
   2020   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2021 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2022   >$cache_file
   2023 fi
   2024 
   2025 # Test code for whether the C compiler supports C23 (global declarations)
   2026 ac_c_conftest_c23_globals='
   2027 /* Does the compiler advertise conformance to C17 or earlier?
   2028    Although GCC 14 does not do that, even with -std=gnu23,
   2029    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2030 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2031 # error "Compiler advertises conformance to C17 or earlier"
   2032 #endif
   2033 
   2034 // Check alignas.
   2035 char alignas (double) c23_aligned_as_double;
   2036 char alignas (0) c23_no_special_alignment;
   2037 extern char c23_aligned_as_int;
   2038 char alignas (0) alignas (int) c23_aligned_as_int;
   2039 
   2040 // Check alignof.
   2041 enum
   2042 {
   2043   c23_int_alignment = alignof (int),
   2044   c23_int_array_alignment = alignof (int[100]),
   2045   c23_char_alignment = alignof (char)
   2046 };
   2047 static_assert (0 < -alignof (int), "alignof is signed");
   2048 
   2049 int function_with_unnamed_parameter (int) { return 0; }
   2050 
   2051 void c23_noreturn ();
   2052 
   2053 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2054    The parens pacify GCC 15.  */
   2055 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2056 
   2057 bool check_that_bool_works = true | false | !nullptr;
   2058 #if !true
   2059 # error "true does not work in #if"
   2060 #endif
   2061 #if false
   2062 #elifdef __STDC_VERSION__
   2063 #else
   2064 # error "#elifdef does not work"
   2065 #endif
   2066 
   2067 #ifndef __has_c_attribute
   2068 # error "__has_c_attribute not defined"
   2069 #endif
   2070 
   2071 #ifndef __has_include
   2072 # error "__has_include not defined"
   2073 #endif
   2074 
   2075 #define LPAREN() (
   2076 #define FORTY_TWO(x) 42
   2077 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2078 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2079 
   2080 static_assert (0b101010 == 42);
   2081 static_assert (0B101010 == 42);
   2082 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2083 static_assert (0.500'\''000'\''000 == 0.5);
   2084 
   2085 enum unsignedish : unsigned int { uione = 1 };
   2086 static_assert (0 < -uione);
   2087 
   2088 #include <stddef.h>
   2089 constexpr nullptr_t null_pointer = nullptr;
   2090 
   2091 static typeof (1 + 1L) two () { return 2; }
   2092 static long int three () { return 3; }
   2093 '
   2094 
   2095 # Test code for whether the C compiler supports C23 (body of main).
   2096 ac_c_conftest_c23_main='
   2097   {
   2098     label_before_declaration:
   2099       int arr[10] = {};
   2100       if (arr[0])
   2101         goto label_before_declaration;
   2102       if (!arr[0])
   2103         goto label_at_end_of_block;
   2104     label_at_end_of_block:
   2105   }
   2106   ok |= !null_pointer;
   2107   ok |= two != three;
   2108 '
   2109 
   2110 # Test code for whether the C compiler supports C23 (complete).
   2111 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2112 
   2113 int
   2114 main (int, char **)
   2115 {
   2116   int ok = 0;
   2117   ${ac_c_conftest_c23_main}
   2118   return ok;
   2119 }
   2120 "
   2121 
   2122 # Test code for whether the C compiler supports C89 (global declarations)
   2123 ac_c_conftest_c89_globals='
   2124 /* Do not test the value of __STDC__, because some compilers define it to 0
   2125    or do not define it, while otherwise adequately conforming.  */
   2126 
   2127 #include <stddef.h>
   2128 #include <stdarg.h>
   2129 struct stat;
   2130 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2131 struct buf { int x; };
   2132 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2133 static char *e (char **p, int i)
   2134 {
   2135   return p[i];
   2136 }
   2137 static char *f (char * (*g) (char **, int), char **p, ...)
   2138 {
   2139   char *s;
   2140   va_list v;
   2141   va_start (v,p);
   2142   s = g (p, va_arg (v,int));
   2143   va_end (v);
   2144   return s;
   2145 }
   2146 
   2147 /* C89 style stringification. */
   2148 #define noexpand_stringify(a) #a
   2149 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2150 
   2151 /* C89 style token pasting.  Exercises some of the corner cases that
   2152    e.g. old MSVC gets wrong, but not very hard. */
   2153 #define noexpand_concat(a,b) a##b
   2154 #define expand_concat(a,b) noexpand_concat(a,b)
   2155 extern int vA;
   2156 extern int vbee;
   2157 #define aye A
   2158 #define bee B
   2159 int *pvA = &expand_concat(v,aye);
   2160 int *pvbee = &noexpand_concat(v,bee);
   2161 
   2162 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2163    function prototypes and stuff, but not \xHH hex character constants.
   2164    These do not provoke an error unfortunately, instead are silently treated
   2165    as an "x".  The following induces an error, until -std is added to get
   2166    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2167    array size at least.  It is necessary to write \x00 == 0 to get something
   2168    that is true only with -std.  */
   2169 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2170 
   2171 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2172    inside strings and character constants.  */
   2173 #define FOO(x) '\''x'\''
   2174 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2175 
   2176 int test (int i, double x);
   2177 struct s1 {int (*f) (int a);};
   2178 struct s2 {int (*f) (double a);};
   2179 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2180                int, int);'
   2181 
   2182 # Test code for whether the C compiler supports C89 (body of main).
   2183 ac_c_conftest_c89_main='
   2184 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2185 '
   2186 
   2187 # Test code for whether the C compiler supports C99 (global declarations)
   2188 ac_c_conftest_c99_globals='
   2189 /* Does the compiler advertise C99 conformance? */
   2190 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2191 # error "Compiler does not advertise C99 conformance"
   2192 #endif
   2193 
   2194 // See if C++-style comments work.
   2195 
   2196 #include <stdbool.h>
   2197 extern int puts (const char *);
   2198 extern int printf (const char *, ...);
   2199 extern int dprintf (int, const char *, ...);
   2200 extern void *malloc (size_t);
   2201 extern void free (void *);
   2202 
   2203 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2204 // dprintf is used instead of fprintf to avoid needing to declare
   2205 // FILE and stderr, and "aND" is used instead of "and" to work around
   2206 // GCC bug 40564 which is irrelevant here.
   2207 #define debug(...) dprintf (2, __VA_ARGS__)
   2208 #define showlist(...) puts (#__VA_ARGS__)
   2209 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2210 static void
   2211 test_varargs_macros (void)
   2212 {
   2213   int x = 1234;
   2214   int y = 5678;
   2215   debug ("Flag");
   2216   debug ("X = %d\n", x);
   2217   showlist (The first, second, aND third items.);
   2218   report (x>y, "x is %d but y is %d", x, y);
   2219 }
   2220 
   2221 // Check long long types.
   2222 #define BIG64 18446744073709551615ull
   2223 #define BIG32 4294967295ul
   2224 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2225 #if !BIG_OK
   2226   #error "your preprocessor is broken"
   2227 #endif
   2228 #if BIG_OK
   2229 #else
   2230   #error "your preprocessor is broken"
   2231 #endif
   2232 static long long int bignum = -9223372036854775807LL;
   2233 static unsigned long long int ubignum = BIG64;
   2234 
   2235 struct incomplete_array
   2236 {
   2237   int datasize;
   2238   double data[];
   2239 };
   2240 
   2241 struct named_init {
   2242   int number;
   2243   const wchar_t *name;
   2244   double average;
   2245 };
   2246 
   2247 typedef const char *ccp;
   2248 
   2249 static inline int
   2250 test_restrict (ccp restrict text)
   2251 {
   2252   // Iterate through items via the restricted pointer.
   2253   // Also check for declarations in for loops.
   2254   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2255     continue;
   2256   return 0;
   2257 }
   2258 
   2259 // Check varargs and va_copy.
   2260 static bool
   2261 test_varargs (const char *format, ...)
   2262 {
   2263   va_list args;
   2264   va_start (args, format);
   2265   va_list args_copy;
   2266   va_copy (args_copy, args);
   2267 
   2268   const char *str = "";
   2269   int number = 0;
   2270   float fnumber = 0;
   2271 
   2272   while (*format)
   2273     {
   2274       switch (*format++)
   2275 	{
   2276 	case '\''s'\'': // string
   2277 	  str = va_arg (args_copy, const char *);
   2278 	  break;
   2279 	case '\''d'\'': // int
   2280 	  number = va_arg (args_copy, int);
   2281 	  break;
   2282 	case '\''f'\'': // float
   2283 	  fnumber = va_arg (args_copy, double);
   2284 	  break;
   2285 	default:
   2286 	  break;
   2287 	}
   2288     }
   2289   va_end (args_copy);
   2290   va_end (args);
   2291 
   2292   return *str && number && fnumber;
   2293 }
   2294 '
   2295 
   2296 # Test code for whether the C compiler supports C99 (body of main).
   2297 ac_c_conftest_c99_main='
   2298   // Check bool.
   2299   _Bool success = false;
   2300   success |= (argc != 0);
   2301 
   2302   // Check restrict.
   2303   if (test_restrict ("String literal") == 0)
   2304     success = true;
   2305   const char *restrict newvar = "Another string";
   2306 
   2307   // Check varargs.
   2308   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2309   test_varargs_macros ();
   2310 
   2311   // Check flexible array members.
   2312   static struct incomplete_array *volatile incomplete_array_pointer;
   2313   struct incomplete_array *ia = incomplete_array_pointer;
   2314   ia->datasize = 10;
   2315   for (int i = 0; i < ia->datasize; ++i)
   2316     ia->data[i] = i * 1.234;
   2317   // Work around memory leak warnings.
   2318   free (ia);
   2319 
   2320   // Check named initializers.
   2321   struct named_init ni = {
   2322     .number = 34,
   2323     .name = L"Test wide string",
   2324     .average = 543.34343,
   2325   };
   2326 
   2327   ni.number = 58;
   2328 
   2329   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2330   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2331 
   2332   // work around unused variable warnings
   2333   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2334 	 || ni.number != 58);
   2335 '
   2336 
   2337 # Test code for whether the C compiler supports C11 (global declarations)
   2338 ac_c_conftest_c11_globals='
   2339 /* Does the compiler advertise C11 conformance? */
   2340 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2341 # error "Compiler does not advertise C11 conformance"
   2342 #endif
   2343 
   2344 // Check _Alignas.
   2345 char _Alignas (double) aligned_as_double;
   2346 char _Alignas (0) no_special_alignment;
   2347 extern char aligned_as_int;
   2348 char _Alignas (0) _Alignas (int) aligned_as_int;
   2349 
   2350 // Check _Alignof.
   2351 enum
   2352 {
   2353   int_alignment = _Alignof (int),
   2354   int_array_alignment = _Alignof (int[100]),
   2355   char_alignment = _Alignof (char)
   2356 };
   2357 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2358 
   2359 // Check _Noreturn.
   2360 int _Noreturn does_not_return (void) { for (;;) continue; }
   2361 
   2362 // Check _Static_assert.
   2363 struct test_static_assert
   2364 {
   2365   int x;
   2366   _Static_assert (sizeof (int) <= sizeof (long int),
   2367                   "_Static_assert does not work in struct");
   2368   long int y;
   2369 };
   2370 
   2371 // Check UTF-8 literals.
   2372 #define u8 syntax error!
   2373 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2374 
   2375 // Check duplicate typedefs.
   2376 typedef long *long_ptr;
   2377 typedef long int *long_ptr;
   2378 typedef long_ptr long_ptr;
   2379 
   2380 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2381 struct anonymous
   2382 {
   2383   union {
   2384     struct { int i; int j; };
   2385     struct { int k; long int l; } w;
   2386   };
   2387   int m;
   2388 } v1;
   2389 '
   2390 
   2391 # Test code for whether the C compiler supports C11 (body of main).
   2392 ac_c_conftest_c11_main='
   2393   _Static_assert ((offsetof (struct anonymous, i)
   2394 		   == offsetof (struct anonymous, w.k)),
   2395 		  "Anonymous union alignment botch");
   2396   v1.i = 2;
   2397   v1.w.k = 5;
   2398   ok |= v1.i != 5;
   2399 '
   2400 
   2401 # Test code for whether the C compiler supports C11 (complete).
   2402 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2403 ${ac_c_conftest_c99_globals}
   2404 ${ac_c_conftest_c11_globals}
   2405 
   2406 int
   2407 main (int argc, char **argv)
   2408 {
   2409   int ok = 0;
   2410   ${ac_c_conftest_c89_main}
   2411   ${ac_c_conftest_c99_main}
   2412   ${ac_c_conftest_c11_main}
   2413   return ok;
   2414 }
   2415 "
   2416 
   2417 # Test code for whether the C compiler supports C99 (complete).
   2418 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2419 ${ac_c_conftest_c99_globals}
   2420 
   2421 int
   2422 main (int argc, char **argv)
   2423 {
   2424   int ok = 0;
   2425   ${ac_c_conftest_c89_main}
   2426   ${ac_c_conftest_c99_main}
   2427   return ok;
   2428 }
   2429 "
   2430 
   2431 # Test code for whether the C compiler supports C89 (complete).
   2432 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2433 
   2434 int
   2435 main (int argc, char **argv)
   2436 {
   2437   int ok = 0;
   2438   ${ac_c_conftest_c89_main}
   2439   return ok;
   2440 }
   2441 "
   2442 
   2443 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2444 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2445 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2446 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2447 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2448 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2449 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2450 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2451 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2452 
   2453 # Auxiliary files required by this configure script.
   2454 ac_aux_files="config.guess config.sub compile missing install-sh"
   2455 
   2456 # Locations in which to look for auxiliary files.
   2457 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2458 
   2459 # Search for a directory containing all of the required auxiliary files,
   2460 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2461 # If we don't find one directory that contains all the files we need,
   2462 # we report the set of missing files from the *first* directory in
   2463 # $ac_aux_dir_candidates and give up.
   2464 ac_missing_aux_files=""
   2465 ac_first_candidate=:
   2466 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2468 as_found=false
   2469 for as_dir in $ac_aux_dir_candidates
   2470 do
   2471   IFS=$as_save_IFS
   2472   case $as_dir in #(((
   2473     '') as_dir=./ ;;
   2474     */) ;;
   2475     *) as_dir=$as_dir/ ;;
   2476   esac
   2477   as_found=:
   2478 
   2479   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2480   ac_aux_dir_found=yes
   2481   ac_install_sh=
   2482   for ac_aux in $ac_aux_files
   2483   do
   2484     # As a special case, if "install-sh" is required, that requirement
   2485     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2486     # and $ac_install_sh is set appropriately for whichever one is found.
   2487     if test x"$ac_aux" = x"install-sh"
   2488     then
   2489       if test -f "${as_dir}install-sh"; then
   2490         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2491         ac_install_sh="${as_dir}install-sh -c"
   2492       elif test -f "${as_dir}install.sh"; then
   2493         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2494         ac_install_sh="${as_dir}install.sh -c"
   2495       elif test -f "${as_dir}shtool"; then
   2496         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2497         ac_install_sh="${as_dir}shtool install -c"
   2498       else
   2499         ac_aux_dir_found=no
   2500         if $ac_first_candidate; then
   2501           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2502         else
   2503           break
   2504         fi
   2505       fi
   2506     else
   2507       if test -f "${as_dir}${ac_aux}"; then
   2508         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2509       else
   2510         ac_aux_dir_found=no
   2511         if $ac_first_candidate; then
   2512           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2513         else
   2514           break
   2515         fi
   2516       fi
   2517     fi
   2518   done
   2519   if test "$ac_aux_dir_found" = yes; then
   2520     ac_aux_dir="$as_dir"
   2521     break
   2522   fi
   2523   ac_first_candidate=false
   2524 
   2525   as_found=false
   2526 done
   2527 IFS=$as_save_IFS
   2528 if $as_found
   2529 then :
   2530 
   2531 else case e in #(
   2532   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2533 esac
   2534 fi
   2535 
   2536 
   2537 # These three variables are undocumented and unsupported,
   2538 # and are intended to be withdrawn in a future Autoconf release.
   2539 # They can cause serious problems if a builder's source tree is in a directory
   2540 # whose full name contains unusual characters.
   2541 if test -f "${ac_aux_dir}config.guess"; then
   2542   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2543 fi
   2544 if test -f "${ac_aux_dir}config.sub"; then
   2545   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2546 fi
   2547 if test -f "$ac_aux_dir/configure"; then
   2548   ac_configure="$SHELL ${ac_aux_dir}configure"
   2549 fi
   2550 
   2551 # Check that the precious variables saved in the cache have kept the same
   2552 # value.
   2553 ac_cache_corrupted=false
   2554 for ac_var in $ac_precious_vars; do
   2555   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2556   eval ac_new_set=\$ac_env_${ac_var}_set
   2557   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2558   eval ac_new_val=\$ac_env_${ac_var}_value
   2559   case $ac_old_set,$ac_new_set in
   2560     set,)
   2561       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2562 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2563       ac_cache_corrupted=: ;;
   2564     ,set)
   2565       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2566 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2567       ac_cache_corrupted=: ;;
   2568     ,);;
   2569     *)
   2570       if test "x$ac_old_val" != "x$ac_new_val"; then
   2571 	# differences in whitespace do not lead to failure.
   2572 	ac_old_val_w=
   2573 	for ac_val in x $ac_old_val; do
   2574 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2575 	done
   2576 	ac_new_val_w=
   2577 	for ac_val in x $ac_new_val; do
   2578 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2579 	done
   2580 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2581 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2582 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2583 	  ac_cache_corrupted=:
   2584 	else
   2585 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2586 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2587 	  eval $ac_var=\$ac_old_val
   2588 	fi
   2589 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2590 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2591 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2592 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2593       fi;;
   2594   esac
   2595   # Pass precious variables to config.status.
   2596   if test "$ac_new_set" = set; then
   2597     case $ac_new_val in
   2598     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2599     *) ac_arg=$ac_var=$ac_new_val ;;
   2600     esac
   2601     case " $ac_configure_args " in
   2602       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2603       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2604     esac
   2605   fi
   2606 done
   2607 if $ac_cache_corrupted; then
   2608   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2609 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2610   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2611 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2612   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2613 	    and start over" "$LINENO" 5
   2614 fi
   2615 ## -------------------- ##
   2616 ## Main body of script. ##
   2617 ## -------------------- ##
   2618 
   2619 
   2620 # Determine whether it's possible to make 'echo' print without a newline.
   2621 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2622 # for compatibility with existing Makefiles.
   2623 ECHO_C= ECHO_N= ECHO_T=
   2624 case `echo -n x` in #(((((
   2625 -n*)
   2626   case `echo 'xy\c'` in
   2627   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2628   xy)  ECHO_C='\c';;
   2629   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2630        ECHO_T='	';;
   2631   esac;;
   2632 *)
   2633   ECHO_N='-n';;
   2634 esac
   2635 
   2636 ac_ext=c
   2637 ac_cpp='$CPP $CPPFLAGS'
   2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2641 
   2642 
   2643 
   2644 ac_config_headers="$ac_config_headers config.h"
   2645 
   2646 
   2647 # Initialize Automake
   2648 am__api_version='1.18'
   2649 
   2650 
   2651 
   2652   # Find a good install program.  We prefer a C program (faster),
   2653 # so one script is as good as another.  But avoid the broken or
   2654 # incompatible versions:
   2655 # SysV /etc/install, /usr/sbin/install
   2656 # SunOS /usr/etc/install
   2657 # IRIX /sbin/install
   2658 # AIX /bin/install
   2659 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2663 # OS/2's system install, which has a completely different semantic
   2664 # ./install, which can be erroneously created by make from ./install.sh.
   2665 # Reject install programs that cannot install multiple files.
   2666 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2667 printf %s "checking for a BSD-compatible install... " >&6; }
   2668 if test -z "$INSTALL"; then
   2669 if test ${ac_cv_path_install+y}
   2670 then :
   2671   printf %s "(cached) " >&6
   2672 else case e in #(
   2673   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2674 for as_dir in $PATH
   2675 do
   2676   IFS=$as_save_IFS
   2677   case $as_dir in #(((
   2678     '') as_dir=./ ;;
   2679     */) ;;
   2680     *) as_dir=$as_dir/ ;;
   2681   esac
   2682     # Account for fact that we put trailing slashes in our PATH walk.
   2683 case $as_dir in #((
   2684   ./ | /[cC]/* | \
   2685   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2686   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2687   /usr/ucb/* ) ;;
   2688   *)
   2689     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2690     # Don't use installbsd from OSF/1 since it installs stuff as root
   2691     # by default.
   2692     for ac_prog in ginstall scoinst install; do
   2693       for ac_exec_ext in '' $ac_executable_extensions; do
   2694 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2695 	  if test $ac_prog = install &&
   2696 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2697 	    # AIX install.  It has an incompatible calling convention.
   2698 	    :
   2699 	  elif test $ac_prog = install &&
   2700 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2701 	    # program-specific install script used by HP pwplus--don't use.
   2702 	    :
   2703 	  else
   2704 	    rm -rf conftest.one conftest.two conftest.dir
   2705 	    echo one > conftest.one
   2706 	    echo two > conftest.two
   2707 	    mkdir conftest.dir
   2708 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2709 	      test -s conftest.one && test -s conftest.two &&
   2710 	      test -s conftest.dir/conftest.one &&
   2711 	      test -s conftest.dir/conftest.two
   2712 	    then
   2713 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2714 	      break 3
   2715 	    fi
   2716 	  fi
   2717 	fi
   2718       done
   2719     done
   2720     ;;
   2721 esac
   2722 
   2723   done
   2724 IFS=$as_save_IFS
   2725 
   2726 rm -rf conftest.one conftest.two conftest.dir
   2727  ;;
   2728 esac
   2729 fi
   2730   if test ${ac_cv_path_install+y}; then
   2731     INSTALL=$ac_cv_path_install
   2732   else
   2733     # As a last resort, use the slow shell script.  Don't cache a
   2734     # value for INSTALL within a source directory, because that will
   2735     # break other packages using the cache if that directory is
   2736     # removed, or if the value is a relative name.
   2737     INSTALL=$ac_install_sh
   2738   fi
   2739 fi
   2740 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2741 printf '%s\n' "$INSTALL" >&6; }
   2742 
   2743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2744 # It thinks the first close brace ends the variable substitution.
   2745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2746 
   2747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2748 
   2749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2750 
   2751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2752 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2753 if test ${am_cv_sleep_fractional_seconds+y}
   2754 then :
   2755   printf %s "(cached) " >&6
   2756 else case e in #(
   2757   e) if sleep 0.001 2>/dev/null
   2758 then :
   2759   am_cv_sleep_fractional_seconds=yes
   2760 else case e in #(
   2761   e) am_cv_sleep_fractional_seconds=no ;;
   2762 esac
   2763 fi
   2764  ;;
   2765 esac
   2766 fi
   2767 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2768 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2769 
   2770 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2771 printf %s "checking filesystem timestamp resolution... " >&6; }
   2772 if test ${am_cv_filesystem_timestamp_resolution+y}
   2773 then :
   2774   printf %s "(cached) " >&6
   2775 else case e in #(
   2776   e) # Default to the worst case.
   2777 am_cv_filesystem_timestamp_resolution=2
   2778 
   2779 # Only try to go finer than 1 sec if sleep can do it.
   2780 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2781 # - 1 sec is not much of a win compared to 2 sec, and
   2782 # - it takes 2 seconds to perform the test whether 1 sec works.
   2783 #
   2784 # Instead, just use the default 2s on platforms that have 1s resolution,
   2785 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2786 # exchange for not incurring the 2s delay for running the test for all
   2787 # packages.
   2788 #
   2789 am_try_resolutions=
   2790 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2791   # Even a millisecond often causes a bunch of false positives,
   2792   # so just try a hundredth of a second. The time saved between .001 and
   2793   # .01 is not terribly consequential.
   2794   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2795 fi
   2796 
   2797 # In order to catch current-generation FAT out, we must *modify* files
   2798 # that already exist; the *creation* timestamp is finer.  Use names
   2799 # that make ls -t sort them differently when they have equal
   2800 # timestamps than when they have distinct timestamps, keeping
   2801 # in mind that ls -t prints the *newest* file first.
   2802 rm -f conftest.ts?
   2803 : > conftest.ts1
   2804 : > conftest.ts2
   2805 : > conftest.ts3
   2806 
   2807 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2808 # clobber the current shell's arguments. (Outer-level square brackets
   2809 # are removed by m4; they're present so that m4 does not expand
   2810 # <dollar><star>; be careful, easy to get confused.)
   2811 if (
   2812      set X `ls -t conftest.ts[12]` &&
   2813      {
   2814        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2815        test "$*" != "X conftest.ts2 conftest.ts1";
   2816      }
   2817 ); then :; else
   2818   # If neither matched, then we have a broken ls.  This can happen
   2819   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2820   # broken ls alias from the environment.  This has actually
   2821   # happened.  Such a system could not be considered "sane".
   2822   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2823   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2824 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2825 as_fn_error $? "ls -t produces unexpected output.
   2826 Make sure there is not a broken ls alias in your environment.
   2827 See 'config.log' for more details" "$LINENO" 5; }
   2828 fi
   2829 
   2830 for am_try_res in $am_try_resolutions; do
   2831   # Any one fine-grained sleep might happen to cross the boundary
   2832   # between two values of a coarser actual resolution, but if we do
   2833   # two fine-grained sleeps in a row, at least one of them will fall
   2834   # entirely within a coarse interval.
   2835   echo alpha > conftest.ts1
   2836   sleep $am_try_res
   2837   echo beta > conftest.ts2
   2838   sleep $am_try_res
   2839   echo gamma > conftest.ts3
   2840 
   2841   # We assume that 'ls -t' will make use of high-resolution
   2842   # timestamps if the operating system supports them at all.
   2843   if (set X `ls -t conftest.ts?` &&
   2844       test "$2" = conftest.ts3 &&
   2845       test "$3" = conftest.ts2 &&
   2846       test "$4" = conftest.ts1); then
   2847     #
   2848     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2849     # because we don't need to test make.
   2850     make_ok=true
   2851     if test $am_try_res != 1; then
   2852       # But if we've succeeded so far with a subsecond resolution, we
   2853       # have one more thing to check: make. It can happen that
   2854       # everything else supports the subsecond mtimes, but make doesn't;
   2855       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2856       # released under GPLv2). https://bugs.gnu.org/68808
   2857       #
   2858       # We test $MAKE if it is defined in the environment, else "make".
   2859       # It might get overridden later, but our hope is that in practice
   2860       # it does not matter: it is the system "make" which is (by far)
   2861       # the most likely to be broken, whereas if the user overrides it,
   2862       # probably they did so with a better, or at least not worse, make.
   2863       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2864       #
   2865       # Create a Makefile (real tab character here):
   2866       rm -f conftest.mk
   2867       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2868       echo '	touch conftest.ts2' >>conftest.mk
   2869       #
   2870       # Now, running
   2871       #   touch conftest.ts1; touch conftest.ts2; make
   2872       # should touch ts1 because ts2 is newer. This could happen by luck,
   2873       # but most often, it will fail if make's support is insufficient. So
   2874       # test for several consecutive successes.
   2875       #
   2876       # (We reuse conftest.ts[12] because we still want to modify existing
   2877       # files, not create new ones, per above.)
   2878       n=0
   2879       make=${MAKE-make}
   2880       until test $n -eq 3; do
   2881         echo one > conftest.ts1
   2882         sleep $am_try_res
   2883         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2884         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2885           make_ok=false
   2886           break # out of $n loop
   2887         fi
   2888         n=`expr $n + 1`
   2889       done
   2890     fi
   2891     #
   2892     if $make_ok; then
   2893       # Everything we know to check worked out, so call this resolution good.
   2894       am_cv_filesystem_timestamp_resolution=$am_try_res
   2895       break # out of $am_try_res loop
   2896     fi
   2897     # Otherwise, we'll go on to check the next resolution.
   2898   fi
   2899 done
   2900 rm -f conftest.ts?
   2901 # (end _am_filesystem_timestamp_resolution)
   2902  ;;
   2903 esac
   2904 fi
   2905 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2906 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   2907 
   2908 # This check should not be cached, as it may vary across builds of
   2909 # different projects.
   2910 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2911 printf %s "checking whether build environment is sane... " >&6; }
   2912 # Reject unsafe characters in $srcdir or the absolute working directory
   2913 # name.  Accept space and tab only in the latter.
   2914 am_lf='
   2915 '
   2916 case `pwd` in
   2917   *[\\\"\#\$\&\'\`$am_lf]*)
   2918     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2919 printf '%s\n' "no" >&6; }
   2920     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2921 esac
   2922 case $srcdir in
   2923   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2924     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 printf '%s\n' "no" >&6; }
   2926     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2927 esac
   2928 
   2929 # Do 'set' in a subshell so we don't clobber the current shell's
   2930 # arguments.  Must try -L first in case configure is actually a
   2931 # symlink; some systems play weird games with the mod time of symlinks
   2932 # (eg FreeBSD returns the mod time of the symlink's containing
   2933 # directory).
   2934 am_build_env_is_sane=no
   2935 am_has_slept=no
   2936 rm -f conftest.file
   2937 for am_try in 1 2; do
   2938   echo "timestamp, slept: $am_has_slept" > conftest.file
   2939   if (
   2940     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2941     if test "$*" = "X"; then
   2942       # -L didn't work.
   2943       set X `ls -t "$srcdir/configure" conftest.file`
   2944     fi
   2945     test "$2" = conftest.file
   2946   ); then
   2947     am_build_env_is_sane=yes
   2948     break
   2949   fi
   2950   # Just in case.
   2951   sleep "$am_cv_filesystem_timestamp_resolution"
   2952   am_has_slept=yes
   2953 done
   2954 
   2955 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2956 printf '%s\n' "$am_build_env_is_sane" >&6; }
   2957 if test "$am_build_env_is_sane" = no; then
   2958   as_fn_error $? "newly created file is older than distributed files!
   2959 Check your system clock" "$LINENO" 5
   2960 fi
   2961 
   2962 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2963 # generated files are strictly newer.
   2964 am_sleep_pid=
   2965 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2966 then :
   2967 
   2968 else case e in #(
   2969   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2970   am_sleep_pid=$!
   2971  ;;
   2972 esac
   2973 fi
   2974 
   2975 rm -f conftest.file
   2976 
   2977 test "$program_prefix" != NONE &&
   2978   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2979 # Use a double $ so make ignores it.
   2980 test "$program_suffix" != NONE &&
   2981   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2982 # Double any \ or $.
   2983 # By default was 's,x,x', remove it if useless.
   2984 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2985 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   2986 
   2987 
   2988 # Expand $ac_aux_dir to an absolute path.
   2989 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2990 
   2991 
   2992   if test x"${MISSING+set}" != xset; then
   2993   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2994 fi
   2995 # Use eval to expand $SHELL
   2996 if eval "$MISSING --is-lightweight"; then
   2997   am_missing_run="$MISSING "
   2998 else
   2999   am_missing_run=
   3000   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3001 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3002 fi
   3003 
   3004 if test x"${install_sh+set}" != xset; then
   3005   case $am_aux_dir in
   3006   *\ * | *\	*)
   3007     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3008   *)
   3009     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3010   esac
   3011 fi
   3012 
   3013 # Installed binaries are usually stripped using 'strip' when the user
   3014 # run "make install-strip".  However 'strip' might not be the right
   3015 # tool to use in cross-compilation environments, therefore Automake
   3016 # will honor the 'STRIP' environment variable to overrule this program.
   3017 if test "$cross_compiling" != no; then
   3018   if test -n "$ac_tool_prefix"; then
   3019   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3020 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3021 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3022 printf %s "checking for $ac_word... " >&6; }
   3023 if test ${ac_cv_prog_STRIP+y}
   3024 then :
   3025   printf %s "(cached) " >&6
   3026 else case e in #(
   3027   e) if test -n "$STRIP"; then
   3028   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3029 else
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   case $as_dir in #(((
   3035     '') as_dir=./ ;;
   3036     */) ;;
   3037     *) as_dir=$as_dir/ ;;
   3038   esac
   3039     for ac_exec_ext in '' $ac_executable_extensions; do
   3040   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3041     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3042     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3043     break 2
   3044   fi
   3045 done
   3046   done
   3047 IFS=$as_save_IFS
   3048 
   3049 fi ;;
   3050 esac
   3051 fi
   3052 STRIP=$ac_cv_prog_STRIP
   3053 if test -n "$STRIP"; then
   3054   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3055 printf '%s\n' "$STRIP" >&6; }
   3056 else
   3057   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3058 printf '%s\n' "no" >&6; }
   3059 fi
   3060 
   3061 
   3062 fi
   3063 if test -z "$ac_cv_prog_STRIP"; then
   3064   ac_ct_STRIP=$STRIP
   3065   # Extract the first word of "strip", so it can be a program name with args.
   3066 set dummy strip; ac_word=$2
   3067 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3068 printf %s "checking for $ac_word... " >&6; }
   3069 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3070 then :
   3071   printf %s "(cached) " >&6
   3072 else case e in #(
   3073   e) if test -n "$ac_ct_STRIP"; then
   3074   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3075 else
   3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3077 for as_dir in $PATH
   3078 do
   3079   IFS=$as_save_IFS
   3080   case $as_dir in #(((
   3081     '') as_dir=./ ;;
   3082     */) ;;
   3083     *) as_dir=$as_dir/ ;;
   3084   esac
   3085     for ac_exec_ext in '' $ac_executable_extensions; do
   3086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3087     ac_cv_prog_ac_ct_STRIP="strip"
   3088     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3089     break 2
   3090   fi
   3091 done
   3092   done
   3093 IFS=$as_save_IFS
   3094 
   3095 fi ;;
   3096 esac
   3097 fi
   3098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3099 if test -n "$ac_ct_STRIP"; then
   3100   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3101 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3102 else
   3103   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3104 printf '%s\n' "no" >&6; }
   3105 fi
   3106 
   3107   if test "x$ac_ct_STRIP" = x; then
   3108     STRIP=":"
   3109   else
   3110     case $cross_compiling:$ac_tool_warned in
   3111 yes:)
   3112 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3113 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3114 ac_tool_warned=yes ;;
   3115 esac
   3116     STRIP=$ac_ct_STRIP
   3117   fi
   3118 else
   3119   STRIP="$ac_cv_prog_STRIP"
   3120 fi
   3121 
   3122 fi
   3123 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3124 
   3125 
   3126   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3127 printf %s "checking for a race-free mkdir -p... " >&6; }
   3128 if test -z "$MKDIR_P"; then
   3129   if test ${ac_cv_path_mkdir+y}
   3130 then :
   3131   printf %s "(cached) " >&6
   3132 else case e in #(
   3133   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3134 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3135 do
   3136   IFS=$as_save_IFS
   3137   case $as_dir in #(((
   3138     '') as_dir=./ ;;
   3139     */) ;;
   3140     *) as_dir=$as_dir/ ;;
   3141   esac
   3142     for ac_prog in mkdir gmkdir; do
   3143 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3144 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3145 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3146 	     'mkdir ('*'coreutils) '* | \
   3147 	     *'BusyBox '* | \
   3148 	     'mkdir (fileutils) '4.1*)
   3149 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3150 	       break 3;;
   3151 	   esac
   3152 	 done
   3153        done
   3154   done
   3155 IFS=$as_save_IFS
   3156  ;;
   3157 esac
   3158 fi
   3159 
   3160   test -d ./--version && rmdir ./--version
   3161   if test ${ac_cv_path_mkdir+y}; then
   3162     MKDIR_P="$ac_cv_path_mkdir -p"
   3163   else
   3164     # As a last resort, use plain mkdir -p,
   3165     # in the hope it doesn't have the bugs of ancient mkdir.
   3166     MKDIR_P='mkdir -p'
   3167   fi
   3168 fi
   3169 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3170 printf '%s\n' "$MKDIR_P" >&6; }
   3171 
   3172 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3173 do
   3174   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3175 set dummy $ac_prog; ac_word=$2
   3176 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3177 printf %s "checking for $ac_word... " >&6; }
   3178 if test ${ac_cv_prog_AWK+y}
   3179 then :
   3180   printf %s "(cached) " >&6
   3181 else case e in #(
   3182   e) if test -n "$AWK"; then
   3183   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3184 else
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH
   3187 do
   3188   IFS=$as_save_IFS
   3189   case $as_dir in #(((
   3190     '') as_dir=./ ;;
   3191     */) ;;
   3192     *) as_dir=$as_dir/ ;;
   3193   esac
   3194     for ac_exec_ext in '' $ac_executable_extensions; do
   3195   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3196     ac_cv_prog_AWK="$ac_prog"
   3197     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3198     break 2
   3199   fi
   3200 done
   3201   done
   3202 IFS=$as_save_IFS
   3203 
   3204 fi ;;
   3205 esac
   3206 fi
   3207 AWK=$ac_cv_prog_AWK
   3208 if test -n "$AWK"; then
   3209   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3210 printf '%s\n' "$AWK" >&6; }
   3211 else
   3212   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3213 printf '%s\n' "no" >&6; }
   3214 fi
   3215 
   3216 
   3217   test -n "$AWK" && break
   3218 done
   3219 
   3220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3221 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3222 set x ${MAKE-make}
   3223 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3224 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3225 then :
   3226   printf %s "(cached) " >&6
   3227 else case e in #(
   3228   e) cat >conftest.make <<\_ACEOF
   3229 SHELL = /bin/sh
   3230 all:
   3231 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3232 _ACEOF
   3233 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3235   *@@@%%%=?*=@@@%%%*)
   3236     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3237   *)
   3238     eval ac_cv_prog_make_${ac_make}_set=no;;
   3239 esac
   3240 rm -f conftest.make ;;
   3241 esac
   3242 fi
   3243 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3244   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3245 printf '%s\n' "yes" >&6; }
   3246   SET_MAKE=
   3247 else
   3248   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3249 printf '%s\n' "no" >&6; }
   3250   SET_MAKE="MAKE=${MAKE-make}"
   3251 fi
   3252 
   3253 rm -rf .tst 2>/dev/null
   3254 mkdir .tst 2>/dev/null
   3255 if test -d .tst; then
   3256   am__leading_dot=.
   3257 else
   3258   am__leading_dot=_
   3259 fi
   3260 rmdir .tst 2>/dev/null
   3261 
   3262 AM_DEFAULT_VERBOSITY=1
   3263 # Check whether --enable-silent-rules was given.
   3264 if test ${enable_silent_rules+y}
   3265 then :
   3266   enableval=$enable_silent_rules;
   3267 fi
   3268 
   3269 am_make=${MAKE-make}
   3270 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3271 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3272 if test ${am_cv_make_support_nested_variables+y}
   3273 then :
   3274   printf %s "(cached) " >&6
   3275 else case e in #(
   3276   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3277 BAR0=false
   3278 BAR1=true
   3279 V=1
   3280 am__doit:
   3281 	@$(TRUE)
   3282 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3283   am_cv_make_support_nested_variables=yes
   3284 else
   3285   am_cv_make_support_nested_variables=no
   3286 fi ;;
   3287 esac
   3288 fi
   3289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3290 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3291 AM_BACKSLASH='\'
   3292 
   3293 am__rm_f_notfound=
   3294 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3295 then :
   3296 
   3297 else case e in #(
   3298   e) am__rm_f_notfound='""' ;;
   3299 esac
   3300 fi
   3301 
   3302 
   3303 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3304 printf %s "checking xargs -n works... " >&6; }
   3305 if test ${am_cv_xargs_n_works+y}
   3306 then :
   3307   printf %s "(cached) " >&6
   3308 else case e in #(
   3309   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3310 3"
   3311 then :
   3312   am_cv_xargs_n_works=yes
   3313 else case e in #(
   3314   e) am_cv_xargs_n_works=no ;;
   3315 esac
   3316 fi ;;
   3317 esac
   3318 fi
   3319 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3320 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3321 if test "$am_cv_xargs_n_works" = yes
   3322 then :
   3323   am__xargs_n='xargs -n'
   3324 else case e in #(
   3325   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3326  ;;
   3327 esac
   3328 fi
   3329 
   3330 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3331   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3332   # is not polluted with repeated "-I."
   3333   am__isrc=' -I$(srcdir)'
   3334   # test to see if srcdir already configured
   3335   if test -f $srcdir/config.status; then
   3336     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3337   fi
   3338 fi
   3339 
   3340 # test whether we have cygpath
   3341 if test -z "$CYGPATH_W"; then
   3342   if (cygpath --version) >/dev/null 2>/dev/null; then
   3343     CYGPATH_W='cygpath -w'
   3344   else
   3345     CYGPATH_W=echo
   3346   fi
   3347 fi
   3348 
   3349 
   3350 # Define the identity of the package.
   3351  PACKAGE='editres'
   3352  VERSION='1.1.1'
   3353 
   3354 
   3355 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3356 
   3357 
   3358 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3359 
   3360 # Some tools Automake needs.
   3361 
   3362 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3363 
   3364 
   3365 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3366 
   3367 
   3368 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3369 
   3370 
   3371 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3372 
   3373 
   3374 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3375 
   3376 # For better backward compatibility.  To be removed once Automake 1.9.x
   3377 # dies out for good.  For more background, see:
   3378 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3379 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3380 mkdir_p='$(MKDIR_P)'
   3381 
   3382 # We need awk for the "check" target (and possibly the TAP driver).  The
   3383 # system "awk" is bad on some platforms.
   3384 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3385 # in the wild :-(  We should find a proper way to deprecate it ...
   3386 AMTAR='$${TAR-tar}'
   3387 
   3388 
   3389 # We'll loop over all known methods to create a tar archive until one works.
   3390 _am_tools='gnutar plaintar pax cpio none'
   3391 
   3392 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3393       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3394       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3395       # and bug#13588).
   3396       am_max_uid=2097151 # 2^21 - 1
   3397       am_max_gid=$am_max_uid
   3398       # The $UID and $GID variables are not portable, so we need to resort
   3399       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3400       # below are definitely unexpected, so allow the users to see them
   3401       # (that is, avoid stderr redirection).
   3402       am_uid=`id -u || echo unknown`
   3403       am_gid=`id -g || echo unknown`
   3404       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3405 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3406       if test x$am_uid = xunknown; then
   3407         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3408 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3409       elif test $am_uid -le $am_max_uid; then
   3410         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3411 printf '%s\n' "yes" >&6; }
   3412       else
   3413         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3414 printf '%s\n' "no" >&6; }
   3415         _am_tools=none
   3416       fi
   3417       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3418 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3419       if test x$gm_gid = xunknown; then
   3420         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3421 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3422       elif test $am_gid -le $am_max_gid; then
   3423         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3424 printf '%s\n' "yes" >&6; }
   3425       else
   3426         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3427 printf '%s\n' "no" >&6; }
   3428         _am_tools=none
   3429       fi
   3430 
   3431   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3432 printf %s "checking how to create a ustar tar archive... " >&6; }
   3433 
   3434   # Go ahead even if we have the value already cached.  We do so because we
   3435   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3436   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3437 
   3438   for _am_tool in $_am_tools; do
   3439     case $_am_tool in
   3440     gnutar)
   3441       for _am_tar in tar gnutar gtar; do
   3442         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3443    ($_am_tar --version) >&5 2>&5
   3444    ac_status=$?
   3445    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3446    (exit $ac_status); } && break
   3447       done
   3448       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3449       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3450       am__untar="$_am_tar -xf -"
   3451       ;;
   3452     plaintar)
   3453       # Must skip GNU tar: if it does not support --format= it doesn't create
   3454       # ustar tarball either.
   3455       (tar --version) >/dev/null 2>&1 && continue
   3456       am__tar='tar chf - "$$tardir"'
   3457       am__tar_='tar chf - "$tardir"'
   3458       am__untar='tar xf -'
   3459       ;;
   3460     pax)
   3461       am__tar='pax -L -x ustar -w "$$tardir"'
   3462       am__tar_='pax -L -x ustar -w "$tardir"'
   3463       am__untar='pax -r'
   3464       ;;
   3465     cpio)
   3466       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3467       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3468       am__untar='cpio -i -H ustar -d'
   3469       ;;
   3470     none)
   3471       am__tar=false
   3472       am__tar_=false
   3473       am__untar=false
   3474       ;;
   3475     esac
   3476 
   3477     # If the value was cached, stop now.  We just wanted to have am__tar
   3478     # and am__untar set.
   3479     test -n "${am_cv_prog_tar_ustar}" && break
   3480 
   3481     # tar/untar a dummy directory, and stop if the command works.
   3482     rm -rf conftest.dir
   3483     mkdir conftest.dir
   3484     echo GrepMe > conftest.dir/file
   3485     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3486    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3487    ac_status=$?
   3488    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3489    (exit $ac_status); }
   3490     rm -rf conftest.dir
   3491     if test -s conftest.tar; then
   3492       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3493    ($am__untar <conftest.tar) >&5 2>&5
   3494    ac_status=$?
   3495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3496    (exit $ac_status); }
   3497       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3498    (cat conftest.dir/file) >&5 2>&5
   3499    ac_status=$?
   3500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3501    (exit $ac_status); }
   3502       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3503     fi
   3504   done
   3505   rm -rf conftest.dir
   3506 
   3507   if test ${am_cv_prog_tar_ustar+y}
   3508 then :
   3509   printf %s "(cached) " >&6
   3510 else case e in #(
   3511   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3512 esac
   3513 fi
   3514 
   3515   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3516 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3517 
   3518 
   3519 
   3520 
   3521 
   3522 # Variables for tags utilities; see am/tags.am
   3523 if test -z "$CTAGS"; then
   3524   CTAGS=ctags
   3525 fi
   3526 
   3527 if test -z "$ETAGS"; then
   3528   ETAGS=etags
   3529 fi
   3530 
   3531 if test -z "$CSCOPE"; then
   3532   CSCOPE=cscope
   3533 fi
   3534 
   3535 
   3536 
   3537 
   3538 
   3539 
   3540 
   3541 
   3542 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3543 
   3544 
   3545 
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 
   3557 
   3558 
   3559 
   3560 
   3561 
   3562 
   3563 
   3564 
   3565 
   3566 DEPDIR="${am__leading_dot}deps"
   3567 
   3568 ac_config_commands="$ac_config_commands depfiles"
   3569 
   3570 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3571 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3572 cat > confinc.mk << 'END'
   3573 am__doit:
   3574 	@echo this is the am__doit target >confinc.out
   3575 .PHONY: am__doit
   3576 END
   3577 am__include="#"
   3578 am__quote=
   3579 # BSD make does it like this.
   3580 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3581 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3582 echo 'include confinc.mk # ignored' > confmf.GNU
   3583 _am_result=no
   3584 for s in GNU BSD; do
   3585   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3586    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3587    ac_status=$?
   3588    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3589    (exit $ac_status); }
   3590   case $?:`cat confinc.out 2>/dev/null` in #(
   3591   '0:this is the am__doit target') :
   3592     case $s in #(
   3593   BSD) :
   3594     am__include='.include' am__quote='"' ;; #(
   3595   *) :
   3596     am__include='include' am__quote='' ;;
   3597 esac ;; #(
   3598   *) :
   3599      ;;
   3600 esac
   3601   if test "$am__include" != "#"; then
   3602     _am_result="yes ($s style)"
   3603     break
   3604   fi
   3605 done
   3606 rm -f confinc.* confmf.*
   3607 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3608 printf '%s\n' "${_am_result}" >&6; }
   3609 
   3610 # Check whether --enable-dependency-tracking was given.
   3611 if test ${enable_dependency_tracking+y}
   3612 then :
   3613   enableval=$enable_dependency_tracking;
   3614 fi
   3615 
   3616 if test "x$enable_dependency_tracking" != xno; then
   3617   am_depcomp="$ac_aux_dir/depcomp"
   3618   AMDEPBACKSLASH='\'
   3619   am__nodep='_no'
   3620 fi
   3621  if test "x$enable_dependency_tracking" != xno; then
   3622   AMDEP_TRUE=
   3623   AMDEP_FALSE='#'
   3624 else
   3625   AMDEP_TRUE='#'
   3626   AMDEP_FALSE=
   3627 fi
   3628 
   3629 
   3630 ac_ext=c
   3631 ac_cpp='$CPP $CPPFLAGS'
   3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3635 if test -n "$ac_tool_prefix"; then
   3636   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3638 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3639 printf %s "checking for $ac_word... " >&6; }
   3640 if test ${ac_cv_prog_CC+y}
   3641 then :
   3642   printf %s "(cached) " >&6
   3643 else case e in #(
   3644   e) if test -n "$CC"; then
   3645   ac_cv_prog_CC="$CC" # Let the user override the test.
   3646 else
   3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3648 for as_dir in $PATH
   3649 do
   3650   IFS=$as_save_IFS
   3651   case $as_dir in #(((
   3652     '') as_dir=./ ;;
   3653     */) ;;
   3654     *) as_dir=$as_dir/ ;;
   3655   esac
   3656     for ac_exec_ext in '' $ac_executable_extensions; do
   3657   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3658     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3659     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3660     break 2
   3661   fi
   3662 done
   3663   done
   3664 IFS=$as_save_IFS
   3665 
   3666 fi ;;
   3667 esac
   3668 fi
   3669 CC=$ac_cv_prog_CC
   3670 if test -n "$CC"; then
   3671   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3672 printf '%s\n' "$CC" >&6; }
   3673 else
   3674   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3675 printf '%s\n' "no" >&6; }
   3676 fi
   3677 
   3678 
   3679 fi
   3680 if test -z "$ac_cv_prog_CC"; then
   3681   ac_ct_CC=$CC
   3682   # Extract the first word of "gcc", so it can be a program name with args.
   3683 set dummy gcc; ac_word=$2
   3684 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3685 printf %s "checking for $ac_word... " >&6; }
   3686 if test ${ac_cv_prog_ac_ct_CC+y}
   3687 then :
   3688   printf %s "(cached) " >&6
   3689 else case e in #(
   3690   e) if test -n "$ac_ct_CC"; then
   3691   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3692 else
   3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3694 for as_dir in $PATH
   3695 do
   3696   IFS=$as_save_IFS
   3697   case $as_dir in #(((
   3698     '') as_dir=./ ;;
   3699     */) ;;
   3700     *) as_dir=$as_dir/ ;;
   3701   esac
   3702     for ac_exec_ext in '' $ac_executable_extensions; do
   3703   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3704     ac_cv_prog_ac_ct_CC="gcc"
   3705     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3706     break 2
   3707   fi
   3708 done
   3709   done
   3710 IFS=$as_save_IFS
   3711 
   3712 fi ;;
   3713 esac
   3714 fi
   3715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3716 if test -n "$ac_ct_CC"; then
   3717   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3718 printf '%s\n' "$ac_ct_CC" >&6; }
   3719 else
   3720   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3721 printf '%s\n' "no" >&6; }
   3722 fi
   3723 
   3724   if test "x$ac_ct_CC" = x; then
   3725     CC=""
   3726   else
   3727     case $cross_compiling:$ac_tool_warned in
   3728 yes:)
   3729 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3730 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3731 ac_tool_warned=yes ;;
   3732 esac
   3733     CC=$ac_ct_CC
   3734   fi
   3735 else
   3736   CC="$ac_cv_prog_CC"
   3737 fi
   3738 
   3739 if test -z "$CC"; then
   3740           if test -n "$ac_tool_prefix"; then
   3741     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3742 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3744 printf %s "checking for $ac_word... " >&6; }
   3745 if test ${ac_cv_prog_CC+y}
   3746 then :
   3747   printf %s "(cached) " >&6
   3748 else case e in #(
   3749   e) if test -n "$CC"; then
   3750   ac_cv_prog_CC="$CC" # Let the user override the test.
   3751 else
   3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3753 for as_dir in $PATH
   3754 do
   3755   IFS=$as_save_IFS
   3756   case $as_dir in #(((
   3757     '') as_dir=./ ;;
   3758     */) ;;
   3759     *) as_dir=$as_dir/ ;;
   3760   esac
   3761     for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3763     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3764     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3765     break 2
   3766   fi
   3767 done
   3768   done
   3769 IFS=$as_save_IFS
   3770 
   3771 fi ;;
   3772 esac
   3773 fi
   3774 CC=$ac_cv_prog_CC
   3775 if test -n "$CC"; then
   3776   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3777 printf '%s\n' "$CC" >&6; }
   3778 else
   3779   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3780 printf '%s\n' "no" >&6; }
   3781 fi
   3782 
   3783 
   3784   fi
   3785 fi
   3786 if test -z "$CC"; then
   3787   # Extract the first word of "cc", so it can be a program name with args.
   3788 set dummy cc; ac_word=$2
   3789 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3790 printf %s "checking for $ac_word... " >&6; }
   3791 if test ${ac_cv_prog_CC+y}
   3792 then :
   3793   printf %s "(cached) " >&6
   3794 else case e in #(
   3795   e) if test -n "$CC"; then
   3796   ac_cv_prog_CC="$CC" # Let the user override the test.
   3797 else
   3798   ac_prog_rejected=no
   3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3800 for as_dir in $PATH
   3801 do
   3802   IFS=$as_save_IFS
   3803   case $as_dir in #(((
   3804     '') as_dir=./ ;;
   3805     */) ;;
   3806     *) as_dir=$as_dir/ ;;
   3807   esac
   3808     for ac_exec_ext in '' $ac_executable_extensions; do
   3809   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3810     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3811        ac_prog_rejected=yes
   3812        continue
   3813      fi
   3814     ac_cv_prog_CC="cc"
   3815     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3816     break 2
   3817   fi
   3818 done
   3819   done
   3820 IFS=$as_save_IFS
   3821 
   3822 if test $ac_prog_rejected = yes; then
   3823   # We found a bogon in the path, so make sure we never use it.
   3824   set dummy $ac_cv_prog_CC
   3825   shift
   3826   if test $# != 0; then
   3827     # We chose a different compiler from the bogus one.
   3828     # However, it has the same basename, so the bogon will be chosen
   3829     # first if we set CC to just the basename; use the full file name.
   3830     shift
   3831     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3832   fi
   3833 fi
   3834 fi ;;
   3835 esac
   3836 fi
   3837 CC=$ac_cv_prog_CC
   3838 if test -n "$CC"; then
   3839   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3840 printf '%s\n' "$CC" >&6; }
   3841 else
   3842   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3843 printf '%s\n' "no" >&6; }
   3844 fi
   3845 
   3846 
   3847 fi
   3848 if test -z "$CC"; then
   3849   if test -n "$ac_tool_prefix"; then
   3850   for ac_prog in cl.exe
   3851   do
   3852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3855 printf %s "checking for $ac_word... " >&6; }
   3856 if test ${ac_cv_prog_CC+y}
   3857 then :
   3858   printf %s "(cached) " >&6
   3859 else case e in #(
   3860   e) if test -n "$CC"; then
   3861   ac_cv_prog_CC="$CC" # Let the user override the test.
   3862 else
   3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3864 for as_dir in $PATH
   3865 do
   3866   IFS=$as_save_IFS
   3867   case $as_dir in #(((
   3868     '') as_dir=./ ;;
   3869     */) ;;
   3870     *) as_dir=$as_dir/ ;;
   3871   esac
   3872     for ac_exec_ext in '' $ac_executable_extensions; do
   3873   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3874     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3875     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3876     break 2
   3877   fi
   3878 done
   3879   done
   3880 IFS=$as_save_IFS
   3881 
   3882 fi ;;
   3883 esac
   3884 fi
   3885 CC=$ac_cv_prog_CC
   3886 if test -n "$CC"; then
   3887   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3888 printf '%s\n' "$CC" >&6; }
   3889 else
   3890   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3891 printf '%s\n' "no" >&6; }
   3892 fi
   3893 
   3894 
   3895     test -n "$CC" && break
   3896   done
   3897 fi
   3898 if test -z "$CC"; then
   3899   ac_ct_CC=$CC
   3900   for ac_prog in cl.exe
   3901 do
   3902   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3903 set dummy $ac_prog; ac_word=$2
   3904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3905 printf %s "checking for $ac_word... " >&6; }
   3906 if test ${ac_cv_prog_ac_ct_CC+y}
   3907 then :
   3908   printf %s "(cached) " >&6
   3909 else case e in #(
   3910   e) if test -n "$ac_ct_CC"; then
   3911   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3912 else
   3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3914 for as_dir in $PATH
   3915 do
   3916   IFS=$as_save_IFS
   3917   case $as_dir in #(((
   3918     '') as_dir=./ ;;
   3919     */) ;;
   3920     *) as_dir=$as_dir/ ;;
   3921   esac
   3922     for ac_exec_ext in '' $ac_executable_extensions; do
   3923   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3924     ac_cv_prog_ac_ct_CC="$ac_prog"
   3925     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3926     break 2
   3927   fi
   3928 done
   3929   done
   3930 IFS=$as_save_IFS
   3931 
   3932 fi ;;
   3933 esac
   3934 fi
   3935 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3936 if test -n "$ac_ct_CC"; then
   3937   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3938 printf '%s\n' "$ac_ct_CC" >&6; }
   3939 else
   3940   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3941 printf '%s\n' "no" >&6; }
   3942 fi
   3943 
   3944 
   3945   test -n "$ac_ct_CC" && break
   3946 done
   3947 
   3948   if test "x$ac_ct_CC" = x; then
   3949     CC=""
   3950   else
   3951     case $cross_compiling:$ac_tool_warned in
   3952 yes:)
   3953 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3954 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3955 ac_tool_warned=yes ;;
   3956 esac
   3957     CC=$ac_ct_CC
   3958   fi
   3959 fi
   3960 
   3961 fi
   3962 if test -z "$CC"; then
   3963   if test -n "$ac_tool_prefix"; then
   3964   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3965 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3966 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3967 printf %s "checking for $ac_word... " >&6; }
   3968 if test ${ac_cv_prog_CC+y}
   3969 then :
   3970   printf %s "(cached) " >&6
   3971 else case e in #(
   3972   e) if test -n "$CC"; then
   3973   ac_cv_prog_CC="$CC" # Let the user override the test.
   3974 else
   3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3976 for as_dir in $PATH
   3977 do
   3978   IFS=$as_save_IFS
   3979   case $as_dir in #(((
   3980     '') as_dir=./ ;;
   3981     */) ;;
   3982     *) as_dir=$as_dir/ ;;
   3983   esac
   3984     for ac_exec_ext in '' $ac_executable_extensions; do
   3985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3986     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3987     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3988     break 2
   3989   fi
   3990 done
   3991   done
   3992 IFS=$as_save_IFS
   3993 
   3994 fi ;;
   3995 esac
   3996 fi
   3997 CC=$ac_cv_prog_CC
   3998 if test -n "$CC"; then
   3999   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4000 printf '%s\n' "$CC" >&6; }
   4001 else
   4002   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4003 printf '%s\n' "no" >&6; }
   4004 fi
   4005 
   4006 
   4007 fi
   4008 if test -z "$ac_cv_prog_CC"; then
   4009   ac_ct_CC=$CC
   4010   # Extract the first word of "clang", so it can be a program name with args.
   4011 set dummy clang; ac_word=$2
   4012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4013 printf %s "checking for $ac_word... " >&6; }
   4014 if test ${ac_cv_prog_ac_ct_CC+y}
   4015 then :
   4016   printf %s "(cached) " >&6
   4017 else case e in #(
   4018   e) if test -n "$ac_ct_CC"; then
   4019   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4020 else
   4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4022 for as_dir in $PATH
   4023 do
   4024   IFS=$as_save_IFS
   4025   case $as_dir in #(((
   4026     '') as_dir=./ ;;
   4027     */) ;;
   4028     *) as_dir=$as_dir/ ;;
   4029   esac
   4030     for ac_exec_ext in '' $ac_executable_extensions; do
   4031   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4032     ac_cv_prog_ac_ct_CC="clang"
   4033     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4034     break 2
   4035   fi
   4036 done
   4037   done
   4038 IFS=$as_save_IFS
   4039 
   4040 fi ;;
   4041 esac
   4042 fi
   4043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4044 if test -n "$ac_ct_CC"; then
   4045   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4046 printf '%s\n' "$ac_ct_CC" >&6; }
   4047 else
   4048   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4049 printf '%s\n' "no" >&6; }
   4050 fi
   4051 
   4052   if test "x$ac_ct_CC" = x; then
   4053     CC=""
   4054   else
   4055     case $cross_compiling:$ac_tool_warned in
   4056 yes:)
   4057 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4058 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4059 ac_tool_warned=yes ;;
   4060 esac
   4061     CC=$ac_ct_CC
   4062   fi
   4063 else
   4064   CC="$ac_cv_prog_CC"
   4065 fi
   4066 
   4067 fi
   4068 
   4069 
   4070 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4071 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4072 as_fn_error $? "no acceptable C compiler found in \$PATH
   4073 See 'config.log' for more details" "$LINENO" 5; }
   4074 
   4075 # Provide some information about the compiler.
   4076 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4077 set X $ac_compile
   4078 ac_compiler=$2
   4079 for ac_option in --version -v -V -qversion -version; do
   4080   { { ac_try="$ac_compiler $ac_option >&5"
   4081 case "(($ac_try" in
   4082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4083   *) ac_try_echo=$ac_try;;
   4084 esac
   4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4086 printf '%s\n' "$ac_try_echo"; } >&5
   4087   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4088   ac_status=$?
   4089   if test -s conftest.err; then
   4090     sed '10a\
   4091 ... rest of stderr output deleted ...
   4092          10q' conftest.err >conftest.er1
   4093     cat conftest.er1 >&5
   4094   fi
   4095   rm -f conftest.er1 conftest.err
   4096   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4097   test $ac_status = 0; }
   4098 done
   4099 
   4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4101 /* end confdefs.h.  */
   4102 
   4103 int
   4104 main (void)
   4105 {
   4106 
   4107   ;
   4108   return 0;
   4109 }
   4110 _ACEOF
   4111 ac_clean_files_save=$ac_clean_files
   4112 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4113 # Try to create an executable without -o first, disregard a.out.
   4114 # It will help us diagnose broken compilers, and finding out an intuition
   4115 # of exeext.
   4116 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4117 printf %s "checking whether the C compiler works... " >&6; }
   4118 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4119 
   4120 # The possible output files:
   4121 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4122 
   4123 ac_rmfiles=
   4124 for ac_file in $ac_files
   4125 do
   4126   case $ac_file in
   4127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4128     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4129   esac
   4130 done
   4131 rm -f $ac_rmfiles
   4132 
   4133 if { { ac_try="$ac_link_default"
   4134 case "(($ac_try" in
   4135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4136   *) ac_try_echo=$ac_try;;
   4137 esac
   4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4139 printf '%s\n' "$ac_try_echo"; } >&5
   4140   (eval "$ac_link_default") 2>&5
   4141   ac_status=$?
   4142   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4143   test $ac_status = 0; }
   4144 then :
   4145   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4146 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4147 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4148 # so that the user can short-circuit this test for compilers unknown to
   4149 # Autoconf.
   4150 for ac_file in $ac_files ''
   4151 do
   4152   test -f "$ac_file" || continue
   4153   case $ac_file in
   4154     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4155 	;;
   4156     [ab].out )
   4157 	# We found the default executable, but exeext='' is most
   4158 	# certainly right.
   4159 	break;;
   4160     *.* )
   4161 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4162 	then :; else
   4163 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4164 	fi
   4165 	# We set ac_cv_exeext here because the later test for it is not
   4166 	# safe: cross compilers may not add the suffix if given an '-o'
   4167 	# argument, so we may need to know it at that point already.
   4168 	# Even if this section looks crufty: it has the advantage of
   4169 	# actually working.
   4170 	break;;
   4171     * )
   4172 	break;;
   4173   esac
   4174 done
   4175 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4176 
   4177 else case e in #(
   4178   e) ac_file='' ;;
   4179 esac
   4180 fi
   4181 if test -z "$ac_file"
   4182 then :
   4183   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4184 printf '%s\n' "no" >&6; }
   4185 printf '%s\n' "$as_me: failed program was:" >&5
   4186 sed 's/^/| /' conftest.$ac_ext >&5
   4187 
   4188 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4189 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4190 as_fn_error 77 "C compiler cannot create executables
   4191 See 'config.log' for more details" "$LINENO" 5; }
   4192 else case e in #(
   4193   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4194 printf '%s\n' "yes" >&6; } ;;
   4195 esac
   4196 fi
   4197 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4198 printf %s "checking for C compiler default output file name... " >&6; }
   4199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4200 printf '%s\n' "$ac_file" >&6; }
   4201 ac_exeext=$ac_cv_exeext
   4202 
   4203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4204 ac_clean_files=$ac_clean_files_save
   4205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4206 printf %s "checking for suffix of executables... " >&6; }
   4207 if { { ac_try="$ac_link"
   4208 case "(($ac_try" in
   4209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4210   *) ac_try_echo=$ac_try;;
   4211 esac
   4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4213 printf '%s\n' "$ac_try_echo"; } >&5
   4214   (eval "$ac_link") 2>&5
   4215   ac_status=$?
   4216   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4217   test $ac_status = 0; }
   4218 then :
   4219   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4220 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4221 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4222 # 'rm'.
   4223 for ac_file in conftest.exe conftest conftest.*; do
   4224   test -f "$ac_file" || continue
   4225   case $ac_file in
   4226     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4227     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4228 	  break;;
   4229     * ) break;;
   4230   esac
   4231 done
   4232 else case e in #(
   4233   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4234 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4235 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4236 See 'config.log' for more details" "$LINENO" 5; } ;;
   4237 esac
   4238 fi
   4239 rm -f conftest conftest$ac_cv_exeext
   4240 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4241 printf '%s\n' "$ac_cv_exeext" >&6; }
   4242 
   4243 rm -f conftest.$ac_ext
   4244 EXEEXT=$ac_cv_exeext
   4245 ac_exeext=$EXEEXT
   4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 #include <stdio.h>
   4249 int
   4250 main (void)
   4251 {
   4252 FILE *f = fopen ("conftest.out", "w");
   4253  if (!f)
   4254   return 1;
   4255  return ferror (f) || fclose (f) != 0;
   4256 
   4257   ;
   4258   return 0;
   4259 }
   4260 _ACEOF
   4261 ac_clean_files="$ac_clean_files conftest.out"
   4262 # Check that the compiler produces executables we can run.  If not, either
   4263 # the compiler is broken, or we cross compile.
   4264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4265 printf %s "checking whether we are cross compiling... " >&6; }
   4266 if test "$cross_compiling" != yes; then
   4267   { { ac_try="$ac_link"
   4268 case "(($ac_try" in
   4269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4270   *) ac_try_echo=$ac_try;;
   4271 esac
   4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4273 printf '%s\n' "$ac_try_echo"; } >&5
   4274   (eval "$ac_link") 2>&5
   4275   ac_status=$?
   4276   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4277   test $ac_status = 0; }
   4278   if { ac_try='./conftest$ac_cv_exeext'
   4279   { { case "(($ac_try" in
   4280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4281   *) ac_try_echo=$ac_try;;
   4282 esac
   4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4284 printf '%s\n' "$ac_try_echo"; } >&5
   4285   (eval "$ac_try") 2>&5
   4286   ac_status=$?
   4287   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4288   test $ac_status = 0; }; }; then
   4289     cross_compiling=no
   4290   else
   4291     if test "$cross_compiling" = maybe; then
   4292 	cross_compiling=yes
   4293     else
   4294 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4295 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4296 as_fn_error 77 "cannot run C compiled programs.
   4297 If you meant to cross compile, use '--host'.
   4298 See 'config.log' for more details" "$LINENO" 5; }
   4299     fi
   4300   fi
   4301 fi
   4302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4303 printf '%s\n' "$cross_compiling" >&6; }
   4304 
   4305 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4306   conftest.o conftest.obj conftest.out
   4307 ac_clean_files=$ac_clean_files_save
   4308 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4309 printf %s "checking for suffix of object files... " >&6; }
   4310 if test ${ac_cv_objext+y}
   4311 then :
   4312   printf %s "(cached) " >&6
   4313 else case e in #(
   4314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4315 /* end confdefs.h.  */
   4316 
   4317 int
   4318 main (void)
   4319 {
   4320 
   4321   ;
   4322   return 0;
   4323 }
   4324 _ACEOF
   4325 rm -f conftest.o conftest.obj
   4326 if { { ac_try="$ac_compile"
   4327 case "(($ac_try" in
   4328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4329   *) ac_try_echo=$ac_try;;
   4330 esac
   4331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4332 printf '%s\n' "$ac_try_echo"; } >&5
   4333   (eval "$ac_compile") 2>&5
   4334   ac_status=$?
   4335   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4336   test $ac_status = 0; }
   4337 then :
   4338   for ac_file in conftest.o conftest.obj conftest.*; do
   4339   test -f "$ac_file" || continue;
   4340   case $ac_file in
   4341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4342     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4343        break;;
   4344   esac
   4345 done
   4346 else case e in #(
   4347   e) printf '%s\n' "$as_me: failed program was:" >&5
   4348 sed 's/^/| /' conftest.$ac_ext >&5
   4349 
   4350 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4351 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4352 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4353 See 'config.log' for more details" "$LINENO" 5; } ;;
   4354 esac
   4355 fi
   4356 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4357 esac
   4358 fi
   4359 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4360 printf '%s\n' "$ac_cv_objext" >&6; }
   4361 OBJEXT=$ac_cv_objext
   4362 ac_objext=$OBJEXT
   4363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4364 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4365 if test ${ac_cv_c_compiler_gnu+y}
   4366 then :
   4367   printf %s "(cached) " >&6
   4368 else case e in #(
   4369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4370 /* end confdefs.h.  */
   4371 
   4372 int
   4373 main (void)
   4374 {
   4375 #ifndef __GNUC__
   4376        choke me
   4377 #endif
   4378 
   4379   ;
   4380   return 0;
   4381 }
   4382 _ACEOF
   4383 if ac_fn_c_try_compile "$LINENO"
   4384 then :
   4385   ac_compiler_gnu=yes
   4386 else case e in #(
   4387   e) ac_compiler_gnu=no ;;
   4388 esac
   4389 fi
   4390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4392  ;;
   4393 esac
   4394 fi
   4395 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4396 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4398 
   4399 if test $ac_compiler_gnu = yes; then
   4400   GCC=yes
   4401 else
   4402   GCC=
   4403 fi
   4404 ac_test_CFLAGS=${CFLAGS+y}
   4405 ac_save_CFLAGS=$CFLAGS
   4406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4407 printf %s "checking whether $CC accepts -g... " >&6; }
   4408 if test ${ac_cv_prog_cc_g+y}
   4409 then :
   4410   printf %s "(cached) " >&6
   4411 else case e in #(
   4412   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4413    ac_c_werror_flag=yes
   4414    ac_cv_prog_cc_g=no
   4415    CFLAGS="-g"
   4416    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4417 /* end confdefs.h.  */
   4418 
   4419 int
   4420 main (void)
   4421 {
   4422 
   4423   ;
   4424   return 0;
   4425 }
   4426 _ACEOF
   4427 if ac_fn_c_try_compile "$LINENO"
   4428 then :
   4429   ac_cv_prog_cc_g=yes
   4430 else case e in #(
   4431   e) CFLAGS=""
   4432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4433 /* end confdefs.h.  */
   4434 
   4435 int
   4436 main (void)
   4437 {
   4438 
   4439   ;
   4440   return 0;
   4441 }
   4442 _ACEOF
   4443 if ac_fn_c_try_compile "$LINENO"
   4444 then :
   4445 
   4446 else case e in #(
   4447   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4448 	 CFLAGS="-g"
   4449 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4450 /* end confdefs.h.  */
   4451 
   4452 int
   4453 main (void)
   4454 {
   4455 
   4456   ;
   4457   return 0;
   4458 }
   4459 _ACEOF
   4460 if ac_fn_c_try_compile "$LINENO"
   4461 then :
   4462   ac_cv_prog_cc_g=yes
   4463 fi
   4464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4465 esac
   4466 fi
   4467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4468 esac
   4469 fi
   4470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4471    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4472 esac
   4473 fi
   4474 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4475 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4476 if test $ac_test_CFLAGS; then
   4477   CFLAGS=$ac_save_CFLAGS
   4478 elif test $ac_cv_prog_cc_g = yes; then
   4479   if test "$GCC" = yes; then
   4480     CFLAGS="-g -O2"
   4481   else
   4482     CFLAGS="-g"
   4483   fi
   4484 else
   4485   if test "$GCC" = yes; then
   4486     CFLAGS="-O2"
   4487   else
   4488     CFLAGS=
   4489   fi
   4490 fi
   4491 ac_prog_cc_stdc=no
   4492 if test x$ac_prog_cc_stdc = xno
   4493 then :
   4494   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4495 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4496 if test ${ac_cv_prog_cc_c23+y}
   4497 then :
   4498   printf %s "(cached) " >&6
   4499 else case e in #(
   4500   e) ac_cv_prog_cc_c23=no
   4501 ac_save_CC=$CC
   4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4503 /* end confdefs.h.  */
   4504 $ac_c_conftest_c23_program
   4505 _ACEOF
   4506 for ac_arg in '' -std=gnu23
   4507 do
   4508   CC="$ac_save_CC $ac_arg"
   4509   if ac_fn_c_try_compile "$LINENO"
   4510 then :
   4511   ac_cv_prog_cc_c23=$ac_arg
   4512 fi
   4513 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4514   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4515 done
   4516 rm -f conftest.$ac_ext
   4517 CC=$ac_save_CC ;;
   4518 esac
   4519 fi
   4520 
   4521 if test "x$ac_cv_prog_cc_c23" = xno
   4522 then :
   4523   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4524 printf '%s\n' "unsupported" >&6; }
   4525 else case e in #(
   4526   e) if test "x$ac_cv_prog_cc_c23" = x
   4527 then :
   4528   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4529 printf '%s\n' "none needed" >&6; }
   4530 else case e in #(
   4531   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4532 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4533      CC="$CC $ac_cv_prog_cc_c23" ;;
   4534 esac
   4535 fi
   4536   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4537   ac_prog_cc_stdc=c23 ;;
   4538 esac
   4539 fi
   4540 fi
   4541 if test x$ac_prog_cc_stdc = xno
   4542 then :
   4543   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4544 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4545 if test ${ac_cv_prog_cc_c11+y}
   4546 then :
   4547   printf %s "(cached) " >&6
   4548 else case e in #(
   4549   e) ac_cv_prog_cc_c11=no
   4550 ac_save_CC=$CC
   4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4552 /* end confdefs.h.  */
   4553 $ac_c_conftest_c11_program
   4554 _ACEOF
   4555 for ac_arg in '' -std=gnu11 -std:c11
   4556 do
   4557   CC="$ac_save_CC $ac_arg"
   4558   if ac_fn_c_try_compile "$LINENO"
   4559 then :
   4560   ac_cv_prog_cc_c11=$ac_arg
   4561 fi
   4562 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4563   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4564 done
   4565 rm -f conftest.$ac_ext
   4566 CC=$ac_save_CC ;;
   4567 esac
   4568 fi
   4569 
   4570 if test "x$ac_cv_prog_cc_c11" = xno
   4571 then :
   4572   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4573 printf '%s\n' "unsupported" >&6; }
   4574 else case e in #(
   4575   e) if test "x$ac_cv_prog_cc_c11" = x
   4576 then :
   4577   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4578 printf '%s\n' "none needed" >&6; }
   4579 else case e in #(
   4580   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4581 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4582      CC="$CC $ac_cv_prog_cc_c11" ;;
   4583 esac
   4584 fi
   4585   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4586   ac_prog_cc_stdc=c11 ;;
   4587 esac
   4588 fi
   4589 fi
   4590 if test x$ac_prog_cc_stdc = xno
   4591 then :
   4592   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4593 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4594 if test ${ac_cv_prog_cc_c99+y}
   4595 then :
   4596   printf %s "(cached) " >&6
   4597 else case e in #(
   4598   e) ac_cv_prog_cc_c99=no
   4599 ac_save_CC=$CC
   4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4601 /* end confdefs.h.  */
   4602 $ac_c_conftest_c99_program
   4603 _ACEOF
   4604 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4605 do
   4606   CC="$ac_save_CC $ac_arg"
   4607   if ac_fn_c_try_compile "$LINENO"
   4608 then :
   4609   ac_cv_prog_cc_c99=$ac_arg
   4610 fi
   4611 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4612   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4613 done
   4614 rm -f conftest.$ac_ext
   4615 CC=$ac_save_CC ;;
   4616 esac
   4617 fi
   4618 
   4619 if test "x$ac_cv_prog_cc_c99" = xno
   4620 then :
   4621   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4622 printf '%s\n' "unsupported" >&6; }
   4623 else case e in #(
   4624   e) if test "x$ac_cv_prog_cc_c99" = x
   4625 then :
   4626   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4627 printf '%s\n' "none needed" >&6; }
   4628 else case e in #(
   4629   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4630 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4631      CC="$CC $ac_cv_prog_cc_c99" ;;
   4632 esac
   4633 fi
   4634   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4635   ac_prog_cc_stdc=c99 ;;
   4636 esac
   4637 fi
   4638 fi
   4639 if test x$ac_prog_cc_stdc = xno
   4640 then :
   4641   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4642 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4643 if test ${ac_cv_prog_cc_c89+y}
   4644 then :
   4645   printf %s "(cached) " >&6
   4646 else case e in #(
   4647   e) ac_cv_prog_cc_c89=no
   4648 ac_save_CC=$CC
   4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4650 /* end confdefs.h.  */
   4651 $ac_c_conftest_c89_program
   4652 _ACEOF
   4653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4654 do
   4655   CC="$ac_save_CC $ac_arg"
   4656   if ac_fn_c_try_compile "$LINENO"
   4657 then :
   4658   ac_cv_prog_cc_c89=$ac_arg
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4661   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4662 done
   4663 rm -f conftest.$ac_ext
   4664 CC=$ac_save_CC ;;
   4665 esac
   4666 fi
   4667 
   4668 if test "x$ac_cv_prog_cc_c89" = xno
   4669 then :
   4670   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4671 printf '%s\n' "unsupported" >&6; }
   4672 else case e in #(
   4673   e) if test "x$ac_cv_prog_cc_c89" = x
   4674 then :
   4675   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4676 printf '%s\n' "none needed" >&6; }
   4677 else case e in #(
   4678   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4679 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4680      CC="$CC $ac_cv_prog_cc_c89" ;;
   4681 esac
   4682 fi
   4683   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4684   ac_prog_cc_stdc=c89 ;;
   4685 esac
   4686 fi
   4687 fi
   4688 
   4689 ac_ext=c
   4690 ac_cpp='$CPP $CPPFLAGS'
   4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4694 
   4695 
   4696   ac_ext=c
   4697 ac_cpp='$CPP $CPPFLAGS'
   4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4702 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4703 if test ${am_cv_prog_cc_c_o+y}
   4704 then :
   4705   printf %s "(cached) " >&6
   4706 else case e in #(
   4707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4708 /* end confdefs.h.  */
   4709 
   4710 int
   4711 main (void)
   4712 {
   4713 
   4714   ;
   4715   return 0;
   4716 }
   4717 _ACEOF
   4718   # Make sure it works both with $CC and with simple cc.
   4719   # Following AC_PROG_CC_C_O, we do the test twice because some
   4720   # compilers refuse to overwrite an existing .o file with -o,
   4721   # though they will create one.
   4722   am_cv_prog_cc_c_o=yes
   4723   for am_i in 1 2; do
   4724     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4725    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4726    ac_status=$?
   4727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4728    (exit $ac_status); } \
   4729          && test -f conftest2.$ac_objext; then
   4730       : OK
   4731     else
   4732       am_cv_prog_cc_c_o=no
   4733       break
   4734     fi
   4735   done
   4736   # aligned with autoconf, so not including core; see bug#72225.
   4737   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4738     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4739     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4740   unset am_i ;;
   4741 esac
   4742 fi
   4743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4744 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4745 if test "$am_cv_prog_cc_c_o" != yes; then
   4746    # Losing compiler, so override with the script.
   4747    # FIXME: It is wrong to rewrite CC.
   4748    # But if we don't then we get into trouble of one sort or another.
   4749    # A longer-term fix would be to have automake use am__CC in this case,
   4750    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4751    CC="$am_aux_dir/compile $CC"
   4752 fi
   4753 ac_ext=c
   4754 ac_cpp='$CPP $CPPFLAGS'
   4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4758 
   4759 
   4760 depcc="$CC"   am_compiler_list=
   4761 
   4762 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4763 printf %s "checking dependency style of $depcc... " >&6; }
   4764 if test ${am_cv_CC_dependencies_compiler_type+y}
   4765 then :
   4766   printf %s "(cached) " >&6
   4767 else case e in #(
   4768   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4769   # We make a subdir and do the tests there.  Otherwise we can end up
   4770   # making bogus files that we don't know about and never remove.  For
   4771   # instance it was reported that on HP-UX the gcc test will end up
   4772   # making a dummy file named 'D' -- because '-MD' means "put the output
   4773   # in D".
   4774   rm -rf conftest.dir
   4775   mkdir conftest.dir
   4776   # Copy depcomp to subdir because otherwise we won't find it if we're
   4777   # using a relative directory.
   4778   cp "$am_depcomp" conftest.dir
   4779   cd conftest.dir
   4780   # We will build objects and dependencies in a subdirectory because
   4781   # it helps to detect inapplicable dependency modes.  For instance
   4782   # both Tru64's cc and ICC support -MD to output dependencies as a
   4783   # side effect of compilation, but ICC will put the dependencies in
   4784   # the current directory while Tru64 will put them in the object
   4785   # directory.
   4786   mkdir sub
   4787 
   4788   am_cv_CC_dependencies_compiler_type=none
   4789   if test "$am_compiler_list" = ""; then
   4790      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4791   fi
   4792   am__universal=false
   4793   case " $depcc " in #(
   4794      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4795      esac
   4796 
   4797   for depmode in $am_compiler_list; do
   4798     # Setup a source with many dependencies, because some compilers
   4799     # like to wrap large dependency lists on column 80 (with \), and
   4800     # we should not choose a depcomp mode which is confused by this.
   4801     #
   4802     # We need to recreate these files for each test, as the compiler may
   4803     # overwrite some of them when testing with obscure command lines.
   4804     # This happens at least with the AIX C compiler.
   4805     : > sub/conftest.c
   4806     for i in 1 2 3 4 5 6; do
   4807       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4808       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4809       # Solaris 10 /bin/sh.
   4810       echo '/* dummy */' > sub/conftst$i.h
   4811     done
   4812     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4813 
   4814     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4815     # mode.  It turns out that the SunPro C++ compiler does not properly
   4816     # handle '-M -o', and we need to detect this.  Also, some Intel
   4817     # versions had trouble with output in subdirs.
   4818     am__obj=sub/conftest.${OBJEXT-o}
   4819     am__minus_obj="-o $am__obj"
   4820     case $depmode in
   4821     gcc)
   4822       # This depmode causes a compiler race in universal mode.
   4823       test "$am__universal" = false || continue
   4824       ;;
   4825     nosideeffect)
   4826       # After this tag, mechanisms are not by side-effect, so they'll
   4827       # only be used when explicitly requested.
   4828       if test "x$enable_dependency_tracking" = xyes; then
   4829 	continue
   4830       else
   4831 	break
   4832       fi
   4833       ;;
   4834     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4835       # This compiler won't grok '-c -o', but also, the minuso test has
   4836       # not run yet.  These depmodes are late enough in the game, and
   4837       # so weak that their functioning should not be impacted.
   4838       am__obj=conftest.${OBJEXT-o}
   4839       am__minus_obj=
   4840       ;;
   4841     none) break ;;
   4842     esac
   4843     if depmode=$depmode \
   4844        source=sub/conftest.c object=$am__obj \
   4845        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4846        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4847          >/dev/null 2>conftest.err &&
   4848        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4849        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4850        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4851        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4852       # icc doesn't choke on unknown options, it will just issue warnings
   4853       # or remarks (even with -Werror).  So we grep stderr for any message
   4854       # that says an option was ignored or not supported.
   4855       # When given -MP, icc 7.0 and 7.1 complain thus:
   4856       #   icc: Command line warning: ignoring option '-M'; no argument required
   4857       # The diagnosis changed in icc 8.0:
   4858       #   icc: Command line remark: option '-MP' not supported
   4859       if (grep 'ignoring option' conftest.err ||
   4860           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4861         am_cv_CC_dependencies_compiler_type=$depmode
   4862         break
   4863       fi
   4864     fi
   4865   done
   4866 
   4867   cd ..
   4868   rm -rf conftest.dir
   4869 else
   4870   am_cv_CC_dependencies_compiler_type=none
   4871 fi
   4872  ;;
   4873 esac
   4874 fi
   4875 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4876 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   4877 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4878 
   4879  if
   4880   test "x$enable_dependency_tracking" != xno \
   4881   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4882   am__fastdepCC_TRUE=
   4883   am__fastdepCC_FALSE='#'
   4884 else
   4885   am__fastdepCC_TRUE='#'
   4886   am__fastdepCC_FALSE=
   4887 fi
   4888 
   4889 
   4890 
   4891 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4892 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4893 if test ${ac_cv_c_undeclared_builtin_options+y}
   4894 then :
   4895   printf %s "(cached) " >&6
   4896 else case e in #(
   4897   e) ac_save_CFLAGS=$CFLAGS
   4898    ac_cv_c_undeclared_builtin_options='cannot detect'
   4899    for ac_arg in '' -fno-builtin; do
   4900      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4901      # This test program should *not* compile successfully.
   4902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 
   4905 int
   4906 main (void)
   4907 {
   4908 (void) strchr;
   4909   ;
   4910   return 0;
   4911 }
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"
   4914 then :
   4915 
   4916 else case e in #(
   4917   e) # This test program should compile successfully.
   4918         # No library function is consistently available on
   4919         # freestanding implementations, so test against a dummy
   4920         # declaration.  Include always-available headers on the
   4921         # off chance that they somehow elicit warnings.
   4922         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4923 /* end confdefs.h.  */
   4924 #include <float.h>
   4925 #include <limits.h>
   4926 #include <stdarg.h>
   4927 #include <stddef.h>
   4928 extern void ac_decl (int, char *);
   4929 
   4930 int
   4931 main (void)
   4932 {
   4933 (void) ac_decl (0, (char *) 0);
   4934   (void) ac_decl;
   4935 
   4936   ;
   4937   return 0;
   4938 }
   4939 _ACEOF
   4940 if ac_fn_c_try_compile "$LINENO"
   4941 then :
   4942   if test x"$ac_arg" = x
   4943 then :
   4944   ac_cv_c_undeclared_builtin_options='none needed'
   4945 else case e in #(
   4946   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4947 esac
   4948 fi
   4949           break
   4950 fi
   4951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4952 esac
   4953 fi
   4954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4955     done
   4956     CFLAGS=$ac_save_CFLAGS
   4957    ;;
   4958 esac
   4959 fi
   4960 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4961 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4962   case $ac_cv_c_undeclared_builtin_options in #(
   4963   'cannot detect') :
   4964     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4965 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4966 as_fn_error $? "cannot make $CC report undeclared builtins
   4967 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4968   'none needed') :
   4969     ac_c_undeclared_builtin_options='' ;; #(
   4970   *) :
   4971     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4972 esac
   4973 
   4974 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4975 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4976 if test ${ac_cv_c_future_darwin_options+y}
   4977 then :
   4978   printf %s "(cached) " >&6
   4979 else case e in #(
   4980   e)       ac_compile_saved="$ac_compile"
   4981    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4982    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 #if ! (defined __APPLE__ && defined __MACH__)
   4985 	   #error "-Werror=unguarded-availability-new not needed here"
   4986 	  #endif
   4987 
   4988 int
   4989 main (void)
   4990 {
   4991 
   4992   ;
   4993   return 0;
   4994 }
   4995 _ACEOF
   4996 if ac_fn_c_try_compile "$LINENO"
   4997 then :
   4998   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4999 else case e in #(
   5000   e) ac_cv_c_future_darwin_options='none needed' ;;
   5001 esac
   5002 fi
   5003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5004    ac_compile="$ac_compile_saved"
   5005    ;;
   5006 esac
   5007 fi
   5008 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5009 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5010  case $ac_cv_c_future_darwin_options in #(
   5011   'none needed') :
   5012     ac_c_future_darwin_options='' ;; #(
   5013   *) :
   5014     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5015 esac
   5016 
   5017 ac_header= ac_cache=
   5018 for ac_item in $ac_header_c_list
   5019 do
   5020   if test $ac_cache; then
   5021     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5022     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5023       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5024     fi
   5025     ac_header= ac_cache=
   5026   elif test $ac_header; then
   5027     ac_cache=$ac_item
   5028   else
   5029     ac_header=$ac_item
   5030   fi
   5031 done
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5041 then :
   5042 
   5043 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5044 
   5045 fi
   5046 
   5047 
   5048 
   5049 
   5050 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"
   5051 if test "x$ac_cv_have_decl___clang__" = xyes
   5052 then :
   5053   CLANGCC="yes"
   5054 else case e in #(
   5055   e) CLANGCC="no" ;;
   5056 esac
   5057 fi
   5058 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"
   5059 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5060 then :
   5061   INTELCC="yes"
   5062 else case e in #(
   5063   e) INTELCC="no" ;;
   5064 esac
   5065 fi
   5066 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"
   5067 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5068 then :
   5069   SUNCC="yes"
   5070 else case e in #(
   5071   e) SUNCC="no" ;;
   5072 esac
   5073 fi
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5083 	if test -n "$ac_tool_prefix"; then
   5084   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5085 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5086 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5087 printf %s "checking for $ac_word... " >&6; }
   5088 if test ${ac_cv_path_PKG_CONFIG+y}
   5089 then :
   5090   printf %s "(cached) " >&6
   5091 else case e in #(
   5092   e) case $PKG_CONFIG in
   5093   [\\/]* | ?:[\\/]*)
   5094   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5095   ;;
   5096   *)
   5097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5098 for as_dir in $PATH
   5099 do
   5100   IFS=$as_save_IFS
   5101   case $as_dir in #(((
   5102     '') as_dir=./ ;;
   5103     */) ;;
   5104     *) as_dir=$as_dir/ ;;
   5105   esac
   5106     for ac_exec_ext in '' $ac_executable_extensions; do
   5107   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5108     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5109     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5110     break 2
   5111   fi
   5112 done
   5113   done
   5114 IFS=$as_save_IFS
   5115 
   5116   ;;
   5117 esac ;;
   5118 esac
   5119 fi
   5120 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5121 if test -n "$PKG_CONFIG"; then
   5122   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5123 printf '%s\n' "$PKG_CONFIG" >&6; }
   5124 else
   5125   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5126 printf '%s\n' "no" >&6; }
   5127 fi
   5128 
   5129 
   5130 fi
   5131 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5132   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5133   # Extract the first word of "pkg-config", so it can be a program name with args.
   5134 set dummy pkg-config; ac_word=$2
   5135 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5136 printf %s "checking for $ac_word... " >&6; }
   5137 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5138 then :
   5139   printf %s "(cached) " >&6
   5140 else case e in #(
   5141   e) case $ac_pt_PKG_CONFIG in
   5142   [\\/]* | ?:[\\/]*)
   5143   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5144   ;;
   5145   *)
   5146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5147 for as_dir in $PATH
   5148 do
   5149   IFS=$as_save_IFS
   5150   case $as_dir in #(((
   5151     '') as_dir=./ ;;
   5152     */) ;;
   5153     *) as_dir=$as_dir/ ;;
   5154   esac
   5155     for ac_exec_ext in '' $ac_executable_extensions; do
   5156   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5157     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5158     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5159     break 2
   5160   fi
   5161 done
   5162   done
   5163 IFS=$as_save_IFS
   5164 
   5165   ;;
   5166 esac ;;
   5167 esac
   5168 fi
   5169 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5170 if test -n "$ac_pt_PKG_CONFIG"; then
   5171   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5172 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5173 else
   5174   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5175 printf '%s\n' "no" >&6; }
   5176 fi
   5177 
   5178   if test "x$ac_pt_PKG_CONFIG" = x; then
   5179     PKG_CONFIG=""
   5180   else
   5181     case $cross_compiling:$ac_tool_warned in
   5182 yes:)
   5183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5184 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5185 ac_tool_warned=yes ;;
   5186 esac
   5187     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5188   fi
   5189 else
   5190   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5191 fi
   5192 
   5193 fi
   5194 if test -n "$PKG_CONFIG"; then
   5195 	_pkg_min_version=0.9.0
   5196 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5197 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5198 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5199 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5200 printf '%s\n' "yes" >&6; }
   5201 	else
   5202 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5203 printf '%s\n' "no" >&6; }
   5204 		PKG_CONFIG=""
   5205 	fi
   5206 fi
   5207 
   5208 
   5209   # Make sure we can run config.sub.
   5210 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5211   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5212 
   5213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5214 printf %s "checking build system type... " >&6; }
   5215 if test ${ac_cv_build+y}
   5216 then :
   5217   printf %s "(cached) " >&6
   5218 else case e in #(
   5219   e) ac_build_alias=$build_alias
   5220 test "x$ac_build_alias" = x &&
   5221   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5222 test "x$ac_build_alias" = x &&
   5223   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5224 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5225   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5226  ;;
   5227 esac
   5228 fi
   5229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5230 printf '%s\n' "$ac_cv_build" >&6; }
   5231 case $ac_cv_build in
   5232 *-*-*) ;;
   5233 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5234 esac
   5235 build=$ac_cv_build
   5236 ac_save_IFS=$IFS; IFS='-'
   5237 set x $ac_cv_build
   5238 shift
   5239 build_cpu=$1
   5240 build_vendor=$2
   5241 shift; shift
   5242 # Remember, the first character of IFS is used to create $*,
   5243 # except with old shells:
   5244 build_os=$*
   5245 IFS=$ac_save_IFS
   5246 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5247 
   5248 
   5249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5250 printf %s "checking host system type... " >&6; }
   5251 if test ${ac_cv_host+y}
   5252 then :
   5253   printf %s "(cached) " >&6
   5254 else case e in #(
   5255   e) if test "x$host_alias" = x; then
   5256   ac_cv_host=$ac_cv_build
   5257 else
   5258   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5259     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5260 fi
   5261  ;;
   5262 esac
   5263 fi
   5264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5265 printf '%s\n' "$ac_cv_host" >&6; }
   5266 case $ac_cv_host in
   5267 *-*-*) ;;
   5268 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5269 esac
   5270 host=$ac_cv_host
   5271 ac_save_IFS=$IFS; IFS='-'
   5272 set x $ac_cv_host
   5273 shift
   5274 host_cpu=$1
   5275 host_vendor=$2
   5276 shift; shift
   5277 # Remember, the first character of IFS is used to create $*,
   5278 # except with old shells:
   5279 host_os=$*
   5280 IFS=$ac_save_IFS
   5281 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5282 
   5283 
   5284 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5285 printf %s "checking for a sed that does not truncate output... " >&6; }
   5286 if test ${ac_cv_path_SED+y}
   5287 then :
   5288   printf %s "(cached) " >&6
   5289 else case e in #(
   5290   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5291      for ac_i in 1 2 3 4 5 6 7; do
   5292        ac_script="$ac_script$as_nl$ac_script"
   5293      done
   5294      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5295      { ac_script=; unset ac_script;}
   5296      if test -z "$SED"; then
   5297   ac_path_SED_found=false
   5298   # Loop through the user's path and test for each of PROGNAME-LIST
   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_prog in sed gsed
   5309    do
   5310     for ac_exec_ext in '' $ac_executable_extensions; do
   5311       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5312       as_fn_executable_p "$ac_path_SED" || continue
   5313 # Check for GNU ac_path_SED and select it if it is found.
   5314   # Check for GNU $ac_path_SED
   5315 case `"$ac_path_SED" --version 2>&1` in #(
   5316 *GNU*)
   5317   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5318 #(
   5319 *)
   5320   ac_count=0
   5321   printf %s 0123456789 >"conftest.in"
   5322   while :
   5323   do
   5324     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5325     mv "conftest.tmp" "conftest.in"
   5326     cp "conftest.in" "conftest.nl"
   5327     printf '%s\n' '' >> "conftest.nl"
   5328     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5329     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5330     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5331     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5332       # Best one so far, save it but keep looking for a better one
   5333       ac_cv_path_SED="$ac_path_SED"
   5334       ac_path_SED_max=$ac_count
   5335     fi
   5336     # 10*(2^10) chars as input seems more than enough
   5337     test $ac_count -gt 10 && break
   5338   done
   5339   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5340 esac
   5341 
   5342       $ac_path_SED_found && break 3
   5343     done
   5344   done
   5345   done
   5346 IFS=$as_save_IFS
   5347   if test -z "$ac_cv_path_SED"; then
   5348     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5349   fi
   5350 else
   5351   ac_cv_path_SED=$SED
   5352 fi
   5353  ;;
   5354 esac
   5355 fi
   5356 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5357 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5358  SED="$ac_cv_path_SED"
   5359   rm -f conftest.sed
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 # Check whether --enable-selective-werror was given.
   5367 if test ${enable_selective_werror+y}
   5368 then :
   5369   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5370 else case e in #(
   5371   e) SELECTIVE_WERROR=yes ;;
   5372 esac
   5373 fi
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5380 if test "x$SUNCC" = "xyes"; then
   5381     BASE_CFLAGS="-v"
   5382 else
   5383     BASE_CFLAGS=""
   5384 fi
   5385 
   5386 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 xorg_testset_save_CFLAGS="$CFLAGS"
   5401 
   5402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5404 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5405 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5406 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5407 then :
   5408   printf %s "(cached) " >&6
   5409 else case e in #(
   5410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5411 /* end confdefs.h.  */
   5412 int i;
   5413 _ACEOF
   5414 if ac_fn_c_try_compile "$LINENO"
   5415 then :
   5416   xorg_cv_cc_flag_unknown_warning_option=yes
   5417 else case e in #(
   5418   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5419 esac
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5422 esac
   5423 fi
   5424 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5425 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5427 	CFLAGS="$xorg_testset_save_CFLAGS"
   5428 fi
   5429 
   5430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5433 	fi
   5434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5435 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5436 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5437 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5438 then :
   5439   printf %s "(cached) " >&6
   5440 else case e in #(
   5441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5442 /* end confdefs.h.  */
   5443 int i;
   5444 _ACEOF
   5445 if ac_fn_c_try_compile "$LINENO"
   5446 then :
   5447   xorg_cv_cc_flag_unused_command_line_argument=yes
   5448 else case e in #(
   5449   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5450 esac
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5453 esac
   5454 fi
   5455 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5456 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5458 	CFLAGS="$xorg_testset_save_CFLAGS"
   5459 fi
   5460 
   5461 found="no"
   5462 
   5463 	if test $found = "no" ; then
   5464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5466 		fi
   5467 
   5468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5470 		fi
   5471 
   5472 		CFLAGS="$CFLAGS -Wall"
   5473 
   5474 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5475 printf %s "checking if $CC supports -Wall... " >&6; }
   5476 		cacheid=xorg_cv_cc_flag__Wall
   5477 		if eval test \${$cacheid+y}
   5478 then :
   5479   printf %s "(cached) " >&6
   5480 else case e in #(
   5481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 int i;
   5484 int
   5485 main (void)
   5486 {
   5487 
   5488   ;
   5489   return 0;
   5490 }
   5491 _ACEOF
   5492 if ac_fn_c_try_link "$LINENO"
   5493 then :
   5494   eval $cacheid=yes
   5495 else case e in #(
   5496   e) eval $cacheid=no ;;
   5497 esac
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5500     conftest$ac_exeext conftest.$ac_ext ;;
   5501 esac
   5502 fi
   5503 
   5504 
   5505 		CFLAGS="$xorg_testset_save_CFLAGS"
   5506 
   5507 		eval supported=\$$cacheid
   5508 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5509 printf '%s\n' "$supported" >&6; }
   5510 		if test "$supported" = "yes" ; then
   5511 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5512 			found="yes"
   5513 		fi
   5514 	fi
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 xorg_testset_save_CFLAGS="$CFLAGS"
   5531 
   5532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5534 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5535 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5536 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5537 then :
   5538   printf %s "(cached) " >&6
   5539 else case e in #(
   5540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"
   5545 then :
   5546   xorg_cv_cc_flag_unknown_warning_option=yes
   5547 else case e in #(
   5548   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5549 esac
   5550 fi
   5551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5552 esac
   5553 fi
   5554 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5555 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5557 	CFLAGS="$xorg_testset_save_CFLAGS"
   5558 fi
   5559 
   5560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5563 	fi
   5564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5565 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5568 then :
   5569   printf %s "(cached) " >&6
   5570 else case e in #(
   5571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5572 /* end confdefs.h.  */
   5573 int i;
   5574 _ACEOF
   5575 if ac_fn_c_try_compile "$LINENO"
   5576 then :
   5577   xorg_cv_cc_flag_unused_command_line_argument=yes
   5578 else case e in #(
   5579   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5580 esac
   5581 fi
   5582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5583 esac
   5584 fi
   5585 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5586 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5588 	CFLAGS="$xorg_testset_save_CFLAGS"
   5589 fi
   5590 
   5591 found="no"
   5592 
   5593 	if test $found = "no" ; then
   5594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5596 		fi
   5597 
   5598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5600 		fi
   5601 
   5602 		CFLAGS="$CFLAGS -Wpointer-arith"
   5603 
   5604 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5605 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5606 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5607 		if eval test \${$cacheid+y}
   5608 then :
   5609   printf %s "(cached) " >&6
   5610 else case e in #(
   5611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5612 /* end confdefs.h.  */
   5613 int i;
   5614 int
   5615 main (void)
   5616 {
   5617 
   5618   ;
   5619   return 0;
   5620 }
   5621 _ACEOF
   5622 if ac_fn_c_try_link "$LINENO"
   5623 then :
   5624   eval $cacheid=yes
   5625 else case e in #(
   5626   e) eval $cacheid=no ;;
   5627 esac
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5630     conftest$ac_exeext conftest.$ac_ext ;;
   5631 esac
   5632 fi
   5633 
   5634 
   5635 		CFLAGS="$xorg_testset_save_CFLAGS"
   5636 
   5637 		eval supported=\$$cacheid
   5638 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5639 printf '%s\n' "$supported" >&6; }
   5640 		if test "$supported" = "yes" ; then
   5641 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5642 			found="yes"
   5643 		fi
   5644 	fi
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 xorg_testset_save_CFLAGS="$CFLAGS"
   5661 
   5662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5664 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5667 then :
   5668   printf %s "(cached) " >&6
   5669 else case e in #(
   5670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5671 /* end confdefs.h.  */
   5672 int i;
   5673 _ACEOF
   5674 if ac_fn_c_try_compile "$LINENO"
   5675 then :
   5676   xorg_cv_cc_flag_unknown_warning_option=yes
   5677 else case e in #(
   5678   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5679 esac
   5680 fi
   5681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5682 esac
   5683 fi
   5684 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5685 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5687 	CFLAGS="$xorg_testset_save_CFLAGS"
   5688 fi
   5689 
   5690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5693 	fi
   5694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5695 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5698 then :
   5699   printf %s "(cached) " >&6
   5700 else case e in #(
   5701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5702 /* end confdefs.h.  */
   5703 int i;
   5704 _ACEOF
   5705 if ac_fn_c_try_compile "$LINENO"
   5706 then :
   5707   xorg_cv_cc_flag_unused_command_line_argument=yes
   5708 else case e in #(
   5709   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5710 esac
   5711 fi
   5712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5713 esac
   5714 fi
   5715 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5716 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5718 	CFLAGS="$xorg_testset_save_CFLAGS"
   5719 fi
   5720 
   5721 found="no"
   5722 
   5723 	if test $found = "no" ; then
   5724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5726 		fi
   5727 
   5728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5730 		fi
   5731 
   5732 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5733 
   5734 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5735 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5736 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5737 		if eval test \${$cacheid+y}
   5738 then :
   5739   printf %s "(cached) " >&6
   5740 else case e in #(
   5741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5742 /* end confdefs.h.  */
   5743 int i;
   5744 int
   5745 main (void)
   5746 {
   5747 
   5748   ;
   5749   return 0;
   5750 }
   5751 _ACEOF
   5752 if ac_fn_c_try_link "$LINENO"
   5753 then :
   5754   eval $cacheid=yes
   5755 else case e in #(
   5756   e) eval $cacheid=no ;;
   5757 esac
   5758 fi
   5759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5760     conftest$ac_exeext conftest.$ac_ext ;;
   5761 esac
   5762 fi
   5763 
   5764 
   5765 		CFLAGS="$xorg_testset_save_CFLAGS"
   5766 
   5767 		eval supported=\$$cacheid
   5768 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5769 printf '%s\n' "$supported" >&6; }
   5770 		if test "$supported" = "yes" ; then
   5771 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5772 			found="yes"
   5773 		fi
   5774 	fi
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 xorg_testset_save_CFLAGS="$CFLAGS"
   5791 
   5792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5797 then :
   5798   printf %s "(cached) " >&6
   5799 else case e in #(
   5800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5801 /* end confdefs.h.  */
   5802 int i;
   5803 _ACEOF
   5804 if ac_fn_c_try_compile "$LINENO"
   5805 then :
   5806   xorg_cv_cc_flag_unknown_warning_option=yes
   5807 else case e in #(
   5808   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5809 esac
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5812 esac
   5813 fi
   5814 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5815 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 	fi
   5824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5826 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5827 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5828 then :
   5829   printf %s "(cached) " >&6
   5830 else case e in #(
   5831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5832 /* end confdefs.h.  */
   5833 int i;
   5834 _ACEOF
   5835 if ac_fn_c_try_compile "$LINENO"
   5836 then :
   5837   xorg_cv_cc_flag_unused_command_line_argument=yes
   5838 else case e in #(
   5839   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5840 esac
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5843 esac
   5844 fi
   5845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5846 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5848 	CFLAGS="$xorg_testset_save_CFLAGS"
   5849 fi
   5850 
   5851 found="no"
   5852 
   5853 	if test $found = "no" ; then
   5854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5856 		fi
   5857 
   5858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 		fi
   5861 
   5862 		CFLAGS="$CFLAGS -Wformat=2"
   5863 
   5864 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5865 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5866 		cacheid=xorg_cv_cc_flag__Wformat_2
   5867 		if eval test \${$cacheid+y}
   5868 then :
   5869   printf %s "(cached) " >&6
   5870 else case e in #(
   5871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5872 /* end confdefs.h.  */
   5873 int i;
   5874 int
   5875 main (void)
   5876 {
   5877 
   5878   ;
   5879   return 0;
   5880 }
   5881 _ACEOF
   5882 if ac_fn_c_try_link "$LINENO"
   5883 then :
   5884   eval $cacheid=yes
   5885 else case e in #(
   5886   e) eval $cacheid=no ;;
   5887 esac
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5890     conftest$ac_exeext conftest.$ac_ext ;;
   5891 esac
   5892 fi
   5893 
   5894 
   5895 		CFLAGS="$xorg_testset_save_CFLAGS"
   5896 
   5897 		eval supported=\$$cacheid
   5898 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5899 printf '%s\n' "$supported" >&6; }
   5900 		if test "$supported" = "yes" ; then
   5901 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5902 			found="yes"
   5903 		fi
   5904 	fi
   5905 
   5906 	if test $found = "no" ; then
   5907 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5909 		fi
   5910 
   5911 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5913 		fi
   5914 
   5915 		CFLAGS="$CFLAGS -Wformat"
   5916 
   5917 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5918 printf %s "checking if $CC supports -Wformat... " >&6; }
   5919 		cacheid=xorg_cv_cc_flag__Wformat
   5920 		if eval test \${$cacheid+y}
   5921 then :
   5922   printf %s "(cached) " >&6
   5923 else case e in #(
   5924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 int
   5928 main (void)
   5929 {
   5930 
   5931   ;
   5932   return 0;
   5933 }
   5934 _ACEOF
   5935 if ac_fn_c_try_link "$LINENO"
   5936 then :
   5937   eval $cacheid=yes
   5938 else case e in #(
   5939   e) eval $cacheid=no ;;
   5940 esac
   5941 fi
   5942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5943     conftest$ac_exeext conftest.$ac_ext ;;
   5944 esac
   5945 fi
   5946 
   5947 
   5948 		CFLAGS="$xorg_testset_save_CFLAGS"
   5949 
   5950 		eval supported=\$$cacheid
   5951 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5952 printf '%s\n' "$supported" >&6; }
   5953 		if test "$supported" = "yes" ; then
   5954 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5955 			found="yes"
   5956 		fi
   5957 	fi
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 xorg_testset_save_CFLAGS="$CFLAGS"
   5976 
   5977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5979 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5982 then :
   5983   printf %s "(cached) " >&6
   5984 else case e in #(
   5985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5986 /* end confdefs.h.  */
   5987 int i;
   5988 _ACEOF
   5989 if ac_fn_c_try_compile "$LINENO"
   5990 then :
   5991   xorg_cv_cc_flag_unknown_warning_option=yes
   5992 else case e in #(
   5993   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5994 esac
   5995 fi
   5996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5997 esac
   5998 fi
   5999 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6000 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6002 	CFLAGS="$xorg_testset_save_CFLAGS"
   6003 fi
   6004 
   6005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6008 	fi
   6009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6010 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6011 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6012 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6013 then :
   6014   printf %s "(cached) " >&6
   6015 else case e in #(
   6016   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6017 /* end confdefs.h.  */
   6018 int i;
   6019 _ACEOF
   6020 if ac_fn_c_try_compile "$LINENO"
   6021 then :
   6022   xorg_cv_cc_flag_unused_command_line_argument=yes
   6023 else case e in #(
   6024   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6025 esac
   6026 fi
   6027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6028 esac
   6029 fi
   6030 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6031 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6032 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6033 	CFLAGS="$xorg_testset_save_CFLAGS"
   6034 fi
   6035 
   6036 found="no"
   6037 
   6038 	if test $found = "no" ; then
   6039 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6040 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6041 		fi
   6042 
   6043 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6044 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6045 		fi
   6046 
   6047 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6048 
   6049 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6050 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6051 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6052 		if eval test \${$cacheid+y}
   6053 then :
   6054   printf %s "(cached) " >&6
   6055 else case e in #(
   6056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6057 /* end confdefs.h.  */
   6058 int i;
   6059 int
   6060 main (void)
   6061 {
   6062 
   6063   ;
   6064   return 0;
   6065 }
   6066 _ACEOF
   6067 if ac_fn_c_try_link "$LINENO"
   6068 then :
   6069   eval $cacheid=yes
   6070 else case e in #(
   6071   e) eval $cacheid=no ;;
   6072 esac
   6073 fi
   6074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6075     conftest$ac_exeext conftest.$ac_ext ;;
   6076 esac
   6077 fi
   6078 
   6079 
   6080 		CFLAGS="$xorg_testset_save_CFLAGS"
   6081 
   6082 		eval supported=\$$cacheid
   6083 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6084 printf '%s\n' "$supported" >&6; }
   6085 		if test "$supported" = "yes" ; then
   6086 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6087 			found="yes"
   6088 		fi
   6089 	fi
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 xorg_testset_save_CFLAGS="$CFLAGS"
   6106 
   6107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6109 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6110 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6111 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6112 then :
   6113   printf %s "(cached) " >&6
   6114 else case e in #(
   6115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6116 /* end confdefs.h.  */
   6117 int i;
   6118 _ACEOF
   6119 if ac_fn_c_try_compile "$LINENO"
   6120 then :
   6121   xorg_cv_cc_flag_unknown_warning_option=yes
   6122 else case e in #(
   6123   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6124 esac
   6125 fi
   6126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6127 esac
   6128 fi
   6129 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6130 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6132 	CFLAGS="$xorg_testset_save_CFLAGS"
   6133 fi
   6134 
   6135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6138 	fi
   6139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6140 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6141 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6142 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6143 then :
   6144   printf %s "(cached) " >&6
   6145 else case e in #(
   6146   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6147 /* end confdefs.h.  */
   6148 int i;
   6149 _ACEOF
   6150 if ac_fn_c_try_compile "$LINENO"
   6151 then :
   6152   xorg_cv_cc_flag_unused_command_line_argument=yes
   6153 else case e in #(
   6154   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6155 esac
   6156 fi
   6157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6158 esac
   6159 fi
   6160 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6161 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6163 	CFLAGS="$xorg_testset_save_CFLAGS"
   6164 fi
   6165 
   6166 found="no"
   6167 
   6168 	if test $found = "no" ; then
   6169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6171 		fi
   6172 
   6173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6175 		fi
   6176 
   6177 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6178 
   6179 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6180 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6181 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6182 		if eval test \${$cacheid+y}
   6183 then :
   6184   printf %s "(cached) " >&6
   6185 else case e in #(
   6186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6187 /* end confdefs.h.  */
   6188 int i;
   6189 int
   6190 main (void)
   6191 {
   6192 
   6193   ;
   6194   return 0;
   6195 }
   6196 _ACEOF
   6197 if ac_fn_c_try_link "$LINENO"
   6198 then :
   6199   eval $cacheid=yes
   6200 else case e in #(
   6201   e) eval $cacheid=no ;;
   6202 esac
   6203 fi
   6204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6205     conftest$ac_exeext conftest.$ac_ext ;;
   6206 esac
   6207 fi
   6208 
   6209 
   6210 		CFLAGS="$xorg_testset_save_CFLAGS"
   6211 
   6212 		eval supported=\$$cacheid
   6213 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6214 printf '%s\n' "$supported" >&6; }
   6215 		if test "$supported" = "yes" ; then
   6216 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6217 			found="yes"
   6218 		fi
   6219 	fi
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 xorg_testset_save_CFLAGS="$CFLAGS"
   6236 
   6237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6239 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6240 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6241 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6242 then :
   6243   printf %s "(cached) " >&6
   6244 else case e in #(
   6245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 int i;
   6248 _ACEOF
   6249 if ac_fn_c_try_compile "$LINENO"
   6250 then :
   6251   xorg_cv_cc_flag_unknown_warning_option=yes
   6252 else case e in #(
   6253   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6254 esac
   6255 fi
   6256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6257 esac
   6258 fi
   6259 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6260 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6262 	CFLAGS="$xorg_testset_save_CFLAGS"
   6263 fi
   6264 
   6265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6268 	fi
   6269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6270 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6271 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6272 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6273 then :
   6274   printf %s "(cached) " >&6
   6275 else case e in #(
   6276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6277 /* end confdefs.h.  */
   6278 int i;
   6279 _ACEOF
   6280 if ac_fn_c_try_compile "$LINENO"
   6281 then :
   6282   xorg_cv_cc_flag_unused_command_line_argument=yes
   6283 else case e in #(
   6284   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6285 esac
   6286 fi
   6287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6288 esac
   6289 fi
   6290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6291 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6293 	CFLAGS="$xorg_testset_save_CFLAGS"
   6294 fi
   6295 
   6296 found="no"
   6297 
   6298 	if test $found = "no" ; then
   6299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6301 		fi
   6302 
   6303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6305 		fi
   6306 
   6307 		CFLAGS="$CFLAGS -Wnested-externs"
   6308 
   6309 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6310 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6311 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6312 		if eval test \${$cacheid+y}
   6313 then :
   6314   printf %s "(cached) " >&6
   6315 else case e in #(
   6316   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6317 /* end confdefs.h.  */
   6318 int i;
   6319 int
   6320 main (void)
   6321 {
   6322 
   6323   ;
   6324   return 0;
   6325 }
   6326 _ACEOF
   6327 if ac_fn_c_try_link "$LINENO"
   6328 then :
   6329   eval $cacheid=yes
   6330 else case e in #(
   6331   e) eval $cacheid=no ;;
   6332 esac
   6333 fi
   6334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6335     conftest$ac_exeext conftest.$ac_ext ;;
   6336 esac
   6337 fi
   6338 
   6339 
   6340 		CFLAGS="$xorg_testset_save_CFLAGS"
   6341 
   6342 		eval supported=\$$cacheid
   6343 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6344 printf '%s\n' "$supported" >&6; }
   6345 		if test "$supported" = "yes" ; then
   6346 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6347 			found="yes"
   6348 		fi
   6349 	fi
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 xorg_testset_save_CFLAGS="$CFLAGS"
   6366 
   6367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6369 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6372 then :
   6373   printf %s "(cached) " >&6
   6374 else case e in #(
   6375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6376 /* end confdefs.h.  */
   6377 int i;
   6378 _ACEOF
   6379 if ac_fn_c_try_compile "$LINENO"
   6380 then :
   6381   xorg_cv_cc_flag_unknown_warning_option=yes
   6382 else case e in #(
   6383   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6384 esac
   6385 fi
   6386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6387 esac
   6388 fi
   6389 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6390 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6392 	CFLAGS="$xorg_testset_save_CFLAGS"
   6393 fi
   6394 
   6395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6398 	fi
   6399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6400 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6401 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6402 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6403 then :
   6404   printf %s "(cached) " >&6
   6405 else case e in #(
   6406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6407 /* end confdefs.h.  */
   6408 int i;
   6409 _ACEOF
   6410 if ac_fn_c_try_compile "$LINENO"
   6411 then :
   6412   xorg_cv_cc_flag_unused_command_line_argument=yes
   6413 else case e in #(
   6414   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6415 esac
   6416 fi
   6417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6418 esac
   6419 fi
   6420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6421 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6423 	CFLAGS="$xorg_testset_save_CFLAGS"
   6424 fi
   6425 
   6426 found="no"
   6427 
   6428 	if test $found = "no" ; then
   6429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6431 		fi
   6432 
   6433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6435 		fi
   6436 
   6437 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6438 
   6439 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6440 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6441 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6442 		if eval test \${$cacheid+y}
   6443 then :
   6444   printf %s "(cached) " >&6
   6445 else case e in #(
   6446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 int
   6450 main (void)
   6451 {
   6452 
   6453   ;
   6454   return 0;
   6455 }
   6456 _ACEOF
   6457 if ac_fn_c_try_link "$LINENO"
   6458 then :
   6459   eval $cacheid=yes
   6460 else case e in #(
   6461   e) eval $cacheid=no ;;
   6462 esac
   6463 fi
   6464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6465     conftest$ac_exeext conftest.$ac_ext ;;
   6466 esac
   6467 fi
   6468 
   6469 
   6470 		CFLAGS="$xorg_testset_save_CFLAGS"
   6471 
   6472 		eval supported=\$$cacheid
   6473 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6474 printf '%s\n' "$supported" >&6; }
   6475 		if test "$supported" = "yes" ; then
   6476 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6477 			found="yes"
   6478 		fi
   6479 	fi
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 xorg_testset_save_CFLAGS="$CFLAGS"
   6496 
   6497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6499 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6502 then :
   6503   printf %s "(cached) " >&6
   6504 else case e in #(
   6505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 _ACEOF
   6509 if ac_fn_c_try_compile "$LINENO"
   6510 then :
   6511   xorg_cv_cc_flag_unknown_warning_option=yes
   6512 else case e in #(
   6513   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6514 esac
   6515 fi
   6516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6517 esac
   6518 fi
   6519 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6520 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6522 	CFLAGS="$xorg_testset_save_CFLAGS"
   6523 fi
   6524 
   6525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 	fi
   6529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6530 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6533 then :
   6534   printf %s "(cached) " >&6
   6535 else case e in #(
   6536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6537 /* end confdefs.h.  */
   6538 int i;
   6539 _ACEOF
   6540 if ac_fn_c_try_compile "$LINENO"
   6541 then :
   6542   xorg_cv_cc_flag_unused_command_line_argument=yes
   6543 else case e in #(
   6544   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6545 esac
   6546 fi
   6547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6548 esac
   6549 fi
   6550 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6551 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6553 	CFLAGS="$xorg_testset_save_CFLAGS"
   6554 fi
   6555 
   6556 found="no"
   6557 
   6558 	if test $found = "no" ; then
   6559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6561 		fi
   6562 
   6563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6565 		fi
   6566 
   6567 		CFLAGS="$CFLAGS -Wold-style-definition"
   6568 
   6569 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6570 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6571 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6572 		if eval test \${$cacheid+y}
   6573 then :
   6574   printf %s "(cached) " >&6
   6575 else case e in #(
   6576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6577 /* end confdefs.h.  */
   6578 int i;
   6579 int
   6580 main (void)
   6581 {
   6582 
   6583   ;
   6584   return 0;
   6585 }
   6586 _ACEOF
   6587 if ac_fn_c_try_link "$LINENO"
   6588 then :
   6589   eval $cacheid=yes
   6590 else case e in #(
   6591   e) eval $cacheid=no ;;
   6592 esac
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6595     conftest$ac_exeext conftest.$ac_ext ;;
   6596 esac
   6597 fi
   6598 
   6599 
   6600 		CFLAGS="$xorg_testset_save_CFLAGS"
   6601 
   6602 		eval supported=\$$cacheid
   6603 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6604 printf '%s\n' "$supported" >&6; }
   6605 		if test "$supported" = "yes" ; then
   6606 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6607 			found="yes"
   6608 		fi
   6609 	fi
   6610 
   6611 	if test $found = "no" ; then
   6612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6614 		fi
   6615 
   6616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6618 		fi
   6619 
   6620 		CFLAGS="$CFLAGS -fd"
   6621 
   6622 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6623 printf %s "checking if $CC supports -fd... " >&6; }
   6624 		cacheid=xorg_cv_cc_flag__fd
   6625 		if eval test \${$cacheid+y}
   6626 then :
   6627   printf %s "(cached) " >&6
   6628 else case e in #(
   6629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6630 /* end confdefs.h.  */
   6631 int i;
   6632 int
   6633 main (void)
   6634 {
   6635 
   6636   ;
   6637   return 0;
   6638 }
   6639 _ACEOF
   6640 if ac_fn_c_try_link "$LINENO"
   6641 then :
   6642   eval $cacheid=yes
   6643 else case e in #(
   6644   e) eval $cacheid=no ;;
   6645 esac
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6648     conftest$ac_exeext conftest.$ac_ext ;;
   6649 esac
   6650 fi
   6651 
   6652 
   6653 		CFLAGS="$xorg_testset_save_CFLAGS"
   6654 
   6655 		eval supported=\$$cacheid
   6656 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6657 printf '%s\n' "$supported" >&6; }
   6658 		if test "$supported" = "yes" ; then
   6659 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6660 			found="yes"
   6661 		fi
   6662 	fi
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 # This chunk adds additional warnings that could catch undesired effects.
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 xorg_testset_save_CFLAGS="$CFLAGS"
   6683 
   6684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6686 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6687 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6688 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6689 then :
   6690   printf %s "(cached) " >&6
   6691 else case e in #(
   6692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 int i;
   6695 _ACEOF
   6696 if ac_fn_c_try_compile "$LINENO"
   6697 then :
   6698   xorg_cv_cc_flag_unknown_warning_option=yes
   6699 else case e in #(
   6700   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6701 esac
   6702 fi
   6703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6704 esac
   6705 fi
   6706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6707 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6709 	CFLAGS="$xorg_testset_save_CFLAGS"
   6710 fi
   6711 
   6712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6715 	fi
   6716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6717 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6718 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6719 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6720 then :
   6721   printf %s "(cached) " >&6
   6722 else case e in #(
   6723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6724 /* end confdefs.h.  */
   6725 int i;
   6726 _ACEOF
   6727 if ac_fn_c_try_compile "$LINENO"
   6728 then :
   6729   xorg_cv_cc_flag_unused_command_line_argument=yes
   6730 else case e in #(
   6731   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6732 esac
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6735 esac
   6736 fi
   6737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6738 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6740 	CFLAGS="$xorg_testset_save_CFLAGS"
   6741 fi
   6742 
   6743 found="no"
   6744 
   6745 	if test $found = "no" ; then
   6746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 		fi
   6749 
   6750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6752 		fi
   6753 
   6754 		CFLAGS="$CFLAGS -Wunused"
   6755 
   6756 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6757 printf %s "checking if $CC supports -Wunused... " >&6; }
   6758 		cacheid=xorg_cv_cc_flag__Wunused
   6759 		if eval test \${$cacheid+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else case e in #(
   6763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 int
   6767 main (void)
   6768 {
   6769 
   6770   ;
   6771   return 0;
   6772 }
   6773 _ACEOF
   6774 if ac_fn_c_try_link "$LINENO"
   6775 then :
   6776   eval $cacheid=yes
   6777 else case e in #(
   6778   e) eval $cacheid=no ;;
   6779 esac
   6780 fi
   6781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6782     conftest$ac_exeext conftest.$ac_ext ;;
   6783 esac
   6784 fi
   6785 
   6786 
   6787 		CFLAGS="$xorg_testset_save_CFLAGS"
   6788 
   6789 		eval supported=\$$cacheid
   6790 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6791 printf '%s\n' "$supported" >&6; }
   6792 		if test "$supported" = "yes" ; then
   6793 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6794 			found="yes"
   6795 		fi
   6796 	fi
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 xorg_testset_save_CFLAGS="$CFLAGS"
   6813 
   6814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6817 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6818 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6819 then :
   6820   printf %s "(cached) " >&6
   6821 else case e in #(
   6822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6823 /* end confdefs.h.  */
   6824 int i;
   6825 _ACEOF
   6826 if ac_fn_c_try_compile "$LINENO"
   6827 then :
   6828   xorg_cv_cc_flag_unknown_warning_option=yes
   6829 else case e in #(
   6830   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6831 esac
   6832 fi
   6833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6834 esac
   6835 fi
   6836 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6837 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6839 	CFLAGS="$xorg_testset_save_CFLAGS"
   6840 fi
   6841 
   6842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6845 	fi
   6846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6847 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6848 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6849 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6850 then :
   6851   printf %s "(cached) " >&6
   6852 else case e in #(
   6853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6854 /* end confdefs.h.  */
   6855 int i;
   6856 _ACEOF
   6857 if ac_fn_c_try_compile "$LINENO"
   6858 then :
   6859   xorg_cv_cc_flag_unused_command_line_argument=yes
   6860 else case e in #(
   6861   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6862 esac
   6863 fi
   6864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6865 esac
   6866 fi
   6867 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6868 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6870 	CFLAGS="$xorg_testset_save_CFLAGS"
   6871 fi
   6872 
   6873 found="no"
   6874 
   6875 	if test $found = "no" ; then
   6876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6878 		fi
   6879 
   6880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6882 		fi
   6883 
   6884 		CFLAGS="$CFLAGS -Wuninitialized"
   6885 
   6886 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6887 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6888 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6889 		if eval test \${$cacheid+y}
   6890 then :
   6891   printf %s "(cached) " >&6
   6892 else case e in #(
   6893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 int
   6897 main (void)
   6898 {
   6899 
   6900   ;
   6901   return 0;
   6902 }
   6903 _ACEOF
   6904 if ac_fn_c_try_link "$LINENO"
   6905 then :
   6906   eval $cacheid=yes
   6907 else case e in #(
   6908   e) eval $cacheid=no ;;
   6909 esac
   6910 fi
   6911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6912     conftest$ac_exeext conftest.$ac_ext ;;
   6913 esac
   6914 fi
   6915 
   6916 
   6917 		CFLAGS="$xorg_testset_save_CFLAGS"
   6918 
   6919 		eval supported=\$$cacheid
   6920 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6921 printf '%s\n' "$supported" >&6; }
   6922 		if test "$supported" = "yes" ; then
   6923 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6924 			found="yes"
   6925 		fi
   6926 	fi
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 xorg_testset_save_CFLAGS="$CFLAGS"
   6943 
   6944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6946 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6947 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6948 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6949 then :
   6950   printf %s "(cached) " >&6
   6951 else case e in #(
   6952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6953 /* end confdefs.h.  */
   6954 int i;
   6955 _ACEOF
   6956 if ac_fn_c_try_compile "$LINENO"
   6957 then :
   6958   xorg_cv_cc_flag_unknown_warning_option=yes
   6959 else case e in #(
   6960   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6961 esac
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6964 esac
   6965 fi
   6966 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6967 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6969 	CFLAGS="$xorg_testset_save_CFLAGS"
   6970 fi
   6971 
   6972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6975 	fi
   6976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6977 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6978 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6979 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6980 then :
   6981   printf %s "(cached) " >&6
   6982 else case e in #(
   6983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 _ACEOF
   6987 if ac_fn_c_try_compile "$LINENO"
   6988 then :
   6989   xorg_cv_cc_flag_unused_command_line_argument=yes
   6990 else case e in #(
   6991   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6992 esac
   6993 fi
   6994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6995 esac
   6996 fi
   6997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6998 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7000 	CFLAGS="$xorg_testset_save_CFLAGS"
   7001 fi
   7002 
   7003 found="no"
   7004 
   7005 	if test $found = "no" ; then
   7006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7008 		fi
   7009 
   7010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7012 		fi
   7013 
   7014 		CFLAGS="$CFLAGS -Wshadow"
   7015 
   7016 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7017 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7018 		cacheid=xorg_cv_cc_flag__Wshadow
   7019 		if eval test \${$cacheid+y}
   7020 then :
   7021   printf %s "(cached) " >&6
   7022 else case e in #(
   7023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7024 /* end confdefs.h.  */
   7025 int i;
   7026 int
   7027 main (void)
   7028 {
   7029 
   7030   ;
   7031   return 0;
   7032 }
   7033 _ACEOF
   7034 if ac_fn_c_try_link "$LINENO"
   7035 then :
   7036   eval $cacheid=yes
   7037 else case e in #(
   7038   e) eval $cacheid=no ;;
   7039 esac
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7042     conftest$ac_exeext conftest.$ac_ext ;;
   7043 esac
   7044 fi
   7045 
   7046 
   7047 		CFLAGS="$xorg_testset_save_CFLAGS"
   7048 
   7049 		eval supported=\$$cacheid
   7050 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7051 printf '%s\n' "$supported" >&6; }
   7052 		if test "$supported" = "yes" ; then
   7053 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7054 			found="yes"
   7055 		fi
   7056 	fi
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 xorg_testset_save_CFLAGS="$CFLAGS"
   7073 
   7074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7076 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7077 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7078 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7079 then :
   7080   printf %s "(cached) " >&6
   7081 else case e in #(
   7082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7083 /* end confdefs.h.  */
   7084 int i;
   7085 _ACEOF
   7086 if ac_fn_c_try_compile "$LINENO"
   7087 then :
   7088   xorg_cv_cc_flag_unknown_warning_option=yes
   7089 else case e in #(
   7090   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7091 esac
   7092 fi
   7093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7094 esac
   7095 fi
   7096 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7097 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7099 	CFLAGS="$xorg_testset_save_CFLAGS"
   7100 fi
   7101 
   7102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	fi
   7106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7107 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7110 then :
   7111   printf %s "(cached) " >&6
   7112 else case e in #(
   7113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 int i;
   7116 _ACEOF
   7117 if ac_fn_c_try_compile "$LINENO"
   7118 then :
   7119   xorg_cv_cc_flag_unused_command_line_argument=yes
   7120 else case e in #(
   7121   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7122 esac
   7123 fi
   7124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7125 esac
   7126 fi
   7127 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7128 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7130 	CFLAGS="$xorg_testset_save_CFLAGS"
   7131 fi
   7132 
   7133 found="no"
   7134 
   7135 	if test $found = "no" ; then
   7136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7138 		fi
   7139 
   7140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7142 		fi
   7143 
   7144 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7145 
   7146 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7147 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7148 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7149 		if eval test \${$cacheid+y}
   7150 then :
   7151   printf %s "(cached) " >&6
   7152 else case e in #(
   7153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 int i;
   7156 int
   7157 main (void)
   7158 {
   7159 
   7160   ;
   7161   return 0;
   7162 }
   7163 _ACEOF
   7164 if ac_fn_c_try_link "$LINENO"
   7165 then :
   7166   eval $cacheid=yes
   7167 else case e in #(
   7168   e) eval $cacheid=no ;;
   7169 esac
   7170 fi
   7171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7172     conftest$ac_exeext conftest.$ac_ext ;;
   7173 esac
   7174 fi
   7175 
   7176 
   7177 		CFLAGS="$xorg_testset_save_CFLAGS"
   7178 
   7179 		eval supported=\$$cacheid
   7180 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7181 printf '%s\n' "$supported" >&6; }
   7182 		if test "$supported" = "yes" ; then
   7183 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7184 			found="yes"
   7185 		fi
   7186 	fi
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 xorg_testset_save_CFLAGS="$CFLAGS"
   7203 
   7204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7206 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7207 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7208 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7209 then :
   7210   printf %s "(cached) " >&6
   7211 else case e in #(
   7212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7213 /* end confdefs.h.  */
   7214 int i;
   7215 _ACEOF
   7216 if ac_fn_c_try_compile "$LINENO"
   7217 then :
   7218   xorg_cv_cc_flag_unknown_warning_option=yes
   7219 else case e in #(
   7220   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7221 esac
   7222 fi
   7223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7224 esac
   7225 fi
   7226 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7227 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7229 	CFLAGS="$xorg_testset_save_CFLAGS"
   7230 fi
   7231 
   7232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7235 	fi
   7236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7238 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7239 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7240 then :
   7241   printf %s "(cached) " >&6
   7242 else case e in #(
   7243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7244 /* end confdefs.h.  */
   7245 int i;
   7246 _ACEOF
   7247 if ac_fn_c_try_compile "$LINENO"
   7248 then :
   7249   xorg_cv_cc_flag_unused_command_line_argument=yes
   7250 else case e in #(
   7251   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7252 esac
   7253 fi
   7254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7255 esac
   7256 fi
   7257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7258 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7260 	CFLAGS="$xorg_testset_save_CFLAGS"
   7261 fi
   7262 
   7263 found="no"
   7264 
   7265 	if test $found = "no" ; then
   7266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7268 		fi
   7269 
   7270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7272 		fi
   7273 
   7274 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7275 
   7276 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7277 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7278 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7279 		if eval test \${$cacheid+y}
   7280 then :
   7281   printf %s "(cached) " >&6
   7282 else case e in #(
   7283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 int
   7287 main (void)
   7288 {
   7289 
   7290   ;
   7291   return 0;
   7292 }
   7293 _ACEOF
   7294 if ac_fn_c_try_link "$LINENO"
   7295 then :
   7296   eval $cacheid=yes
   7297 else case e in #(
   7298   e) eval $cacheid=no ;;
   7299 esac
   7300 fi
   7301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7302     conftest$ac_exeext conftest.$ac_ext ;;
   7303 esac
   7304 fi
   7305 
   7306 
   7307 		CFLAGS="$xorg_testset_save_CFLAGS"
   7308 
   7309 		eval supported=\$$cacheid
   7310 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7311 printf '%s\n' "$supported" >&6; }
   7312 		if test "$supported" = "yes" ; then
   7313 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7314 			found="yes"
   7315 		fi
   7316 	fi
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 xorg_testset_save_CFLAGS="$CFLAGS"
   7333 
   7334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7336 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7337 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7338 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7339 then :
   7340   printf %s "(cached) " >&6
   7341 else case e in #(
   7342   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7343 /* end confdefs.h.  */
   7344 int i;
   7345 _ACEOF
   7346 if ac_fn_c_try_compile "$LINENO"
   7347 then :
   7348   xorg_cv_cc_flag_unknown_warning_option=yes
   7349 else case e in #(
   7350   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7351 esac
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7354 esac
   7355 fi
   7356 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7357 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7359 	CFLAGS="$xorg_testset_save_CFLAGS"
   7360 fi
   7361 
   7362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7365 	fi
   7366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7367 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7368 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7369 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7370 then :
   7371   printf %s "(cached) " >&6
   7372 else case e in #(
   7373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 int i;
   7376 _ACEOF
   7377 if ac_fn_c_try_compile "$LINENO"
   7378 then :
   7379   xorg_cv_cc_flag_unused_command_line_argument=yes
   7380 else case e in #(
   7381   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7382 esac
   7383 fi
   7384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7385 esac
   7386 fi
   7387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7388 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7390 	CFLAGS="$xorg_testset_save_CFLAGS"
   7391 fi
   7392 
   7393 found="no"
   7394 
   7395 	if test $found = "no" ; then
   7396 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 		fi
   7399 
   7400 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7402 		fi
   7403 
   7404 		CFLAGS="$CFLAGS -Wredundant-decls"
   7405 
   7406 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7407 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7408 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7409 		if eval test \${$cacheid+y}
   7410 then :
   7411   printf %s "(cached) " >&6
   7412 else case e in #(
   7413   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7414 /* end confdefs.h.  */
   7415 int i;
   7416 int
   7417 main (void)
   7418 {
   7419 
   7420   ;
   7421   return 0;
   7422 }
   7423 _ACEOF
   7424 if ac_fn_c_try_link "$LINENO"
   7425 then :
   7426   eval $cacheid=yes
   7427 else case e in #(
   7428   e) eval $cacheid=no ;;
   7429 esac
   7430 fi
   7431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7432     conftest$ac_exeext conftest.$ac_ext ;;
   7433 esac
   7434 fi
   7435 
   7436 
   7437 		CFLAGS="$xorg_testset_save_CFLAGS"
   7438 
   7439 		eval supported=\$$cacheid
   7440 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7441 printf '%s\n' "$supported" >&6; }
   7442 		if test "$supported" = "yes" ; then
   7443 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7444 			found="yes"
   7445 		fi
   7446 	fi
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 xorg_testset_save_CFLAGS="$CFLAGS"
   7463 
   7464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7466 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7467 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7468 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7469 then :
   7470   printf %s "(cached) " >&6
   7471 else case e in #(
   7472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7473 /* end confdefs.h.  */
   7474 int i;
   7475 _ACEOF
   7476 if ac_fn_c_try_compile "$LINENO"
   7477 then :
   7478   xorg_cv_cc_flag_unknown_warning_option=yes
   7479 else case e in #(
   7480   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7481 esac
   7482 fi
   7483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7484 esac
   7485 fi
   7486 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7487 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7489 	CFLAGS="$xorg_testset_save_CFLAGS"
   7490 fi
   7491 
   7492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7495 	fi
   7496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7497 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7498 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7499 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7500 then :
   7501   printf %s "(cached) " >&6
   7502 else case e in #(
   7503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7504 /* end confdefs.h.  */
   7505 int i;
   7506 _ACEOF
   7507 if ac_fn_c_try_compile "$LINENO"
   7508 then :
   7509   xorg_cv_cc_flag_unused_command_line_argument=yes
   7510 else case e in #(
   7511   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7512 esac
   7513 fi
   7514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7515 esac
   7516 fi
   7517 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7518 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7520 	CFLAGS="$xorg_testset_save_CFLAGS"
   7521 fi
   7522 
   7523 found="no"
   7524 
   7525 	if test $found = "no" ; then
   7526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 		fi
   7529 
   7530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7532 		fi
   7533 
   7534 		CFLAGS="$CFLAGS -Wlogical-op"
   7535 
   7536 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7537 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7538 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7539 		if eval test \${$cacheid+y}
   7540 then :
   7541   printf %s "(cached) " >&6
   7542 else case e in #(
   7543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7544 /* end confdefs.h.  */
   7545 int i;
   7546 int
   7547 main (void)
   7548 {
   7549 
   7550   ;
   7551   return 0;
   7552 }
   7553 _ACEOF
   7554 if ac_fn_c_try_link "$LINENO"
   7555 then :
   7556   eval $cacheid=yes
   7557 else case e in #(
   7558   e) eval $cacheid=no ;;
   7559 esac
   7560 fi
   7561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7562     conftest$ac_exeext conftest.$ac_ext ;;
   7563 esac
   7564 fi
   7565 
   7566 
   7567 		CFLAGS="$xorg_testset_save_CFLAGS"
   7568 
   7569 		eval supported=\$$cacheid
   7570 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7571 printf '%s\n' "$supported" >&6; }
   7572 		if test "$supported" = "yes" ; then
   7573 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7574 			found="yes"
   7575 		fi
   7576 	fi
   7577 
   7578 
   7579 
   7580 # These are currently disabled because they are noisy.  They will be enabled
   7581 # in the future once the codebase is sufficiently modernized to silence
   7582 # them.  For now, I don't want them to drown out the other warnings.
   7583 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7584 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7585 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7586 
   7587 # Turn some warnings into errors, so we don't accidentally get successful builds
   7588 # when there are problems that should be fixed.
   7589 
   7590 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 xorg_testset_save_CFLAGS="$CFLAGS"
   7605 
   7606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7608 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7609 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7610 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7611 then :
   7612   printf %s "(cached) " >&6
   7613 else case e in #(
   7614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7615 /* end confdefs.h.  */
   7616 int i;
   7617 _ACEOF
   7618 if ac_fn_c_try_compile "$LINENO"
   7619 then :
   7620   xorg_cv_cc_flag_unknown_warning_option=yes
   7621 else case e in #(
   7622   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7623 esac
   7624 fi
   7625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7626 esac
   7627 fi
   7628 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7629 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7631 	CFLAGS="$xorg_testset_save_CFLAGS"
   7632 fi
   7633 
   7634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 	fi
   7638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7639 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7640 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7641 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7642 then :
   7643   printf %s "(cached) " >&6
   7644 else case e in #(
   7645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7646 /* end confdefs.h.  */
   7647 int i;
   7648 _ACEOF
   7649 if ac_fn_c_try_compile "$LINENO"
   7650 then :
   7651   xorg_cv_cc_flag_unused_command_line_argument=yes
   7652 else case e in #(
   7653   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7654 esac
   7655 fi
   7656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7657 esac
   7658 fi
   7659 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7660 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7662 	CFLAGS="$xorg_testset_save_CFLAGS"
   7663 fi
   7664 
   7665 found="no"
   7666 
   7667 	if test $found = "no" ; then
   7668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7670 		fi
   7671 
   7672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7674 		fi
   7675 
   7676 		CFLAGS="$CFLAGS -Werror=implicit"
   7677 
   7678 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7679 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7680 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7681 		if eval test \${$cacheid+y}
   7682 then :
   7683   printf %s "(cached) " >&6
   7684 else case e in #(
   7685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7686 /* end confdefs.h.  */
   7687 int i;
   7688 int
   7689 main (void)
   7690 {
   7691 
   7692   ;
   7693   return 0;
   7694 }
   7695 _ACEOF
   7696 if ac_fn_c_try_link "$LINENO"
   7697 then :
   7698   eval $cacheid=yes
   7699 else case e in #(
   7700   e) eval $cacheid=no ;;
   7701 esac
   7702 fi
   7703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7704     conftest$ac_exeext conftest.$ac_ext ;;
   7705 esac
   7706 fi
   7707 
   7708 
   7709 		CFLAGS="$xorg_testset_save_CFLAGS"
   7710 
   7711 		eval supported=\$$cacheid
   7712 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7713 printf '%s\n' "$supported" >&6; }
   7714 		if test "$supported" = "yes" ; then
   7715 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7716 			found="yes"
   7717 		fi
   7718 	fi
   7719 
   7720 	if test $found = "no" ; then
   7721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7723 		fi
   7724 
   7725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 		fi
   7728 
   7729 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7730 
   7731 		{ 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
   7732 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7733 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7734 		if eval test \${$cacheid+y}
   7735 then :
   7736   printf %s "(cached) " >&6
   7737 else case e in #(
   7738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7739 /* end confdefs.h.  */
   7740 int i;
   7741 int
   7742 main (void)
   7743 {
   7744 
   7745   ;
   7746   return 0;
   7747 }
   7748 _ACEOF
   7749 if ac_fn_c_try_link "$LINENO"
   7750 then :
   7751   eval $cacheid=yes
   7752 else case e in #(
   7753   e) eval $cacheid=no ;;
   7754 esac
   7755 fi
   7756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7757     conftest$ac_exeext conftest.$ac_ext ;;
   7758 esac
   7759 fi
   7760 
   7761 
   7762 		CFLAGS="$xorg_testset_save_CFLAGS"
   7763 
   7764 		eval supported=\$$cacheid
   7765 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7766 printf '%s\n' "$supported" >&6; }
   7767 		if test "$supported" = "yes" ; then
   7768 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7769 			found="yes"
   7770 		fi
   7771 	fi
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 xorg_testset_save_CFLAGS="$CFLAGS"
   7788 
   7789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7791 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7792 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7793 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7794 then :
   7795   printf %s "(cached) " >&6
   7796 else case e in #(
   7797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7798 /* end confdefs.h.  */
   7799 int i;
   7800 _ACEOF
   7801 if ac_fn_c_try_compile "$LINENO"
   7802 then :
   7803   xorg_cv_cc_flag_unknown_warning_option=yes
   7804 else case e in #(
   7805   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7806 esac
   7807 fi
   7808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7809 esac
   7810 fi
   7811 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7812 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7814 	CFLAGS="$xorg_testset_save_CFLAGS"
   7815 fi
   7816 
   7817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7820 	fi
   7821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7822 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7823 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7824 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7825 then :
   7826   printf %s "(cached) " >&6
   7827 else case e in #(
   7828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7829 /* end confdefs.h.  */
   7830 int i;
   7831 _ACEOF
   7832 if ac_fn_c_try_compile "$LINENO"
   7833 then :
   7834   xorg_cv_cc_flag_unused_command_line_argument=yes
   7835 else case e in #(
   7836   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7837 esac
   7838 fi
   7839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7840 esac
   7841 fi
   7842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7843 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7845 	CFLAGS="$xorg_testset_save_CFLAGS"
   7846 fi
   7847 
   7848 found="no"
   7849 
   7850 	if test $found = "no" ; then
   7851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7853 		fi
   7854 
   7855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7857 		fi
   7858 
   7859 		CFLAGS="$CFLAGS -Werror=nonnull"
   7860 
   7861 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7862 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7863 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7864 		if eval test \${$cacheid+y}
   7865 then :
   7866   printf %s "(cached) " >&6
   7867 else case e in #(
   7868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 int
   7872 main (void)
   7873 {
   7874 
   7875   ;
   7876   return 0;
   7877 }
   7878 _ACEOF
   7879 if ac_fn_c_try_link "$LINENO"
   7880 then :
   7881   eval $cacheid=yes
   7882 else case e in #(
   7883   e) eval $cacheid=no ;;
   7884 esac
   7885 fi
   7886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7887     conftest$ac_exeext conftest.$ac_ext ;;
   7888 esac
   7889 fi
   7890 
   7891 
   7892 		CFLAGS="$xorg_testset_save_CFLAGS"
   7893 
   7894 		eval supported=\$$cacheid
   7895 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7896 printf '%s\n' "$supported" >&6; }
   7897 		if test "$supported" = "yes" ; then
   7898 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7899 			found="yes"
   7900 		fi
   7901 	fi
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 xorg_testset_save_CFLAGS="$CFLAGS"
   7918 
   7919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7921 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7924 then :
   7925   printf %s "(cached) " >&6
   7926 else case e in #(
   7927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"
   7932 then :
   7933   xorg_cv_cc_flag_unknown_warning_option=yes
   7934 else case e in #(
   7935   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7936 esac
   7937 fi
   7938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7939 esac
   7940 fi
   7941 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7942 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7944 	CFLAGS="$xorg_testset_save_CFLAGS"
   7945 fi
   7946 
   7947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7950 	fi
   7951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7952 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7953 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7954 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7955 then :
   7956   printf %s "(cached) " >&6
   7957 else case e in #(
   7958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7959 /* end confdefs.h.  */
   7960 int i;
   7961 _ACEOF
   7962 if ac_fn_c_try_compile "$LINENO"
   7963 then :
   7964   xorg_cv_cc_flag_unused_command_line_argument=yes
   7965 else case e in #(
   7966   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7967 esac
   7968 fi
   7969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7970 esac
   7971 fi
   7972 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7973 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7975 	CFLAGS="$xorg_testset_save_CFLAGS"
   7976 fi
   7977 
   7978 found="no"
   7979 
   7980 	if test $found = "no" ; then
   7981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7983 		fi
   7984 
   7985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7987 		fi
   7988 
   7989 		CFLAGS="$CFLAGS -Werror=init-self"
   7990 
   7991 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7992 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7993 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7994 		if eval test \${$cacheid+y}
   7995 then :
   7996   printf %s "(cached) " >&6
   7997 else case e in #(
   7998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 int i;
   8001 int
   8002 main (void)
   8003 {
   8004 
   8005   ;
   8006   return 0;
   8007 }
   8008 _ACEOF
   8009 if ac_fn_c_try_link "$LINENO"
   8010 then :
   8011   eval $cacheid=yes
   8012 else case e in #(
   8013   e) eval $cacheid=no ;;
   8014 esac
   8015 fi
   8016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8017     conftest$ac_exeext conftest.$ac_ext ;;
   8018 esac
   8019 fi
   8020 
   8021 
   8022 		CFLAGS="$xorg_testset_save_CFLAGS"
   8023 
   8024 		eval supported=\$$cacheid
   8025 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8026 printf '%s\n' "$supported" >&6; }
   8027 		if test "$supported" = "yes" ; then
   8028 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8029 			found="yes"
   8030 		fi
   8031 	fi
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 xorg_testset_save_CFLAGS="$CFLAGS"
   8048 
   8049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8051 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8052 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8053 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8054 then :
   8055   printf %s "(cached) " >&6
   8056 else case e in #(
   8057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8058 /* end confdefs.h.  */
   8059 int i;
   8060 _ACEOF
   8061 if ac_fn_c_try_compile "$LINENO"
   8062 then :
   8063   xorg_cv_cc_flag_unknown_warning_option=yes
   8064 else case e in #(
   8065   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8066 esac
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8069 esac
   8070 fi
   8071 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8072 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8074 	CFLAGS="$xorg_testset_save_CFLAGS"
   8075 fi
   8076 
   8077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 	fi
   8081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8082 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8083 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8084 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8085 then :
   8086   printf %s "(cached) " >&6
   8087 else case e in #(
   8088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8089 /* end confdefs.h.  */
   8090 int i;
   8091 _ACEOF
   8092 if ac_fn_c_try_compile "$LINENO"
   8093 then :
   8094   xorg_cv_cc_flag_unused_command_line_argument=yes
   8095 else case e in #(
   8096   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8097 esac
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8100 esac
   8101 fi
   8102 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8103 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8105 	CFLAGS="$xorg_testset_save_CFLAGS"
   8106 fi
   8107 
   8108 found="no"
   8109 
   8110 	if test $found = "no" ; then
   8111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8113 		fi
   8114 
   8115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8117 		fi
   8118 
   8119 		CFLAGS="$CFLAGS -Werror=main"
   8120 
   8121 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8122 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8123 		cacheid=xorg_cv_cc_flag__Werror_main
   8124 		if eval test \${$cacheid+y}
   8125 then :
   8126   printf %s "(cached) " >&6
   8127 else case e in #(
   8128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 int
   8132 main (void)
   8133 {
   8134 
   8135   ;
   8136   return 0;
   8137 }
   8138 _ACEOF
   8139 if ac_fn_c_try_link "$LINENO"
   8140 then :
   8141   eval $cacheid=yes
   8142 else case e in #(
   8143   e) eval $cacheid=no ;;
   8144 esac
   8145 fi
   8146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8147     conftest$ac_exeext conftest.$ac_ext ;;
   8148 esac
   8149 fi
   8150 
   8151 
   8152 		CFLAGS="$xorg_testset_save_CFLAGS"
   8153 
   8154 		eval supported=\$$cacheid
   8155 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8156 printf '%s\n' "$supported" >&6; }
   8157 		if test "$supported" = "yes" ; then
   8158 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8159 			found="yes"
   8160 		fi
   8161 	fi
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 xorg_testset_save_CFLAGS="$CFLAGS"
   8178 
   8179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8181 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8183 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8184 then :
   8185   printf %s "(cached) " >&6
   8186 else case e in #(
   8187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8188 /* end confdefs.h.  */
   8189 int i;
   8190 _ACEOF
   8191 if ac_fn_c_try_compile "$LINENO"
   8192 then :
   8193   xorg_cv_cc_flag_unknown_warning_option=yes
   8194 else case e in #(
   8195   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8196 esac
   8197 fi
   8198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8199 esac
   8200 fi
   8201 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8202 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8204 	CFLAGS="$xorg_testset_save_CFLAGS"
   8205 fi
   8206 
   8207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8210 	fi
   8211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8212 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8213 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8214 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8215 then :
   8216   printf %s "(cached) " >&6
   8217 else case e in #(
   8218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8219 /* end confdefs.h.  */
   8220 int i;
   8221 _ACEOF
   8222 if ac_fn_c_try_compile "$LINENO"
   8223 then :
   8224   xorg_cv_cc_flag_unused_command_line_argument=yes
   8225 else case e in #(
   8226   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8227 esac
   8228 fi
   8229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8230 esac
   8231 fi
   8232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8233 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8235 	CFLAGS="$xorg_testset_save_CFLAGS"
   8236 fi
   8237 
   8238 found="no"
   8239 
   8240 	if test $found = "no" ; then
   8241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8243 		fi
   8244 
   8245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8247 		fi
   8248 
   8249 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8250 
   8251 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8252 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8253 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8254 		if eval test \${$cacheid+y}
   8255 then :
   8256   printf %s "(cached) " >&6
   8257 else case e in #(
   8258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8259 /* end confdefs.h.  */
   8260 int i;
   8261 int
   8262 main (void)
   8263 {
   8264 
   8265   ;
   8266   return 0;
   8267 }
   8268 _ACEOF
   8269 if ac_fn_c_try_link "$LINENO"
   8270 then :
   8271   eval $cacheid=yes
   8272 else case e in #(
   8273   e) eval $cacheid=no ;;
   8274 esac
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8277     conftest$ac_exeext conftest.$ac_ext ;;
   8278 esac
   8279 fi
   8280 
   8281 
   8282 		CFLAGS="$xorg_testset_save_CFLAGS"
   8283 
   8284 		eval supported=\$$cacheid
   8285 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8286 printf '%s\n' "$supported" >&6; }
   8287 		if test "$supported" = "yes" ; then
   8288 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8289 			found="yes"
   8290 		fi
   8291 	fi
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 xorg_testset_save_CFLAGS="$CFLAGS"
   8308 
   8309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8311 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8313 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8314 then :
   8315   printf %s "(cached) " >&6
   8316 else case e in #(
   8317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8318 /* end confdefs.h.  */
   8319 int i;
   8320 _ACEOF
   8321 if ac_fn_c_try_compile "$LINENO"
   8322 then :
   8323   xorg_cv_cc_flag_unknown_warning_option=yes
   8324 else case e in #(
   8325   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8326 esac
   8327 fi
   8328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8329 esac
   8330 fi
   8331 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8332 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8334 	CFLAGS="$xorg_testset_save_CFLAGS"
   8335 fi
   8336 
   8337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8340 	fi
   8341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8342 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8345 then :
   8346   printf %s "(cached) " >&6
   8347 else case e in #(
   8348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8349 /* end confdefs.h.  */
   8350 int i;
   8351 _ACEOF
   8352 if ac_fn_c_try_compile "$LINENO"
   8353 then :
   8354   xorg_cv_cc_flag_unused_command_line_argument=yes
   8355 else case e in #(
   8356   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8357 esac
   8358 fi
   8359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8360 esac
   8361 fi
   8362 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8363 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8365 	CFLAGS="$xorg_testset_save_CFLAGS"
   8366 fi
   8367 
   8368 found="no"
   8369 
   8370 	if test $found = "no" ; then
   8371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8373 		fi
   8374 
   8375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8377 		fi
   8378 
   8379 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8380 
   8381 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8382 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8383 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8384 		if eval test \${$cacheid+y}
   8385 then :
   8386   printf %s "(cached) " >&6
   8387 else case e in #(
   8388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8389 /* end confdefs.h.  */
   8390 int i;
   8391 int
   8392 main (void)
   8393 {
   8394 
   8395   ;
   8396   return 0;
   8397 }
   8398 _ACEOF
   8399 if ac_fn_c_try_link "$LINENO"
   8400 then :
   8401   eval $cacheid=yes
   8402 else case e in #(
   8403   e) eval $cacheid=no ;;
   8404 esac
   8405 fi
   8406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8407     conftest$ac_exeext conftest.$ac_ext ;;
   8408 esac
   8409 fi
   8410 
   8411 
   8412 		CFLAGS="$xorg_testset_save_CFLAGS"
   8413 
   8414 		eval supported=\$$cacheid
   8415 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8416 printf '%s\n' "$supported" >&6; }
   8417 		if test "$supported" = "yes" ; then
   8418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8419 			found="yes"
   8420 		fi
   8421 	fi
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 xorg_testset_save_CFLAGS="$CFLAGS"
   8438 
   8439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8441 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8444 then :
   8445   printf %s "(cached) " >&6
   8446 else case e in #(
   8447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 _ACEOF
   8451 if ac_fn_c_try_compile "$LINENO"
   8452 then :
   8453   xorg_cv_cc_flag_unknown_warning_option=yes
   8454 else case e in #(
   8455   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8456 esac
   8457 fi
   8458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8459 esac
   8460 fi
   8461 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8462 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8464 	CFLAGS="$xorg_testset_save_CFLAGS"
   8465 fi
   8466 
   8467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 	fi
   8471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8472 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8475 then :
   8476   printf %s "(cached) " >&6
   8477 else case e in #(
   8478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8479 /* end confdefs.h.  */
   8480 int i;
   8481 _ACEOF
   8482 if ac_fn_c_try_compile "$LINENO"
   8483 then :
   8484   xorg_cv_cc_flag_unused_command_line_argument=yes
   8485 else case e in #(
   8486   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8487 esac
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8490 esac
   8491 fi
   8492 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8493 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8495 	CFLAGS="$xorg_testset_save_CFLAGS"
   8496 fi
   8497 
   8498 found="no"
   8499 
   8500 	if test $found = "no" ; then
   8501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8503 		fi
   8504 
   8505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8507 		fi
   8508 
   8509 		CFLAGS="$CFLAGS -Werror=return-type"
   8510 
   8511 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8512 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8513 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8514 		if eval test \${$cacheid+y}
   8515 then :
   8516   printf %s "(cached) " >&6
   8517 else case e in #(
   8518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8519 /* end confdefs.h.  */
   8520 int i;
   8521 int
   8522 main (void)
   8523 {
   8524 
   8525   ;
   8526   return 0;
   8527 }
   8528 _ACEOF
   8529 if ac_fn_c_try_link "$LINENO"
   8530 then :
   8531   eval $cacheid=yes
   8532 else case e in #(
   8533   e) eval $cacheid=no ;;
   8534 esac
   8535 fi
   8536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8537     conftest$ac_exeext conftest.$ac_ext ;;
   8538 esac
   8539 fi
   8540 
   8541 
   8542 		CFLAGS="$xorg_testset_save_CFLAGS"
   8543 
   8544 		eval supported=\$$cacheid
   8545 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8546 printf '%s\n' "$supported" >&6; }
   8547 		if test "$supported" = "yes" ; then
   8548 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8549 			found="yes"
   8550 		fi
   8551 	fi
   8552 
   8553 	if test $found = "no" ; then
   8554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 		fi
   8557 
   8558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 		fi
   8561 
   8562 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8563 
   8564 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8565 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8566 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8567 		if eval test \${$cacheid+y}
   8568 then :
   8569   printf %s "(cached) " >&6
   8570 else case e in #(
   8571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8572 /* end confdefs.h.  */
   8573 int i;
   8574 int
   8575 main (void)
   8576 {
   8577 
   8578   ;
   8579   return 0;
   8580 }
   8581 _ACEOF
   8582 if ac_fn_c_try_link "$LINENO"
   8583 then :
   8584   eval $cacheid=yes
   8585 else case e in #(
   8586   e) eval $cacheid=no ;;
   8587 esac
   8588 fi
   8589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8590     conftest$ac_exeext conftest.$ac_ext ;;
   8591 esac
   8592 fi
   8593 
   8594 
   8595 		CFLAGS="$xorg_testset_save_CFLAGS"
   8596 
   8597 		eval supported=\$$cacheid
   8598 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8599 printf '%s\n' "$supported" >&6; }
   8600 		if test "$supported" = "yes" ; then
   8601 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8602 			found="yes"
   8603 		fi
   8604 	fi
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 xorg_testset_save_CFLAGS="$CFLAGS"
   8621 
   8622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8624 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8627 then :
   8628   printf %s "(cached) " >&6
   8629 else case e in #(
   8630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 _ACEOF
   8634 if ac_fn_c_try_compile "$LINENO"
   8635 then :
   8636   xorg_cv_cc_flag_unknown_warning_option=yes
   8637 else case e in #(
   8638   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8639 esac
   8640 fi
   8641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8642 esac
   8643 fi
   8644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8645 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8647 	CFLAGS="$xorg_testset_save_CFLAGS"
   8648 fi
   8649 
   8650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8653 	fi
   8654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8655 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8658 then :
   8659   printf %s "(cached) " >&6
   8660 else case e in #(
   8661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8662 /* end confdefs.h.  */
   8663 int i;
   8664 _ACEOF
   8665 if ac_fn_c_try_compile "$LINENO"
   8666 then :
   8667   xorg_cv_cc_flag_unused_command_line_argument=yes
   8668 else case e in #(
   8669   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8670 esac
   8671 fi
   8672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8673 esac
   8674 fi
   8675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8676 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8678 	CFLAGS="$xorg_testset_save_CFLAGS"
   8679 fi
   8680 
   8681 found="no"
   8682 
   8683 	if test $found = "no" ; then
   8684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8686 		fi
   8687 
   8688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8690 		fi
   8691 
   8692 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8693 
   8694 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8695 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8696 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8697 		if eval test \${$cacheid+y}
   8698 then :
   8699   printf %s "(cached) " >&6
   8700 else case e in #(
   8701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 int
   8705 main (void)
   8706 {
   8707 
   8708   ;
   8709   return 0;
   8710 }
   8711 _ACEOF
   8712 if ac_fn_c_try_link "$LINENO"
   8713 then :
   8714   eval $cacheid=yes
   8715 else case e in #(
   8716   e) eval $cacheid=no ;;
   8717 esac
   8718 fi
   8719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8720     conftest$ac_exeext conftest.$ac_ext ;;
   8721 esac
   8722 fi
   8723 
   8724 
   8725 		CFLAGS="$xorg_testset_save_CFLAGS"
   8726 
   8727 		eval supported=\$$cacheid
   8728 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8729 printf '%s\n' "$supported" >&6; }
   8730 		if test "$supported" = "yes" ; then
   8731 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8732 			found="yes"
   8733 		fi
   8734 	fi
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 xorg_testset_save_CFLAGS="$CFLAGS"
   8751 
   8752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8754 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8757 then :
   8758   printf %s "(cached) " >&6
   8759 else case e in #(
   8760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8761 /* end confdefs.h.  */
   8762 int i;
   8763 _ACEOF
   8764 if ac_fn_c_try_compile "$LINENO"
   8765 then :
   8766   xorg_cv_cc_flag_unknown_warning_option=yes
   8767 else case e in #(
   8768   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8769 esac
   8770 fi
   8771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8772 esac
   8773 fi
   8774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8775 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8777 	CFLAGS="$xorg_testset_save_CFLAGS"
   8778 fi
   8779 
   8780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8783 	fi
   8784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8785 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8788 then :
   8789   printf %s "(cached) " >&6
   8790 else case e in #(
   8791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 _ACEOF
   8795 if ac_fn_c_try_compile "$LINENO"
   8796 then :
   8797   xorg_cv_cc_flag_unused_command_line_argument=yes
   8798 else case e in #(
   8799   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8800 esac
   8801 fi
   8802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8803 esac
   8804 fi
   8805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8806 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8808 	CFLAGS="$xorg_testset_save_CFLAGS"
   8809 fi
   8810 
   8811 found="no"
   8812 
   8813 	if test $found = "no" ; then
   8814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8816 		fi
   8817 
   8818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8820 		fi
   8821 
   8822 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8823 
   8824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8825 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8826 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8827 		if eval test \${$cacheid+y}
   8828 then :
   8829   printf %s "(cached) " >&6
   8830 else case e in #(
   8831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 int
   8835 main (void)
   8836 {
   8837 
   8838   ;
   8839   return 0;
   8840 }
   8841 _ACEOF
   8842 if ac_fn_c_try_link "$LINENO"
   8843 then :
   8844   eval $cacheid=yes
   8845 else case e in #(
   8846   e) eval $cacheid=no ;;
   8847 esac
   8848 fi
   8849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8850     conftest$ac_exeext conftest.$ac_ext ;;
   8851 esac
   8852 fi
   8853 
   8854 
   8855 		CFLAGS="$xorg_testset_save_CFLAGS"
   8856 
   8857 		eval supported=\$$cacheid
   8858 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8859 printf '%s\n' "$supported" >&6; }
   8860 		if test "$supported" = "yes" ; then
   8861 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8862 			found="yes"
   8863 		fi
   8864 	fi
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 xorg_testset_save_CFLAGS="$CFLAGS"
   8881 
   8882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8884 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8887 then :
   8888   printf %s "(cached) " >&6
   8889 else case e in #(
   8890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8891 /* end confdefs.h.  */
   8892 int i;
   8893 _ACEOF
   8894 if ac_fn_c_try_compile "$LINENO"
   8895 then :
   8896   xorg_cv_cc_flag_unknown_warning_option=yes
   8897 else case e in #(
   8898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8899 esac
   8900 fi
   8901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8902 esac
   8903 fi
   8904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8905 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8907 	CFLAGS="$xorg_testset_save_CFLAGS"
   8908 fi
   8909 
   8910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8913 	fi
   8914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8915 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8918 then :
   8919   printf %s "(cached) " >&6
   8920 else case e in #(
   8921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8922 /* end confdefs.h.  */
   8923 int i;
   8924 _ACEOF
   8925 if ac_fn_c_try_compile "$LINENO"
   8926 then :
   8927   xorg_cv_cc_flag_unused_command_line_argument=yes
   8928 else case e in #(
   8929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8930 esac
   8931 fi
   8932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8933 esac
   8934 fi
   8935 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8936 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8938 	CFLAGS="$xorg_testset_save_CFLAGS"
   8939 fi
   8940 
   8941 found="no"
   8942 
   8943 	if test $found = "no" ; then
   8944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8946 		fi
   8947 
   8948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8950 		fi
   8951 
   8952 		CFLAGS="$CFLAGS -Werror=write-strings"
   8953 
   8954 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8955 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8956 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8957 		if eval test \${$cacheid+y}
   8958 then :
   8959   printf %s "(cached) " >&6
   8960 else case e in #(
   8961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8962 /* end confdefs.h.  */
   8963 int i;
   8964 int
   8965 main (void)
   8966 {
   8967 
   8968   ;
   8969   return 0;
   8970 }
   8971 _ACEOF
   8972 if ac_fn_c_try_link "$LINENO"
   8973 then :
   8974   eval $cacheid=yes
   8975 else case e in #(
   8976   e) eval $cacheid=no ;;
   8977 esac
   8978 fi
   8979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8980     conftest$ac_exeext conftest.$ac_ext ;;
   8981 esac
   8982 fi
   8983 
   8984 
   8985 		CFLAGS="$xorg_testset_save_CFLAGS"
   8986 
   8987 		eval supported=\$$cacheid
   8988 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8989 printf '%s\n' "$supported" >&6; }
   8990 		if test "$supported" = "yes" ; then
   8991 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8992 			found="yes"
   8993 		fi
   8994 	fi
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 xorg_testset_save_CFLAGS="$CFLAGS"
   9011 
   9012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9014 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9017 then :
   9018   printf %s "(cached) " >&6
   9019 else case e in #(
   9020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9021 /* end confdefs.h.  */
   9022 int i;
   9023 _ACEOF
   9024 if ac_fn_c_try_compile "$LINENO"
   9025 then :
   9026   xorg_cv_cc_flag_unknown_warning_option=yes
   9027 else case e in #(
   9028   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9029 esac
   9030 fi
   9031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9032 esac
   9033 fi
   9034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9035 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9037 	CFLAGS="$xorg_testset_save_CFLAGS"
   9038 fi
   9039 
   9040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9043 	fi
   9044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9045 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9048 then :
   9049   printf %s "(cached) " >&6
   9050 else case e in #(
   9051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 _ACEOF
   9055 if ac_fn_c_try_compile "$LINENO"
   9056 then :
   9057   xorg_cv_cc_flag_unused_command_line_argument=yes
   9058 else case e in #(
   9059   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9060 esac
   9061 fi
   9062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9063 esac
   9064 fi
   9065 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9066 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9068 	CFLAGS="$xorg_testset_save_CFLAGS"
   9069 fi
   9070 
   9071 found="no"
   9072 
   9073 	if test $found = "no" ; then
   9074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 		fi
   9077 
   9078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9080 		fi
   9081 
   9082 		CFLAGS="$CFLAGS -Werror=address"
   9083 
   9084 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9085 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9086 		cacheid=xorg_cv_cc_flag__Werror_address
   9087 		if eval test \${$cacheid+y}
   9088 then :
   9089   printf %s "(cached) " >&6
   9090 else case e in #(
   9091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9092 /* end confdefs.h.  */
   9093 int i;
   9094 int
   9095 main (void)
   9096 {
   9097 
   9098   ;
   9099   return 0;
   9100 }
   9101 _ACEOF
   9102 if ac_fn_c_try_link "$LINENO"
   9103 then :
   9104   eval $cacheid=yes
   9105 else case e in #(
   9106   e) eval $cacheid=no ;;
   9107 esac
   9108 fi
   9109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9110     conftest$ac_exeext conftest.$ac_ext ;;
   9111 esac
   9112 fi
   9113 
   9114 
   9115 		CFLAGS="$xorg_testset_save_CFLAGS"
   9116 
   9117 		eval supported=\$$cacheid
   9118 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9119 printf '%s\n' "$supported" >&6; }
   9120 		if test "$supported" = "yes" ; then
   9121 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9122 			found="yes"
   9123 		fi
   9124 	fi
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 xorg_testset_save_CFLAGS="$CFLAGS"
   9141 
   9142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9147 then :
   9148   printf %s "(cached) " >&6
   9149 else case e in #(
   9150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9151 /* end confdefs.h.  */
   9152 int i;
   9153 _ACEOF
   9154 if ac_fn_c_try_compile "$LINENO"
   9155 then :
   9156   xorg_cv_cc_flag_unknown_warning_option=yes
   9157 else case e in #(
   9158   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9159 esac
   9160 fi
   9161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9162 esac
   9163 fi
   9164 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9165 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9167 	CFLAGS="$xorg_testset_save_CFLAGS"
   9168 fi
   9169 
   9170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9173 	fi
   9174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9175 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9178 then :
   9179   printf %s "(cached) " >&6
   9180 else case e in #(
   9181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 int i;
   9184 _ACEOF
   9185 if ac_fn_c_try_compile "$LINENO"
   9186 then :
   9187   xorg_cv_cc_flag_unused_command_line_argument=yes
   9188 else case e in #(
   9189   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9190 esac
   9191 fi
   9192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9193 esac
   9194 fi
   9195 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9196 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9198 	CFLAGS="$xorg_testset_save_CFLAGS"
   9199 fi
   9200 
   9201 found="no"
   9202 
   9203 	if test $found = "no" ; then
   9204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9206 		fi
   9207 
   9208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9210 		fi
   9211 
   9212 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9213 
   9214 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9215 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9216 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9217 		if eval test \${$cacheid+y}
   9218 then :
   9219   printf %s "(cached) " >&6
   9220 else case e in #(
   9221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9222 /* end confdefs.h.  */
   9223 int i;
   9224 int
   9225 main (void)
   9226 {
   9227 
   9228   ;
   9229   return 0;
   9230 }
   9231 _ACEOF
   9232 if ac_fn_c_try_link "$LINENO"
   9233 then :
   9234   eval $cacheid=yes
   9235 else case e in #(
   9236   e) eval $cacheid=no ;;
   9237 esac
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9240     conftest$ac_exeext conftest.$ac_ext ;;
   9241 esac
   9242 fi
   9243 
   9244 
   9245 		CFLAGS="$xorg_testset_save_CFLAGS"
   9246 
   9247 		eval supported=\$$cacheid
   9248 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9249 printf '%s\n' "$supported" >&6; }
   9250 		if test "$supported" = "yes" ; then
   9251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9252 			found="yes"
   9253 		fi
   9254 	fi
   9255 
   9256 	if test $found = "no" ; then
   9257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9259 		fi
   9260 
   9261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9263 		fi
   9264 
   9265 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9266 
   9267 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9268 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9269 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9270 		if eval test \${$cacheid+y}
   9271 then :
   9272   printf %s "(cached) " >&6
   9273 else case e in #(
   9274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 int
   9278 main (void)
   9279 {
   9280 
   9281   ;
   9282   return 0;
   9283 }
   9284 _ACEOF
   9285 if ac_fn_c_try_link "$LINENO"
   9286 then :
   9287   eval $cacheid=yes
   9288 else case e in #(
   9289   e) eval $cacheid=no ;;
   9290 esac
   9291 fi
   9292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9293     conftest$ac_exeext conftest.$ac_ext ;;
   9294 esac
   9295 fi
   9296 
   9297 
   9298 		CFLAGS="$xorg_testset_save_CFLAGS"
   9299 
   9300 		eval supported=\$$cacheid
   9301 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9302 printf '%s\n' "$supported" >&6; }
   9303 		if test "$supported" = "yes" ; then
   9304 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9305 			found="yes"
   9306 		fi
   9307 	fi
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 xorg_testset_save_CFLAGS="$CFLAGS"
   9324 
   9325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9327 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9328 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9329 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9330 then :
   9331   printf %s "(cached) " >&6
   9332 else case e in #(
   9333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9334 /* end confdefs.h.  */
   9335 int i;
   9336 _ACEOF
   9337 if ac_fn_c_try_compile "$LINENO"
   9338 then :
   9339   xorg_cv_cc_flag_unknown_warning_option=yes
   9340 else case e in #(
   9341   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9342 esac
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9345 esac
   9346 fi
   9347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9348 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9350 	CFLAGS="$xorg_testset_save_CFLAGS"
   9351 fi
   9352 
   9353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9356 	fi
   9357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9358 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9359 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9360 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9361 then :
   9362   printf %s "(cached) " >&6
   9363 else case e in #(
   9364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9365 /* end confdefs.h.  */
   9366 int i;
   9367 _ACEOF
   9368 if ac_fn_c_try_compile "$LINENO"
   9369 then :
   9370   xorg_cv_cc_flag_unused_command_line_argument=yes
   9371 else case e in #(
   9372   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9373 esac
   9374 fi
   9375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9376 esac
   9377 fi
   9378 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9379 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9381 	CFLAGS="$xorg_testset_save_CFLAGS"
   9382 fi
   9383 
   9384 found="no"
   9385 
   9386 	if test $found = "no" ; then
   9387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9389 		fi
   9390 
   9391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9393 		fi
   9394 
   9395 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9396 
   9397 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9398 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9399 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9400 		if eval test \${$cacheid+y}
   9401 then :
   9402   printf %s "(cached) " >&6
   9403 else case e in #(
   9404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9405 /* end confdefs.h.  */
   9406 int i;
   9407 int
   9408 main (void)
   9409 {
   9410 
   9411   ;
   9412   return 0;
   9413 }
   9414 _ACEOF
   9415 if ac_fn_c_try_link "$LINENO"
   9416 then :
   9417   eval $cacheid=yes
   9418 else case e in #(
   9419   e) eval $cacheid=no ;;
   9420 esac
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9423     conftest$ac_exeext conftest.$ac_ext ;;
   9424 esac
   9425 fi
   9426 
   9427 
   9428 		CFLAGS="$xorg_testset_save_CFLAGS"
   9429 
   9430 		eval supported=\$$cacheid
   9431 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9432 printf '%s\n' "$supported" >&6; }
   9433 		if test "$supported" = "yes" ; then
   9434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9435 			found="yes"
   9436 		fi
   9437 	fi
   9438 
   9439  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9440 else
   9441 { 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
   9442 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;}
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 xorg_testset_save_CFLAGS="$CFLAGS"
   9457 
   9458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9460 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9461 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9462 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9463 then :
   9464   printf %s "(cached) " >&6
   9465 else case e in #(
   9466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9467 /* end confdefs.h.  */
   9468 int i;
   9469 _ACEOF
   9470 if ac_fn_c_try_compile "$LINENO"
   9471 then :
   9472   xorg_cv_cc_flag_unknown_warning_option=yes
   9473 else case e in #(
   9474   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9475 esac
   9476 fi
   9477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9478 esac
   9479 fi
   9480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9481 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9483 	CFLAGS="$xorg_testset_save_CFLAGS"
   9484 fi
   9485 
   9486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	fi
   9490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9491 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9492 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9493 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9494 then :
   9495   printf %s "(cached) " >&6
   9496 else case e in #(
   9497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9498 /* end confdefs.h.  */
   9499 int i;
   9500 _ACEOF
   9501 if ac_fn_c_try_compile "$LINENO"
   9502 then :
   9503   xorg_cv_cc_flag_unused_command_line_argument=yes
   9504 else case e in #(
   9505   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9506 esac
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9509 esac
   9510 fi
   9511 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9512 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9513 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9514 	CFLAGS="$xorg_testset_save_CFLAGS"
   9515 fi
   9516 
   9517 found="no"
   9518 
   9519 	if test $found = "no" ; then
   9520 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9521 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 		fi
   9523 
   9524 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9525 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9526 		fi
   9527 
   9528 		CFLAGS="$CFLAGS -Wimplicit"
   9529 
   9530 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9531 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9532 		cacheid=xorg_cv_cc_flag__Wimplicit
   9533 		if eval test \${$cacheid+y}
   9534 then :
   9535   printf %s "(cached) " >&6
   9536 else case e in #(
   9537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9538 /* end confdefs.h.  */
   9539 int i;
   9540 int
   9541 main (void)
   9542 {
   9543 
   9544   ;
   9545   return 0;
   9546 }
   9547 _ACEOF
   9548 if ac_fn_c_try_link "$LINENO"
   9549 then :
   9550   eval $cacheid=yes
   9551 else case e in #(
   9552   e) eval $cacheid=no ;;
   9553 esac
   9554 fi
   9555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9556     conftest$ac_exeext conftest.$ac_ext ;;
   9557 esac
   9558 fi
   9559 
   9560 
   9561 		CFLAGS="$xorg_testset_save_CFLAGS"
   9562 
   9563 		eval supported=\$$cacheid
   9564 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9565 printf '%s\n' "$supported" >&6; }
   9566 		if test "$supported" = "yes" ; then
   9567 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9568 			found="yes"
   9569 		fi
   9570 	fi
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 xorg_testset_save_CFLAGS="$CFLAGS"
   9587 
   9588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9590 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9591 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9592 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9593 then :
   9594   printf %s "(cached) " >&6
   9595 else case e in #(
   9596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 _ACEOF
   9600 if ac_fn_c_try_compile "$LINENO"
   9601 then :
   9602   xorg_cv_cc_flag_unknown_warning_option=yes
   9603 else case e in #(
   9604   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9605 esac
   9606 fi
   9607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9608 esac
   9609 fi
   9610 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9611 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9613 	CFLAGS="$xorg_testset_save_CFLAGS"
   9614 fi
   9615 
   9616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9619 	fi
   9620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9621 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9624 then :
   9625   printf %s "(cached) " >&6
   9626 else case e in #(
   9627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9628 /* end confdefs.h.  */
   9629 int i;
   9630 _ACEOF
   9631 if ac_fn_c_try_compile "$LINENO"
   9632 then :
   9633   xorg_cv_cc_flag_unused_command_line_argument=yes
   9634 else case e in #(
   9635   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9636 esac
   9637 fi
   9638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9639 esac
   9640 fi
   9641 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9642 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9644 	CFLAGS="$xorg_testset_save_CFLAGS"
   9645 fi
   9646 
   9647 found="no"
   9648 
   9649 	if test $found = "no" ; then
   9650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 		fi
   9653 
   9654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9656 		fi
   9657 
   9658 		CFLAGS="$CFLAGS -Wnonnull"
   9659 
   9660 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9661 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9662 		cacheid=xorg_cv_cc_flag__Wnonnull
   9663 		if eval test \${$cacheid+y}
   9664 then :
   9665   printf %s "(cached) " >&6
   9666 else case e in #(
   9667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9668 /* end confdefs.h.  */
   9669 int i;
   9670 int
   9671 main (void)
   9672 {
   9673 
   9674   ;
   9675   return 0;
   9676 }
   9677 _ACEOF
   9678 if ac_fn_c_try_link "$LINENO"
   9679 then :
   9680   eval $cacheid=yes
   9681 else case e in #(
   9682   e) eval $cacheid=no ;;
   9683 esac
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9686     conftest$ac_exeext conftest.$ac_ext ;;
   9687 esac
   9688 fi
   9689 
   9690 
   9691 		CFLAGS="$xorg_testset_save_CFLAGS"
   9692 
   9693 		eval supported=\$$cacheid
   9694 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9695 printf '%s\n' "$supported" >&6; }
   9696 		if test "$supported" = "yes" ; then
   9697 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9698 			found="yes"
   9699 		fi
   9700 	fi
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 xorg_testset_save_CFLAGS="$CFLAGS"
   9717 
   9718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9720 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9721 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9722 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9723 then :
   9724   printf %s "(cached) " >&6
   9725 else case e in #(
   9726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9727 /* end confdefs.h.  */
   9728 int i;
   9729 _ACEOF
   9730 if ac_fn_c_try_compile "$LINENO"
   9731 then :
   9732   xorg_cv_cc_flag_unknown_warning_option=yes
   9733 else case e in #(
   9734   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9735 esac
   9736 fi
   9737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9738 esac
   9739 fi
   9740 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9741 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9743 	CFLAGS="$xorg_testset_save_CFLAGS"
   9744 fi
   9745 
   9746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9749 	fi
   9750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9751 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9754 then :
   9755   printf %s "(cached) " >&6
   9756 else case e in #(
   9757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 _ACEOF
   9761 if ac_fn_c_try_compile "$LINENO"
   9762 then :
   9763   xorg_cv_cc_flag_unused_command_line_argument=yes
   9764 else case e in #(
   9765   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9766 esac
   9767 fi
   9768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9769 esac
   9770 fi
   9771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9772 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9774 	CFLAGS="$xorg_testset_save_CFLAGS"
   9775 fi
   9776 
   9777 found="no"
   9778 
   9779 	if test $found = "no" ; then
   9780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9782 		fi
   9783 
   9784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9786 		fi
   9787 
   9788 		CFLAGS="$CFLAGS -Winit-self"
   9789 
   9790 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9791 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9792 		cacheid=xorg_cv_cc_flag__Winit_self
   9793 		if eval test \${$cacheid+y}
   9794 then :
   9795   printf %s "(cached) " >&6
   9796 else case e in #(
   9797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9798 /* end confdefs.h.  */
   9799 int i;
   9800 int
   9801 main (void)
   9802 {
   9803 
   9804   ;
   9805   return 0;
   9806 }
   9807 _ACEOF
   9808 if ac_fn_c_try_link "$LINENO"
   9809 then :
   9810   eval $cacheid=yes
   9811 else case e in #(
   9812   e) eval $cacheid=no ;;
   9813 esac
   9814 fi
   9815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9816     conftest$ac_exeext conftest.$ac_ext ;;
   9817 esac
   9818 fi
   9819 
   9820 
   9821 		CFLAGS="$xorg_testset_save_CFLAGS"
   9822 
   9823 		eval supported=\$$cacheid
   9824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9825 printf '%s\n' "$supported" >&6; }
   9826 		if test "$supported" = "yes" ; then
   9827 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9828 			found="yes"
   9829 		fi
   9830 	fi
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 xorg_testset_save_CFLAGS="$CFLAGS"
   9847 
   9848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9853 then :
   9854   printf %s "(cached) " >&6
   9855 else case e in #(
   9856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9857 /* end confdefs.h.  */
   9858 int i;
   9859 _ACEOF
   9860 if ac_fn_c_try_compile "$LINENO"
   9861 then :
   9862   xorg_cv_cc_flag_unknown_warning_option=yes
   9863 else case e in #(
   9864   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9865 esac
   9866 fi
   9867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9868 esac
   9869 fi
   9870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9871 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9873 	CFLAGS="$xorg_testset_save_CFLAGS"
   9874 fi
   9875 
   9876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 	fi
   9880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9881 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9884 then :
   9885   printf %s "(cached) " >&6
   9886 else case e in #(
   9887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9888 /* end confdefs.h.  */
   9889 int i;
   9890 _ACEOF
   9891 if ac_fn_c_try_compile "$LINENO"
   9892 then :
   9893   xorg_cv_cc_flag_unused_command_line_argument=yes
   9894 else case e in #(
   9895   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9896 esac
   9897 fi
   9898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9899 esac
   9900 fi
   9901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9902 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9904 	CFLAGS="$xorg_testset_save_CFLAGS"
   9905 fi
   9906 
   9907 found="no"
   9908 
   9909 	if test $found = "no" ; then
   9910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9912 		fi
   9913 
   9914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9916 		fi
   9917 
   9918 		CFLAGS="$CFLAGS -Wmain"
   9919 
   9920 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9921 printf %s "checking if $CC supports -Wmain... " >&6; }
   9922 		cacheid=xorg_cv_cc_flag__Wmain
   9923 		if eval test \${$cacheid+y}
   9924 then :
   9925   printf %s "(cached) " >&6
   9926 else case e in #(
   9927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9928 /* end confdefs.h.  */
   9929 int i;
   9930 int
   9931 main (void)
   9932 {
   9933 
   9934   ;
   9935   return 0;
   9936 }
   9937 _ACEOF
   9938 if ac_fn_c_try_link "$LINENO"
   9939 then :
   9940   eval $cacheid=yes
   9941 else case e in #(
   9942   e) eval $cacheid=no ;;
   9943 esac
   9944 fi
   9945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9946     conftest$ac_exeext conftest.$ac_ext ;;
   9947 esac
   9948 fi
   9949 
   9950 
   9951 		CFLAGS="$xorg_testset_save_CFLAGS"
   9952 
   9953 		eval supported=\$$cacheid
   9954 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9955 printf '%s\n' "$supported" >&6; }
   9956 		if test "$supported" = "yes" ; then
   9957 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9958 			found="yes"
   9959 		fi
   9960 	fi
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 xorg_testset_save_CFLAGS="$CFLAGS"
   9977 
   9978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9980 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9981 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9982 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9983 then :
   9984   printf %s "(cached) " >&6
   9985 else case e in #(
   9986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 _ACEOF
   9990 if ac_fn_c_try_compile "$LINENO"
   9991 then :
   9992   xorg_cv_cc_flag_unknown_warning_option=yes
   9993 else case e in #(
   9994   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9995 esac
   9996 fi
   9997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9998 esac
   9999 fi
   10000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10001 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10003 	CFLAGS="$xorg_testset_save_CFLAGS"
   10004 fi
   10005 
   10006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10009 	fi
   10010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10014 then :
   10015   printf %s "(cached) " >&6
   10016 else case e in #(
   10017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 _ACEOF
   10021 if ac_fn_c_try_compile "$LINENO"
   10022 then :
   10023   xorg_cv_cc_flag_unused_command_line_argument=yes
   10024 else case e in #(
   10025   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10026 esac
   10027 fi
   10028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10029 esac
   10030 fi
   10031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10032 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10034 	CFLAGS="$xorg_testset_save_CFLAGS"
   10035 fi
   10036 
   10037 found="no"
   10038 
   10039 	if test $found = "no" ; then
   10040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10042 		fi
   10043 
   10044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10046 		fi
   10047 
   10048 		CFLAGS="$CFLAGS -Wmissing-braces"
   10049 
   10050 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10051 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10052 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10053 		if eval test \${$cacheid+y}
   10054 then :
   10055   printf %s "(cached) " >&6
   10056 else case e in #(
   10057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 int
   10061 main (void)
   10062 {
   10063 
   10064   ;
   10065   return 0;
   10066 }
   10067 _ACEOF
   10068 if ac_fn_c_try_link "$LINENO"
   10069 then :
   10070   eval $cacheid=yes
   10071 else case e in #(
   10072   e) eval $cacheid=no ;;
   10073 esac
   10074 fi
   10075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10076     conftest$ac_exeext conftest.$ac_ext ;;
   10077 esac
   10078 fi
   10079 
   10080 
   10081 		CFLAGS="$xorg_testset_save_CFLAGS"
   10082 
   10083 		eval supported=\$$cacheid
   10084 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10085 printf '%s\n' "$supported" >&6; }
   10086 		if test "$supported" = "yes" ; then
   10087 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10088 			found="yes"
   10089 		fi
   10090 	fi
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 xorg_testset_save_CFLAGS="$CFLAGS"
   10107 
   10108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10110 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10113 then :
   10114   printf %s "(cached) " >&6
   10115 else case e in #(
   10116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10117 /* end confdefs.h.  */
   10118 int i;
   10119 _ACEOF
   10120 if ac_fn_c_try_compile "$LINENO"
   10121 then :
   10122   xorg_cv_cc_flag_unknown_warning_option=yes
   10123 else case e in #(
   10124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10125 esac
   10126 fi
   10127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10128 esac
   10129 fi
   10130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10131 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10133 	CFLAGS="$xorg_testset_save_CFLAGS"
   10134 fi
   10135 
   10136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 	fi
   10140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10141 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10144 then :
   10145   printf %s "(cached) " >&6
   10146 else case e in #(
   10147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 _ACEOF
   10151 if ac_fn_c_try_compile "$LINENO"
   10152 then :
   10153   xorg_cv_cc_flag_unused_command_line_argument=yes
   10154 else case e in #(
   10155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10156 esac
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10159 esac
   10160 fi
   10161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10162 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10164 	CFLAGS="$xorg_testset_save_CFLAGS"
   10165 fi
   10166 
   10167 found="no"
   10168 
   10169 	if test $found = "no" ; then
   10170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 		fi
   10173 
   10174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10176 		fi
   10177 
   10178 		CFLAGS="$CFLAGS -Wsequence-point"
   10179 
   10180 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10181 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10182 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10183 		if eval test \${$cacheid+y}
   10184 then :
   10185   printf %s "(cached) " >&6
   10186 else case e in #(
   10187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10188 /* end confdefs.h.  */
   10189 int i;
   10190 int
   10191 main (void)
   10192 {
   10193 
   10194   ;
   10195   return 0;
   10196 }
   10197 _ACEOF
   10198 if ac_fn_c_try_link "$LINENO"
   10199 then :
   10200   eval $cacheid=yes
   10201 else case e in #(
   10202   e) eval $cacheid=no ;;
   10203 esac
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10206     conftest$ac_exeext conftest.$ac_ext ;;
   10207 esac
   10208 fi
   10209 
   10210 
   10211 		CFLAGS="$xorg_testset_save_CFLAGS"
   10212 
   10213 		eval supported=\$$cacheid
   10214 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10215 printf '%s\n' "$supported" >&6; }
   10216 		if test "$supported" = "yes" ; then
   10217 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10218 			found="yes"
   10219 		fi
   10220 	fi
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 xorg_testset_save_CFLAGS="$CFLAGS"
   10237 
   10238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10240 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10243 then :
   10244   printf %s "(cached) " >&6
   10245 else case e in #(
   10246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10247 /* end confdefs.h.  */
   10248 int i;
   10249 _ACEOF
   10250 if ac_fn_c_try_compile "$LINENO"
   10251 then :
   10252   xorg_cv_cc_flag_unknown_warning_option=yes
   10253 else case e in #(
   10254   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10255 esac
   10256 fi
   10257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10258 esac
   10259 fi
   10260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10261 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10263 	CFLAGS="$xorg_testset_save_CFLAGS"
   10264 fi
   10265 
   10266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10269 	fi
   10270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10271 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10274 then :
   10275   printf %s "(cached) " >&6
   10276 else case e in #(
   10277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10278 /* end confdefs.h.  */
   10279 int i;
   10280 _ACEOF
   10281 if ac_fn_c_try_compile "$LINENO"
   10282 then :
   10283   xorg_cv_cc_flag_unused_command_line_argument=yes
   10284 else case e in #(
   10285   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10286 esac
   10287 fi
   10288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10289 esac
   10290 fi
   10291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10292 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10294 	CFLAGS="$xorg_testset_save_CFLAGS"
   10295 fi
   10296 
   10297 found="no"
   10298 
   10299 	if test $found = "no" ; then
   10300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10302 		fi
   10303 
   10304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10306 		fi
   10307 
   10308 		CFLAGS="$CFLAGS -Wreturn-type"
   10309 
   10310 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10311 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10312 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10313 		if eval test \${$cacheid+y}
   10314 then :
   10315   printf %s "(cached) " >&6
   10316 else case e in #(
   10317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10318 /* end confdefs.h.  */
   10319 int i;
   10320 int
   10321 main (void)
   10322 {
   10323 
   10324   ;
   10325   return 0;
   10326 }
   10327 _ACEOF
   10328 if ac_fn_c_try_link "$LINENO"
   10329 then :
   10330   eval $cacheid=yes
   10331 else case e in #(
   10332   e) eval $cacheid=no ;;
   10333 esac
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10336     conftest$ac_exeext conftest.$ac_ext ;;
   10337 esac
   10338 fi
   10339 
   10340 
   10341 		CFLAGS="$xorg_testset_save_CFLAGS"
   10342 
   10343 		eval supported=\$$cacheid
   10344 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10345 printf '%s\n' "$supported" >&6; }
   10346 		if test "$supported" = "yes" ; then
   10347 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10348 			found="yes"
   10349 		fi
   10350 	fi
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 xorg_testset_save_CFLAGS="$CFLAGS"
   10367 
   10368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10370 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10373 then :
   10374   printf %s "(cached) " >&6
   10375 else case e in #(
   10376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10377 /* end confdefs.h.  */
   10378 int i;
   10379 _ACEOF
   10380 if ac_fn_c_try_compile "$LINENO"
   10381 then :
   10382   xorg_cv_cc_flag_unknown_warning_option=yes
   10383 else case e in #(
   10384   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10385 esac
   10386 fi
   10387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10388 esac
   10389 fi
   10390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10391 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10393 	CFLAGS="$xorg_testset_save_CFLAGS"
   10394 fi
   10395 
   10396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10399 	fi
   10400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10401 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else case e in #(
   10407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 _ACEOF
   10411 if ac_fn_c_try_compile "$LINENO"
   10412 then :
   10413   xorg_cv_cc_flag_unused_command_line_argument=yes
   10414 else case e in #(
   10415   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10416 esac
   10417 fi
   10418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10419 esac
   10420 fi
   10421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10422 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10424 	CFLAGS="$xorg_testset_save_CFLAGS"
   10425 fi
   10426 
   10427 found="no"
   10428 
   10429 	if test $found = "no" ; then
   10430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10432 		fi
   10433 
   10434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10436 		fi
   10437 
   10438 		CFLAGS="$CFLAGS -Wtrigraphs"
   10439 
   10440 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10441 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10442 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10443 		if eval test \${$cacheid+y}
   10444 then :
   10445   printf %s "(cached) " >&6
   10446 else case e in #(
   10447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10448 /* end confdefs.h.  */
   10449 int i;
   10450 int
   10451 main (void)
   10452 {
   10453 
   10454   ;
   10455   return 0;
   10456 }
   10457 _ACEOF
   10458 if ac_fn_c_try_link "$LINENO"
   10459 then :
   10460   eval $cacheid=yes
   10461 else case e in #(
   10462   e) eval $cacheid=no ;;
   10463 esac
   10464 fi
   10465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10466     conftest$ac_exeext conftest.$ac_ext ;;
   10467 esac
   10468 fi
   10469 
   10470 
   10471 		CFLAGS="$xorg_testset_save_CFLAGS"
   10472 
   10473 		eval supported=\$$cacheid
   10474 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10475 printf '%s\n' "$supported" >&6; }
   10476 		if test "$supported" = "yes" ; then
   10477 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10478 			found="yes"
   10479 		fi
   10480 	fi
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 xorg_testset_save_CFLAGS="$CFLAGS"
   10497 
   10498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10500 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10501 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10502 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10503 then :
   10504   printf %s "(cached) " >&6
   10505 else case e in #(
   10506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10507 /* end confdefs.h.  */
   10508 int i;
   10509 _ACEOF
   10510 if ac_fn_c_try_compile "$LINENO"
   10511 then :
   10512   xorg_cv_cc_flag_unknown_warning_option=yes
   10513 else case e in #(
   10514   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10515 esac
   10516 fi
   10517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10518 esac
   10519 fi
   10520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10521 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10523 	CFLAGS="$xorg_testset_save_CFLAGS"
   10524 fi
   10525 
   10526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10529 	fi
   10530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10531 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10534 then :
   10535   printf %s "(cached) " >&6
   10536 else case e in #(
   10537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10538 /* end confdefs.h.  */
   10539 int i;
   10540 _ACEOF
   10541 if ac_fn_c_try_compile "$LINENO"
   10542 then :
   10543   xorg_cv_cc_flag_unused_command_line_argument=yes
   10544 else case e in #(
   10545   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10546 esac
   10547 fi
   10548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10549 esac
   10550 fi
   10551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10552 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10554 	CFLAGS="$xorg_testset_save_CFLAGS"
   10555 fi
   10556 
   10557 found="no"
   10558 
   10559 	if test $found = "no" ; then
   10560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10562 		fi
   10563 
   10564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10566 		fi
   10567 
   10568 		CFLAGS="$CFLAGS -Warray-bounds"
   10569 
   10570 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10571 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10572 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10573 		if eval test \${$cacheid+y}
   10574 then :
   10575   printf %s "(cached) " >&6
   10576 else case e in #(
   10577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10578 /* end confdefs.h.  */
   10579 int i;
   10580 int
   10581 main (void)
   10582 {
   10583 
   10584   ;
   10585   return 0;
   10586 }
   10587 _ACEOF
   10588 if ac_fn_c_try_link "$LINENO"
   10589 then :
   10590   eval $cacheid=yes
   10591 else case e in #(
   10592   e) eval $cacheid=no ;;
   10593 esac
   10594 fi
   10595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10596     conftest$ac_exeext conftest.$ac_ext ;;
   10597 esac
   10598 fi
   10599 
   10600 
   10601 		CFLAGS="$xorg_testset_save_CFLAGS"
   10602 
   10603 		eval supported=\$$cacheid
   10604 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10605 printf '%s\n' "$supported" >&6; }
   10606 		if test "$supported" = "yes" ; then
   10607 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10608 			found="yes"
   10609 		fi
   10610 	fi
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 xorg_testset_save_CFLAGS="$CFLAGS"
   10627 
   10628 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10629 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10630 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10631 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10632 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10633 then :
   10634   printf %s "(cached) " >&6
   10635 else case e in #(
   10636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10637 /* end confdefs.h.  */
   10638 int i;
   10639 _ACEOF
   10640 if ac_fn_c_try_compile "$LINENO"
   10641 then :
   10642   xorg_cv_cc_flag_unknown_warning_option=yes
   10643 else case e in #(
   10644   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10645 esac
   10646 fi
   10647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10648 esac
   10649 fi
   10650 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10651 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10653 	CFLAGS="$xorg_testset_save_CFLAGS"
   10654 fi
   10655 
   10656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10659 	fi
   10660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10661 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10662 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10663 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10664 then :
   10665   printf %s "(cached) " >&6
   10666 else case e in #(
   10667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10668 /* end confdefs.h.  */
   10669 int i;
   10670 _ACEOF
   10671 if ac_fn_c_try_compile "$LINENO"
   10672 then :
   10673   xorg_cv_cc_flag_unused_command_line_argument=yes
   10674 else case e in #(
   10675   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10676 esac
   10677 fi
   10678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10679 esac
   10680 fi
   10681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10682 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10684 	CFLAGS="$xorg_testset_save_CFLAGS"
   10685 fi
   10686 
   10687 found="no"
   10688 
   10689 	if test $found = "no" ; then
   10690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10692 		fi
   10693 
   10694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10696 		fi
   10697 
   10698 		CFLAGS="$CFLAGS -Wwrite-strings"
   10699 
   10700 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10701 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10702 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10703 		if eval test \${$cacheid+y}
   10704 then :
   10705   printf %s "(cached) " >&6
   10706 else case e in #(
   10707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10708 /* end confdefs.h.  */
   10709 int i;
   10710 int
   10711 main (void)
   10712 {
   10713 
   10714   ;
   10715   return 0;
   10716 }
   10717 _ACEOF
   10718 if ac_fn_c_try_link "$LINENO"
   10719 then :
   10720   eval $cacheid=yes
   10721 else case e in #(
   10722   e) eval $cacheid=no ;;
   10723 esac
   10724 fi
   10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10726     conftest$ac_exeext conftest.$ac_ext ;;
   10727 esac
   10728 fi
   10729 
   10730 
   10731 		CFLAGS="$xorg_testset_save_CFLAGS"
   10732 
   10733 		eval supported=\$$cacheid
   10734 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10735 printf '%s\n' "$supported" >&6; }
   10736 		if test "$supported" = "yes" ; then
   10737 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10738 			found="yes"
   10739 		fi
   10740 	fi
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 xorg_testset_save_CFLAGS="$CFLAGS"
   10757 
   10758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10760 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10761 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10762 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10763 then :
   10764   printf %s "(cached) " >&6
   10765 else case e in #(
   10766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10767 /* end confdefs.h.  */
   10768 int i;
   10769 _ACEOF
   10770 if ac_fn_c_try_compile "$LINENO"
   10771 then :
   10772   xorg_cv_cc_flag_unknown_warning_option=yes
   10773 else case e in #(
   10774   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10775 esac
   10776 fi
   10777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10778 esac
   10779 fi
   10780 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10781 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10783 	CFLAGS="$xorg_testset_save_CFLAGS"
   10784 fi
   10785 
   10786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10789 	fi
   10790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10791 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10792 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10793 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10794 then :
   10795   printf %s "(cached) " >&6
   10796 else case e in #(
   10797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10798 /* end confdefs.h.  */
   10799 int i;
   10800 _ACEOF
   10801 if ac_fn_c_try_compile "$LINENO"
   10802 then :
   10803   xorg_cv_cc_flag_unused_command_line_argument=yes
   10804 else case e in #(
   10805   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10806 esac
   10807 fi
   10808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10809 esac
   10810 fi
   10811 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10812 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10814 	CFLAGS="$xorg_testset_save_CFLAGS"
   10815 fi
   10816 
   10817 found="no"
   10818 
   10819 	if test $found = "no" ; then
   10820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10822 		fi
   10823 
   10824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10826 		fi
   10827 
   10828 		CFLAGS="$CFLAGS -Waddress"
   10829 
   10830 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10831 printf %s "checking if $CC supports -Waddress... " >&6; }
   10832 		cacheid=xorg_cv_cc_flag__Waddress
   10833 		if eval test \${$cacheid+y}
   10834 then :
   10835   printf %s "(cached) " >&6
   10836 else case e in #(
   10837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10838 /* end confdefs.h.  */
   10839 int i;
   10840 int
   10841 main (void)
   10842 {
   10843 
   10844   ;
   10845   return 0;
   10846 }
   10847 _ACEOF
   10848 if ac_fn_c_try_link "$LINENO"
   10849 then :
   10850   eval $cacheid=yes
   10851 else case e in #(
   10852   e) eval $cacheid=no ;;
   10853 esac
   10854 fi
   10855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10856     conftest$ac_exeext conftest.$ac_ext ;;
   10857 esac
   10858 fi
   10859 
   10860 
   10861 		CFLAGS="$xorg_testset_save_CFLAGS"
   10862 
   10863 		eval supported=\$$cacheid
   10864 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10865 printf '%s\n' "$supported" >&6; }
   10866 		if test "$supported" = "yes" ; then
   10867 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10868 			found="yes"
   10869 		fi
   10870 	fi
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 xorg_testset_save_CFLAGS="$CFLAGS"
   10887 
   10888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10890 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10891 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10892 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10893 then :
   10894   printf %s "(cached) " >&6
   10895 else case e in #(
   10896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10897 /* end confdefs.h.  */
   10898 int i;
   10899 _ACEOF
   10900 if ac_fn_c_try_compile "$LINENO"
   10901 then :
   10902   xorg_cv_cc_flag_unknown_warning_option=yes
   10903 else case e in #(
   10904   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10905 esac
   10906 fi
   10907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10908 esac
   10909 fi
   10910 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10911 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10913 	CFLAGS="$xorg_testset_save_CFLAGS"
   10914 fi
   10915 
   10916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10919 	fi
   10920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10921 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10922 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10923 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10924 then :
   10925   printf %s "(cached) " >&6
   10926 else case e in #(
   10927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10928 /* end confdefs.h.  */
   10929 int i;
   10930 _ACEOF
   10931 if ac_fn_c_try_compile "$LINENO"
   10932 then :
   10933   xorg_cv_cc_flag_unused_command_line_argument=yes
   10934 else case e in #(
   10935   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10936 esac
   10937 fi
   10938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10939 esac
   10940 fi
   10941 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10942 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10944 	CFLAGS="$xorg_testset_save_CFLAGS"
   10945 fi
   10946 
   10947 found="no"
   10948 
   10949 	if test $found = "no" ; then
   10950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10952 		fi
   10953 
   10954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10956 		fi
   10957 
   10958 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10959 
   10960 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10961 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10962 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10963 		if eval test \${$cacheid+y}
   10964 then :
   10965   printf %s "(cached) " >&6
   10966 else case e in #(
   10967   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10968 /* end confdefs.h.  */
   10969 int i;
   10970 int
   10971 main (void)
   10972 {
   10973 
   10974   ;
   10975   return 0;
   10976 }
   10977 _ACEOF
   10978 if ac_fn_c_try_link "$LINENO"
   10979 then :
   10980   eval $cacheid=yes
   10981 else case e in #(
   10982   e) eval $cacheid=no ;;
   10983 esac
   10984 fi
   10985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10986     conftest$ac_exeext conftest.$ac_ext ;;
   10987 esac
   10988 fi
   10989 
   10990 
   10991 		CFLAGS="$xorg_testset_save_CFLAGS"
   10992 
   10993 		eval supported=\$$cacheid
   10994 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10995 printf '%s\n' "$supported" >&6; }
   10996 		if test "$supported" = "yes" ; then
   10997 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10998 			found="yes"
   10999 		fi
   11000 	fi
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 xorg_testset_save_CFLAGS="$CFLAGS"
   11017 
   11018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11020 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11021 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11022 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11023 then :
   11024   printf %s "(cached) " >&6
   11025 else case e in #(
   11026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11027 /* end confdefs.h.  */
   11028 int i;
   11029 _ACEOF
   11030 if ac_fn_c_try_compile "$LINENO"
   11031 then :
   11032   xorg_cv_cc_flag_unknown_warning_option=yes
   11033 else case e in #(
   11034   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11035 esac
   11036 fi
   11037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11038 esac
   11039 fi
   11040 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11041 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11042 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11043 	CFLAGS="$xorg_testset_save_CFLAGS"
   11044 fi
   11045 
   11046 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11047 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11048 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11049 	fi
   11050 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11051 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11052 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11053 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11054 then :
   11055   printf %s "(cached) " >&6
   11056 else case e in #(
   11057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11058 /* end confdefs.h.  */
   11059 int i;
   11060 _ACEOF
   11061 if ac_fn_c_try_compile "$LINENO"
   11062 then :
   11063   xorg_cv_cc_flag_unused_command_line_argument=yes
   11064 else case e in #(
   11065   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11066 esac
   11067 fi
   11068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11069 esac
   11070 fi
   11071 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11072 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11074 	CFLAGS="$xorg_testset_save_CFLAGS"
   11075 fi
   11076 
   11077 found="no"
   11078 
   11079 	if test $found = "no" ; then
   11080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11082 		fi
   11083 
   11084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11086 		fi
   11087 
   11088 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11089 
   11090 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11091 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11092 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11093 		if eval test \${$cacheid+y}
   11094 then :
   11095   printf %s "(cached) " >&6
   11096 else case e in #(
   11097   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11098 /* end confdefs.h.  */
   11099 int i;
   11100 int
   11101 main (void)
   11102 {
   11103 
   11104   ;
   11105   return 0;
   11106 }
   11107 _ACEOF
   11108 if ac_fn_c_try_link "$LINENO"
   11109 then :
   11110   eval $cacheid=yes
   11111 else case e in #(
   11112   e) eval $cacheid=no ;;
   11113 esac
   11114 fi
   11115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11116     conftest$ac_exeext conftest.$ac_ext ;;
   11117 esac
   11118 fi
   11119 
   11120 
   11121 		CFLAGS="$xorg_testset_save_CFLAGS"
   11122 
   11123 		eval supported=\$$cacheid
   11124 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11125 printf '%s\n' "$supported" >&6; }
   11126 		if test "$supported" = "yes" ; then
   11127 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11128 			found="yes"
   11129 		fi
   11130 	fi
   11131 
   11132 
   11133 fi
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 		CWARNFLAGS="$BASE_CFLAGS"
   11142 		if  test "x$GCC" = xyes ; then
   11143 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11144 		fi
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 # Check whether --enable-strict-compilation was given.
   11154 if test ${enable_strict_compilation+y}
   11155 then :
   11156   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11157 else case e in #(
   11158   e) STRICT_COMPILE=no ;;
   11159 esac
   11160 fi
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 STRICT_CFLAGS=""
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 xorg_testset_save_CFLAGS="$CFLAGS"
   11182 
   11183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11185 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11186 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11187 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11188 then :
   11189   printf %s "(cached) " >&6
   11190 else case e in #(
   11191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11192 /* end confdefs.h.  */
   11193 int i;
   11194 _ACEOF
   11195 if ac_fn_c_try_compile "$LINENO"
   11196 then :
   11197   xorg_cv_cc_flag_unknown_warning_option=yes
   11198 else case e in #(
   11199   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11200 esac
   11201 fi
   11202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11203 esac
   11204 fi
   11205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11206 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11208 	CFLAGS="$xorg_testset_save_CFLAGS"
   11209 fi
   11210 
   11211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11214 	fi
   11215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11216 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11217 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11218 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11219 then :
   11220   printf %s "(cached) " >&6
   11221 else case e in #(
   11222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11223 /* end confdefs.h.  */
   11224 int i;
   11225 _ACEOF
   11226 if ac_fn_c_try_compile "$LINENO"
   11227 then :
   11228   xorg_cv_cc_flag_unused_command_line_argument=yes
   11229 else case e in #(
   11230   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11231 esac
   11232 fi
   11233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11234 esac
   11235 fi
   11236 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11237 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11239 	CFLAGS="$xorg_testset_save_CFLAGS"
   11240 fi
   11241 
   11242 found="no"
   11243 
   11244 	if test $found = "no" ; then
   11245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11247 		fi
   11248 
   11249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11251 		fi
   11252 
   11253 		CFLAGS="$CFLAGS -pedantic"
   11254 
   11255 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11256 printf %s "checking if $CC supports -pedantic... " >&6; }
   11257 		cacheid=xorg_cv_cc_flag__pedantic
   11258 		if eval test \${$cacheid+y}
   11259 then :
   11260   printf %s "(cached) " >&6
   11261 else case e in #(
   11262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11263 /* end confdefs.h.  */
   11264 int i;
   11265 int
   11266 main (void)
   11267 {
   11268 
   11269   ;
   11270   return 0;
   11271 }
   11272 _ACEOF
   11273 if ac_fn_c_try_link "$LINENO"
   11274 then :
   11275   eval $cacheid=yes
   11276 else case e in #(
   11277   e) eval $cacheid=no ;;
   11278 esac
   11279 fi
   11280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11281     conftest$ac_exeext conftest.$ac_ext ;;
   11282 esac
   11283 fi
   11284 
   11285 
   11286 		CFLAGS="$xorg_testset_save_CFLAGS"
   11287 
   11288 		eval supported=\$$cacheid
   11289 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11290 printf '%s\n' "$supported" >&6; }
   11291 		if test "$supported" = "yes" ; then
   11292 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11293 			found="yes"
   11294 		fi
   11295 	fi
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 xorg_testset_save_CFLAGS="$CFLAGS"
   11312 
   11313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11315 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11316 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11317 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11318 then :
   11319   printf %s "(cached) " >&6
   11320 else case e in #(
   11321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 int i;
   11324 _ACEOF
   11325 if ac_fn_c_try_compile "$LINENO"
   11326 then :
   11327   xorg_cv_cc_flag_unknown_warning_option=yes
   11328 else case e in #(
   11329   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11330 esac
   11331 fi
   11332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11333 esac
   11334 fi
   11335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11336 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11338 	CFLAGS="$xorg_testset_save_CFLAGS"
   11339 fi
   11340 
   11341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11344 	fi
   11345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11346 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11349 then :
   11350   printf %s "(cached) " >&6
   11351 else case e in #(
   11352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11353 /* end confdefs.h.  */
   11354 int i;
   11355 _ACEOF
   11356 if ac_fn_c_try_compile "$LINENO"
   11357 then :
   11358   xorg_cv_cc_flag_unused_command_line_argument=yes
   11359 else case e in #(
   11360   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11361 esac
   11362 fi
   11363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11364 esac
   11365 fi
   11366 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11367 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11369 	CFLAGS="$xorg_testset_save_CFLAGS"
   11370 fi
   11371 
   11372 found="no"
   11373 
   11374 	if test $found = "no" ; then
   11375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11377 		fi
   11378 
   11379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11381 		fi
   11382 
   11383 		CFLAGS="$CFLAGS -Werror"
   11384 
   11385 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11386 printf %s "checking if $CC supports -Werror... " >&6; }
   11387 		cacheid=xorg_cv_cc_flag__Werror
   11388 		if eval test \${$cacheid+y}
   11389 then :
   11390   printf %s "(cached) " >&6
   11391 else case e in #(
   11392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11393 /* end confdefs.h.  */
   11394 int i;
   11395 int
   11396 main (void)
   11397 {
   11398 
   11399   ;
   11400   return 0;
   11401 }
   11402 _ACEOF
   11403 if ac_fn_c_try_link "$LINENO"
   11404 then :
   11405   eval $cacheid=yes
   11406 else case e in #(
   11407   e) eval $cacheid=no ;;
   11408 esac
   11409 fi
   11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11411     conftest$ac_exeext conftest.$ac_ext ;;
   11412 esac
   11413 fi
   11414 
   11415 
   11416 		CFLAGS="$xorg_testset_save_CFLAGS"
   11417 
   11418 		eval supported=\$$cacheid
   11419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11420 printf '%s\n' "$supported" >&6; }
   11421 		if test "$supported" = "yes" ; then
   11422 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11423 			found="yes"
   11424 		fi
   11425 	fi
   11426 
   11427 	if test $found = "no" ; then
   11428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11430 		fi
   11431 
   11432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11434 		fi
   11435 
   11436 		CFLAGS="$CFLAGS -errwarn"
   11437 
   11438 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11439 printf %s "checking if $CC supports -errwarn... " >&6; }
   11440 		cacheid=xorg_cv_cc_flag__errwarn
   11441 		if eval test \${$cacheid+y}
   11442 then :
   11443   printf %s "(cached) " >&6
   11444 else case e in #(
   11445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11446 /* end confdefs.h.  */
   11447 int i;
   11448 int
   11449 main (void)
   11450 {
   11451 
   11452   ;
   11453   return 0;
   11454 }
   11455 _ACEOF
   11456 if ac_fn_c_try_link "$LINENO"
   11457 then :
   11458   eval $cacheid=yes
   11459 else case e in #(
   11460   e) eval $cacheid=no ;;
   11461 esac
   11462 fi
   11463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11464     conftest$ac_exeext conftest.$ac_ext ;;
   11465 esac
   11466 fi
   11467 
   11468 
   11469 		CFLAGS="$xorg_testset_save_CFLAGS"
   11470 
   11471 		eval supported=\$$cacheid
   11472 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11473 printf '%s\n' "$supported" >&6; }
   11474 		if test "$supported" = "yes" ; then
   11475 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11476 			found="yes"
   11477 		fi
   11478 	fi
   11479 
   11480 
   11481 
   11482 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11483 # activate it with -Werror, so we add it here explicitly.
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 xorg_testset_save_CFLAGS="$CFLAGS"
   11498 
   11499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11501 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11502 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11503 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11504 then :
   11505   printf %s "(cached) " >&6
   11506 else case e in #(
   11507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11508 /* end confdefs.h.  */
   11509 int i;
   11510 _ACEOF
   11511 if ac_fn_c_try_compile "$LINENO"
   11512 then :
   11513   xorg_cv_cc_flag_unknown_warning_option=yes
   11514 else case e in #(
   11515   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11516 esac
   11517 fi
   11518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11519 esac
   11520 fi
   11521 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11522 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11524 	CFLAGS="$xorg_testset_save_CFLAGS"
   11525 fi
   11526 
   11527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11530 	fi
   11531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11532 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11533 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11534 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11535 then :
   11536   printf %s "(cached) " >&6
   11537 else case e in #(
   11538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11539 /* end confdefs.h.  */
   11540 int i;
   11541 _ACEOF
   11542 if ac_fn_c_try_compile "$LINENO"
   11543 then :
   11544   xorg_cv_cc_flag_unused_command_line_argument=yes
   11545 else case e in #(
   11546   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11547 esac
   11548 fi
   11549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11550 esac
   11551 fi
   11552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11553 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11555 	CFLAGS="$xorg_testset_save_CFLAGS"
   11556 fi
   11557 
   11558 found="no"
   11559 
   11560 	if test $found = "no" ; then
   11561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11563 		fi
   11564 
   11565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11567 		fi
   11568 
   11569 		CFLAGS="$CFLAGS -Werror=attributes"
   11570 
   11571 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11572 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11573 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11574 		if eval test \${$cacheid+y}
   11575 then :
   11576   printf %s "(cached) " >&6
   11577 else case e in #(
   11578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11579 /* end confdefs.h.  */
   11580 int i;
   11581 int
   11582 main (void)
   11583 {
   11584 
   11585   ;
   11586   return 0;
   11587 }
   11588 _ACEOF
   11589 if ac_fn_c_try_link "$LINENO"
   11590 then :
   11591   eval $cacheid=yes
   11592 else case e in #(
   11593   e) eval $cacheid=no ;;
   11594 esac
   11595 fi
   11596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11597     conftest$ac_exeext conftest.$ac_ext ;;
   11598 esac
   11599 fi
   11600 
   11601 
   11602 		CFLAGS="$xorg_testset_save_CFLAGS"
   11603 
   11604 		eval supported=\$$cacheid
   11605 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11606 printf '%s\n' "$supported" >&6; }
   11607 		if test "$supported" = "yes" ; then
   11608 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11609 			found="yes"
   11610 		fi
   11611 	fi
   11612 
   11613 
   11614 
   11615 if test "x$STRICT_COMPILE" = "xyes"; then
   11616     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11617     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11618 fi
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 cat >>confdefs.h <<_ACEOF
   11628 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11629 _ACEOF
   11630 
   11631 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11632 	if test "x$PVM" = "x"; then
   11633 		PVM="0"
   11634 	fi
   11635 
   11636 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11637 
   11638 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11639 	if test "x$PVP" = "x"; then
   11640 		PVP="0"
   11641 	fi
   11642 
   11643 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11644 
   11645 
   11646 
   11647 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11648 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11649 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11650 touch \$(top_srcdir)/ChangeLog; \
   11651 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11652 
   11653 
   11654 
   11655 
   11656 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11657 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11658 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11659 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11660 touch \$(top_srcdir)/INSTALL; \
   11661 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 case $host_os in
   11669     solaris*)
   11670         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11671         # check for a man page file found in later versions that use
   11672         # traditional section numbers instead
   11673         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11674 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11675 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11676 then :
   11677   printf %s "(cached) " >&6
   11678 else case e in #(
   11679   e) test "$cross_compiling" = yes &&
   11680   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11681 if test -r "/usr/share/man/man7/attributes.7"; then
   11682   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11683 else
   11684   ac_cv_file__usr_share_man_man7_attributes_7=no
   11685 fi ;;
   11686 esac
   11687 fi
   11688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11689 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11690 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11691 then :
   11692   SYSV_MAN_SECTIONS=false
   11693 else case e in #(
   11694   e) SYSV_MAN_SECTIONS=true ;;
   11695 esac
   11696 fi
   11697 
   11698         ;;
   11699     *) SYSV_MAN_SECTIONS=false ;;
   11700 esac
   11701 
   11702 if test x$APP_MAN_SUFFIX = x    ; then
   11703     APP_MAN_SUFFIX=1
   11704 fi
   11705 if test x$APP_MAN_DIR = x    ; then
   11706     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11707 fi
   11708 
   11709 if test x$LIB_MAN_SUFFIX = x    ; then
   11710     LIB_MAN_SUFFIX=3
   11711 fi
   11712 if test x$LIB_MAN_DIR = x    ; then
   11713     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11714 fi
   11715 
   11716 if test x$FILE_MAN_SUFFIX = x    ; then
   11717     case $SYSV_MAN_SECTIONS in
   11718 	true)				FILE_MAN_SUFFIX=4  ;;
   11719 	*)				FILE_MAN_SUFFIX=5  ;;
   11720     esac
   11721 fi
   11722 if test x$FILE_MAN_DIR = x    ; then
   11723     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11724 fi
   11725 
   11726 if test x$MISC_MAN_SUFFIX = x    ; then
   11727     case $SYSV_MAN_SECTIONS in
   11728 	true)				MISC_MAN_SUFFIX=5  ;;
   11729 	*)				MISC_MAN_SUFFIX=7  ;;
   11730     esac
   11731 fi
   11732 if test x$MISC_MAN_DIR = x    ; then
   11733     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11734 fi
   11735 
   11736 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11737     case $SYSV_MAN_SECTIONS in
   11738 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11739 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11740     esac
   11741 fi
   11742 if test x$DRIVER_MAN_DIR = x    ; then
   11743     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11744 fi
   11745 
   11746 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11747     case $SYSV_MAN_SECTIONS in
   11748 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11749 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11750     esac
   11751 fi
   11752 if test x$ADMIN_MAN_DIR = x    ; then
   11753     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11754 fi
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 XORG_MAN_PAGE="X Version 11"
   11771 
   11772 MAN_SUBSTS="\
   11773 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11774 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11775 	-e 's|__xservername__|Xorg|g' \
   11776 	-e 's|__xconfigfile__|xorg.conf|g' \
   11777 	-e 's|__projectroot__|\$(prefix)|g' \
   11778 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11779 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11780 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11781 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11782 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11783 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11784 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11785 
   11786 
   11787 
   11788 
   11789 AM_DEFAULT_VERBOSITY=0
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 # Optional dependencies
   11796 
   11797 # Check whether --with-xkb was given.
   11798 if test ${with_xkb+y}
   11799 then :
   11800   withval=$with_xkb; use_xkb="$withval"
   11801 else case e in #(
   11802   e) use_xkb="yes" ;;
   11803 esac
   11804 fi
   11805 
   11806 if test x$use_xkb != xno ; then
   11807         XKBMODULE="xkbfile"
   11808 
   11809 printf '%s\n' "#define XKB 1" >>confdefs.h
   11810 
   11811 fi
   11812 
   11813 # Obtain compiler/linker options from dependencies
   11814 
   11815 pkg_failed=no
   11816 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for EDITRES" >&5
   11817 printf %s "checking for EDITRES... " >&6; }
   11818 
   11819 if test -n "$EDITRES_CFLAGS"; then
   11820     pkg_cv_EDITRES_CFLAGS="$EDITRES_CFLAGS"
   11821  elif test -n "$PKG_CONFIG"; then
   11822     if test -n "$PKG_CONFIG" && \
   11823     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 \${XKBMODULE}\""; } >&5
   11824   ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}") 2>&5
   11825   ac_status=$?
   11826   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11827   test $ac_status = 0; }; then
   11828   pkg_cv_EDITRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}" 2>/dev/null`
   11829 		      test "x$?" != "x0" && pkg_failed=yes
   11830 else
   11831   pkg_failed=yes
   11832 fi
   11833  else
   11834     pkg_failed=untried
   11835 fi
   11836 if test -n "$EDITRES_LIBS"; then
   11837     pkg_cv_EDITRES_LIBS="$EDITRES_LIBS"
   11838  elif test -n "$PKG_CONFIG"; then
   11839     if test -n "$PKG_CONFIG" && \
   11840     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 \${XKBMODULE}\""; } >&5
   11841   ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}") 2>&5
   11842   ac_status=$?
   11843   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11844   test $ac_status = 0; }; then
   11845   pkg_cv_EDITRES_LIBS=`$PKG_CONFIG --libs "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}" 2>/dev/null`
   11846 		      test "x$?" != "x0" && pkg_failed=yes
   11847 else
   11848   pkg_failed=yes
   11849 fi
   11850  else
   11851     pkg_failed=untried
   11852 fi
   11853 
   11854 
   11855 
   11856 if test $pkg_failed = yes; then
   11857    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11858 printf '%s\n' "no" >&6; }
   11859 
   11860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11861         _pkg_short_errors_supported=yes
   11862 else
   11863         _pkg_short_errors_supported=no
   11864 fi
   11865         if test $_pkg_short_errors_supported = yes; then
   11866 	        EDITRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}" 2>&1`
   11867         else
   11868 	        EDITRES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}" 2>&1`
   11869         fi
   11870 	# Put the nasty error message in config.log where it belongs
   11871 	echo "$EDITRES_PKG_ERRORS" >&5
   11872 
   11873 	as_fn_error $? "Package requirements (xaw7 x11 xt >= 1.0.99.1 xmu >= 1.3.0 xproto >= 7.0.17 ${XKBMODULE}) were not met:
   11874 
   11875 $EDITRES_PKG_ERRORS
   11876 
   11877 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11878 installed software in a non-standard prefix.
   11879 
   11880 Alternatively, you may set the environment variables EDITRES_CFLAGS
   11881 and EDITRES_LIBS to avoid the need to call pkg-config.
   11882 See the pkg-config man page for more details." "$LINENO" 5
   11883 elif test $pkg_failed = untried; then
   11884      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11885 printf '%s\n' "no" >&6; }
   11886 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11887 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11888 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11889 is in your PATH or set the PKG_CONFIG environment variable to the full
   11890 path to pkg-config.
   11891 
   11892 Alternatively, you may set the environment variables EDITRES_CFLAGS
   11893 and EDITRES_LIBS to avoid the need to call pkg-config.
   11894 See the pkg-config man page for more details.
   11895 
   11896 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11897 See 'config.log' for more details" "$LINENO" 5; }
   11898 else
   11899 	EDITRES_CFLAGS=$pkg_cv_EDITRES_CFLAGS
   11900 	EDITRES_LIBS=$pkg_cv_EDITRES_LIBS
   11901         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11902 printf '%s\n' "yes" >&6; }
   11903 
   11904 fi
   11905 
   11906 
   11907 pkg_failed=no
   11908 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11909 printf %s "checking for APPDEFS... " >&6; }
   11910 
   11911 if test -n "$APPDEFS_CFLAGS"; then
   11912     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11913  elif test -n "$PKG_CONFIG"; then
   11914     if test -n "$PKG_CONFIG" && \
   11915     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11916   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11917   ac_status=$?
   11918   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11919   test $ac_status = 0; }; then
   11920   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11921 		      test "x$?" != "x0" && pkg_failed=yes
   11922 else
   11923   pkg_failed=yes
   11924 fi
   11925  else
   11926     pkg_failed=untried
   11927 fi
   11928 if test -n "$APPDEFS_LIBS"; then
   11929     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11930  elif test -n "$PKG_CONFIG"; then
   11931     if test -n "$PKG_CONFIG" && \
   11932     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11933   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11934   ac_status=$?
   11935   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11936   test $ac_status = 0; }; then
   11937   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11938 		      test "x$?" != "x0" && pkg_failed=yes
   11939 else
   11940   pkg_failed=yes
   11941 fi
   11942  else
   11943     pkg_failed=untried
   11944 fi
   11945 
   11946 
   11947 
   11948 if test $pkg_failed = yes; then
   11949    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11950 printf '%s\n' "no" >&6; }
   11951 
   11952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11953         _pkg_short_errors_supported=yes
   11954 else
   11955         _pkg_short_errors_supported=no
   11956 fi
   11957         if test $_pkg_short_errors_supported = yes; then
   11958 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11959         else
   11960 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11961         fi
   11962 	# Put the nasty error message in config.log where it belongs
   11963 	echo "$APPDEFS_PKG_ERRORS" >&5
   11964 
   11965 	as_fn_error $? "Package requirements (xt) were not met:
   11966 
   11967 $APPDEFS_PKG_ERRORS
   11968 
   11969 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11970 installed software in a non-standard prefix.
   11971 
   11972 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11973 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11974 See the pkg-config man page for more details." "$LINENO" 5
   11975 elif test $pkg_failed = untried; then
   11976      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11977 printf '%s\n' "no" >&6; }
   11978 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11979 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11980 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11981 is in your PATH or set the PKG_CONFIG environment variable to the full
   11982 path to pkg-config.
   11983 
   11984 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11985 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11986 See the pkg-config man page for more details.
   11987 
   11988 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11989 See 'config.log' for more details" "$LINENO" 5; }
   11990 else
   11991 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11992 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11993         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11994 printf '%s\n' "yes" >&6; }
   11995 
   11996 fi
   11997 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11998 
   11999 # Check whether --with-appdefaultdir was given.
   12000 if test ${with_appdefaultdir+y}
   12001 then :
   12002   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12003 else case e in #(
   12004   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12005 esac
   12006 fi
   12007 
   12008 
   12009 
   12010 ac_config_files="$ac_config_files Makefile man/Makefile"
   12011 
   12012 cat >confcache <<\_ACEOF
   12013 # This file is a shell script that caches the results of configure
   12014 # tests run on this system so they can be shared between configure
   12015 # scripts and configure runs, see configure's option --config-cache.
   12016 # It is not useful on other systems.  If it contains results you don't
   12017 # want to keep, you may remove or edit it.
   12018 #
   12019 # config.status only pays attention to the cache file if you give it
   12020 # the --recheck option to rerun configure.
   12021 #
   12022 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12023 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12024 # following values.
   12025 
   12026 _ACEOF
   12027 
   12028 ac_cache_dump |
   12029   sed '
   12030      /^ac_cv_env_/b end
   12031      t clear
   12032      :clear
   12033      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12034      t end
   12035      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12036      :end' >>confcache
   12037 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12038   if test -w "$cache_file"; then
   12039     if test "x$cache_file" != "x/dev/null"; then
   12040       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12041 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   12042       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12043 	cat confcache >"$cache_file"
   12044       else
   12045         case $cache_file in #(
   12046         */* | ?:*)
   12047 	  mv -f confcache "$cache_file"$$ &&
   12048 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12049         *)
   12050 	  mv -f confcache "$cache_file" ;;
   12051 	esac
   12052       fi
   12053     fi
   12054   else
   12055     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12056 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   12057   fi
   12058 fi
   12059 rm -f confcache
   12060 
   12061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12062 # Let make expand exec_prefix.
   12063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12064 
   12065 DEFS=-DHAVE_CONFIG_H
   12066 
   12067 ac_libobjs=
   12068 ac_ltlibobjs=
   12069 U=
   12070 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12071   # 1. Remove the extension, and $U if already installed.
   12072   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12073   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   12074   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12075   #    will be set to the directory where LIBOBJS objects are built.
   12076   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12077   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12078 done
   12079 LIBOBJS=$ac_libobjs
   12080 
   12081 LTLIBOBJS=$ac_ltlibobjs
   12082 
   12083 
   12084 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12085 printf %s "checking that generated files are newer than configure... " >&6; }
   12086    if test -n "$am_sleep_pid"; then
   12087      # Hide warnings about reused PIDs.
   12088      wait $am_sleep_pid 2>/dev/null
   12089    fi
   12090    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12091 printf '%s\n' "done" >&6; }
   12092 case $enable_silent_rules in # (((
   12093   yes) AM_DEFAULT_VERBOSITY=0;;
   12094    no) AM_DEFAULT_VERBOSITY=1;;
   12095 esac
   12096 if test $am_cv_make_support_nested_variables = yes; then
   12097     AM_V='$(V)'
   12098   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12099 else
   12100   AM_V=$AM_DEFAULT_VERBOSITY
   12101   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12102 fi
   12103 
   12104  if test -n "$EXEEXT"; then
   12105   am__EXEEXT_TRUE=
   12106   am__EXEEXT_FALSE='#'
   12107 else
   12108   am__EXEEXT_TRUE='#'
   12109   am__EXEEXT_FALSE=
   12110 fi
   12111 
   12112 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12113   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12115 fi
   12116 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12117   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12119 fi
   12120 
   12121 : "${CONFIG_STATUS=./config.status}"
   12122 case $CONFIG_STATUS in #(
   12123   -*) :
   12124     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   12125   */*) :
   12126      ;; #(
   12127   *) :
   12128     CONFIG_STATUS=./$CONFIG_STATUS ;;
   12129 esac
   12130 
   12131 ac_write_fail=0
   12132 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   12133 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12134 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   12135 as_write_fail=0
   12136 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   12137 #! $SHELL
   12138 # Generated by $as_me.
   12139 # Run this file to recreate the current configuration.
   12140 # Compiler output produced by configure, useful for debugging
   12141 # configure, is in config.log if it exists.
   12142 
   12143 debug=false
   12144 ac_cs_recheck=false
   12145 ac_cs_silent=false
   12146 
   12147 SHELL=\${CONFIG_SHELL-$SHELL}
   12148 export SHELL
   12149 _ASEOF
   12150 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12151 ## -------------------- ##
   12152 ## M4sh Initialization. ##
   12153 ## -------------------- ##
   12154 
   12155 # Be more Bourne compatible
   12156 DUALCASE=1; export DUALCASE # for MKS sh
   12157 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12158 then :
   12159   emulate sh
   12160   NULLCMD=:
   12161   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12162   # contradicts POSIX and common usage.  Disable this.
   12163   alias -g '${1+"$@"}'='"$@"'
   12164   setopt NO_GLOB_SUBST
   12165 else case e in #(
   12166   e) case `(set -o) 2>/dev/null` in #(
   12167   *posix*) :
   12168     set -o posix ;; #(
   12169   *) :
   12170      ;;
   12171 esac ;;
   12172 esac
   12173 fi
   12174 
   12175 
   12176 
   12177 # Reset variables that may have inherited troublesome values from
   12178 # the environment.
   12179 
   12180 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12181 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12182 # side effect of setting IFS to empty, thus disabling word splitting.)
   12183 # Quoting is to prevent editors from complaining about space-tab.
   12184 as_nl='
   12185 '
   12186 export as_nl
   12187 IFS=" ""	$as_nl"
   12188 
   12189 PS1='$ '
   12190 PS2='> '
   12191 PS4='+ '
   12192 
   12193 # Ensure predictable behavior from utilities with locale-dependent output.
   12194 LC_ALL=C
   12195 export LC_ALL
   12196 LANGUAGE=C
   12197 export LANGUAGE
   12198 
   12199 # We cannot yet rely on "unset" to work, but we need these variables
   12200 # to be unset--not just set to an empty or harmless value--now, to
   12201 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12202 # also avoids known problems related to "unset" and subshell syntax
   12203 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12204 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12205 do eval test \${$as_var+y} \
   12206   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12207 done
   12208 
   12209 # Ensure that fds 0, 1, and 2 are open.
   12210 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12211 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12212 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12213 
   12214 # The user is always right.
   12215 if ${PATH_SEPARATOR+false} :; then
   12216   PATH_SEPARATOR=:
   12217   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12218     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12219       PATH_SEPARATOR=';'
   12220   }
   12221 fi
   12222 
   12223 
   12224 # Find who we are.  Look in the path if we contain no directory separator.
   12225 as_myself=
   12226 case $0 in #((
   12227   *[\\/]* ) as_myself=$0 ;;
   12228   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12229 for as_dir in $PATH
   12230 do
   12231   IFS=$as_save_IFS
   12232   case $as_dir in #(((
   12233     '') as_dir=./ ;;
   12234     */) ;;
   12235     *) as_dir=$as_dir/ ;;
   12236   esac
   12237     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12238   done
   12239 IFS=$as_save_IFS
   12240 
   12241      ;;
   12242 esac
   12243 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12244 # in which case we are not to be found in the path.
   12245 if test "x$as_myself" = x; then
   12246   as_myself=$0
   12247 fi
   12248 if test ! -f "$as_myself"; then
   12249   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12250   exit 1
   12251 fi
   12252 
   12253 
   12254 
   12255 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12256 # ----------------------------------------
   12257 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12258 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12259 # script with STATUS, using 1 if that was 0.
   12260 as_fn_error ()
   12261 {
   12262   as_status=$1; test $as_status -eq 0 && as_status=1
   12263   if test "$4"; then
   12264     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12265     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12266   fi
   12267   printf '%s\n' "$as_me: error: $2" >&2
   12268   as_fn_exit $as_status
   12269 } # as_fn_error
   12270 
   12271 
   12272 # as_fn_set_status STATUS
   12273 # -----------------------
   12274 # Set $? to STATUS, without forking.
   12275 as_fn_set_status ()
   12276 {
   12277   return $1
   12278 } # as_fn_set_status
   12279 
   12280 # as_fn_exit STATUS
   12281 # -----------------
   12282 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12283 as_fn_exit ()
   12284 {
   12285   set +e
   12286   as_fn_set_status $1
   12287   exit $1
   12288 } # as_fn_exit
   12289 
   12290 # as_fn_unset VAR
   12291 # ---------------
   12292 # Portably unset VAR.
   12293 as_fn_unset ()
   12294 {
   12295   { eval $1=; unset $1;}
   12296 }
   12297 as_unset=as_fn_unset
   12298 
   12299 # as_fn_append VAR VALUE
   12300 # ----------------------
   12301 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12302 # advantage of any shell optimizations that allow amortized linear growth over
   12303 # repeated appends, instead of the typical quadratic growth present in naive
   12304 # implementations.
   12305 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12306 then :
   12307   eval 'as_fn_append ()
   12308   {
   12309     eval $1+=\$2
   12310   }'
   12311 else case e in #(
   12312   e) as_fn_append ()
   12313   {
   12314     eval $1=\$$1\$2
   12315   } ;;
   12316 esac
   12317 fi # as_fn_append
   12318 
   12319 # as_fn_arith ARG...
   12320 # ------------------
   12321 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12323 # must be portable across $(()) and expr.
   12324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12325 then :
   12326   eval 'as_fn_arith ()
   12327   {
   12328     as_val=$(( $* ))
   12329   }'
   12330 else case e in #(
   12331   e) as_fn_arith ()
   12332   {
   12333     as_val=`expr "$@" || test $? -eq 1`
   12334   } ;;
   12335 esac
   12336 fi # as_fn_arith
   12337 
   12338 
   12339 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12340    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12341   as_expr=expr
   12342 else
   12343   as_expr=false
   12344 fi
   12345 
   12346 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12347   as_basename=basename
   12348 else
   12349   as_basename=false
   12350 fi
   12351 
   12352 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12353   as_dirname=dirname
   12354 else
   12355   as_dirname=false
   12356 fi
   12357 
   12358 as_me=`$as_basename -- "$0" ||
   12359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12360 	 X"$0" : 'X\(//\)$' \| \
   12361 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12362 printf '%s\n' X/"$0" |
   12363     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12364 	    s//\1/
   12365 	    q
   12366 	  }
   12367 	  /^X\/\(\/\/\)$/{
   12368 	    s//\1/
   12369 	    q
   12370 	  }
   12371 	  /^X\/\(\/\).*/{
   12372 	    s//\1/
   12373 	    q
   12374 	  }
   12375 	  s/.*/./; q'`
   12376 
   12377 # Avoid depending upon Character Ranges.
   12378 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12379 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12380 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12381 as_cr_digits='0123456789'
   12382 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12383 
   12384 rm -f conf$$ conf$$.exe conf$$.file
   12385 if test -d conf$$.dir; then
   12386   rm -f conf$$.dir/conf$$.file
   12387 else
   12388   rm -f conf$$.dir
   12389   mkdir conf$$.dir 2>/dev/null
   12390 fi
   12391 if (echo >conf$$.file) 2>/dev/null; then
   12392   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12393     as_ln_s='ln -s'
   12394     # ... but there are two gotchas:
   12395     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12396     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12397     # In both cases, we have to default to 'cp -pR'.
   12398     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12399       as_ln_s='cp -pR'
   12400   elif ln conf$$.file conf$$ 2>/dev/null; then
   12401     as_ln_s=ln
   12402   else
   12403     as_ln_s='cp -pR'
   12404   fi
   12405 else
   12406   as_ln_s='cp -pR'
   12407 fi
   12408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12409 rmdir conf$$.dir 2>/dev/null
   12410 
   12411 
   12412 # as_fn_mkdir_p
   12413 # -------------
   12414 # Create "$as_dir" as a directory, including parents if necessary.
   12415 as_fn_mkdir_p ()
   12416 {
   12417 
   12418   case $as_dir in #(
   12419   -*) as_dir=./$as_dir;;
   12420   esac
   12421   test -d "$as_dir" || eval $as_mkdir_p || {
   12422     as_dirs=
   12423     while :; do
   12424       case $as_dir in #(
   12425       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12426       *) as_qdir=$as_dir;;
   12427       esac
   12428       as_dirs="'$as_qdir' $as_dirs"
   12429       as_dir=`$as_dirname -- "$as_dir" ||
   12430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12431 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12432 	 X"$as_dir" : 'X\(//\)$' \| \
   12433 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12434 printf '%s\n' X"$as_dir" |
   12435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12436 	    s//\1/
   12437 	    q
   12438 	  }
   12439 	  /^X\(\/\/\)[^/].*/{
   12440 	    s//\1/
   12441 	    q
   12442 	  }
   12443 	  /^X\(\/\/\)$/{
   12444 	    s//\1/
   12445 	    q
   12446 	  }
   12447 	  /^X\(\/\).*/{
   12448 	    s//\1/
   12449 	    q
   12450 	  }
   12451 	  s/.*/./; q'`
   12452       test -d "$as_dir" && break
   12453     done
   12454     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12455   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12456 
   12457 
   12458 } # as_fn_mkdir_p
   12459 if mkdir -p . 2>/dev/null; then
   12460   as_mkdir_p='mkdir -p "$as_dir"'
   12461 else
   12462   test -d ./-p && rmdir ./-p
   12463   as_mkdir_p=false
   12464 fi
   12465 
   12466 
   12467 # as_fn_executable_p FILE
   12468 # -----------------------
   12469 # Test if FILE is an executable regular file.
   12470 as_fn_executable_p ()
   12471 {
   12472   test -f "$1" && test -x "$1"
   12473 } # as_fn_executable_p
   12474 as_test_x='test -x'
   12475 as_executable_p=as_fn_executable_p
   12476 
   12477 # Sed expression to map a string onto a valid CPP name.
   12478 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12479 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12480 
   12481 # Sed expression to map a string onto a valid variable name.
   12482 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12483 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12484 
   12485 
   12486 exec 6>&1
   12487 ## ------------------------------------- ##
   12488 ## Main body of "$CONFIG_STATUS" script. ##
   12489 ## ------------------------------------- ##
   12490 _ASEOF
   12491 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12492 
   12493 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12494 # Save the log message, to keep $0 and so on meaningful, and to
   12495 # report actual input values of CONFIG_FILES etc. instead of their
   12496 # values after options handling.
   12497 ac_log="
   12498 This file was extended by editres $as_me 1.1.1, which was
   12499 generated by GNU Autoconf 2.73.  Invocation command line was
   12500 
   12501   CONFIG_FILES    = $CONFIG_FILES
   12502   CONFIG_HEADERS  = $CONFIG_HEADERS
   12503   CONFIG_LINKS    = $CONFIG_LINKS
   12504   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12505   $ $0 $@
   12506 
   12507 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12508 "
   12509 
   12510 _ACEOF
   12511 
   12512 case $ac_config_files in *"
   12513 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12514 esac
   12515 
   12516 case $ac_config_headers in *"
   12517 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12518 esac
   12519 
   12520 
   12521 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12522 # Files that config.status was made for.
   12523 config_files="$ac_config_files"
   12524 config_headers="$ac_config_headers"
   12525 config_commands="$ac_config_commands"
   12526 
   12527 _ACEOF
   12528 
   12529 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12530 ac_cs_usage="\
   12531 '$as_me' instantiates files and other configuration actions
   12532 from templates according to the current configuration.  Unless the files
   12533 and actions are specified as TAGs, all are instantiated by default.
   12534 
   12535 Usage: $0 [OPTION]... [TAG]...
   12536 
   12537   -h, --help       print this help, then exit
   12538   -V, --version    print version number and configuration settings, then exit
   12539       --config     print configuration, then exit
   12540   -q, --quiet, --silent
   12541                    do not print progress messages
   12542   -d, --debug      don't remove temporary files
   12543       --recheck    update $as_me by reconfiguring in the same conditions
   12544       --file=FILE[:TEMPLATE]
   12545                    instantiate the configuration file FILE
   12546       --header=FILE[:TEMPLATE]
   12547                    instantiate the configuration header FILE
   12548 
   12549 Configuration files:
   12550 $config_files
   12551 
   12552 Configuration headers:
   12553 $config_headers
   12554 
   12555 Configuration commands:
   12556 $config_commands
   12557 
   12558 Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/issues>."
   12559 
   12560 _ACEOF
   12561 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12562 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12563 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12564 ac_cs_config='$ac_cs_config_escaped'
   12565 ac_cs_version="\\
   12566 editres config.status 1.1.1
   12567 configured by $0, generated by GNU Autoconf 2.73,
   12568   with options \\"\$ac_cs_config\\"
   12569 
   12570 Copyright (C) 2026 Free Software Foundation, Inc.
   12571 This config.status script is free software; the Free Software Foundation
   12572 gives unlimited permission to copy, distribute and modify it."
   12573 
   12574 ac_pwd='$ac_pwd'
   12575 srcdir='$srcdir'
   12576 INSTALL='$INSTALL'
   12577 MKDIR_P='$MKDIR_P'
   12578 AWK='$AWK'
   12579 test -n "\$AWK" || {
   12580   awk '' </dev/null ||
   12581     as_fn_error \$? "try installing gawk"
   12582   AWK=awk
   12583 }
   12584 _ACEOF
   12585 
   12586 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12587 # The default lists apply if the user does not specify any file.
   12588 ac_need_defaults=:
   12589 while test $# != 0
   12590 do
   12591   case $1 in
   12592   --*=?*)
   12593     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12594     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12595     ac_shift=:
   12596     ;;
   12597   --*=)
   12598     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12599     ac_optarg=
   12600     ac_shift=:
   12601     ;;
   12602   *)
   12603     ac_option=$1
   12604     ac_optarg=$2
   12605     ac_shift=shift
   12606     ;;
   12607   esac
   12608 
   12609   case $ac_option in
   12610   # Handling of the options.
   12611   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12612     ac_cs_recheck=: ;;
   12613   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12614     printf '%s\n' "$ac_cs_version"; exit ;;
   12615   --config | --confi | --conf | --con | --co | --c )
   12616     printf '%s\n' "$ac_cs_config"; exit ;;
   12617   --debug | --debu | --deb | --de | --d | -d )
   12618     debug=: ;;
   12619   --file | --fil | --fi | --f )
   12620     $ac_shift
   12621     case $ac_optarg in
   12622     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12623     '') as_fn_error $? "missing file argument" ;;
   12624     esac
   12625     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12626     ac_need_defaults=false;;
   12627   --header | --heade | --head | --hea )
   12628     $ac_shift
   12629     case $ac_optarg in
   12630     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12631     esac
   12632     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12633     ac_need_defaults=false;;
   12634   --he | --h)
   12635     # Conflict between --help and --header
   12636     as_fn_error $? "ambiguous option: '$1'
   12637 Try '$0 --help' for more information.";;
   12638   --help | --hel | -h )
   12639     printf '%s\n' "$ac_cs_usage"; exit ;;
   12640   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12641   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12642     ac_cs_silent=: ;;
   12643 
   12644   # This is an error.
   12645   -*) as_fn_error $? "unrecognized option: '$1'
   12646 Try '$0 --help' for more information." ;;
   12647 
   12648   *) as_fn_append ac_config_targets " $1"
   12649      ac_need_defaults=false ;;
   12650 
   12651   esac
   12652   shift
   12653 done
   12654 
   12655 ac_configure_extra_args=
   12656 
   12657 if $ac_cs_silent; then
   12658   exec 6>/dev/null
   12659   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12660 fi
   12661 
   12662 _ACEOF
   12663 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12664 if \$ac_cs_recheck; then
   12665   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12666   shift
   12667   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12668   CONFIG_SHELL='$SHELL'
   12669   export CONFIG_SHELL
   12670   exec "\$@"
   12671 fi
   12672 
   12673 _ACEOF
   12674 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12675 exec 5>>config.log
   12676 {
   12677   echo
   12678   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12679 ## Running $as_me. ##
   12680 _ASBOX
   12681   printf '%s\n' "$ac_log"
   12682 } >&5
   12683 
   12684 _ACEOF
   12685 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12686 #
   12687 # INIT-COMMANDS
   12688 #
   12689 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12690 
   12691 _ACEOF
   12692 
   12693 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12694 
   12695 # Handling of arguments.
   12696 for ac_config_target in $ac_config_targets
   12697 do
   12698   case $ac_config_target in
   12699     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12700     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12701     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12702     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12703 
   12704   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12705   esac
   12706 done
   12707 
   12708 
   12709 # If the user did not use the arguments to specify the items to instantiate,
   12710 # then the envvar interface is used.  Set only those that are not.
   12711 # We use the long form for the default assignment because of an extremely
   12712 # bizarre bug on SunOS 4.1.3.
   12713 if $ac_need_defaults; then
   12714   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12715   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12716   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12717 fi
   12718 
   12719 # Have a temporary directory for convenience.  Make it in the build tree
   12720 # simply because there is no reason against having it here, and in addition,
   12721 # creating and moving files from /tmp can sometimes cause problems.
   12722 # Hook for its removal unless debugging.
   12723 # Note that there is a small window in which the directory will not be cleaned:
   12724 # after its creation but before its name has been assigned to '$tmp'.
   12725 $debug ||
   12726 {
   12727   tmp= ac_tmp=
   12728   trap 'exit_status=$?
   12729   : "${ac_tmp:=$tmp}"
   12730   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12731 ' 0
   12732   trap 'as_fn_exit 1' 1 2 13 15
   12733 }
   12734 # Create a (secure) tmp directory for tmp files.
   12735 
   12736 {
   12737   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12738   test -d "$tmp"
   12739 }  ||
   12740 {
   12741   tmp=./conf$$-$RANDOM
   12742   (umask 077 && mkdir "$tmp")
   12743 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12744 ac_tmp=$tmp
   12745 
   12746 # Set up the scripts for CONFIG_FILES section.
   12747 # No need to generate them if there are no CONFIG_FILES.
   12748 # This happens for instance with './config.status config.h'.
   12749 if test -n "$CONFIG_FILES"; then
   12750 
   12751 
   12752 ac_cr=`echo X | tr X '\015'`
   12753 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12754 # But we know of no other shell where ac_cr would be empty at this
   12755 # point, so we can use a bashism as a fallback.
   12756 if test "x$ac_cr" = x; then
   12757   eval ac_cr=\$\'\\r\'
   12758 fi
   12759 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12760 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12761   ac_cs_awk_cr='\\r'
   12762 else
   12763   ac_cs_awk_cr=$ac_cr
   12764 fi
   12765 
   12766 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12767 _ACEOF
   12768 
   12769 
   12770 {
   12771   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12772   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12773   echo "_ACEOF"
   12774 } >conf$$subs.sh ||
   12775   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12776 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   12777 ac_delim='%!_!# '
   12778 for ac_last_try in false false false false false :; do
   12779   . ./conf$$subs.sh ||
   12780     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12781 
   12782   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   12783   if test $ac_delim_n = $ac_delim_num; then
   12784     break
   12785   elif $ac_last_try; then
   12786     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12787   else
   12788     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12789   fi
   12790 done
   12791 rm -f conf$$subs.sh
   12792 
   12793 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12794 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12795 _ACEOF
   12796 sed -n '
   12797 h
   12798 s/^/S["/; s/!.*/"]=/
   12799 p
   12800 g
   12801 s/^[^!]*!//
   12802 :repl
   12803 t repl
   12804 s/'"$ac_delim"'$//
   12805 t delim
   12806 :nl
   12807 h
   12808 s/\(.\{148\}\)..*/\1/
   12809 t more1
   12810 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12811 p
   12812 n
   12813 b repl
   12814 :more1
   12815 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12816 p
   12817 g
   12818 s/.\{148\}//
   12819 t nl
   12820 :delim
   12821 h
   12822 s/\(.\{148\}\)..*/\1/
   12823 t more2
   12824 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12825 p
   12826 b
   12827 :more2
   12828 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12829 p
   12830 g
   12831 s/.\{148\}//
   12832 t delim
   12833 ' <conf$$subs.awk | sed '
   12834 /^[^""]/{
   12835   N
   12836   s/\n//
   12837 }
   12838 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   12839 rm -f conf$$subs.awk
   12840 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12841 _ACAWK
   12842 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12843   for (key in S) S_is_set[key] = 1
   12844   FS = ""
   12845 
   12846 }
   12847 {
   12848   line = $ 0
   12849   nfields = split(line, field, "@")
   12850   substed = 0
   12851   len = length(field[1])
   12852   for (i = 2; i < nfields; i++) {
   12853     key = field[i]
   12854     keylen = length(key)
   12855     if (S_is_set[key]) {
   12856       value = S[key]
   12857       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12858       len += length(value) + length(field[++i])
   12859       substed = 1
   12860     } else
   12861       len += 1 + keylen
   12862   }
   12863 
   12864   print line
   12865 }
   12866 
   12867 _ACAWK
   12868 _ACEOF
   12869 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12870 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12871   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12872 else
   12873   cat
   12874 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12875   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12876 _ACEOF
   12877 
   12878 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12879 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12880 # trailing colons and then remove the whole line if VPATH becomes empty
   12881 # (actually we leave an empty line to preserve line numbers).
   12882 if test "x$srcdir" = x.; then
   12883   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12884 h
   12885 s///
   12886 s/^/:/
   12887 s/[	 ]*$/:/
   12888 s/:\$(srcdir):/:/g
   12889 s/:\${srcdir}:/:/g
   12890 s/:@srcdir@:/:/g
   12891 s/^:*//
   12892 s/:*$//
   12893 x
   12894 s/\(=[	 ]*\).*/\1/
   12895 G
   12896 s/\n//
   12897 s/^[^=]*=[	 ]*$//
   12898 }'
   12899 fi
   12900 
   12901 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12902 fi # test -n "$CONFIG_FILES"
   12903 
   12904 # Set up the scripts for CONFIG_HEADERS section.
   12905 # No need to generate them if there are no CONFIG_HEADERS.
   12906 # This happens for instance with './config.status Makefile'.
   12907 if test -n "$CONFIG_HEADERS"; then
   12908 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12909 BEGIN {
   12910 _ACEOF
   12911 
   12912 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12913 # here-document in config.status, that substitutes the proper values into
   12914 # config.h.in to produce config.h.
   12915 
   12916 # Create a delimiter string that does not exist in confdefs.h, to ease
   12917 # handling of long lines.
   12918 ac_delim='%!_!# '
   12919 for ac_last_try in false false :; do
   12920   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12921   if test -z "$ac_tt"; then
   12922     break
   12923   elif $ac_last_try; then
   12924     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12925   else
   12926     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12927   fi
   12928 done
   12929 
   12930 # For the awk script, D is an array of macro values keyed by name,
   12931 # likewise P contains macro parameters if any.  Preserve backslash
   12932 # newline sequences.
   12933 
   12934 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12935 sed -n '
   12936 s/.\{148\}/&'"$ac_delim"'/g
   12937 t rset
   12938 :rset
   12939 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12940 t def
   12941 d
   12942 :def
   12943 s/\\$//
   12944 t bsnl
   12945 s/["\\]/\\&/g
   12946 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12947 D["\1"]=" \3"/p
   12948 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12949 d
   12950 :bsnl
   12951 s/["\\]/\\&/g
   12952 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12953 D["\1"]=" \3\\\\\\n"\\/p
   12954 t cont
   12955 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12956 t cont
   12957 d
   12958 :cont
   12959 n
   12960 s/.\{148\}/&'"$ac_delim"'/g
   12961 t clear
   12962 :clear
   12963 s/\\$//
   12964 t bsnlc
   12965 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12966 d
   12967 :bsnlc
   12968 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12969 b cont
   12970 ' <confdefs.h | sed '
   12971 s/'"$ac_delim"'/"\\\
   12972 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   12973 
   12974 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12975   for (key in D) D_is_set[key] = 1
   12976   FS = ""
   12977 }
   12978 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12979   line = \$ 0
   12980   split(line, arg, " ")
   12981   if (arg[1] == "#") {
   12982     defundef = arg[2]
   12983     mac1 = arg[3]
   12984   } else {
   12985     defundef = substr(arg[1], 2)
   12986     mac1 = arg[2]
   12987   }
   12988   split(mac1, mac2, "(") #)
   12989   macro = mac2[1]
   12990   prefix = substr(line, 1, index(line, defundef) - 1)
   12991   if (D_is_set[macro]) {
   12992     suffix = P[macro] D[macro]
   12993     while (suffix ~ /[\t ]$/) {
   12994       suffix = substr(suffix, 1, length(suffix) - 1)
   12995     }
   12996     # Preserve the white space surrounding the "#".
   12997     print prefix "define", macro suffix
   12998     next
   12999   } else {
   13000     # Replace #undef with comments.  This is necessary, for example,
   13001     # in the case of _POSIX_SOURCE, which is predefined and required
   13002     # on some systems where configure will not decide to define it.
   13003     if (defundef == "undef") {
   13004       print "/*", prefix defundef, macro, "*/"
   13005       next
   13006     }
   13007   }
   13008 }
   13009 { print }
   13010 _ACAWK
   13011 _ACEOF
   13012 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13013   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13014 fi # test -n "$CONFIG_HEADERS"
   13015 
   13016 
   13017 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13018 shift
   13019 for ac_tag
   13020 do
   13021   case $ac_tag in
   13022   :[FHLC]) ac_mode=$ac_tag; continue;;
   13023   esac
   13024   case $ac_mode$ac_tag in
   13025   :[FHL]*:*);;
   13026   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13027   :[FH]-) ac_tag=-:-;;
   13028   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13029   esac
   13030   ac_save_IFS=$IFS
   13031   IFS=:
   13032   set x $ac_tag
   13033   IFS=$ac_save_IFS
   13034   shift
   13035   ac_file=$1
   13036   shift
   13037 
   13038   case $ac_mode in
   13039   :L) ac_source=$1;;
   13040   :[FH])
   13041     ac_file_inputs=
   13042     for ac_f
   13043     do
   13044       case $ac_f in
   13045       -) ac_f="$ac_tmp/stdin";;
   13046       *) # Look for the file first in the build tree, then in the source tree
   13047 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13048 	 # because $ac_f cannot contain ':'.
   13049 	 test -f "$ac_f" ||
   13050 	   case $ac_f in
   13051 	   [\\/$]*) false;;
   13052 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13053 	   esac ||
   13054 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13055       esac
   13056       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13057       as_fn_append ac_file_inputs " '$ac_f'"
   13058     done
   13059 
   13060     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13061     # use $as_me), people would be surprised to read:
   13062     #    /* config.h.  Generated by config.status.  */
   13063     configure_input='Generated from '`
   13064 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13065 	`' by configure.'
   13066     if test x"$ac_file" != x-; then
   13067       configure_input="$ac_file.  $configure_input"
   13068       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13069 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   13070     fi
   13071     # Neutralize special characters interpreted by sed in replacement strings.
   13072     case $configure_input in #(
   13073     *\&* | *\|* | *\\* )
   13074        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   13075        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13076     *) ac_sed_conf_input=$configure_input;;
   13077     esac
   13078 
   13079     case $ac_tag in
   13080     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13081       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13082     esac
   13083     ;;
   13084   esac
   13085 
   13086   ac_dir=`$as_dirname -- "$ac_file" ||
   13087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13088 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13089 	 X"$ac_file" : 'X\(//\)$' \| \
   13090 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13091 printf '%s\n' X"$ac_file" |
   13092     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13093 	    s//\1/
   13094 	    q
   13095 	  }
   13096 	  /^X\(\/\/\)[^/].*/{
   13097 	    s//\1/
   13098 	    q
   13099 	  }
   13100 	  /^X\(\/\/\)$/{
   13101 	    s//\1/
   13102 	    q
   13103 	  }
   13104 	  /^X\(\/\).*/{
   13105 	    s//\1/
   13106 	    q
   13107 	  }
   13108 	  s/.*/./; q'`
   13109   as_dir="$ac_dir"; as_fn_mkdir_p
   13110   ac_builddir=.
   13111 
   13112 case "$ac_dir" in
   13113 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13114 *)
   13115   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   13116   # A ".." for each directory in $ac_dir_suffix.
   13117   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13118   case $ac_top_builddir_sub in
   13119   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13120   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13121   esac ;;
   13122 esac
   13123 ac_abs_top_builddir=$ac_pwd
   13124 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13125 # for backward compatibility:
   13126 ac_top_builddir=$ac_top_build_prefix
   13127 
   13128 case $srcdir in
   13129   .)  # We are building in place.
   13130     ac_srcdir=.
   13131     ac_top_srcdir=$ac_top_builddir_sub
   13132     ac_abs_top_srcdir=$ac_pwd ;;
   13133   [\\/]* | ?:[\\/]* )  # Absolute name.
   13134     ac_srcdir=$srcdir$ac_dir_suffix;
   13135     ac_top_srcdir=$srcdir
   13136     ac_abs_top_srcdir=$srcdir ;;
   13137   *) # Relative name.
   13138     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13139     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13140     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13141 esac
   13142 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13143 
   13144 
   13145   case $ac_mode in
   13146   :F)
   13147   #
   13148   # CONFIG_FILE
   13149   #
   13150 
   13151   case $INSTALL in
   13152   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13153   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13154   esac
   13155   ac_MKDIR_P=$MKDIR_P
   13156   case $MKDIR_P in
   13157   [\\/$]* | ?:[\\/]* ) ;;
   13158   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13159   esac
   13160 _ACEOF
   13161 
   13162 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13163 # If the template does not know about datarootdir, expand it.
   13164 # FIXME: This hack should be removed a few years after 2.60.
   13165 ac_datarootdir_hack=; ac_datarootdir_seen=
   13166 ac_sed_dataroot='
   13167 /datarootdir/ {
   13168   p
   13169   q
   13170 }
   13171 /@datadir@/p
   13172 /@docdir@/p
   13173 /@infodir@/p
   13174 /@localedir@/p
   13175 /@mandir@/p'
   13176 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13177 *datarootdir*) ac_datarootdir_seen=yes;;
   13178 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13179   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13180 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13181 _ACEOF
   13182 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13183   ac_datarootdir_hack='
   13184   s&@datadir@&$datadir&g
   13185   s&@docdir@&$docdir&g
   13186   s&@infodir@&$infodir&g
   13187   s&@localedir@&$localedir&g
   13188   s&@mandir@&$mandir&g
   13189   s&\\\${datarootdir}&$datarootdir&g' ;;
   13190 esac
   13191 _ACEOF
   13192 
   13193 # Neutralize VPATH when '$srcdir' = '.'.
   13194 # Shell code in configure.ac might set extrasub.
   13195 # FIXME: do we really want to maintain this feature?
   13196 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13197 ac_sed_extra="$ac_vpsub
   13198 $extrasub
   13199 _ACEOF
   13200 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13201 :t
   13202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13203 s|@configure_input@|$ac_sed_conf_input|;t t
   13204 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13205 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13206 s&@srcdir@&$ac_srcdir&;t t
   13207 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13208 s&@top_srcdir@&$ac_top_srcdir&;t t
   13209 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13210 s&@builddir@&$ac_builddir&;t t
   13211 s&@abs_builddir@&$ac_abs_builddir&;t t
   13212 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13213 s&@INSTALL@&$ac_INSTALL&;t t
   13214 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13215 $ac_datarootdir_hack
   13216 "
   13217 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13218   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13219 
   13220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13221   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13222   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13223       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13224   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13225 which seems to be undefined.  Please make sure it is defined" >&5
   13226 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13227 which seems to be undefined.  Please make sure it is defined" >&2;}
   13228 
   13229   rm -f "$ac_tmp/stdin"
   13230   case $ac_file in
   13231   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13232   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13233   esac \
   13234   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13235  ;;
   13236   :H)
   13237   #
   13238   # CONFIG_HEADER
   13239   #
   13240   if test x"$ac_file" != x-; then
   13241     {
   13242       printf '%s\n' "/* $configure_input  */" >&1 \
   13243       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13244     } >"$ac_tmp/config.h" \
   13245       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13246     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13247       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13248 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13249     else
   13250       rm -f "$ac_file"
   13251       mv "$ac_tmp/config.h" "$ac_file" \
   13252 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13253     fi
   13254   else
   13255     printf '%s\n' "/* $configure_input  */" >&1 \
   13256       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13257       || as_fn_error $? "could not create -" "$LINENO" 5
   13258   fi
   13259 # Compute "$ac_file"'s index in $config_headers.
   13260 _am_arg="$ac_file"
   13261 _am_stamp_count=1
   13262 for _am_header in $config_headers :; do
   13263   case $_am_header in
   13264     $_am_arg | $_am_arg:* )
   13265       break ;;
   13266     * )
   13267       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13268   esac
   13269 done
   13270 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13271 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13272 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13273 	 X"$_am_arg" : 'X\(//\)$' \| \
   13274 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13275 printf '%s\n' X"$_am_arg" |
   13276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13277 	    s//\1/
   13278 	    q
   13279 	  }
   13280 	  /^X\(\/\/\)[^/].*/{
   13281 	    s//\1/
   13282 	    q
   13283 	  }
   13284 	  /^X\(\/\/\)$/{
   13285 	    s//\1/
   13286 	    q
   13287 	  }
   13288 	  /^X\(\/\).*/{
   13289 	    s//\1/
   13290 	    q
   13291 	  }
   13292 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13293  ;;
   13294 
   13295   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13296 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13297  ;;
   13298   esac
   13299 
   13300 
   13301   case $ac_file$ac_mode in
   13302     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13303   # Older Autoconf quotes --file arguments for eval, but not when files
   13304   # are listed without --file.  Let's play safe and only enable the eval
   13305   # if we detect the quoting.
   13306   # TODO: see whether this extra hack can be removed once we start
   13307   # requiring Autoconf 2.70 or later.
   13308   case $CONFIG_FILES in #(
   13309   *\'*) :
   13310     eval set x "$CONFIG_FILES" ;; #(
   13311   *) :
   13312     set x $CONFIG_FILES ;; #(
   13313   *) :
   13314      ;;
   13315 esac
   13316   shift
   13317   # Used to flag and report bootstrapping failures.
   13318   am_rc=0
   13319   for am_mf
   13320   do
   13321     # Strip MF so we end up with the name of the file.
   13322     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13323     # Check whether this is an Automake generated Makefile which includes
   13324     # dependency-tracking related rules and includes.
   13325     # Grep'ing the whole file directly is not great: AIX grep has a line
   13326     # limit of 2048, but all sed's we know have understand at least 4000.
   13327     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13328       || continue
   13329     am_dirpart=`$as_dirname -- "$am_mf" ||
   13330 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13331 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13332 	 X"$am_mf" : 'X\(//\)$' \| \
   13333 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13334 printf '%s\n' X"$am_mf" |
   13335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13336 	    s//\1/
   13337 	    q
   13338 	  }
   13339 	  /^X\(\/\/\)[^/].*/{
   13340 	    s//\1/
   13341 	    q
   13342 	  }
   13343 	  /^X\(\/\/\)$/{
   13344 	    s//\1/
   13345 	    q
   13346 	  }
   13347 	  /^X\(\/\).*/{
   13348 	    s//\1/
   13349 	    q
   13350 	  }
   13351 	  s/.*/./; q'`
   13352     am_filepart=`$as_basename -- "$am_mf" ||
   13353 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13354 	 X"$am_mf" : 'X\(//\)$' \| \
   13355 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13356 printf '%s\n' X/"$am_mf" |
   13357     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13358 	    s//\1/
   13359 	    q
   13360 	  }
   13361 	  /^X\/\(\/\/\)$/{
   13362 	    s//\1/
   13363 	    q
   13364 	  }
   13365 	  /^X\/\(\/\).*/{
   13366 	    s//\1/
   13367 	    q
   13368 	  }
   13369 	  s/.*/./; q'`
   13370     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13371       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13372         | $MAKE -f - am--depfiles" >&5
   13373    (cd "$am_dirpart" \
   13374       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13375         | $MAKE -f - am--depfiles) >&5 2>&5
   13376    ac_status=$?
   13377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13378    (exit $ac_status); } || am_rc=$?
   13379   done
   13380   if test $am_rc -ne 0; then
   13381     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13382 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13383 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13384     for automatic dependency tracking.  If GNU make was not used, consider
   13385     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13386     necessary).  You can also try re-running configure with the
   13387     '--disable-dependency-tracking' option to at least be able to build
   13388     the package (albeit without support for automatic dependency tracking).
   13389 See 'config.log' for more details" "$LINENO" 5; }
   13390   fi
   13391   { am_dirpart=; unset am_dirpart;}
   13392   { am_filepart=; unset am_filepart;}
   13393   { am_mf=; unset am_mf;}
   13394   { am_rc=; unset am_rc;}
   13395   rm -f conftest-deps.mk
   13396 }
   13397  ;;
   13398 
   13399   esac
   13400 done # for ac_tag
   13401 
   13402 
   13403 as_fn_exit 0
   13404 _ACEOF
   13405 ac_clean_CONFIG_STATUS=
   13406 
   13407 test $ac_write_fail = 0 ||
   13408   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13409 
   13410 
   13411 # configure is writing to config.log, and then calls config.status.
   13412 # config.status does its own redirection, appending to config.log.
   13413 # Unfortunately, on DOS this fails, as config.log is still kept open
   13414 # by configure, so config.status won't be able to write to it; its
   13415 # output is simply discarded.  So we exec the FD to /dev/null,
   13416 # effectively closing config.log, so it can be properly (re)opened and
   13417 # appended to by config.status.  When coming back to configure, we
   13418 # need to make the FD available again.
   13419 if test "$no_create" != yes; then
   13420   ac_cs_success=:
   13421   case $CONFIG_STATUS in #(
   13422   -*) :
   13423     ac_no_opts=-- ;; #(
   13424   *) :
   13425     ac_no_opts= ;;
   13426 esac
   13427   ac_config_status_args=
   13428   test "$silent" = yes &&
   13429     ac_config_status_args="$ac_config_status_args --quiet"
   13430   exec 5>/dev/null
   13431   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13432     ac_cs_success=false
   13433   exec 5>>config.log
   13434   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13435   # would make configure fail if this is the last instruction.
   13436   $ac_cs_success || as_fn_exit 1
   13437 fi
   13438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13439   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13440 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13441 fi
   13442 
   13443 
   13444