Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for ico 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/ico/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/ico/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='ico'
    591 PACKAGE_TARNAME='ico'
    592 PACKAGE_VERSION='1.0.7'
    593 PACKAGE_STRING='ico 1.0.7'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/ico/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 XTHREADLIB
    635 ICO_LIBS
    636 ICO_CFLAGS
    637 MAN_SUBSTS
    638 XORG_MAN_PAGE
    639 ADMIN_MAN_DIR
    640 DRIVER_MAN_DIR
    641 MISC_MAN_DIR
    642 FILE_MAN_DIR
    643 LIB_MAN_DIR
    644 APP_MAN_DIR
    645 ADMIN_MAN_SUFFIX
    646 DRIVER_MAN_SUFFIX
    647 MISC_MAN_SUFFIX
    648 FILE_MAN_SUFFIX
    649 LIB_MAN_SUFFIX
    650 APP_MAN_SUFFIX
    651 SED
    652 host_os
    653 host_vendor
    654 host_cpu
    655 host
    656 build_os
    657 build_vendor
    658 build_cpu
    659 build
    660 INSTALL_CMD
    661 PKG_CONFIG_LIBDIR
    662 PKG_CONFIG_PATH
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 am__xargs_n
    685 am__rm_f_notfound
    686 AM_BACKSLASH
    687 AM_DEFAULT_VERBOSITY
    688 AM_DEFAULT_V
    689 AM_V
    690 CSCOPE
    691 ETAGS
    692 CTAGS
    693 am__untar
    694 am__tar
    695 AMTAR
    696 am__leading_dot
    697 SET_MAKE
    698 AWK
    699 mkdir_p
    700 MKDIR_P
    701 INSTALL_STRIP_PROGRAM
    702 STRIP
    703 install_sh
    704 MAKEINFO
    705 AUTOHEADER
    706 AUTOMAKE
    707 AUTOCONF
    708 ACLOCAL
    709 VERSION
    710 PACKAGE
    711 CYGPATH_W
    712 am__isrc
    713 INSTALL_DATA
    714 INSTALL_SCRIPT
    715 INSTALL_PROGRAM
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 target_alias
    720 host_alias
    721 build_alias
    722 LIBS
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 runstatedir
    736 localstatedir
    737 sharedstatedir
    738 sysconfdir
    739 datadir
    740 datarootdir
    741 libexecdir
    742 sbindir
    743 bindir
    744 program_transform_name
    745 prefix
    746 exec_prefix
    747 PACKAGE_URL
    748 PACKAGE_BUGREPORT
    749 PACKAGE_STRING
    750 PACKAGE_VERSION
    751 PACKAGE_TARNAME
    752 PACKAGE_NAME
    753 PATH_SEPARATOR
    754 SHELL
    755 am__quote'
    756 ac_subst_files=''
    757 ac_user_opts='
    758 enable_option_checking
    759 enable_silent_rules
    760 enable_dependency_tracking
    761 enable_selective_werror
    762 enable_strict_compilation
    763 '
    764       ac_precious_vars='build_alias
    765 host_alias
    766 target_alias
    767 CC
    768 CFLAGS
    769 LDFLAGS
    770 LIBS
    771 CPPFLAGS
    772 PKG_CONFIG
    773 PKG_CONFIG_PATH
    774 PKG_CONFIG_LIBDIR
    775 ICO_CFLAGS
    776 ICO_LIBS'
    777 
    778 
    779 # Initialize some variables set by options.
    780 ac_init_help=
    781 ac_init_version=false
    782 ac_unrecognized_opts=
    783 ac_unrecognized_sep=
    784 # The variables have the same names as the options, with
    785 # dashes changed to underlines.
    786 cache_file=/dev/null
    787 exec_prefix=NONE
    788 no_create=
    789 no_recursion=
    790 prefix=NONE
    791 program_prefix=NONE
    792 program_suffix=NONE
    793 program_transform_name=s,x,x,
    794 silent=
    795 site=
    796 srcdir=
    797 verbose=
    798 x_includes=NONE
    799 x_libraries=NONE
    800 
    801 # Installation directory options.
    802 # These are left unexpanded so users can "make install exec_prefix=/foo"
    803 # and all the variables that are supposed to be based on exec_prefix
    804 # by default will actually change.
    805 # Use braces instead of parens because sh, perl, etc. also accept them.
    806 # (The list follows the same order as the GNU Coding Standards.)
    807 bindir='${exec_prefix}/bin'
    808 sbindir='${exec_prefix}/sbin'
    809 libexecdir='${exec_prefix}/libexec'
    810 datarootdir='${prefix}/share'
    811 datadir='${datarootdir}'
    812 sysconfdir='${prefix}/etc'
    813 sharedstatedir='${prefix}/com'
    814 localstatedir='${prefix}/var'
    815 runstatedir='${localstatedir}/run'
    816 includedir='${prefix}/include'
    817 oldincludedir='/usr/include'
    818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    819 infodir='${datarootdir}/info'
    820 htmldir='${docdir}'
    821 dvidir='${docdir}'
    822 pdfdir='${docdir}'
    823 psdir='${docdir}'
    824 libdir='${exec_prefix}/lib'
    825 localedir='${datarootdir}/locale'
    826 mandir='${datarootdir}/man'
    827 
    828 ac_prev=
    829 ac_dashdash=
    830 for ac_option
    831 do
    832   # If the previous option needs an argument, assign it.
    833   if test -n "$ac_prev"; then
    834     eval $ac_prev=\$ac_option
    835     ac_prev=
    836     continue
    837   fi
    838 
    839   case $ac_option in
    840   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    841   *=)   ac_optarg= ;;
    842   *)    ac_optarg=yes ;;
    843   esac
    844 
    845   case $ac_dashdash$ac_option in
    846   --)
    847     ac_dashdash=yes ;;
    848 
    849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    850     ac_prev=bindir ;;
    851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    852     bindir=$ac_optarg ;;
    853 
    854   -build | --build | --buil | --bui | --bu)
    855     ac_prev=build_alias ;;
    856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    857     build_alias=$ac_optarg ;;
    858 
    859   -cache-file | --cache-file | --cache-fil | --cache-fi \
    860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    861     ac_prev=cache_file ;;
    862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    864     cache_file=$ac_optarg ;;
    865 
    866   --config-cache | -C)
    867     cache_file=config.cache ;;
    868 
    869   -datadir | --datadir | --datadi | --datad)
    870     ac_prev=datadir ;;
    871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    872     datadir=$ac_optarg ;;
    873 
    874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    875   | --dataroo | --dataro | --datar)
    876     ac_prev=datarootdir ;;
    877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    879     datarootdir=$ac_optarg ;;
    880 
    881   -disable-* | --disable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: '$ac_useropt'"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=no ;;
    896 
    897   -docdir | --docdir | --docdi | --doc | --do)
    898     ac_prev=docdir ;;
    899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    900     docdir=$ac_optarg ;;
    901 
    902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    903     ac_prev=dvidir ;;
    904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    905     dvidir=$ac_optarg ;;
    906 
    907   -enable-* | --enable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: '$ac_useropt'"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=\$ac_optarg ;;
    922 
    923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    925   | --exec | --exe | --ex)
    926     ac_prev=exec_prefix ;;
    927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    929   | --exec=* | --exe=* | --ex=*)
    930     exec_prefix=$ac_optarg ;;
    931 
    932   -gas | --gas | --ga | --g)
    933     # Obsolete; use --with-gas.
    934     with_gas=yes ;;
    935 
    936   -help | --help | --hel | --he | -h)
    937     ac_init_help=long ;;
    938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    939     ac_init_help=recursive ;;
    940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    941     ac_init_help=short ;;
    942 
    943   -host | --host | --hos | --ho)
    944     ac_prev=host_alias ;;
    945   -host=* | --host=* | --hos=* | --ho=*)
    946     host_alias=$ac_optarg ;;
    947 
    948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    949     ac_prev=htmldir ;;
    950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    951   | --ht=*)
    952     htmldir=$ac_optarg ;;
    953 
    954   -includedir | --includedir | --includedi | --included | --include \
    955   | --includ | --inclu | --incl | --inc)
    956     ac_prev=includedir ;;
    957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    958   | --includ=* | --inclu=* | --incl=* | --inc=*)
    959     includedir=$ac_optarg ;;
    960 
    961   -infodir | --infodir | --infodi | --infod | --info | --inf)
    962     ac_prev=infodir ;;
    963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    964     infodir=$ac_optarg ;;
    965 
    966   -libdir | --libdir | --libdi | --libd)
    967     ac_prev=libdir ;;
    968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    969     libdir=$ac_optarg ;;
    970 
    971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    972   | --libexe | --libex | --libe)
    973     ac_prev=libexecdir ;;
    974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    975   | --libexe=* | --libex=* | --libe=*)
    976     libexecdir=$ac_optarg ;;
    977 
    978   -localedir | --localedir | --localedi | --localed | --locale)
    979     ac_prev=localedir ;;
    980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    981     localedir=$ac_optarg ;;
    982 
    983   -localstatedir | --localstatedir | --localstatedi | --localstated \
    984   | --localstate | --localstat | --localsta | --localst | --locals)
    985     ac_prev=localstatedir ;;
    986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    988     localstatedir=$ac_optarg ;;
    989 
    990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    991     ac_prev=mandir ;;
    992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    993     mandir=$ac_optarg ;;
    994 
    995   -nfp | --nfp | --nf)
    996     # Obsolete; use --without-fp.
    997     with_fp=no ;;
    998 
    999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1000   | --no-cr | --no-c | -n)
   1001     no_create=yes ;;
   1002 
   1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1005     no_recursion=yes ;;
   1006 
   1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1009   | --oldin | --oldi | --old | --ol | --o)
   1010     ac_prev=oldincludedir ;;
   1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1014     oldincludedir=$ac_optarg ;;
   1015 
   1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1017     ac_prev=prefix ;;
   1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1019     prefix=$ac_optarg ;;
   1020 
   1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1022   | --program-pre | --program-pr | --program-p)
   1023     ac_prev=program_prefix ;;
   1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1026     program_prefix=$ac_optarg ;;
   1027 
   1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1029   | --program-suf | --program-su | --program-s)
   1030     ac_prev=program_suffix ;;
   1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1033     program_suffix=$ac_optarg ;;
   1034 
   1035   -program-transform-name | --program-transform-name \
   1036   | --program-transform-nam | --program-transform-na \
   1037   | --program-transform-n | --program-transform- \
   1038   | --program-transform | --program-transfor \
   1039   | --program-transfo | --program-transf \
   1040   | --program-trans | --program-tran \
   1041   | --progr-tra | --program-tr | --program-t)
   1042     ac_prev=program_transform_name ;;
   1043   -program-transform-name=* | --program-transform-name=* \
   1044   | --program-transform-nam=* | --program-transform-na=* \
   1045   | --program-transform-n=* | --program-transform-=* \
   1046   | --program-transform=* | --program-transfor=* \
   1047   | --program-transfo=* | --program-transf=* \
   1048   | --program-trans=* | --program-tran=* \
   1049   | --progr-tra=* | --program-tr=* | --program-t=*)
   1050     program_transform_name=$ac_optarg ;;
   1051 
   1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1053     ac_prev=pdfdir ;;
   1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1055     pdfdir=$ac_optarg ;;
   1056 
   1057   -psdir | --psdir | --psdi | --psd | --ps)
   1058     ac_prev=psdir ;;
   1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1060     psdir=$ac_optarg ;;
   1061 
   1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1063   | -silent | --silent | --silen | --sile | --sil)
   1064     silent=yes ;;
   1065 
   1066   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1067   | --runstate | --runstat | --runsta | --runst | --runs \
   1068   | --run | --ru | --r)
   1069     ac_prev=runstatedir ;;
   1070   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1071   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1072   | --run=* | --ru=* | --r=*)
   1073     runstatedir=$ac_optarg ;;
   1074 
   1075   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1076     ac_prev=sbindir ;;
   1077   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1078   | --sbi=* | --sb=*)
   1079     sbindir=$ac_optarg ;;
   1080 
   1081   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1082   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1083   | --sharedst | --shareds | --shared | --share | --shar \
   1084   | --sha | --sh)
   1085     ac_prev=sharedstatedir ;;
   1086   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1087   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1088   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1089   | --sha=* | --sh=*)
   1090     sharedstatedir=$ac_optarg ;;
   1091 
   1092   -site | --site | --sit)
   1093     ac_prev=site ;;
   1094   -site=* | --site=* | --sit=*)
   1095     site=$ac_optarg ;;
   1096 
   1097   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1098     ac_prev=srcdir ;;
   1099   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1100     srcdir=$ac_optarg ;;
   1101 
   1102   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1103   | --syscon | --sysco | --sysc | --sys | --sy)
   1104     ac_prev=sysconfdir ;;
   1105   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1106   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1107     sysconfdir=$ac_optarg ;;
   1108 
   1109   -target | --target | --targe | --targ | --tar | --ta | --t)
   1110     ac_prev=target_alias ;;
   1111   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1112     target_alias=$ac_optarg ;;
   1113 
   1114   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1115     verbose=yes ;;
   1116 
   1117   -version | --version | --versio | --versi | --vers | -V)
   1118     ac_init_version=: ;;
   1119 
   1120   -with-* | --with-*)
   1121     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1122     # Reject names that are not valid shell variable names.
   1123     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1124       as_fn_error $? "invalid package name: '$ac_useropt'"
   1125     ac_useropt_orig=$ac_useropt
   1126     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1127     case $ac_user_opts in
   1128       *"
   1129 "with_$ac_useropt"
   1130 "*) ;;
   1131       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1132 	 ac_unrecognized_sep=', ';;
   1133     esac
   1134     eval with_$ac_useropt=\$ac_optarg ;;
   1135 
   1136   -without-* | --without-*)
   1137     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1138     # Reject names that are not valid shell variable names.
   1139     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1140       as_fn_error $? "invalid package name: '$ac_useropt'"
   1141     ac_useropt_orig=$ac_useropt
   1142     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1143     case $ac_user_opts in
   1144       *"
   1145 "with_$ac_useropt"
   1146 "*) ;;
   1147       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1148 	 ac_unrecognized_sep=', ';;
   1149     esac
   1150     eval with_$ac_useropt=no ;;
   1151 
   1152   --x)
   1153     # Obsolete; use --with-x.
   1154     with_x=yes ;;
   1155 
   1156   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1157   | --x-incl | --x-inc | --x-in | --x-i)
   1158     ac_prev=x_includes ;;
   1159   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1160   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1161     x_includes=$ac_optarg ;;
   1162 
   1163   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1164   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1165     ac_prev=x_libraries ;;
   1166   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1167   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1168     x_libraries=$ac_optarg ;;
   1169 
   1170   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1171 Try '$0 --help' for more information"
   1172     ;;
   1173 
   1174   *=*)
   1175     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1176     # Reject names that are not valid shell variable names.
   1177     case $ac_envvar in #(
   1178       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1179       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1180     esac
   1181     eval $ac_envvar=\$ac_optarg
   1182     export $ac_envvar ;;
   1183 
   1184   *)
   1185     # FIXME: should be removed in autoconf 3.0.
   1186     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1187     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1188       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1189     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1190     ;;
   1191 
   1192   esac
   1193 done
   1194 
   1195 if test -n "$ac_prev"; then
   1196   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1197   as_fn_error $? "missing argument to $ac_option"
   1198 fi
   1199 
   1200 if test -n "$ac_unrecognized_opts"; then
   1201   case $enable_option_checking in
   1202     no) ;;
   1203     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1204     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1205   esac
   1206 fi
   1207 
   1208 # Check all directory arguments for consistency.
   1209 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1210 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1211 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1212 		libdir localedir mandir runstatedir
   1213 do
   1214   eval ac_val=\$$ac_var
   1215   # Remove trailing slashes.
   1216   case $ac_val in
   1217     */ )
   1218       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1219       eval $ac_var=\$ac_val;;
   1220   esac
   1221   # Be sure to have absolute directory names.
   1222   case $ac_val in
   1223     [\\/$]* | ?:[\\/]* )  continue;;
   1224     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1225   esac
   1226   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1227 done
   1228 
   1229 # There might be people who depend on the old broken behavior: '$host'
   1230 # used to hold the argument of --host etc.
   1231 # FIXME: To remove some day.
   1232 build=$build_alias
   1233 host=$host_alias
   1234 target=$target_alias
   1235 
   1236 # FIXME: To remove some day.
   1237 if test "x$host_alias" != x; then
   1238   if test "x$build_alias" = x; then
   1239     cross_compiling=maybe
   1240   elif test "x$build_alias" != "x$host_alias"; then
   1241     cross_compiling=yes
   1242   fi
   1243 fi
   1244 
   1245 ac_tool_prefix=
   1246 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1247 
   1248 test "$silent" = yes && exec 6>/dev/null
   1249 
   1250 
   1251 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1252 ac_ls_di=`ls -di .` &&
   1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1254   as_fn_error $? "working directory cannot be determined"
   1255 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1256   as_fn_error $? "pwd does not report name of working directory"
   1257 
   1258 
   1259 # Find the source files, if location was not specified.
   1260 if test -z "$srcdir"; then
   1261   ac_srcdir_defaulted=yes
   1262   # Try the directory containing this script, then the parent directory.
   1263   ac_confdir=`$as_dirname -- "$as_myself" ||
   1264 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1265 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1266 	 X"$as_myself" : 'X\(//\)$' \| \
   1267 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1268 printf '%s\n' X"$as_myself" |
   1269     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\/\)[^/].*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  /^X\(\/\/\)$/{
   1278 	    s//\1/
   1279 	    q
   1280 	  }
   1281 	  /^X\(\/\).*/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  s/.*/./; q'`
   1286   srcdir=$ac_confdir
   1287   if test ! -r "$srcdir/$ac_unique_file"; then
   1288     srcdir=..
   1289   fi
   1290 else
   1291   ac_srcdir_defaulted=no
   1292 fi
   1293 if test ! -r "$srcdir/$ac_unique_file"; then
   1294   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1295   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1296 fi
   1297 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1298 ac_abs_confdir=`(
   1299 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1300 	pwd)`
   1301 # When building in place, set srcdir=.
   1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1303   srcdir=.
   1304 fi
   1305 # Remove unnecessary trailing slashes from srcdir.
   1306 # Double slashes in file names in object file debugging info
   1307 # mess up M-x gdb in Emacs.
   1308 case $srcdir in
   1309 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1310 esac
   1311 for ac_var in $ac_precious_vars; do
   1312   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1313   eval ac_env_${ac_var}_value=\$${ac_var}
   1314   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1315   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1316 done
   1317 
   1318 #
   1319 # Report the --help message.
   1320 #
   1321 if test "$ac_init_help" = "long"; then
   1322   # Omit some internal or obsolete options to make the list less imposing.
   1323   # This message is too long to be a string in the A/UX 3.1 sh.
   1324   cat <<_ACEOF
   1325 'configure' configures ico 1.0.7 to adapt to many kinds of systems.
   1326 
   1327 Usage: $0 [OPTION]... [VAR=VALUE]...
   1328 
   1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1330 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1331 
   1332 Defaults for the options are specified in brackets.
   1333 
   1334 Configuration:
   1335   -h, --help              display this help and exit
   1336       --help=short        display options specific to this package
   1337       --help=recursive    display the short help of all the included packages
   1338   -V, --version           display version information and exit
   1339   -q, --quiet, --silent   do not print 'checking ...' messages
   1340       --cache-file=FILE   cache test results in FILE [disabled]
   1341   -C, --config-cache      alias for '--cache-file=config.cache'
   1342   -n, --no-create         do not create output files
   1343       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1344 
   1345 Installation directories:
   1346   --prefix=PREFIX         install architecture-independent files in PREFIX
   1347                           [$ac_default_prefix]
   1348   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1349                           [PREFIX]
   1350 
   1351 By default, 'make install' will install all the files in
   1352 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1353 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1354 for instance '--prefix=\$HOME'.
   1355 
   1356 For better control, use the options below.
   1357 
   1358 Fine tuning of the installation directories:
   1359   --bindir=DIR            user executables [EPREFIX/bin]
   1360   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1361   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1362   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1363   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1364   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1365   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1366   --libdir=DIR            object code libraries [EPREFIX/lib]
   1367   --includedir=DIR        C header files [PREFIX/include]
   1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/ico]
   1375   --htmldir=DIR           html documentation [DOCDIR]
   1376   --dvidir=DIR            dvi documentation [DOCDIR]
   1377   --pdfdir=DIR            pdf documentation [DOCDIR]
   1378   --psdir=DIR             ps documentation [DOCDIR]
   1379 _ACEOF
   1380 
   1381   cat <<\_ACEOF
   1382 
   1383 Program names:
   1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1387 
   1388 System types:
   1389   --build=BUILD     configure for building on BUILD [guessed]
   1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1391 _ACEOF
   1392 fi
   1393 
   1394 if test -n "$ac_init_help"; then
   1395   case $ac_init_help in
   1396      short | recursive ) echo "Configuration of ico 1.0.7:";;
   1397    esac
   1398   cat <<\_ACEOF
   1399 
   1400 Optional Features:
   1401   --disable-option-checking  ignore unrecognized --enable/--with options
   1402   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1403   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1404   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1405   --disable-silent-rules  verbose build output (undo: "make V=0")
   1406   --enable-dependency-tracking
   1407                           do not reject slow dependency extractors
   1408   --disable-dependency-tracking
   1409                           speeds up one-time build
   1410   --disable-selective-werror
   1411                           Turn off selective compiler errors. (default:
   1412                           enabled)
   1413   --enable-strict-compilation
   1414                           Enable all warnings from compiler and make them
   1415                           errors (default: disabled)
   1416 
   1417 Some influential environment variables:
   1418   CC          C compiler command
   1419   CFLAGS      C compiler flags
   1420   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1421               nonstandard directory <lib dir>
   1422   LIBS        libraries to pass to the linker, e.g. -l<library>
   1423   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1424               you have headers in a nonstandard directory <include dir>
   1425   PKG_CONFIG  path to pkg-config utility
   1426   PKG_CONFIG_PATH
   1427               directories to add to pkg-config's search path
   1428   PKG_CONFIG_LIBDIR
   1429               path overriding pkg-config's built-in search path
   1430   ICO_CFLAGS  C compiler flags for ICO, overriding pkg-config
   1431   ICO_LIBS    linker flags for ICO, overriding pkg-config
   1432 
   1433 Use these variables to override the choices made by 'configure' or to help
   1434 it to find libraries and programs with nonstandard names/locations.
   1435 
   1436 Report bugs to <https://gitlab.freedesktop.org/xorg/app/ico/issues>.
   1437 _ACEOF
   1438 ac_status=$?
   1439 fi
   1440 
   1441 if test "$ac_init_help" = "recursive"; then
   1442   # If there are subdirs, report their specific --help.
   1443   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1444     test -d "$ac_dir" ||
   1445       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1446       continue
   1447     ac_builddir=.
   1448 
   1449 case "$ac_dir" in
   1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1451 *)
   1452   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1453   # A ".." for each directory in $ac_dir_suffix.
   1454   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1455   case $ac_top_builddir_sub in
   1456   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1457   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1458   esac ;;
   1459 esac
   1460 ac_abs_top_builddir=$ac_pwd
   1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1462 # for backward compatibility:
   1463 ac_top_builddir=$ac_top_build_prefix
   1464 
   1465 case $srcdir in
   1466   .)  # We are building in place.
   1467     ac_srcdir=.
   1468     ac_top_srcdir=$ac_top_builddir_sub
   1469     ac_abs_top_srcdir=$ac_pwd ;;
   1470   [\\/]* | ?:[\\/]* )  # Absolute name.
   1471     ac_srcdir=$srcdir$ac_dir_suffix;
   1472     ac_top_srcdir=$srcdir
   1473     ac_abs_top_srcdir=$srcdir ;;
   1474   *) # Relative name.
   1475     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1476     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1477     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1478 esac
   1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1480 
   1481     cd "$ac_dir" || { ac_status=$?; continue; }
   1482     # Check for configure.gnu first; this name is used for a wrapper for
   1483     # Metaconfig's "Configure" on case-insensitive file systems.
   1484     if test -f "$ac_srcdir/configure.gnu"; then
   1485       echo &&
   1486       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1487     elif test -f "$ac_srcdir/configure"; then
   1488       echo &&
   1489       $SHELL "$ac_srcdir/configure" --help=recursive
   1490     else
   1491       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1492     fi || ac_status=$?
   1493     cd "$ac_pwd" || { ac_status=$?; break; }
   1494   done
   1495 fi
   1496 
   1497 test -n "$ac_init_help" && exit $ac_status
   1498 if $ac_init_version; then
   1499   cat <<\_ACEOF
   1500 ico configure 1.0.7
   1501 generated by GNU Autoconf 2.73
   1502 
   1503 Copyright (C) 2026 Free Software Foundation, Inc.
   1504 This configure script is free software; the Free Software Foundation
   1505 gives unlimited permission to copy, distribute and modify it.
   1506 _ACEOF
   1507   exit
   1508 fi
   1509 
   1510 ## ------------------------ ##
   1511 ## Autoconf initialization. ##
   1512 ## ------------------------ ##
   1513 
   1514 # ac_fn_c_try_compile LINENO
   1515 # --------------------------
   1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1517 ac_fn_c_try_compile ()
   1518 {
   1519   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1520   rm -f conftest.$ac_objext conftest.beam
   1521   if { { ac_try="$ac_compile"
   1522 case "(($ac_try" in
   1523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1524   *) ac_try_echo=$ac_try;;
   1525 esac
   1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1527 printf '%s\n' "$ac_try_echo"; } >&5
   1528   (eval "$ac_compile") 2>conftest.err
   1529   ac_status=$?
   1530   if test -s conftest.err; then
   1531     grep -v '^ *+' conftest.err >conftest.er1
   1532     cat conftest.er1 >&5
   1533     mv -f conftest.er1 conftest.err
   1534   fi
   1535   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1536   test $ac_status = 0; } && {
   1537 	 test -z "$ac_c_werror_flag" ||
   1538 	 test ! -s conftest.err
   1539        } && test -s conftest.$ac_objext
   1540 then :
   1541   ac_retval=0
   1542 else case e in #(
   1543   e) printf '%s\n' "$as_me: failed program was:" >&5
   1544 sed 's/^/| /' conftest.$ac_ext >&5
   1545 
   1546 	ac_retval=1 ;;
   1547 esac
   1548 fi
   1549   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1550   as_fn_set_status $ac_retval
   1551 
   1552 } # ac_fn_c_try_compile
   1553 
   1554 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1555 # ------------------------------------------------------------------
   1556 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1557 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1558 ac_fn_check_decl ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1562   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1563 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1564 if eval test \${$3+y}
   1565 then :
   1566   printf %s "(cached) " >&6
   1567 else case e in #(
   1568   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1569   eval ac_save_FLAGS=\$$6
   1570   as_fn_append $6 " $5"
   1571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1572 /* end confdefs.h.  */
   1573 $4
   1574 int
   1575 main (void)
   1576 {
   1577 #ifndef $as_decl_name
   1578 #ifdef __cplusplus
   1579   (void) $as_decl_use;
   1580 #else
   1581   (void) $as_decl_name;
   1582 #endif
   1583 #endif
   1584 
   1585   ;
   1586   return 0;
   1587 }
   1588 _ACEOF
   1589 if ac_fn_c_try_compile "$LINENO"
   1590 then :
   1591   eval "$3=yes"
   1592 else case e in #(
   1593   e) eval "$3=no" ;;
   1594 esac
   1595 fi
   1596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1597   eval $6=\$ac_save_FLAGS
   1598  ;;
   1599 esac
   1600 fi
   1601 eval ac_res=\$$3
   1602 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1603 printf '%s\n' "$ac_res" >&6; }
   1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1605 
   1606 } # ac_fn_check_decl
   1607 
   1608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1609 # -------------------------------------------------------
   1610 # Tests whether HEADER exists and can be compiled using the include files in
   1611 # INCLUDES, setting the cache variable VAR accordingly.
   1612 ac_fn_c_check_header_compile ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1616 printf %s "checking for $2... " >&6; }
   1617 if eval test \${$3+y}
   1618 then :
   1619   printf %s "(cached) " >&6
   1620 else case e in #(
   1621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1622 /* end confdefs.h.  */
   1623 $4
   1624 #include <$2>
   1625 _ACEOF
   1626 if ac_fn_c_try_compile "$LINENO"
   1627 then :
   1628   eval "$3=yes"
   1629 else case e in #(
   1630   e) eval "$3=no" ;;
   1631 esac
   1632 fi
   1633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1634 esac
   1635 fi
   1636 eval ac_res=\$$3
   1637 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1638 printf '%s\n' "$ac_res" >&6; }
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640 
   1641 } # ac_fn_c_check_header_compile
   1642 
   1643 # ac_fn_c_try_link LINENO
   1644 # -----------------------
   1645 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1646 ac_fn_c_try_link ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1650   if { { ac_try="$ac_link"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 printf '%s\n' "$ac_try_echo"; } >&5
   1657   (eval "$ac_link") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } && {
   1666 	 test -z "$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        } && test -s conftest$ac_exeext && {
   1669 	 test "$cross_compiling" = yes ||
   1670 	 test -x conftest$ac_exeext
   1671        }
   1672 then :
   1673   ac_retval=0
   1674 else case e in #(
   1675   e) printf '%s\n' "$as_me: failed program was:" >&5
   1676 sed 's/^/| /' conftest.$ac_ext >&5
   1677 
   1678 	ac_retval=1 ;;
   1679 esac
   1680 fi
   1681   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1682   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1683   # interfere with the next link command; also delete a directory that is
   1684   # left behind by Apple's compiler.  We do this before executing the actions.
   1685   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1687   as_fn_set_status $ac_retval
   1688 
   1689 } # ac_fn_c_try_link
   1690 ac_configure_args_raw=
   1691 for ac_arg
   1692 do
   1693   case $ac_arg in
   1694   *\'*)
   1695     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1696   esac
   1697   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1698 done
   1699 
   1700 case $ac_configure_args_raw in
   1701   *$as_nl*)
   1702     ac_safe_unquote= ;;
   1703   *)
   1704     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1705     ac_unsafe_a="$ac_unsafe_z#~"
   1706     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1707     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1708 esac
   1709 
   1710 cat >config.log <<_ACEOF
   1711 This file contains any messages produced by compilers while
   1712 running configure, to aid debugging if configure makes a mistake.
   1713 
   1714 It was created by ico $as_me 1.0.7, which was
   1715 generated by GNU Autoconf 2.73.  Invocation command line was
   1716 
   1717   $ $0$ac_configure_args_raw
   1718 
   1719 _ACEOF
   1720 exec 5>>config.log
   1721 {
   1722 cat <<_ASUNAME
   1723 ## --------- ##
   1724 ## Platform. ##
   1725 ## --------- ##
   1726 
   1727 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1728 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1729 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1730 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1731 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1732 
   1733 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1734 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1735 
   1736 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1737 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1738 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1739 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1740 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1741 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1742 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1743 
   1744 _ASUNAME
   1745 
   1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1747 for as_dir in $PATH
   1748 do
   1749   IFS=$as_save_IFS
   1750   case $as_dir in #(((
   1751     '') as_dir=./ ;;
   1752     */) ;;
   1753     *) as_dir=$as_dir/ ;;
   1754   esac
   1755     printf '%s\n' "PATH: $as_dir"
   1756   done
   1757 IFS=$as_save_IFS
   1758 
   1759 } >&5
   1760 
   1761 cat >&5 <<_ACEOF
   1762 
   1763 
   1764 ## ----------- ##
   1765 ## Core tests. ##
   1766 ## ----------- ##
   1767 
   1768 _ACEOF
   1769 
   1770 
   1771 # Keep a trace of the command line.
   1772 # Strip out --no-create and --no-recursion so they do not pile up.
   1773 # Strip out --silent because we don't want to record it for future runs.
   1774 # Also quote any args containing shell meta-characters.
   1775 # Make two passes to allow for proper duplicate-argument suppression.
   1776 ac_configure_args=
   1777 ac_configure_args0=
   1778 ac_configure_args1=
   1779 ac_must_keep_next=false
   1780 for ac_pass in 1 2
   1781 do
   1782   for ac_arg
   1783   do
   1784     case $ac_arg in
   1785     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1786     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1787     | -silent | --silent | --silen | --sile | --sil)
   1788       continue ;;
   1789     *\'*)
   1790       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1791     esac
   1792     case $ac_pass in
   1793     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1794     2)
   1795       as_fn_append ac_configure_args1 " '$ac_arg'"
   1796       if test $ac_must_keep_next = true; then
   1797 	ac_must_keep_next=false # Got value, back to normal.
   1798       else
   1799 	case $ac_arg in
   1800 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1801 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1802 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1803 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1804 	    case "$ac_configure_args0 " in
   1805 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1806 	    esac
   1807 	    ;;
   1808 	  -* ) ac_must_keep_next=true ;;
   1809 	esac
   1810       fi
   1811       as_fn_append ac_configure_args " '$ac_arg'"
   1812       ;;
   1813     esac
   1814   done
   1815 done
   1816 { ac_configure_args0=; unset ac_configure_args0;}
   1817 { ac_configure_args1=; unset ac_configure_args1;}
   1818 
   1819 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1820 ac_cache_dump ()
   1821 {
   1822   # The following way of writing the cache mishandles newlines in values,
   1823 # but we know of no workaround that is simple, portable, and efficient.
   1824 # So, we kill variables containing newlines.
   1825 # Ultrix sh set writes to stderr and can't be redirected directly,
   1826 # and sets the high bit in the cache file unless we assign to the vars.
   1827 (
   1828   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1829     eval ac_val=\$$ac_var
   1830     case $ac_val in #(
   1831     *${as_nl}*)
   1832       case $ac_var in #(
   1833       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1834 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1835       esac
   1836       case $ac_var in #(
   1837       _ | IFS | as_nl) ;; #(
   1838       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1839       *) { eval $ac_var=; unset $ac_var;} ;;
   1840       esac ;;
   1841     esac
   1842   done
   1843 
   1844   (set) 2>&1 |
   1845     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1846     *${as_nl}ac_space=\ *)
   1847       # 'set' does not quote correctly, so add quotes: double-quote
   1848       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1849       sed -n \
   1850 	"s/'/'\\\\''/g;
   1851 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1852       ;; #(
   1853     *)
   1854       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1855       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1856       ;;
   1857     esac |
   1858     sort
   1859 )
   1860 }
   1861 
   1862 # Print debugging info to stdout.
   1863 ac_dump_debugging_info ()
   1864 {
   1865   echo
   1866 
   1867   printf '%s\n' "## ---------------- ##
   1868 ## Cache variables. ##
   1869 ## ---------------- ##"
   1870   echo
   1871   ac_cache_dump
   1872   echo
   1873 
   1874   printf '%s\n' "## ----------------- ##
   1875 ## Output variables. ##
   1876 ## ----------------- ##"
   1877   echo
   1878   for ac_var in $ac_subst_vars
   1879   do
   1880     eval ac_val=\$$ac_var
   1881     case $ac_val in
   1882     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1883     esac
   1884     printf '%s\n' "$ac_var='$ac_val'"
   1885   done | sort
   1886   echo
   1887 
   1888   if test -n "$ac_subst_files"; then
   1889     printf '%s\n' "## ------------------- ##
   1890 ## File substitutions. ##
   1891 ## ------------------- ##"
   1892     echo
   1893     for ac_var in $ac_subst_files
   1894     do
   1895       eval ac_val=\$$ac_var
   1896       case $ac_val in
   1897       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1898       esac
   1899       printf '%s\n' "$ac_var='$ac_val'"
   1900     done | sort
   1901     echo
   1902   fi
   1903 
   1904   if test -s confdefs.h; then
   1905     printf '%s\n' "## ----------- ##
   1906 ## confdefs.h. ##
   1907 ## ----------- ##"
   1908     echo
   1909     cat confdefs.h
   1910     echo
   1911   fi
   1912   test "$ac_signal" != 0 &&
   1913     printf '%s\n' "$as_me: caught signal $ac_signal"
   1914   printf '%s\n' "$as_me: exit $exit_status"
   1915 }
   1916 
   1917 # When interrupted or exit'd, cleanup temporary files, and complete
   1918 # config.log.
   1919 ac_exit_trap ()
   1920 {
   1921   exit_status=
   1922   # Sanitize IFS.
   1923   IFS=" ""	$as_nl"
   1924   # Save into config.log some information that might help in debugging.
   1925   ac_dump_debugging_info >&5
   1926   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1927     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1928     exit $exit_status
   1929 }
   1930 
   1931 trap 'ac_exit_trap $?' 0
   1932 for ac_signal in 1 2 13 15; do
   1933   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1934 done
   1935 ac_signal=0
   1936 
   1937 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1938 rm -f -r conftest* confdefs.h
   1939 
   1940 printf '%s\n' "/* confdefs.h */" > confdefs.h
   1941 
   1942 # Predefined preprocessor variables.
   1943 
   1944 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1945 
   1946 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1947 
   1948 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1949 
   1950 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1951 
   1952 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1953 
   1954 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1955 
   1956 
   1957 # Let the site file select an alternate cache file if it wants to.
   1958 # Prefer an explicitly selected file to automatically selected ones.
   1959 if test -n "$CONFIG_SITE"; then
   1960   ac_site_files="$CONFIG_SITE"
   1961 elif test "x$prefix" != xNONE; then
   1962   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1963 else
   1964   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1965 fi
   1966 
   1967 for ac_site_file in $ac_site_files
   1968 do
   1969   case $ac_site_file in #(
   1970   */*) :
   1971      ;; #(
   1972   *) :
   1973     ac_site_file=./$ac_site_file ;;
   1974 esac
   1975   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1976     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1977 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   1978     sed 's/^/| /' "$ac_site_file" >&5
   1979     . "$ac_site_file" \
   1980       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1981 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   1982 as_fn_error $? "failed to load site script $ac_site_file
   1983 See 'config.log' for more details" "$LINENO" 5; }
   1984   fi
   1985 done
   1986 
   1987 if test -r "$cache_file"; then
   1988   # Some versions of bash will fail to source /dev/null (special files
   1989   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1990   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1991     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1992 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   1993     case $cache_file in
   1994       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1995       *)                      . "./$cache_file";;
   1996     esac
   1997   fi
   1998 else
   1999   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2000 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2001   >$cache_file
   2002 fi
   2003 
   2004 # Test code for whether the C compiler supports C23 (global declarations)
   2005 ac_c_conftest_c23_globals='
   2006 /* Does the compiler advertise conformance to C17 or earlier?
   2007    Although GCC 14 does not do that, even with -std=gnu23,
   2008    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2009 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2010 # error "Compiler advertises conformance to C17 or earlier"
   2011 #endif
   2012 
   2013 // Check alignas.
   2014 char alignas (double) c23_aligned_as_double;
   2015 char alignas (0) c23_no_special_alignment;
   2016 extern char c23_aligned_as_int;
   2017 char alignas (0) alignas (int) c23_aligned_as_int;
   2018 
   2019 // Check alignof.
   2020 enum
   2021 {
   2022   c23_int_alignment = alignof (int),
   2023   c23_int_array_alignment = alignof (int[100]),
   2024   c23_char_alignment = alignof (char)
   2025 };
   2026 static_assert (0 < -alignof (int), "alignof is signed");
   2027 
   2028 int function_with_unnamed_parameter (int) { return 0; }
   2029 
   2030 void c23_noreturn ();
   2031 
   2032 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2033    The parens pacify GCC 15.  */
   2034 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2035 
   2036 bool check_that_bool_works = true | false | !nullptr;
   2037 #if !true
   2038 # error "true does not work in #if"
   2039 #endif
   2040 #if false
   2041 #elifdef __STDC_VERSION__
   2042 #else
   2043 # error "#elifdef does not work"
   2044 #endif
   2045 
   2046 #ifndef __has_c_attribute
   2047 # error "__has_c_attribute not defined"
   2048 #endif
   2049 
   2050 #ifndef __has_include
   2051 # error "__has_include not defined"
   2052 #endif
   2053 
   2054 #define LPAREN() (
   2055 #define FORTY_TWO(x) 42
   2056 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2057 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2058 
   2059 static_assert (0b101010 == 42);
   2060 static_assert (0B101010 == 42);
   2061 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2062 static_assert (0.500'\''000'\''000 == 0.5);
   2063 
   2064 enum unsignedish : unsigned int { uione = 1 };
   2065 static_assert (0 < -uione);
   2066 
   2067 #include <stddef.h>
   2068 constexpr nullptr_t null_pointer = nullptr;
   2069 
   2070 static typeof (1 + 1L) two () { return 2; }
   2071 static long int three () { return 3; }
   2072 '
   2073 
   2074 # Test code for whether the C compiler supports C23 (body of main).
   2075 ac_c_conftest_c23_main='
   2076   {
   2077     label_before_declaration:
   2078       int arr[10] = {};
   2079       if (arr[0])
   2080         goto label_before_declaration;
   2081       if (!arr[0])
   2082         goto label_at_end_of_block;
   2083     label_at_end_of_block:
   2084   }
   2085   ok |= !null_pointer;
   2086   ok |= two != three;
   2087 '
   2088 
   2089 # Test code for whether the C compiler supports C23 (complete).
   2090 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2091 
   2092 int
   2093 main (int, char **)
   2094 {
   2095   int ok = 0;
   2096   ${ac_c_conftest_c23_main}
   2097   return ok;
   2098 }
   2099 "
   2100 
   2101 # Test code for whether the C compiler supports C89 (global declarations)
   2102 ac_c_conftest_c89_globals='
   2103 /* Do not test the value of __STDC__, because some compilers define it to 0
   2104    or do not define it, while otherwise adequately conforming.  */
   2105 
   2106 #include <stddef.h>
   2107 #include <stdarg.h>
   2108 struct stat;
   2109 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2110 struct buf { int x; };
   2111 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2112 static char *e (char **p, int i)
   2113 {
   2114   return p[i];
   2115 }
   2116 static char *f (char * (*g) (char **, int), char **p, ...)
   2117 {
   2118   char *s;
   2119   va_list v;
   2120   va_start (v,p);
   2121   s = g (p, va_arg (v,int));
   2122   va_end (v);
   2123   return s;
   2124 }
   2125 
   2126 /* C89 style stringification. */
   2127 #define noexpand_stringify(a) #a
   2128 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2129 
   2130 /* C89 style token pasting.  Exercises some of the corner cases that
   2131    e.g. old MSVC gets wrong, but not very hard. */
   2132 #define noexpand_concat(a,b) a##b
   2133 #define expand_concat(a,b) noexpand_concat(a,b)
   2134 extern int vA;
   2135 extern int vbee;
   2136 #define aye A
   2137 #define bee B
   2138 int *pvA = &expand_concat(v,aye);
   2139 int *pvbee = &noexpand_concat(v,bee);
   2140 
   2141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2142    function prototypes and stuff, but not \xHH hex character constants.
   2143    These do not provoke an error unfortunately, instead are silently treated
   2144    as an "x".  The following induces an error, until -std is added to get
   2145    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2146    array size at least.  It is necessary to write \x00 == 0 to get something
   2147    that is true only with -std.  */
   2148 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2149 
   2150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2151    inside strings and character constants.  */
   2152 #define FOO(x) '\''x'\''
   2153 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2154 
   2155 int test (int i, double x);
   2156 struct s1 {int (*f) (int a);};
   2157 struct s2 {int (*f) (double a);};
   2158 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2159                int, int);'
   2160 
   2161 # Test code for whether the C compiler supports C89 (body of main).
   2162 ac_c_conftest_c89_main='
   2163 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2164 '
   2165 
   2166 # Test code for whether the C compiler supports C99 (global declarations)
   2167 ac_c_conftest_c99_globals='
   2168 /* Does the compiler advertise C99 conformance? */
   2169 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2170 # error "Compiler does not advertise C99 conformance"
   2171 #endif
   2172 
   2173 // See if C++-style comments work.
   2174 
   2175 #include <stdbool.h>
   2176 extern int puts (const char *);
   2177 extern int printf (const char *, ...);
   2178 extern int dprintf (int, const char *, ...);
   2179 extern void *malloc (size_t);
   2180 extern void free (void *);
   2181 
   2182 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2183 // dprintf is used instead of fprintf to avoid needing to declare
   2184 // FILE and stderr, and "aND" is used instead of "and" to work around
   2185 // GCC bug 40564 which is irrelevant here.
   2186 #define debug(...) dprintf (2, __VA_ARGS__)
   2187 #define showlist(...) puts (#__VA_ARGS__)
   2188 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2189 static void
   2190 test_varargs_macros (void)
   2191 {
   2192   int x = 1234;
   2193   int y = 5678;
   2194   debug ("Flag");
   2195   debug ("X = %d\n", x);
   2196   showlist (The first, second, aND third items.);
   2197   report (x>y, "x is %d but y is %d", x, y);
   2198 }
   2199 
   2200 // Check long long types.
   2201 #define BIG64 18446744073709551615ull
   2202 #define BIG32 4294967295ul
   2203 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2204 #if !BIG_OK
   2205   #error "your preprocessor is broken"
   2206 #endif
   2207 #if BIG_OK
   2208 #else
   2209   #error "your preprocessor is broken"
   2210 #endif
   2211 static long long int bignum = -9223372036854775807LL;
   2212 static unsigned long long int ubignum = BIG64;
   2213 
   2214 struct incomplete_array
   2215 {
   2216   int datasize;
   2217   double data[];
   2218 };
   2219 
   2220 struct named_init {
   2221   int number;
   2222   const wchar_t *name;
   2223   double average;
   2224 };
   2225 
   2226 typedef const char *ccp;
   2227 
   2228 static inline int
   2229 test_restrict (ccp restrict text)
   2230 {
   2231   // Iterate through items via the restricted pointer.
   2232   // Also check for declarations in for loops.
   2233   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2234     continue;
   2235   return 0;
   2236 }
   2237 
   2238 // Check varargs and va_copy.
   2239 static bool
   2240 test_varargs (const char *format, ...)
   2241 {
   2242   va_list args;
   2243   va_start (args, format);
   2244   va_list args_copy;
   2245   va_copy (args_copy, args);
   2246 
   2247   const char *str = "";
   2248   int number = 0;
   2249   float fnumber = 0;
   2250 
   2251   while (*format)
   2252     {
   2253       switch (*format++)
   2254 	{
   2255 	case '\''s'\'': // string
   2256 	  str = va_arg (args_copy, const char *);
   2257 	  break;
   2258 	case '\''d'\'': // int
   2259 	  number = va_arg (args_copy, int);
   2260 	  break;
   2261 	case '\''f'\'': // float
   2262 	  fnumber = va_arg (args_copy, double);
   2263 	  break;
   2264 	default:
   2265 	  break;
   2266 	}
   2267     }
   2268   va_end (args_copy);
   2269   va_end (args);
   2270 
   2271   return *str && number && fnumber;
   2272 }
   2273 '
   2274 
   2275 # Test code for whether the C compiler supports C99 (body of main).
   2276 ac_c_conftest_c99_main='
   2277   // Check bool.
   2278   _Bool success = false;
   2279   success |= (argc != 0);
   2280 
   2281   // Check restrict.
   2282   if (test_restrict ("String literal") == 0)
   2283     success = true;
   2284   const char *restrict newvar = "Another string";
   2285 
   2286   // Check varargs.
   2287   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2288   test_varargs_macros ();
   2289 
   2290   // Check flexible array members.
   2291   static struct incomplete_array *volatile incomplete_array_pointer;
   2292   struct incomplete_array *ia = incomplete_array_pointer;
   2293   ia->datasize = 10;
   2294   for (int i = 0; i < ia->datasize; ++i)
   2295     ia->data[i] = i * 1.234;
   2296   // Work around memory leak warnings.
   2297   free (ia);
   2298 
   2299   // Check named initializers.
   2300   struct named_init ni = {
   2301     .number = 34,
   2302     .name = L"Test wide string",
   2303     .average = 543.34343,
   2304   };
   2305 
   2306   ni.number = 58;
   2307 
   2308   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2309   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2310 
   2311   // work around unused variable warnings
   2312   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2313 	 || ni.number != 58);
   2314 '
   2315 
   2316 # Test code for whether the C compiler supports C11 (global declarations)
   2317 ac_c_conftest_c11_globals='
   2318 /* Does the compiler advertise C11 conformance? */
   2319 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2320 # error "Compiler does not advertise C11 conformance"
   2321 #endif
   2322 
   2323 // Check _Alignas.
   2324 char _Alignas (double) aligned_as_double;
   2325 char _Alignas (0) no_special_alignment;
   2326 extern char aligned_as_int;
   2327 char _Alignas (0) _Alignas (int) aligned_as_int;
   2328 
   2329 // Check _Alignof.
   2330 enum
   2331 {
   2332   int_alignment = _Alignof (int),
   2333   int_array_alignment = _Alignof (int[100]),
   2334   char_alignment = _Alignof (char)
   2335 };
   2336 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2337 
   2338 // Check _Noreturn.
   2339 int _Noreturn does_not_return (void) { for (;;) continue; }
   2340 
   2341 // Check _Static_assert.
   2342 struct test_static_assert
   2343 {
   2344   int x;
   2345   _Static_assert (sizeof (int) <= sizeof (long int),
   2346                   "_Static_assert does not work in struct");
   2347   long int y;
   2348 };
   2349 
   2350 // Check UTF-8 literals.
   2351 #define u8 syntax error!
   2352 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2353 
   2354 // Check duplicate typedefs.
   2355 typedef long *long_ptr;
   2356 typedef long int *long_ptr;
   2357 typedef long_ptr long_ptr;
   2358 
   2359 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2360 struct anonymous
   2361 {
   2362   union {
   2363     struct { int i; int j; };
   2364     struct { int k; long int l; } w;
   2365   };
   2366   int m;
   2367 } v1;
   2368 '
   2369 
   2370 # Test code for whether the C compiler supports C11 (body of main).
   2371 ac_c_conftest_c11_main='
   2372   _Static_assert ((offsetof (struct anonymous, i)
   2373 		   == offsetof (struct anonymous, w.k)),
   2374 		  "Anonymous union alignment botch");
   2375   v1.i = 2;
   2376   v1.w.k = 5;
   2377   ok |= v1.i != 5;
   2378 '
   2379 
   2380 # Test code for whether the C compiler supports C11 (complete).
   2381 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2382 ${ac_c_conftest_c99_globals}
   2383 ${ac_c_conftest_c11_globals}
   2384 
   2385 int
   2386 main (int argc, char **argv)
   2387 {
   2388   int ok = 0;
   2389   ${ac_c_conftest_c89_main}
   2390   ${ac_c_conftest_c99_main}
   2391   ${ac_c_conftest_c11_main}
   2392   return ok;
   2393 }
   2394 "
   2395 
   2396 # Test code for whether the C compiler supports C99 (complete).
   2397 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2398 ${ac_c_conftest_c99_globals}
   2399 
   2400 int
   2401 main (int argc, char **argv)
   2402 {
   2403   int ok = 0;
   2404   ${ac_c_conftest_c89_main}
   2405   ${ac_c_conftest_c99_main}
   2406   return ok;
   2407 }
   2408 "
   2409 
   2410 # Test code for whether the C compiler supports C89 (complete).
   2411 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2412 
   2413 int
   2414 main (int argc, char **argv)
   2415 {
   2416   int ok = 0;
   2417   ${ac_c_conftest_c89_main}
   2418   return ok;
   2419 }
   2420 "
   2421 
   2422 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2423 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2424 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2425 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2426 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2427 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2428 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2429 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2430 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2431 
   2432 # Auxiliary files required by this configure script.
   2433 ac_aux_files="config.guess config.sub compile missing install-sh"
   2434 
   2435 # Locations in which to look for auxiliary files.
   2436 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2437 
   2438 # Search for a directory containing all of the required auxiliary files,
   2439 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2440 # If we don't find one directory that contains all the files we need,
   2441 # we report the set of missing files from the *first* directory in
   2442 # $ac_aux_dir_candidates and give up.
   2443 ac_missing_aux_files=""
   2444 ac_first_candidate=:
   2445 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2447 as_found=false
   2448 for as_dir in $ac_aux_dir_candidates
   2449 do
   2450   IFS=$as_save_IFS
   2451   case $as_dir in #(((
   2452     '') as_dir=./ ;;
   2453     */) ;;
   2454     *) as_dir=$as_dir/ ;;
   2455   esac
   2456   as_found=:
   2457 
   2458   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2459   ac_aux_dir_found=yes
   2460   ac_install_sh=
   2461   for ac_aux in $ac_aux_files
   2462   do
   2463     # As a special case, if "install-sh" is required, that requirement
   2464     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2465     # and $ac_install_sh is set appropriately for whichever one is found.
   2466     if test x"$ac_aux" = x"install-sh"
   2467     then
   2468       if test -f "${as_dir}install-sh"; then
   2469         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2470         ac_install_sh="${as_dir}install-sh -c"
   2471       elif test -f "${as_dir}install.sh"; then
   2472         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2473         ac_install_sh="${as_dir}install.sh -c"
   2474       elif test -f "${as_dir}shtool"; then
   2475         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2476         ac_install_sh="${as_dir}shtool install -c"
   2477       else
   2478         ac_aux_dir_found=no
   2479         if $ac_first_candidate; then
   2480           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2481         else
   2482           break
   2483         fi
   2484       fi
   2485     else
   2486       if test -f "${as_dir}${ac_aux}"; then
   2487         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2488       else
   2489         ac_aux_dir_found=no
   2490         if $ac_first_candidate; then
   2491           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2492         else
   2493           break
   2494         fi
   2495       fi
   2496     fi
   2497   done
   2498   if test "$ac_aux_dir_found" = yes; then
   2499     ac_aux_dir="$as_dir"
   2500     break
   2501   fi
   2502   ac_first_candidate=false
   2503 
   2504   as_found=false
   2505 done
   2506 IFS=$as_save_IFS
   2507 if $as_found
   2508 then :
   2509 
   2510 else case e in #(
   2511   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2512 esac
   2513 fi
   2514 
   2515 
   2516 # These three variables are undocumented and unsupported,
   2517 # and are intended to be withdrawn in a future Autoconf release.
   2518 # They can cause serious problems if a builder's source tree is in a directory
   2519 # whose full name contains unusual characters.
   2520 if test -f "${ac_aux_dir}config.guess"; then
   2521   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2522 fi
   2523 if test -f "${ac_aux_dir}config.sub"; then
   2524   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2525 fi
   2526 if test -f "$ac_aux_dir/configure"; then
   2527   ac_configure="$SHELL ${ac_aux_dir}configure"
   2528 fi
   2529 
   2530 # Check that the precious variables saved in the cache have kept the same
   2531 # value.
   2532 ac_cache_corrupted=false
   2533 for ac_var in $ac_precious_vars; do
   2534   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2535   eval ac_new_set=\$ac_env_${ac_var}_set
   2536   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2537   eval ac_new_val=\$ac_env_${ac_var}_value
   2538   case $ac_old_set,$ac_new_set in
   2539     set,)
   2540       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2541 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2542       ac_cache_corrupted=: ;;
   2543     ,set)
   2544       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2545 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2546       ac_cache_corrupted=: ;;
   2547     ,);;
   2548     *)
   2549       if test "x$ac_old_val" != "x$ac_new_val"; then
   2550 	# differences in whitespace do not lead to failure.
   2551 	ac_old_val_w=
   2552 	for ac_val in x $ac_old_val; do
   2553 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2554 	done
   2555 	ac_new_val_w=
   2556 	for ac_val in x $ac_new_val; do
   2557 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2558 	done
   2559 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2560 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2561 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2562 	  ac_cache_corrupted=:
   2563 	else
   2564 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2565 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2566 	  eval $ac_var=\$ac_old_val
   2567 	fi
   2568 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2569 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2570 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2571 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2572       fi;;
   2573   esac
   2574   # Pass precious variables to config.status.
   2575   if test "$ac_new_set" = set; then
   2576     case $ac_new_val in
   2577     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2578     *) ac_arg=$ac_var=$ac_new_val ;;
   2579     esac
   2580     case " $ac_configure_args " in
   2581       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2582       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2583     esac
   2584   fi
   2585 done
   2586 if $ac_cache_corrupted; then
   2587   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2588 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2589   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2590 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2591   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2592 	    and start over" "$LINENO" 5
   2593 fi
   2594 ## -------------------- ##
   2595 ## Main body of script. ##
   2596 ## -------------------- ##
   2597 
   2598 
   2599 # Determine whether it's possible to make 'echo' print without a newline.
   2600 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2601 # for compatibility with existing Makefiles.
   2602 ECHO_C= ECHO_N= ECHO_T=
   2603 case `echo -n x` in #(((((
   2604 -n*)
   2605   case `echo 'xy\c'` in
   2606   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2607   xy)  ECHO_C='\c';;
   2608   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2609        ECHO_T='	';;
   2610   esac;;
   2611 *)
   2612   ECHO_N='-n';;
   2613 esac
   2614 
   2615 ac_ext=c
   2616 ac_cpp='$CPP $CPPFLAGS'
   2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2620 
   2621 
   2622 
   2623 ac_config_headers="$ac_config_headers config.h"
   2624 
   2625 
   2626 # Initialize Automake
   2627 am__api_version='1.18'
   2628 
   2629 
   2630 
   2631   # Find a good install program.  We prefer a C program (faster),
   2632 # so one script is as good as another.  But avoid the broken or
   2633 # incompatible versions:
   2634 # SysV /etc/install, /usr/sbin/install
   2635 # SunOS /usr/etc/install
   2636 # IRIX /sbin/install
   2637 # AIX /bin/install
   2638 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2639 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2640 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2641 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2642 # OS/2's system install, which has a completely different semantic
   2643 # ./install, which can be erroneously created by make from ./install.sh.
   2644 # Reject install programs that cannot install multiple files.
   2645 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2646 printf %s "checking for a BSD-compatible install... " >&6; }
   2647 if test -z "$INSTALL"; then
   2648 if test ${ac_cv_path_install+y}
   2649 then :
   2650   printf %s "(cached) " >&6
   2651 else case e in #(
   2652   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2653 for as_dir in $PATH
   2654 do
   2655   IFS=$as_save_IFS
   2656   case $as_dir in #(((
   2657     '') as_dir=./ ;;
   2658     */) ;;
   2659     *) as_dir=$as_dir/ ;;
   2660   esac
   2661     # Account for fact that we put trailing slashes in our PATH walk.
   2662 case $as_dir in #((
   2663   ./ | /[cC]/* | \
   2664   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2665   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2666   /usr/ucb/* ) ;;
   2667   *)
   2668     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2669     # Don't use installbsd from OSF/1 since it installs stuff as root
   2670     # by default.
   2671     for ac_prog in ginstall scoinst install; do
   2672       for ac_exec_ext in '' $ac_executable_extensions; do
   2673 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2674 	  if test $ac_prog = install &&
   2675 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2676 	    # AIX install.  It has an incompatible calling convention.
   2677 	    :
   2678 	  elif test $ac_prog = install &&
   2679 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2680 	    # program-specific install script used by HP pwplus--don't use.
   2681 	    :
   2682 	  else
   2683 	    rm -rf conftest.one conftest.two conftest.dir
   2684 	    echo one > conftest.one
   2685 	    echo two > conftest.two
   2686 	    mkdir conftest.dir
   2687 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2688 	      test -s conftest.one && test -s conftest.two &&
   2689 	      test -s conftest.dir/conftest.one &&
   2690 	      test -s conftest.dir/conftest.two
   2691 	    then
   2692 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2693 	      break 3
   2694 	    fi
   2695 	  fi
   2696 	fi
   2697       done
   2698     done
   2699     ;;
   2700 esac
   2701 
   2702   done
   2703 IFS=$as_save_IFS
   2704 
   2705 rm -rf conftest.one conftest.two conftest.dir
   2706  ;;
   2707 esac
   2708 fi
   2709   if test ${ac_cv_path_install+y}; then
   2710     INSTALL=$ac_cv_path_install
   2711   else
   2712     # As a last resort, use the slow shell script.  Don't cache a
   2713     # value for INSTALL within a source directory, because that will
   2714     # break other packages using the cache if that directory is
   2715     # removed, or if the value is a relative name.
   2716     INSTALL=$ac_install_sh
   2717   fi
   2718 fi
   2719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2720 printf '%s\n' "$INSTALL" >&6; }
   2721 
   2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2723 # It thinks the first close brace ends the variable substitution.
   2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2725 
   2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2727 
   2728 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2729 
   2730 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2731 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2732 if test ${am_cv_sleep_fractional_seconds+y}
   2733 then :
   2734   printf %s "(cached) " >&6
   2735 else case e in #(
   2736   e) if sleep 0.001 2>/dev/null
   2737 then :
   2738   am_cv_sleep_fractional_seconds=yes
   2739 else case e in #(
   2740   e) am_cv_sleep_fractional_seconds=no ;;
   2741 esac
   2742 fi
   2743  ;;
   2744 esac
   2745 fi
   2746 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2747 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2748 
   2749 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2750 printf %s "checking filesystem timestamp resolution... " >&6; }
   2751 if test ${am_cv_filesystem_timestamp_resolution+y}
   2752 then :
   2753   printf %s "(cached) " >&6
   2754 else case e in #(
   2755   e) # Default to the worst case.
   2756 am_cv_filesystem_timestamp_resolution=2
   2757 
   2758 # Only try to go finer than 1 sec if sleep can do it.
   2759 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2760 # - 1 sec is not much of a win compared to 2 sec, and
   2761 # - it takes 2 seconds to perform the test whether 1 sec works.
   2762 #
   2763 # Instead, just use the default 2s on platforms that have 1s resolution,
   2764 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2765 # exchange for not incurring the 2s delay for running the test for all
   2766 # packages.
   2767 #
   2768 am_try_resolutions=
   2769 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2770   # Even a millisecond often causes a bunch of false positives,
   2771   # so just try a hundredth of a second. The time saved between .001 and
   2772   # .01 is not terribly consequential.
   2773   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2774 fi
   2775 
   2776 # In order to catch current-generation FAT out, we must *modify* files
   2777 # that already exist; the *creation* timestamp is finer.  Use names
   2778 # that make ls -t sort them differently when they have equal
   2779 # timestamps than when they have distinct timestamps, keeping
   2780 # in mind that ls -t prints the *newest* file first.
   2781 rm -f conftest.ts?
   2782 : > conftest.ts1
   2783 : > conftest.ts2
   2784 : > conftest.ts3
   2785 
   2786 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2787 # clobber the current shell's arguments. (Outer-level square brackets
   2788 # are removed by m4; they're present so that m4 does not expand
   2789 # <dollar><star>; be careful, easy to get confused.)
   2790 if (
   2791      set X `ls -t conftest.ts[12]` &&
   2792      {
   2793        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2794        test "$*" != "X conftest.ts2 conftest.ts1";
   2795      }
   2796 ); then :; else
   2797   # If neither matched, then we have a broken ls.  This can happen
   2798   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2799   # broken ls alias from the environment.  This has actually
   2800   # happened.  Such a system could not be considered "sane".
   2801   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2802   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2803 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2804 as_fn_error $? "ls -t produces unexpected output.
   2805 Make sure there is not a broken ls alias in your environment.
   2806 See 'config.log' for more details" "$LINENO" 5; }
   2807 fi
   2808 
   2809 for am_try_res in $am_try_resolutions; do
   2810   # Any one fine-grained sleep might happen to cross the boundary
   2811   # between two values of a coarser actual resolution, but if we do
   2812   # two fine-grained sleeps in a row, at least one of them will fall
   2813   # entirely within a coarse interval.
   2814   echo alpha > conftest.ts1
   2815   sleep $am_try_res
   2816   echo beta > conftest.ts2
   2817   sleep $am_try_res
   2818   echo gamma > conftest.ts3
   2819 
   2820   # We assume that 'ls -t' will make use of high-resolution
   2821   # timestamps if the operating system supports them at all.
   2822   if (set X `ls -t conftest.ts?` &&
   2823       test "$2" = conftest.ts3 &&
   2824       test "$3" = conftest.ts2 &&
   2825       test "$4" = conftest.ts1); then
   2826     #
   2827     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2828     # because we don't need to test make.
   2829     make_ok=true
   2830     if test $am_try_res != 1; then
   2831       # But if we've succeeded so far with a subsecond resolution, we
   2832       # have one more thing to check: make. It can happen that
   2833       # everything else supports the subsecond mtimes, but make doesn't;
   2834       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2835       # released under GPLv2). https://bugs.gnu.org/68808
   2836       #
   2837       # We test $MAKE if it is defined in the environment, else "make".
   2838       # It might get overridden later, but our hope is that in practice
   2839       # it does not matter: it is the system "make" which is (by far)
   2840       # the most likely to be broken, whereas if the user overrides it,
   2841       # probably they did so with a better, or at least not worse, make.
   2842       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2843       #
   2844       # Create a Makefile (real tab character here):
   2845       rm -f conftest.mk
   2846       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2847       echo '	touch conftest.ts2' >>conftest.mk
   2848       #
   2849       # Now, running
   2850       #   touch conftest.ts1; touch conftest.ts2; make
   2851       # should touch ts1 because ts2 is newer. This could happen by luck,
   2852       # but most often, it will fail if make's support is insufficient. So
   2853       # test for several consecutive successes.
   2854       #
   2855       # (We reuse conftest.ts[12] because we still want to modify existing
   2856       # files, not create new ones, per above.)
   2857       n=0
   2858       make=${MAKE-make}
   2859       until test $n -eq 3; do
   2860         echo one > conftest.ts1
   2861         sleep $am_try_res
   2862         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2863         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2864           make_ok=false
   2865           break # out of $n loop
   2866         fi
   2867         n=`expr $n + 1`
   2868       done
   2869     fi
   2870     #
   2871     if $make_ok; then
   2872       # Everything we know to check worked out, so call this resolution good.
   2873       am_cv_filesystem_timestamp_resolution=$am_try_res
   2874       break # out of $am_try_res loop
   2875     fi
   2876     # Otherwise, we'll go on to check the next resolution.
   2877   fi
   2878 done
   2879 rm -f conftest.ts?
   2880 # (end _am_filesystem_timestamp_resolution)
   2881  ;;
   2882 esac
   2883 fi
   2884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2885 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   2886 
   2887 # This check should not be cached, as it may vary across builds of
   2888 # different projects.
   2889 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2890 printf %s "checking whether build environment is sane... " >&6; }
   2891 # Reject unsafe characters in $srcdir or the absolute working directory
   2892 # name.  Accept space and tab only in the latter.
   2893 am_lf='
   2894 '
   2895 case `pwd` in
   2896   *[\\\"\#\$\&\'\`$am_lf]*)
   2897     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2898 printf '%s\n' "no" >&6; }
   2899     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2900 esac
   2901 case $srcdir in
   2902   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2903     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2904 printf '%s\n' "no" >&6; }
   2905     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2906 esac
   2907 
   2908 # Do 'set' in a subshell so we don't clobber the current shell's
   2909 # arguments.  Must try -L first in case configure is actually a
   2910 # symlink; some systems play weird games with the mod time of symlinks
   2911 # (eg FreeBSD returns the mod time of the symlink's containing
   2912 # directory).
   2913 am_build_env_is_sane=no
   2914 am_has_slept=no
   2915 rm -f conftest.file
   2916 for am_try in 1 2; do
   2917   echo "timestamp, slept: $am_has_slept" > conftest.file
   2918   if (
   2919     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2920     if test "$*" = "X"; then
   2921       # -L didn't work.
   2922       set X `ls -t "$srcdir/configure" conftest.file`
   2923     fi
   2924     test "$2" = conftest.file
   2925   ); then
   2926     am_build_env_is_sane=yes
   2927     break
   2928   fi
   2929   # Just in case.
   2930   sleep "$am_cv_filesystem_timestamp_resolution"
   2931   am_has_slept=yes
   2932 done
   2933 
   2934 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2935 printf '%s\n' "$am_build_env_is_sane" >&6; }
   2936 if test "$am_build_env_is_sane" = no; then
   2937   as_fn_error $? "newly created file is older than distributed files!
   2938 Check your system clock" "$LINENO" 5
   2939 fi
   2940 
   2941 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2942 # generated files are strictly newer.
   2943 am_sleep_pid=
   2944 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2945 then :
   2946 
   2947 else case e in #(
   2948   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2949   am_sleep_pid=$!
   2950  ;;
   2951 esac
   2952 fi
   2953 
   2954 rm -f conftest.file
   2955 
   2956 test "$program_prefix" != NONE &&
   2957   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2958 # Use a double $ so make ignores it.
   2959 test "$program_suffix" != NONE &&
   2960   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2961 # Double any \ or $.
   2962 # By default was 's,x,x', remove it if useless.
   2963 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2964 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   2965 
   2966 
   2967 # Expand $ac_aux_dir to an absolute path.
   2968 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2969 
   2970 
   2971   if test x"${MISSING+set}" != xset; then
   2972   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2973 fi
   2974 # Use eval to expand $SHELL
   2975 if eval "$MISSING --is-lightweight"; then
   2976   am_missing_run="$MISSING "
   2977 else
   2978   am_missing_run=
   2979   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2980 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2981 fi
   2982 
   2983 if test x"${install_sh+set}" != xset; then
   2984   case $am_aux_dir in
   2985   *\ * | *\	*)
   2986     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2987   *)
   2988     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2989   esac
   2990 fi
   2991 
   2992 # Installed binaries are usually stripped using 'strip' when the user
   2993 # run "make install-strip".  However 'strip' might not be the right
   2994 # tool to use in cross-compilation environments, therefore Automake
   2995 # will honor the 'STRIP' environment variable to overrule this program.
   2996 if test "$cross_compiling" != no; then
   2997   if test -n "$ac_tool_prefix"; then
   2998   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2999 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3001 printf %s "checking for $ac_word... " >&6; }
   3002 if test ${ac_cv_prog_STRIP+y}
   3003 then :
   3004   printf %s "(cached) " >&6
   3005 else case e in #(
   3006   e) if test -n "$STRIP"; then
   3007   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3008 else
   3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3010 for as_dir in $PATH
   3011 do
   3012   IFS=$as_save_IFS
   3013   case $as_dir in #(((
   3014     '') as_dir=./ ;;
   3015     */) ;;
   3016     *) as_dir=$as_dir/ ;;
   3017   esac
   3018     for ac_exec_ext in '' $ac_executable_extensions; do
   3019   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3020     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3021     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3022     break 2
   3023   fi
   3024 done
   3025   done
   3026 IFS=$as_save_IFS
   3027 
   3028 fi ;;
   3029 esac
   3030 fi
   3031 STRIP=$ac_cv_prog_STRIP
   3032 if test -n "$STRIP"; then
   3033   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3034 printf '%s\n' "$STRIP" >&6; }
   3035 else
   3036   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3037 printf '%s\n' "no" >&6; }
   3038 fi
   3039 
   3040 
   3041 fi
   3042 if test -z "$ac_cv_prog_STRIP"; then
   3043   ac_ct_STRIP=$STRIP
   3044   # Extract the first word of "strip", so it can be a program name with args.
   3045 set dummy strip; ac_word=$2
   3046 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3047 printf %s "checking for $ac_word... " >&6; }
   3048 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3049 then :
   3050   printf %s "(cached) " >&6
   3051 else case e in #(
   3052   e) if test -n "$ac_ct_STRIP"; then
   3053   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   case $as_dir in #(((
   3060     '') as_dir=./ ;;
   3061     */) ;;
   3062     *) as_dir=$as_dir/ ;;
   3063   esac
   3064     for ac_exec_ext in '' $ac_executable_extensions; do
   3065   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3066     ac_cv_prog_ac_ct_STRIP="strip"
   3067     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3068     break 2
   3069   fi
   3070 done
   3071   done
   3072 IFS=$as_save_IFS
   3073 
   3074 fi ;;
   3075 esac
   3076 fi
   3077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3078 if test -n "$ac_ct_STRIP"; then
   3079   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3080 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3081 else
   3082   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3083 printf '%s\n' "no" >&6; }
   3084 fi
   3085 
   3086   if test "x$ac_ct_STRIP" = x; then
   3087     STRIP=":"
   3088   else
   3089     case $cross_compiling:$ac_tool_warned in
   3090 yes:)
   3091 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3092 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3093 ac_tool_warned=yes ;;
   3094 esac
   3095     STRIP=$ac_ct_STRIP
   3096   fi
   3097 else
   3098   STRIP="$ac_cv_prog_STRIP"
   3099 fi
   3100 
   3101 fi
   3102 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3103 
   3104 
   3105   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3106 printf %s "checking for a race-free mkdir -p... " >&6; }
   3107 if test -z "$MKDIR_P"; then
   3108   if test ${ac_cv_path_mkdir+y}
   3109 then :
   3110   printf %s "(cached) " >&6
   3111 else case e in #(
   3112   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3113 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3114 do
   3115   IFS=$as_save_IFS
   3116   case $as_dir in #(((
   3117     '') as_dir=./ ;;
   3118     */) ;;
   3119     *) as_dir=$as_dir/ ;;
   3120   esac
   3121     for ac_prog in mkdir gmkdir; do
   3122 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3123 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3124 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3125 	     'mkdir ('*'coreutils) '* | \
   3126 	     *'BusyBox '* | \
   3127 	     'mkdir (fileutils) '4.1*)
   3128 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3129 	       break 3;;
   3130 	   esac
   3131 	 done
   3132        done
   3133   done
   3134 IFS=$as_save_IFS
   3135  ;;
   3136 esac
   3137 fi
   3138 
   3139   test -d ./--version && rmdir ./--version
   3140   if test ${ac_cv_path_mkdir+y}; then
   3141     MKDIR_P="$ac_cv_path_mkdir -p"
   3142   else
   3143     # As a last resort, use plain mkdir -p,
   3144     # in the hope it doesn't have the bugs of ancient mkdir.
   3145     MKDIR_P='mkdir -p'
   3146   fi
   3147 fi
   3148 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3149 printf '%s\n' "$MKDIR_P" >&6; }
   3150 
   3151 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3152 do
   3153   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3154 set dummy $ac_prog; ac_word=$2
   3155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3156 printf %s "checking for $ac_word... " >&6; }
   3157 if test ${ac_cv_prog_AWK+y}
   3158 then :
   3159   printf %s "(cached) " >&6
   3160 else case e in #(
   3161   e) if test -n "$AWK"; then
   3162   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3163 else
   3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3165 for as_dir in $PATH
   3166 do
   3167   IFS=$as_save_IFS
   3168   case $as_dir in #(((
   3169     '') as_dir=./ ;;
   3170     */) ;;
   3171     *) as_dir=$as_dir/ ;;
   3172   esac
   3173     for ac_exec_ext in '' $ac_executable_extensions; do
   3174   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3175     ac_cv_prog_AWK="$ac_prog"
   3176     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3177     break 2
   3178   fi
   3179 done
   3180   done
   3181 IFS=$as_save_IFS
   3182 
   3183 fi ;;
   3184 esac
   3185 fi
   3186 AWK=$ac_cv_prog_AWK
   3187 if test -n "$AWK"; then
   3188   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3189 printf '%s\n' "$AWK" >&6; }
   3190 else
   3191   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3192 printf '%s\n' "no" >&6; }
   3193 fi
   3194 
   3195 
   3196   test -n "$AWK" && break
   3197 done
   3198 
   3199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3200 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3201 set x ${MAKE-make}
   3202 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3203 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3204 then :
   3205   printf %s "(cached) " >&6
   3206 else case e in #(
   3207   e) cat >conftest.make <<\_ACEOF
   3208 SHELL = /bin/sh
   3209 all:
   3210 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3211 _ACEOF
   3212 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3213 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3214   *@@@%%%=?*=@@@%%%*)
   3215     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3216   *)
   3217     eval ac_cv_prog_make_${ac_make}_set=no;;
   3218 esac
   3219 rm -f conftest.make ;;
   3220 esac
   3221 fi
   3222 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3223   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3224 printf '%s\n' "yes" >&6; }
   3225   SET_MAKE=
   3226 else
   3227   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3228 printf '%s\n' "no" >&6; }
   3229   SET_MAKE="MAKE=${MAKE-make}"
   3230 fi
   3231 
   3232 rm -rf .tst 2>/dev/null
   3233 mkdir .tst 2>/dev/null
   3234 if test -d .tst; then
   3235   am__leading_dot=.
   3236 else
   3237   am__leading_dot=_
   3238 fi
   3239 rmdir .tst 2>/dev/null
   3240 
   3241 AM_DEFAULT_VERBOSITY=1
   3242 # Check whether --enable-silent-rules was given.
   3243 if test ${enable_silent_rules+y}
   3244 then :
   3245   enableval=$enable_silent_rules;
   3246 fi
   3247 
   3248 am_make=${MAKE-make}
   3249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3250 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3251 if test ${am_cv_make_support_nested_variables+y}
   3252 then :
   3253   printf %s "(cached) " >&6
   3254 else case e in #(
   3255   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3256 BAR0=false
   3257 BAR1=true
   3258 V=1
   3259 am__doit:
   3260 	@$(TRUE)
   3261 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3262   am_cv_make_support_nested_variables=yes
   3263 else
   3264   am_cv_make_support_nested_variables=no
   3265 fi ;;
   3266 esac
   3267 fi
   3268 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3269 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3270 AM_BACKSLASH='\'
   3271 
   3272 am__rm_f_notfound=
   3273 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3274 then :
   3275 
   3276 else case e in #(
   3277   e) am__rm_f_notfound='""' ;;
   3278 esac
   3279 fi
   3280 
   3281 
   3282 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3283 printf %s "checking xargs -n works... " >&6; }
   3284 if test ${am_cv_xargs_n_works+y}
   3285 then :
   3286   printf %s "(cached) " >&6
   3287 else case e in #(
   3288   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3289 3"
   3290 then :
   3291   am_cv_xargs_n_works=yes
   3292 else case e in #(
   3293   e) am_cv_xargs_n_works=no ;;
   3294 esac
   3295 fi ;;
   3296 esac
   3297 fi
   3298 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3299 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3300 if test "$am_cv_xargs_n_works" = yes
   3301 then :
   3302   am__xargs_n='xargs -n'
   3303 else case e in #(
   3304   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3305  ;;
   3306 esac
   3307 fi
   3308 
   3309 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3310   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3311   # is not polluted with repeated "-I."
   3312   am__isrc=' -I$(srcdir)'
   3313   # test to see if srcdir already configured
   3314   if test -f $srcdir/config.status; then
   3315     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3316   fi
   3317 fi
   3318 
   3319 # test whether we have cygpath
   3320 if test -z "$CYGPATH_W"; then
   3321   if (cygpath --version) >/dev/null 2>/dev/null; then
   3322     CYGPATH_W='cygpath -w'
   3323   else
   3324     CYGPATH_W=echo
   3325   fi
   3326 fi
   3327 
   3328 
   3329 # Define the identity of the package.
   3330  PACKAGE='ico'
   3331  VERSION='1.0.7'
   3332 
   3333 
   3334 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3335 
   3336 
   3337 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3338 
   3339 # Some tools Automake needs.
   3340 
   3341 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3342 
   3343 
   3344 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3345 
   3346 
   3347 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3348 
   3349 
   3350 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3351 
   3352 
   3353 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3354 
   3355 # For better backward compatibility.  To be removed once Automake 1.9.x
   3356 # dies out for good.  For more background, see:
   3357 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3358 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3359 mkdir_p='$(MKDIR_P)'
   3360 
   3361 # We need awk for the "check" target (and possibly the TAP driver).  The
   3362 # system "awk" is bad on some platforms.
   3363 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3364 # in the wild :-(  We should find a proper way to deprecate it ...
   3365 AMTAR='$${TAR-tar}'
   3366 
   3367 
   3368 # We'll loop over all known methods to create a tar archive until one works.
   3369 _am_tools='gnutar plaintar pax cpio none'
   3370 
   3371 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3372       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3373       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3374       # and bug#13588).
   3375       am_max_uid=2097151 # 2^21 - 1
   3376       am_max_gid=$am_max_uid
   3377       # The $UID and $GID variables are not portable, so we need to resort
   3378       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3379       # below are definitely unexpected, so allow the users to see them
   3380       # (that is, avoid stderr redirection).
   3381       am_uid=`id -u || echo unknown`
   3382       am_gid=`id -g || echo unknown`
   3383       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3384 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3385       if test x$am_uid = xunknown; then
   3386         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3387 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3388       elif test $am_uid -le $am_max_uid; then
   3389         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3390 printf '%s\n' "yes" >&6; }
   3391       else
   3392         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3393 printf '%s\n' "no" >&6; }
   3394         _am_tools=none
   3395       fi
   3396       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3397 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3398       if test x$gm_gid = xunknown; then
   3399         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3400 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3401       elif test $am_gid -le $am_max_gid; then
   3402         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3403 printf '%s\n' "yes" >&6; }
   3404       else
   3405         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 printf '%s\n' "no" >&6; }
   3407         _am_tools=none
   3408       fi
   3409 
   3410   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3411 printf %s "checking how to create a ustar tar archive... " >&6; }
   3412 
   3413   # Go ahead even if we have the value already cached.  We do so because we
   3414   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3415   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3416 
   3417   for _am_tool in $_am_tools; do
   3418     case $_am_tool in
   3419     gnutar)
   3420       for _am_tar in tar gnutar gtar; do
   3421         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3422    ($_am_tar --version) >&5 2>&5
   3423    ac_status=$?
   3424    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3425    (exit $ac_status); } && break
   3426       done
   3427       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3428       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3429       am__untar="$_am_tar -xf -"
   3430       ;;
   3431     plaintar)
   3432       # Must skip GNU tar: if it does not support --format= it doesn't create
   3433       # ustar tarball either.
   3434       (tar --version) >/dev/null 2>&1 && continue
   3435       am__tar='tar chf - "$$tardir"'
   3436       am__tar_='tar chf - "$tardir"'
   3437       am__untar='tar xf -'
   3438       ;;
   3439     pax)
   3440       am__tar='pax -L -x ustar -w "$$tardir"'
   3441       am__tar_='pax -L -x ustar -w "$tardir"'
   3442       am__untar='pax -r'
   3443       ;;
   3444     cpio)
   3445       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3446       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3447       am__untar='cpio -i -H ustar -d'
   3448       ;;
   3449     none)
   3450       am__tar=false
   3451       am__tar_=false
   3452       am__untar=false
   3453       ;;
   3454     esac
   3455 
   3456     # If the value was cached, stop now.  We just wanted to have am__tar
   3457     # and am__untar set.
   3458     test -n "${am_cv_prog_tar_ustar}" && break
   3459 
   3460     # tar/untar a dummy directory, and stop if the command works.
   3461     rm -rf conftest.dir
   3462     mkdir conftest.dir
   3463     echo GrepMe > conftest.dir/file
   3464     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3465    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3466    ac_status=$?
   3467    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3468    (exit $ac_status); }
   3469     rm -rf conftest.dir
   3470     if test -s conftest.tar; then
   3471       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3472    ($am__untar <conftest.tar) >&5 2>&5
   3473    ac_status=$?
   3474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3475    (exit $ac_status); }
   3476       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3477    (cat conftest.dir/file) >&5 2>&5
   3478    ac_status=$?
   3479    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3480    (exit $ac_status); }
   3481       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3482     fi
   3483   done
   3484   rm -rf conftest.dir
   3485 
   3486   if test ${am_cv_prog_tar_ustar+y}
   3487 then :
   3488   printf %s "(cached) " >&6
   3489 else case e in #(
   3490   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3491 esac
   3492 fi
   3493 
   3494   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3495 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3496 
   3497 
   3498 
   3499 
   3500 
   3501 # Variables for tags utilities; see am/tags.am
   3502 if test -z "$CTAGS"; then
   3503   CTAGS=ctags
   3504 fi
   3505 
   3506 if test -z "$ETAGS"; then
   3507   ETAGS=etags
   3508 fi
   3509 
   3510 if test -z "$CSCOPE"; then
   3511   CSCOPE=cscope
   3512 fi
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 
   3521 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3522 
   3523 
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 
   3533 
   3534 
   3535 
   3536 
   3537 
   3538 
   3539 
   3540 
   3541 
   3542 
   3543 
   3544 
   3545 DEPDIR="${am__leading_dot}deps"
   3546 
   3547 ac_config_commands="$ac_config_commands depfiles"
   3548 
   3549 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3550 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3551 cat > confinc.mk << 'END'
   3552 am__doit:
   3553 	@echo this is the am__doit target >confinc.out
   3554 .PHONY: am__doit
   3555 END
   3556 am__include="#"
   3557 am__quote=
   3558 # BSD make does it like this.
   3559 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3560 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3561 echo 'include confinc.mk # ignored' > confmf.GNU
   3562 _am_result=no
   3563 for s in GNU BSD; do
   3564   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3565    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3566    ac_status=$?
   3567    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3568    (exit $ac_status); }
   3569   case $?:`cat confinc.out 2>/dev/null` in #(
   3570   '0:this is the am__doit target') :
   3571     case $s in #(
   3572   BSD) :
   3573     am__include='.include' am__quote='"' ;; #(
   3574   *) :
   3575     am__include='include' am__quote='' ;;
   3576 esac ;; #(
   3577   *) :
   3578      ;;
   3579 esac
   3580   if test "$am__include" != "#"; then
   3581     _am_result="yes ($s style)"
   3582     break
   3583   fi
   3584 done
   3585 rm -f confinc.* confmf.*
   3586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3587 printf '%s\n' "${_am_result}" >&6; }
   3588 
   3589 # Check whether --enable-dependency-tracking was given.
   3590 if test ${enable_dependency_tracking+y}
   3591 then :
   3592   enableval=$enable_dependency_tracking;
   3593 fi
   3594 
   3595 if test "x$enable_dependency_tracking" != xno; then
   3596   am_depcomp="$ac_aux_dir/depcomp"
   3597   AMDEPBACKSLASH='\'
   3598   am__nodep='_no'
   3599 fi
   3600  if test "x$enable_dependency_tracking" != xno; then
   3601   AMDEP_TRUE=
   3602   AMDEP_FALSE='#'
   3603 else
   3604   AMDEP_TRUE='#'
   3605   AMDEP_FALSE=
   3606 fi
   3607 
   3608 
   3609 ac_ext=c
   3610 ac_cpp='$CPP $CPPFLAGS'
   3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3614 if test -n "$ac_tool_prefix"; then
   3615   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3616 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3618 printf %s "checking for $ac_word... " >&6; }
   3619 if test ${ac_cv_prog_CC+y}
   3620 then :
   3621   printf %s "(cached) " >&6
   3622 else case e in #(
   3623   e) if test -n "$CC"; then
   3624   ac_cv_prog_CC="$CC" # Let the user override the test.
   3625 else
   3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3627 for as_dir in $PATH
   3628 do
   3629   IFS=$as_save_IFS
   3630   case $as_dir in #(((
   3631     '') as_dir=./ ;;
   3632     */) ;;
   3633     *) as_dir=$as_dir/ ;;
   3634   esac
   3635     for ac_exec_ext in '' $ac_executable_extensions; do
   3636   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3637     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3638     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3639     break 2
   3640   fi
   3641 done
   3642   done
   3643 IFS=$as_save_IFS
   3644 
   3645 fi ;;
   3646 esac
   3647 fi
   3648 CC=$ac_cv_prog_CC
   3649 if test -n "$CC"; then
   3650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3651 printf '%s\n' "$CC" >&6; }
   3652 else
   3653   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3654 printf '%s\n' "no" >&6; }
   3655 fi
   3656 
   3657 
   3658 fi
   3659 if test -z "$ac_cv_prog_CC"; then
   3660   ac_ct_CC=$CC
   3661   # Extract the first word of "gcc", so it can be a program name with args.
   3662 set dummy gcc; ac_word=$2
   3663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3664 printf %s "checking for $ac_word... " >&6; }
   3665 if test ${ac_cv_prog_ac_ct_CC+y}
   3666 then :
   3667   printf %s "(cached) " >&6
   3668 else case e in #(
   3669   e) if test -n "$ac_ct_CC"; then
   3670   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3671 else
   3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3673 for as_dir in $PATH
   3674 do
   3675   IFS=$as_save_IFS
   3676   case $as_dir in #(((
   3677     '') as_dir=./ ;;
   3678     */) ;;
   3679     *) as_dir=$as_dir/ ;;
   3680   esac
   3681     for ac_exec_ext in '' $ac_executable_extensions; do
   3682   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3683     ac_cv_prog_ac_ct_CC="gcc"
   3684     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3685     break 2
   3686   fi
   3687 done
   3688   done
   3689 IFS=$as_save_IFS
   3690 
   3691 fi ;;
   3692 esac
   3693 fi
   3694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3695 if test -n "$ac_ct_CC"; then
   3696   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3697 printf '%s\n' "$ac_ct_CC" >&6; }
   3698 else
   3699   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3700 printf '%s\n' "no" >&6; }
   3701 fi
   3702 
   3703   if test "x$ac_ct_CC" = x; then
   3704     CC=""
   3705   else
   3706     case $cross_compiling:$ac_tool_warned in
   3707 yes:)
   3708 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3709 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3710 ac_tool_warned=yes ;;
   3711 esac
   3712     CC=$ac_ct_CC
   3713   fi
   3714 else
   3715   CC="$ac_cv_prog_CC"
   3716 fi
   3717 
   3718 if test -z "$CC"; then
   3719           if test -n "$ac_tool_prefix"; then
   3720     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3721 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3723 printf %s "checking for $ac_word... " >&6; }
   3724 if test ${ac_cv_prog_CC+y}
   3725 then :
   3726   printf %s "(cached) " >&6
   3727 else case e in #(
   3728   e) if test -n "$CC"; then
   3729   ac_cv_prog_CC="$CC" # Let the user override the test.
   3730 else
   3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3732 for as_dir in $PATH
   3733 do
   3734   IFS=$as_save_IFS
   3735   case $as_dir in #(((
   3736     '') as_dir=./ ;;
   3737     */) ;;
   3738     *) as_dir=$as_dir/ ;;
   3739   esac
   3740     for ac_exec_ext in '' $ac_executable_extensions; do
   3741   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3742     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3743     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3744     break 2
   3745   fi
   3746 done
   3747   done
   3748 IFS=$as_save_IFS
   3749 
   3750 fi ;;
   3751 esac
   3752 fi
   3753 CC=$ac_cv_prog_CC
   3754 if test -n "$CC"; then
   3755   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3756 printf '%s\n' "$CC" >&6; }
   3757 else
   3758   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3759 printf '%s\n' "no" >&6; }
   3760 fi
   3761 
   3762 
   3763   fi
   3764 fi
   3765 if test -z "$CC"; then
   3766   # Extract the first word of "cc", so it can be a program name with args.
   3767 set dummy cc; ac_word=$2
   3768 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3769 printf %s "checking for $ac_word... " >&6; }
   3770 if test ${ac_cv_prog_CC+y}
   3771 then :
   3772   printf %s "(cached) " >&6
   3773 else case e in #(
   3774   e) if test -n "$CC"; then
   3775   ac_cv_prog_CC="$CC" # Let the user override the test.
   3776 else
   3777   ac_prog_rejected=no
   3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3779 for as_dir in $PATH
   3780 do
   3781   IFS=$as_save_IFS
   3782   case $as_dir in #(((
   3783     '') as_dir=./ ;;
   3784     */) ;;
   3785     *) as_dir=$as_dir/ ;;
   3786   esac
   3787     for ac_exec_ext in '' $ac_executable_extensions; do
   3788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3789     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3790        ac_prog_rejected=yes
   3791        continue
   3792      fi
   3793     ac_cv_prog_CC="cc"
   3794     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3795     break 2
   3796   fi
   3797 done
   3798   done
   3799 IFS=$as_save_IFS
   3800 
   3801 if test $ac_prog_rejected = yes; then
   3802   # We found a bogon in the path, so make sure we never use it.
   3803   set dummy $ac_cv_prog_CC
   3804   shift
   3805   if test $# != 0; then
   3806     # We chose a different compiler from the bogus one.
   3807     # However, it has the same basename, so the bogon will be chosen
   3808     # first if we set CC to just the basename; use the full file name.
   3809     shift
   3810     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3811   fi
   3812 fi
   3813 fi ;;
   3814 esac
   3815 fi
   3816 CC=$ac_cv_prog_CC
   3817 if test -n "$CC"; then
   3818   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3819 printf '%s\n' "$CC" >&6; }
   3820 else
   3821   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3822 printf '%s\n' "no" >&6; }
   3823 fi
   3824 
   3825 
   3826 fi
   3827 if test -z "$CC"; then
   3828   if test -n "$ac_tool_prefix"; then
   3829   for ac_prog in cl.exe
   3830   do
   3831     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3833 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3834 printf %s "checking for $ac_word... " >&6; }
   3835 if test ${ac_cv_prog_CC+y}
   3836 then :
   3837   printf %s "(cached) " >&6
   3838 else case e in #(
   3839   e) if test -n "$CC"; then
   3840   ac_cv_prog_CC="$CC" # Let the user override the test.
   3841 else
   3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3843 for as_dir in $PATH
   3844 do
   3845   IFS=$as_save_IFS
   3846   case $as_dir in #(((
   3847     '') as_dir=./ ;;
   3848     */) ;;
   3849     *) as_dir=$as_dir/ ;;
   3850   esac
   3851     for ac_exec_ext in '' $ac_executable_extensions; do
   3852   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3853     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3854     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3855     break 2
   3856   fi
   3857 done
   3858   done
   3859 IFS=$as_save_IFS
   3860 
   3861 fi ;;
   3862 esac
   3863 fi
   3864 CC=$ac_cv_prog_CC
   3865 if test -n "$CC"; then
   3866   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3867 printf '%s\n' "$CC" >&6; }
   3868 else
   3869   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3870 printf '%s\n' "no" >&6; }
   3871 fi
   3872 
   3873 
   3874     test -n "$CC" && break
   3875   done
   3876 fi
   3877 if test -z "$CC"; then
   3878   ac_ct_CC=$CC
   3879   for ac_prog in cl.exe
   3880 do
   3881   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3882 set dummy $ac_prog; ac_word=$2
   3883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3884 printf %s "checking for $ac_word... " >&6; }
   3885 if test ${ac_cv_prog_ac_ct_CC+y}
   3886 then :
   3887   printf %s "(cached) " >&6
   3888 else case e in #(
   3889   e) if test -n "$ac_ct_CC"; then
   3890   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3891 else
   3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3893 for as_dir in $PATH
   3894 do
   3895   IFS=$as_save_IFS
   3896   case $as_dir in #(((
   3897     '') as_dir=./ ;;
   3898     */) ;;
   3899     *) as_dir=$as_dir/ ;;
   3900   esac
   3901     for ac_exec_ext in '' $ac_executable_extensions; do
   3902   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3903     ac_cv_prog_ac_ct_CC="$ac_prog"
   3904     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3905     break 2
   3906   fi
   3907 done
   3908   done
   3909 IFS=$as_save_IFS
   3910 
   3911 fi ;;
   3912 esac
   3913 fi
   3914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3915 if test -n "$ac_ct_CC"; then
   3916   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3917 printf '%s\n' "$ac_ct_CC" >&6; }
   3918 else
   3919   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3920 printf '%s\n' "no" >&6; }
   3921 fi
   3922 
   3923 
   3924   test -n "$ac_ct_CC" && break
   3925 done
   3926 
   3927   if test "x$ac_ct_CC" = x; then
   3928     CC=""
   3929   else
   3930     case $cross_compiling:$ac_tool_warned in
   3931 yes:)
   3932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3933 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3934 ac_tool_warned=yes ;;
   3935 esac
   3936     CC=$ac_ct_CC
   3937   fi
   3938 fi
   3939 
   3940 fi
   3941 if test -z "$CC"; then
   3942   if test -n "$ac_tool_prefix"; then
   3943   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3944 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3946 printf %s "checking for $ac_word... " >&6; }
   3947 if test ${ac_cv_prog_CC+y}
   3948 then :
   3949   printf %s "(cached) " >&6
   3950 else case e in #(
   3951   e) if test -n "$CC"; then
   3952   ac_cv_prog_CC="$CC" # Let the user override the test.
   3953 else
   3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3955 for as_dir in $PATH
   3956 do
   3957   IFS=$as_save_IFS
   3958   case $as_dir in #(((
   3959     '') as_dir=./ ;;
   3960     */) ;;
   3961     *) as_dir=$as_dir/ ;;
   3962   esac
   3963     for ac_exec_ext in '' $ac_executable_extensions; do
   3964   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3965     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3966     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3967     break 2
   3968   fi
   3969 done
   3970   done
   3971 IFS=$as_save_IFS
   3972 
   3973 fi ;;
   3974 esac
   3975 fi
   3976 CC=$ac_cv_prog_CC
   3977 if test -n "$CC"; then
   3978   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3979 printf '%s\n' "$CC" >&6; }
   3980 else
   3981   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3982 printf '%s\n' "no" >&6; }
   3983 fi
   3984 
   3985 
   3986 fi
   3987 if test -z "$ac_cv_prog_CC"; then
   3988   ac_ct_CC=$CC
   3989   # Extract the first word of "clang", so it can be a program name with args.
   3990 set dummy clang; ac_word=$2
   3991 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3992 printf %s "checking for $ac_word... " >&6; }
   3993 if test ${ac_cv_prog_ac_ct_CC+y}
   3994 then :
   3995   printf %s "(cached) " >&6
   3996 else case e in #(
   3997   e) if test -n "$ac_ct_CC"; then
   3998   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3999 else
   4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4001 for as_dir in $PATH
   4002 do
   4003   IFS=$as_save_IFS
   4004   case $as_dir in #(((
   4005     '') as_dir=./ ;;
   4006     */) ;;
   4007     *) as_dir=$as_dir/ ;;
   4008   esac
   4009     for ac_exec_ext in '' $ac_executable_extensions; do
   4010   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4011     ac_cv_prog_ac_ct_CC="clang"
   4012     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4013     break 2
   4014   fi
   4015 done
   4016   done
   4017 IFS=$as_save_IFS
   4018 
   4019 fi ;;
   4020 esac
   4021 fi
   4022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4023 if test -n "$ac_ct_CC"; then
   4024   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4025 printf '%s\n' "$ac_ct_CC" >&6; }
   4026 else
   4027   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4028 printf '%s\n' "no" >&6; }
   4029 fi
   4030 
   4031   if test "x$ac_ct_CC" = x; then
   4032     CC=""
   4033   else
   4034     case $cross_compiling:$ac_tool_warned in
   4035 yes:)
   4036 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4037 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4038 ac_tool_warned=yes ;;
   4039 esac
   4040     CC=$ac_ct_CC
   4041   fi
   4042 else
   4043   CC="$ac_cv_prog_CC"
   4044 fi
   4045 
   4046 fi
   4047 
   4048 
   4049 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4050 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4051 as_fn_error $? "no acceptable C compiler found in \$PATH
   4052 See 'config.log' for more details" "$LINENO" 5; }
   4053 
   4054 # Provide some information about the compiler.
   4055 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4056 set X $ac_compile
   4057 ac_compiler=$2
   4058 for ac_option in --version -v -V -qversion -version; do
   4059   { { ac_try="$ac_compiler $ac_option >&5"
   4060 case "(($ac_try" in
   4061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4062   *) ac_try_echo=$ac_try;;
   4063 esac
   4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4065 printf '%s\n' "$ac_try_echo"; } >&5
   4066   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4067   ac_status=$?
   4068   if test -s conftest.err; then
   4069     sed '10a\
   4070 ... rest of stderr output deleted ...
   4071          10q' conftest.err >conftest.er1
   4072     cat conftest.er1 >&5
   4073   fi
   4074   rm -f conftest.er1 conftest.err
   4075   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4076   test $ac_status = 0; }
   4077 done
   4078 
   4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4080 /* end confdefs.h.  */
   4081 
   4082 int
   4083 main (void)
   4084 {
   4085 
   4086   ;
   4087   return 0;
   4088 }
   4089 _ACEOF
   4090 ac_clean_files_save=$ac_clean_files
   4091 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4092 # Try to create an executable without -o first, disregard a.out.
   4093 # It will help us diagnose broken compilers, and finding out an intuition
   4094 # of exeext.
   4095 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4096 printf %s "checking whether the C compiler works... " >&6; }
   4097 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4098 
   4099 # The possible output files:
   4100 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4101 
   4102 ac_rmfiles=
   4103 for ac_file in $ac_files
   4104 do
   4105   case $ac_file in
   4106     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4107     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4108   esac
   4109 done
   4110 rm -f $ac_rmfiles
   4111 
   4112 if { { ac_try="$ac_link_default"
   4113 case "(($ac_try" in
   4114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4115   *) ac_try_echo=$ac_try;;
   4116 esac
   4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4118 printf '%s\n' "$ac_try_echo"; } >&5
   4119   (eval "$ac_link_default") 2>&5
   4120   ac_status=$?
   4121   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4122   test $ac_status = 0; }
   4123 then :
   4124   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4125 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4126 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4127 # so that the user can short-circuit this test for compilers unknown to
   4128 # Autoconf.
   4129 for ac_file in $ac_files ''
   4130 do
   4131   test -f "$ac_file" || continue
   4132   case $ac_file in
   4133     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4134 	;;
   4135     [ab].out )
   4136 	# We found the default executable, but exeext='' is most
   4137 	# certainly right.
   4138 	break;;
   4139     *.* )
   4140 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4141 	then :; else
   4142 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4143 	fi
   4144 	# We set ac_cv_exeext here because the later test for it is not
   4145 	# safe: cross compilers may not add the suffix if given an '-o'
   4146 	# argument, so we may need to know it at that point already.
   4147 	# Even if this section looks crufty: it has the advantage of
   4148 	# actually working.
   4149 	break;;
   4150     * )
   4151 	break;;
   4152   esac
   4153 done
   4154 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4155 
   4156 else case e in #(
   4157   e) ac_file='' ;;
   4158 esac
   4159 fi
   4160 if test -z "$ac_file"
   4161 then :
   4162   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4163 printf '%s\n' "no" >&6; }
   4164 printf '%s\n' "$as_me: failed program was:" >&5
   4165 sed 's/^/| /' conftest.$ac_ext >&5
   4166 
   4167 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4168 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4169 as_fn_error 77 "C compiler cannot create executables
   4170 See 'config.log' for more details" "$LINENO" 5; }
   4171 else case e in #(
   4172   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4173 printf '%s\n' "yes" >&6; } ;;
   4174 esac
   4175 fi
   4176 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4177 printf %s "checking for C compiler default output file name... " >&6; }
   4178 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4179 printf '%s\n' "$ac_file" >&6; }
   4180 ac_exeext=$ac_cv_exeext
   4181 
   4182 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4183 ac_clean_files=$ac_clean_files_save
   4184 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4185 printf %s "checking for suffix of executables... " >&6; }
   4186 if { { ac_try="$ac_link"
   4187 case "(($ac_try" in
   4188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4189   *) ac_try_echo=$ac_try;;
   4190 esac
   4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4192 printf '%s\n' "$ac_try_echo"; } >&5
   4193   (eval "$ac_link") 2>&5
   4194   ac_status=$?
   4195   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4196   test $ac_status = 0; }
   4197 then :
   4198   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4199 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4200 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4201 # 'rm'.
   4202 for ac_file in conftest.exe conftest conftest.*; do
   4203   test -f "$ac_file" || continue
   4204   case $ac_file in
   4205     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4206     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4207 	  break;;
   4208     * ) break;;
   4209   esac
   4210 done
   4211 else case e in #(
   4212   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4213 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4214 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4215 See 'config.log' for more details" "$LINENO" 5; } ;;
   4216 esac
   4217 fi
   4218 rm -f conftest conftest$ac_cv_exeext
   4219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4220 printf '%s\n' "$ac_cv_exeext" >&6; }
   4221 
   4222 rm -f conftest.$ac_ext
   4223 EXEEXT=$ac_cv_exeext
   4224 ac_exeext=$EXEEXT
   4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4226 /* end confdefs.h.  */
   4227 #include <stdio.h>
   4228 int
   4229 main (void)
   4230 {
   4231 FILE *f = fopen ("conftest.out", "w");
   4232  if (!f)
   4233   return 1;
   4234  return ferror (f) || fclose (f) != 0;
   4235 
   4236   ;
   4237   return 0;
   4238 }
   4239 _ACEOF
   4240 ac_clean_files="$ac_clean_files conftest.out"
   4241 # Check that the compiler produces executables we can run.  If not, either
   4242 # the compiler is broken, or we cross compile.
   4243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4244 printf %s "checking whether we are cross compiling... " >&6; }
   4245 if test "$cross_compiling" != yes; then
   4246   { { ac_try="$ac_link"
   4247 case "(($ac_try" in
   4248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4249   *) ac_try_echo=$ac_try;;
   4250 esac
   4251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4252 printf '%s\n' "$ac_try_echo"; } >&5
   4253   (eval "$ac_link") 2>&5
   4254   ac_status=$?
   4255   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4256   test $ac_status = 0; }
   4257   if { ac_try='./conftest$ac_cv_exeext'
   4258   { { case "(($ac_try" in
   4259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4260   *) ac_try_echo=$ac_try;;
   4261 esac
   4262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4263 printf '%s\n' "$ac_try_echo"; } >&5
   4264   (eval "$ac_try") 2>&5
   4265   ac_status=$?
   4266   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4267   test $ac_status = 0; }; }; then
   4268     cross_compiling=no
   4269   else
   4270     if test "$cross_compiling" = maybe; then
   4271 	cross_compiling=yes
   4272     else
   4273 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4274 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4275 as_fn_error 77 "cannot run C compiled programs.
   4276 If you meant to cross compile, use '--host'.
   4277 See 'config.log' for more details" "$LINENO" 5; }
   4278     fi
   4279   fi
   4280 fi
   4281 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4282 printf '%s\n' "$cross_compiling" >&6; }
   4283 
   4284 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4285   conftest.o conftest.obj conftest.out
   4286 ac_clean_files=$ac_clean_files_save
   4287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4288 printf %s "checking for suffix of object files... " >&6; }
   4289 if test ${ac_cv_objext+y}
   4290 then :
   4291   printf %s "(cached) " >&6
   4292 else case e in #(
   4293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 
   4296 int
   4297 main (void)
   4298 {
   4299 
   4300   ;
   4301   return 0;
   4302 }
   4303 _ACEOF
   4304 rm -f conftest.o conftest.obj
   4305 if { { ac_try="$ac_compile"
   4306 case "(($ac_try" in
   4307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4308   *) ac_try_echo=$ac_try;;
   4309 esac
   4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4311 printf '%s\n' "$ac_try_echo"; } >&5
   4312   (eval "$ac_compile") 2>&5
   4313   ac_status=$?
   4314   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4315   test $ac_status = 0; }
   4316 then :
   4317   for ac_file in conftest.o conftest.obj conftest.*; do
   4318   test -f "$ac_file" || continue;
   4319   case $ac_file in
   4320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4321     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4322        break;;
   4323   esac
   4324 done
   4325 else case e in #(
   4326   e) printf '%s\n' "$as_me: failed program was:" >&5
   4327 sed 's/^/| /' conftest.$ac_ext >&5
   4328 
   4329 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4330 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4331 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4332 See 'config.log' for more details" "$LINENO" 5; } ;;
   4333 esac
   4334 fi
   4335 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4336 esac
   4337 fi
   4338 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4339 printf '%s\n' "$ac_cv_objext" >&6; }
   4340 OBJEXT=$ac_cv_objext
   4341 ac_objext=$OBJEXT
   4342 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4343 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4344 if test ${ac_cv_c_compiler_gnu+y}
   4345 then :
   4346   printf %s "(cached) " >&6
   4347 else case e in #(
   4348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4349 /* end confdefs.h.  */
   4350 
   4351 int
   4352 main (void)
   4353 {
   4354 #ifndef __GNUC__
   4355        choke me
   4356 #endif
   4357 
   4358   ;
   4359   return 0;
   4360 }
   4361 _ACEOF
   4362 if ac_fn_c_try_compile "$LINENO"
   4363 then :
   4364   ac_compiler_gnu=yes
   4365 else case e in #(
   4366   e) ac_compiler_gnu=no ;;
   4367 esac
   4368 fi
   4369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4370 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4371  ;;
   4372 esac
   4373 fi
   4374 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4375 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4377 
   4378 if test $ac_compiler_gnu = yes; then
   4379   GCC=yes
   4380 else
   4381   GCC=
   4382 fi
   4383 ac_test_CFLAGS=${CFLAGS+y}
   4384 ac_save_CFLAGS=$CFLAGS
   4385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4386 printf %s "checking whether $CC accepts -g... " >&6; }
   4387 if test ${ac_cv_prog_cc_g+y}
   4388 then :
   4389   printf %s "(cached) " >&6
   4390 else case e in #(
   4391   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4392    ac_c_werror_flag=yes
   4393    ac_cv_prog_cc_g=no
   4394    CFLAGS="-g"
   4395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4396 /* end confdefs.h.  */
   4397 
   4398 int
   4399 main (void)
   4400 {
   4401 
   4402   ;
   4403   return 0;
   4404 }
   4405 _ACEOF
   4406 if ac_fn_c_try_compile "$LINENO"
   4407 then :
   4408   ac_cv_prog_cc_g=yes
   4409 else case e in #(
   4410   e) CFLAGS=""
   4411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4412 /* end confdefs.h.  */
   4413 
   4414 int
   4415 main (void)
   4416 {
   4417 
   4418   ;
   4419   return 0;
   4420 }
   4421 _ACEOF
   4422 if ac_fn_c_try_compile "$LINENO"
   4423 then :
   4424 
   4425 else case e in #(
   4426   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4427 	 CFLAGS="-g"
   4428 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4429 /* end confdefs.h.  */
   4430 
   4431 int
   4432 main (void)
   4433 {
   4434 
   4435   ;
   4436   return 0;
   4437 }
   4438 _ACEOF
   4439 if ac_fn_c_try_compile "$LINENO"
   4440 then :
   4441   ac_cv_prog_cc_g=yes
   4442 fi
   4443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4444 esac
   4445 fi
   4446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4447 esac
   4448 fi
   4449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4450    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4451 esac
   4452 fi
   4453 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4454 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4455 if test $ac_test_CFLAGS; then
   4456   CFLAGS=$ac_save_CFLAGS
   4457 elif test $ac_cv_prog_cc_g = yes; then
   4458   if test "$GCC" = yes; then
   4459     CFLAGS="-g -O2"
   4460   else
   4461     CFLAGS="-g"
   4462   fi
   4463 else
   4464   if test "$GCC" = yes; then
   4465     CFLAGS="-O2"
   4466   else
   4467     CFLAGS=
   4468   fi
   4469 fi
   4470 ac_prog_cc_stdc=no
   4471 if test x$ac_prog_cc_stdc = xno
   4472 then :
   4473   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4474 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4475 if test ${ac_cv_prog_cc_c23+y}
   4476 then :
   4477   printf %s "(cached) " >&6
   4478 else case e in #(
   4479   e) ac_cv_prog_cc_c23=no
   4480 ac_save_CC=$CC
   4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4482 /* end confdefs.h.  */
   4483 $ac_c_conftest_c23_program
   4484 _ACEOF
   4485 for ac_arg in '' -std=gnu23
   4486 do
   4487   CC="$ac_save_CC $ac_arg"
   4488   if ac_fn_c_try_compile "$LINENO"
   4489 then :
   4490   ac_cv_prog_cc_c23=$ac_arg
   4491 fi
   4492 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4493   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4494 done
   4495 rm -f conftest.$ac_ext
   4496 CC=$ac_save_CC ;;
   4497 esac
   4498 fi
   4499 
   4500 if test "x$ac_cv_prog_cc_c23" = xno
   4501 then :
   4502   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4503 printf '%s\n' "unsupported" >&6; }
   4504 else case e in #(
   4505   e) if test "x$ac_cv_prog_cc_c23" = x
   4506 then :
   4507   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4508 printf '%s\n' "none needed" >&6; }
   4509 else case e in #(
   4510   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4511 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4512      CC="$CC $ac_cv_prog_cc_c23" ;;
   4513 esac
   4514 fi
   4515   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4516   ac_prog_cc_stdc=c23 ;;
   4517 esac
   4518 fi
   4519 fi
   4520 if test x$ac_prog_cc_stdc = xno
   4521 then :
   4522   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4523 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4524 if test ${ac_cv_prog_cc_c11+y}
   4525 then :
   4526   printf %s "(cached) " >&6
   4527 else case e in #(
   4528   e) ac_cv_prog_cc_c11=no
   4529 ac_save_CC=$CC
   4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4531 /* end confdefs.h.  */
   4532 $ac_c_conftest_c11_program
   4533 _ACEOF
   4534 for ac_arg in '' -std=gnu11 -std:c11
   4535 do
   4536   CC="$ac_save_CC $ac_arg"
   4537   if ac_fn_c_try_compile "$LINENO"
   4538 then :
   4539   ac_cv_prog_cc_c11=$ac_arg
   4540 fi
   4541 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4542   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4543 done
   4544 rm -f conftest.$ac_ext
   4545 CC=$ac_save_CC ;;
   4546 esac
   4547 fi
   4548 
   4549 if test "x$ac_cv_prog_cc_c11" = xno
   4550 then :
   4551   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4552 printf '%s\n' "unsupported" >&6; }
   4553 else case e in #(
   4554   e) if test "x$ac_cv_prog_cc_c11" = x
   4555 then :
   4556   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4557 printf '%s\n' "none needed" >&6; }
   4558 else case e in #(
   4559   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4560 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4561      CC="$CC $ac_cv_prog_cc_c11" ;;
   4562 esac
   4563 fi
   4564   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4565   ac_prog_cc_stdc=c11 ;;
   4566 esac
   4567 fi
   4568 fi
   4569 if test x$ac_prog_cc_stdc = xno
   4570 then :
   4571   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4572 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4573 if test ${ac_cv_prog_cc_c99+y}
   4574 then :
   4575   printf %s "(cached) " >&6
   4576 else case e in #(
   4577   e) ac_cv_prog_cc_c99=no
   4578 ac_save_CC=$CC
   4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4580 /* end confdefs.h.  */
   4581 $ac_c_conftest_c99_program
   4582 _ACEOF
   4583 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4584 do
   4585   CC="$ac_save_CC $ac_arg"
   4586   if ac_fn_c_try_compile "$LINENO"
   4587 then :
   4588   ac_cv_prog_cc_c99=$ac_arg
   4589 fi
   4590 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4591   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4592 done
   4593 rm -f conftest.$ac_ext
   4594 CC=$ac_save_CC ;;
   4595 esac
   4596 fi
   4597 
   4598 if test "x$ac_cv_prog_cc_c99" = xno
   4599 then :
   4600   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4601 printf '%s\n' "unsupported" >&6; }
   4602 else case e in #(
   4603   e) if test "x$ac_cv_prog_cc_c99" = x
   4604 then :
   4605   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4606 printf '%s\n' "none needed" >&6; }
   4607 else case e in #(
   4608   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4609 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4610      CC="$CC $ac_cv_prog_cc_c99" ;;
   4611 esac
   4612 fi
   4613   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4614   ac_prog_cc_stdc=c99 ;;
   4615 esac
   4616 fi
   4617 fi
   4618 if test x$ac_prog_cc_stdc = xno
   4619 then :
   4620   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4621 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4622 if test ${ac_cv_prog_cc_c89+y}
   4623 then :
   4624   printf %s "(cached) " >&6
   4625 else case e in #(
   4626   e) ac_cv_prog_cc_c89=no
   4627 ac_save_CC=$CC
   4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4629 /* end confdefs.h.  */
   4630 $ac_c_conftest_c89_program
   4631 _ACEOF
   4632 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4633 do
   4634   CC="$ac_save_CC $ac_arg"
   4635   if ac_fn_c_try_compile "$LINENO"
   4636 then :
   4637   ac_cv_prog_cc_c89=$ac_arg
   4638 fi
   4639 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4640   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4641 done
   4642 rm -f conftest.$ac_ext
   4643 CC=$ac_save_CC ;;
   4644 esac
   4645 fi
   4646 
   4647 if test "x$ac_cv_prog_cc_c89" = xno
   4648 then :
   4649   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4650 printf '%s\n' "unsupported" >&6; }
   4651 else case e in #(
   4652   e) if test "x$ac_cv_prog_cc_c89" = x
   4653 then :
   4654   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4655 printf '%s\n' "none needed" >&6; }
   4656 else case e in #(
   4657   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4658 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4659      CC="$CC $ac_cv_prog_cc_c89" ;;
   4660 esac
   4661 fi
   4662   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4663   ac_prog_cc_stdc=c89 ;;
   4664 esac
   4665 fi
   4666 fi
   4667 
   4668 ac_ext=c
   4669 ac_cpp='$CPP $CPPFLAGS'
   4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4673 
   4674 
   4675   ac_ext=c
   4676 ac_cpp='$CPP $CPPFLAGS'
   4677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4680 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4681 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4682 if test ${am_cv_prog_cc_c_o+y}
   4683 then :
   4684   printf %s "(cached) " >&6
   4685 else case e in #(
   4686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4687 /* end confdefs.h.  */
   4688 
   4689 int
   4690 main (void)
   4691 {
   4692 
   4693   ;
   4694   return 0;
   4695 }
   4696 _ACEOF
   4697   # Make sure it works both with $CC and with simple cc.
   4698   # Following AC_PROG_CC_C_O, we do the test twice because some
   4699   # compilers refuse to overwrite an existing .o file with -o,
   4700   # though they will create one.
   4701   am_cv_prog_cc_c_o=yes
   4702   for am_i in 1 2; do
   4703     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4704    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4705    ac_status=$?
   4706    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4707    (exit $ac_status); } \
   4708          && test -f conftest2.$ac_objext; then
   4709       : OK
   4710     else
   4711       am_cv_prog_cc_c_o=no
   4712       break
   4713     fi
   4714   done
   4715   # aligned with autoconf, so not including core; see bug#72225.
   4716   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4717     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4718     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4719   unset am_i ;;
   4720 esac
   4721 fi
   4722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4723 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4724 if test "$am_cv_prog_cc_c_o" != yes; then
   4725    # Losing compiler, so override with the script.
   4726    # FIXME: It is wrong to rewrite CC.
   4727    # But if we don't then we get into trouble of one sort or another.
   4728    # A longer-term fix would be to have automake use am__CC in this case,
   4729    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4730    CC="$am_aux_dir/compile $CC"
   4731 fi
   4732 ac_ext=c
   4733 ac_cpp='$CPP $CPPFLAGS'
   4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4737 
   4738 
   4739 depcc="$CC"   am_compiler_list=
   4740 
   4741 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4742 printf %s "checking dependency style of $depcc... " >&6; }
   4743 if test ${am_cv_CC_dependencies_compiler_type+y}
   4744 then :
   4745   printf %s "(cached) " >&6
   4746 else case e in #(
   4747   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4748   # We make a subdir and do the tests there.  Otherwise we can end up
   4749   # making bogus files that we don't know about and never remove.  For
   4750   # instance it was reported that on HP-UX the gcc test will end up
   4751   # making a dummy file named 'D' -- because '-MD' means "put the output
   4752   # in D".
   4753   rm -rf conftest.dir
   4754   mkdir conftest.dir
   4755   # Copy depcomp to subdir because otherwise we won't find it if we're
   4756   # using a relative directory.
   4757   cp "$am_depcomp" conftest.dir
   4758   cd conftest.dir
   4759   # We will build objects and dependencies in a subdirectory because
   4760   # it helps to detect inapplicable dependency modes.  For instance
   4761   # both Tru64's cc and ICC support -MD to output dependencies as a
   4762   # side effect of compilation, but ICC will put the dependencies in
   4763   # the current directory while Tru64 will put them in the object
   4764   # directory.
   4765   mkdir sub
   4766 
   4767   am_cv_CC_dependencies_compiler_type=none
   4768   if test "$am_compiler_list" = ""; then
   4769      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4770   fi
   4771   am__universal=false
   4772   case " $depcc " in #(
   4773      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4774      esac
   4775 
   4776   for depmode in $am_compiler_list; do
   4777     # Setup a source with many dependencies, because some compilers
   4778     # like to wrap large dependency lists on column 80 (with \), and
   4779     # we should not choose a depcomp mode which is confused by this.
   4780     #
   4781     # We need to recreate these files for each test, as the compiler may
   4782     # overwrite some of them when testing with obscure command lines.
   4783     # This happens at least with the AIX C compiler.
   4784     : > sub/conftest.c
   4785     for i in 1 2 3 4 5 6; do
   4786       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4787       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4788       # Solaris 10 /bin/sh.
   4789       echo '/* dummy */' > sub/conftst$i.h
   4790     done
   4791     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4792 
   4793     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4794     # mode.  It turns out that the SunPro C++ compiler does not properly
   4795     # handle '-M -o', and we need to detect this.  Also, some Intel
   4796     # versions had trouble with output in subdirs.
   4797     am__obj=sub/conftest.${OBJEXT-o}
   4798     am__minus_obj="-o $am__obj"
   4799     case $depmode in
   4800     gcc)
   4801       # This depmode causes a compiler race in universal mode.
   4802       test "$am__universal" = false || continue
   4803       ;;
   4804     nosideeffect)
   4805       # After this tag, mechanisms are not by side-effect, so they'll
   4806       # only be used when explicitly requested.
   4807       if test "x$enable_dependency_tracking" = xyes; then
   4808 	continue
   4809       else
   4810 	break
   4811       fi
   4812       ;;
   4813     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4814       # This compiler won't grok '-c -o', but also, the minuso test has
   4815       # not run yet.  These depmodes are late enough in the game, and
   4816       # so weak that their functioning should not be impacted.
   4817       am__obj=conftest.${OBJEXT-o}
   4818       am__minus_obj=
   4819       ;;
   4820     none) break ;;
   4821     esac
   4822     if depmode=$depmode \
   4823        source=sub/conftest.c object=$am__obj \
   4824        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4825        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4826          >/dev/null 2>conftest.err &&
   4827        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4828        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4829        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4830        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4831       # icc doesn't choke on unknown options, it will just issue warnings
   4832       # or remarks (even with -Werror).  So we grep stderr for any message
   4833       # that says an option was ignored or not supported.
   4834       # When given -MP, icc 7.0 and 7.1 complain thus:
   4835       #   icc: Command line warning: ignoring option '-M'; no argument required
   4836       # The diagnosis changed in icc 8.0:
   4837       #   icc: Command line remark: option '-MP' not supported
   4838       if (grep 'ignoring option' conftest.err ||
   4839           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4840         am_cv_CC_dependencies_compiler_type=$depmode
   4841         break
   4842       fi
   4843     fi
   4844   done
   4845 
   4846   cd ..
   4847   rm -rf conftest.dir
   4848 else
   4849   am_cv_CC_dependencies_compiler_type=none
   4850 fi
   4851  ;;
   4852 esac
   4853 fi
   4854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4855 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   4856 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4857 
   4858  if
   4859   test "x$enable_dependency_tracking" != xno \
   4860   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4861   am__fastdepCC_TRUE=
   4862   am__fastdepCC_FALSE='#'
   4863 else
   4864   am__fastdepCC_TRUE='#'
   4865   am__fastdepCC_FALSE=
   4866 fi
   4867 
   4868 
   4869 
   4870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4871 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4872 if test ${ac_cv_c_undeclared_builtin_options+y}
   4873 then :
   4874   printf %s "(cached) " >&6
   4875 else case e in #(
   4876   e) ac_save_CFLAGS=$CFLAGS
   4877    ac_cv_c_undeclared_builtin_options='cannot detect'
   4878    for ac_arg in '' -fno-builtin; do
   4879      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4880      # This test program should *not* compile successfully.
   4881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4882 /* end confdefs.h.  */
   4883 
   4884 int
   4885 main (void)
   4886 {
   4887 (void) strchr;
   4888   ;
   4889   return 0;
   4890 }
   4891 _ACEOF
   4892 if ac_fn_c_try_compile "$LINENO"
   4893 then :
   4894 
   4895 else case e in #(
   4896   e) # This test program should compile successfully.
   4897         # No library function is consistently available on
   4898         # freestanding implementations, so test against a dummy
   4899         # declaration.  Include always-available headers on the
   4900         # off chance that they somehow elicit warnings.
   4901         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4902 /* end confdefs.h.  */
   4903 #include <float.h>
   4904 #include <limits.h>
   4905 #include <stdarg.h>
   4906 #include <stddef.h>
   4907 extern void ac_decl (int, char *);
   4908 
   4909 int
   4910 main (void)
   4911 {
   4912 (void) ac_decl (0, (char *) 0);
   4913   (void) ac_decl;
   4914 
   4915   ;
   4916   return 0;
   4917 }
   4918 _ACEOF
   4919 if ac_fn_c_try_compile "$LINENO"
   4920 then :
   4921   if test x"$ac_arg" = x
   4922 then :
   4923   ac_cv_c_undeclared_builtin_options='none needed'
   4924 else case e in #(
   4925   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4926 esac
   4927 fi
   4928           break
   4929 fi
   4930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4931 esac
   4932 fi
   4933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4934     done
   4935     CFLAGS=$ac_save_CFLAGS
   4936    ;;
   4937 esac
   4938 fi
   4939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4940 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4941   case $ac_cv_c_undeclared_builtin_options in #(
   4942   'cannot detect') :
   4943     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4944 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4945 as_fn_error $? "cannot make $CC report undeclared builtins
   4946 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4947   'none needed') :
   4948     ac_c_undeclared_builtin_options='' ;; #(
   4949   *) :
   4950     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4951 esac
   4952 
   4953 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4954 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4955 if test ${ac_cv_c_future_darwin_options+y}
   4956 then :
   4957   printf %s "(cached) " >&6
   4958 else case e in #(
   4959   e)       ac_compile_saved="$ac_compile"
   4960    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4962 /* end confdefs.h.  */
   4963 #if ! (defined __APPLE__ && defined __MACH__)
   4964 	   #error "-Werror=unguarded-availability-new not needed here"
   4965 	  #endif
   4966 
   4967 int
   4968 main (void)
   4969 {
   4970 
   4971   ;
   4972   return 0;
   4973 }
   4974 _ACEOF
   4975 if ac_fn_c_try_compile "$LINENO"
   4976 then :
   4977   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4978 else case e in #(
   4979   e) ac_cv_c_future_darwin_options='none needed' ;;
   4980 esac
   4981 fi
   4982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4983    ac_compile="$ac_compile_saved"
   4984    ;;
   4985 esac
   4986 fi
   4987 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   4988 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   4989  case $ac_cv_c_future_darwin_options in #(
   4990   'none needed') :
   4991     ac_c_future_darwin_options='' ;; #(
   4992   *) :
   4993     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   4994 esac
   4995 
   4996 ac_header= ac_cache=
   4997 for ac_item in $ac_header_c_list
   4998 do
   4999   if test $ac_cache; then
   5000     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5001     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5002       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5003     fi
   5004     ac_header= ac_cache=
   5005   elif test $ac_header; then
   5006     ac_cache=$ac_item
   5007   else
   5008     ac_header=$ac_item
   5009   fi
   5010 done
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5020 then :
   5021 
   5022 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5023 
   5024 fi
   5025 
   5026 
   5027 
   5028 
   5029 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"
   5030 if test "x$ac_cv_have_decl___clang__" = xyes
   5031 then :
   5032   CLANGCC="yes"
   5033 else case e in #(
   5034   e) CLANGCC="no" ;;
   5035 esac
   5036 fi
   5037 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"
   5038 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5039 then :
   5040   INTELCC="yes"
   5041 else case e in #(
   5042   e) INTELCC="no" ;;
   5043 esac
   5044 fi
   5045 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"
   5046 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5047 then :
   5048   SUNCC="yes"
   5049 else case e in #(
   5050   e) SUNCC="no" ;;
   5051 esac
   5052 fi
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5062 	if test -n "$ac_tool_prefix"; then
   5063   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5064 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5065 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5066 printf %s "checking for $ac_word... " >&6; }
   5067 if test ${ac_cv_path_PKG_CONFIG+y}
   5068 then :
   5069   printf %s "(cached) " >&6
   5070 else case e in #(
   5071   e) case $PKG_CONFIG in
   5072   [\\/]* | ?:[\\/]*)
   5073   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5074   ;;
   5075   *)
   5076   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5077 for as_dir in $PATH
   5078 do
   5079   IFS=$as_save_IFS
   5080   case $as_dir in #(((
   5081     '') as_dir=./ ;;
   5082     */) ;;
   5083     *) as_dir=$as_dir/ ;;
   5084   esac
   5085     for ac_exec_ext in '' $ac_executable_extensions; do
   5086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5087     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5088     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5089     break 2
   5090   fi
   5091 done
   5092   done
   5093 IFS=$as_save_IFS
   5094 
   5095   ;;
   5096 esac ;;
   5097 esac
   5098 fi
   5099 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5100 if test -n "$PKG_CONFIG"; then
   5101   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5102 printf '%s\n' "$PKG_CONFIG" >&6; }
   5103 else
   5104   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5105 printf '%s\n' "no" >&6; }
   5106 fi
   5107 
   5108 
   5109 fi
   5110 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5111   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5112   # Extract the first word of "pkg-config", so it can be a program name with args.
   5113 set dummy pkg-config; ac_word=$2
   5114 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5115 printf %s "checking for $ac_word... " >&6; }
   5116 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5117 then :
   5118   printf %s "(cached) " >&6
   5119 else case e in #(
   5120   e) case $ac_pt_PKG_CONFIG in
   5121   [\\/]* | ?:[\\/]*)
   5122   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5123   ;;
   5124   *)
   5125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5126 for as_dir in $PATH
   5127 do
   5128   IFS=$as_save_IFS
   5129   case $as_dir in #(((
   5130     '') as_dir=./ ;;
   5131     */) ;;
   5132     *) as_dir=$as_dir/ ;;
   5133   esac
   5134     for ac_exec_ext in '' $ac_executable_extensions; do
   5135   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5136     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5137     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5138     break 2
   5139   fi
   5140 done
   5141   done
   5142 IFS=$as_save_IFS
   5143 
   5144   ;;
   5145 esac ;;
   5146 esac
   5147 fi
   5148 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5149 if test -n "$ac_pt_PKG_CONFIG"; then
   5150   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5151 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5152 else
   5153   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5154 printf '%s\n' "no" >&6; }
   5155 fi
   5156 
   5157   if test "x$ac_pt_PKG_CONFIG" = x; then
   5158     PKG_CONFIG=""
   5159   else
   5160     case $cross_compiling:$ac_tool_warned in
   5161 yes:)
   5162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5163 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5164 ac_tool_warned=yes ;;
   5165 esac
   5166     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5167   fi
   5168 else
   5169   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5170 fi
   5171 
   5172 fi
   5173 if test -n "$PKG_CONFIG"; then
   5174 	_pkg_min_version=0.9.0
   5175 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5176 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5177 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5178 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5179 printf '%s\n' "yes" >&6; }
   5180 	else
   5181 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5182 printf '%s\n' "no" >&6; }
   5183 		PKG_CONFIG=""
   5184 	fi
   5185 fi
   5186 
   5187 
   5188   # Make sure we can run config.sub.
   5189 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5190   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5191 
   5192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5193 printf %s "checking build system type... " >&6; }
   5194 if test ${ac_cv_build+y}
   5195 then :
   5196   printf %s "(cached) " >&6
   5197 else case e in #(
   5198   e) ac_build_alias=$build_alias
   5199 test "x$ac_build_alias" = x &&
   5200   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5201 test "x$ac_build_alias" = x &&
   5202   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5203 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5204   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5205  ;;
   5206 esac
   5207 fi
   5208 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5209 printf '%s\n' "$ac_cv_build" >&6; }
   5210 case $ac_cv_build in
   5211 *-*-*) ;;
   5212 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5213 esac
   5214 build=$ac_cv_build
   5215 ac_save_IFS=$IFS; IFS='-'
   5216 set x $ac_cv_build
   5217 shift
   5218 build_cpu=$1
   5219 build_vendor=$2
   5220 shift; shift
   5221 # Remember, the first character of IFS is used to create $*,
   5222 # except with old shells:
   5223 build_os=$*
   5224 IFS=$ac_save_IFS
   5225 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5226 
   5227 
   5228 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5229 printf %s "checking host system type... " >&6; }
   5230 if test ${ac_cv_host+y}
   5231 then :
   5232   printf %s "(cached) " >&6
   5233 else case e in #(
   5234   e) if test "x$host_alias" = x; then
   5235   ac_cv_host=$ac_cv_build
   5236 else
   5237   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5238     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5239 fi
   5240  ;;
   5241 esac
   5242 fi
   5243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5244 printf '%s\n' "$ac_cv_host" >&6; }
   5245 case $ac_cv_host in
   5246 *-*-*) ;;
   5247 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5248 esac
   5249 host=$ac_cv_host
   5250 ac_save_IFS=$IFS; IFS='-'
   5251 set x $ac_cv_host
   5252 shift
   5253 host_cpu=$1
   5254 host_vendor=$2
   5255 shift; shift
   5256 # Remember, the first character of IFS is used to create $*,
   5257 # except with old shells:
   5258 host_os=$*
   5259 IFS=$ac_save_IFS
   5260 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5261 
   5262 
   5263 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5264 printf %s "checking for a sed that does not truncate output... " >&6; }
   5265 if test ${ac_cv_path_SED+y}
   5266 then :
   5267   printf %s "(cached) " >&6
   5268 else case e in #(
   5269   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5270      for ac_i in 1 2 3 4 5 6 7; do
   5271        ac_script="$ac_script$as_nl$ac_script"
   5272      done
   5273      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5274      { ac_script=; unset ac_script;}
   5275      if test -z "$SED"; then
   5276   ac_path_SED_found=false
   5277   # Loop through the user's path and test for each of PROGNAME-LIST
   5278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5279 for as_dir in $PATH
   5280 do
   5281   IFS=$as_save_IFS
   5282   case $as_dir in #(((
   5283     '') as_dir=./ ;;
   5284     */) ;;
   5285     *) as_dir=$as_dir/ ;;
   5286   esac
   5287     for ac_prog in sed gsed
   5288    do
   5289     for ac_exec_ext in '' $ac_executable_extensions; do
   5290       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5291       as_fn_executable_p "$ac_path_SED" || continue
   5292 # Check for GNU ac_path_SED and select it if it is found.
   5293   # Check for GNU $ac_path_SED
   5294 case `"$ac_path_SED" --version 2>&1` in #(
   5295 *GNU*)
   5296   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5297 #(
   5298 *)
   5299   ac_count=0
   5300   printf %s 0123456789 >"conftest.in"
   5301   while :
   5302   do
   5303     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5304     mv "conftest.tmp" "conftest.in"
   5305     cp "conftest.in" "conftest.nl"
   5306     printf '%s\n' '' >> "conftest.nl"
   5307     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5308     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5309     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5310     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5311       # Best one so far, save it but keep looking for a better one
   5312       ac_cv_path_SED="$ac_path_SED"
   5313       ac_path_SED_max=$ac_count
   5314     fi
   5315     # 10*(2^10) chars as input seems more than enough
   5316     test $ac_count -gt 10 && break
   5317   done
   5318   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5319 esac
   5320 
   5321       $ac_path_SED_found && break 3
   5322     done
   5323   done
   5324   done
   5325 IFS=$as_save_IFS
   5326   if test -z "$ac_cv_path_SED"; then
   5327     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5328   fi
   5329 else
   5330   ac_cv_path_SED=$SED
   5331 fi
   5332  ;;
   5333 esac
   5334 fi
   5335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5336 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5337  SED="$ac_cv_path_SED"
   5338   rm -f conftest.sed
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 # Check whether --enable-selective-werror was given.
   5346 if test ${enable_selective_werror+y}
   5347 then :
   5348   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5349 else case e in #(
   5350   e) SELECTIVE_WERROR=yes ;;
   5351 esac
   5352 fi
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5359 if test "x$SUNCC" = "xyes"; then
   5360     BASE_CFLAGS="-v"
   5361 else
   5362     BASE_CFLAGS=""
   5363 fi
   5364 
   5365 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 xorg_testset_save_CFLAGS="$CFLAGS"
   5380 
   5381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5384 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5385 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5386 then :
   5387   printf %s "(cached) " >&6
   5388 else case e in #(
   5389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5390 /* end confdefs.h.  */
   5391 int i;
   5392 _ACEOF
   5393 if ac_fn_c_try_compile "$LINENO"
   5394 then :
   5395   xorg_cv_cc_flag_unknown_warning_option=yes
   5396 else case e in #(
   5397   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5398 esac
   5399 fi
   5400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5401 esac
   5402 fi
   5403 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5404 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5406 	CFLAGS="$xorg_testset_save_CFLAGS"
   5407 fi
   5408 
   5409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 	fi
   5413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5414 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5417 then :
   5418   printf %s "(cached) " >&6
   5419 else case e in #(
   5420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 _ACEOF
   5424 if ac_fn_c_try_compile "$LINENO"
   5425 then :
   5426   xorg_cv_cc_flag_unused_command_line_argument=yes
   5427 else case e in #(
   5428   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5429 esac
   5430 fi
   5431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5432 esac
   5433 fi
   5434 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5435 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5437 	CFLAGS="$xorg_testset_save_CFLAGS"
   5438 fi
   5439 
   5440 found="no"
   5441 
   5442 	if test $found = "no" ; then
   5443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5445 		fi
   5446 
   5447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5449 		fi
   5450 
   5451 		CFLAGS="$CFLAGS -Wall"
   5452 
   5453 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5454 printf %s "checking if $CC supports -Wall... " >&6; }
   5455 		cacheid=xorg_cv_cc_flag__Wall
   5456 		if eval test \${$cacheid+y}
   5457 then :
   5458   printf %s "(cached) " >&6
   5459 else case e in #(
   5460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 int
   5464 main (void)
   5465 {
   5466 
   5467   ;
   5468   return 0;
   5469 }
   5470 _ACEOF
   5471 if ac_fn_c_try_link "$LINENO"
   5472 then :
   5473   eval $cacheid=yes
   5474 else case e in #(
   5475   e) eval $cacheid=no ;;
   5476 esac
   5477 fi
   5478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5479     conftest$ac_exeext conftest.$ac_ext ;;
   5480 esac
   5481 fi
   5482 
   5483 
   5484 		CFLAGS="$xorg_testset_save_CFLAGS"
   5485 
   5486 		eval supported=\$$cacheid
   5487 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5488 printf '%s\n' "$supported" >&6; }
   5489 		if test "$supported" = "yes" ; then
   5490 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5491 			found="yes"
   5492 		fi
   5493 	fi
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 xorg_testset_save_CFLAGS="$CFLAGS"
   5510 
   5511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5513 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5514 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5515 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5516 then :
   5517   printf %s "(cached) " >&6
   5518 else case e in #(
   5519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5520 /* end confdefs.h.  */
   5521 int i;
   5522 _ACEOF
   5523 if ac_fn_c_try_compile "$LINENO"
   5524 then :
   5525   xorg_cv_cc_flag_unknown_warning_option=yes
   5526 else case e in #(
   5527   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5528 esac
   5529 fi
   5530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5531 esac
   5532 fi
   5533 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5534 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5536 	CFLAGS="$xorg_testset_save_CFLAGS"
   5537 fi
   5538 
   5539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5542 	fi
   5543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5544 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5545 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5546 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5547 then :
   5548   printf %s "(cached) " >&6
   5549 else case e in #(
   5550   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"
   5555 then :
   5556   xorg_cv_cc_flag_unused_command_line_argument=yes
   5557 else case e in #(
   5558   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5559 esac
   5560 fi
   5561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5562 esac
   5563 fi
   5564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5565 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5567 	CFLAGS="$xorg_testset_save_CFLAGS"
   5568 fi
   5569 
   5570 found="no"
   5571 
   5572 	if test $found = "no" ; then
   5573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5575 		fi
   5576 
   5577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5579 		fi
   5580 
   5581 		CFLAGS="$CFLAGS -Wpointer-arith"
   5582 
   5583 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5584 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5585 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5586 		if eval test \${$cacheid+y}
   5587 then :
   5588   printf %s "(cached) " >&6
   5589 else case e in #(
   5590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 int
   5594 main (void)
   5595 {
   5596 
   5597   ;
   5598   return 0;
   5599 }
   5600 _ACEOF
   5601 if ac_fn_c_try_link "$LINENO"
   5602 then :
   5603   eval $cacheid=yes
   5604 else case e in #(
   5605   e) eval $cacheid=no ;;
   5606 esac
   5607 fi
   5608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5609     conftest$ac_exeext conftest.$ac_ext ;;
   5610 esac
   5611 fi
   5612 
   5613 
   5614 		CFLAGS="$xorg_testset_save_CFLAGS"
   5615 
   5616 		eval supported=\$$cacheid
   5617 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5618 printf '%s\n' "$supported" >&6; }
   5619 		if test "$supported" = "yes" ; then
   5620 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5621 			found="yes"
   5622 		fi
   5623 	fi
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 xorg_testset_save_CFLAGS="$CFLAGS"
   5640 
   5641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5643 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5644 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5645 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5646 then :
   5647   printf %s "(cached) " >&6
   5648 else case e in #(
   5649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5650 /* end confdefs.h.  */
   5651 int i;
   5652 _ACEOF
   5653 if ac_fn_c_try_compile "$LINENO"
   5654 then :
   5655   xorg_cv_cc_flag_unknown_warning_option=yes
   5656 else case e in #(
   5657   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5658 esac
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5661 esac
   5662 fi
   5663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5664 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5666 	CFLAGS="$xorg_testset_save_CFLAGS"
   5667 fi
   5668 
   5669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 	fi
   5673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5674 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5675 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5676 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5677 then :
   5678   printf %s "(cached) " >&6
   5679 else case e in #(
   5680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5681 /* end confdefs.h.  */
   5682 int i;
   5683 _ACEOF
   5684 if ac_fn_c_try_compile "$LINENO"
   5685 then :
   5686   xorg_cv_cc_flag_unused_command_line_argument=yes
   5687 else case e in #(
   5688   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5689 esac
   5690 fi
   5691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5692 esac
   5693 fi
   5694 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5695 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5697 	CFLAGS="$xorg_testset_save_CFLAGS"
   5698 fi
   5699 
   5700 found="no"
   5701 
   5702 	if test $found = "no" ; then
   5703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 		fi
   5706 
   5707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5709 		fi
   5710 
   5711 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5712 
   5713 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5714 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5715 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5716 		if eval test \${$cacheid+y}
   5717 then :
   5718   printf %s "(cached) " >&6
   5719 else case e in #(
   5720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 int i;
   5723 int
   5724 main (void)
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 if ac_fn_c_try_link "$LINENO"
   5732 then :
   5733   eval $cacheid=yes
   5734 else case e in #(
   5735   e) eval $cacheid=no ;;
   5736 esac
   5737 fi
   5738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5739     conftest$ac_exeext conftest.$ac_ext ;;
   5740 esac
   5741 fi
   5742 
   5743 
   5744 		CFLAGS="$xorg_testset_save_CFLAGS"
   5745 
   5746 		eval supported=\$$cacheid
   5747 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5748 printf '%s\n' "$supported" >&6; }
   5749 		if test "$supported" = "yes" ; then
   5750 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5751 			found="yes"
   5752 		fi
   5753 	fi
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 xorg_testset_save_CFLAGS="$CFLAGS"
   5770 
   5771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5773 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5774 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5775 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5776 then :
   5777   printf %s "(cached) " >&6
   5778 else case e in #(
   5779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 _ACEOF
   5783 if ac_fn_c_try_compile "$LINENO"
   5784 then :
   5785   xorg_cv_cc_flag_unknown_warning_option=yes
   5786 else case e in #(
   5787   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5788 esac
   5789 fi
   5790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5791 esac
   5792 fi
   5793 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5794 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5796 	CFLAGS="$xorg_testset_save_CFLAGS"
   5797 fi
   5798 
   5799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5802 	fi
   5803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5804 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5805 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5806 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5807 then :
   5808   printf %s "(cached) " >&6
   5809 else case e in #(
   5810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5811 /* end confdefs.h.  */
   5812 int i;
   5813 _ACEOF
   5814 if ac_fn_c_try_compile "$LINENO"
   5815 then :
   5816   xorg_cv_cc_flag_unused_command_line_argument=yes
   5817 else case e in #(
   5818   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5819 esac
   5820 fi
   5821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5822 esac
   5823 fi
   5824 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5825 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5827 	CFLAGS="$xorg_testset_save_CFLAGS"
   5828 fi
   5829 
   5830 found="no"
   5831 
   5832 	if test $found = "no" ; then
   5833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5835 		fi
   5836 
   5837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5839 		fi
   5840 
   5841 		CFLAGS="$CFLAGS -Wformat=2"
   5842 
   5843 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5844 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5845 		cacheid=xorg_cv_cc_flag__Wformat_2
   5846 		if eval test \${$cacheid+y}
   5847 then :
   5848   printf %s "(cached) " >&6
   5849 else case e in #(
   5850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 int
   5854 main (void)
   5855 {
   5856 
   5857   ;
   5858   return 0;
   5859 }
   5860 _ACEOF
   5861 if ac_fn_c_try_link "$LINENO"
   5862 then :
   5863   eval $cacheid=yes
   5864 else case e in #(
   5865   e) eval $cacheid=no ;;
   5866 esac
   5867 fi
   5868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5869     conftest$ac_exeext conftest.$ac_ext ;;
   5870 esac
   5871 fi
   5872 
   5873 
   5874 		CFLAGS="$xorg_testset_save_CFLAGS"
   5875 
   5876 		eval supported=\$$cacheid
   5877 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5878 printf '%s\n' "$supported" >&6; }
   5879 		if test "$supported" = "yes" ; then
   5880 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5881 			found="yes"
   5882 		fi
   5883 	fi
   5884 
   5885 	if test $found = "no" ; then
   5886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 		fi
   5889 
   5890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5892 		fi
   5893 
   5894 		CFLAGS="$CFLAGS -Wformat"
   5895 
   5896 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5897 printf %s "checking if $CC supports -Wformat... " >&6; }
   5898 		cacheid=xorg_cv_cc_flag__Wformat
   5899 		if eval test \${$cacheid+y}
   5900 then :
   5901   printf %s "(cached) " >&6
   5902 else case e in #(
   5903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5904 /* end confdefs.h.  */
   5905 int i;
   5906 int
   5907 main (void)
   5908 {
   5909 
   5910   ;
   5911   return 0;
   5912 }
   5913 _ACEOF
   5914 if ac_fn_c_try_link "$LINENO"
   5915 then :
   5916   eval $cacheid=yes
   5917 else case e in #(
   5918   e) eval $cacheid=no ;;
   5919 esac
   5920 fi
   5921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5922     conftest$ac_exeext conftest.$ac_ext ;;
   5923 esac
   5924 fi
   5925 
   5926 
   5927 		CFLAGS="$xorg_testset_save_CFLAGS"
   5928 
   5929 		eval supported=\$$cacheid
   5930 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5931 printf '%s\n' "$supported" >&6; }
   5932 		if test "$supported" = "yes" ; then
   5933 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5934 			found="yes"
   5935 		fi
   5936 	fi
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 xorg_testset_save_CFLAGS="$CFLAGS"
   5955 
   5956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5958 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5959 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5960 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5961 then :
   5962   printf %s "(cached) " >&6
   5963 else case e in #(
   5964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5965 /* end confdefs.h.  */
   5966 int i;
   5967 _ACEOF
   5968 if ac_fn_c_try_compile "$LINENO"
   5969 then :
   5970   xorg_cv_cc_flag_unknown_warning_option=yes
   5971 else case e in #(
   5972   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5973 esac
   5974 fi
   5975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5976 esac
   5977 fi
   5978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5979 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5981 	CFLAGS="$xorg_testset_save_CFLAGS"
   5982 fi
   5983 
   5984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5987 	fi
   5988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5989 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5990 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5991 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5992 then :
   5993   printf %s "(cached) " >&6
   5994 else case e in #(
   5995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5996 /* end confdefs.h.  */
   5997 int i;
   5998 _ACEOF
   5999 if ac_fn_c_try_compile "$LINENO"
   6000 then :
   6001   xorg_cv_cc_flag_unused_command_line_argument=yes
   6002 else case e in #(
   6003   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6004 esac
   6005 fi
   6006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6007 esac
   6008 fi
   6009 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6010 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6012 	CFLAGS="$xorg_testset_save_CFLAGS"
   6013 fi
   6014 
   6015 found="no"
   6016 
   6017 	if test $found = "no" ; then
   6018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6020 		fi
   6021 
   6022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6024 		fi
   6025 
   6026 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6027 
   6028 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6029 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6030 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6031 		if eval test \${$cacheid+y}
   6032 then :
   6033   printf %s "(cached) " >&6
   6034 else case e in #(
   6035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6036 /* end confdefs.h.  */
   6037 int i;
   6038 int
   6039 main (void)
   6040 {
   6041 
   6042   ;
   6043   return 0;
   6044 }
   6045 _ACEOF
   6046 if ac_fn_c_try_link "$LINENO"
   6047 then :
   6048   eval $cacheid=yes
   6049 else case e in #(
   6050   e) eval $cacheid=no ;;
   6051 esac
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6054     conftest$ac_exeext conftest.$ac_ext ;;
   6055 esac
   6056 fi
   6057 
   6058 
   6059 		CFLAGS="$xorg_testset_save_CFLAGS"
   6060 
   6061 		eval supported=\$$cacheid
   6062 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6063 printf '%s\n' "$supported" >&6; }
   6064 		if test "$supported" = "yes" ; then
   6065 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6066 			found="yes"
   6067 		fi
   6068 	fi
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 xorg_testset_save_CFLAGS="$CFLAGS"
   6085 
   6086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6088 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6089 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6090 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6091 then :
   6092   printf %s "(cached) " >&6
   6093 else case e in #(
   6094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6095 /* end confdefs.h.  */
   6096 int i;
   6097 _ACEOF
   6098 if ac_fn_c_try_compile "$LINENO"
   6099 then :
   6100   xorg_cv_cc_flag_unknown_warning_option=yes
   6101 else case e in #(
   6102   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6103 esac
   6104 fi
   6105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6106 esac
   6107 fi
   6108 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6109 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6111 	CFLAGS="$xorg_testset_save_CFLAGS"
   6112 fi
   6113 
   6114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6117 	fi
   6118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6119 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6120 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6121 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6122 then :
   6123   printf %s "(cached) " >&6
   6124 else case e in #(
   6125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6126 /* end confdefs.h.  */
   6127 int i;
   6128 _ACEOF
   6129 if ac_fn_c_try_compile "$LINENO"
   6130 then :
   6131   xorg_cv_cc_flag_unused_command_line_argument=yes
   6132 else case e in #(
   6133   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6134 esac
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6137 esac
   6138 fi
   6139 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6140 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6142 	CFLAGS="$xorg_testset_save_CFLAGS"
   6143 fi
   6144 
   6145 found="no"
   6146 
   6147 	if test $found = "no" ; then
   6148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6150 		fi
   6151 
   6152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6154 		fi
   6155 
   6156 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6157 
   6158 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6159 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6160 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6161 		if eval test \${$cacheid+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else case e in #(
   6165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 int
   6169 main (void)
   6170 {
   6171 
   6172   ;
   6173   return 0;
   6174 }
   6175 _ACEOF
   6176 if ac_fn_c_try_link "$LINENO"
   6177 then :
   6178   eval $cacheid=yes
   6179 else case e in #(
   6180   e) eval $cacheid=no ;;
   6181 esac
   6182 fi
   6183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6184     conftest$ac_exeext conftest.$ac_ext ;;
   6185 esac
   6186 fi
   6187 
   6188 
   6189 		CFLAGS="$xorg_testset_save_CFLAGS"
   6190 
   6191 		eval supported=\$$cacheid
   6192 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6193 printf '%s\n' "$supported" >&6; }
   6194 		if test "$supported" = "yes" ; then
   6195 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6196 			found="yes"
   6197 		fi
   6198 	fi
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 xorg_testset_save_CFLAGS="$CFLAGS"
   6215 
   6216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6218 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6221 then :
   6222   printf %s "(cached) " >&6
   6223 else case e in #(
   6224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6225 /* end confdefs.h.  */
   6226 int i;
   6227 _ACEOF
   6228 if ac_fn_c_try_compile "$LINENO"
   6229 then :
   6230   xorg_cv_cc_flag_unknown_warning_option=yes
   6231 else case e in #(
   6232   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6233 esac
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6236 esac
   6237 fi
   6238 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6239 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6241 	CFLAGS="$xorg_testset_save_CFLAGS"
   6242 fi
   6243 
   6244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 	fi
   6248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6249 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6250 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6251 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6252 then :
   6253   printf %s "(cached) " >&6
   6254 else case e in #(
   6255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 _ACEOF
   6259 if ac_fn_c_try_compile "$LINENO"
   6260 then :
   6261   xorg_cv_cc_flag_unused_command_line_argument=yes
   6262 else case e in #(
   6263   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6264 esac
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6267 esac
   6268 fi
   6269 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6270 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6272 	CFLAGS="$xorg_testset_save_CFLAGS"
   6273 fi
   6274 
   6275 found="no"
   6276 
   6277 	if test $found = "no" ; then
   6278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6280 		fi
   6281 
   6282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6284 		fi
   6285 
   6286 		CFLAGS="$CFLAGS -Wnested-externs"
   6287 
   6288 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6289 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6290 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6291 		if eval test \${$cacheid+y}
   6292 then :
   6293   printf %s "(cached) " >&6
   6294 else case e in #(
   6295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6296 /* end confdefs.h.  */
   6297 int i;
   6298 int
   6299 main (void)
   6300 {
   6301 
   6302   ;
   6303   return 0;
   6304 }
   6305 _ACEOF
   6306 if ac_fn_c_try_link "$LINENO"
   6307 then :
   6308   eval $cacheid=yes
   6309 else case e in #(
   6310   e) eval $cacheid=no ;;
   6311 esac
   6312 fi
   6313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6314     conftest$ac_exeext conftest.$ac_ext ;;
   6315 esac
   6316 fi
   6317 
   6318 
   6319 		CFLAGS="$xorg_testset_save_CFLAGS"
   6320 
   6321 		eval supported=\$$cacheid
   6322 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6323 printf '%s\n' "$supported" >&6; }
   6324 		if test "$supported" = "yes" ; then
   6325 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6326 			found="yes"
   6327 		fi
   6328 	fi
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 xorg_testset_save_CFLAGS="$CFLAGS"
   6345 
   6346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6349 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6350 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6351 then :
   6352   printf %s "(cached) " >&6
   6353 else case e in #(
   6354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6355 /* end confdefs.h.  */
   6356 int i;
   6357 _ACEOF
   6358 if ac_fn_c_try_compile "$LINENO"
   6359 then :
   6360   xorg_cv_cc_flag_unknown_warning_option=yes
   6361 else case e in #(
   6362   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6363 esac
   6364 fi
   6365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6366 esac
   6367 fi
   6368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6369 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6371 	CFLAGS="$xorg_testset_save_CFLAGS"
   6372 fi
   6373 
   6374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 	fi
   6378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6379 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6380 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6381 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6382 then :
   6383   printf %s "(cached) " >&6
   6384 else case e in #(
   6385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6386 /* end confdefs.h.  */
   6387 int i;
   6388 _ACEOF
   6389 if ac_fn_c_try_compile "$LINENO"
   6390 then :
   6391   xorg_cv_cc_flag_unused_command_line_argument=yes
   6392 else case e in #(
   6393   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6394 esac
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6397 esac
   6398 fi
   6399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6400 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6402 	CFLAGS="$xorg_testset_save_CFLAGS"
   6403 fi
   6404 
   6405 found="no"
   6406 
   6407 	if test $found = "no" ; then
   6408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6410 		fi
   6411 
   6412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6414 		fi
   6415 
   6416 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6417 
   6418 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6419 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6420 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6421 		if eval test \${$cacheid+y}
   6422 then :
   6423   printf %s "(cached) " >&6
   6424 else case e in #(
   6425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6426 /* end confdefs.h.  */
   6427 int i;
   6428 int
   6429 main (void)
   6430 {
   6431 
   6432   ;
   6433   return 0;
   6434 }
   6435 _ACEOF
   6436 if ac_fn_c_try_link "$LINENO"
   6437 then :
   6438   eval $cacheid=yes
   6439 else case e in #(
   6440   e) eval $cacheid=no ;;
   6441 esac
   6442 fi
   6443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6444     conftest$ac_exeext conftest.$ac_ext ;;
   6445 esac
   6446 fi
   6447 
   6448 
   6449 		CFLAGS="$xorg_testset_save_CFLAGS"
   6450 
   6451 		eval supported=\$$cacheid
   6452 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6453 printf '%s\n' "$supported" >&6; }
   6454 		if test "$supported" = "yes" ; then
   6455 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6456 			found="yes"
   6457 		fi
   6458 	fi
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 xorg_testset_save_CFLAGS="$CFLAGS"
   6475 
   6476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6478 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6479 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6480 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6481 then :
   6482   printf %s "(cached) " >&6
   6483 else case e in #(
   6484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6485 /* end confdefs.h.  */
   6486 int i;
   6487 _ACEOF
   6488 if ac_fn_c_try_compile "$LINENO"
   6489 then :
   6490   xorg_cv_cc_flag_unknown_warning_option=yes
   6491 else case e in #(
   6492   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6493 esac
   6494 fi
   6495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6496 esac
   6497 fi
   6498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6499 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6501 	CFLAGS="$xorg_testset_save_CFLAGS"
   6502 fi
   6503 
   6504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6507 	fi
   6508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6509 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6512 then :
   6513   printf %s "(cached) " >&6
   6514 else case e in #(
   6515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"
   6520 then :
   6521   xorg_cv_cc_flag_unused_command_line_argument=yes
   6522 else case e in #(
   6523   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6524 esac
   6525 fi
   6526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6527 esac
   6528 fi
   6529 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6530 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6532 	CFLAGS="$xorg_testset_save_CFLAGS"
   6533 fi
   6534 
   6535 found="no"
   6536 
   6537 	if test $found = "no" ; then
   6538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 		fi
   6541 
   6542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6544 		fi
   6545 
   6546 		CFLAGS="$CFLAGS -Wold-style-definition"
   6547 
   6548 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6549 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6550 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6551 		if eval test \${$cacheid+y}
   6552 then :
   6553   printf %s "(cached) " >&6
   6554 else case e in #(
   6555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 int
   6559 main (void)
   6560 {
   6561 
   6562   ;
   6563   return 0;
   6564 }
   6565 _ACEOF
   6566 if ac_fn_c_try_link "$LINENO"
   6567 then :
   6568   eval $cacheid=yes
   6569 else case e in #(
   6570   e) eval $cacheid=no ;;
   6571 esac
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6574     conftest$ac_exeext conftest.$ac_ext ;;
   6575 esac
   6576 fi
   6577 
   6578 
   6579 		CFLAGS="$xorg_testset_save_CFLAGS"
   6580 
   6581 		eval supported=\$$cacheid
   6582 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6583 printf '%s\n' "$supported" >&6; }
   6584 		if test "$supported" = "yes" ; then
   6585 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6586 			found="yes"
   6587 		fi
   6588 	fi
   6589 
   6590 	if test $found = "no" ; then
   6591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 		fi
   6594 
   6595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6597 		fi
   6598 
   6599 		CFLAGS="$CFLAGS -fd"
   6600 
   6601 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6602 printf %s "checking if $CC supports -fd... " >&6; }
   6603 		cacheid=xorg_cv_cc_flag__fd
   6604 		if eval test \${$cacheid+y}
   6605 then :
   6606   printf %s "(cached) " >&6
   6607 else case e in #(
   6608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 int
   6612 main (void)
   6613 {
   6614 
   6615   ;
   6616   return 0;
   6617 }
   6618 _ACEOF
   6619 if ac_fn_c_try_link "$LINENO"
   6620 then :
   6621   eval $cacheid=yes
   6622 else case e in #(
   6623   e) eval $cacheid=no ;;
   6624 esac
   6625 fi
   6626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6627     conftest$ac_exeext conftest.$ac_ext ;;
   6628 esac
   6629 fi
   6630 
   6631 
   6632 		CFLAGS="$xorg_testset_save_CFLAGS"
   6633 
   6634 		eval supported=\$$cacheid
   6635 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6636 printf '%s\n' "$supported" >&6; }
   6637 		if test "$supported" = "yes" ; then
   6638 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6639 			found="yes"
   6640 		fi
   6641 	fi
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 # This chunk adds additional warnings that could catch undesired effects.
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 xorg_testset_save_CFLAGS="$CFLAGS"
   6662 
   6663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6665 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6666 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6667 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6668 then :
   6669   printf %s "(cached) " >&6
   6670 else case e in #(
   6671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6672 /* end confdefs.h.  */
   6673 int i;
   6674 _ACEOF
   6675 if ac_fn_c_try_compile "$LINENO"
   6676 then :
   6677   xorg_cv_cc_flag_unknown_warning_option=yes
   6678 else case e in #(
   6679   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6680 esac
   6681 fi
   6682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6683 esac
   6684 fi
   6685 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6686 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6688 	CFLAGS="$xorg_testset_save_CFLAGS"
   6689 fi
   6690 
   6691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 	fi
   6695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6696 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6697 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6698 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6699 then :
   6700   printf %s "(cached) " >&6
   6701 else case e in #(
   6702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 _ACEOF
   6706 if ac_fn_c_try_compile "$LINENO"
   6707 then :
   6708   xorg_cv_cc_flag_unused_command_line_argument=yes
   6709 else case e in #(
   6710   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6711 esac
   6712 fi
   6713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6714 esac
   6715 fi
   6716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6717 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6719 	CFLAGS="$xorg_testset_save_CFLAGS"
   6720 fi
   6721 
   6722 found="no"
   6723 
   6724 	if test $found = "no" ; then
   6725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6727 		fi
   6728 
   6729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6731 		fi
   6732 
   6733 		CFLAGS="$CFLAGS -Wunused"
   6734 
   6735 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6736 printf %s "checking if $CC supports -Wunused... " >&6; }
   6737 		cacheid=xorg_cv_cc_flag__Wunused
   6738 		if eval test \${$cacheid+y}
   6739 then :
   6740   printf %s "(cached) " >&6
   6741 else case e in #(
   6742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6743 /* end confdefs.h.  */
   6744 int i;
   6745 int
   6746 main (void)
   6747 {
   6748 
   6749   ;
   6750   return 0;
   6751 }
   6752 _ACEOF
   6753 if ac_fn_c_try_link "$LINENO"
   6754 then :
   6755   eval $cacheid=yes
   6756 else case e in #(
   6757   e) eval $cacheid=no ;;
   6758 esac
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6761     conftest$ac_exeext conftest.$ac_ext ;;
   6762 esac
   6763 fi
   6764 
   6765 
   6766 		CFLAGS="$xorg_testset_save_CFLAGS"
   6767 
   6768 		eval supported=\$$cacheid
   6769 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6770 printf '%s\n' "$supported" >&6; }
   6771 		if test "$supported" = "yes" ; then
   6772 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6773 			found="yes"
   6774 		fi
   6775 	fi
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6798 then :
   6799   printf %s "(cached) " >&6
   6800 else case e in #(
   6801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6802 /* end confdefs.h.  */
   6803 int i;
   6804 _ACEOF
   6805 if ac_fn_c_try_compile "$LINENO"
   6806 then :
   6807   xorg_cv_cc_flag_unknown_warning_option=yes
   6808 else case e in #(
   6809   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6810 esac
   6811 fi
   6812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6813 esac
   6814 fi
   6815 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6816 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6818 	CFLAGS="$xorg_testset_save_CFLAGS"
   6819 fi
   6820 
   6821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 	fi
   6825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6829 then :
   6830   printf %s "(cached) " >&6
   6831 else case e in #(
   6832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 _ACEOF
   6836 if ac_fn_c_try_compile "$LINENO"
   6837 then :
   6838   xorg_cv_cc_flag_unused_command_line_argument=yes
   6839 else case e in #(
   6840   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6841 esac
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6844 esac
   6845 fi
   6846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6847 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6849 	CFLAGS="$xorg_testset_save_CFLAGS"
   6850 fi
   6851 
   6852 found="no"
   6853 
   6854 	if test $found = "no" ; then
   6855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6857 		fi
   6858 
   6859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6861 		fi
   6862 
   6863 		CFLAGS="$CFLAGS -Wuninitialized"
   6864 
   6865 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6866 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6867 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6868 		if eval test \${$cacheid+y}
   6869 then :
   6870   printf %s "(cached) " >&6
   6871 else case e in #(
   6872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6873 /* end confdefs.h.  */
   6874 int i;
   6875 int
   6876 main (void)
   6877 {
   6878 
   6879   ;
   6880   return 0;
   6881 }
   6882 _ACEOF
   6883 if ac_fn_c_try_link "$LINENO"
   6884 then :
   6885   eval $cacheid=yes
   6886 else case e in #(
   6887   e) eval $cacheid=no ;;
   6888 esac
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6891     conftest$ac_exeext conftest.$ac_ext ;;
   6892 esac
   6893 fi
   6894 
   6895 
   6896 		CFLAGS="$xorg_testset_save_CFLAGS"
   6897 
   6898 		eval supported=\$$cacheid
   6899 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6900 printf '%s\n' "$supported" >&6; }
   6901 		if test "$supported" = "yes" ; then
   6902 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6903 			found="yes"
   6904 		fi
   6905 	fi
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 xorg_testset_save_CFLAGS="$CFLAGS"
   6922 
   6923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6925 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6926 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6927 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6928 then :
   6929   printf %s "(cached) " >&6
   6930 else case e in #(
   6931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6932 /* end confdefs.h.  */
   6933 int i;
   6934 _ACEOF
   6935 if ac_fn_c_try_compile "$LINENO"
   6936 then :
   6937   xorg_cv_cc_flag_unknown_warning_option=yes
   6938 else case e in #(
   6939   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6940 esac
   6941 fi
   6942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6943 esac
   6944 fi
   6945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6946 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6948 	CFLAGS="$xorg_testset_save_CFLAGS"
   6949 fi
   6950 
   6951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6954 	fi
   6955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6956 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6957 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6958 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6959 then :
   6960   printf %s "(cached) " >&6
   6961 else case e in #(
   6962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6963 /* end confdefs.h.  */
   6964 int i;
   6965 _ACEOF
   6966 if ac_fn_c_try_compile "$LINENO"
   6967 then :
   6968   xorg_cv_cc_flag_unused_command_line_argument=yes
   6969 else case e in #(
   6970   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6971 esac
   6972 fi
   6973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6974 esac
   6975 fi
   6976 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6977 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6979 	CFLAGS="$xorg_testset_save_CFLAGS"
   6980 fi
   6981 
   6982 found="no"
   6983 
   6984 	if test $found = "no" ; then
   6985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 		fi
   6988 
   6989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6991 		fi
   6992 
   6993 		CFLAGS="$CFLAGS -Wshadow"
   6994 
   6995 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6996 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6997 		cacheid=xorg_cv_cc_flag__Wshadow
   6998 		if eval test \${$cacheid+y}
   6999 then :
   7000   printf %s "(cached) " >&6
   7001 else case e in #(
   7002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7003 /* end confdefs.h.  */
   7004 int i;
   7005 int
   7006 main (void)
   7007 {
   7008 
   7009   ;
   7010   return 0;
   7011 }
   7012 _ACEOF
   7013 if ac_fn_c_try_link "$LINENO"
   7014 then :
   7015   eval $cacheid=yes
   7016 else case e in #(
   7017   e) eval $cacheid=no ;;
   7018 esac
   7019 fi
   7020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7021     conftest$ac_exeext conftest.$ac_ext ;;
   7022 esac
   7023 fi
   7024 
   7025 
   7026 		CFLAGS="$xorg_testset_save_CFLAGS"
   7027 
   7028 		eval supported=\$$cacheid
   7029 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7030 printf '%s\n' "$supported" >&6; }
   7031 		if test "$supported" = "yes" ; then
   7032 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7033 			found="yes"
   7034 		fi
   7035 	fi
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 xorg_testset_save_CFLAGS="$CFLAGS"
   7052 
   7053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7055 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7056 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7057 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7058 then :
   7059   printf %s "(cached) " >&6
   7060 else case e in #(
   7061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7062 /* end confdefs.h.  */
   7063 int i;
   7064 _ACEOF
   7065 if ac_fn_c_try_compile "$LINENO"
   7066 then :
   7067   xorg_cv_cc_flag_unknown_warning_option=yes
   7068 else case e in #(
   7069   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7070 esac
   7071 fi
   7072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7073 esac
   7074 fi
   7075 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7076 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7078 	CFLAGS="$xorg_testset_save_CFLAGS"
   7079 fi
   7080 
   7081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7084 	fi
   7085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7086 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7087 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7088 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7089 then :
   7090   printf %s "(cached) " >&6
   7091 else case e in #(
   7092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7093 /* end confdefs.h.  */
   7094 int i;
   7095 _ACEOF
   7096 if ac_fn_c_try_compile "$LINENO"
   7097 then :
   7098   xorg_cv_cc_flag_unused_command_line_argument=yes
   7099 else case e in #(
   7100   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7101 esac
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7104 esac
   7105 fi
   7106 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7107 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7109 	CFLAGS="$xorg_testset_save_CFLAGS"
   7110 fi
   7111 
   7112 found="no"
   7113 
   7114 	if test $found = "no" ; then
   7115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 		fi
   7118 
   7119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7121 		fi
   7122 
   7123 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7124 
   7125 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7126 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7127 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7128 		if eval test \${$cacheid+y}
   7129 then :
   7130   printf %s "(cached) " >&6
   7131 else case e in #(
   7132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 int
   7136 main (void)
   7137 {
   7138 
   7139   ;
   7140   return 0;
   7141 }
   7142 _ACEOF
   7143 if ac_fn_c_try_link "$LINENO"
   7144 then :
   7145   eval $cacheid=yes
   7146 else case e in #(
   7147   e) eval $cacheid=no ;;
   7148 esac
   7149 fi
   7150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7151     conftest$ac_exeext conftest.$ac_ext ;;
   7152 esac
   7153 fi
   7154 
   7155 
   7156 		CFLAGS="$xorg_testset_save_CFLAGS"
   7157 
   7158 		eval supported=\$$cacheid
   7159 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7160 printf '%s\n' "$supported" >&6; }
   7161 		if test "$supported" = "yes" ; then
   7162 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7163 			found="yes"
   7164 		fi
   7165 	fi
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 xorg_testset_save_CFLAGS="$CFLAGS"
   7182 
   7183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7185 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7186 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7187 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7188 then :
   7189   printf %s "(cached) " >&6
   7190 else case e in #(
   7191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7192 /* end confdefs.h.  */
   7193 int i;
   7194 _ACEOF
   7195 if ac_fn_c_try_compile "$LINENO"
   7196 then :
   7197   xorg_cv_cc_flag_unknown_warning_option=yes
   7198 else case e in #(
   7199   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7200 esac
   7201 fi
   7202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7203 esac
   7204 fi
   7205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7206 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7208 	CFLAGS="$xorg_testset_save_CFLAGS"
   7209 fi
   7210 
   7211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7214 	fi
   7215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7216 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7217 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7218 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7219 then :
   7220   printf %s "(cached) " >&6
   7221 else case e in #(
   7222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"
   7227 then :
   7228   xorg_cv_cc_flag_unused_command_line_argument=yes
   7229 else case e in #(
   7230   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7231 esac
   7232 fi
   7233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7234 esac
   7235 fi
   7236 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7237 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7239 	CFLAGS="$xorg_testset_save_CFLAGS"
   7240 fi
   7241 
   7242 found="no"
   7243 
   7244 	if test $found = "no" ; then
   7245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 		fi
   7248 
   7249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7251 		fi
   7252 
   7253 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7254 
   7255 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7256 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7257 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7258 		if eval test \${$cacheid+y}
   7259 then :
   7260   printf %s "(cached) " >&6
   7261 else case e in #(
   7262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 int
   7266 main (void)
   7267 {
   7268 
   7269   ;
   7270   return 0;
   7271 }
   7272 _ACEOF
   7273 if ac_fn_c_try_link "$LINENO"
   7274 then :
   7275   eval $cacheid=yes
   7276 else case e in #(
   7277   e) eval $cacheid=no ;;
   7278 esac
   7279 fi
   7280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7281     conftest$ac_exeext conftest.$ac_ext ;;
   7282 esac
   7283 fi
   7284 
   7285 
   7286 		CFLAGS="$xorg_testset_save_CFLAGS"
   7287 
   7288 		eval supported=\$$cacheid
   7289 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7290 printf '%s\n' "$supported" >&6; }
   7291 		if test "$supported" = "yes" ; then
   7292 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7293 			found="yes"
   7294 		fi
   7295 	fi
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 xorg_testset_save_CFLAGS="$CFLAGS"
   7312 
   7313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7315 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7316 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7317 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7318 then :
   7319   printf %s "(cached) " >&6
   7320 else case e in #(
   7321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 int i;
   7324 _ACEOF
   7325 if ac_fn_c_try_compile "$LINENO"
   7326 then :
   7327   xorg_cv_cc_flag_unknown_warning_option=yes
   7328 else case e in #(
   7329   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7330 esac
   7331 fi
   7332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7333 esac
   7334 fi
   7335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7336 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7338 	CFLAGS="$xorg_testset_save_CFLAGS"
   7339 fi
   7340 
   7341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7344 	fi
   7345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7346 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7349 then :
   7350   printf %s "(cached) " >&6
   7351 else case e in #(
   7352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 _ACEOF
   7356 if ac_fn_c_try_compile "$LINENO"
   7357 then :
   7358   xorg_cv_cc_flag_unused_command_line_argument=yes
   7359 else case e in #(
   7360   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7361 esac
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7364 esac
   7365 fi
   7366 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7367 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7369 	CFLAGS="$xorg_testset_save_CFLAGS"
   7370 fi
   7371 
   7372 found="no"
   7373 
   7374 	if test $found = "no" ; then
   7375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 		fi
   7378 
   7379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7381 		fi
   7382 
   7383 		CFLAGS="$CFLAGS -Wredundant-decls"
   7384 
   7385 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7386 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7387 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7388 		if eval test \${$cacheid+y}
   7389 then :
   7390   printf %s "(cached) " >&6
   7391 else case e in #(
   7392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7393 /* end confdefs.h.  */
   7394 int i;
   7395 int
   7396 main (void)
   7397 {
   7398 
   7399   ;
   7400   return 0;
   7401 }
   7402 _ACEOF
   7403 if ac_fn_c_try_link "$LINENO"
   7404 then :
   7405   eval $cacheid=yes
   7406 else case e in #(
   7407   e) eval $cacheid=no ;;
   7408 esac
   7409 fi
   7410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7411     conftest$ac_exeext conftest.$ac_ext ;;
   7412 esac
   7413 fi
   7414 
   7415 
   7416 		CFLAGS="$xorg_testset_save_CFLAGS"
   7417 
   7418 		eval supported=\$$cacheid
   7419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7420 printf '%s\n' "$supported" >&6; }
   7421 		if test "$supported" = "yes" ; then
   7422 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7423 			found="yes"
   7424 		fi
   7425 	fi
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 xorg_testset_save_CFLAGS="$CFLAGS"
   7442 
   7443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7445 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7446 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7447 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7448 then :
   7449   printf %s "(cached) " >&6
   7450 else case e in #(
   7451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"
   7456 then :
   7457   xorg_cv_cc_flag_unknown_warning_option=yes
   7458 else case e in #(
   7459   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7460 esac
   7461 fi
   7462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7463 esac
   7464 fi
   7465 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7466 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7468 	CFLAGS="$xorg_testset_save_CFLAGS"
   7469 fi
   7470 
   7471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7474 	fi
   7475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7476 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7477 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7478 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7479 then :
   7480   printf %s "(cached) " >&6
   7481 else case e in #(
   7482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7483 /* end confdefs.h.  */
   7484 int i;
   7485 _ACEOF
   7486 if ac_fn_c_try_compile "$LINENO"
   7487 then :
   7488   xorg_cv_cc_flag_unused_command_line_argument=yes
   7489 else case e in #(
   7490   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7491 esac
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7494 esac
   7495 fi
   7496 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7497 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7499 	CFLAGS="$xorg_testset_save_CFLAGS"
   7500 fi
   7501 
   7502 found="no"
   7503 
   7504 	if test $found = "no" ; then
   7505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 		fi
   7508 
   7509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7511 		fi
   7512 
   7513 		CFLAGS="$CFLAGS -Wlogical-op"
   7514 
   7515 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7516 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7517 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7518 		if eval test \${$cacheid+y}
   7519 then :
   7520   printf %s "(cached) " >&6
   7521 else case e in #(
   7522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7523 /* end confdefs.h.  */
   7524 int i;
   7525 int
   7526 main (void)
   7527 {
   7528 
   7529   ;
   7530   return 0;
   7531 }
   7532 _ACEOF
   7533 if ac_fn_c_try_link "$LINENO"
   7534 then :
   7535   eval $cacheid=yes
   7536 else case e in #(
   7537   e) eval $cacheid=no ;;
   7538 esac
   7539 fi
   7540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7541     conftest$ac_exeext conftest.$ac_ext ;;
   7542 esac
   7543 fi
   7544 
   7545 
   7546 		CFLAGS="$xorg_testset_save_CFLAGS"
   7547 
   7548 		eval supported=\$$cacheid
   7549 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7550 printf '%s\n' "$supported" >&6; }
   7551 		if test "$supported" = "yes" ; then
   7552 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7553 			found="yes"
   7554 		fi
   7555 	fi
   7556 
   7557 
   7558 
   7559 # These are currently disabled because they are noisy.  They will be enabled
   7560 # in the future once the codebase is sufficiently modernized to silence
   7561 # them.  For now, I don't want them to drown out the other warnings.
   7562 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7563 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7564 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7565 
   7566 # Turn some warnings into errors, so we don't accidentally get successful builds
   7567 # when there are problems that should be fixed.
   7568 
   7569 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 xorg_testset_save_CFLAGS="$CFLAGS"
   7584 
   7585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7588 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7589 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7590 then :
   7591   printf %s "(cached) " >&6
   7592 else case e in #(
   7593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7594 /* end confdefs.h.  */
   7595 int i;
   7596 _ACEOF
   7597 if ac_fn_c_try_compile "$LINENO"
   7598 then :
   7599   xorg_cv_cc_flag_unknown_warning_option=yes
   7600 else case e in #(
   7601   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7602 esac
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7605 esac
   7606 fi
   7607 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7608 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7616 	fi
   7617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7618 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7619 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7620 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7621 then :
   7622   printf %s "(cached) " >&6
   7623 else case e in #(
   7624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7625 /* end confdefs.h.  */
   7626 int i;
   7627 _ACEOF
   7628 if ac_fn_c_try_compile "$LINENO"
   7629 then :
   7630   xorg_cv_cc_flag_unused_command_line_argument=yes
   7631 else case e in #(
   7632   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7633 esac
   7634 fi
   7635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7636 esac
   7637 fi
   7638 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7639 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7641 	CFLAGS="$xorg_testset_save_CFLAGS"
   7642 fi
   7643 
   7644 found="no"
   7645 
   7646 	if test $found = "no" ; then
   7647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7649 		fi
   7650 
   7651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7653 		fi
   7654 
   7655 		CFLAGS="$CFLAGS -Werror=implicit"
   7656 
   7657 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7658 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7659 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7660 		if eval test \${$cacheid+y}
   7661 then :
   7662   printf %s "(cached) " >&6
   7663 else case e in #(
   7664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7665 /* end confdefs.h.  */
   7666 int i;
   7667 int
   7668 main (void)
   7669 {
   7670 
   7671   ;
   7672   return 0;
   7673 }
   7674 _ACEOF
   7675 if ac_fn_c_try_link "$LINENO"
   7676 then :
   7677   eval $cacheid=yes
   7678 else case e in #(
   7679   e) eval $cacheid=no ;;
   7680 esac
   7681 fi
   7682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7683     conftest$ac_exeext conftest.$ac_ext ;;
   7684 esac
   7685 fi
   7686 
   7687 
   7688 		CFLAGS="$xorg_testset_save_CFLAGS"
   7689 
   7690 		eval supported=\$$cacheid
   7691 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7692 printf '%s\n' "$supported" >&6; }
   7693 		if test "$supported" = "yes" ; then
   7694 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7695 			found="yes"
   7696 		fi
   7697 	fi
   7698 
   7699 	if test $found = "no" ; then
   7700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7702 		fi
   7703 
   7704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7706 		fi
   7707 
   7708 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7709 
   7710 		{ 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
   7711 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7712 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7713 		if eval test \${$cacheid+y}
   7714 then :
   7715   printf %s "(cached) " >&6
   7716 else case e in #(
   7717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7718 /* end confdefs.h.  */
   7719 int i;
   7720 int
   7721 main (void)
   7722 {
   7723 
   7724   ;
   7725   return 0;
   7726 }
   7727 _ACEOF
   7728 if ac_fn_c_try_link "$LINENO"
   7729 then :
   7730   eval $cacheid=yes
   7731 else case e in #(
   7732   e) eval $cacheid=no ;;
   7733 esac
   7734 fi
   7735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7736     conftest$ac_exeext conftest.$ac_ext ;;
   7737 esac
   7738 fi
   7739 
   7740 
   7741 		CFLAGS="$xorg_testset_save_CFLAGS"
   7742 
   7743 		eval supported=\$$cacheid
   7744 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7745 printf '%s\n' "$supported" >&6; }
   7746 		if test "$supported" = "yes" ; then
   7747 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7748 			found="yes"
   7749 		fi
   7750 	fi
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 xorg_testset_save_CFLAGS="$CFLAGS"
   7767 
   7768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7770 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7773 then :
   7774   printf %s "(cached) " >&6
   7775 else case e in #(
   7776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 _ACEOF
   7780 if ac_fn_c_try_compile "$LINENO"
   7781 then :
   7782   xorg_cv_cc_flag_unknown_warning_option=yes
   7783 else case e in #(
   7784   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7785 esac
   7786 fi
   7787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7788 esac
   7789 fi
   7790 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7791 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7793 	CFLAGS="$xorg_testset_save_CFLAGS"
   7794 fi
   7795 
   7796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 	fi
   7800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7801 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7804 then :
   7805   printf %s "(cached) " >&6
   7806 else case e in #(
   7807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7808 /* end confdefs.h.  */
   7809 int i;
   7810 _ACEOF
   7811 if ac_fn_c_try_compile "$LINENO"
   7812 then :
   7813   xorg_cv_cc_flag_unused_command_line_argument=yes
   7814 else case e in #(
   7815   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7816 esac
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7819 esac
   7820 fi
   7821 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7822 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7824 	CFLAGS="$xorg_testset_save_CFLAGS"
   7825 fi
   7826 
   7827 found="no"
   7828 
   7829 	if test $found = "no" ; then
   7830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7832 		fi
   7833 
   7834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7836 		fi
   7837 
   7838 		CFLAGS="$CFLAGS -Werror=nonnull"
   7839 
   7840 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7841 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7842 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7843 		if eval test \${$cacheid+y}
   7844 then :
   7845   printf %s "(cached) " >&6
   7846 else case e in #(
   7847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 int
   7851 main (void)
   7852 {
   7853 
   7854   ;
   7855   return 0;
   7856 }
   7857 _ACEOF
   7858 if ac_fn_c_try_link "$LINENO"
   7859 then :
   7860   eval $cacheid=yes
   7861 else case e in #(
   7862   e) eval $cacheid=no ;;
   7863 esac
   7864 fi
   7865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7866     conftest$ac_exeext conftest.$ac_ext ;;
   7867 esac
   7868 fi
   7869 
   7870 
   7871 		CFLAGS="$xorg_testset_save_CFLAGS"
   7872 
   7873 		eval supported=\$$cacheid
   7874 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7875 printf '%s\n' "$supported" >&6; }
   7876 		if test "$supported" = "yes" ; then
   7877 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7878 			found="yes"
   7879 		fi
   7880 	fi
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 xorg_testset_save_CFLAGS="$CFLAGS"
   7897 
   7898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7900 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7903 then :
   7904   printf %s "(cached) " >&6
   7905 else case e in #(
   7906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7907 /* end confdefs.h.  */
   7908 int i;
   7909 _ACEOF
   7910 if ac_fn_c_try_compile "$LINENO"
   7911 then :
   7912   xorg_cv_cc_flag_unknown_warning_option=yes
   7913 else case e in #(
   7914   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7915 esac
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7918 esac
   7919 fi
   7920 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7921 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7923 	CFLAGS="$xorg_testset_save_CFLAGS"
   7924 fi
   7925 
   7926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7929 	fi
   7930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7931 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7934 then :
   7935   printf %s "(cached) " >&6
   7936 else case e in #(
   7937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 _ACEOF
   7941 if ac_fn_c_try_compile "$LINENO"
   7942 then :
   7943   xorg_cv_cc_flag_unused_command_line_argument=yes
   7944 else case e in #(
   7945   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7946 esac
   7947 fi
   7948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7949 esac
   7950 fi
   7951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7952 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 found="no"
   7958 
   7959 	if test $found = "no" ; then
   7960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 		fi
   7963 
   7964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 		fi
   7967 
   7968 		CFLAGS="$CFLAGS -Werror=init-self"
   7969 
   7970 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7971 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7972 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7973 		if eval test \${$cacheid+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else case e in #(
   7977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 int
   7981 main (void)
   7982 {
   7983 
   7984   ;
   7985   return 0;
   7986 }
   7987 _ACEOF
   7988 if ac_fn_c_try_link "$LINENO"
   7989 then :
   7990   eval $cacheid=yes
   7991 else case e in #(
   7992   e) eval $cacheid=no ;;
   7993 esac
   7994 fi
   7995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7996     conftest$ac_exeext conftest.$ac_ext ;;
   7997 esac
   7998 fi
   7999 
   8000 
   8001 		CFLAGS="$xorg_testset_save_CFLAGS"
   8002 
   8003 		eval supported=\$$cacheid
   8004 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8005 printf '%s\n' "$supported" >&6; }
   8006 		if test "$supported" = "yes" ; then
   8007 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8008 			found="yes"
   8009 		fi
   8010 	fi
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 xorg_testset_save_CFLAGS="$CFLAGS"
   8027 
   8028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8030 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8033 then :
   8034   printf %s "(cached) " >&6
   8035 else case e in #(
   8036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8037 /* end confdefs.h.  */
   8038 int i;
   8039 _ACEOF
   8040 if ac_fn_c_try_compile "$LINENO"
   8041 then :
   8042   xorg_cv_cc_flag_unknown_warning_option=yes
   8043 else case e in #(
   8044   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8045 esac
   8046 fi
   8047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8048 esac
   8049 fi
   8050 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8051 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8053 	CFLAGS="$xorg_testset_save_CFLAGS"
   8054 fi
   8055 
   8056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8059 	fi
   8060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8061 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8062 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8063 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8064 then :
   8065   printf %s "(cached) " >&6
   8066 else case e in #(
   8067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8068 /* end confdefs.h.  */
   8069 int i;
   8070 _ACEOF
   8071 if ac_fn_c_try_compile "$LINENO"
   8072 then :
   8073   xorg_cv_cc_flag_unused_command_line_argument=yes
   8074 else case e in #(
   8075   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8076 esac
   8077 fi
   8078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8079 esac
   8080 fi
   8081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8082 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8084 	CFLAGS="$xorg_testset_save_CFLAGS"
   8085 fi
   8086 
   8087 found="no"
   8088 
   8089 	if test $found = "no" ; then
   8090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 		fi
   8093 
   8094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8096 		fi
   8097 
   8098 		CFLAGS="$CFLAGS -Werror=main"
   8099 
   8100 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8101 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8102 		cacheid=xorg_cv_cc_flag__Werror_main
   8103 		if eval test \${$cacheid+y}
   8104 then :
   8105   printf %s "(cached) " >&6
   8106 else case e in #(
   8107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 int
   8111 main (void)
   8112 {
   8113 
   8114   ;
   8115   return 0;
   8116 }
   8117 _ACEOF
   8118 if ac_fn_c_try_link "$LINENO"
   8119 then :
   8120   eval $cacheid=yes
   8121 else case e in #(
   8122   e) eval $cacheid=no ;;
   8123 esac
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8126     conftest$ac_exeext conftest.$ac_ext ;;
   8127 esac
   8128 fi
   8129 
   8130 
   8131 		CFLAGS="$xorg_testset_save_CFLAGS"
   8132 
   8133 		eval supported=\$$cacheid
   8134 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8135 printf '%s\n' "$supported" >&6; }
   8136 		if test "$supported" = "yes" ; then
   8137 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8138 			found="yes"
   8139 		fi
   8140 	fi
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 xorg_testset_save_CFLAGS="$CFLAGS"
   8157 
   8158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8160 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8161 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8162 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8163 then :
   8164   printf %s "(cached) " >&6
   8165 else case e in #(
   8166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8167 /* end confdefs.h.  */
   8168 int i;
   8169 _ACEOF
   8170 if ac_fn_c_try_compile "$LINENO"
   8171 then :
   8172   xorg_cv_cc_flag_unknown_warning_option=yes
   8173 else case e in #(
   8174   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8175 esac
   8176 fi
   8177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8178 esac
   8179 fi
   8180 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8181 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8183 	CFLAGS="$xorg_testset_save_CFLAGS"
   8184 fi
   8185 
   8186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8189 	fi
   8190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8191 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8194 then :
   8195   printf %s "(cached) " >&6
   8196 else case e in #(
   8197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8198 /* end confdefs.h.  */
   8199 int i;
   8200 _ACEOF
   8201 if ac_fn_c_try_compile "$LINENO"
   8202 then :
   8203   xorg_cv_cc_flag_unused_command_line_argument=yes
   8204 else case e in #(
   8205   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8206 esac
   8207 fi
   8208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8209 esac
   8210 fi
   8211 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8212 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8214 	CFLAGS="$xorg_testset_save_CFLAGS"
   8215 fi
   8216 
   8217 found="no"
   8218 
   8219 	if test $found = "no" ; then
   8220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 		fi
   8223 
   8224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8226 		fi
   8227 
   8228 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8229 
   8230 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8231 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8232 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8233 		if eval test \${$cacheid+y}
   8234 then :
   8235   printf %s "(cached) " >&6
   8236 else case e in #(
   8237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8238 /* end confdefs.h.  */
   8239 int i;
   8240 int
   8241 main (void)
   8242 {
   8243 
   8244   ;
   8245   return 0;
   8246 }
   8247 _ACEOF
   8248 if ac_fn_c_try_link "$LINENO"
   8249 then :
   8250   eval $cacheid=yes
   8251 else case e in #(
   8252   e) eval $cacheid=no ;;
   8253 esac
   8254 fi
   8255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8256     conftest$ac_exeext conftest.$ac_ext ;;
   8257 esac
   8258 fi
   8259 
   8260 
   8261 		CFLAGS="$xorg_testset_save_CFLAGS"
   8262 
   8263 		eval supported=\$$cacheid
   8264 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8265 printf '%s\n' "$supported" >&6; }
   8266 		if test "$supported" = "yes" ; then
   8267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8268 			found="yes"
   8269 		fi
   8270 	fi
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 xorg_testset_save_CFLAGS="$CFLAGS"
   8287 
   8288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8290 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8291 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8292 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8293 then :
   8294   printf %s "(cached) " >&6
   8295 else case e in #(
   8296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8297 /* end confdefs.h.  */
   8298 int i;
   8299 _ACEOF
   8300 if ac_fn_c_try_compile "$LINENO"
   8301 then :
   8302   xorg_cv_cc_flag_unknown_warning_option=yes
   8303 else case e in #(
   8304   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8305 esac
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8308 esac
   8309 fi
   8310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8311 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8313 	CFLAGS="$xorg_testset_save_CFLAGS"
   8314 fi
   8315 
   8316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	fi
   8320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8324 then :
   8325   printf %s "(cached) " >&6
   8326 else case e in #(
   8327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8328 /* end confdefs.h.  */
   8329 int i;
   8330 _ACEOF
   8331 if ac_fn_c_try_compile "$LINENO"
   8332 then :
   8333   xorg_cv_cc_flag_unused_command_line_argument=yes
   8334 else case e in #(
   8335   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8336 esac
   8337 fi
   8338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8339 esac
   8340 fi
   8341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8342 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8344 	CFLAGS="$xorg_testset_save_CFLAGS"
   8345 fi
   8346 
   8347 found="no"
   8348 
   8349 	if test $found = "no" ; then
   8350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 		fi
   8353 
   8354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8356 		fi
   8357 
   8358 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8359 
   8360 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8361 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8362 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8363 		if eval test \${$cacheid+y}
   8364 then :
   8365   printf %s "(cached) " >&6
   8366 else case e in #(
   8367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8368 /* end confdefs.h.  */
   8369 int i;
   8370 int
   8371 main (void)
   8372 {
   8373 
   8374   ;
   8375   return 0;
   8376 }
   8377 _ACEOF
   8378 if ac_fn_c_try_link "$LINENO"
   8379 then :
   8380   eval $cacheid=yes
   8381 else case e in #(
   8382   e) eval $cacheid=no ;;
   8383 esac
   8384 fi
   8385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8386     conftest$ac_exeext conftest.$ac_ext ;;
   8387 esac
   8388 fi
   8389 
   8390 
   8391 		CFLAGS="$xorg_testset_save_CFLAGS"
   8392 
   8393 		eval supported=\$$cacheid
   8394 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8395 printf '%s\n' "$supported" >&6; }
   8396 		if test "$supported" = "yes" ; then
   8397 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8398 			found="yes"
   8399 		fi
   8400 	fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 xorg_testset_save_CFLAGS="$CFLAGS"
   8417 
   8418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8423 then :
   8424   printf %s "(cached) " >&6
   8425 else case e in #(
   8426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 _ACEOF
   8430 if ac_fn_c_try_compile "$LINENO"
   8431 then :
   8432   xorg_cv_cc_flag_unknown_warning_option=yes
   8433 else case e in #(
   8434   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8435 esac
   8436 fi
   8437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8438 esac
   8439 fi
   8440 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8441 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8443 	CFLAGS="$xorg_testset_save_CFLAGS"
   8444 fi
   8445 
   8446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 	fi
   8450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8451 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8452 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8453 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8454 then :
   8455   printf %s "(cached) " >&6
   8456 else case e in #(
   8457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8458 /* end confdefs.h.  */
   8459 int i;
   8460 _ACEOF
   8461 if ac_fn_c_try_compile "$LINENO"
   8462 then :
   8463   xorg_cv_cc_flag_unused_command_line_argument=yes
   8464 else case e in #(
   8465   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8466 esac
   8467 fi
   8468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8469 esac
   8470 fi
   8471 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8472 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8474 	CFLAGS="$xorg_testset_save_CFLAGS"
   8475 fi
   8476 
   8477 found="no"
   8478 
   8479 	if test $found = "no" ; then
   8480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8482 		fi
   8483 
   8484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8486 		fi
   8487 
   8488 		CFLAGS="$CFLAGS -Werror=return-type"
   8489 
   8490 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8491 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8492 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8493 		if eval test \${$cacheid+y}
   8494 then :
   8495   printf %s "(cached) " >&6
   8496 else case e in #(
   8497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8498 /* end confdefs.h.  */
   8499 int i;
   8500 int
   8501 main (void)
   8502 {
   8503 
   8504   ;
   8505   return 0;
   8506 }
   8507 _ACEOF
   8508 if ac_fn_c_try_link "$LINENO"
   8509 then :
   8510   eval $cacheid=yes
   8511 else case e in #(
   8512   e) eval $cacheid=no ;;
   8513 esac
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8516     conftest$ac_exeext conftest.$ac_ext ;;
   8517 esac
   8518 fi
   8519 
   8520 
   8521 		CFLAGS="$xorg_testset_save_CFLAGS"
   8522 
   8523 		eval supported=\$$cacheid
   8524 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8525 printf '%s\n' "$supported" >&6; }
   8526 		if test "$supported" = "yes" ; then
   8527 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8528 			found="yes"
   8529 		fi
   8530 	fi
   8531 
   8532 	if test $found = "no" ; then
   8533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8535 		fi
   8536 
   8537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8539 		fi
   8540 
   8541 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8542 
   8543 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8544 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8545 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8546 		if eval test \${$cacheid+y}
   8547 then :
   8548   printf %s "(cached) " >&6
   8549 else case e in #(
   8550   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 int
   8554 main (void)
   8555 {
   8556 
   8557   ;
   8558   return 0;
   8559 }
   8560 _ACEOF
   8561 if ac_fn_c_try_link "$LINENO"
   8562 then :
   8563   eval $cacheid=yes
   8564 else case e in #(
   8565   e) eval $cacheid=no ;;
   8566 esac
   8567 fi
   8568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8569     conftest$ac_exeext conftest.$ac_ext ;;
   8570 esac
   8571 fi
   8572 
   8573 
   8574 		CFLAGS="$xorg_testset_save_CFLAGS"
   8575 
   8576 		eval supported=\$$cacheid
   8577 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8578 printf '%s\n' "$supported" >&6; }
   8579 		if test "$supported" = "yes" ; then
   8580 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8581 			found="yes"
   8582 		fi
   8583 	fi
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 xorg_testset_save_CFLAGS="$CFLAGS"
   8600 
   8601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8604 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8605 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8606 then :
   8607   printf %s "(cached) " >&6
   8608 else case e in #(
   8609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8610 /* end confdefs.h.  */
   8611 int i;
   8612 _ACEOF
   8613 if ac_fn_c_try_compile "$LINENO"
   8614 then :
   8615   xorg_cv_cc_flag_unknown_warning_option=yes
   8616 else case e in #(
   8617   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8618 esac
   8619 fi
   8620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8621 esac
   8622 fi
   8623 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8624 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8626 	CFLAGS="$xorg_testset_save_CFLAGS"
   8627 fi
   8628 
   8629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8632 	fi
   8633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8634 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8635 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8636 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8637 then :
   8638   printf %s "(cached) " >&6
   8639 else case e in #(
   8640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 _ACEOF
   8644 if ac_fn_c_try_compile "$LINENO"
   8645 then :
   8646   xorg_cv_cc_flag_unused_command_line_argument=yes
   8647 else case e in #(
   8648   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8649 esac
   8650 fi
   8651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8652 esac
   8653 fi
   8654 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8655 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8657 	CFLAGS="$xorg_testset_save_CFLAGS"
   8658 fi
   8659 
   8660 found="no"
   8661 
   8662 	if test $found = "no" ; then
   8663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8665 		fi
   8666 
   8667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8669 		fi
   8670 
   8671 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8672 
   8673 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8674 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8675 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8676 		if eval test \${$cacheid+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else case e in #(
   8680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 int
   8684 main (void)
   8685 {
   8686 
   8687   ;
   8688   return 0;
   8689 }
   8690 _ACEOF
   8691 if ac_fn_c_try_link "$LINENO"
   8692 then :
   8693   eval $cacheid=yes
   8694 else case e in #(
   8695   e) eval $cacheid=no ;;
   8696 esac
   8697 fi
   8698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8699     conftest$ac_exeext conftest.$ac_ext ;;
   8700 esac
   8701 fi
   8702 
   8703 
   8704 		CFLAGS="$xorg_testset_save_CFLAGS"
   8705 
   8706 		eval supported=\$$cacheid
   8707 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8708 printf '%s\n' "$supported" >&6; }
   8709 		if test "$supported" = "yes" ; then
   8710 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8711 			found="yes"
   8712 		fi
   8713 	fi
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 xorg_testset_save_CFLAGS="$CFLAGS"
   8730 
   8731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8732 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8733 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8734 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8735 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8736 then :
   8737   printf %s "(cached) " >&6
   8738 else case e in #(
   8739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8740 /* end confdefs.h.  */
   8741 int i;
   8742 _ACEOF
   8743 if ac_fn_c_try_compile "$LINENO"
   8744 then :
   8745   xorg_cv_cc_flag_unknown_warning_option=yes
   8746 else case e in #(
   8747   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8748 esac
   8749 fi
   8750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8751 esac
   8752 fi
   8753 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8754 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8755 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8756 	CFLAGS="$xorg_testset_save_CFLAGS"
   8757 fi
   8758 
   8759 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8760 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8761 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8762 	fi
   8763 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8764 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8765 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8766 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8767 then :
   8768   printf %s "(cached) " >&6
   8769 else case e in #(
   8770   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 _ACEOF
   8774 if ac_fn_c_try_compile "$LINENO"
   8775 then :
   8776   xorg_cv_cc_flag_unused_command_line_argument=yes
   8777 else case e in #(
   8778   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8779 esac
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8782 esac
   8783 fi
   8784 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8785 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8787 	CFLAGS="$xorg_testset_save_CFLAGS"
   8788 fi
   8789 
   8790 found="no"
   8791 
   8792 	if test $found = "no" ; then
   8793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8795 		fi
   8796 
   8797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 		fi
   8800 
   8801 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8802 
   8803 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8804 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8805 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8806 		if eval test \${$cacheid+y}
   8807 then :
   8808   printf %s "(cached) " >&6
   8809 else case e in #(
   8810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 int
   8814 main (void)
   8815 {
   8816 
   8817   ;
   8818   return 0;
   8819 }
   8820 _ACEOF
   8821 if ac_fn_c_try_link "$LINENO"
   8822 then :
   8823   eval $cacheid=yes
   8824 else case e in #(
   8825   e) eval $cacheid=no ;;
   8826 esac
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8829     conftest$ac_exeext conftest.$ac_ext ;;
   8830 esac
   8831 fi
   8832 
   8833 
   8834 		CFLAGS="$xorg_testset_save_CFLAGS"
   8835 
   8836 		eval supported=\$$cacheid
   8837 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8838 printf '%s\n' "$supported" >&6; }
   8839 		if test "$supported" = "yes" ; then
   8840 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8841 			found="yes"
   8842 		fi
   8843 	fi
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 xorg_testset_save_CFLAGS="$CFLAGS"
   8860 
   8861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8863 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8864 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8865 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8866 then :
   8867   printf %s "(cached) " >&6
   8868 else case e in #(
   8869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 _ACEOF
   8873 if ac_fn_c_try_compile "$LINENO"
   8874 then :
   8875   xorg_cv_cc_flag_unknown_warning_option=yes
   8876 else case e in #(
   8877   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8878 esac
   8879 fi
   8880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8881 esac
   8882 fi
   8883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8884 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8886 	CFLAGS="$xorg_testset_save_CFLAGS"
   8887 fi
   8888 
   8889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8892 	fi
   8893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8894 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8897 then :
   8898   printf %s "(cached) " >&6
   8899 else case e in #(
   8900   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8901 /* end confdefs.h.  */
   8902 int i;
   8903 _ACEOF
   8904 if ac_fn_c_try_compile "$LINENO"
   8905 then :
   8906   xorg_cv_cc_flag_unused_command_line_argument=yes
   8907 else case e in #(
   8908   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8909 esac
   8910 fi
   8911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8912 esac
   8913 fi
   8914 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8915 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 found="no"
   8921 
   8922 	if test $found = "no" ; then
   8923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8925 		fi
   8926 
   8927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8929 		fi
   8930 
   8931 		CFLAGS="$CFLAGS -Werror=write-strings"
   8932 
   8933 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8934 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8935 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8936 		if eval test \${$cacheid+y}
   8937 then :
   8938   printf %s "(cached) " >&6
   8939 else case e in #(
   8940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 int
   8944 main (void)
   8945 {
   8946 
   8947   ;
   8948   return 0;
   8949 }
   8950 _ACEOF
   8951 if ac_fn_c_try_link "$LINENO"
   8952 then :
   8953   eval $cacheid=yes
   8954 else case e in #(
   8955   e) eval $cacheid=no ;;
   8956 esac
   8957 fi
   8958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8959     conftest$ac_exeext conftest.$ac_ext ;;
   8960 esac
   8961 fi
   8962 
   8963 
   8964 		CFLAGS="$xorg_testset_save_CFLAGS"
   8965 
   8966 		eval supported=\$$cacheid
   8967 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8968 printf '%s\n' "$supported" >&6; }
   8969 		if test "$supported" = "yes" ; then
   8970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8971 			found="yes"
   8972 		fi
   8973 	fi
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 xorg_testset_save_CFLAGS="$CFLAGS"
   8990 
   8991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8993 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8996 then :
   8997   printf %s "(cached) " >&6
   8998 else case e in #(
   8999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 _ACEOF
   9003 if ac_fn_c_try_compile "$LINENO"
   9004 then :
   9005   xorg_cv_cc_flag_unknown_warning_option=yes
   9006 else case e in #(
   9007   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9008 esac
   9009 fi
   9010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9011 esac
   9012 fi
   9013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9014 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9016 	CFLAGS="$xorg_testset_save_CFLAGS"
   9017 fi
   9018 
   9019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9022 	fi
   9023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9024 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9025 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9026 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9027 then :
   9028   printf %s "(cached) " >&6
   9029 else case e in #(
   9030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9031 /* end confdefs.h.  */
   9032 int i;
   9033 _ACEOF
   9034 if ac_fn_c_try_compile "$LINENO"
   9035 then :
   9036   xorg_cv_cc_flag_unused_command_line_argument=yes
   9037 else case e in #(
   9038   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9039 esac
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9042 esac
   9043 fi
   9044 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9045 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9047 	CFLAGS="$xorg_testset_save_CFLAGS"
   9048 fi
   9049 
   9050 found="no"
   9051 
   9052 	if test $found = "no" ; then
   9053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9055 		fi
   9056 
   9057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9059 		fi
   9060 
   9061 		CFLAGS="$CFLAGS -Werror=address"
   9062 
   9063 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9064 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9065 		cacheid=xorg_cv_cc_flag__Werror_address
   9066 		if eval test \${$cacheid+y}
   9067 then :
   9068   printf %s "(cached) " >&6
   9069 else case e in #(
   9070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9071 /* end confdefs.h.  */
   9072 int i;
   9073 int
   9074 main (void)
   9075 {
   9076 
   9077   ;
   9078   return 0;
   9079 }
   9080 _ACEOF
   9081 if ac_fn_c_try_link "$LINENO"
   9082 then :
   9083   eval $cacheid=yes
   9084 else case e in #(
   9085   e) eval $cacheid=no ;;
   9086 esac
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9089     conftest$ac_exeext conftest.$ac_ext ;;
   9090 esac
   9091 fi
   9092 
   9093 
   9094 		CFLAGS="$xorg_testset_save_CFLAGS"
   9095 
   9096 		eval supported=\$$cacheid
   9097 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9098 printf '%s\n' "$supported" >&6; }
   9099 		if test "$supported" = "yes" ; then
   9100 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9101 			found="yes"
   9102 		fi
   9103 	fi
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 xorg_testset_save_CFLAGS="$CFLAGS"
   9120 
   9121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9124 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9125 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9126 then :
   9127   printf %s "(cached) " >&6
   9128 else case e in #(
   9129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 _ACEOF
   9133 if ac_fn_c_try_compile "$LINENO"
   9134 then :
   9135   xorg_cv_cc_flag_unknown_warning_option=yes
   9136 else case e in #(
   9137   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9138 esac
   9139 fi
   9140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9141 esac
   9142 fi
   9143 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9144 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9146 	CFLAGS="$xorg_testset_save_CFLAGS"
   9147 fi
   9148 
   9149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 	fi
   9153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9154 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9157 then :
   9158   printf %s "(cached) " >&6
   9159 else case e in #(
   9160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 _ACEOF
   9164 if ac_fn_c_try_compile "$LINENO"
   9165 then :
   9166   xorg_cv_cc_flag_unused_command_line_argument=yes
   9167 else case e in #(
   9168   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9169 esac
   9170 fi
   9171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9172 esac
   9173 fi
   9174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9175 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9177 	CFLAGS="$xorg_testset_save_CFLAGS"
   9178 fi
   9179 
   9180 found="no"
   9181 
   9182 	if test $found = "no" ; then
   9183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9185 		fi
   9186 
   9187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9189 		fi
   9190 
   9191 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9192 
   9193 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9194 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9195 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9196 		if eval test \${$cacheid+y}
   9197 then :
   9198   printf %s "(cached) " >&6
   9199 else case e in #(
   9200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9201 /* end confdefs.h.  */
   9202 int i;
   9203 int
   9204 main (void)
   9205 {
   9206 
   9207   ;
   9208   return 0;
   9209 }
   9210 _ACEOF
   9211 if ac_fn_c_try_link "$LINENO"
   9212 then :
   9213   eval $cacheid=yes
   9214 else case e in #(
   9215   e) eval $cacheid=no ;;
   9216 esac
   9217 fi
   9218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9219     conftest$ac_exeext conftest.$ac_ext ;;
   9220 esac
   9221 fi
   9222 
   9223 
   9224 		CFLAGS="$xorg_testset_save_CFLAGS"
   9225 
   9226 		eval supported=\$$cacheid
   9227 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9228 printf '%s\n' "$supported" >&6; }
   9229 		if test "$supported" = "yes" ; then
   9230 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9231 			found="yes"
   9232 		fi
   9233 	fi
   9234 
   9235 	if test $found = "no" ; then
   9236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9238 		fi
   9239 
   9240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9242 		fi
   9243 
   9244 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9245 
   9246 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9247 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9248 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9249 		if eval test \${$cacheid+y}
   9250 then :
   9251   printf %s "(cached) " >&6
   9252 else case e in #(
   9253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 int
   9257 main (void)
   9258 {
   9259 
   9260   ;
   9261   return 0;
   9262 }
   9263 _ACEOF
   9264 if ac_fn_c_try_link "$LINENO"
   9265 then :
   9266   eval $cacheid=yes
   9267 else case e in #(
   9268   e) eval $cacheid=no ;;
   9269 esac
   9270 fi
   9271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9272     conftest$ac_exeext conftest.$ac_ext ;;
   9273 esac
   9274 fi
   9275 
   9276 
   9277 		CFLAGS="$xorg_testset_save_CFLAGS"
   9278 
   9279 		eval supported=\$$cacheid
   9280 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9281 printf '%s\n' "$supported" >&6; }
   9282 		if test "$supported" = "yes" ; then
   9283 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9284 			found="yes"
   9285 		fi
   9286 	fi
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 xorg_testset_save_CFLAGS="$CFLAGS"
   9303 
   9304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9306 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9307 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9308 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9309 then :
   9310   printf %s "(cached) " >&6
   9311 else case e in #(
   9312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 _ACEOF
   9316 if ac_fn_c_try_compile "$LINENO"
   9317 then :
   9318   xorg_cv_cc_flag_unknown_warning_option=yes
   9319 else case e in #(
   9320   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9321 esac
   9322 fi
   9323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9324 esac
   9325 fi
   9326 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9327 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9329 	CFLAGS="$xorg_testset_save_CFLAGS"
   9330 fi
   9331 
   9332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9335 	fi
   9336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9337 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9340 then :
   9341   printf %s "(cached) " >&6
   9342 else case e in #(
   9343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9344 /* end confdefs.h.  */
   9345 int i;
   9346 _ACEOF
   9347 if ac_fn_c_try_compile "$LINENO"
   9348 then :
   9349   xorg_cv_cc_flag_unused_command_line_argument=yes
   9350 else case e in #(
   9351   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9352 esac
   9353 fi
   9354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9355 esac
   9356 fi
   9357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9358 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9360 	CFLAGS="$xorg_testset_save_CFLAGS"
   9361 fi
   9362 
   9363 found="no"
   9364 
   9365 	if test $found = "no" ; then
   9366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 		fi
   9369 
   9370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9372 		fi
   9373 
   9374 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9375 
   9376 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9377 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9378 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9379 		if eval test \${$cacheid+y}
   9380 then :
   9381   printf %s "(cached) " >&6
   9382 else case e in #(
   9383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9384 /* end confdefs.h.  */
   9385 int i;
   9386 int
   9387 main (void)
   9388 {
   9389 
   9390   ;
   9391   return 0;
   9392 }
   9393 _ACEOF
   9394 if ac_fn_c_try_link "$LINENO"
   9395 then :
   9396   eval $cacheid=yes
   9397 else case e in #(
   9398   e) eval $cacheid=no ;;
   9399 esac
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9402     conftest$ac_exeext conftest.$ac_ext ;;
   9403 esac
   9404 fi
   9405 
   9406 
   9407 		CFLAGS="$xorg_testset_save_CFLAGS"
   9408 
   9409 		eval supported=\$$cacheid
   9410 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9411 printf '%s\n' "$supported" >&6; }
   9412 		if test "$supported" = "yes" ; then
   9413 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9414 			found="yes"
   9415 		fi
   9416 	fi
   9417 
   9418  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9419 else
   9420 { 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
   9421 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;}
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 xorg_testset_save_CFLAGS="$CFLAGS"
   9436 
   9437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9439 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9440 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9441 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9442 then :
   9443   printf %s "(cached) " >&6
   9444 else case e in #(
   9445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int i;
   9448 _ACEOF
   9449 if ac_fn_c_try_compile "$LINENO"
   9450 then :
   9451   xorg_cv_cc_flag_unknown_warning_option=yes
   9452 else case e in #(
   9453   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9454 esac
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9457 esac
   9458 fi
   9459 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9460 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9462 	CFLAGS="$xorg_testset_save_CFLAGS"
   9463 fi
   9464 
   9465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9468 	fi
   9469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9470 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9473 then :
   9474   printf %s "(cached) " >&6
   9475 else case e in #(
   9476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 _ACEOF
   9480 if ac_fn_c_try_compile "$LINENO"
   9481 then :
   9482   xorg_cv_cc_flag_unused_command_line_argument=yes
   9483 else case e in #(
   9484   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9485 esac
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9488 esac
   9489 fi
   9490 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9491 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9493 	CFLAGS="$xorg_testset_save_CFLAGS"
   9494 fi
   9495 
   9496 found="no"
   9497 
   9498 	if test $found = "no" ; then
   9499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9501 		fi
   9502 
   9503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9505 		fi
   9506 
   9507 		CFLAGS="$CFLAGS -Wimplicit"
   9508 
   9509 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9510 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9511 		cacheid=xorg_cv_cc_flag__Wimplicit
   9512 		if eval test \${$cacheid+y}
   9513 then :
   9514   printf %s "(cached) " >&6
   9515 else case e in #(
   9516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9517 /* end confdefs.h.  */
   9518 int i;
   9519 int
   9520 main (void)
   9521 {
   9522 
   9523   ;
   9524   return 0;
   9525 }
   9526 _ACEOF
   9527 if ac_fn_c_try_link "$LINENO"
   9528 then :
   9529   eval $cacheid=yes
   9530 else case e in #(
   9531   e) eval $cacheid=no ;;
   9532 esac
   9533 fi
   9534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9535     conftest$ac_exeext conftest.$ac_ext ;;
   9536 esac
   9537 fi
   9538 
   9539 
   9540 		CFLAGS="$xorg_testset_save_CFLAGS"
   9541 
   9542 		eval supported=\$$cacheid
   9543 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9544 printf '%s\n' "$supported" >&6; }
   9545 		if test "$supported" = "yes" ; then
   9546 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9547 			found="yes"
   9548 		fi
   9549 	fi
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 xorg_testset_save_CFLAGS="$CFLAGS"
   9566 
   9567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9569 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9572 then :
   9573   printf %s "(cached) " >&6
   9574 else case e in #(
   9575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9576 /* end confdefs.h.  */
   9577 int i;
   9578 _ACEOF
   9579 if ac_fn_c_try_compile "$LINENO"
   9580 then :
   9581   xorg_cv_cc_flag_unknown_warning_option=yes
   9582 else case e in #(
   9583   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9584 esac
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9587 esac
   9588 fi
   9589 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9590 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9592 	CFLAGS="$xorg_testset_save_CFLAGS"
   9593 fi
   9594 
   9595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9598 	fi
   9599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9600 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9603 then :
   9604   printf %s "(cached) " >&6
   9605 else case e in #(
   9606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int i;
   9609 _ACEOF
   9610 if ac_fn_c_try_compile "$LINENO"
   9611 then :
   9612   xorg_cv_cc_flag_unused_command_line_argument=yes
   9613 else case e in #(
   9614   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9615 esac
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9618 esac
   9619 fi
   9620 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9621 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9623 	CFLAGS="$xorg_testset_save_CFLAGS"
   9624 fi
   9625 
   9626 found="no"
   9627 
   9628 	if test $found = "no" ; then
   9629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9631 		fi
   9632 
   9633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9635 		fi
   9636 
   9637 		CFLAGS="$CFLAGS -Wnonnull"
   9638 
   9639 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9640 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9641 		cacheid=xorg_cv_cc_flag__Wnonnull
   9642 		if eval test \${$cacheid+y}
   9643 then :
   9644   printf %s "(cached) " >&6
   9645 else case e in #(
   9646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9647 /* end confdefs.h.  */
   9648 int i;
   9649 int
   9650 main (void)
   9651 {
   9652 
   9653   ;
   9654   return 0;
   9655 }
   9656 _ACEOF
   9657 if ac_fn_c_try_link "$LINENO"
   9658 then :
   9659   eval $cacheid=yes
   9660 else case e in #(
   9661   e) eval $cacheid=no ;;
   9662 esac
   9663 fi
   9664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9665     conftest$ac_exeext conftest.$ac_ext ;;
   9666 esac
   9667 fi
   9668 
   9669 
   9670 		CFLAGS="$xorg_testset_save_CFLAGS"
   9671 
   9672 		eval supported=\$$cacheid
   9673 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9674 printf '%s\n' "$supported" >&6; }
   9675 		if test "$supported" = "yes" ; then
   9676 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9677 			found="yes"
   9678 		fi
   9679 	fi
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 xorg_testset_save_CFLAGS="$CFLAGS"
   9696 
   9697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9699 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9702 then :
   9703   printf %s "(cached) " >&6
   9704 else case e in #(
   9705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9706 /* end confdefs.h.  */
   9707 int i;
   9708 _ACEOF
   9709 if ac_fn_c_try_compile "$LINENO"
   9710 then :
   9711   xorg_cv_cc_flag_unknown_warning_option=yes
   9712 else case e in #(
   9713   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9714 esac
   9715 fi
   9716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9717 esac
   9718 fi
   9719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9720 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9722 	CFLAGS="$xorg_testset_save_CFLAGS"
   9723 fi
   9724 
   9725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9728 	fi
   9729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9730 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9733 then :
   9734   printf %s "(cached) " >&6
   9735 else case e in #(
   9736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9737 /* end confdefs.h.  */
   9738 int i;
   9739 _ACEOF
   9740 if ac_fn_c_try_compile "$LINENO"
   9741 then :
   9742   xorg_cv_cc_flag_unused_command_line_argument=yes
   9743 else case e in #(
   9744   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9745 esac
   9746 fi
   9747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9748 esac
   9749 fi
   9750 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9751 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9753 	CFLAGS="$xorg_testset_save_CFLAGS"
   9754 fi
   9755 
   9756 found="no"
   9757 
   9758 	if test $found = "no" ; then
   9759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 		fi
   9762 
   9763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9765 		fi
   9766 
   9767 		CFLAGS="$CFLAGS -Winit-self"
   9768 
   9769 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9770 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9771 		cacheid=xorg_cv_cc_flag__Winit_self
   9772 		if eval test \${$cacheid+y}
   9773 then :
   9774   printf %s "(cached) " >&6
   9775 else case e in #(
   9776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 int
   9780 main (void)
   9781 {
   9782 
   9783   ;
   9784   return 0;
   9785 }
   9786 _ACEOF
   9787 if ac_fn_c_try_link "$LINENO"
   9788 then :
   9789   eval $cacheid=yes
   9790 else case e in #(
   9791   e) eval $cacheid=no ;;
   9792 esac
   9793 fi
   9794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9795     conftest$ac_exeext conftest.$ac_ext ;;
   9796 esac
   9797 fi
   9798 
   9799 
   9800 		CFLAGS="$xorg_testset_save_CFLAGS"
   9801 
   9802 		eval supported=\$$cacheid
   9803 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9804 printf '%s\n' "$supported" >&6; }
   9805 		if test "$supported" = "yes" ; then
   9806 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9807 			found="yes"
   9808 		fi
   9809 	fi
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 xorg_testset_save_CFLAGS="$CFLAGS"
   9826 
   9827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9829 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9830 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9831 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9832 then :
   9833   printf %s "(cached) " >&6
   9834 else case e in #(
   9835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9836 /* end confdefs.h.  */
   9837 int i;
   9838 _ACEOF
   9839 if ac_fn_c_try_compile "$LINENO"
   9840 then :
   9841   xorg_cv_cc_flag_unknown_warning_option=yes
   9842 else case e in #(
   9843   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9844 esac
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9847 esac
   9848 fi
   9849 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9850 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9852 	CFLAGS="$xorg_testset_save_CFLAGS"
   9853 fi
   9854 
   9855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9858 	fi
   9859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9860 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9861 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9862 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9863 then :
   9864   printf %s "(cached) " >&6
   9865 else case e in #(
   9866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9867 /* end confdefs.h.  */
   9868 int i;
   9869 _ACEOF
   9870 if ac_fn_c_try_compile "$LINENO"
   9871 then :
   9872   xorg_cv_cc_flag_unused_command_line_argument=yes
   9873 else case e in #(
   9874   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9875 esac
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9878 esac
   9879 fi
   9880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9881 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9883 	CFLAGS="$xorg_testset_save_CFLAGS"
   9884 fi
   9885 
   9886 found="no"
   9887 
   9888 	if test $found = "no" ; then
   9889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 		fi
   9892 
   9893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9895 		fi
   9896 
   9897 		CFLAGS="$CFLAGS -Wmain"
   9898 
   9899 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9900 printf %s "checking if $CC supports -Wmain... " >&6; }
   9901 		cacheid=xorg_cv_cc_flag__Wmain
   9902 		if eval test \${$cacheid+y}
   9903 then :
   9904   printf %s "(cached) " >&6
   9905 else case e in #(
   9906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 int
   9910 main (void)
   9911 {
   9912 
   9913   ;
   9914   return 0;
   9915 }
   9916 _ACEOF
   9917 if ac_fn_c_try_link "$LINENO"
   9918 then :
   9919   eval $cacheid=yes
   9920 else case e in #(
   9921   e) eval $cacheid=no ;;
   9922 esac
   9923 fi
   9924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9925     conftest$ac_exeext conftest.$ac_ext ;;
   9926 esac
   9927 fi
   9928 
   9929 
   9930 		CFLAGS="$xorg_testset_save_CFLAGS"
   9931 
   9932 		eval supported=\$$cacheid
   9933 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9934 printf '%s\n' "$supported" >&6; }
   9935 		if test "$supported" = "yes" ; then
   9936 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9937 			found="yes"
   9938 		fi
   9939 	fi
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 xorg_testset_save_CFLAGS="$CFLAGS"
   9956 
   9957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9959 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9962 then :
   9963   printf %s "(cached) " >&6
   9964 else case e in #(
   9965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9966 /* end confdefs.h.  */
   9967 int i;
   9968 _ACEOF
   9969 if ac_fn_c_try_compile "$LINENO"
   9970 then :
   9971   xorg_cv_cc_flag_unknown_warning_option=yes
   9972 else case e in #(
   9973   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9974 esac
   9975 fi
   9976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9977 esac
   9978 fi
   9979 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9980 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9982 	CFLAGS="$xorg_testset_save_CFLAGS"
   9983 fi
   9984 
   9985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9988 	fi
   9989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9990 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9993 then :
   9994   printf %s "(cached) " >&6
   9995 else case e in #(
   9996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9997 /* end confdefs.h.  */
   9998 int i;
   9999 _ACEOF
   10000 if ac_fn_c_try_compile "$LINENO"
   10001 then :
   10002   xorg_cv_cc_flag_unused_command_line_argument=yes
   10003 else case e in #(
   10004   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10005 esac
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10008 esac
   10009 fi
   10010 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10011 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10013 	CFLAGS="$xorg_testset_save_CFLAGS"
   10014 fi
   10015 
   10016 found="no"
   10017 
   10018 	if test $found = "no" ; then
   10019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10021 		fi
   10022 
   10023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10025 		fi
   10026 
   10027 		CFLAGS="$CFLAGS -Wmissing-braces"
   10028 
   10029 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10030 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10031 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10032 		if eval test \${$cacheid+y}
   10033 then :
   10034   printf %s "(cached) " >&6
   10035 else case e in #(
   10036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 int
   10040 main (void)
   10041 {
   10042 
   10043   ;
   10044   return 0;
   10045 }
   10046 _ACEOF
   10047 if ac_fn_c_try_link "$LINENO"
   10048 then :
   10049   eval $cacheid=yes
   10050 else case e in #(
   10051   e) eval $cacheid=no ;;
   10052 esac
   10053 fi
   10054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10055     conftest$ac_exeext conftest.$ac_ext ;;
   10056 esac
   10057 fi
   10058 
   10059 
   10060 		CFLAGS="$xorg_testset_save_CFLAGS"
   10061 
   10062 		eval supported=\$$cacheid
   10063 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10064 printf '%s\n' "$supported" >&6; }
   10065 		if test "$supported" = "yes" ; then
   10066 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10067 			found="yes"
   10068 		fi
   10069 	fi
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 xorg_testset_save_CFLAGS="$CFLAGS"
   10086 
   10087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10089 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10092 then :
   10093   printf %s "(cached) " >&6
   10094 else case e in #(
   10095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10096 /* end confdefs.h.  */
   10097 int i;
   10098 _ACEOF
   10099 if ac_fn_c_try_compile "$LINENO"
   10100 then :
   10101   xorg_cv_cc_flag_unknown_warning_option=yes
   10102 else case e in #(
   10103   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10104 esac
   10105 fi
   10106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10107 esac
   10108 fi
   10109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10110 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10112 	CFLAGS="$xorg_testset_save_CFLAGS"
   10113 fi
   10114 
   10115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10118 	fi
   10119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10120 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10123 then :
   10124   printf %s "(cached) " >&6
   10125 else case e in #(
   10126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10127 /* end confdefs.h.  */
   10128 int i;
   10129 _ACEOF
   10130 if ac_fn_c_try_compile "$LINENO"
   10131 then :
   10132   xorg_cv_cc_flag_unused_command_line_argument=yes
   10133 else case e in #(
   10134   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10135 esac
   10136 fi
   10137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10138 esac
   10139 fi
   10140 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10141 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10143 	CFLAGS="$xorg_testset_save_CFLAGS"
   10144 fi
   10145 
   10146 found="no"
   10147 
   10148 	if test $found = "no" ; then
   10149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10151 		fi
   10152 
   10153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10155 		fi
   10156 
   10157 		CFLAGS="$CFLAGS -Wsequence-point"
   10158 
   10159 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10160 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10161 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10162 		if eval test \${$cacheid+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else case e in #(
   10166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 int i;
   10169 int
   10170 main (void)
   10171 {
   10172 
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 if ac_fn_c_try_link "$LINENO"
   10178 then :
   10179   eval $cacheid=yes
   10180 else case e in #(
   10181   e) eval $cacheid=no ;;
   10182 esac
   10183 fi
   10184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10185     conftest$ac_exeext conftest.$ac_ext ;;
   10186 esac
   10187 fi
   10188 
   10189 
   10190 		CFLAGS="$xorg_testset_save_CFLAGS"
   10191 
   10192 		eval supported=\$$cacheid
   10193 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10194 printf '%s\n' "$supported" >&6; }
   10195 		if test "$supported" = "yes" ; then
   10196 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10197 			found="yes"
   10198 		fi
   10199 	fi
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 xorg_testset_save_CFLAGS="$CFLAGS"
   10216 
   10217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10220 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10221 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10222 then :
   10223   printf %s "(cached) " >&6
   10224 else case e in #(
   10225   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10226 /* end confdefs.h.  */
   10227 int i;
   10228 _ACEOF
   10229 if ac_fn_c_try_compile "$LINENO"
   10230 then :
   10231   xorg_cv_cc_flag_unknown_warning_option=yes
   10232 else case e in #(
   10233   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10234 esac
   10235 fi
   10236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10237 esac
   10238 fi
   10239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10240 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10242 	CFLAGS="$xorg_testset_save_CFLAGS"
   10243 fi
   10244 
   10245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10248 	fi
   10249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10250 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10251 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10252 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10253 then :
   10254   printf %s "(cached) " >&6
   10255 else case e in #(
   10256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10257 /* end confdefs.h.  */
   10258 int i;
   10259 _ACEOF
   10260 if ac_fn_c_try_compile "$LINENO"
   10261 then :
   10262   xorg_cv_cc_flag_unused_command_line_argument=yes
   10263 else case e in #(
   10264   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10265 esac
   10266 fi
   10267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10268 esac
   10269 fi
   10270 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10271 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10273 	CFLAGS="$xorg_testset_save_CFLAGS"
   10274 fi
   10275 
   10276 found="no"
   10277 
   10278 	if test $found = "no" ; then
   10279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10281 		fi
   10282 
   10283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10285 		fi
   10286 
   10287 		CFLAGS="$CFLAGS -Wreturn-type"
   10288 
   10289 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10290 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10291 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10292 		if eval test \${$cacheid+y}
   10293 then :
   10294   printf %s "(cached) " >&6
   10295 else case e in #(
   10296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10297 /* end confdefs.h.  */
   10298 int i;
   10299 int
   10300 main (void)
   10301 {
   10302 
   10303   ;
   10304   return 0;
   10305 }
   10306 _ACEOF
   10307 if ac_fn_c_try_link "$LINENO"
   10308 then :
   10309   eval $cacheid=yes
   10310 else case e in #(
   10311   e) eval $cacheid=no ;;
   10312 esac
   10313 fi
   10314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10315     conftest$ac_exeext conftest.$ac_ext ;;
   10316 esac
   10317 fi
   10318 
   10319 
   10320 		CFLAGS="$xorg_testset_save_CFLAGS"
   10321 
   10322 		eval supported=\$$cacheid
   10323 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10324 printf '%s\n' "$supported" >&6; }
   10325 		if test "$supported" = "yes" ; then
   10326 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10327 			found="yes"
   10328 		fi
   10329 	fi
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 xorg_testset_save_CFLAGS="$CFLAGS"
   10346 
   10347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10349 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10350 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10351 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10352 then :
   10353   printf %s "(cached) " >&6
   10354 else case e in #(
   10355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10356 /* end confdefs.h.  */
   10357 int i;
   10358 _ACEOF
   10359 if ac_fn_c_try_compile "$LINENO"
   10360 then :
   10361   xorg_cv_cc_flag_unknown_warning_option=yes
   10362 else case e in #(
   10363   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10364 esac
   10365 fi
   10366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10367 esac
   10368 fi
   10369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10370 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10372 	CFLAGS="$xorg_testset_save_CFLAGS"
   10373 fi
   10374 
   10375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10378 	fi
   10379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10380 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10381 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10382 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10383 then :
   10384   printf %s "(cached) " >&6
   10385 else case e in #(
   10386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 int i;
   10389 _ACEOF
   10390 if ac_fn_c_try_compile "$LINENO"
   10391 then :
   10392   xorg_cv_cc_flag_unused_command_line_argument=yes
   10393 else case e in #(
   10394   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10395 esac
   10396 fi
   10397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10398 esac
   10399 fi
   10400 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10401 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10403 	CFLAGS="$xorg_testset_save_CFLAGS"
   10404 fi
   10405 
   10406 found="no"
   10407 
   10408 	if test $found = "no" ; then
   10409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 		fi
   10412 
   10413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10415 		fi
   10416 
   10417 		CFLAGS="$CFLAGS -Wtrigraphs"
   10418 
   10419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10420 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10421 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10422 		if eval test \${$cacheid+y}
   10423 then :
   10424   printf %s "(cached) " >&6
   10425 else case e in #(
   10426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10427 /* end confdefs.h.  */
   10428 int i;
   10429 int
   10430 main (void)
   10431 {
   10432 
   10433   ;
   10434   return 0;
   10435 }
   10436 _ACEOF
   10437 if ac_fn_c_try_link "$LINENO"
   10438 then :
   10439   eval $cacheid=yes
   10440 else case e in #(
   10441   e) eval $cacheid=no ;;
   10442 esac
   10443 fi
   10444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10445     conftest$ac_exeext conftest.$ac_ext ;;
   10446 esac
   10447 fi
   10448 
   10449 
   10450 		CFLAGS="$xorg_testset_save_CFLAGS"
   10451 
   10452 		eval supported=\$$cacheid
   10453 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10454 printf '%s\n' "$supported" >&6; }
   10455 		if test "$supported" = "yes" ; then
   10456 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10457 			found="yes"
   10458 		fi
   10459 	fi
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 xorg_testset_save_CFLAGS="$CFLAGS"
   10476 
   10477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10479 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10482 then :
   10483   printf %s "(cached) " >&6
   10484 else case e in #(
   10485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 _ACEOF
   10489 if ac_fn_c_try_compile "$LINENO"
   10490 then :
   10491   xorg_cv_cc_flag_unknown_warning_option=yes
   10492 else case e in #(
   10493   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10494 esac
   10495 fi
   10496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10497 esac
   10498 fi
   10499 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10500 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10502 	CFLAGS="$xorg_testset_save_CFLAGS"
   10503 fi
   10504 
   10505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10508 	fi
   10509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10510 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10513 then :
   10514   printf %s "(cached) " >&6
   10515 else case e in #(
   10516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10517 /* end confdefs.h.  */
   10518 int i;
   10519 _ACEOF
   10520 if ac_fn_c_try_compile "$LINENO"
   10521 then :
   10522   xorg_cv_cc_flag_unused_command_line_argument=yes
   10523 else case e in #(
   10524   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10525 esac
   10526 fi
   10527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10528 esac
   10529 fi
   10530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10531 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10533 	CFLAGS="$xorg_testset_save_CFLAGS"
   10534 fi
   10535 
   10536 found="no"
   10537 
   10538 	if test $found = "no" ; then
   10539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10541 		fi
   10542 
   10543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10545 		fi
   10546 
   10547 		CFLAGS="$CFLAGS -Warray-bounds"
   10548 
   10549 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10550 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10551 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10552 		if eval test \${$cacheid+y}
   10553 then :
   10554   printf %s "(cached) " >&6
   10555 else case e in #(
   10556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10557 /* end confdefs.h.  */
   10558 int i;
   10559 int
   10560 main (void)
   10561 {
   10562 
   10563   ;
   10564   return 0;
   10565 }
   10566 _ACEOF
   10567 if ac_fn_c_try_link "$LINENO"
   10568 then :
   10569   eval $cacheid=yes
   10570 else case e in #(
   10571   e) eval $cacheid=no ;;
   10572 esac
   10573 fi
   10574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10575     conftest$ac_exeext conftest.$ac_ext ;;
   10576 esac
   10577 fi
   10578 
   10579 
   10580 		CFLAGS="$xorg_testset_save_CFLAGS"
   10581 
   10582 		eval supported=\$$cacheid
   10583 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10584 printf '%s\n' "$supported" >&6; }
   10585 		if test "$supported" = "yes" ; then
   10586 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10587 			found="yes"
   10588 		fi
   10589 	fi
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 xorg_testset_save_CFLAGS="$CFLAGS"
   10606 
   10607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10609 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10610 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10611 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10612 then :
   10613   printf %s "(cached) " >&6
   10614 else case e in #(
   10615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10616 /* end confdefs.h.  */
   10617 int i;
   10618 _ACEOF
   10619 if ac_fn_c_try_compile "$LINENO"
   10620 then :
   10621   xorg_cv_cc_flag_unknown_warning_option=yes
   10622 else case e in #(
   10623   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10624 esac
   10625 fi
   10626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10627 esac
   10628 fi
   10629 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10630 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10632 	CFLAGS="$xorg_testset_save_CFLAGS"
   10633 fi
   10634 
   10635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10638 	fi
   10639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10640 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10641 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10642 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10643 then :
   10644   printf %s "(cached) " >&6
   10645 else case e in #(
   10646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 int i;
   10649 _ACEOF
   10650 if ac_fn_c_try_compile "$LINENO"
   10651 then :
   10652   xorg_cv_cc_flag_unused_command_line_argument=yes
   10653 else case e in #(
   10654   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10655 esac
   10656 fi
   10657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10658 esac
   10659 fi
   10660 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10661 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10663 	CFLAGS="$xorg_testset_save_CFLAGS"
   10664 fi
   10665 
   10666 found="no"
   10667 
   10668 	if test $found = "no" ; then
   10669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10671 		fi
   10672 
   10673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10675 		fi
   10676 
   10677 		CFLAGS="$CFLAGS -Wwrite-strings"
   10678 
   10679 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10680 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10681 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10682 		if eval test \${$cacheid+y}
   10683 then :
   10684   printf %s "(cached) " >&6
   10685 else case e in #(
   10686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10687 /* end confdefs.h.  */
   10688 int i;
   10689 int
   10690 main (void)
   10691 {
   10692 
   10693   ;
   10694   return 0;
   10695 }
   10696 _ACEOF
   10697 if ac_fn_c_try_link "$LINENO"
   10698 then :
   10699   eval $cacheid=yes
   10700 else case e in #(
   10701   e) eval $cacheid=no ;;
   10702 esac
   10703 fi
   10704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10705     conftest$ac_exeext conftest.$ac_ext ;;
   10706 esac
   10707 fi
   10708 
   10709 
   10710 		CFLAGS="$xorg_testset_save_CFLAGS"
   10711 
   10712 		eval supported=\$$cacheid
   10713 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10714 printf '%s\n' "$supported" >&6; }
   10715 		if test "$supported" = "yes" ; then
   10716 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10717 			found="yes"
   10718 		fi
   10719 	fi
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 xorg_testset_save_CFLAGS="$CFLAGS"
   10736 
   10737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10739 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10740 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10741 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10742 then :
   10743   printf %s "(cached) " >&6
   10744 else case e in #(
   10745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10746 /* end confdefs.h.  */
   10747 int i;
   10748 _ACEOF
   10749 if ac_fn_c_try_compile "$LINENO"
   10750 then :
   10751   xorg_cv_cc_flag_unknown_warning_option=yes
   10752 else case e in #(
   10753   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10754 esac
   10755 fi
   10756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10757 esac
   10758 fi
   10759 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10760 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10762 	CFLAGS="$xorg_testset_save_CFLAGS"
   10763 fi
   10764 
   10765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10768 	fi
   10769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10770 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10773 then :
   10774   printf %s "(cached) " >&6
   10775 else case e in #(
   10776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10777 /* end confdefs.h.  */
   10778 int i;
   10779 _ACEOF
   10780 if ac_fn_c_try_compile "$LINENO"
   10781 then :
   10782   xorg_cv_cc_flag_unused_command_line_argument=yes
   10783 else case e in #(
   10784   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10785 esac
   10786 fi
   10787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10788 esac
   10789 fi
   10790 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10791 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10793 	CFLAGS="$xorg_testset_save_CFLAGS"
   10794 fi
   10795 
   10796 found="no"
   10797 
   10798 	if test $found = "no" ; then
   10799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10801 		fi
   10802 
   10803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10805 		fi
   10806 
   10807 		CFLAGS="$CFLAGS -Waddress"
   10808 
   10809 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10810 printf %s "checking if $CC supports -Waddress... " >&6; }
   10811 		cacheid=xorg_cv_cc_flag__Waddress
   10812 		if eval test \${$cacheid+y}
   10813 then :
   10814   printf %s "(cached) " >&6
   10815 else case e in #(
   10816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10817 /* end confdefs.h.  */
   10818 int i;
   10819 int
   10820 main (void)
   10821 {
   10822 
   10823   ;
   10824   return 0;
   10825 }
   10826 _ACEOF
   10827 if ac_fn_c_try_link "$LINENO"
   10828 then :
   10829   eval $cacheid=yes
   10830 else case e in #(
   10831   e) eval $cacheid=no ;;
   10832 esac
   10833 fi
   10834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10835     conftest$ac_exeext conftest.$ac_ext ;;
   10836 esac
   10837 fi
   10838 
   10839 
   10840 		CFLAGS="$xorg_testset_save_CFLAGS"
   10841 
   10842 		eval supported=\$$cacheid
   10843 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10844 printf '%s\n' "$supported" >&6; }
   10845 		if test "$supported" = "yes" ; then
   10846 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10847 			found="yes"
   10848 		fi
   10849 	fi
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 xorg_testset_save_CFLAGS="$CFLAGS"
   10866 
   10867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10869 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10872 then :
   10873   printf %s "(cached) " >&6
   10874 else case e in #(
   10875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10876 /* end confdefs.h.  */
   10877 int i;
   10878 _ACEOF
   10879 if ac_fn_c_try_compile "$LINENO"
   10880 then :
   10881   xorg_cv_cc_flag_unknown_warning_option=yes
   10882 else case e in #(
   10883   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10884 esac
   10885 fi
   10886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10887 esac
   10888 fi
   10889 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10890 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10892 	CFLAGS="$xorg_testset_save_CFLAGS"
   10893 fi
   10894 
   10895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10898 	fi
   10899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10900 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10901 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10902 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10903 then :
   10904   printf %s "(cached) " >&6
   10905 else case e in #(
   10906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10907 /* end confdefs.h.  */
   10908 int i;
   10909 _ACEOF
   10910 if ac_fn_c_try_compile "$LINENO"
   10911 then :
   10912   xorg_cv_cc_flag_unused_command_line_argument=yes
   10913 else case e in #(
   10914   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10915 esac
   10916 fi
   10917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10918 esac
   10919 fi
   10920 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10921 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10923 	CFLAGS="$xorg_testset_save_CFLAGS"
   10924 fi
   10925 
   10926 found="no"
   10927 
   10928 	if test $found = "no" ; then
   10929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10931 		fi
   10932 
   10933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10935 		fi
   10936 
   10937 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10938 
   10939 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10940 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10941 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10942 		if eval test \${$cacheid+y}
   10943 then :
   10944   printf %s "(cached) " >&6
   10945 else case e in #(
   10946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10947 /* end confdefs.h.  */
   10948 int i;
   10949 int
   10950 main (void)
   10951 {
   10952 
   10953   ;
   10954   return 0;
   10955 }
   10956 _ACEOF
   10957 if ac_fn_c_try_link "$LINENO"
   10958 then :
   10959   eval $cacheid=yes
   10960 else case e in #(
   10961   e) eval $cacheid=no ;;
   10962 esac
   10963 fi
   10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10965     conftest$ac_exeext conftest.$ac_ext ;;
   10966 esac
   10967 fi
   10968 
   10969 
   10970 		CFLAGS="$xorg_testset_save_CFLAGS"
   10971 
   10972 		eval supported=\$$cacheid
   10973 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10974 printf '%s\n' "$supported" >&6; }
   10975 		if test "$supported" = "yes" ; then
   10976 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10977 			found="yes"
   10978 		fi
   10979 	fi
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 xorg_testset_save_CFLAGS="$CFLAGS"
   10996 
   10997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10999 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11000 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11001 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11002 then :
   11003   printf %s "(cached) " >&6
   11004 else case e in #(
   11005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11006 /* end confdefs.h.  */
   11007 int i;
   11008 _ACEOF
   11009 if ac_fn_c_try_compile "$LINENO"
   11010 then :
   11011   xorg_cv_cc_flag_unknown_warning_option=yes
   11012 else case e in #(
   11013   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11014 esac
   11015 fi
   11016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11017 esac
   11018 fi
   11019 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11020 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11022 	CFLAGS="$xorg_testset_save_CFLAGS"
   11023 fi
   11024 
   11025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11028 	fi
   11029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11030 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11033 then :
   11034   printf %s "(cached) " >&6
   11035 else case e in #(
   11036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11037 /* end confdefs.h.  */
   11038 int i;
   11039 _ACEOF
   11040 if ac_fn_c_try_compile "$LINENO"
   11041 then :
   11042   xorg_cv_cc_flag_unused_command_line_argument=yes
   11043 else case e in #(
   11044   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11045 esac
   11046 fi
   11047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11048 esac
   11049 fi
   11050 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11051 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11053 	CFLAGS="$xorg_testset_save_CFLAGS"
   11054 fi
   11055 
   11056 found="no"
   11057 
   11058 	if test $found = "no" ; then
   11059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11061 		fi
   11062 
   11063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11065 		fi
   11066 
   11067 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11068 
   11069 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11070 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11071 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11072 		if eval test \${$cacheid+y}
   11073 then :
   11074   printf %s "(cached) " >&6
   11075 else case e in #(
   11076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11077 /* end confdefs.h.  */
   11078 int i;
   11079 int
   11080 main (void)
   11081 {
   11082 
   11083   ;
   11084   return 0;
   11085 }
   11086 _ACEOF
   11087 if ac_fn_c_try_link "$LINENO"
   11088 then :
   11089   eval $cacheid=yes
   11090 else case e in #(
   11091   e) eval $cacheid=no ;;
   11092 esac
   11093 fi
   11094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11095     conftest$ac_exeext conftest.$ac_ext ;;
   11096 esac
   11097 fi
   11098 
   11099 
   11100 		CFLAGS="$xorg_testset_save_CFLAGS"
   11101 
   11102 		eval supported=\$$cacheid
   11103 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11104 printf '%s\n' "$supported" >&6; }
   11105 		if test "$supported" = "yes" ; then
   11106 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11107 			found="yes"
   11108 		fi
   11109 	fi
   11110 
   11111 
   11112 fi
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 		CWARNFLAGS="$BASE_CFLAGS"
   11121 		if  test "x$GCC" = xyes ; then
   11122 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11123 		fi
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 # Check whether --enable-strict-compilation was given.
   11133 if test ${enable_strict_compilation+y}
   11134 then :
   11135   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11136 else case e in #(
   11137   e) STRICT_COMPILE=no ;;
   11138 esac
   11139 fi
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 STRICT_CFLAGS=""
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 xorg_testset_save_CFLAGS="$CFLAGS"
   11161 
   11162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11164 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11167 then :
   11168   printf %s "(cached) " >&6
   11169 else case e in #(
   11170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11171 /* end confdefs.h.  */
   11172 int i;
   11173 _ACEOF
   11174 if ac_fn_c_try_compile "$LINENO"
   11175 then :
   11176   xorg_cv_cc_flag_unknown_warning_option=yes
   11177 else case e in #(
   11178   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11179 esac
   11180 fi
   11181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11182 esac
   11183 fi
   11184 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11185 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11187 	CFLAGS="$xorg_testset_save_CFLAGS"
   11188 fi
   11189 
   11190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11193 	fi
   11194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11195 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11196 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11197 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11198 then :
   11199   printf %s "(cached) " >&6
   11200 else case e in #(
   11201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11202 /* end confdefs.h.  */
   11203 int i;
   11204 _ACEOF
   11205 if ac_fn_c_try_compile "$LINENO"
   11206 then :
   11207   xorg_cv_cc_flag_unused_command_line_argument=yes
   11208 else case e in #(
   11209   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11210 esac
   11211 fi
   11212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11213 esac
   11214 fi
   11215 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11216 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11218 	CFLAGS="$xorg_testset_save_CFLAGS"
   11219 fi
   11220 
   11221 found="no"
   11222 
   11223 	if test $found = "no" ; then
   11224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11226 		fi
   11227 
   11228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11230 		fi
   11231 
   11232 		CFLAGS="$CFLAGS -pedantic"
   11233 
   11234 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11235 printf %s "checking if $CC supports -pedantic... " >&6; }
   11236 		cacheid=xorg_cv_cc_flag__pedantic
   11237 		if eval test \${$cacheid+y}
   11238 then :
   11239   printf %s "(cached) " >&6
   11240 else case e in #(
   11241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11242 /* end confdefs.h.  */
   11243 int i;
   11244 int
   11245 main (void)
   11246 {
   11247 
   11248   ;
   11249   return 0;
   11250 }
   11251 _ACEOF
   11252 if ac_fn_c_try_link "$LINENO"
   11253 then :
   11254   eval $cacheid=yes
   11255 else case e in #(
   11256   e) eval $cacheid=no ;;
   11257 esac
   11258 fi
   11259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11260     conftest$ac_exeext conftest.$ac_ext ;;
   11261 esac
   11262 fi
   11263 
   11264 
   11265 		CFLAGS="$xorg_testset_save_CFLAGS"
   11266 
   11267 		eval supported=\$$cacheid
   11268 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11269 printf '%s\n' "$supported" >&6; }
   11270 		if test "$supported" = "yes" ; then
   11271 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11272 			found="yes"
   11273 		fi
   11274 	fi
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 xorg_testset_save_CFLAGS="$CFLAGS"
   11291 
   11292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11294 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11295 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11296 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11297 then :
   11298   printf %s "(cached) " >&6
   11299 else case e in #(
   11300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11301 /* end confdefs.h.  */
   11302 int i;
   11303 _ACEOF
   11304 if ac_fn_c_try_compile "$LINENO"
   11305 then :
   11306   xorg_cv_cc_flag_unknown_warning_option=yes
   11307 else case e in #(
   11308   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11309 esac
   11310 fi
   11311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11312 esac
   11313 fi
   11314 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11315 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11317 	CFLAGS="$xorg_testset_save_CFLAGS"
   11318 fi
   11319 
   11320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11323 	fi
   11324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11325 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11328 then :
   11329   printf %s "(cached) " >&6
   11330 else case e in #(
   11331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11332 /* end confdefs.h.  */
   11333 int i;
   11334 _ACEOF
   11335 if ac_fn_c_try_compile "$LINENO"
   11336 then :
   11337   xorg_cv_cc_flag_unused_command_line_argument=yes
   11338 else case e in #(
   11339   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11340 esac
   11341 fi
   11342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11343 esac
   11344 fi
   11345 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11346 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11348 	CFLAGS="$xorg_testset_save_CFLAGS"
   11349 fi
   11350 
   11351 found="no"
   11352 
   11353 	if test $found = "no" ; then
   11354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11356 		fi
   11357 
   11358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11360 		fi
   11361 
   11362 		CFLAGS="$CFLAGS -Werror"
   11363 
   11364 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11365 printf %s "checking if $CC supports -Werror... " >&6; }
   11366 		cacheid=xorg_cv_cc_flag__Werror
   11367 		if eval test \${$cacheid+y}
   11368 then :
   11369   printf %s "(cached) " >&6
   11370 else case e in #(
   11371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11372 /* end confdefs.h.  */
   11373 int i;
   11374 int
   11375 main (void)
   11376 {
   11377 
   11378   ;
   11379   return 0;
   11380 }
   11381 _ACEOF
   11382 if ac_fn_c_try_link "$LINENO"
   11383 then :
   11384   eval $cacheid=yes
   11385 else case e in #(
   11386   e) eval $cacheid=no ;;
   11387 esac
   11388 fi
   11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11390     conftest$ac_exeext conftest.$ac_ext ;;
   11391 esac
   11392 fi
   11393 
   11394 
   11395 		CFLAGS="$xorg_testset_save_CFLAGS"
   11396 
   11397 		eval supported=\$$cacheid
   11398 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11399 printf '%s\n' "$supported" >&6; }
   11400 		if test "$supported" = "yes" ; then
   11401 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11402 			found="yes"
   11403 		fi
   11404 	fi
   11405 
   11406 	if test $found = "no" ; then
   11407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11409 		fi
   11410 
   11411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11413 		fi
   11414 
   11415 		CFLAGS="$CFLAGS -errwarn"
   11416 
   11417 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11418 printf %s "checking if $CC supports -errwarn... " >&6; }
   11419 		cacheid=xorg_cv_cc_flag__errwarn
   11420 		if eval test \${$cacheid+y}
   11421 then :
   11422   printf %s "(cached) " >&6
   11423 else case e in #(
   11424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11425 /* end confdefs.h.  */
   11426 int i;
   11427 int
   11428 main (void)
   11429 {
   11430 
   11431   ;
   11432   return 0;
   11433 }
   11434 _ACEOF
   11435 if ac_fn_c_try_link "$LINENO"
   11436 then :
   11437   eval $cacheid=yes
   11438 else case e in #(
   11439   e) eval $cacheid=no ;;
   11440 esac
   11441 fi
   11442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11443     conftest$ac_exeext conftest.$ac_ext ;;
   11444 esac
   11445 fi
   11446 
   11447 
   11448 		CFLAGS="$xorg_testset_save_CFLAGS"
   11449 
   11450 		eval supported=\$$cacheid
   11451 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11452 printf '%s\n' "$supported" >&6; }
   11453 		if test "$supported" = "yes" ; then
   11454 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11455 			found="yes"
   11456 		fi
   11457 	fi
   11458 
   11459 
   11460 
   11461 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11462 # activate it with -Werror, so we add it here explicitly.
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 xorg_testset_save_CFLAGS="$CFLAGS"
   11477 
   11478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11480 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11483 then :
   11484   printf %s "(cached) " >&6
   11485 else case e in #(
   11486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11487 /* end confdefs.h.  */
   11488 int i;
   11489 _ACEOF
   11490 if ac_fn_c_try_compile "$LINENO"
   11491 then :
   11492   xorg_cv_cc_flag_unknown_warning_option=yes
   11493 else case e in #(
   11494   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11495 esac
   11496 fi
   11497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11498 esac
   11499 fi
   11500 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11501 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11503 	CFLAGS="$xorg_testset_save_CFLAGS"
   11504 fi
   11505 
   11506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11509 	fi
   11510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11511 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11512 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11513 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11514 then :
   11515   printf %s "(cached) " >&6
   11516 else case e in #(
   11517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11518 /* end confdefs.h.  */
   11519 int i;
   11520 _ACEOF
   11521 if ac_fn_c_try_compile "$LINENO"
   11522 then :
   11523   xorg_cv_cc_flag_unused_command_line_argument=yes
   11524 else case e in #(
   11525   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11526 esac
   11527 fi
   11528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11529 esac
   11530 fi
   11531 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11532 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11534 	CFLAGS="$xorg_testset_save_CFLAGS"
   11535 fi
   11536 
   11537 found="no"
   11538 
   11539 	if test $found = "no" ; then
   11540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11542 		fi
   11543 
   11544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11546 		fi
   11547 
   11548 		CFLAGS="$CFLAGS -Werror=attributes"
   11549 
   11550 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11551 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11552 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11553 		if eval test \${$cacheid+y}
   11554 then :
   11555   printf %s "(cached) " >&6
   11556 else case e in #(
   11557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11558 /* end confdefs.h.  */
   11559 int i;
   11560 int
   11561 main (void)
   11562 {
   11563 
   11564   ;
   11565   return 0;
   11566 }
   11567 _ACEOF
   11568 if ac_fn_c_try_link "$LINENO"
   11569 then :
   11570   eval $cacheid=yes
   11571 else case e in #(
   11572   e) eval $cacheid=no ;;
   11573 esac
   11574 fi
   11575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11576     conftest$ac_exeext conftest.$ac_ext ;;
   11577 esac
   11578 fi
   11579 
   11580 
   11581 		CFLAGS="$xorg_testset_save_CFLAGS"
   11582 
   11583 		eval supported=\$$cacheid
   11584 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11585 printf '%s\n' "$supported" >&6; }
   11586 		if test "$supported" = "yes" ; then
   11587 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11588 			found="yes"
   11589 		fi
   11590 	fi
   11591 
   11592 
   11593 
   11594 if test "x$STRICT_COMPILE" = "xyes"; then
   11595     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11596     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11597 fi
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 cat >>confdefs.h <<_ACEOF
   11607 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11608 _ACEOF
   11609 
   11610 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11611 	if test "x$PVM" = "x"; then
   11612 		PVM="0"
   11613 	fi
   11614 
   11615 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11616 
   11617 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11618 	if test "x$PVP" = "x"; then
   11619 		PVP="0"
   11620 	fi
   11621 
   11622 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11623 
   11624 
   11625 
   11626 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11627 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11628 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11629 touch \$(top_srcdir)/ChangeLog; \
   11630 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11631 
   11632 
   11633 
   11634 
   11635 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11636 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11637 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11638 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11639 touch \$(top_srcdir)/INSTALL; \
   11640 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 case $host_os in
   11648     solaris*)
   11649         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11650         # check for a man page file found in later versions that use
   11651         # traditional section numbers instead
   11652         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11653 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11654 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11655 then :
   11656   printf %s "(cached) " >&6
   11657 else case e in #(
   11658   e) test "$cross_compiling" = yes &&
   11659   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11660 if test -r "/usr/share/man/man7/attributes.7"; then
   11661   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11662 else
   11663   ac_cv_file__usr_share_man_man7_attributes_7=no
   11664 fi ;;
   11665 esac
   11666 fi
   11667 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11668 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11669 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11670 then :
   11671   SYSV_MAN_SECTIONS=false
   11672 else case e in #(
   11673   e) SYSV_MAN_SECTIONS=true ;;
   11674 esac
   11675 fi
   11676 
   11677         ;;
   11678     *) SYSV_MAN_SECTIONS=false ;;
   11679 esac
   11680 
   11681 if test x$APP_MAN_SUFFIX = x    ; then
   11682     APP_MAN_SUFFIX=1
   11683 fi
   11684 if test x$APP_MAN_DIR = x    ; then
   11685     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11686 fi
   11687 
   11688 if test x$LIB_MAN_SUFFIX = x    ; then
   11689     LIB_MAN_SUFFIX=3
   11690 fi
   11691 if test x$LIB_MAN_DIR = x    ; then
   11692     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11693 fi
   11694 
   11695 if test x$FILE_MAN_SUFFIX = x    ; then
   11696     case $SYSV_MAN_SECTIONS in
   11697 	true)				FILE_MAN_SUFFIX=4  ;;
   11698 	*)				FILE_MAN_SUFFIX=5  ;;
   11699     esac
   11700 fi
   11701 if test x$FILE_MAN_DIR = x    ; then
   11702     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11703 fi
   11704 
   11705 if test x$MISC_MAN_SUFFIX = x    ; then
   11706     case $SYSV_MAN_SECTIONS in
   11707 	true)				MISC_MAN_SUFFIX=5  ;;
   11708 	*)				MISC_MAN_SUFFIX=7  ;;
   11709     esac
   11710 fi
   11711 if test x$MISC_MAN_DIR = x    ; then
   11712     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11713 fi
   11714 
   11715 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11716     case $SYSV_MAN_SECTIONS in
   11717 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11718 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11719     esac
   11720 fi
   11721 if test x$DRIVER_MAN_DIR = x    ; then
   11722     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11723 fi
   11724 
   11725 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11726     case $SYSV_MAN_SECTIONS in
   11727 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11728 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11729     esac
   11730 fi
   11731 if test x$ADMIN_MAN_DIR = x    ; then
   11732     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11733 fi
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 XORG_MAN_PAGE="X Version 11"
   11750 
   11751 MAN_SUBSTS="\
   11752 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11753 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11754 	-e 's|__xservername__|Xorg|g' \
   11755 	-e 's|__xconfigfile__|xorg.conf|g' \
   11756 	-e 's|__projectroot__|\$(prefix)|g' \
   11757 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11758 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11759 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11760 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11761 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11762 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11763 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11764 
   11765 
   11766 
   11767 
   11768 AM_DEFAULT_VERBOSITY=0
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 # Checks for pkg-config packages
   11775 
   11776 pkg_failed=no
   11777 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ICO" >&5
   11778 printf %s "checking for ICO... " >&6; }
   11779 
   11780 if test -n "$ICO_CFLAGS"; then
   11781     pkg_cv_ICO_CFLAGS="$ICO_CFLAGS"
   11782  elif test -n "$PKG_CONFIG"; then
   11783     if test -n "$PKG_CONFIG" && \
   11784     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1 xproto >= 7.0.22\""; } >&5
   11785   ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1 xproto >= 7.0.22") 2>&5
   11786   ac_status=$?
   11787   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11788   test $ac_status = 0; }; then
   11789   pkg_cv_ICO_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 0.99.1 xproto >= 7.0.22" 2>/dev/null`
   11790 		      test "x$?" != "x0" && pkg_failed=yes
   11791 else
   11792   pkg_failed=yes
   11793 fi
   11794  else
   11795     pkg_failed=untried
   11796 fi
   11797 if test -n "$ICO_LIBS"; then
   11798     pkg_cv_ICO_LIBS="$ICO_LIBS"
   11799  elif test -n "$PKG_CONFIG"; then
   11800     if test -n "$PKG_CONFIG" && \
   11801     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1 xproto >= 7.0.22\""; } >&5
   11802   ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1 xproto >= 7.0.22") 2>&5
   11803   ac_status=$?
   11804   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11805   test $ac_status = 0; }; then
   11806   pkg_cv_ICO_LIBS=`$PKG_CONFIG --libs "x11 >= 0.99.1 xproto >= 7.0.22" 2>/dev/null`
   11807 		      test "x$?" != "x0" && pkg_failed=yes
   11808 else
   11809   pkg_failed=yes
   11810 fi
   11811  else
   11812     pkg_failed=untried
   11813 fi
   11814 
   11815 
   11816 
   11817 if test $pkg_failed = yes; then
   11818    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11819 printf '%s\n' "no" >&6; }
   11820 
   11821 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11822         _pkg_short_errors_supported=yes
   11823 else
   11824         _pkg_short_errors_supported=no
   11825 fi
   11826         if test $_pkg_short_errors_supported = yes; then
   11827 	        ICO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 0.99.1 xproto >= 7.0.22" 2>&1`
   11828         else
   11829 	        ICO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 0.99.1 xproto >= 7.0.22" 2>&1`
   11830         fi
   11831 	# Put the nasty error message in config.log where it belongs
   11832 	echo "$ICO_PKG_ERRORS" >&5
   11833 
   11834 	as_fn_error $? "Package requirements (x11 >= 0.99.1 xproto >= 7.0.22) were not met:
   11835 
   11836 $ICO_PKG_ERRORS
   11837 
   11838 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11839 installed software in a non-standard prefix.
   11840 
   11841 Alternatively, you may set the environment variables ICO_CFLAGS
   11842 and ICO_LIBS to avoid the need to call pkg-config.
   11843 See the pkg-config man page for more details." "$LINENO" 5
   11844 elif test $pkg_failed = untried; then
   11845      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11846 printf '%s\n' "no" >&6; }
   11847 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11848 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11849 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11850 is in your PATH or set the PKG_CONFIG environment variable to the full
   11851 path to pkg-config.
   11852 
   11853 Alternatively, you may set the environment variables ICO_CFLAGS
   11854 and ICO_LIBS to avoid the need to call pkg-config.
   11855 See the pkg-config man page for more details.
   11856 
   11857 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11858 See 'config.log' for more details" "$LINENO" 5; }
   11859 else
   11860 	ICO_CFLAGS=$pkg_cv_ICO_CFLAGS
   11861 	ICO_LIBS=$pkg_cv_ICO_LIBS
   11862         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11863 printf '%s\n' "yes" >&6; }
   11864 
   11865 fi
   11866 
   11867 XTHREADLIB=`$PKG_CONFIG --variable=xthreadlib x11`
   11868 
   11869 
   11870 
   11871 ac_config_files="$ac_config_files Makefile man/Makefile"
   11872 
   11873 cat >confcache <<\_ACEOF
   11874 # This file is a shell script that caches the results of configure
   11875 # tests run on this system so they can be shared between configure
   11876 # scripts and configure runs, see configure's option --config-cache.
   11877 # It is not useful on other systems.  If it contains results you don't
   11878 # want to keep, you may remove or edit it.
   11879 #
   11880 # config.status only pays attention to the cache file if you give it
   11881 # the --recheck option to rerun configure.
   11882 #
   11883 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11884 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11885 # following values.
   11886 
   11887 _ACEOF
   11888 
   11889 ac_cache_dump |
   11890   sed '
   11891      /^ac_cv_env_/b end
   11892      t clear
   11893      :clear
   11894      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11895      t end
   11896      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11897      :end' >>confcache
   11898 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11899   if test -w "$cache_file"; then
   11900     if test "x$cache_file" != "x/dev/null"; then
   11901       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11902 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   11903       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11904 	cat confcache >"$cache_file"
   11905       else
   11906         case $cache_file in #(
   11907         */* | ?:*)
   11908 	  mv -f confcache "$cache_file"$$ &&
   11909 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11910         *)
   11911 	  mv -f confcache "$cache_file" ;;
   11912 	esac
   11913       fi
   11914     fi
   11915   else
   11916     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11917 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   11918   fi
   11919 fi
   11920 rm -f confcache
   11921 
   11922 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11923 # Let make expand exec_prefix.
   11924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11925 
   11926 DEFS=-DHAVE_CONFIG_H
   11927 
   11928 ac_libobjs=
   11929 ac_ltlibobjs=
   11930 U=
   11931 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11932   # 1. Remove the extension, and $U if already installed.
   11933   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11934   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   11935   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11936   #    will be set to the directory where LIBOBJS objects are built.
   11937   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11938   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11939 done
   11940 LIBOBJS=$ac_libobjs
   11941 
   11942 LTLIBOBJS=$ac_ltlibobjs
   11943 
   11944 
   11945 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11946 printf %s "checking that generated files are newer than configure... " >&6; }
   11947    if test -n "$am_sleep_pid"; then
   11948      # Hide warnings about reused PIDs.
   11949      wait $am_sleep_pid 2>/dev/null
   11950    fi
   11951    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11952 printf '%s\n' "done" >&6; }
   11953 case $enable_silent_rules in # (((
   11954   yes) AM_DEFAULT_VERBOSITY=0;;
   11955    no) AM_DEFAULT_VERBOSITY=1;;
   11956 esac
   11957 if test $am_cv_make_support_nested_variables = yes; then
   11958     AM_V='$(V)'
   11959   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11960 else
   11961   AM_V=$AM_DEFAULT_VERBOSITY
   11962   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11963 fi
   11964 
   11965  if test -n "$EXEEXT"; then
   11966   am__EXEEXT_TRUE=
   11967   am__EXEEXT_FALSE='#'
   11968 else
   11969   am__EXEEXT_TRUE='#'
   11970   am__EXEEXT_FALSE=
   11971 fi
   11972 
   11973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11974   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11976 fi
   11977 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11978   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11980 fi
   11981 
   11982 : "${CONFIG_STATUS=./config.status}"
   11983 case $CONFIG_STATUS in #(
   11984   -*) :
   11985     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   11986   */*) :
   11987      ;; #(
   11988   *) :
   11989     CONFIG_STATUS=./$CONFIG_STATUS ;;
   11990 esac
   11991 
   11992 ac_write_fail=0
   11993 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   11994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11995 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   11996 as_write_fail=0
   11997 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   11998 #! $SHELL
   11999 # Generated by $as_me.
   12000 # Run this file to recreate the current configuration.
   12001 # Compiler output produced by configure, useful for debugging
   12002 # configure, is in config.log if it exists.
   12003 
   12004 debug=false
   12005 ac_cs_recheck=false
   12006 ac_cs_silent=false
   12007 
   12008 SHELL=\${CONFIG_SHELL-$SHELL}
   12009 export SHELL
   12010 _ASEOF
   12011 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12012 ## -------------------- ##
   12013 ## M4sh Initialization. ##
   12014 ## -------------------- ##
   12015 
   12016 # Be more Bourne compatible
   12017 DUALCASE=1; export DUALCASE # for MKS sh
   12018 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12019 then :
   12020   emulate sh
   12021   NULLCMD=:
   12022   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12023   # contradicts POSIX and common usage.  Disable this.
   12024   alias -g '${1+"$@"}'='"$@"'
   12025   setopt NO_GLOB_SUBST
   12026 else case e in #(
   12027   e) case `(set -o) 2>/dev/null` in #(
   12028   *posix*) :
   12029     set -o posix ;; #(
   12030   *) :
   12031      ;;
   12032 esac ;;
   12033 esac
   12034 fi
   12035 
   12036 
   12037 
   12038 # Reset variables that may have inherited troublesome values from
   12039 # the environment.
   12040 
   12041 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12042 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12043 # side effect of setting IFS to empty, thus disabling word splitting.)
   12044 # Quoting is to prevent editors from complaining about space-tab.
   12045 as_nl='
   12046 '
   12047 export as_nl
   12048 IFS=" ""	$as_nl"
   12049 
   12050 PS1='$ '
   12051 PS2='> '
   12052 PS4='+ '
   12053 
   12054 # Ensure predictable behavior from utilities with locale-dependent output.
   12055 LC_ALL=C
   12056 export LC_ALL
   12057 LANGUAGE=C
   12058 export LANGUAGE
   12059 
   12060 # We cannot yet rely on "unset" to work, but we need these variables
   12061 # to be unset--not just set to an empty or harmless value--now, to
   12062 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12063 # also avoids known problems related to "unset" and subshell syntax
   12064 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12065 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12066 do eval test \${$as_var+y} \
   12067   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12068 done
   12069 
   12070 # Ensure that fds 0, 1, and 2 are open.
   12071 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12072 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12073 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12074 
   12075 # The user is always right.
   12076 if ${PATH_SEPARATOR+false} :; then
   12077   PATH_SEPARATOR=:
   12078   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12079     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12080       PATH_SEPARATOR=';'
   12081   }
   12082 fi
   12083 
   12084 
   12085 # Find who we are.  Look in the path if we contain no directory separator.
   12086 as_myself=
   12087 case $0 in #((
   12088   *[\\/]* ) as_myself=$0 ;;
   12089   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12090 for as_dir in $PATH
   12091 do
   12092   IFS=$as_save_IFS
   12093   case $as_dir in #(((
   12094     '') as_dir=./ ;;
   12095     */) ;;
   12096     *) as_dir=$as_dir/ ;;
   12097   esac
   12098     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12099   done
   12100 IFS=$as_save_IFS
   12101 
   12102      ;;
   12103 esac
   12104 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12105 # in which case we are not to be found in the path.
   12106 if test "x$as_myself" = x; then
   12107   as_myself=$0
   12108 fi
   12109 if test ! -f "$as_myself"; then
   12110   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12111   exit 1
   12112 fi
   12113 
   12114 
   12115 
   12116 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12117 # ----------------------------------------
   12118 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12119 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12120 # script with STATUS, using 1 if that was 0.
   12121 as_fn_error ()
   12122 {
   12123   as_status=$1; test $as_status -eq 0 && as_status=1
   12124   if test "$4"; then
   12125     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12126     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12127   fi
   12128   printf '%s\n' "$as_me: error: $2" >&2
   12129   as_fn_exit $as_status
   12130 } # as_fn_error
   12131 
   12132 
   12133 # as_fn_set_status STATUS
   12134 # -----------------------
   12135 # Set $? to STATUS, without forking.
   12136 as_fn_set_status ()
   12137 {
   12138   return $1
   12139 } # as_fn_set_status
   12140 
   12141 # as_fn_exit STATUS
   12142 # -----------------
   12143 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12144 as_fn_exit ()
   12145 {
   12146   set +e
   12147   as_fn_set_status $1
   12148   exit $1
   12149 } # as_fn_exit
   12150 
   12151 # as_fn_unset VAR
   12152 # ---------------
   12153 # Portably unset VAR.
   12154 as_fn_unset ()
   12155 {
   12156   { eval $1=; unset $1;}
   12157 }
   12158 as_unset=as_fn_unset
   12159 
   12160 # as_fn_append VAR VALUE
   12161 # ----------------------
   12162 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12163 # advantage of any shell optimizations that allow amortized linear growth over
   12164 # repeated appends, instead of the typical quadratic growth present in naive
   12165 # implementations.
   12166 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12167 then :
   12168   eval 'as_fn_append ()
   12169   {
   12170     eval $1+=\$2
   12171   }'
   12172 else case e in #(
   12173   e) as_fn_append ()
   12174   {
   12175     eval $1=\$$1\$2
   12176   } ;;
   12177 esac
   12178 fi # as_fn_append
   12179 
   12180 # as_fn_arith ARG...
   12181 # ------------------
   12182 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12184 # must be portable across $(()) and expr.
   12185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12186 then :
   12187   eval 'as_fn_arith ()
   12188   {
   12189     as_val=$(( $* ))
   12190   }'
   12191 else case e in #(
   12192   e) as_fn_arith ()
   12193   {
   12194     as_val=`expr "$@" || test $? -eq 1`
   12195   } ;;
   12196 esac
   12197 fi # as_fn_arith
   12198 
   12199 
   12200 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12201    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12202   as_expr=expr
   12203 else
   12204   as_expr=false
   12205 fi
   12206 
   12207 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12208   as_basename=basename
   12209 else
   12210   as_basename=false
   12211 fi
   12212 
   12213 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12214   as_dirname=dirname
   12215 else
   12216   as_dirname=false
   12217 fi
   12218 
   12219 as_me=`$as_basename -- "$0" ||
   12220 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12221 	 X"$0" : 'X\(//\)$' \| \
   12222 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12223 printf '%s\n' X/"$0" |
   12224     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12225 	    s//\1/
   12226 	    q
   12227 	  }
   12228 	  /^X\/\(\/\/\)$/{
   12229 	    s//\1/
   12230 	    q
   12231 	  }
   12232 	  /^X\/\(\/\).*/{
   12233 	    s//\1/
   12234 	    q
   12235 	  }
   12236 	  s/.*/./; q'`
   12237 
   12238 # Avoid depending upon Character Ranges.
   12239 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12240 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12241 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12242 as_cr_digits='0123456789'
   12243 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12244 
   12245 rm -f conf$$ conf$$.exe conf$$.file
   12246 if test -d conf$$.dir; then
   12247   rm -f conf$$.dir/conf$$.file
   12248 else
   12249   rm -f conf$$.dir
   12250   mkdir conf$$.dir 2>/dev/null
   12251 fi
   12252 if (echo >conf$$.file) 2>/dev/null; then
   12253   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12254     as_ln_s='ln -s'
   12255     # ... but there are two gotchas:
   12256     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12257     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12258     # In both cases, we have to default to 'cp -pR'.
   12259     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12260       as_ln_s='cp -pR'
   12261   elif ln conf$$.file conf$$ 2>/dev/null; then
   12262     as_ln_s=ln
   12263   else
   12264     as_ln_s='cp -pR'
   12265   fi
   12266 else
   12267   as_ln_s='cp -pR'
   12268 fi
   12269 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12270 rmdir conf$$.dir 2>/dev/null
   12271 
   12272 
   12273 # as_fn_mkdir_p
   12274 # -------------
   12275 # Create "$as_dir" as a directory, including parents if necessary.
   12276 as_fn_mkdir_p ()
   12277 {
   12278 
   12279   case $as_dir in #(
   12280   -*) as_dir=./$as_dir;;
   12281   esac
   12282   test -d "$as_dir" || eval $as_mkdir_p || {
   12283     as_dirs=
   12284     while :; do
   12285       case $as_dir in #(
   12286       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12287       *) as_qdir=$as_dir;;
   12288       esac
   12289       as_dirs="'$as_qdir' $as_dirs"
   12290       as_dir=`$as_dirname -- "$as_dir" ||
   12291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12292 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12293 	 X"$as_dir" : 'X\(//\)$' \| \
   12294 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12295 printf '%s\n' X"$as_dir" |
   12296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12297 	    s//\1/
   12298 	    q
   12299 	  }
   12300 	  /^X\(\/\/\)[^/].*/{
   12301 	    s//\1/
   12302 	    q
   12303 	  }
   12304 	  /^X\(\/\/\)$/{
   12305 	    s//\1/
   12306 	    q
   12307 	  }
   12308 	  /^X\(\/\).*/{
   12309 	    s//\1/
   12310 	    q
   12311 	  }
   12312 	  s/.*/./; q'`
   12313       test -d "$as_dir" && break
   12314     done
   12315     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12316   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12317 
   12318 
   12319 } # as_fn_mkdir_p
   12320 if mkdir -p . 2>/dev/null; then
   12321   as_mkdir_p='mkdir -p "$as_dir"'
   12322 else
   12323   test -d ./-p && rmdir ./-p
   12324   as_mkdir_p=false
   12325 fi
   12326 
   12327 
   12328 # as_fn_executable_p FILE
   12329 # -----------------------
   12330 # Test if FILE is an executable regular file.
   12331 as_fn_executable_p ()
   12332 {
   12333   test -f "$1" && test -x "$1"
   12334 } # as_fn_executable_p
   12335 as_test_x='test -x'
   12336 as_executable_p=as_fn_executable_p
   12337 
   12338 # Sed expression to map a string onto a valid CPP name.
   12339 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12340 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12341 
   12342 # Sed expression to map a string onto a valid variable name.
   12343 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12344 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12345 
   12346 
   12347 exec 6>&1
   12348 ## ------------------------------------- ##
   12349 ## Main body of "$CONFIG_STATUS" script. ##
   12350 ## ------------------------------------- ##
   12351 _ASEOF
   12352 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12353 
   12354 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12355 # Save the log message, to keep $0 and so on meaningful, and to
   12356 # report actual input values of CONFIG_FILES etc. instead of their
   12357 # values after options handling.
   12358 ac_log="
   12359 This file was extended by ico $as_me 1.0.7, which was
   12360 generated by GNU Autoconf 2.73.  Invocation command line was
   12361 
   12362   CONFIG_FILES    = $CONFIG_FILES
   12363   CONFIG_HEADERS  = $CONFIG_HEADERS
   12364   CONFIG_LINKS    = $CONFIG_LINKS
   12365   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12366   $ $0 $@
   12367 
   12368 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12369 "
   12370 
   12371 _ACEOF
   12372 
   12373 case $ac_config_files in *"
   12374 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12375 esac
   12376 
   12377 case $ac_config_headers in *"
   12378 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12379 esac
   12380 
   12381 
   12382 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12383 # Files that config.status was made for.
   12384 config_files="$ac_config_files"
   12385 config_headers="$ac_config_headers"
   12386 config_commands="$ac_config_commands"
   12387 
   12388 _ACEOF
   12389 
   12390 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12391 ac_cs_usage="\
   12392 '$as_me' instantiates files and other configuration actions
   12393 from templates according to the current configuration.  Unless the files
   12394 and actions are specified as TAGs, all are instantiated by default.
   12395 
   12396 Usage: $0 [OPTION]... [TAG]...
   12397 
   12398   -h, --help       print this help, then exit
   12399   -V, --version    print version number and configuration settings, then exit
   12400       --config     print configuration, then exit
   12401   -q, --quiet, --silent
   12402                    do not print progress messages
   12403   -d, --debug      don't remove temporary files
   12404       --recheck    update $as_me by reconfiguring in the same conditions
   12405       --file=FILE[:TEMPLATE]
   12406                    instantiate the configuration file FILE
   12407       --header=FILE[:TEMPLATE]
   12408                    instantiate the configuration header FILE
   12409 
   12410 Configuration files:
   12411 $config_files
   12412 
   12413 Configuration headers:
   12414 $config_headers
   12415 
   12416 Configuration commands:
   12417 $config_commands
   12418 
   12419 Report bugs to <https://gitlab.freedesktop.org/xorg/app/ico/issues>."
   12420 
   12421 _ACEOF
   12422 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12423 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12424 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12425 ac_cs_config='$ac_cs_config_escaped'
   12426 ac_cs_version="\\
   12427 ico config.status 1.0.7
   12428 configured by $0, generated by GNU Autoconf 2.73,
   12429   with options \\"\$ac_cs_config\\"
   12430 
   12431 Copyright (C) 2026 Free Software Foundation, Inc.
   12432 This config.status script is free software; the Free Software Foundation
   12433 gives unlimited permission to copy, distribute and modify it."
   12434 
   12435 ac_pwd='$ac_pwd'
   12436 srcdir='$srcdir'
   12437 INSTALL='$INSTALL'
   12438 MKDIR_P='$MKDIR_P'
   12439 AWK='$AWK'
   12440 test -n "\$AWK" || {
   12441   awk '' </dev/null ||
   12442     as_fn_error \$? "try installing gawk"
   12443   AWK=awk
   12444 }
   12445 _ACEOF
   12446 
   12447 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12448 # The default lists apply if the user does not specify any file.
   12449 ac_need_defaults=:
   12450 while test $# != 0
   12451 do
   12452   case $1 in
   12453   --*=?*)
   12454     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12455     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12456     ac_shift=:
   12457     ;;
   12458   --*=)
   12459     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12460     ac_optarg=
   12461     ac_shift=:
   12462     ;;
   12463   *)
   12464     ac_option=$1
   12465     ac_optarg=$2
   12466     ac_shift=shift
   12467     ;;
   12468   esac
   12469 
   12470   case $ac_option in
   12471   # Handling of the options.
   12472   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12473     ac_cs_recheck=: ;;
   12474   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12475     printf '%s\n' "$ac_cs_version"; exit ;;
   12476   --config | --confi | --conf | --con | --co | --c )
   12477     printf '%s\n' "$ac_cs_config"; exit ;;
   12478   --debug | --debu | --deb | --de | --d | -d )
   12479     debug=: ;;
   12480   --file | --fil | --fi | --f )
   12481     $ac_shift
   12482     case $ac_optarg in
   12483     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12484     '') as_fn_error $? "missing file argument" ;;
   12485     esac
   12486     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12487     ac_need_defaults=false;;
   12488   --header | --heade | --head | --hea )
   12489     $ac_shift
   12490     case $ac_optarg in
   12491     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12492     esac
   12493     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12494     ac_need_defaults=false;;
   12495   --he | --h)
   12496     # Conflict between --help and --header
   12497     as_fn_error $? "ambiguous option: '$1'
   12498 Try '$0 --help' for more information.";;
   12499   --help | --hel | -h )
   12500     printf '%s\n' "$ac_cs_usage"; exit ;;
   12501   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12502   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12503     ac_cs_silent=: ;;
   12504 
   12505   # This is an error.
   12506   -*) as_fn_error $? "unrecognized option: '$1'
   12507 Try '$0 --help' for more information." ;;
   12508 
   12509   *) as_fn_append ac_config_targets " $1"
   12510      ac_need_defaults=false ;;
   12511 
   12512   esac
   12513   shift
   12514 done
   12515 
   12516 ac_configure_extra_args=
   12517 
   12518 if $ac_cs_silent; then
   12519   exec 6>/dev/null
   12520   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12521 fi
   12522 
   12523 _ACEOF
   12524 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12525 if \$ac_cs_recheck; then
   12526   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12527   shift
   12528   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12529   CONFIG_SHELL='$SHELL'
   12530   export CONFIG_SHELL
   12531   exec "\$@"
   12532 fi
   12533 
   12534 _ACEOF
   12535 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12536 exec 5>>config.log
   12537 {
   12538   echo
   12539   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12540 ## Running $as_me. ##
   12541 _ASBOX
   12542   printf '%s\n' "$ac_log"
   12543 } >&5
   12544 
   12545 _ACEOF
   12546 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12547 #
   12548 # INIT-COMMANDS
   12549 #
   12550 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12551 
   12552 _ACEOF
   12553 
   12554 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12555 
   12556 # Handling of arguments.
   12557 for ac_config_target in $ac_config_targets
   12558 do
   12559   case $ac_config_target in
   12560     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12561     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12562     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12563     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12564 
   12565   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12566   esac
   12567 done
   12568 
   12569 
   12570 # If the user did not use the arguments to specify the items to instantiate,
   12571 # then the envvar interface is used.  Set only those that are not.
   12572 # We use the long form for the default assignment because of an extremely
   12573 # bizarre bug on SunOS 4.1.3.
   12574 if $ac_need_defaults; then
   12575   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12576   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12577   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12578 fi
   12579 
   12580 # Have a temporary directory for convenience.  Make it in the build tree
   12581 # simply because there is no reason against having it here, and in addition,
   12582 # creating and moving files from /tmp can sometimes cause problems.
   12583 # Hook for its removal unless debugging.
   12584 # Note that there is a small window in which the directory will not be cleaned:
   12585 # after its creation but before its name has been assigned to '$tmp'.
   12586 $debug ||
   12587 {
   12588   tmp= ac_tmp=
   12589   trap 'exit_status=$?
   12590   : "${ac_tmp:=$tmp}"
   12591   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12592 ' 0
   12593   trap 'as_fn_exit 1' 1 2 13 15
   12594 }
   12595 # Create a (secure) tmp directory for tmp files.
   12596 
   12597 {
   12598   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12599   test -d "$tmp"
   12600 }  ||
   12601 {
   12602   tmp=./conf$$-$RANDOM
   12603   (umask 077 && mkdir "$tmp")
   12604 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12605 ac_tmp=$tmp
   12606 
   12607 # Set up the scripts for CONFIG_FILES section.
   12608 # No need to generate them if there are no CONFIG_FILES.
   12609 # This happens for instance with './config.status config.h'.
   12610 if test -n "$CONFIG_FILES"; then
   12611 
   12612 
   12613 ac_cr=`echo X | tr X '\015'`
   12614 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12615 # But we know of no other shell where ac_cr would be empty at this
   12616 # point, so we can use a bashism as a fallback.
   12617 if test "x$ac_cr" = x; then
   12618   eval ac_cr=\$\'\\r\'
   12619 fi
   12620 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12622   ac_cs_awk_cr='\\r'
   12623 else
   12624   ac_cs_awk_cr=$ac_cr
   12625 fi
   12626 
   12627 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12628 _ACEOF
   12629 
   12630 
   12631 {
   12632   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12633   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12634   echo "_ACEOF"
   12635 } >conf$$subs.sh ||
   12636   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12637 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   12638 ac_delim='%!_!# '
   12639 for ac_last_try in false false false false false :; do
   12640   . ./conf$$subs.sh ||
   12641     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12642 
   12643   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   12644   if test $ac_delim_n = $ac_delim_num; then
   12645     break
   12646   elif $ac_last_try; then
   12647     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12648   else
   12649     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12650   fi
   12651 done
   12652 rm -f conf$$subs.sh
   12653 
   12654 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12655 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12656 _ACEOF
   12657 sed -n '
   12658 h
   12659 s/^/S["/; s/!.*/"]=/
   12660 p
   12661 g
   12662 s/^[^!]*!//
   12663 :repl
   12664 t repl
   12665 s/'"$ac_delim"'$//
   12666 t delim
   12667 :nl
   12668 h
   12669 s/\(.\{148\}\)..*/\1/
   12670 t more1
   12671 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12672 p
   12673 n
   12674 b repl
   12675 :more1
   12676 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12677 p
   12678 g
   12679 s/.\{148\}//
   12680 t nl
   12681 :delim
   12682 h
   12683 s/\(.\{148\}\)..*/\1/
   12684 t more2
   12685 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12686 p
   12687 b
   12688 :more2
   12689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12690 p
   12691 g
   12692 s/.\{148\}//
   12693 t delim
   12694 ' <conf$$subs.awk | sed '
   12695 /^[^""]/{
   12696   N
   12697   s/\n//
   12698 }
   12699 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   12700 rm -f conf$$subs.awk
   12701 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12702 _ACAWK
   12703 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12704   for (key in S) S_is_set[key] = 1
   12705   FS = ""
   12706 
   12707 }
   12708 {
   12709   line = $ 0
   12710   nfields = split(line, field, "@")
   12711   substed = 0
   12712   len = length(field[1])
   12713   for (i = 2; i < nfields; i++) {
   12714     key = field[i]
   12715     keylen = length(key)
   12716     if (S_is_set[key]) {
   12717       value = S[key]
   12718       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12719       len += length(value) + length(field[++i])
   12720       substed = 1
   12721     } else
   12722       len += 1 + keylen
   12723   }
   12724 
   12725   print line
   12726 }
   12727 
   12728 _ACAWK
   12729 _ACEOF
   12730 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12731 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12732   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12733 else
   12734   cat
   12735 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12736   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12737 _ACEOF
   12738 
   12739 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12740 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12741 # trailing colons and then remove the whole line if VPATH becomes empty
   12742 # (actually we leave an empty line to preserve line numbers).
   12743 if test "x$srcdir" = x.; then
   12744   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12745 h
   12746 s///
   12747 s/^/:/
   12748 s/[	 ]*$/:/
   12749 s/:\$(srcdir):/:/g
   12750 s/:\${srcdir}:/:/g
   12751 s/:@srcdir@:/:/g
   12752 s/^:*//
   12753 s/:*$//
   12754 x
   12755 s/\(=[	 ]*\).*/\1/
   12756 G
   12757 s/\n//
   12758 s/^[^=]*=[	 ]*$//
   12759 }'
   12760 fi
   12761 
   12762 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12763 fi # test -n "$CONFIG_FILES"
   12764 
   12765 # Set up the scripts for CONFIG_HEADERS section.
   12766 # No need to generate them if there are no CONFIG_HEADERS.
   12767 # This happens for instance with './config.status Makefile'.
   12768 if test -n "$CONFIG_HEADERS"; then
   12769 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12770 BEGIN {
   12771 _ACEOF
   12772 
   12773 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12774 # here-document in config.status, that substitutes the proper values into
   12775 # config.h.in to produce config.h.
   12776 
   12777 # Create a delimiter string that does not exist in confdefs.h, to ease
   12778 # handling of long lines.
   12779 ac_delim='%!_!# '
   12780 for ac_last_try in false false :; do
   12781   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12782   if test -z "$ac_tt"; then
   12783     break
   12784   elif $ac_last_try; then
   12785     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12786   else
   12787     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12788   fi
   12789 done
   12790 
   12791 # For the awk script, D is an array of macro values keyed by name,
   12792 # likewise P contains macro parameters if any.  Preserve backslash
   12793 # newline sequences.
   12794 
   12795 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12796 sed -n '
   12797 s/.\{148\}/&'"$ac_delim"'/g
   12798 t rset
   12799 :rset
   12800 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12801 t def
   12802 d
   12803 :def
   12804 s/\\$//
   12805 t bsnl
   12806 s/["\\]/\\&/g
   12807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12808 D["\1"]=" \3"/p
   12809 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12810 d
   12811 :bsnl
   12812 s/["\\]/\\&/g
   12813 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12814 D["\1"]=" \3\\\\\\n"\\/p
   12815 t cont
   12816 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12817 t cont
   12818 d
   12819 :cont
   12820 n
   12821 s/.\{148\}/&'"$ac_delim"'/g
   12822 t clear
   12823 :clear
   12824 s/\\$//
   12825 t bsnlc
   12826 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12827 d
   12828 :bsnlc
   12829 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12830 b cont
   12831 ' <confdefs.h | sed '
   12832 s/'"$ac_delim"'/"\\\
   12833 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   12834 
   12835 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12836   for (key in D) D_is_set[key] = 1
   12837   FS = ""
   12838 }
   12839 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12840   line = \$ 0
   12841   split(line, arg, " ")
   12842   if (arg[1] == "#") {
   12843     defundef = arg[2]
   12844     mac1 = arg[3]
   12845   } else {
   12846     defundef = substr(arg[1], 2)
   12847     mac1 = arg[2]
   12848   }
   12849   split(mac1, mac2, "(") #)
   12850   macro = mac2[1]
   12851   prefix = substr(line, 1, index(line, defundef) - 1)
   12852   if (D_is_set[macro]) {
   12853     suffix = P[macro] D[macro]
   12854     while (suffix ~ /[\t ]$/) {
   12855       suffix = substr(suffix, 1, length(suffix) - 1)
   12856     }
   12857     # Preserve the white space surrounding the "#".
   12858     print prefix "define", macro suffix
   12859     next
   12860   } else {
   12861     # Replace #undef with comments.  This is necessary, for example,
   12862     # in the case of _POSIX_SOURCE, which is predefined and required
   12863     # on some systems where configure will not decide to define it.
   12864     if (defundef == "undef") {
   12865       print "/*", prefix defundef, macro, "*/"
   12866       next
   12867     }
   12868   }
   12869 }
   12870 { print }
   12871 _ACAWK
   12872 _ACEOF
   12873 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12874   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12875 fi # test -n "$CONFIG_HEADERS"
   12876 
   12877 
   12878 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12879 shift
   12880 for ac_tag
   12881 do
   12882   case $ac_tag in
   12883   :[FHLC]) ac_mode=$ac_tag; continue;;
   12884   esac
   12885   case $ac_mode$ac_tag in
   12886   :[FHL]*:*);;
   12887   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12888   :[FH]-) ac_tag=-:-;;
   12889   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12890   esac
   12891   ac_save_IFS=$IFS
   12892   IFS=:
   12893   set x $ac_tag
   12894   IFS=$ac_save_IFS
   12895   shift
   12896   ac_file=$1
   12897   shift
   12898 
   12899   case $ac_mode in
   12900   :L) ac_source=$1;;
   12901   :[FH])
   12902     ac_file_inputs=
   12903     for ac_f
   12904     do
   12905       case $ac_f in
   12906       -) ac_f="$ac_tmp/stdin";;
   12907       *) # Look for the file first in the build tree, then in the source tree
   12908 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12909 	 # because $ac_f cannot contain ':'.
   12910 	 test -f "$ac_f" ||
   12911 	   case $ac_f in
   12912 	   [\\/$]*) false;;
   12913 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12914 	   esac ||
   12915 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12916       esac
   12917       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12918       as_fn_append ac_file_inputs " '$ac_f'"
   12919     done
   12920 
   12921     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12922     # use $as_me), people would be surprised to read:
   12923     #    /* config.h.  Generated by config.status.  */
   12924     configure_input='Generated from '`
   12925 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12926 	`' by configure.'
   12927     if test x"$ac_file" != x-; then
   12928       configure_input="$ac_file.  $configure_input"
   12929       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12930 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   12931     fi
   12932     # Neutralize special characters interpreted by sed in replacement strings.
   12933     case $configure_input in #(
   12934     *\&* | *\|* | *\\* )
   12935        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   12936        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12937     *) ac_sed_conf_input=$configure_input;;
   12938     esac
   12939 
   12940     case $ac_tag in
   12941     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12942       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12943     esac
   12944     ;;
   12945   esac
   12946 
   12947   ac_dir=`$as_dirname -- "$ac_file" ||
   12948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12949 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12950 	 X"$ac_file" : 'X\(//\)$' \| \
   12951 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12952 printf '%s\n' X"$ac_file" |
   12953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12954 	    s//\1/
   12955 	    q
   12956 	  }
   12957 	  /^X\(\/\/\)[^/].*/{
   12958 	    s//\1/
   12959 	    q
   12960 	  }
   12961 	  /^X\(\/\/\)$/{
   12962 	    s//\1/
   12963 	    q
   12964 	  }
   12965 	  /^X\(\/\).*/{
   12966 	    s//\1/
   12967 	    q
   12968 	  }
   12969 	  s/.*/./; q'`
   12970   as_dir="$ac_dir"; as_fn_mkdir_p
   12971   ac_builddir=.
   12972 
   12973 case "$ac_dir" in
   12974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12975 *)
   12976   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   12977   # A ".." for each directory in $ac_dir_suffix.
   12978   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12979   case $ac_top_builddir_sub in
   12980   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12981   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12982   esac ;;
   12983 esac
   12984 ac_abs_top_builddir=$ac_pwd
   12985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12986 # for backward compatibility:
   12987 ac_top_builddir=$ac_top_build_prefix
   12988 
   12989 case $srcdir in
   12990   .)  # We are building in place.
   12991     ac_srcdir=.
   12992     ac_top_srcdir=$ac_top_builddir_sub
   12993     ac_abs_top_srcdir=$ac_pwd ;;
   12994   [\\/]* | ?:[\\/]* )  # Absolute name.
   12995     ac_srcdir=$srcdir$ac_dir_suffix;
   12996     ac_top_srcdir=$srcdir
   12997     ac_abs_top_srcdir=$srcdir ;;
   12998   *) # Relative name.
   12999     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13000     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13001     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13002 esac
   13003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13004 
   13005 
   13006   case $ac_mode in
   13007   :F)
   13008   #
   13009   # CONFIG_FILE
   13010   #
   13011 
   13012   case $INSTALL in
   13013   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13014   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13015   esac
   13016   ac_MKDIR_P=$MKDIR_P
   13017   case $MKDIR_P in
   13018   [\\/$]* | ?:[\\/]* ) ;;
   13019   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13020   esac
   13021 _ACEOF
   13022 
   13023 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13024 # If the template does not know about datarootdir, expand it.
   13025 # FIXME: This hack should be removed a few years after 2.60.
   13026 ac_datarootdir_hack=; ac_datarootdir_seen=
   13027 ac_sed_dataroot='
   13028 /datarootdir/ {
   13029   p
   13030   q
   13031 }
   13032 /@datadir@/p
   13033 /@docdir@/p
   13034 /@infodir@/p
   13035 /@localedir@/p
   13036 /@mandir@/p'
   13037 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13038 *datarootdir*) ac_datarootdir_seen=yes;;
   13039 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13040   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13041 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13042 _ACEOF
   13043 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13044   ac_datarootdir_hack='
   13045   s&@datadir@&$datadir&g
   13046   s&@docdir@&$docdir&g
   13047   s&@infodir@&$infodir&g
   13048   s&@localedir@&$localedir&g
   13049   s&@mandir@&$mandir&g
   13050   s&\\\${datarootdir}&$datarootdir&g' ;;
   13051 esac
   13052 _ACEOF
   13053 
   13054 # Neutralize VPATH when '$srcdir' = '.'.
   13055 # Shell code in configure.ac might set extrasub.
   13056 # FIXME: do we really want to maintain this feature?
   13057 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13058 ac_sed_extra="$ac_vpsub
   13059 $extrasub
   13060 _ACEOF
   13061 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13062 :t
   13063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13064 s|@configure_input@|$ac_sed_conf_input|;t t
   13065 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13066 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13067 s&@srcdir@&$ac_srcdir&;t t
   13068 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13069 s&@top_srcdir@&$ac_top_srcdir&;t t
   13070 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13071 s&@builddir@&$ac_builddir&;t t
   13072 s&@abs_builddir@&$ac_abs_builddir&;t t
   13073 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13074 s&@INSTALL@&$ac_INSTALL&;t t
   13075 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13076 $ac_datarootdir_hack
   13077 "
   13078 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13079   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13080 
   13081 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13082   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13083   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13084       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13085   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13086 which seems to be undefined.  Please make sure it is defined" >&5
   13087 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13088 which seems to be undefined.  Please make sure it is defined" >&2;}
   13089 
   13090   rm -f "$ac_tmp/stdin"
   13091   case $ac_file in
   13092   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13093   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13094   esac \
   13095   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13096  ;;
   13097   :H)
   13098   #
   13099   # CONFIG_HEADER
   13100   #
   13101   if test x"$ac_file" != x-; then
   13102     {
   13103       printf '%s\n' "/* $configure_input  */" >&1 \
   13104       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13105     } >"$ac_tmp/config.h" \
   13106       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13107     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13108       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13109 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13110     else
   13111       rm -f "$ac_file"
   13112       mv "$ac_tmp/config.h" "$ac_file" \
   13113 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13114     fi
   13115   else
   13116     printf '%s\n' "/* $configure_input  */" >&1 \
   13117       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13118       || as_fn_error $? "could not create -" "$LINENO" 5
   13119   fi
   13120 # Compute "$ac_file"'s index in $config_headers.
   13121 _am_arg="$ac_file"
   13122 _am_stamp_count=1
   13123 for _am_header in $config_headers :; do
   13124   case $_am_header in
   13125     $_am_arg | $_am_arg:* )
   13126       break ;;
   13127     * )
   13128       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13129   esac
   13130 done
   13131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13133 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13134 	 X"$_am_arg" : 'X\(//\)$' \| \
   13135 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13136 printf '%s\n' X"$_am_arg" |
   13137     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13138 	    s//\1/
   13139 	    q
   13140 	  }
   13141 	  /^X\(\/\/\)[^/].*/{
   13142 	    s//\1/
   13143 	    q
   13144 	  }
   13145 	  /^X\(\/\/\)$/{
   13146 	    s//\1/
   13147 	    q
   13148 	  }
   13149 	  /^X\(\/\).*/{
   13150 	    s//\1/
   13151 	    q
   13152 	  }
   13153 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13154  ;;
   13155 
   13156   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13157 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13158  ;;
   13159   esac
   13160 
   13161 
   13162   case $ac_file$ac_mode in
   13163     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13164   # Older Autoconf quotes --file arguments for eval, but not when files
   13165   # are listed without --file.  Let's play safe and only enable the eval
   13166   # if we detect the quoting.
   13167   # TODO: see whether this extra hack can be removed once we start
   13168   # requiring Autoconf 2.70 or later.
   13169   case $CONFIG_FILES in #(
   13170   *\'*) :
   13171     eval set x "$CONFIG_FILES" ;; #(
   13172   *) :
   13173     set x $CONFIG_FILES ;; #(
   13174   *) :
   13175      ;;
   13176 esac
   13177   shift
   13178   # Used to flag and report bootstrapping failures.
   13179   am_rc=0
   13180   for am_mf
   13181   do
   13182     # Strip MF so we end up with the name of the file.
   13183     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13184     # Check whether this is an Automake generated Makefile which includes
   13185     # dependency-tracking related rules and includes.
   13186     # Grep'ing the whole file directly is not great: AIX grep has a line
   13187     # limit of 2048, but all sed's we know have understand at least 4000.
   13188     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13189       || continue
   13190     am_dirpart=`$as_dirname -- "$am_mf" ||
   13191 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13192 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13193 	 X"$am_mf" : 'X\(//\)$' \| \
   13194 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13195 printf '%s\n' X"$am_mf" |
   13196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13197 	    s//\1/
   13198 	    q
   13199 	  }
   13200 	  /^X\(\/\/\)[^/].*/{
   13201 	    s//\1/
   13202 	    q
   13203 	  }
   13204 	  /^X\(\/\/\)$/{
   13205 	    s//\1/
   13206 	    q
   13207 	  }
   13208 	  /^X\(\/\).*/{
   13209 	    s//\1/
   13210 	    q
   13211 	  }
   13212 	  s/.*/./; q'`
   13213     am_filepart=`$as_basename -- "$am_mf" ||
   13214 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13215 	 X"$am_mf" : 'X\(//\)$' \| \
   13216 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13217 printf '%s\n' X/"$am_mf" |
   13218     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13219 	    s//\1/
   13220 	    q
   13221 	  }
   13222 	  /^X\/\(\/\/\)$/{
   13223 	    s//\1/
   13224 	    q
   13225 	  }
   13226 	  /^X\/\(\/\).*/{
   13227 	    s//\1/
   13228 	    q
   13229 	  }
   13230 	  s/.*/./; q'`
   13231     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13232       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13233         | $MAKE -f - am--depfiles" >&5
   13234    (cd "$am_dirpart" \
   13235       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13236         | $MAKE -f - am--depfiles) >&5 2>&5
   13237    ac_status=$?
   13238    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13239    (exit $ac_status); } || am_rc=$?
   13240   done
   13241   if test $am_rc -ne 0; then
   13242     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13243 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13244 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13245     for automatic dependency tracking.  If GNU make was not used, consider
   13246     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13247     necessary).  You can also try re-running configure with the
   13248     '--disable-dependency-tracking' option to at least be able to build
   13249     the package (albeit without support for automatic dependency tracking).
   13250 See 'config.log' for more details" "$LINENO" 5; }
   13251   fi
   13252   { am_dirpart=; unset am_dirpart;}
   13253   { am_filepart=; unset am_filepart;}
   13254   { am_mf=; unset am_mf;}
   13255   { am_rc=; unset am_rc;}
   13256   rm -f conftest-deps.mk
   13257 }
   13258  ;;
   13259 
   13260   esac
   13261 done # for ac_tag
   13262 
   13263 
   13264 as_fn_exit 0
   13265 _ACEOF
   13266 ac_clean_CONFIG_STATUS=
   13267 
   13268 test $ac_write_fail = 0 ||
   13269   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13270 
   13271 
   13272 # configure is writing to config.log, and then calls config.status.
   13273 # config.status does its own redirection, appending to config.log.
   13274 # Unfortunately, on DOS this fails, as config.log is still kept open
   13275 # by configure, so config.status won't be able to write to it; its
   13276 # output is simply discarded.  So we exec the FD to /dev/null,
   13277 # effectively closing config.log, so it can be properly (re)opened and
   13278 # appended to by config.status.  When coming back to configure, we
   13279 # need to make the FD available again.
   13280 if test "$no_create" != yes; then
   13281   ac_cs_success=:
   13282   case $CONFIG_STATUS in #(
   13283   -*) :
   13284     ac_no_opts=-- ;; #(
   13285   *) :
   13286     ac_no_opts= ;;
   13287 esac
   13288   ac_config_status_args=
   13289   test "$silent" = yes &&
   13290     ac_config_status_args="$ac_config_status_args --quiet"
   13291   exec 5>/dev/null
   13292   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13293     ac_cs_success=false
   13294   exec 5>>config.log
   13295   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13296   # would make configure fail if this is the last instruction.
   13297   $ac_cs_success || as_fn_exit 1
   13298 fi
   13299 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13300   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13301 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13302 fi
   13303 
   13304 
   13305