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.72 for xcalc 1.1.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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   # is contrary to our usage.  Disable this feature.
     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 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xcalc'
    607 PACKAGE_TARNAME='xcalc'
    608 PACKAGE_VERSION='1.1.3'
    609 PACKAGE_STRING='xcalc 1.1.3'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 appdefaultdir
    651 APPDEFS_LIBS
    652 APPDEFS_CFLAGS
    653 XCALC_LIBS
    654 XCALC_CFLAGS
    655 MAN_SUBSTS
    656 XORG_MAN_PAGE
    657 ADMIN_MAN_DIR
    658 DRIVER_MAN_DIR
    659 MISC_MAN_DIR
    660 FILE_MAN_DIR
    661 LIB_MAN_DIR
    662 APP_MAN_DIR
    663 ADMIN_MAN_SUFFIX
    664 DRIVER_MAN_SUFFIX
    665 MISC_MAN_SUFFIX
    666 FILE_MAN_SUFFIX
    667 LIB_MAN_SUFFIX
    668 APP_MAN_SUFFIX
    669 SED
    670 host_os
    671 host_vendor
    672 host_cpu
    673 host
    674 build_os
    675 build_vendor
    676 build_cpu
    677 build
    678 INSTALL_CMD
    679 PKG_CONFIG_LIBDIR
    680 PKG_CONFIG_PATH
    681 PKG_CONFIG
    682 CHANGELOG_CMD
    683 STRICT_CFLAGS
    684 CWARNFLAGS
    685 BASE_CFLAGS
    686 am__fastdepCC_FALSE
    687 am__fastdepCC_TRUE
    688 CCDEPMODE
    689 am__nodep
    690 AMDEPBACKSLASH
    691 AMDEP_FALSE
    692 AMDEP_TRUE
    693 am__include
    694 DEPDIR
    695 OBJEXT
    696 EXEEXT
    697 ac_ct_CC
    698 CPPFLAGS
    699 LDFLAGS
    700 CFLAGS
    701 CC
    702 am__xargs_n
    703 am__rm_f_notfound
    704 AM_BACKSLASH
    705 AM_DEFAULT_VERBOSITY
    706 AM_DEFAULT_V
    707 AM_V
    708 CSCOPE
    709 ETAGS
    710 CTAGS
    711 am__untar
    712 am__tar
    713 AMTAR
    714 am__leading_dot
    715 SET_MAKE
    716 AWK
    717 mkdir_p
    718 MKDIR_P
    719 INSTALL_STRIP_PROGRAM
    720 STRIP
    721 install_sh
    722 MAKEINFO
    723 AUTOHEADER
    724 AUTOMAKE
    725 AUTOCONF
    726 ACLOCAL
    727 VERSION
    728 PACKAGE
    729 CYGPATH_W
    730 am__isrc
    731 INSTALL_DATA
    732 INSTALL_SCRIPT
    733 INSTALL_PROGRAM
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 runstatedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL
    773 am__quote'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_silent_rules
    778 enable_dependency_tracking
    779 enable_selective_werror
    780 enable_strict_compilation
    781 with_appdefaultdir
    782 '
    783       ac_precious_vars='build_alias
    784 host_alias
    785 target_alias
    786 CC
    787 CFLAGS
    788 LDFLAGS
    789 LIBS
    790 CPPFLAGS
    791 PKG_CONFIG
    792 PKG_CONFIG_PATH
    793 PKG_CONFIG_LIBDIR
    794 XCALC_CFLAGS
    795 XCALC_LIBS
    796 APPDEFS_CFLAGS
    797 APPDEFS_LIBS'
    798 
    799 
    800 # Initialize some variables set by options.
    801 ac_init_help=
    802 ac_init_version=false
    803 ac_unrecognized_opts=
    804 ac_unrecognized_sep=
    805 # The variables have the same names as the options, with
    806 # dashes changed to underlines.
    807 cache_file=/dev/null
    808 exec_prefix=NONE
    809 no_create=
    810 no_recursion=
    811 prefix=NONE
    812 program_prefix=NONE
    813 program_suffix=NONE
    814 program_transform_name=s,x,x,
    815 silent=
    816 site=
    817 srcdir=
    818 verbose=
    819 x_includes=NONE
    820 x_libraries=NONE
    821 
    822 # Installation directory options.
    823 # These are left unexpanded so users can "make install exec_prefix=/foo"
    824 # and all the variables that are supposed to be based on exec_prefix
    825 # by default will actually change.
    826 # Use braces instead of parens because sh, perl, etc. also accept them.
    827 # (The list follows the same order as the GNU Coding Standards.)
    828 bindir='${exec_prefix}/bin'
    829 sbindir='${exec_prefix}/sbin'
    830 libexecdir='${exec_prefix}/libexec'
    831 datarootdir='${prefix}/share'
    832 datadir='${datarootdir}'
    833 sysconfdir='${prefix}/etc'
    834 sharedstatedir='${prefix}/com'
    835 localstatedir='${prefix}/var'
    836 runstatedir='${localstatedir}/run'
    837 includedir='${prefix}/include'
    838 oldincludedir='/usr/include'
    839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    840 infodir='${datarootdir}/info'
    841 htmldir='${docdir}'
    842 dvidir='${docdir}'
    843 pdfdir='${docdir}'
    844 psdir='${docdir}'
    845 libdir='${exec_prefix}/lib'
    846 localedir='${datarootdir}/locale'
    847 mandir='${datarootdir}/man'
    848 
    849 ac_prev=
    850 ac_dashdash=
    851 for ac_option
    852 do
    853   # If the previous option needs an argument, assign it.
    854   if test -n "$ac_prev"; then
    855     eval $ac_prev=\$ac_option
    856     ac_prev=
    857     continue
    858   fi
    859 
    860   case $ac_option in
    861   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    862   *=)   ac_optarg= ;;
    863   *)    ac_optarg=yes ;;
    864   esac
    865 
    866   case $ac_dashdash$ac_option in
    867   --)
    868     ac_dashdash=yes ;;
    869 
    870   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    871     ac_prev=bindir ;;
    872   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    873     bindir=$ac_optarg ;;
    874 
    875   -build | --build | --buil | --bui | --bu)
    876     ac_prev=build_alias ;;
    877   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    878     build_alias=$ac_optarg ;;
    879 
    880   -cache-file | --cache-file | --cache-fil | --cache-fi \
    881   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    882     ac_prev=cache_file ;;
    883   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    884   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    885     cache_file=$ac_optarg ;;
    886 
    887   --config-cache | -C)
    888     cache_file=config.cache ;;
    889 
    890   -datadir | --datadir | --datadi | --datad)
    891     ac_prev=datadir ;;
    892   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    893     datadir=$ac_optarg ;;
    894 
    895   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    896   | --dataroo | --dataro | --datar)
    897     ac_prev=datarootdir ;;
    898   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    899   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    900     datarootdir=$ac_optarg ;;
    901 
    902   -disable-* | --disable-*)
    903     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    904     # Reject names that are not valid shell variable names.
    905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    906       as_fn_error $? "invalid feature name: '$ac_useropt'"
    907     ac_useropt_orig=$ac_useropt
    908     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    909     case $ac_user_opts in
    910       *"
    911 "enable_$ac_useropt"
    912 "*) ;;
    913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    914 	 ac_unrecognized_sep=', ';;
    915     esac
    916     eval enable_$ac_useropt=no ;;
    917 
    918   -docdir | --docdir | --docdi | --doc | --do)
    919     ac_prev=docdir ;;
    920   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    921     docdir=$ac_optarg ;;
    922 
    923   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    924     ac_prev=dvidir ;;
    925   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    926     dvidir=$ac_optarg ;;
    927 
    928   -enable-* | --enable-*)
    929     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    930     # Reject names that are not valid shell variable names.
    931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    932       as_fn_error $? "invalid feature name: '$ac_useropt'"
    933     ac_useropt_orig=$ac_useropt
    934     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    935     case $ac_user_opts in
    936       *"
    937 "enable_$ac_useropt"
    938 "*) ;;
    939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    940 	 ac_unrecognized_sep=', ';;
    941     esac
    942     eval enable_$ac_useropt=\$ac_optarg ;;
    943 
    944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    946   | --exec | --exe | --ex)
    947     ac_prev=exec_prefix ;;
    948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    950   | --exec=* | --exe=* | --ex=*)
    951     exec_prefix=$ac_optarg ;;
    952 
    953   -gas | --gas | --ga | --g)
    954     # Obsolete; use --with-gas.
    955     with_gas=yes ;;
    956 
    957   -help | --help | --hel | --he | -h)
    958     ac_init_help=long ;;
    959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    960     ac_init_help=recursive ;;
    961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    962     ac_init_help=short ;;
    963 
    964   -host | --host | --hos | --ho)
    965     ac_prev=host_alias ;;
    966   -host=* | --host=* | --hos=* | --ho=*)
    967     host_alias=$ac_optarg ;;
    968 
    969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    970     ac_prev=htmldir ;;
    971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    972   | --ht=*)
    973     htmldir=$ac_optarg ;;
    974 
    975   -includedir | --includedir | --includedi | --included | --include \
    976   | --includ | --inclu | --incl | --inc)
    977     ac_prev=includedir ;;
    978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    979   | --includ=* | --inclu=* | --incl=* | --inc=*)
    980     includedir=$ac_optarg ;;
    981 
    982   -infodir | --infodir | --infodi | --infod | --info | --inf)
    983     ac_prev=infodir ;;
    984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    985     infodir=$ac_optarg ;;
    986 
    987   -libdir | --libdir | --libdi | --libd)
    988     ac_prev=libdir ;;
    989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    990     libdir=$ac_optarg ;;
    991 
    992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    993   | --libexe | --libex | --libe)
    994     ac_prev=libexecdir ;;
    995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    996   | --libexe=* | --libex=* | --libe=*)
    997     libexecdir=$ac_optarg ;;
    998 
    999   -localedir | --localedir | --localedi | --localed | --locale)
   1000     ac_prev=localedir ;;
   1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1002     localedir=$ac_optarg ;;
   1003 
   1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1005   | --localstate | --localstat | --localsta | --localst | --locals)
   1006     ac_prev=localstatedir ;;
   1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1009     localstatedir=$ac_optarg ;;
   1010 
   1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1012     ac_prev=mandir ;;
   1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1014     mandir=$ac_optarg ;;
   1015 
   1016   -nfp | --nfp | --nf)
   1017     # Obsolete; use --without-fp.
   1018     with_fp=no ;;
   1019 
   1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1021   | --no-cr | --no-c | -n)
   1022     no_create=yes ;;
   1023 
   1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1026     no_recursion=yes ;;
   1027 
   1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1030   | --oldin | --oldi | --old | --ol | --o)
   1031     ac_prev=oldincludedir ;;
   1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1035     oldincludedir=$ac_optarg ;;
   1036 
   1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1038     ac_prev=prefix ;;
   1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1040     prefix=$ac_optarg ;;
   1041 
   1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1043   | --program-pre | --program-pr | --program-p)
   1044     ac_prev=program_prefix ;;
   1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1047     program_prefix=$ac_optarg ;;
   1048 
   1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1050   | --program-suf | --program-su | --program-s)
   1051     ac_prev=program_suffix ;;
   1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1054     program_suffix=$ac_optarg ;;
   1055 
   1056   -program-transform-name | --program-transform-name \
   1057   | --program-transform-nam | --program-transform-na \
   1058   | --program-transform-n | --program-transform- \
   1059   | --program-transform | --program-transfor \
   1060   | --program-transfo | --program-transf \
   1061   | --program-trans | --program-tran \
   1062   | --progr-tra | --program-tr | --program-t)
   1063     ac_prev=program_transform_name ;;
   1064   -program-transform-name=* | --program-transform-name=* \
   1065   | --program-transform-nam=* | --program-transform-na=* \
   1066   | --program-transform-n=* | --program-transform-=* \
   1067   | --program-transform=* | --program-transfor=* \
   1068   | --program-transfo=* | --program-transf=* \
   1069   | --program-trans=* | --program-tran=* \
   1070   | --progr-tra=* | --program-tr=* | --program-t=*)
   1071     program_transform_name=$ac_optarg ;;
   1072 
   1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1074     ac_prev=pdfdir ;;
   1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1076     pdfdir=$ac_optarg ;;
   1077 
   1078   -psdir | --psdir | --psdi | --psd | --ps)
   1079     ac_prev=psdir ;;
   1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1081     psdir=$ac_optarg ;;
   1082 
   1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1084   | -silent | --silent | --silen | --sile | --sil)
   1085     silent=yes ;;
   1086 
   1087   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1088   | --runstate | --runstat | --runsta | --runst | --runs \
   1089   | --run | --ru | --r)
   1090     ac_prev=runstatedir ;;
   1091   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1092   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1093   | --run=* | --ru=* | --r=*)
   1094     runstatedir=$ac_optarg ;;
   1095 
   1096   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1097     ac_prev=sbindir ;;
   1098   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1099   | --sbi=* | --sb=*)
   1100     sbindir=$ac_optarg ;;
   1101 
   1102   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1103   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1104   | --sharedst | --shareds | --shared | --share | --shar \
   1105   | --sha | --sh)
   1106     ac_prev=sharedstatedir ;;
   1107   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1108   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1109   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1110   | --sha=* | --sh=*)
   1111     sharedstatedir=$ac_optarg ;;
   1112 
   1113   -site | --site | --sit)
   1114     ac_prev=site ;;
   1115   -site=* | --site=* | --sit=*)
   1116     site=$ac_optarg ;;
   1117 
   1118   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1119     ac_prev=srcdir ;;
   1120   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1121     srcdir=$ac_optarg ;;
   1122 
   1123   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1124   | --syscon | --sysco | --sysc | --sys | --sy)
   1125     ac_prev=sysconfdir ;;
   1126   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1127   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1128     sysconfdir=$ac_optarg ;;
   1129 
   1130   -target | --target | --targe | --targ | --tar | --ta | --t)
   1131     ac_prev=target_alias ;;
   1132   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1133     target_alias=$ac_optarg ;;
   1134 
   1135   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1136     verbose=yes ;;
   1137 
   1138   -version | --version | --versio | --versi | --vers | -V)
   1139     ac_init_version=: ;;
   1140 
   1141   -with-* | --with-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: '$ac_useropt'"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=\$ac_optarg ;;
   1156 
   1157   -without-* | --without-*)
   1158     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1159     # Reject names that are not valid shell variable names.
   1160     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1161       as_fn_error $? "invalid package name: '$ac_useropt'"
   1162     ac_useropt_orig=$ac_useropt
   1163     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1164     case $ac_user_opts in
   1165       *"
   1166 "with_$ac_useropt"
   1167 "*) ;;
   1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1169 	 ac_unrecognized_sep=', ';;
   1170     esac
   1171     eval with_$ac_useropt=no ;;
   1172 
   1173   --x)
   1174     # Obsolete; use --with-x.
   1175     with_x=yes ;;
   1176 
   1177   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1178   | --x-incl | --x-inc | --x-in | --x-i)
   1179     ac_prev=x_includes ;;
   1180   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1181   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1182     x_includes=$ac_optarg ;;
   1183 
   1184   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1185   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1186     ac_prev=x_libraries ;;
   1187   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1188   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1189     x_libraries=$ac_optarg ;;
   1190 
   1191   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1192 Try '$0 --help' for more information"
   1193     ;;
   1194 
   1195   *=*)
   1196     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1197     # Reject names that are not valid shell variable names.
   1198     case $ac_envvar in #(
   1199       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1200       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1201     esac
   1202     eval $ac_envvar=\$ac_optarg
   1203     export $ac_envvar ;;
   1204 
   1205   *)
   1206     # FIXME: should be removed in autoconf 3.0.
   1207     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1208     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1209       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1210     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1211     ;;
   1212 
   1213   esac
   1214 done
   1215 
   1216 if test -n "$ac_prev"; then
   1217   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1218   as_fn_error $? "missing argument to $ac_option"
   1219 fi
   1220 
   1221 if test -n "$ac_unrecognized_opts"; then
   1222   case $enable_option_checking in
   1223     no) ;;
   1224     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1225     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1226   esac
   1227 fi
   1228 
   1229 # Check all directory arguments for consistency.
   1230 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1231 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1232 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1233 		libdir localedir mandir runstatedir
   1234 do
   1235   eval ac_val=\$$ac_var
   1236   # Remove trailing slashes.
   1237   case $ac_val in
   1238     */ )
   1239       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1240       eval $ac_var=\$ac_val;;
   1241   esac
   1242   # Be sure to have absolute directory names.
   1243   case $ac_val in
   1244     [\\/$]* | ?:[\\/]* )  continue;;
   1245     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1246   esac
   1247   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1248 done
   1249 
   1250 # There might be people who depend on the old broken behavior: '$host'
   1251 # used to hold the argument of --host etc.
   1252 # FIXME: To remove some day.
   1253 build=$build_alias
   1254 host=$host_alias
   1255 target=$target_alias
   1256 
   1257 # FIXME: To remove some day.
   1258 if test "x$host_alias" != x; then
   1259   if test "x$build_alias" = x; then
   1260     cross_compiling=maybe
   1261   elif test "x$build_alias" != "x$host_alias"; then
   1262     cross_compiling=yes
   1263   fi
   1264 fi
   1265 
   1266 ac_tool_prefix=
   1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1268 
   1269 test "$silent" = yes && exec 6>/dev/null
   1270 
   1271 
   1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1273 ac_ls_di=`ls -di .` &&
   1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1275   as_fn_error $? "working directory cannot be determined"
   1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1277   as_fn_error $? "pwd does not report name of working directory"
   1278 
   1279 
   1280 # Find the source files, if location was not specified.
   1281 if test -z "$srcdir"; then
   1282   ac_srcdir_defaulted=yes
   1283   # Try the directory containing this script, then the parent directory.
   1284   ac_confdir=`$as_dirname -- "$as_myself" ||
   1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1286 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1287 	 X"$as_myself" : 'X\(//\)$' \| \
   1288 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1289 printf "%s\n" X"$as_myself" |
   1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)[^/].*/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\).*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  s/.*/./; q'`
   1307   srcdir=$ac_confdir
   1308   if test ! -r "$srcdir/$ac_unique_file"; then
   1309     srcdir=..
   1310   fi
   1311 else
   1312   ac_srcdir_defaulted=no
   1313 fi
   1314 if test ! -r "$srcdir/$ac_unique_file"; then
   1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1317 fi
   1318 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1319 ac_abs_confdir=`(
   1320 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1321 	pwd)`
   1322 # When building in place, set srcdir=.
   1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1324   srcdir=.
   1325 fi
   1326 # Remove unnecessary trailing slashes from srcdir.
   1327 # Double slashes in file names in object file debugging info
   1328 # mess up M-x gdb in Emacs.
   1329 case $srcdir in
   1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1331 esac
   1332 for ac_var in $ac_precious_vars; do
   1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1334   eval ac_env_${ac_var}_value=\$${ac_var}
   1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1337 done
   1338 
   1339 #
   1340 # Report the --help message.
   1341 #
   1342 if test "$ac_init_help" = "long"; then
   1343   # Omit some internal or obsolete options to make the list less imposing.
   1344   # This message is too long to be a string in the A/UX 3.1 sh.
   1345   cat <<_ACEOF
   1346 'configure' configures xcalc 1.1.3 to adapt to many kinds of systems.
   1347 
   1348 Usage: $0 [OPTION]... [VAR=VALUE]...
   1349 
   1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1352 
   1353 Defaults for the options are specified in brackets.
   1354 
   1355 Configuration:
   1356   -h, --help              display this help and exit
   1357       --help=short        display options specific to this package
   1358       --help=recursive    display the short help of all the included packages
   1359   -V, --version           display version information and exit
   1360   -q, --quiet, --silent   do not print 'checking ...' messages
   1361       --cache-file=FILE   cache test results in FILE [disabled]
   1362   -C, --config-cache      alias for '--cache-file=config.cache'
   1363   -n, --no-create         do not create output files
   1364       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1365 
   1366 Installation directories:
   1367   --prefix=PREFIX         install architecture-independent files in PREFIX
   1368                           [$ac_default_prefix]
   1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1370                           [PREFIX]
   1371 
   1372 By default, 'make install' will install all the files in
   1373 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1374 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1375 for instance '--prefix=\$HOME'.
   1376 
   1377 For better control, use the options below.
   1378 
   1379 Fine tuning of the installation directories:
   1380   --bindir=DIR            user executables [EPREFIX/bin]
   1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1386   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1387   --libdir=DIR            object code libraries [EPREFIX/lib]
   1388   --includedir=DIR        C header files [PREFIX/include]
   1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/xcalc]
   1396   --htmldir=DIR           html documentation [DOCDIR]
   1397   --dvidir=DIR            dvi documentation [DOCDIR]
   1398   --pdfdir=DIR            pdf documentation [DOCDIR]
   1399   --psdir=DIR             ps documentation [DOCDIR]
   1400 _ACEOF
   1401 
   1402   cat <<\_ACEOF
   1403 
   1404 Program names:
   1405   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1408 
   1409 System types:
   1410   --build=BUILD     configure for building on BUILD [guessed]
   1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1412 _ACEOF
   1413 fi
   1414 
   1415 if test -n "$ac_init_help"; then
   1416   case $ac_init_help in
   1417      short | recursive ) echo "Configuration of xcalc 1.1.3:";;
   1418    esac
   1419   cat <<\_ACEOF
   1420 
   1421 Optional Features:
   1422   --disable-option-checking  ignore unrecognized --enable/--with options
   1423   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1424   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1425   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1426   --disable-silent-rules  verbose build output (undo: "make V=0")
   1427   --enable-dependency-tracking
   1428                           do not reject slow dependency extractors
   1429   --disable-dependency-tracking
   1430                           speeds up one-time build
   1431   --disable-selective-werror
   1432                           Turn off selective compiler errors. (default:
   1433                           enabled)
   1434   --enable-strict-compilation
   1435                           Enable all warnings from compiler and make them
   1436                           errors (default: disabled)
   1437 
   1438 Optional Packages:
   1439   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1440   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1441   --with-appdefaultdir=<pathname>
   1442                           specify directory for app-defaults files (default is
   1443                           autodetected)
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   LIBS        libraries to pass to the linker, e.g. -l<library>
   1451   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1452               you have headers in a nonstandard directory <include dir>
   1453   PKG_CONFIG  path to pkg-config utility
   1454   PKG_CONFIG_PATH
   1455               directories to add to pkg-config's search path
   1456   PKG_CONFIG_LIBDIR
   1457               path overriding pkg-config's built-in search path
   1458   XCALC_CFLAGS
   1459               C compiler flags for XCALC, overriding pkg-config
   1460   XCALC_LIBS  linker flags for XCALC, overriding pkg-config
   1461   APPDEFS_CFLAGS
   1462               C compiler flags for APPDEFS, overriding pkg-config
   1463   APPDEFS_LIBS
   1464               linker flags for APPDEFS, overriding pkg-config
   1465 
   1466 Use these variables to override the choices made by 'configure' or to help
   1467 it to find libraries and programs with nonstandard names/locations.
   1468 
   1469 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues>.
   1470 _ACEOF
   1471 ac_status=$?
   1472 fi
   1473 
   1474 if test "$ac_init_help" = "recursive"; then
   1475   # If there are subdirs, report their specific --help.
   1476   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1477     test -d "$ac_dir" ||
   1478       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1479       continue
   1480     ac_builddir=.
   1481 
   1482 case "$ac_dir" in
   1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484 *)
   1485   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1486   # A ".." for each directory in $ac_dir_suffix.
   1487   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1488   case $ac_top_builddir_sub in
   1489   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1490   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1491   esac ;;
   1492 esac
   1493 ac_abs_top_builddir=$ac_pwd
   1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1495 # for backward compatibility:
   1496 ac_top_builddir=$ac_top_build_prefix
   1497 
   1498 case $srcdir in
   1499   .)  # We are building in place.
   1500     ac_srcdir=.
   1501     ac_top_srcdir=$ac_top_builddir_sub
   1502     ac_abs_top_srcdir=$ac_pwd ;;
   1503   [\\/]* | ?:[\\/]* )  # Absolute name.
   1504     ac_srcdir=$srcdir$ac_dir_suffix;
   1505     ac_top_srcdir=$srcdir
   1506     ac_abs_top_srcdir=$srcdir ;;
   1507   *) # Relative name.
   1508     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1509     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1510     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1511 esac
   1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1513 
   1514     cd "$ac_dir" || { ac_status=$?; continue; }
   1515     # Check for configure.gnu first; this name is used for a wrapper for
   1516     # Metaconfig's "Configure" on case-insensitive file systems.
   1517     if test -f "$ac_srcdir/configure.gnu"; then
   1518       echo &&
   1519       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1520     elif test -f "$ac_srcdir/configure"; then
   1521       echo &&
   1522       $SHELL "$ac_srcdir/configure" --help=recursive
   1523     else
   1524       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1525     fi || ac_status=$?
   1526     cd "$ac_pwd" || { ac_status=$?; break; }
   1527   done
   1528 fi
   1529 
   1530 test -n "$ac_init_help" && exit $ac_status
   1531 if $ac_init_version; then
   1532   cat <<\_ACEOF
   1533 xcalc configure 1.1.3
   1534 generated by GNU Autoconf 2.72
   1535 
   1536 Copyright (C) 2023 Free Software Foundation, Inc.
   1537 This configure script is free software; the Free Software Foundation
   1538 gives unlimited permission to copy, distribute and modify it.
   1539 _ACEOF
   1540   exit
   1541 fi
   1542 
   1543 ## ------------------------ ##
   1544 ## Autoconf initialization. ##
   1545 ## ------------------------ ##
   1546 
   1547 # ac_fn_c_try_compile LINENO
   1548 # --------------------------
   1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1550 ac_fn_c_try_compile ()
   1551 {
   1552   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1553   rm -f conftest.$ac_objext conftest.beam
   1554   if { { ac_try="$ac_compile"
   1555 case "(($ac_try" in
   1556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1557   *) ac_try_echo=$ac_try;;
   1558 esac
   1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1560 printf "%s\n" "$ac_try_echo"; } >&5
   1561   (eval "$ac_compile") 2>conftest.err
   1562   ac_status=$?
   1563   if test -s conftest.err; then
   1564     grep -v '^ *+' conftest.err >conftest.er1
   1565     cat conftest.er1 >&5
   1566     mv -f conftest.er1 conftest.err
   1567   fi
   1568   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1569   test $ac_status = 0; } && {
   1570 	 test -z "$ac_c_werror_flag" ||
   1571 	 test ! -s conftest.err
   1572        } && test -s conftest.$ac_objext
   1573 then :
   1574   ac_retval=0
   1575 else case e in #(
   1576   e) printf "%s\n" "$as_me: failed program was:" >&5
   1577 sed 's/^/| /' conftest.$ac_ext >&5
   1578 
   1579 	ac_retval=1 ;;
   1580 esac
   1581 fi
   1582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1583   as_fn_set_status $ac_retval
   1584 
   1585 } # ac_fn_c_try_compile
   1586 
   1587 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1588 # ------------------------------------------------------------------
   1589 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1590 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1591 ac_fn_check_decl ()
   1592 {
   1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1594   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1596 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1597 if eval test \${$3+y}
   1598 then :
   1599   printf %s "(cached) " >&6
   1600 else case e in #(
   1601   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1602   eval ac_save_FLAGS=\$$6
   1603   as_fn_append $6 " $5"
   1604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1605 /* end confdefs.h.  */
   1606 $4
   1607 int
   1608 main (void)
   1609 {
   1610 #ifndef $as_decl_name
   1611 #ifdef __cplusplus
   1612   (void) $as_decl_use;
   1613 #else
   1614   (void) $as_decl_name;
   1615 #endif
   1616 #endif
   1617 
   1618   ;
   1619   return 0;
   1620 }
   1621 _ACEOF
   1622 if ac_fn_c_try_compile "$LINENO"
   1623 then :
   1624   eval "$3=yes"
   1625 else case e in #(
   1626   e) eval "$3=no" ;;
   1627 esac
   1628 fi
   1629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1630   eval $6=\$ac_save_FLAGS
   1631  ;;
   1632 esac
   1633 fi
   1634 eval ac_res=\$$3
   1635 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1636 printf "%s\n" "$ac_res" >&6; }
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638 
   1639 } # ac_fn_check_decl
   1640 
   1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1642 # -------------------------------------------------------
   1643 # Tests whether HEADER exists and can be compiled using the include files in
   1644 # INCLUDES, setting the cache variable VAR accordingly.
   1645 ac_fn_c_check_header_compile ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 printf %s "checking for $2... " >&6; }
   1650 if eval test \${$3+y}
   1651 then :
   1652   printf %s "(cached) " >&6
   1653 else case e in #(
   1654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1655 /* end confdefs.h.  */
   1656 $4
   1657 #include <$2>
   1658 _ACEOF
   1659 if ac_fn_c_try_compile "$LINENO"
   1660 then :
   1661   eval "$3=yes"
   1662 else case e in #(
   1663   e) eval "$3=no" ;;
   1664 esac
   1665 fi
   1666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1667 esac
   1668 fi
   1669 eval ac_res=\$$3
   1670 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1671 printf "%s\n" "$ac_res" >&6; }
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673 
   1674 } # ac_fn_c_check_header_compile
   1675 
   1676 # ac_fn_c_try_link LINENO
   1677 # -----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_link ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 printf "%s\n" "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && {
   1699 	 test -z "$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        } && test -s conftest$ac_exeext && {
   1702 	 test "$cross_compiling" = yes ||
   1703 	 test -x conftest$ac_exeext
   1704        }
   1705 then :
   1706   ac_retval=0
   1707 else case e in #(
   1708   e) printf "%s\n" "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711 	ac_retval=1 ;;
   1712 esac
   1713 fi
   1714   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1715   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1716   # interfere with the next link command; also delete a directory that is
   1717   # left behind by Apple's compiler.  We do this before executing the actions.
   1718   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720   as_fn_set_status $ac_retval
   1721 
   1722 } # ac_fn_c_try_link
   1723 
   1724 # ac_fn_c_check_func LINENO FUNC VAR
   1725 # ----------------------------------
   1726 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1727 ac_fn_c_check_func ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 printf %s "checking for $2... " >&6; }
   1732 if eval test \${$3+y}
   1733 then :
   1734   printf %s "(cached) " >&6
   1735 else case e in #(
   1736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1740 #define $2 innocuous_$2
   1741 
   1742 /* System header to define __stub macros and hopefully few prototypes,
   1743    which can conflict with char $2 (void); below.  */
   1744 
   1745 #include <limits.h>
   1746 #undef $2
   1747 
   1748 /* Override any GCC internal prototype to avoid an error.
   1749    Use char because int might match the return type of a GCC
   1750    builtin and then its argument prototype would still apply.  */
   1751 #ifdef __cplusplus
   1752 extern "C"
   1753 #endif
   1754 char $2 (void);
   1755 /* The GNU C library defines this for functions which it implements
   1756     to always fail with ENOSYS.  Some functions are actually named
   1757     something starting with __ and the normal name is an alias.  */
   1758 #if defined __stub_$2 || defined __stub___$2
   1759 choke me
   1760 #endif
   1761 
   1762 int
   1763 main (void)
   1764 {
   1765 return $2 ();
   1766   ;
   1767   return 0;
   1768 }
   1769 _ACEOF
   1770 if ac_fn_c_try_link "$LINENO"
   1771 then :
   1772   eval "$3=yes"
   1773 else case e in #(
   1774   e) eval "$3=no" ;;
   1775 esac
   1776 fi
   1777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1778     conftest$ac_exeext conftest.$ac_ext ;;
   1779 esac
   1780 fi
   1781 eval ac_res=\$$3
   1782 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1783 printf "%s\n" "$ac_res" >&6; }
   1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1785 
   1786 } # ac_fn_c_check_func
   1787 ac_configure_args_raw=
   1788 for ac_arg
   1789 do
   1790   case $ac_arg in
   1791   *\'*)
   1792     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1793   esac
   1794   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1795 done
   1796 
   1797 case $ac_configure_args_raw in
   1798   *$as_nl*)
   1799     ac_safe_unquote= ;;
   1800   *)
   1801     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1802     ac_unsafe_a="$ac_unsafe_z#~"
   1803     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1804     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1805 esac
   1806 
   1807 cat >config.log <<_ACEOF
   1808 This file contains any messages produced by compilers while
   1809 running configure, to aid debugging if configure makes a mistake.
   1810 
   1811 It was created by xcalc $as_me 1.1.3, which was
   1812 generated by GNU Autoconf 2.72.  Invocation command line was
   1813 
   1814   $ $0$ac_configure_args_raw
   1815 
   1816 _ACEOF
   1817 exec 5>>config.log
   1818 {
   1819 cat <<_ASUNAME
   1820 ## --------- ##
   1821 ## Platform. ##
   1822 ## --------- ##
   1823 
   1824 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1825 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1826 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1827 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1828 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1829 
   1830 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1831 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1832 
   1833 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1834 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1835 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1836 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1837 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1838 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1839 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1840 
   1841 _ASUNAME
   1842 
   1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1844 for as_dir in $PATH
   1845 do
   1846   IFS=$as_save_IFS
   1847   case $as_dir in #(((
   1848     '') as_dir=./ ;;
   1849     */) ;;
   1850     *) as_dir=$as_dir/ ;;
   1851   esac
   1852     printf "%s\n" "PATH: $as_dir"
   1853   done
   1854 IFS=$as_save_IFS
   1855 
   1856 } >&5
   1857 
   1858 cat >&5 <<_ACEOF
   1859 
   1860 
   1861 ## ----------- ##
   1862 ## Core tests. ##
   1863 ## ----------- ##
   1864 
   1865 _ACEOF
   1866 
   1867 
   1868 # Keep a trace of the command line.
   1869 # Strip out --no-create and --no-recursion so they do not pile up.
   1870 # Strip out --silent because we don't want to record it for future runs.
   1871 # Also quote any args containing shell meta-characters.
   1872 # Make two passes to allow for proper duplicate-argument suppression.
   1873 ac_configure_args=
   1874 ac_configure_args0=
   1875 ac_configure_args1=
   1876 ac_must_keep_next=false
   1877 for ac_pass in 1 2
   1878 do
   1879   for ac_arg
   1880   do
   1881     case $ac_arg in
   1882     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1883     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1884     | -silent | --silent | --silen | --sile | --sil)
   1885       continue ;;
   1886     *\'*)
   1887       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1888     esac
   1889     case $ac_pass in
   1890     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1891     2)
   1892       as_fn_append ac_configure_args1 " '$ac_arg'"
   1893       if test $ac_must_keep_next = true; then
   1894 	ac_must_keep_next=false # Got value, back to normal.
   1895       else
   1896 	case $ac_arg in
   1897 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1898 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1899 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1900 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1901 	    case "$ac_configure_args0 " in
   1902 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1903 	    esac
   1904 	    ;;
   1905 	  -* ) ac_must_keep_next=true ;;
   1906 	esac
   1907       fi
   1908       as_fn_append ac_configure_args " '$ac_arg'"
   1909       ;;
   1910     esac
   1911   done
   1912 done
   1913 { ac_configure_args0=; unset ac_configure_args0;}
   1914 { ac_configure_args1=; unset ac_configure_args1;}
   1915 
   1916 # When interrupted or exit'd, cleanup temporary files, and complete
   1917 # config.log.  We remove comments because anyway the quotes in there
   1918 # would cause problems or look ugly.
   1919 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1920 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1921 trap 'exit_status=$?
   1922   # Sanitize IFS.
   1923   IFS=" ""	$as_nl"
   1924   # Save into config.log some information that might help in debugging.
   1925   {
   1926     echo
   1927 
   1928     printf "%s\n" "## ---------------- ##
   1929 ## Cache variables. ##
   1930 ## ---------------- ##"
   1931     echo
   1932     # The following way of writing the cache mishandles newlines in values,
   1933 (
   1934   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1935     eval ac_val=\$$ac_var
   1936     case $ac_val in #(
   1937     *${as_nl}*)
   1938       case $ac_var in #(
   1939       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1940 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1941       esac
   1942       case $ac_var in #(
   1943       _ | IFS | as_nl) ;; #(
   1944       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1945       *) { eval $ac_var=; unset $ac_var;} ;;
   1946       esac ;;
   1947     esac
   1948   done
   1949   (set) 2>&1 |
   1950     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1951     *${as_nl}ac_space=\ *)
   1952       sed -n \
   1953 	"s/'\''/'\''\\\\'\'''\''/g;
   1954 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1955       ;; #(
   1956     *)
   1957       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1958       ;;
   1959     esac |
   1960     sort
   1961 )
   1962     echo
   1963 
   1964     printf "%s\n" "## ----------------- ##
   1965 ## Output variables. ##
   1966 ## ----------------- ##"
   1967     echo
   1968     for ac_var in $ac_subst_vars
   1969     do
   1970       eval ac_val=\$$ac_var
   1971       case $ac_val in
   1972       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1973       esac
   1974       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1975     done | sort
   1976     echo
   1977 
   1978     if test -n "$ac_subst_files"; then
   1979       printf "%s\n" "## ------------------- ##
   1980 ## File substitutions. ##
   1981 ## ------------------- ##"
   1982       echo
   1983       for ac_var in $ac_subst_files
   1984       do
   1985 	eval ac_val=\$$ac_var
   1986 	case $ac_val in
   1987 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1988 	esac
   1989 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1990       done | sort
   1991       echo
   1992     fi
   1993 
   1994     if test -s confdefs.h; then
   1995       printf "%s\n" "## ----------- ##
   1996 ## confdefs.h. ##
   1997 ## ----------- ##"
   1998       echo
   1999       cat confdefs.h
   2000       echo
   2001     fi
   2002     test "$ac_signal" != 0 &&
   2003       printf "%s\n" "$as_me: caught signal $ac_signal"
   2004     printf "%s\n" "$as_me: exit $exit_status"
   2005   } >&5
   2006   rm -f core *.core core.conftest.* &&
   2007     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2008     exit $exit_status
   2009 ' 0
   2010 for ac_signal in 1 2 13 15; do
   2011   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2012 done
   2013 ac_signal=0
   2014 
   2015 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2016 rm -f -r conftest* confdefs.h
   2017 
   2018 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2019 
   2020 # Predefined preprocessor variables.
   2021 
   2022 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2023 
   2024 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2025 
   2026 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2027 
   2028 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2029 
   2030 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2031 
   2032 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2033 
   2034 
   2035 # Let the site file select an alternate cache file if it wants to.
   2036 # Prefer an explicitly selected file to automatically selected ones.
   2037 if test -n "$CONFIG_SITE"; then
   2038   ac_site_files="$CONFIG_SITE"
   2039 elif test "x$prefix" != xNONE; then
   2040   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2041 else
   2042   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2043 fi
   2044 
   2045 for ac_site_file in $ac_site_files
   2046 do
   2047   case $ac_site_file in #(
   2048   */*) :
   2049      ;; #(
   2050   *) :
   2051     ac_site_file=./$ac_site_file ;;
   2052 esac
   2053   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2054     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2055 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2056     sed 's/^/| /' "$ac_site_file" >&5
   2057     . "$ac_site_file" \
   2058       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2059 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2060 as_fn_error $? "failed to load site script $ac_site_file
   2061 See 'config.log' for more details" "$LINENO" 5; }
   2062   fi
   2063 done
   2064 
   2065 if test -r "$cache_file"; then
   2066   # Some versions of bash will fail to source /dev/null (special files
   2067   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2068   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2069     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2070 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2071     case $cache_file in
   2072       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2073       *)                      . "./$cache_file";;
   2074     esac
   2075   fi
   2076 else
   2077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2078 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2079   >$cache_file
   2080 fi
   2081 
   2082 # Test code for whether the C compiler supports C89 (global declarations)
   2083 ac_c_conftest_c89_globals='
   2084 /* Does the compiler advertise C89 conformance?
   2085    Do not test the value of __STDC__, because some compilers set it to 0
   2086    while being otherwise adequately conformant. */
   2087 #if !defined __STDC__
   2088 # error "Compiler does not advertise C89 conformance"
   2089 #endif
   2090 
   2091 #include <stddef.h>
   2092 #include <stdarg.h>
   2093 struct stat;
   2094 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2095 struct buf { int x; };
   2096 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2097 static char *e (char **p, int i)
   2098 {
   2099   return p[i];
   2100 }
   2101 static char *f (char * (*g) (char **, int), char **p, ...)
   2102 {
   2103   char *s;
   2104   va_list v;
   2105   va_start (v,p);
   2106   s = g (p, va_arg (v,int));
   2107   va_end (v);
   2108   return s;
   2109 }
   2110 
   2111 /* C89 style stringification. */
   2112 #define noexpand_stringify(a) #a
   2113 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2114 
   2115 /* C89 style token pasting.  Exercises some of the corner cases that
   2116    e.g. old MSVC gets wrong, but not very hard. */
   2117 #define noexpand_concat(a,b) a##b
   2118 #define expand_concat(a,b) noexpand_concat(a,b)
   2119 extern int vA;
   2120 extern int vbee;
   2121 #define aye A
   2122 #define bee B
   2123 int *pvA = &expand_concat(v,aye);
   2124 int *pvbee = &noexpand_concat(v,bee);
   2125 
   2126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2127    function prototypes and stuff, but not \xHH hex character constants.
   2128    These do not provoke an error unfortunately, instead are silently treated
   2129    as an "x".  The following induces an error, until -std is added to get
   2130    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2131    array size at least.  It is necessary to write \x00 == 0 to get something
   2132    that is true only with -std.  */
   2133 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2134 
   2135 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2136    inside strings and character constants.  */
   2137 #define FOO(x) '\''x'\''
   2138 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2139 
   2140 int test (int i, double x);
   2141 struct s1 {int (*f) (int a);};
   2142 struct s2 {int (*f) (double a);};
   2143 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2144                int, int);'
   2145 
   2146 # Test code for whether the C compiler supports C89 (body of main).
   2147 ac_c_conftest_c89_main='
   2148 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2149 '
   2150 
   2151 # Test code for whether the C compiler supports C99 (global declarations)
   2152 ac_c_conftest_c99_globals='
   2153 /* Does the compiler advertise C99 conformance? */
   2154 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2155 # error "Compiler does not advertise C99 conformance"
   2156 #endif
   2157 
   2158 // See if C++-style comments work.
   2159 
   2160 #include <stdbool.h>
   2161 extern int puts (const char *);
   2162 extern int printf (const char *, ...);
   2163 extern int dprintf (int, const char *, ...);
   2164 extern void *malloc (size_t);
   2165 extern void free (void *);
   2166 
   2167 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2168 // dprintf is used instead of fprintf to avoid needing to declare
   2169 // FILE and stderr.
   2170 #define debug(...) dprintf (2, __VA_ARGS__)
   2171 #define showlist(...) puts (#__VA_ARGS__)
   2172 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2173 static void
   2174 test_varargs_macros (void)
   2175 {
   2176   int x = 1234;
   2177   int y = 5678;
   2178   debug ("Flag");
   2179   debug ("X = %d\n", x);
   2180   showlist (The first, second, and third items.);
   2181   report (x>y, "x is %d but y is %d", x, y);
   2182 }
   2183 
   2184 // Check long long types.
   2185 #define BIG64 18446744073709551615ull
   2186 #define BIG32 4294967295ul
   2187 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2188 #if !BIG_OK
   2189   #error "your preprocessor is broken"
   2190 #endif
   2191 #if BIG_OK
   2192 #else
   2193   #error "your preprocessor is broken"
   2194 #endif
   2195 static long long int bignum = -9223372036854775807LL;
   2196 static unsigned long long int ubignum = BIG64;
   2197 
   2198 struct incomplete_array
   2199 {
   2200   int datasize;
   2201   double data[];
   2202 };
   2203 
   2204 struct named_init {
   2205   int number;
   2206   const wchar_t *name;
   2207   double average;
   2208 };
   2209 
   2210 typedef const char *ccp;
   2211 
   2212 static inline int
   2213 test_restrict (ccp restrict text)
   2214 {
   2215   // Iterate through items via the restricted pointer.
   2216   // Also check for declarations in for loops.
   2217   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2218     continue;
   2219   return 0;
   2220 }
   2221 
   2222 // Check varargs and va_copy.
   2223 static bool
   2224 test_varargs (const char *format, ...)
   2225 {
   2226   va_list args;
   2227   va_start (args, format);
   2228   va_list args_copy;
   2229   va_copy (args_copy, args);
   2230 
   2231   const char *str = "";
   2232   int number = 0;
   2233   float fnumber = 0;
   2234 
   2235   while (*format)
   2236     {
   2237       switch (*format++)
   2238 	{
   2239 	case '\''s'\'': // string
   2240 	  str = va_arg (args_copy, const char *);
   2241 	  break;
   2242 	case '\''d'\'': // int
   2243 	  number = va_arg (args_copy, int);
   2244 	  break;
   2245 	case '\''f'\'': // float
   2246 	  fnumber = va_arg (args_copy, double);
   2247 	  break;
   2248 	default:
   2249 	  break;
   2250 	}
   2251     }
   2252   va_end (args_copy);
   2253   va_end (args);
   2254 
   2255   return *str && number && fnumber;
   2256 }
   2257 '
   2258 
   2259 # Test code for whether the C compiler supports C99 (body of main).
   2260 ac_c_conftest_c99_main='
   2261   // Check bool.
   2262   _Bool success = false;
   2263   success |= (argc != 0);
   2264 
   2265   // Check restrict.
   2266   if (test_restrict ("String literal") == 0)
   2267     success = true;
   2268   char *restrict newvar = "Another string";
   2269 
   2270   // Check varargs.
   2271   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2272   test_varargs_macros ();
   2273 
   2274   // Check flexible array members.
   2275   struct incomplete_array *ia =
   2276     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2277   ia->datasize = 10;
   2278   for (int i = 0; i < ia->datasize; ++i)
   2279     ia->data[i] = i * 1.234;
   2280   // Work around memory leak warnings.
   2281   free (ia);
   2282 
   2283   // Check named initializers.
   2284   struct named_init ni = {
   2285     .number = 34,
   2286     .name = L"Test wide string",
   2287     .average = 543.34343,
   2288   };
   2289 
   2290   ni.number = 58;
   2291 
   2292   int dynamic_array[ni.number];
   2293   dynamic_array[0] = argv[0][0];
   2294   dynamic_array[ni.number - 1] = 543;
   2295 
   2296   // work around unused variable warnings
   2297   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2298 	 || dynamic_array[ni.number - 1] != 543);
   2299 '
   2300 
   2301 # Test code for whether the C compiler supports C11 (global declarations)
   2302 ac_c_conftest_c11_globals='
   2303 /* Does the compiler advertise C11 conformance? */
   2304 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2305 # error "Compiler does not advertise C11 conformance"
   2306 #endif
   2307 
   2308 // Check _Alignas.
   2309 char _Alignas (double) aligned_as_double;
   2310 char _Alignas (0) no_special_alignment;
   2311 extern char aligned_as_int;
   2312 char _Alignas (0) _Alignas (int) aligned_as_int;
   2313 
   2314 // Check _Alignof.
   2315 enum
   2316 {
   2317   int_alignment = _Alignof (int),
   2318   int_array_alignment = _Alignof (int[100]),
   2319   char_alignment = _Alignof (char)
   2320 };
   2321 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2322 
   2323 // Check _Noreturn.
   2324 int _Noreturn does_not_return (void) { for (;;) continue; }
   2325 
   2326 // Check _Static_assert.
   2327 struct test_static_assert
   2328 {
   2329   int x;
   2330   _Static_assert (sizeof (int) <= sizeof (long int),
   2331                   "_Static_assert does not work in struct");
   2332   long int y;
   2333 };
   2334 
   2335 // Check UTF-8 literals.
   2336 #define u8 syntax error!
   2337 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2338 
   2339 // Check duplicate typedefs.
   2340 typedef long *long_ptr;
   2341 typedef long int *long_ptr;
   2342 typedef long_ptr long_ptr;
   2343 
   2344 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2345 struct anonymous
   2346 {
   2347   union {
   2348     struct { int i; int j; };
   2349     struct { int k; long int l; } w;
   2350   };
   2351   int m;
   2352 } v1;
   2353 '
   2354 
   2355 # Test code for whether the C compiler supports C11 (body of main).
   2356 ac_c_conftest_c11_main='
   2357   _Static_assert ((offsetof (struct anonymous, i)
   2358 		   == offsetof (struct anonymous, w.k)),
   2359 		  "Anonymous union alignment botch");
   2360   v1.i = 2;
   2361   v1.w.k = 5;
   2362   ok |= v1.i != 5;
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C11 (complete).
   2366 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2367 ${ac_c_conftest_c99_globals}
   2368 ${ac_c_conftest_c11_globals}
   2369 
   2370 int
   2371 main (int argc, char **argv)
   2372 {
   2373   int ok = 0;
   2374   ${ac_c_conftest_c89_main}
   2375   ${ac_c_conftest_c99_main}
   2376   ${ac_c_conftest_c11_main}
   2377   return ok;
   2378 }
   2379 "
   2380 
   2381 # Test code for whether the C compiler supports C99 (complete).
   2382 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2383 ${ac_c_conftest_c99_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   return ok;
   2392 }
   2393 "
   2394 
   2395 # Test code for whether the C compiler supports C89 (complete).
   2396 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2397 
   2398 int
   2399 main (int argc, char **argv)
   2400 {
   2401   int ok = 0;
   2402   ${ac_c_conftest_c89_main}
   2403   return ok;
   2404 }
   2405 "
   2406 
   2407 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2408 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2409 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2410 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2411 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2412 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2413 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2414 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2415 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2416 
   2417 # Auxiliary files required by this configure script.
   2418 ac_aux_files="config.guess config.sub compile missing install-sh"
   2419 
   2420 # Locations in which to look for auxiliary files.
   2421 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2422 
   2423 # Search for a directory containing all of the required auxiliary files,
   2424 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2425 # If we don't find one directory that contains all the files we need,
   2426 # we report the set of missing files from the *first* directory in
   2427 # $ac_aux_dir_candidates and give up.
   2428 ac_missing_aux_files=""
   2429 ac_first_candidate=:
   2430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2432 as_found=false
   2433 for as_dir in $ac_aux_dir_candidates
   2434 do
   2435   IFS=$as_save_IFS
   2436   case $as_dir in #(((
   2437     '') as_dir=./ ;;
   2438     */) ;;
   2439     *) as_dir=$as_dir/ ;;
   2440   esac
   2441   as_found=:
   2442 
   2443   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2444   ac_aux_dir_found=yes
   2445   ac_install_sh=
   2446   for ac_aux in $ac_aux_files
   2447   do
   2448     # As a special case, if "install-sh" is required, that requirement
   2449     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2450     # and $ac_install_sh is set appropriately for whichever one is found.
   2451     if test x"$ac_aux" = x"install-sh"
   2452     then
   2453       if test -f "${as_dir}install-sh"; then
   2454         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2455         ac_install_sh="${as_dir}install-sh -c"
   2456       elif test -f "${as_dir}install.sh"; then
   2457         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2458         ac_install_sh="${as_dir}install.sh -c"
   2459       elif test -f "${as_dir}shtool"; then
   2460         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2461         ac_install_sh="${as_dir}shtool install -c"
   2462       else
   2463         ac_aux_dir_found=no
   2464         if $ac_first_candidate; then
   2465           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2466         else
   2467           break
   2468         fi
   2469       fi
   2470     else
   2471       if test -f "${as_dir}${ac_aux}"; then
   2472         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2473       else
   2474         ac_aux_dir_found=no
   2475         if $ac_first_candidate; then
   2476           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2477         else
   2478           break
   2479         fi
   2480       fi
   2481     fi
   2482   done
   2483   if test "$ac_aux_dir_found" = yes; then
   2484     ac_aux_dir="$as_dir"
   2485     break
   2486   fi
   2487   ac_first_candidate=false
   2488 
   2489   as_found=false
   2490 done
   2491 IFS=$as_save_IFS
   2492 if $as_found
   2493 then :
   2494 
   2495 else case e in #(
   2496   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2497 esac
   2498 fi
   2499 
   2500 
   2501 # These three variables are undocumented and unsupported,
   2502 # and are intended to be withdrawn in a future Autoconf release.
   2503 # They can cause serious problems if a builder's source tree is in a directory
   2504 # whose full name contains unusual characters.
   2505 if test -f "${ac_aux_dir}config.guess"; then
   2506   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2507 fi
   2508 if test -f "${ac_aux_dir}config.sub"; then
   2509   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2510 fi
   2511 if test -f "$ac_aux_dir/configure"; then
   2512   ac_configure="$SHELL ${ac_aux_dir}configure"
   2513 fi
   2514 
   2515 # Check that the precious variables saved in the cache have kept the same
   2516 # value.
   2517 ac_cache_corrupted=false
   2518 for ac_var in $ac_precious_vars; do
   2519   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2520   eval ac_new_set=\$ac_env_${ac_var}_set
   2521   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2522   eval ac_new_val=\$ac_env_${ac_var}_value
   2523   case $ac_old_set,$ac_new_set in
   2524     set,)
   2525       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2526 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2527       ac_cache_corrupted=: ;;
   2528     ,set)
   2529       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2530 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2531       ac_cache_corrupted=: ;;
   2532     ,);;
   2533     *)
   2534       if test "x$ac_old_val" != "x$ac_new_val"; then
   2535 	# differences in whitespace do not lead to failure.
   2536 	ac_old_val_w=`echo x $ac_old_val`
   2537 	ac_new_val_w=`echo x $ac_new_val`
   2538 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2539 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2540 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2541 	  ac_cache_corrupted=:
   2542 	else
   2543 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2544 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2545 	  eval $ac_var=\$ac_old_val
   2546 	fi
   2547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2548 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2550 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2551       fi;;
   2552   esac
   2553   # Pass precious variables to config.status.
   2554   if test "$ac_new_set" = set; then
   2555     case $ac_new_val in
   2556     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2557     *) ac_arg=$ac_var=$ac_new_val ;;
   2558     esac
   2559     case " $ac_configure_args " in
   2560       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2561       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2562     esac
   2563   fi
   2564 done
   2565 if $ac_cache_corrupted; then
   2566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2567 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2569 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2570   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2571 	    and start over" "$LINENO" 5
   2572 fi
   2573 ## -------------------- ##
   2574 ## Main body of script. ##
   2575 ## -------------------- ##
   2576 
   2577 ac_ext=c
   2578 ac_cpp='$CPP $CPPFLAGS'
   2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2582 
   2583 
   2584 
   2585 ac_config_headers="$ac_config_headers config.h"
   2586 
   2587 
   2588 # Initialize Automake
   2589 am__api_version='1.18'
   2590 
   2591 
   2592 
   2593   # Find a good install program.  We prefer a C program (faster),
   2594 # so one script is as good as another.  But avoid the broken or
   2595 # incompatible versions:
   2596 # SysV /etc/install, /usr/sbin/install
   2597 # SunOS /usr/etc/install
   2598 # IRIX /sbin/install
   2599 # AIX /bin/install
   2600 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2604 # OS/2's system install, which has a completely different semantic
   2605 # ./install, which can be erroneously created by make from ./install.sh.
   2606 # Reject install programs that cannot install multiple files.
   2607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2608 printf %s "checking for a BSD-compatible install... " >&6; }
   2609 if test -z "$INSTALL"; then
   2610 if test ${ac_cv_path_install+y}
   2611 then :
   2612   printf %s "(cached) " >&6
   2613 else case e in #(
   2614   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2615 for as_dir in $PATH
   2616 do
   2617   IFS=$as_save_IFS
   2618   case $as_dir in #(((
   2619     '') as_dir=./ ;;
   2620     */) ;;
   2621     *) as_dir=$as_dir/ ;;
   2622   esac
   2623     # Account for fact that we put trailing slashes in our PATH walk.
   2624 case $as_dir in #((
   2625   ./ | /[cC]/* | \
   2626   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2627   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2628   /usr/ucb/* ) ;;
   2629   *)
   2630     # OSF1 and SCO ODT 3.0 have their own names for install.
   2631     # Don't use installbsd from OSF since it installs stuff as root
   2632     # by default.
   2633     for ac_prog in ginstall scoinst install; do
   2634       for ac_exec_ext in '' $ac_executable_extensions; do
   2635 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2636 	  if test $ac_prog = install &&
   2637 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2638 	    # AIX install.  It has an incompatible calling convention.
   2639 	    :
   2640 	  elif test $ac_prog = install &&
   2641 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2642 	    # program-specific install script used by HP pwplus--don't use.
   2643 	    :
   2644 	  else
   2645 	    rm -rf conftest.one conftest.two conftest.dir
   2646 	    echo one > conftest.one
   2647 	    echo two > conftest.two
   2648 	    mkdir conftest.dir
   2649 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2650 	      test -s conftest.one && test -s conftest.two &&
   2651 	      test -s conftest.dir/conftest.one &&
   2652 	      test -s conftest.dir/conftest.two
   2653 	    then
   2654 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2655 	      break 3
   2656 	    fi
   2657 	  fi
   2658 	fi
   2659       done
   2660     done
   2661     ;;
   2662 esac
   2663 
   2664   done
   2665 IFS=$as_save_IFS
   2666 
   2667 rm -rf conftest.one conftest.two conftest.dir
   2668  ;;
   2669 esac
   2670 fi
   2671   if test ${ac_cv_path_install+y}; then
   2672     INSTALL=$ac_cv_path_install
   2673   else
   2674     # As a last resort, use the slow shell script.  Don't cache a
   2675     # value for INSTALL within a source directory, because that will
   2676     # break other packages using the cache if that directory is
   2677     # removed, or if the value is a relative name.
   2678     INSTALL=$ac_install_sh
   2679   fi
   2680 fi
   2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2682 printf "%s\n" "$INSTALL" >&6; }
   2683 
   2684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2685 # It thinks the first close brace ends the variable substitution.
   2686 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2687 
   2688 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2689 
   2690 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2691 
   2692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2693 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2694 if test ${am_cv_sleep_fractional_seconds+y}
   2695 then :
   2696   printf %s "(cached) " >&6
   2697 else case e in #(
   2698   e) if sleep 0.001 2>/dev/null
   2699 then :
   2700   am_cv_sleep_fractional_seconds=yes
   2701 else case e in #(
   2702   e) am_cv_sleep_fractional_seconds=no ;;
   2703 esac
   2704 fi
   2705  ;;
   2706 esac
   2707 fi
   2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2709 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2710 
   2711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2712 printf %s "checking filesystem timestamp resolution... " >&6; }
   2713 if test ${am_cv_filesystem_timestamp_resolution+y}
   2714 then :
   2715   printf %s "(cached) " >&6
   2716 else case e in #(
   2717   e) # Default to the worst case.
   2718 am_cv_filesystem_timestamp_resolution=2
   2719 
   2720 # Only try to go finer than 1 sec if sleep can do it.
   2721 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2722 # - 1 sec is not much of a win compared to 2 sec, and
   2723 # - it takes 2 seconds to perform the test whether 1 sec works.
   2724 #
   2725 # Instead, just use the default 2s on platforms that have 1s resolution,
   2726 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2727 # exchange for not incurring the 2s delay for running the test for all
   2728 # packages.
   2729 #
   2730 am_try_resolutions=
   2731 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2732   # Even a millisecond often causes a bunch of false positives,
   2733   # so just try a hundredth of a second. The time saved between .001 and
   2734   # .01 is not terribly consequential.
   2735   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2736 fi
   2737 
   2738 # In order to catch current-generation FAT out, we must *modify* files
   2739 # that already exist; the *creation* timestamp is finer.  Use names
   2740 # that make ls -t sort them differently when they have equal
   2741 # timestamps than when they have distinct timestamps, keeping
   2742 # in mind that ls -t prints the *newest* file first.
   2743 rm -f conftest.ts?
   2744 : > conftest.ts1
   2745 : > conftest.ts2
   2746 : > conftest.ts3
   2747 
   2748 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2749 # clobber the current shell's arguments. (Outer-level square brackets
   2750 # are removed by m4; they're present so that m4 does not expand
   2751 # <dollar><star>; be careful, easy to get confused.)
   2752 if (
   2753      set X `ls -t conftest.ts[12]` &&
   2754      {
   2755        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2756        test "$*" != "X conftest.ts2 conftest.ts1";
   2757      }
   2758 ); then :; else
   2759   # If neither matched, then we have a broken ls.  This can happen
   2760   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2761   # broken ls alias from the environment.  This has actually
   2762   # happened.  Such a system could not be considered "sane".
   2763   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2764   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2765 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2766 as_fn_error $? "ls -t produces unexpected output.
   2767 Make sure there is not a broken ls alias in your environment.
   2768 See 'config.log' for more details" "$LINENO" 5; }
   2769 fi
   2770 
   2771 for am_try_res in $am_try_resolutions; do
   2772   # Any one fine-grained sleep might happen to cross the boundary
   2773   # between two values of a coarser actual resolution, but if we do
   2774   # two fine-grained sleeps in a row, at least one of them will fall
   2775   # entirely within a coarse interval.
   2776   echo alpha > conftest.ts1
   2777   sleep $am_try_res
   2778   echo beta > conftest.ts2
   2779   sleep $am_try_res
   2780   echo gamma > conftest.ts3
   2781 
   2782   # We assume that 'ls -t' will make use of high-resolution
   2783   # timestamps if the operating system supports them at all.
   2784   if (set X `ls -t conftest.ts?` &&
   2785       test "$2" = conftest.ts3 &&
   2786       test "$3" = conftest.ts2 &&
   2787       test "$4" = conftest.ts1); then
   2788     #
   2789     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2790     # because we don't need to test make.
   2791     make_ok=true
   2792     if test $am_try_res != 1; then
   2793       # But if we've succeeded so far with a subsecond resolution, we
   2794       # have one more thing to check: make. It can happen that
   2795       # everything else supports the subsecond mtimes, but make doesn't;
   2796       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2797       # released under GPLv2). https://bugs.gnu.org/68808
   2798       #
   2799       # We test $MAKE if it is defined in the environment, else "make".
   2800       # It might get overridden later, but our hope is that in practice
   2801       # it does not matter: it is the system "make" which is (by far)
   2802       # the most likely to be broken, whereas if the user overrides it,
   2803       # probably they did so with a better, or at least not worse, make.
   2804       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2805       #
   2806       # Create a Makefile (real tab character here):
   2807       rm -f conftest.mk
   2808       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2809       echo '	touch conftest.ts2' >>conftest.mk
   2810       #
   2811       # Now, running
   2812       #   touch conftest.ts1; touch conftest.ts2; make
   2813       # should touch ts1 because ts2 is newer. This could happen by luck,
   2814       # but most often, it will fail if make's support is insufficient. So
   2815       # test for several consecutive successes.
   2816       #
   2817       # (We reuse conftest.ts[12] because we still want to modify existing
   2818       # files, not create new ones, per above.)
   2819       n=0
   2820       make=${MAKE-make}
   2821       until test $n -eq 3; do
   2822         echo one > conftest.ts1
   2823         sleep $am_try_res
   2824         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2825         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2826           make_ok=false
   2827           break # out of $n loop
   2828         fi
   2829         n=`expr $n + 1`
   2830       done
   2831     fi
   2832     #
   2833     if $make_ok; then
   2834       # Everything we know to check worked out, so call this resolution good.
   2835       am_cv_filesystem_timestamp_resolution=$am_try_res
   2836       break # out of $am_try_res loop
   2837     fi
   2838     # Otherwise, we'll go on to check the next resolution.
   2839   fi
   2840 done
   2841 rm -f conftest.ts?
   2842 # (end _am_filesystem_timestamp_resolution)
   2843  ;;
   2844 esac
   2845 fi
   2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2847 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2848 
   2849 # This check should not be cached, as it may vary across builds of
   2850 # different projects.
   2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2852 printf %s "checking whether build environment is sane... " >&6; }
   2853 # Reject unsafe characters in $srcdir or the absolute working directory
   2854 # name.  Accept space and tab only in the latter.
   2855 am_lf='
   2856 '
   2857 case `pwd` in
   2858   *[\\\"\#\$\&\'\`$am_lf]*)
   2859     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2860 printf "%s\n" "no" >&6; }
   2861     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2862 esac
   2863 case $srcdir in
   2864   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2865     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2866 printf "%s\n" "no" >&6; }
   2867     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2868 esac
   2869 
   2870 # Do 'set' in a subshell so we don't clobber the current shell's
   2871 # arguments.  Must try -L first in case configure is actually a
   2872 # symlink; some systems play weird games with the mod time of symlinks
   2873 # (eg FreeBSD returns the mod time of the symlink's containing
   2874 # directory).
   2875 am_build_env_is_sane=no
   2876 am_has_slept=no
   2877 rm -f conftest.file
   2878 for am_try in 1 2; do
   2879   echo "timestamp, slept: $am_has_slept" > conftest.file
   2880   if (
   2881     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2882     if test "$*" = "X"; then
   2883       # -L didn't work.
   2884       set X `ls -t "$srcdir/configure" conftest.file`
   2885     fi
   2886     test "$2" = conftest.file
   2887   ); then
   2888     am_build_env_is_sane=yes
   2889     break
   2890   fi
   2891   # Just in case.
   2892   sleep "$am_cv_filesystem_timestamp_resolution"
   2893   am_has_slept=yes
   2894 done
   2895 
   2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2897 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2898 if test "$am_build_env_is_sane" = no; then
   2899   as_fn_error $? "newly created file is older than distributed files!
   2900 Check your system clock" "$LINENO" 5
   2901 fi
   2902 
   2903 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2904 # generated files are strictly newer.
   2905 am_sleep_pid=
   2906 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2907 then :
   2908 
   2909 else case e in #(
   2910   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2911   am_sleep_pid=$!
   2912  ;;
   2913 esac
   2914 fi
   2915 
   2916 rm -f conftest.file
   2917 
   2918 test "$program_prefix" != NONE &&
   2919   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2920 # Use a double $ so make ignores it.
   2921 test "$program_suffix" != NONE &&
   2922   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2923 # Double any \ or $.
   2924 # By default was 's,x,x', remove it if useless.
   2925 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2926 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2927 
   2928 
   2929 # Expand $ac_aux_dir to an absolute path.
   2930 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2931 
   2932 
   2933   if test x"${MISSING+set}" != xset; then
   2934   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2935 fi
   2936 # Use eval to expand $SHELL
   2937 if eval "$MISSING --is-lightweight"; then
   2938   am_missing_run="$MISSING "
   2939 else
   2940   am_missing_run=
   2941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2942 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2943 fi
   2944 
   2945 if test x"${install_sh+set}" != xset; then
   2946   case $am_aux_dir in
   2947   *\ * | *\	*)
   2948     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2949   *)
   2950     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2951   esac
   2952 fi
   2953 
   2954 # Installed binaries are usually stripped using 'strip' when the user
   2955 # run "make install-strip".  However 'strip' might not be the right
   2956 # tool to use in cross-compilation environments, therefore Automake
   2957 # will honor the 'STRIP' environment variable to overrule this program.
   2958 if test "$cross_compiling" != no; then
   2959   if test -n "$ac_tool_prefix"; then
   2960   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2961 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2963 printf %s "checking for $ac_word... " >&6; }
   2964 if test ${ac_cv_prog_STRIP+y}
   2965 then :
   2966   printf %s "(cached) " >&6
   2967 else case e in #(
   2968   e) if test -n "$STRIP"; then
   2969   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2970 else
   2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2972 for as_dir in $PATH
   2973 do
   2974   IFS=$as_save_IFS
   2975   case $as_dir in #(((
   2976     '') as_dir=./ ;;
   2977     */) ;;
   2978     *) as_dir=$as_dir/ ;;
   2979   esac
   2980     for ac_exec_ext in '' $ac_executable_extensions; do
   2981   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2982     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2983     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2984     break 2
   2985   fi
   2986 done
   2987   done
   2988 IFS=$as_save_IFS
   2989 
   2990 fi ;;
   2991 esac
   2992 fi
   2993 STRIP=$ac_cv_prog_STRIP
   2994 if test -n "$STRIP"; then
   2995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2996 printf "%s\n" "$STRIP" >&6; }
   2997 else
   2998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2999 printf "%s\n" "no" >&6; }
   3000 fi
   3001 
   3002 
   3003 fi
   3004 if test -z "$ac_cv_prog_STRIP"; then
   3005   ac_ct_STRIP=$STRIP
   3006   # Extract the first word of "strip", so it can be a program name with args.
   3007 set dummy strip; ac_word=$2
   3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3009 printf %s "checking for $ac_word... " >&6; }
   3010 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3011 then :
   3012   printf %s "(cached) " >&6
   3013 else case e in #(
   3014   e) if test -n "$ac_ct_STRIP"; then
   3015   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3016 else
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   case $as_dir in #(((
   3022     '') as_dir=./ ;;
   3023     */) ;;
   3024     *) as_dir=$as_dir/ ;;
   3025   esac
   3026     for ac_exec_ext in '' $ac_executable_extensions; do
   3027   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3028     ac_cv_prog_ac_ct_STRIP="strip"
   3029     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3030     break 2
   3031   fi
   3032 done
   3033   done
   3034 IFS=$as_save_IFS
   3035 
   3036 fi ;;
   3037 esac
   3038 fi
   3039 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3040 if test -n "$ac_ct_STRIP"; then
   3041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3042 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3043 else
   3044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3045 printf "%s\n" "no" >&6; }
   3046 fi
   3047 
   3048   if test "x$ac_ct_STRIP" = x; then
   3049     STRIP=":"
   3050   else
   3051     case $cross_compiling:$ac_tool_warned in
   3052 yes:)
   3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3055 ac_tool_warned=yes ;;
   3056 esac
   3057     STRIP=$ac_ct_STRIP
   3058   fi
   3059 else
   3060   STRIP="$ac_cv_prog_STRIP"
   3061 fi
   3062 
   3063 fi
   3064 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3065 
   3066 
   3067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3068 printf %s "checking for a race-free mkdir -p... " >&6; }
   3069 if test -z "$MKDIR_P"; then
   3070   if test ${ac_cv_path_mkdir+y}
   3071 then :
   3072   printf %s "(cached) " >&6
   3073 else case e in #(
   3074   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3076 do
   3077   IFS=$as_save_IFS
   3078   case $as_dir in #(((
   3079     '') as_dir=./ ;;
   3080     */) ;;
   3081     *) as_dir=$as_dir/ ;;
   3082   esac
   3083     for ac_prog in mkdir gmkdir; do
   3084 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3085 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3086 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3087 	     'mkdir ('*'coreutils) '* | \
   3088 	     *'BusyBox '* | \
   3089 	     'mkdir (fileutils) '4.1*)
   3090 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3091 	       break 3;;
   3092 	   esac
   3093 	 done
   3094        done
   3095   done
   3096 IFS=$as_save_IFS
   3097  ;;
   3098 esac
   3099 fi
   3100 
   3101   test -d ./--version && rmdir ./--version
   3102   if test ${ac_cv_path_mkdir+y}; then
   3103     MKDIR_P="$ac_cv_path_mkdir -p"
   3104   else
   3105     # As a last resort, use plain mkdir -p,
   3106     # in the hope it doesn't have the bugs of ancient mkdir.
   3107     MKDIR_P='mkdir -p'
   3108   fi
   3109 fi
   3110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3111 printf "%s\n" "$MKDIR_P" >&6; }
   3112 
   3113 for ac_prog in gawk mawk nawk awk
   3114 do
   3115   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3116 set dummy $ac_prog; ac_word=$2
   3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3118 printf %s "checking for $ac_word... " >&6; }
   3119 if test ${ac_cv_prog_AWK+y}
   3120 then :
   3121   printf %s "(cached) " >&6
   3122 else case e in #(
   3123   e) if test -n "$AWK"; then
   3124   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3125 else
   3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3127 for as_dir in $PATH
   3128 do
   3129   IFS=$as_save_IFS
   3130   case $as_dir in #(((
   3131     '') as_dir=./ ;;
   3132     */) ;;
   3133     *) as_dir=$as_dir/ ;;
   3134   esac
   3135     for ac_exec_ext in '' $ac_executable_extensions; do
   3136   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3137     ac_cv_prog_AWK="$ac_prog"
   3138     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3139     break 2
   3140   fi
   3141 done
   3142   done
   3143 IFS=$as_save_IFS
   3144 
   3145 fi ;;
   3146 esac
   3147 fi
   3148 AWK=$ac_cv_prog_AWK
   3149 if test -n "$AWK"; then
   3150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3151 printf "%s\n" "$AWK" >&6; }
   3152 else
   3153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3154 printf "%s\n" "no" >&6; }
   3155 fi
   3156 
   3157 
   3158   test -n "$AWK" && break
   3159 done
   3160 
   3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3162 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3163 set x ${MAKE-make}
   3164 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3165 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3166 then :
   3167   printf %s "(cached) " >&6
   3168 else case e in #(
   3169   e) cat >conftest.make <<\_ACEOF
   3170 SHELL = /bin/sh
   3171 all:
   3172 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3173 _ACEOF
   3174 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3175 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3176   *@@@%%%=?*=@@@%%%*)
   3177     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3178   *)
   3179     eval ac_cv_prog_make_${ac_make}_set=no;;
   3180 esac
   3181 rm -f conftest.make ;;
   3182 esac
   3183 fi
   3184 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3186 printf "%s\n" "yes" >&6; }
   3187   SET_MAKE=
   3188 else
   3189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3190 printf "%s\n" "no" >&6; }
   3191   SET_MAKE="MAKE=${MAKE-make}"
   3192 fi
   3193 
   3194 rm -rf .tst 2>/dev/null
   3195 mkdir .tst 2>/dev/null
   3196 if test -d .tst; then
   3197   am__leading_dot=.
   3198 else
   3199   am__leading_dot=_
   3200 fi
   3201 rmdir .tst 2>/dev/null
   3202 
   3203 AM_DEFAULT_VERBOSITY=1
   3204 # Check whether --enable-silent-rules was given.
   3205 if test ${enable_silent_rules+y}
   3206 then :
   3207   enableval=$enable_silent_rules;
   3208 fi
   3209 
   3210 am_make=${MAKE-make}
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3212 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3213 if test ${am_cv_make_support_nested_variables+y}
   3214 then :
   3215   printf %s "(cached) " >&6
   3216 else case e in #(
   3217   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3218 BAR0=false
   3219 BAR1=true
   3220 V=1
   3221 am__doit:
   3222 	@$(TRUE)
   3223 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3224   am_cv_make_support_nested_variables=yes
   3225 else
   3226   am_cv_make_support_nested_variables=no
   3227 fi ;;
   3228 esac
   3229 fi
   3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3231 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3232 AM_BACKSLASH='\'
   3233 
   3234 am__rm_f_notfound=
   3235 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3236 then :
   3237 
   3238 else case e in #(
   3239   e) am__rm_f_notfound='""' ;;
   3240 esac
   3241 fi
   3242 
   3243 
   3244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3245 printf %s "checking xargs -n works... " >&6; }
   3246 if test ${am_cv_xargs_n_works+y}
   3247 then :
   3248   printf %s "(cached) " >&6
   3249 else case e in #(
   3250   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3251 3"
   3252 then :
   3253   am_cv_xargs_n_works=yes
   3254 else case e in #(
   3255   e) am_cv_xargs_n_works=no ;;
   3256 esac
   3257 fi ;;
   3258 esac
   3259 fi
   3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3261 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3262 if test "$am_cv_xargs_n_works" = yes
   3263 then :
   3264   am__xargs_n='xargs -n'
   3265 else case e in #(
   3266   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3267  ;;
   3268 esac
   3269 fi
   3270 
   3271 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3272   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3273   # is not polluted with repeated "-I."
   3274   am__isrc=' -I$(srcdir)'
   3275   # test to see if srcdir already configured
   3276   if test -f $srcdir/config.status; then
   3277     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3278   fi
   3279 fi
   3280 
   3281 # test whether we have cygpath
   3282 if test -z "$CYGPATH_W"; then
   3283   if (cygpath --version) >/dev/null 2>/dev/null; then
   3284     CYGPATH_W='cygpath -w'
   3285   else
   3286     CYGPATH_W=echo
   3287   fi
   3288 fi
   3289 
   3290 
   3291 # Define the identity of the package.
   3292  PACKAGE='xcalc'
   3293  VERSION='1.1.3'
   3294 
   3295 
   3296 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3297 
   3298 
   3299 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3300 
   3301 # Some tools Automake needs.
   3302 
   3303 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3304 
   3305 
   3306 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3307 
   3308 
   3309 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3310 
   3311 
   3312 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3313 
   3314 
   3315 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3316 
   3317 # For better backward compatibility.  To be removed once Automake 1.9.x
   3318 # dies out for good.  For more background, see:
   3319 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3320 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3321 mkdir_p='$(MKDIR_P)'
   3322 
   3323 # We need awk for the "check" target (and possibly the TAP driver).  The
   3324 # system "awk" is bad on some platforms.
   3325 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3326 # in the wild :-(  We should find a proper way to deprecate it ...
   3327 AMTAR='$${TAR-tar}'
   3328 
   3329 
   3330 # We'll loop over all known methods to create a tar archive until one works.
   3331 _am_tools='gnutar plaintar pax cpio none'
   3332 
   3333 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3334       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3335       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3336       # and bug#13588).
   3337       am_max_uid=2097151 # 2^21 - 1
   3338       am_max_gid=$am_max_uid
   3339       # The $UID and $GID variables are not portable, so we need to resort
   3340       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3341       # below are definitely unexpected, so allow the users to see them
   3342       # (that is, avoid stderr redirection).
   3343       am_uid=`id -u || echo unknown`
   3344       am_gid=`id -g || echo unknown`
   3345       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3346 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3347       if test x$am_uid = xunknown; then
   3348         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3349 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3350       elif test $am_uid -le $am_max_uid; then
   3351         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3352 printf "%s\n" "yes" >&6; }
   3353       else
   3354         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3355 printf "%s\n" "no" >&6; }
   3356         _am_tools=none
   3357       fi
   3358       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3359 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3360       if test x$gm_gid = xunknown; then
   3361         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3362 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3363       elif test $am_gid -le $am_max_gid; then
   3364         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3365 printf "%s\n" "yes" >&6; }
   3366       else
   3367         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3368 printf "%s\n" "no" >&6; }
   3369         _am_tools=none
   3370       fi
   3371 
   3372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3373 printf %s "checking how to create a ustar tar archive... " >&6; }
   3374 
   3375   # Go ahead even if we have the value already cached.  We do so because we
   3376   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3377   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3378 
   3379   for _am_tool in $_am_tools; do
   3380     case $_am_tool in
   3381     gnutar)
   3382       for _am_tar in tar gnutar gtar; do
   3383         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3384    ($_am_tar --version) >&5 2>&5
   3385    ac_status=$?
   3386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3387    (exit $ac_status); } && break
   3388       done
   3389       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3390       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3391       am__untar="$_am_tar -xf -"
   3392       ;;
   3393     plaintar)
   3394       # Must skip GNU tar: if it does not support --format= it doesn't create
   3395       # ustar tarball either.
   3396       (tar --version) >/dev/null 2>&1 && continue
   3397       am__tar='tar chf - "$$tardir"'
   3398       am__tar_='tar chf - "$tardir"'
   3399       am__untar='tar xf -'
   3400       ;;
   3401     pax)
   3402       am__tar='pax -L -x ustar -w "$$tardir"'
   3403       am__tar_='pax -L -x ustar -w "$tardir"'
   3404       am__untar='pax -r'
   3405       ;;
   3406     cpio)
   3407       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3408       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3409       am__untar='cpio -i -H ustar -d'
   3410       ;;
   3411     none)
   3412       am__tar=false
   3413       am__tar_=false
   3414       am__untar=false
   3415       ;;
   3416     esac
   3417 
   3418     # If the value was cached, stop now.  We just wanted to have am__tar
   3419     # and am__untar set.
   3420     test -n "${am_cv_prog_tar_ustar}" && break
   3421 
   3422     # tar/untar a dummy directory, and stop if the command works.
   3423     rm -rf conftest.dir
   3424     mkdir conftest.dir
   3425     echo GrepMe > conftest.dir/file
   3426     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3427    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3428    ac_status=$?
   3429    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3430    (exit $ac_status); }
   3431     rm -rf conftest.dir
   3432     if test -s conftest.tar; then
   3433       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3434    ($am__untar <conftest.tar) >&5 2>&5
   3435    ac_status=$?
   3436    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3437    (exit $ac_status); }
   3438       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3439    (cat conftest.dir/file) >&5 2>&5
   3440    ac_status=$?
   3441    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3442    (exit $ac_status); }
   3443       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3444     fi
   3445   done
   3446   rm -rf conftest.dir
   3447 
   3448   if test ${am_cv_prog_tar_ustar+y}
   3449 then :
   3450   printf %s "(cached) " >&6
   3451 else case e in #(
   3452   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3453 esac
   3454 fi
   3455 
   3456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3457 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3458 
   3459 
   3460 
   3461 
   3462 
   3463 # Variables for tags utilities; see am/tags.am
   3464 if test -z "$CTAGS"; then
   3465   CTAGS=ctags
   3466 fi
   3467 
   3468 if test -z "$ETAGS"; then
   3469   ETAGS=etags
   3470 fi
   3471 
   3472 if test -z "$CSCOPE"; then
   3473   CSCOPE=cscope
   3474 fi
   3475 
   3476 
   3477 
   3478 
   3479 
   3480 
   3481 
   3482 
   3483 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3484 
   3485 
   3486 
   3487 
   3488 
   3489 
   3490 
   3491 
   3492 
   3493 
   3494 
   3495 
   3496 
   3497 
   3498 
   3499 
   3500 
   3501 
   3502 
   3503 
   3504 DEPDIR="${am__leading_dot}deps"
   3505 
   3506 ac_config_commands="$ac_config_commands depfiles"
   3507 
   3508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3509 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3510 cat > confinc.mk << 'END'
   3511 am__doit:
   3512 	@echo this is the am__doit target >confinc.out
   3513 .PHONY: am__doit
   3514 END
   3515 am__include="#"
   3516 am__quote=
   3517 # BSD make does it like this.
   3518 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3519 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3520 echo 'include confinc.mk # ignored' > confmf.GNU
   3521 _am_result=no
   3522 for s in GNU BSD; do
   3523   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3524    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3525    ac_status=$?
   3526    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3527    (exit $ac_status); }
   3528   case $?:`cat confinc.out 2>/dev/null` in #(
   3529   '0:this is the am__doit target') :
   3530     case $s in #(
   3531   BSD) :
   3532     am__include='.include' am__quote='"' ;; #(
   3533   *) :
   3534     am__include='include' am__quote='' ;;
   3535 esac ;; #(
   3536   *) :
   3537      ;;
   3538 esac
   3539   if test "$am__include" != "#"; then
   3540     _am_result="yes ($s style)"
   3541     break
   3542   fi
   3543 done
   3544 rm -f confinc.* confmf.*
   3545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3546 printf "%s\n" "${_am_result}" >&6; }
   3547 
   3548 # Check whether --enable-dependency-tracking was given.
   3549 if test ${enable_dependency_tracking+y}
   3550 then :
   3551   enableval=$enable_dependency_tracking;
   3552 fi
   3553 
   3554 if test "x$enable_dependency_tracking" != xno; then
   3555   am_depcomp="$ac_aux_dir/depcomp"
   3556   AMDEPBACKSLASH='\'
   3557   am__nodep='_no'
   3558 fi
   3559  if test "x$enable_dependency_tracking" != xno; then
   3560   AMDEP_TRUE=
   3561   AMDEP_FALSE='#'
   3562 else
   3563   AMDEP_TRUE='#'
   3564   AMDEP_FALSE=
   3565 fi
   3566 
   3567 
   3568 ac_ext=c
   3569 ac_cpp='$CPP $CPPFLAGS'
   3570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3573 if test -n "$ac_tool_prefix"; then
   3574   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3575 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3577 printf %s "checking for $ac_word... " >&6; }
   3578 if test ${ac_cv_prog_CC+y}
   3579 then :
   3580   printf %s "(cached) " >&6
   3581 else case e in #(
   3582   e) if test -n "$CC"; then
   3583   ac_cv_prog_CC="$CC" # Let the user override the test.
   3584 else
   3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3586 for as_dir in $PATH
   3587 do
   3588   IFS=$as_save_IFS
   3589   case $as_dir in #(((
   3590     '') as_dir=./ ;;
   3591     */) ;;
   3592     *) as_dir=$as_dir/ ;;
   3593   esac
   3594     for ac_exec_ext in '' $ac_executable_extensions; do
   3595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3596     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3598     break 2
   3599   fi
   3600 done
   3601   done
   3602 IFS=$as_save_IFS
   3603 
   3604 fi ;;
   3605 esac
   3606 fi
   3607 CC=$ac_cv_prog_CC
   3608 if test -n "$CC"; then
   3609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3610 printf "%s\n" "$CC" >&6; }
   3611 else
   3612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3613 printf "%s\n" "no" >&6; }
   3614 fi
   3615 
   3616 
   3617 fi
   3618 if test -z "$ac_cv_prog_CC"; then
   3619   ac_ct_CC=$CC
   3620   # Extract the first word of "gcc", so it can be a program name with args.
   3621 set dummy gcc; ac_word=$2
   3622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3623 printf %s "checking for $ac_word... " >&6; }
   3624 if test ${ac_cv_prog_ac_ct_CC+y}
   3625 then :
   3626   printf %s "(cached) " >&6
   3627 else case e in #(
   3628   e) if test -n "$ac_ct_CC"; then
   3629   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3630 else
   3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3632 for as_dir in $PATH
   3633 do
   3634   IFS=$as_save_IFS
   3635   case $as_dir in #(((
   3636     '') as_dir=./ ;;
   3637     */) ;;
   3638     *) as_dir=$as_dir/ ;;
   3639   esac
   3640     for ac_exec_ext in '' $ac_executable_extensions; do
   3641   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3642     ac_cv_prog_ac_ct_CC="gcc"
   3643     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3644     break 2
   3645   fi
   3646 done
   3647   done
   3648 IFS=$as_save_IFS
   3649 
   3650 fi ;;
   3651 esac
   3652 fi
   3653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3654 if test -n "$ac_ct_CC"; then
   3655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3656 printf "%s\n" "$ac_ct_CC" >&6; }
   3657 else
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3659 printf "%s\n" "no" >&6; }
   3660 fi
   3661 
   3662   if test "x$ac_ct_CC" = x; then
   3663     CC=""
   3664   else
   3665     case $cross_compiling:$ac_tool_warned in
   3666 yes:)
   3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3668 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3669 ac_tool_warned=yes ;;
   3670 esac
   3671     CC=$ac_ct_CC
   3672   fi
   3673 else
   3674   CC="$ac_cv_prog_CC"
   3675 fi
   3676 
   3677 if test -z "$CC"; then
   3678           if test -n "$ac_tool_prefix"; then
   3679     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3680 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3682 printf %s "checking for $ac_word... " >&6; }
   3683 if test ${ac_cv_prog_CC+y}
   3684 then :
   3685   printf %s "(cached) " >&6
   3686 else case e in #(
   3687   e) if test -n "$CC"; then
   3688   ac_cv_prog_CC="$CC" # Let the user override the test.
   3689 else
   3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3691 for as_dir in $PATH
   3692 do
   3693   IFS=$as_save_IFS
   3694   case $as_dir in #(((
   3695     '') as_dir=./ ;;
   3696     */) ;;
   3697     *) as_dir=$as_dir/ ;;
   3698   esac
   3699     for ac_exec_ext in '' $ac_executable_extensions; do
   3700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3701     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3703     break 2
   3704   fi
   3705 done
   3706   done
   3707 IFS=$as_save_IFS
   3708 
   3709 fi ;;
   3710 esac
   3711 fi
   3712 CC=$ac_cv_prog_CC
   3713 if test -n "$CC"; then
   3714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3715 printf "%s\n" "$CC" >&6; }
   3716 else
   3717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3718 printf "%s\n" "no" >&6; }
   3719 fi
   3720 
   3721 
   3722   fi
   3723 fi
   3724 if test -z "$CC"; then
   3725   # Extract the first word of "cc", so it can be a program name with args.
   3726 set dummy cc; ac_word=$2
   3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3728 printf %s "checking for $ac_word... " >&6; }
   3729 if test ${ac_cv_prog_CC+y}
   3730 then :
   3731   printf %s "(cached) " >&6
   3732 else case e in #(
   3733   e) if test -n "$CC"; then
   3734   ac_cv_prog_CC="$CC" # Let the user override the test.
   3735 else
   3736   ac_prog_rejected=no
   3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3738 for as_dir in $PATH
   3739 do
   3740   IFS=$as_save_IFS
   3741   case $as_dir in #(((
   3742     '') as_dir=./ ;;
   3743     */) ;;
   3744     *) as_dir=$as_dir/ ;;
   3745   esac
   3746     for ac_exec_ext in '' $ac_executable_extensions; do
   3747   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3748     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3749        ac_prog_rejected=yes
   3750        continue
   3751      fi
   3752     ac_cv_prog_CC="cc"
   3753     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3754     break 2
   3755   fi
   3756 done
   3757   done
   3758 IFS=$as_save_IFS
   3759 
   3760 if test $ac_prog_rejected = yes; then
   3761   # We found a bogon in the path, so make sure we never use it.
   3762   set dummy $ac_cv_prog_CC
   3763   shift
   3764   if test $# != 0; then
   3765     # We chose a different compiler from the bogus one.
   3766     # However, it has the same basename, so the bogon will be chosen
   3767     # first if we set CC to just the basename; use the full file name.
   3768     shift
   3769     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3770   fi
   3771 fi
   3772 fi ;;
   3773 esac
   3774 fi
   3775 CC=$ac_cv_prog_CC
   3776 if test -n "$CC"; then
   3777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3778 printf "%s\n" "$CC" >&6; }
   3779 else
   3780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3781 printf "%s\n" "no" >&6; }
   3782 fi
   3783 
   3784 
   3785 fi
   3786 if test -z "$CC"; then
   3787   if test -n "$ac_tool_prefix"; then
   3788   for ac_prog in cl.exe
   3789   do
   3790     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3793 printf %s "checking for $ac_word... " >&6; }
   3794 if test ${ac_cv_prog_CC+y}
   3795 then :
   3796   printf %s "(cached) " >&6
   3797 else case e in #(
   3798   e) if test -n "$CC"; then
   3799   ac_cv_prog_CC="$CC" # Let the user override the test.
   3800 else
   3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3802 for as_dir in $PATH
   3803 do
   3804   IFS=$as_save_IFS
   3805   case $as_dir in #(((
   3806     '') as_dir=./ ;;
   3807     */) ;;
   3808     *) as_dir=$as_dir/ ;;
   3809   esac
   3810     for ac_exec_ext in '' $ac_executable_extensions; do
   3811   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3812     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3813     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3814     break 2
   3815   fi
   3816 done
   3817   done
   3818 IFS=$as_save_IFS
   3819 
   3820 fi ;;
   3821 esac
   3822 fi
   3823 CC=$ac_cv_prog_CC
   3824 if test -n "$CC"; then
   3825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3826 printf "%s\n" "$CC" >&6; }
   3827 else
   3828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3829 printf "%s\n" "no" >&6; }
   3830 fi
   3831 
   3832 
   3833     test -n "$CC" && break
   3834   done
   3835 fi
   3836 if test -z "$CC"; then
   3837   ac_ct_CC=$CC
   3838   for ac_prog in cl.exe
   3839 do
   3840   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3841 set dummy $ac_prog; ac_word=$2
   3842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3843 printf %s "checking for $ac_word... " >&6; }
   3844 if test ${ac_cv_prog_ac_ct_CC+y}
   3845 then :
   3846   printf %s "(cached) " >&6
   3847 else case e in #(
   3848   e) if test -n "$ac_ct_CC"; then
   3849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3850 else
   3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3852 for as_dir in $PATH
   3853 do
   3854   IFS=$as_save_IFS
   3855   case $as_dir in #(((
   3856     '') as_dir=./ ;;
   3857     */) ;;
   3858     *) as_dir=$as_dir/ ;;
   3859   esac
   3860     for ac_exec_ext in '' $ac_executable_extensions; do
   3861   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3862     ac_cv_prog_ac_ct_CC="$ac_prog"
   3863     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3864     break 2
   3865   fi
   3866 done
   3867   done
   3868 IFS=$as_save_IFS
   3869 
   3870 fi ;;
   3871 esac
   3872 fi
   3873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3874 if test -n "$ac_ct_CC"; then
   3875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3876 printf "%s\n" "$ac_ct_CC" >&6; }
   3877 else
   3878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3879 printf "%s\n" "no" >&6; }
   3880 fi
   3881 
   3882 
   3883   test -n "$ac_ct_CC" && break
   3884 done
   3885 
   3886   if test "x$ac_ct_CC" = x; then
   3887     CC=""
   3888   else
   3889     case $cross_compiling:$ac_tool_warned in
   3890 yes:)
   3891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3892 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3893 ac_tool_warned=yes ;;
   3894 esac
   3895     CC=$ac_ct_CC
   3896   fi
   3897 fi
   3898 
   3899 fi
   3900 if test -z "$CC"; then
   3901   if test -n "$ac_tool_prefix"; then
   3902   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3903 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3905 printf %s "checking for $ac_word... " >&6; }
   3906 if test ${ac_cv_prog_CC+y}
   3907 then :
   3908   printf %s "(cached) " >&6
   3909 else case e in #(
   3910   e) if test -n "$CC"; then
   3911   ac_cv_prog_CC="$CC" # Let the user override the test.
   3912 else
   3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3914 for as_dir in $PATH
   3915 do
   3916   IFS=$as_save_IFS
   3917   case $as_dir in #(((
   3918     '') as_dir=./ ;;
   3919     */) ;;
   3920     *) as_dir=$as_dir/ ;;
   3921   esac
   3922     for ac_exec_ext in '' $ac_executable_extensions; do
   3923   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3924     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3925     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3926     break 2
   3927   fi
   3928 done
   3929   done
   3930 IFS=$as_save_IFS
   3931 
   3932 fi ;;
   3933 esac
   3934 fi
   3935 CC=$ac_cv_prog_CC
   3936 if test -n "$CC"; then
   3937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3938 printf "%s\n" "$CC" >&6; }
   3939 else
   3940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3941 printf "%s\n" "no" >&6; }
   3942 fi
   3943 
   3944 
   3945 fi
   3946 if test -z "$ac_cv_prog_CC"; then
   3947   ac_ct_CC=$CC
   3948   # Extract the first word of "clang", so it can be a program name with args.
   3949 set dummy clang; ac_word=$2
   3950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3951 printf %s "checking for $ac_word... " >&6; }
   3952 if test ${ac_cv_prog_ac_ct_CC+y}
   3953 then :
   3954   printf %s "(cached) " >&6
   3955 else case e in #(
   3956   e) if test -n "$ac_ct_CC"; then
   3957   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3958 else
   3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3960 for as_dir in $PATH
   3961 do
   3962   IFS=$as_save_IFS
   3963   case $as_dir in #(((
   3964     '') as_dir=./ ;;
   3965     */) ;;
   3966     *) as_dir=$as_dir/ ;;
   3967   esac
   3968     for ac_exec_ext in '' $ac_executable_extensions; do
   3969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3970     ac_cv_prog_ac_ct_CC="clang"
   3971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3972     break 2
   3973   fi
   3974 done
   3975   done
   3976 IFS=$as_save_IFS
   3977 
   3978 fi ;;
   3979 esac
   3980 fi
   3981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3982 if test -n "$ac_ct_CC"; then
   3983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3984 printf "%s\n" "$ac_ct_CC" >&6; }
   3985 else
   3986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3987 printf "%s\n" "no" >&6; }
   3988 fi
   3989 
   3990   if test "x$ac_ct_CC" = x; then
   3991     CC=""
   3992   else
   3993     case $cross_compiling:$ac_tool_warned in
   3994 yes:)
   3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3997 ac_tool_warned=yes ;;
   3998 esac
   3999     CC=$ac_ct_CC
   4000   fi
   4001 else
   4002   CC="$ac_cv_prog_CC"
   4003 fi
   4004 
   4005 fi
   4006 
   4007 
   4008 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4009 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4010 as_fn_error $? "no acceptable C compiler found in \$PATH
   4011 See 'config.log' for more details" "$LINENO" 5; }
   4012 
   4013 # Provide some information about the compiler.
   4014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4015 set X $ac_compile
   4016 ac_compiler=$2
   4017 for ac_option in --version -v -V -qversion -version; do
   4018   { { ac_try="$ac_compiler $ac_option >&5"
   4019 case "(($ac_try" in
   4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4021   *) ac_try_echo=$ac_try;;
   4022 esac
   4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4024 printf "%s\n" "$ac_try_echo"; } >&5
   4025   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4026   ac_status=$?
   4027   if test -s conftest.err; then
   4028     sed '10a\
   4029 ... rest of stderr output deleted ...
   4030          10q' conftest.err >conftest.er1
   4031     cat conftest.er1 >&5
   4032   fi
   4033   rm -f conftest.er1 conftest.err
   4034   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4035   test $ac_status = 0; }
   4036 done
   4037 
   4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4039 /* end confdefs.h.  */
   4040 
   4041 int
   4042 main (void)
   4043 {
   4044 
   4045   ;
   4046   return 0;
   4047 }
   4048 _ACEOF
   4049 ac_clean_files_save=$ac_clean_files
   4050 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4051 # Try to create an executable without -o first, disregard a.out.
   4052 # It will help us diagnose broken compilers, and finding out an intuition
   4053 # of exeext.
   4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4055 printf %s "checking whether the C compiler works... " >&6; }
   4056 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4057 
   4058 # The possible output files:
   4059 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4060 
   4061 ac_rmfiles=
   4062 for ac_file in $ac_files
   4063 do
   4064   case $ac_file in
   4065     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4066     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4067   esac
   4068 done
   4069 rm -f $ac_rmfiles
   4070 
   4071 if { { ac_try="$ac_link_default"
   4072 case "(($ac_try" in
   4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4074   *) ac_try_echo=$ac_try;;
   4075 esac
   4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4077 printf "%s\n" "$ac_try_echo"; } >&5
   4078   (eval "$ac_link_default") 2>&5
   4079   ac_status=$?
   4080   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4081   test $ac_status = 0; }
   4082 then :
   4083   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4084 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4085 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4086 # so that the user can short-circuit this test for compilers unknown to
   4087 # Autoconf.
   4088 for ac_file in $ac_files ''
   4089 do
   4090   test -f "$ac_file" || continue
   4091   case $ac_file in
   4092     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4093 	;;
   4094     [ab].out )
   4095 	# We found the default executable, but exeext='' is most
   4096 	# certainly right.
   4097 	break;;
   4098     *.* )
   4099 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4100 	then :; else
   4101 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4102 	fi
   4103 	# We set ac_cv_exeext here because the later test for it is not
   4104 	# safe: cross compilers may not add the suffix if given an '-o'
   4105 	# argument, so we may need to know it at that point already.
   4106 	# Even if this section looks crufty: it has the advantage of
   4107 	# actually working.
   4108 	break;;
   4109     * )
   4110 	break;;
   4111   esac
   4112 done
   4113 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4114 
   4115 else case e in #(
   4116   e) ac_file='' ;;
   4117 esac
   4118 fi
   4119 if test -z "$ac_file"
   4120 then :
   4121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4122 printf "%s\n" "no" >&6; }
   4123 printf "%s\n" "$as_me: failed program was:" >&5
   4124 sed 's/^/| /' conftest.$ac_ext >&5
   4125 
   4126 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4127 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4128 as_fn_error 77 "C compiler cannot create executables
   4129 See 'config.log' for more details" "$LINENO" 5; }
   4130 else case e in #(
   4131   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4132 printf "%s\n" "yes" >&6; } ;;
   4133 esac
   4134 fi
   4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4136 printf %s "checking for C compiler default output file name... " >&6; }
   4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4138 printf "%s\n" "$ac_file" >&6; }
   4139 ac_exeext=$ac_cv_exeext
   4140 
   4141 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4142 ac_clean_files=$ac_clean_files_save
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4144 printf %s "checking for suffix of executables... " >&6; }
   4145 if { { ac_try="$ac_link"
   4146 case "(($ac_try" in
   4147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4148   *) ac_try_echo=$ac_try;;
   4149 esac
   4150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4151 printf "%s\n" "$ac_try_echo"; } >&5
   4152   (eval "$ac_link") 2>&5
   4153   ac_status=$?
   4154   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4155   test $ac_status = 0; }
   4156 then :
   4157   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4158 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4159 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4160 # 'rm'.
   4161 for ac_file in conftest.exe conftest conftest.*; do
   4162   test -f "$ac_file" || continue
   4163   case $ac_file in
   4164     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4165     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4166 	  break;;
   4167     * ) break;;
   4168   esac
   4169 done
   4170 else case e in #(
   4171   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4172 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4173 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4174 See 'config.log' for more details" "$LINENO" 5; } ;;
   4175 esac
   4176 fi
   4177 rm -f conftest conftest$ac_cv_exeext
   4178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4179 printf "%s\n" "$ac_cv_exeext" >&6; }
   4180 
   4181 rm -f conftest.$ac_ext
   4182 EXEEXT=$ac_cv_exeext
   4183 ac_exeext=$EXEEXT
   4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4185 /* end confdefs.h.  */
   4186 #include <stdio.h>
   4187 int
   4188 main (void)
   4189 {
   4190 FILE *f = fopen ("conftest.out", "w");
   4191  if (!f)
   4192   return 1;
   4193  return ferror (f) || fclose (f) != 0;
   4194 
   4195   ;
   4196   return 0;
   4197 }
   4198 _ACEOF
   4199 ac_clean_files="$ac_clean_files conftest.out"
   4200 # Check that the compiler produces executables we can run.  If not, either
   4201 # the compiler is broken, or we cross compile.
   4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4203 printf %s "checking whether we are cross compiling... " >&6; }
   4204 if test "$cross_compiling" != yes; then
   4205   { { ac_try="$ac_link"
   4206 case "(($ac_try" in
   4207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4208   *) ac_try_echo=$ac_try;;
   4209 esac
   4210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4211 printf "%s\n" "$ac_try_echo"; } >&5
   4212   (eval "$ac_link") 2>&5
   4213   ac_status=$?
   4214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4215   test $ac_status = 0; }
   4216   if { ac_try='./conftest$ac_cv_exeext'
   4217   { { case "(($ac_try" in
   4218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4219   *) ac_try_echo=$ac_try;;
   4220 esac
   4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4222 printf "%s\n" "$ac_try_echo"; } >&5
   4223   (eval "$ac_try") 2>&5
   4224   ac_status=$?
   4225   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4226   test $ac_status = 0; }; }; then
   4227     cross_compiling=no
   4228   else
   4229     if test "$cross_compiling" = maybe; then
   4230 	cross_compiling=yes
   4231     else
   4232 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4233 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4234 as_fn_error 77 "cannot run C compiled programs.
   4235 If you meant to cross compile, use '--host'.
   4236 See 'config.log' for more details" "$LINENO" 5; }
   4237     fi
   4238   fi
   4239 fi
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4241 printf "%s\n" "$cross_compiling" >&6; }
   4242 
   4243 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4244   conftest.o conftest.obj conftest.out
   4245 ac_clean_files=$ac_clean_files_save
   4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4247 printf %s "checking for suffix of object files... " >&6; }
   4248 if test ${ac_cv_objext+y}
   4249 then :
   4250   printf %s "(cached) " >&6
   4251 else case e in #(
   4252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4253 /* end confdefs.h.  */
   4254 
   4255 int
   4256 main (void)
   4257 {
   4258 
   4259   ;
   4260   return 0;
   4261 }
   4262 _ACEOF
   4263 rm -f conftest.o conftest.obj
   4264 if { { ac_try="$ac_compile"
   4265 case "(($ac_try" in
   4266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4267   *) ac_try_echo=$ac_try;;
   4268 esac
   4269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4270 printf "%s\n" "$ac_try_echo"; } >&5
   4271   (eval "$ac_compile") 2>&5
   4272   ac_status=$?
   4273   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4274   test $ac_status = 0; }
   4275 then :
   4276   for ac_file in conftest.o conftest.obj conftest.*; do
   4277   test -f "$ac_file" || continue;
   4278   case $ac_file in
   4279     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4280     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4281        break;;
   4282   esac
   4283 done
   4284 else case e in #(
   4285   e) printf "%s\n" "$as_me: failed program was:" >&5
   4286 sed 's/^/| /' conftest.$ac_ext >&5
   4287 
   4288 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4289 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4290 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4291 See 'config.log' for more details" "$LINENO" 5; } ;;
   4292 esac
   4293 fi
   4294 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4295 esac
   4296 fi
   4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4298 printf "%s\n" "$ac_cv_objext" >&6; }
   4299 OBJEXT=$ac_cv_objext
   4300 ac_objext=$OBJEXT
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4302 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4303 if test ${ac_cv_c_compiler_gnu+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else case e in #(
   4307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 
   4310 int
   4311 main (void)
   4312 {
   4313 #ifndef __GNUC__
   4314        choke me
   4315 #endif
   4316 
   4317   ;
   4318   return 0;
   4319 }
   4320 _ACEOF
   4321 if ac_fn_c_try_compile "$LINENO"
   4322 then :
   4323   ac_compiler_gnu=yes
   4324 else case e in #(
   4325   e) ac_compiler_gnu=no ;;
   4326 esac
   4327 fi
   4328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4330  ;;
   4331 esac
   4332 fi
   4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4334 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4336 
   4337 if test $ac_compiler_gnu = yes; then
   4338   GCC=yes
   4339 else
   4340   GCC=
   4341 fi
   4342 ac_test_CFLAGS=${CFLAGS+y}
   4343 ac_save_CFLAGS=$CFLAGS
   4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4345 printf %s "checking whether $CC accepts -g... " >&6; }
   4346 if test ${ac_cv_prog_cc_g+y}
   4347 then :
   4348   printf %s "(cached) " >&6
   4349 else case e in #(
   4350   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4351    ac_c_werror_flag=yes
   4352    ac_cv_prog_cc_g=no
   4353    CFLAGS="-g"
   4354    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4355 /* end confdefs.h.  */
   4356 
   4357 int
   4358 main (void)
   4359 {
   4360 
   4361   ;
   4362   return 0;
   4363 }
   4364 _ACEOF
   4365 if ac_fn_c_try_compile "$LINENO"
   4366 then :
   4367   ac_cv_prog_cc_g=yes
   4368 else case e in #(
   4369   e) CFLAGS=""
   4370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4371 /* end confdefs.h.  */
   4372 
   4373 int
   4374 main (void)
   4375 {
   4376 
   4377   ;
   4378   return 0;
   4379 }
   4380 _ACEOF
   4381 if ac_fn_c_try_compile "$LINENO"
   4382 then :
   4383 
   4384 else case e in #(
   4385   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4386 	 CFLAGS="-g"
   4387 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 
   4390 int
   4391 main (void)
   4392 {
   4393 
   4394   ;
   4395   return 0;
   4396 }
   4397 _ACEOF
   4398 if ac_fn_c_try_compile "$LINENO"
   4399 then :
   4400   ac_cv_prog_cc_g=yes
   4401 fi
   4402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4403 esac
   4404 fi
   4405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4406 esac
   4407 fi
   4408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4409    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4410 esac
   4411 fi
   4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4413 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4414 if test $ac_test_CFLAGS; then
   4415   CFLAGS=$ac_save_CFLAGS
   4416 elif test $ac_cv_prog_cc_g = yes; then
   4417   if test "$GCC" = yes; then
   4418     CFLAGS="-g -O2"
   4419   else
   4420     CFLAGS="-g"
   4421   fi
   4422 else
   4423   if test "$GCC" = yes; then
   4424     CFLAGS="-O2"
   4425   else
   4426     CFLAGS=
   4427   fi
   4428 fi
   4429 ac_prog_cc_stdc=no
   4430 if test x$ac_prog_cc_stdc = xno
   4431 then :
   4432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4433 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4434 if test ${ac_cv_prog_cc_c11+y}
   4435 then :
   4436   printf %s "(cached) " >&6
   4437 else case e in #(
   4438   e) ac_cv_prog_cc_c11=no
   4439 ac_save_CC=$CC
   4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4441 /* end confdefs.h.  */
   4442 $ac_c_conftest_c11_program
   4443 _ACEOF
   4444 for ac_arg in '' -std=gnu11
   4445 do
   4446   CC="$ac_save_CC $ac_arg"
   4447   if ac_fn_c_try_compile "$LINENO"
   4448 then :
   4449   ac_cv_prog_cc_c11=$ac_arg
   4450 fi
   4451 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4452   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4453 done
   4454 rm -f conftest.$ac_ext
   4455 CC=$ac_save_CC ;;
   4456 esac
   4457 fi
   4458 
   4459 if test "x$ac_cv_prog_cc_c11" = xno
   4460 then :
   4461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4462 printf "%s\n" "unsupported" >&6; }
   4463 else case e in #(
   4464   e) if test "x$ac_cv_prog_cc_c11" = x
   4465 then :
   4466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4467 printf "%s\n" "none needed" >&6; }
   4468 else case e in #(
   4469   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4470 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4471      CC="$CC $ac_cv_prog_cc_c11" ;;
   4472 esac
   4473 fi
   4474   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4475   ac_prog_cc_stdc=c11 ;;
   4476 esac
   4477 fi
   4478 fi
   4479 if test x$ac_prog_cc_stdc = xno
   4480 then :
   4481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4482 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4483 if test ${ac_cv_prog_cc_c99+y}
   4484 then :
   4485   printf %s "(cached) " >&6
   4486 else case e in #(
   4487   e) ac_cv_prog_cc_c99=no
   4488 ac_save_CC=$CC
   4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4490 /* end confdefs.h.  */
   4491 $ac_c_conftest_c99_program
   4492 _ACEOF
   4493 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4494 do
   4495   CC="$ac_save_CC $ac_arg"
   4496   if ac_fn_c_try_compile "$LINENO"
   4497 then :
   4498   ac_cv_prog_cc_c99=$ac_arg
   4499 fi
   4500 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4501   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4502 done
   4503 rm -f conftest.$ac_ext
   4504 CC=$ac_save_CC ;;
   4505 esac
   4506 fi
   4507 
   4508 if test "x$ac_cv_prog_cc_c99" = xno
   4509 then :
   4510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4511 printf "%s\n" "unsupported" >&6; }
   4512 else case e in #(
   4513   e) if test "x$ac_cv_prog_cc_c99" = x
   4514 then :
   4515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4516 printf "%s\n" "none needed" >&6; }
   4517 else case e in #(
   4518   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4519 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4520      CC="$CC $ac_cv_prog_cc_c99" ;;
   4521 esac
   4522 fi
   4523   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4524   ac_prog_cc_stdc=c99 ;;
   4525 esac
   4526 fi
   4527 fi
   4528 if test x$ac_prog_cc_stdc = xno
   4529 then :
   4530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4531 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4532 if test ${ac_cv_prog_cc_c89+y}
   4533 then :
   4534   printf %s "(cached) " >&6
   4535 else case e in #(
   4536   e) ac_cv_prog_cc_c89=no
   4537 ac_save_CC=$CC
   4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4539 /* end confdefs.h.  */
   4540 $ac_c_conftest_c89_program
   4541 _ACEOF
   4542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4543 do
   4544   CC="$ac_save_CC $ac_arg"
   4545   if ac_fn_c_try_compile "$LINENO"
   4546 then :
   4547   ac_cv_prog_cc_c89=$ac_arg
   4548 fi
   4549 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4550   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4551 done
   4552 rm -f conftest.$ac_ext
   4553 CC=$ac_save_CC ;;
   4554 esac
   4555 fi
   4556 
   4557 if test "x$ac_cv_prog_cc_c89" = xno
   4558 then :
   4559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4560 printf "%s\n" "unsupported" >&6; }
   4561 else case e in #(
   4562   e) if test "x$ac_cv_prog_cc_c89" = x
   4563 then :
   4564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4565 printf "%s\n" "none needed" >&6; }
   4566 else case e in #(
   4567   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4568 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4569      CC="$CC $ac_cv_prog_cc_c89" ;;
   4570 esac
   4571 fi
   4572   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4573   ac_prog_cc_stdc=c89 ;;
   4574 esac
   4575 fi
   4576 fi
   4577 
   4578 ac_ext=c
   4579 ac_cpp='$CPP $CPPFLAGS'
   4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4583 
   4584 
   4585   ac_ext=c
   4586 ac_cpp='$CPP $CPPFLAGS'
   4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4591 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4592 if test ${am_cv_prog_cc_c_o+y}
   4593 then :
   4594   printf %s "(cached) " >&6
   4595 else case e in #(
   4596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4597 /* end confdefs.h.  */
   4598 
   4599 int
   4600 main (void)
   4601 {
   4602 
   4603   ;
   4604   return 0;
   4605 }
   4606 _ACEOF
   4607   # Make sure it works both with $CC and with simple cc.
   4608   # Following AC_PROG_CC_C_O, we do the test twice because some
   4609   # compilers refuse to overwrite an existing .o file with -o,
   4610   # though they will create one.
   4611   am_cv_prog_cc_c_o=yes
   4612   for am_i in 1 2; do
   4613     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4614    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4615    ac_status=$?
   4616    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4617    (exit $ac_status); } \
   4618          && test -f conftest2.$ac_objext; then
   4619       : OK
   4620     else
   4621       am_cv_prog_cc_c_o=no
   4622       break
   4623     fi
   4624   done
   4625   # aligned with autoconf, so not including core; see bug#72225.
   4626   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4627     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4628     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4629   unset am_i ;;
   4630 esac
   4631 fi
   4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4633 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4634 if test "$am_cv_prog_cc_c_o" != yes; then
   4635    # Losing compiler, so override with the script.
   4636    # FIXME: It is wrong to rewrite CC.
   4637    # But if we don't then we get into trouble of one sort or another.
   4638    # A longer-term fix would be to have automake use am__CC in this case,
   4639    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4640    CC="$am_aux_dir/compile $CC"
   4641 fi
   4642 ac_ext=c
   4643 ac_cpp='$CPP $CPPFLAGS'
   4644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4647 
   4648 
   4649 depcc="$CC"   am_compiler_list=
   4650 
   4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4652 printf %s "checking dependency style of $depcc... " >&6; }
   4653 if test ${am_cv_CC_dependencies_compiler_type+y}
   4654 then :
   4655   printf %s "(cached) " >&6
   4656 else case e in #(
   4657   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4658   # We make a subdir and do the tests there.  Otherwise we can end up
   4659   # making bogus files that we don't know about and never remove.  For
   4660   # instance it was reported that on HP-UX the gcc test will end up
   4661   # making a dummy file named 'D' -- because '-MD' means "put the output
   4662   # in D".
   4663   rm -rf conftest.dir
   4664   mkdir conftest.dir
   4665   # Copy depcomp to subdir because otherwise we won't find it if we're
   4666   # using a relative directory.
   4667   cp "$am_depcomp" conftest.dir
   4668   cd conftest.dir
   4669   # We will build objects and dependencies in a subdirectory because
   4670   # it helps to detect inapplicable dependency modes.  For instance
   4671   # both Tru64's cc and ICC support -MD to output dependencies as a
   4672   # side effect of compilation, but ICC will put the dependencies in
   4673   # the current directory while Tru64 will put them in the object
   4674   # directory.
   4675   mkdir sub
   4676 
   4677   am_cv_CC_dependencies_compiler_type=none
   4678   if test "$am_compiler_list" = ""; then
   4679      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4680   fi
   4681   am__universal=false
   4682   case " $depcc " in #(
   4683      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4684      esac
   4685 
   4686   for depmode in $am_compiler_list; do
   4687     # Setup a source with many dependencies, because some compilers
   4688     # like to wrap large dependency lists on column 80 (with \), and
   4689     # we should not choose a depcomp mode which is confused by this.
   4690     #
   4691     # We need to recreate these files for each test, as the compiler may
   4692     # overwrite some of them when testing with obscure command lines.
   4693     # This happens at least with the AIX C compiler.
   4694     : > sub/conftest.c
   4695     for i in 1 2 3 4 5 6; do
   4696       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4697       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4698       # Solaris 10 /bin/sh.
   4699       echo '/* dummy */' > sub/conftst$i.h
   4700     done
   4701     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4702 
   4703     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4704     # mode.  It turns out that the SunPro C++ compiler does not properly
   4705     # handle '-M -o', and we need to detect this.  Also, some Intel
   4706     # versions had trouble with output in subdirs.
   4707     am__obj=sub/conftest.${OBJEXT-o}
   4708     am__minus_obj="-o $am__obj"
   4709     case $depmode in
   4710     gcc)
   4711       # This depmode causes a compiler race in universal mode.
   4712       test "$am__universal" = false || continue
   4713       ;;
   4714     nosideeffect)
   4715       # After this tag, mechanisms are not by side-effect, so they'll
   4716       # only be used when explicitly requested.
   4717       if test "x$enable_dependency_tracking" = xyes; then
   4718 	continue
   4719       else
   4720 	break
   4721       fi
   4722       ;;
   4723     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4724       # This compiler won't grok '-c -o', but also, the minuso test has
   4725       # not run yet.  These depmodes are late enough in the game, and
   4726       # so weak that their functioning should not be impacted.
   4727       am__obj=conftest.${OBJEXT-o}
   4728       am__minus_obj=
   4729       ;;
   4730     none) break ;;
   4731     esac
   4732     if depmode=$depmode \
   4733        source=sub/conftest.c object=$am__obj \
   4734        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4735        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4736          >/dev/null 2>conftest.err &&
   4737        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4738        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4739        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4740        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4741       # icc doesn't choke on unknown options, it will just issue warnings
   4742       # or remarks (even with -Werror).  So we grep stderr for any message
   4743       # that says an option was ignored or not supported.
   4744       # When given -MP, icc 7.0 and 7.1 complain thus:
   4745       #   icc: Command line warning: ignoring option '-M'; no argument required
   4746       # The diagnosis changed in icc 8.0:
   4747       #   icc: Command line remark: option '-MP' not supported
   4748       if (grep 'ignoring option' conftest.err ||
   4749           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4750         am_cv_CC_dependencies_compiler_type=$depmode
   4751         break
   4752       fi
   4753     fi
   4754   done
   4755 
   4756   cd ..
   4757   rm -rf conftest.dir
   4758 else
   4759   am_cv_CC_dependencies_compiler_type=none
   4760 fi
   4761  ;;
   4762 esac
   4763 fi
   4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4765 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4766 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4767 
   4768  if
   4769   test "x$enable_dependency_tracking" != xno \
   4770   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4771   am__fastdepCC_TRUE=
   4772   am__fastdepCC_FALSE='#'
   4773 else
   4774   am__fastdepCC_TRUE='#'
   4775   am__fastdepCC_FALSE=
   4776 fi
   4777 
   4778 
   4779 
   4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4781 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4782 if test ${ac_cv_c_undeclared_builtin_options+y}
   4783 then :
   4784   printf %s "(cached) " >&6
   4785 else case e in #(
   4786   e) ac_save_CFLAGS=$CFLAGS
   4787    ac_cv_c_undeclared_builtin_options='cannot detect'
   4788    for ac_arg in '' -fno-builtin; do
   4789      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4790      # This test program should *not* compile successfully.
   4791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 
   4794 int
   4795 main (void)
   4796 {
   4797 (void) strchr;
   4798   ;
   4799   return 0;
   4800 }
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"
   4803 then :
   4804 
   4805 else case e in #(
   4806   e) # This test program should compile successfully.
   4807         # No library function is consistently available on
   4808         # freestanding implementations, so test against a dummy
   4809         # declaration.  Include always-available headers on the
   4810         # off chance that they somehow elicit warnings.
   4811         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 #include <float.h>
   4814 #include <limits.h>
   4815 #include <stdarg.h>
   4816 #include <stddef.h>
   4817 extern void ac_decl (int, char *);
   4818 
   4819 int
   4820 main (void)
   4821 {
   4822 (void) ac_decl (0, (char *) 0);
   4823   (void) ac_decl;
   4824 
   4825   ;
   4826   return 0;
   4827 }
   4828 _ACEOF
   4829 if ac_fn_c_try_compile "$LINENO"
   4830 then :
   4831   if test x"$ac_arg" = x
   4832 then :
   4833   ac_cv_c_undeclared_builtin_options='none needed'
   4834 else case e in #(
   4835   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4836 esac
   4837 fi
   4838           break
   4839 fi
   4840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4841 esac
   4842 fi
   4843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4844     done
   4845     CFLAGS=$ac_save_CFLAGS
   4846    ;;
   4847 esac
   4848 fi
   4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4850 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4851   case $ac_cv_c_undeclared_builtin_options in #(
   4852   'cannot detect') :
   4853     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4854 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4855 as_fn_error $? "cannot make $CC report undeclared builtins
   4856 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4857   'none needed') :
   4858     ac_c_undeclared_builtin_options='' ;; #(
   4859   *) :
   4860     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4861 esac
   4862 
   4863 ac_header= ac_cache=
   4864 for ac_item in $ac_header_c_list
   4865 do
   4866   if test $ac_cache; then
   4867     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4868     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4869       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4870     fi
   4871     ac_header= ac_cache=
   4872   elif test $ac_header; then
   4873     ac_cache=$ac_item
   4874   else
   4875     ac_header=$ac_item
   4876   fi
   4877 done
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4887 then :
   4888 
   4889 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4890 
   4891 fi
   4892 
   4893 
   4894 
   4895 
   4896 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4897 if test "x$ac_cv_have_decl___clang__" = xyes
   4898 then :
   4899   CLANGCC="yes"
   4900 else case e in #(
   4901   e) CLANGCC="no" ;;
   4902 esac
   4903 fi
   4904 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4905 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4906 then :
   4907   INTELCC="yes"
   4908 else case e in #(
   4909   e) INTELCC="no" ;;
   4910 esac
   4911 fi
   4912 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4913 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4914 then :
   4915   SUNCC="yes"
   4916 else case e in #(
   4917   e) SUNCC="no" ;;
   4918 esac
   4919 fi
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4929 	if test -n "$ac_tool_prefix"; then
   4930   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4931 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4933 printf %s "checking for $ac_word... " >&6; }
   4934 if test ${ac_cv_path_PKG_CONFIG+y}
   4935 then :
   4936   printf %s "(cached) " >&6
   4937 else case e in #(
   4938   e) case $PKG_CONFIG in
   4939   [\\/]* | ?:[\\/]*)
   4940   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4941   ;;
   4942   *)
   4943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4944 for as_dir in $PATH
   4945 do
   4946   IFS=$as_save_IFS
   4947   case $as_dir in #(((
   4948     '') as_dir=./ ;;
   4949     */) ;;
   4950     *) as_dir=$as_dir/ ;;
   4951   esac
   4952     for ac_exec_ext in '' $ac_executable_extensions; do
   4953   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4954     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4955     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4956     break 2
   4957   fi
   4958 done
   4959   done
   4960 IFS=$as_save_IFS
   4961 
   4962   ;;
   4963 esac ;;
   4964 esac
   4965 fi
   4966 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4967 if test -n "$PKG_CONFIG"; then
   4968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4969 printf "%s\n" "$PKG_CONFIG" >&6; }
   4970 else
   4971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4972 printf "%s\n" "no" >&6; }
   4973 fi
   4974 
   4975 
   4976 fi
   4977 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4978   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4979   # Extract the first word of "pkg-config", so it can be a program name with args.
   4980 set dummy pkg-config; ac_word=$2
   4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4982 printf %s "checking for $ac_word... " >&6; }
   4983 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4984 then :
   4985   printf %s "(cached) " >&6
   4986 else case e in #(
   4987   e) case $ac_pt_PKG_CONFIG in
   4988   [\\/]* | ?:[\\/]*)
   4989   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4990   ;;
   4991   *)
   4992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4993 for as_dir in $PATH
   4994 do
   4995   IFS=$as_save_IFS
   4996   case $as_dir in #(((
   4997     '') as_dir=./ ;;
   4998     */) ;;
   4999     *) as_dir=$as_dir/ ;;
   5000   esac
   5001     for ac_exec_ext in '' $ac_executable_extensions; do
   5002   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5003     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5004     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5005     break 2
   5006   fi
   5007 done
   5008   done
   5009 IFS=$as_save_IFS
   5010 
   5011   ;;
   5012 esac ;;
   5013 esac
   5014 fi
   5015 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5016 if test -n "$ac_pt_PKG_CONFIG"; then
   5017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5018 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5019 else
   5020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5021 printf "%s\n" "no" >&6; }
   5022 fi
   5023 
   5024   if test "x$ac_pt_PKG_CONFIG" = x; then
   5025     PKG_CONFIG=""
   5026   else
   5027     case $cross_compiling:$ac_tool_warned in
   5028 yes:)
   5029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5030 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5031 ac_tool_warned=yes ;;
   5032 esac
   5033     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5034   fi
   5035 else
   5036   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5037 fi
   5038 
   5039 fi
   5040 if test -n "$PKG_CONFIG"; then
   5041 	_pkg_min_version=0.9.0
   5042 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5043 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5044 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5046 printf "%s\n" "yes" >&6; }
   5047 	else
   5048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5049 printf "%s\n" "no" >&6; }
   5050 		PKG_CONFIG=""
   5051 	fi
   5052 fi
   5053 
   5054 
   5055   # Make sure we can run config.sub.
   5056 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5057   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5058 
   5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5060 printf %s "checking build system type... " >&6; }
   5061 if test ${ac_cv_build+y}
   5062 then :
   5063   printf %s "(cached) " >&6
   5064 else case e in #(
   5065   e) ac_build_alias=$build_alias
   5066 test "x$ac_build_alias" = x &&
   5067   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5068 test "x$ac_build_alias" = x &&
   5069   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5070 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5071   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5072  ;;
   5073 esac
   5074 fi
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5076 printf "%s\n" "$ac_cv_build" >&6; }
   5077 case $ac_cv_build in
   5078 *-*-*) ;;
   5079 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5080 esac
   5081 build=$ac_cv_build
   5082 ac_save_IFS=$IFS; IFS='-'
   5083 set x $ac_cv_build
   5084 shift
   5085 build_cpu=$1
   5086 build_vendor=$2
   5087 shift; shift
   5088 # Remember, the first character of IFS is used to create $*,
   5089 # except with old shells:
   5090 build_os=$*
   5091 IFS=$ac_save_IFS
   5092 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5093 
   5094 
   5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5096 printf %s "checking host system type... " >&6; }
   5097 if test ${ac_cv_host+y}
   5098 then :
   5099   printf %s "(cached) " >&6
   5100 else case e in #(
   5101   e) if test "x$host_alias" = x; then
   5102   ac_cv_host=$ac_cv_build
   5103 else
   5104   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5105     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5106 fi
   5107  ;;
   5108 esac
   5109 fi
   5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5111 printf "%s\n" "$ac_cv_host" >&6; }
   5112 case $ac_cv_host in
   5113 *-*-*) ;;
   5114 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5115 esac
   5116 host=$ac_cv_host
   5117 ac_save_IFS=$IFS; IFS='-'
   5118 set x $ac_cv_host
   5119 shift
   5120 host_cpu=$1
   5121 host_vendor=$2
   5122 shift; shift
   5123 # Remember, the first character of IFS is used to create $*,
   5124 # except with old shells:
   5125 host_os=$*
   5126 IFS=$ac_save_IFS
   5127 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5128 
   5129 
   5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5131 printf %s "checking for a sed that does not truncate output... " >&6; }
   5132 if test ${ac_cv_path_SED+y}
   5133 then :
   5134   printf %s "(cached) " >&6
   5135 else case e in #(
   5136   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5137      for ac_i in 1 2 3 4 5 6 7; do
   5138        ac_script="$ac_script$as_nl$ac_script"
   5139      done
   5140      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5141      { ac_script=; unset ac_script;}
   5142      if test -z "$SED"; then
   5143   ac_path_SED_found=false
   5144   # Loop through the user's path and test for each of PROGNAME-LIST
   5145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5146 for as_dir in $PATH
   5147 do
   5148   IFS=$as_save_IFS
   5149   case $as_dir in #(((
   5150     '') as_dir=./ ;;
   5151     */) ;;
   5152     *) as_dir=$as_dir/ ;;
   5153   esac
   5154     for ac_prog in sed gsed
   5155    do
   5156     for ac_exec_ext in '' $ac_executable_extensions; do
   5157       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5158       as_fn_executable_p "$ac_path_SED" || continue
   5159 # Check for GNU ac_path_SED and select it if it is found.
   5160   # Check for GNU $ac_path_SED
   5161 case `"$ac_path_SED" --version 2>&1` in #(
   5162 *GNU*)
   5163   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5164 #(
   5165 *)
   5166   ac_count=0
   5167   printf %s 0123456789 >"conftest.in"
   5168   while :
   5169   do
   5170     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5171     mv "conftest.tmp" "conftest.in"
   5172     cp "conftest.in" "conftest.nl"
   5173     printf "%s\n" '' >> "conftest.nl"
   5174     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5175     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5176     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5177     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5178       # Best one so far, save it but keep looking for a better one
   5179       ac_cv_path_SED="$ac_path_SED"
   5180       ac_path_SED_max=$ac_count
   5181     fi
   5182     # 10*(2^10) chars as input seems more than enough
   5183     test $ac_count -gt 10 && break
   5184   done
   5185   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5186 esac
   5187 
   5188       $ac_path_SED_found && break 3
   5189     done
   5190   done
   5191   done
   5192 IFS=$as_save_IFS
   5193   if test -z "$ac_cv_path_SED"; then
   5194     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5195   fi
   5196 else
   5197   ac_cv_path_SED=$SED
   5198 fi
   5199  ;;
   5200 esac
   5201 fi
   5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5203 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5204  SED="$ac_cv_path_SED"
   5205   rm -f conftest.sed
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 # Check whether --enable-selective-werror was given.
   5213 if test ${enable_selective_werror+y}
   5214 then :
   5215   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5216 else case e in #(
   5217   e) SELECTIVE_WERROR=yes ;;
   5218 esac
   5219 fi
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5226 if test "x$SUNCC" = "xyes"; then
   5227     BASE_CFLAGS="-v"
   5228 else
   5229     BASE_CFLAGS=""
   5230 fi
   5231 
   5232 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 xorg_testset_save_CFLAGS="$CFLAGS"
   5247 
   5248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5251 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5252 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5253 then :
   5254   printf %s "(cached) " >&6
   5255 else case e in #(
   5256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 int i;
   5259 _ACEOF
   5260 if ac_fn_c_try_compile "$LINENO"
   5261 then :
   5262   xorg_cv_cc_flag_unknown_warning_option=yes
   5263 else case e in #(
   5264   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5265 esac
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5268 esac
   5269 fi
   5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5273 	CFLAGS="$xorg_testset_save_CFLAGS"
   5274 fi
   5275 
   5276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5279 	fi
   5280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5284 then :
   5285   printf %s "(cached) " >&6
   5286 else case e in #(
   5287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5288 /* end confdefs.h.  */
   5289 int i;
   5290 _ACEOF
   5291 if ac_fn_c_try_compile "$LINENO"
   5292 then :
   5293   xorg_cv_cc_flag_unused_command_line_argument=yes
   5294 else case e in #(
   5295   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5296 esac
   5297 fi
   5298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5299 esac
   5300 fi
   5301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5302 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5304 	CFLAGS="$xorg_testset_save_CFLAGS"
   5305 fi
   5306 
   5307 found="no"
   5308 
   5309 	if test $found = "no" ; then
   5310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5312 		fi
   5313 
   5314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5316 		fi
   5317 
   5318 		CFLAGS="$CFLAGS -Wall"
   5319 
   5320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5321 printf %s "checking if $CC supports -Wall... " >&6; }
   5322 		cacheid=xorg_cv_cc_flag__Wall
   5323 		if eval test \${$cacheid+y}
   5324 then :
   5325   printf %s "(cached) " >&6
   5326 else case e in #(
   5327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5328 /* end confdefs.h.  */
   5329 int i;
   5330 int
   5331 main (void)
   5332 {
   5333 
   5334   ;
   5335   return 0;
   5336 }
   5337 _ACEOF
   5338 if ac_fn_c_try_link "$LINENO"
   5339 then :
   5340   eval $cacheid=yes
   5341 else case e in #(
   5342   e) eval $cacheid=no ;;
   5343 esac
   5344 fi
   5345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5346     conftest$ac_exeext conftest.$ac_ext ;;
   5347 esac
   5348 fi
   5349 
   5350 
   5351 		CFLAGS="$xorg_testset_save_CFLAGS"
   5352 
   5353 		eval supported=\$$cacheid
   5354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5355 printf "%s\n" "$supported" >&6; }
   5356 		if test "$supported" = "yes" ; then
   5357 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5358 			found="yes"
   5359 		fi
   5360 	fi
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 xorg_testset_save_CFLAGS="$CFLAGS"
   5377 
   5378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5383 then :
   5384   printf %s "(cached) " >&6
   5385 else case e in #(
   5386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 int i;
   5389 _ACEOF
   5390 if ac_fn_c_try_compile "$LINENO"
   5391 then :
   5392   xorg_cv_cc_flag_unknown_warning_option=yes
   5393 else case e in #(
   5394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5395 esac
   5396 fi
   5397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5398 esac
   5399 fi
   5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5403 	CFLAGS="$xorg_testset_save_CFLAGS"
   5404 fi
   5405 
   5406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 	fi
   5410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5414 then :
   5415   printf %s "(cached) " >&6
   5416 else case e in #(
   5417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5418 /* end confdefs.h.  */
   5419 int i;
   5420 _ACEOF
   5421 if ac_fn_c_try_compile "$LINENO"
   5422 then :
   5423   xorg_cv_cc_flag_unused_command_line_argument=yes
   5424 else case e in #(
   5425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5426 esac
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5429 esac
   5430 fi
   5431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5434 	CFLAGS="$xorg_testset_save_CFLAGS"
   5435 fi
   5436 
   5437 found="no"
   5438 
   5439 	if test $found = "no" ; then
   5440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5442 		fi
   5443 
   5444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5446 		fi
   5447 
   5448 		CFLAGS="$CFLAGS -Wpointer-arith"
   5449 
   5450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5451 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5452 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5453 		if eval test \${$cacheid+y}
   5454 then :
   5455   printf %s "(cached) " >&6
   5456 else case e in #(
   5457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5458 /* end confdefs.h.  */
   5459 int i;
   5460 int
   5461 main (void)
   5462 {
   5463 
   5464   ;
   5465   return 0;
   5466 }
   5467 _ACEOF
   5468 if ac_fn_c_try_link "$LINENO"
   5469 then :
   5470   eval $cacheid=yes
   5471 else case e in #(
   5472   e) eval $cacheid=no ;;
   5473 esac
   5474 fi
   5475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5476     conftest$ac_exeext conftest.$ac_ext ;;
   5477 esac
   5478 fi
   5479 
   5480 
   5481 		CFLAGS="$xorg_testset_save_CFLAGS"
   5482 
   5483 		eval supported=\$$cacheid
   5484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5485 printf "%s\n" "$supported" >&6; }
   5486 		if test "$supported" = "yes" ; then
   5487 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5488 			found="yes"
   5489 		fi
   5490 	fi
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 xorg_testset_save_CFLAGS="$CFLAGS"
   5507 
   5508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5513 then :
   5514   printf %s "(cached) " >&6
   5515 else case e in #(
   5516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 _ACEOF
   5520 if ac_fn_c_try_compile "$LINENO"
   5521 then :
   5522   xorg_cv_cc_flag_unknown_warning_option=yes
   5523 else case e in #(
   5524   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5525 esac
   5526 fi
   5527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5528 esac
   5529 fi
   5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5531 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5533 	CFLAGS="$xorg_testset_save_CFLAGS"
   5534 fi
   5535 
   5536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5539 	fi
   5540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5542 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5543 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5544 then :
   5545   printf %s "(cached) " >&6
   5546 else case e in #(
   5547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5548 /* end confdefs.h.  */
   5549 int i;
   5550 _ACEOF
   5551 if ac_fn_c_try_compile "$LINENO"
   5552 then :
   5553   xorg_cv_cc_flag_unused_command_line_argument=yes
   5554 else case e in #(
   5555   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5556 esac
   5557 fi
   5558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5559 esac
   5560 fi
   5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 found="no"
   5568 
   5569 	if test $found = "no" ; then
   5570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 		fi
   5573 
   5574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 		fi
   5577 
   5578 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5579 
   5580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5581 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5582 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5583 		if eval test \${$cacheid+y}
   5584 then :
   5585   printf %s "(cached) " >&6
   5586 else case e in #(
   5587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5588 /* end confdefs.h.  */
   5589 int i;
   5590 int
   5591 main (void)
   5592 {
   5593 
   5594   ;
   5595   return 0;
   5596 }
   5597 _ACEOF
   5598 if ac_fn_c_try_link "$LINENO"
   5599 then :
   5600   eval $cacheid=yes
   5601 else case e in #(
   5602   e) eval $cacheid=no ;;
   5603 esac
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5606     conftest$ac_exeext conftest.$ac_ext ;;
   5607 esac
   5608 fi
   5609 
   5610 
   5611 		CFLAGS="$xorg_testset_save_CFLAGS"
   5612 
   5613 		eval supported=\$$cacheid
   5614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5615 printf "%s\n" "$supported" >&6; }
   5616 		if test "$supported" = "yes" ; then
   5617 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5618 			found="yes"
   5619 		fi
   5620 	fi
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 xorg_testset_save_CFLAGS="$CFLAGS"
   5637 
   5638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5643 then :
   5644   printf %s "(cached) " >&6
   5645 else case e in #(
   5646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5647 /* end confdefs.h.  */
   5648 int i;
   5649 _ACEOF
   5650 if ac_fn_c_try_compile "$LINENO"
   5651 then :
   5652   xorg_cv_cc_flag_unknown_warning_option=yes
   5653 else case e in #(
   5654   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5655 esac
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5658 esac
   5659 fi
   5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5663 	CFLAGS="$xorg_testset_save_CFLAGS"
   5664 fi
   5665 
   5666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5669 	fi
   5670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5674 then :
   5675   printf %s "(cached) " >&6
   5676 else case e in #(
   5677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 _ACEOF
   5681 if ac_fn_c_try_compile "$LINENO"
   5682 then :
   5683   xorg_cv_cc_flag_unused_command_line_argument=yes
   5684 else case e in #(
   5685   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5686 esac
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5689 esac
   5690 fi
   5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5694 	CFLAGS="$xorg_testset_save_CFLAGS"
   5695 fi
   5696 
   5697 found="no"
   5698 
   5699 	if test $found = "no" ; then
   5700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5702 		fi
   5703 
   5704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5706 		fi
   5707 
   5708 		CFLAGS="$CFLAGS -Wformat=2"
   5709 
   5710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5711 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5712 		cacheid=xorg_cv_cc_flag__Wformat_2
   5713 		if eval test \${$cacheid+y}
   5714 then :
   5715   printf %s "(cached) " >&6
   5716 else case e in #(
   5717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 int
   5721 main (void)
   5722 {
   5723 
   5724   ;
   5725   return 0;
   5726 }
   5727 _ACEOF
   5728 if ac_fn_c_try_link "$LINENO"
   5729 then :
   5730   eval $cacheid=yes
   5731 else case e in #(
   5732   e) eval $cacheid=no ;;
   5733 esac
   5734 fi
   5735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5736     conftest$ac_exeext conftest.$ac_ext ;;
   5737 esac
   5738 fi
   5739 
   5740 
   5741 		CFLAGS="$xorg_testset_save_CFLAGS"
   5742 
   5743 		eval supported=\$$cacheid
   5744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5745 printf "%s\n" "$supported" >&6; }
   5746 		if test "$supported" = "yes" ; then
   5747 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5748 			found="yes"
   5749 		fi
   5750 	fi
   5751 
   5752 	if test $found = "no" ; then
   5753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5755 		fi
   5756 
   5757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5759 		fi
   5760 
   5761 		CFLAGS="$CFLAGS -Wformat"
   5762 
   5763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5764 printf %s "checking if $CC supports -Wformat... " >&6; }
   5765 		cacheid=xorg_cv_cc_flag__Wformat
   5766 		if eval test \${$cacheid+y}
   5767 then :
   5768   printf %s "(cached) " >&6
   5769 else case e in #(
   5770   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 int
   5774 main (void)
   5775 {
   5776 
   5777   ;
   5778   return 0;
   5779 }
   5780 _ACEOF
   5781 if ac_fn_c_try_link "$LINENO"
   5782 then :
   5783   eval $cacheid=yes
   5784 else case e in #(
   5785   e) eval $cacheid=no ;;
   5786 esac
   5787 fi
   5788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5789     conftest$ac_exeext conftest.$ac_ext ;;
   5790 esac
   5791 fi
   5792 
   5793 
   5794 		CFLAGS="$xorg_testset_save_CFLAGS"
   5795 
   5796 		eval supported=\$$cacheid
   5797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5798 printf "%s\n" "$supported" >&6; }
   5799 		if test "$supported" = "yes" ; then
   5800 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5801 			found="yes"
   5802 		fi
   5803 	fi
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 xorg_testset_save_CFLAGS="$CFLAGS"
   5822 
   5823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5828 then :
   5829   printf %s "(cached) " >&6
   5830 else case e in #(
   5831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5832 /* end confdefs.h.  */
   5833 int i;
   5834 _ACEOF
   5835 if ac_fn_c_try_compile "$LINENO"
   5836 then :
   5837   xorg_cv_cc_flag_unknown_warning_option=yes
   5838 else case e in #(
   5839   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5840 esac
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5843 esac
   5844 fi
   5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5846 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5848 	CFLAGS="$xorg_testset_save_CFLAGS"
   5849 fi
   5850 
   5851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5854 	fi
   5855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5857 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5858 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5859 then :
   5860   printf %s "(cached) " >&6
   5861 else case e in #(
   5862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 _ACEOF
   5866 if ac_fn_c_try_compile "$LINENO"
   5867 then :
   5868   xorg_cv_cc_flag_unused_command_line_argument=yes
   5869 else case e in #(
   5870   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5871 esac
   5872 fi
   5873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5874 esac
   5875 fi
   5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5877 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5879 	CFLAGS="$xorg_testset_save_CFLAGS"
   5880 fi
   5881 
   5882 found="no"
   5883 
   5884 	if test $found = "no" ; then
   5885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5887 		fi
   5888 
   5889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5891 		fi
   5892 
   5893 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5894 
   5895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5896 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5897 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5898 		if eval test \${$cacheid+y}
   5899 then :
   5900   printf %s "(cached) " >&6
   5901 else case e in #(
   5902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5903 /* end confdefs.h.  */
   5904 int i;
   5905 int
   5906 main (void)
   5907 {
   5908 
   5909   ;
   5910   return 0;
   5911 }
   5912 _ACEOF
   5913 if ac_fn_c_try_link "$LINENO"
   5914 then :
   5915   eval $cacheid=yes
   5916 else case e in #(
   5917   e) eval $cacheid=no ;;
   5918 esac
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5921     conftest$ac_exeext conftest.$ac_ext ;;
   5922 esac
   5923 fi
   5924 
   5925 
   5926 		CFLAGS="$xorg_testset_save_CFLAGS"
   5927 
   5928 		eval supported=\$$cacheid
   5929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5930 printf "%s\n" "$supported" >&6; }
   5931 		if test "$supported" = "yes" ; then
   5932 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5933 			found="yes"
   5934 		fi
   5935 	fi
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 xorg_testset_save_CFLAGS="$CFLAGS"
   5952 
   5953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5956 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5957 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5958 then :
   5959   printf %s "(cached) " >&6
   5960 else case e in #(
   5961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5962 /* end confdefs.h.  */
   5963 int i;
   5964 _ACEOF
   5965 if ac_fn_c_try_compile "$LINENO"
   5966 then :
   5967   xorg_cv_cc_flag_unknown_warning_option=yes
   5968 else case e in #(
   5969   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5970 esac
   5971 fi
   5972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5973 esac
   5974 fi
   5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5976 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5978 	CFLAGS="$xorg_testset_save_CFLAGS"
   5979 fi
   5980 
   5981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5984 	fi
   5985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5987 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5988 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5989 then :
   5990   printf %s "(cached) " >&6
   5991 else case e in #(
   5992   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5993 /* end confdefs.h.  */
   5994 int i;
   5995 _ACEOF
   5996 if ac_fn_c_try_compile "$LINENO"
   5997 then :
   5998   xorg_cv_cc_flag_unused_command_line_argument=yes
   5999 else case e in #(
   6000   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6001 esac
   6002 fi
   6003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6004 esac
   6005 fi
   6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6007 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6009 	CFLAGS="$xorg_testset_save_CFLAGS"
   6010 fi
   6011 
   6012 found="no"
   6013 
   6014 	if test $found = "no" ; then
   6015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6017 		fi
   6018 
   6019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6021 		fi
   6022 
   6023 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6024 
   6025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6026 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6027 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6028 		if eval test \${$cacheid+y}
   6029 then :
   6030   printf %s "(cached) " >&6
   6031 else case e in #(
   6032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6033 /* end confdefs.h.  */
   6034 int i;
   6035 int
   6036 main (void)
   6037 {
   6038 
   6039   ;
   6040   return 0;
   6041 }
   6042 _ACEOF
   6043 if ac_fn_c_try_link "$LINENO"
   6044 then :
   6045   eval $cacheid=yes
   6046 else case e in #(
   6047   e) eval $cacheid=no ;;
   6048 esac
   6049 fi
   6050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6051     conftest$ac_exeext conftest.$ac_ext ;;
   6052 esac
   6053 fi
   6054 
   6055 
   6056 		CFLAGS="$xorg_testset_save_CFLAGS"
   6057 
   6058 		eval supported=\$$cacheid
   6059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6060 printf "%s\n" "$supported" >&6; }
   6061 		if test "$supported" = "yes" ; then
   6062 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6063 			found="yes"
   6064 		fi
   6065 	fi
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 xorg_testset_save_CFLAGS="$CFLAGS"
   6082 
   6083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6086 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6087 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6088 then :
   6089   printf %s "(cached) " >&6
   6090 else case e in #(
   6091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 _ACEOF
   6095 if ac_fn_c_try_compile "$LINENO"
   6096 then :
   6097   xorg_cv_cc_flag_unknown_warning_option=yes
   6098 else case e in #(
   6099   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6100 esac
   6101 fi
   6102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6103 esac
   6104 fi
   6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6106 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6108 	CFLAGS="$xorg_testset_save_CFLAGS"
   6109 fi
   6110 
   6111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 	fi
   6115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6117 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6118 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6119 then :
   6120   printf %s "(cached) " >&6
   6121 else case e in #(
   6122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6123 /* end confdefs.h.  */
   6124 int i;
   6125 _ACEOF
   6126 if ac_fn_c_try_compile "$LINENO"
   6127 then :
   6128   xorg_cv_cc_flag_unused_command_line_argument=yes
   6129 else case e in #(
   6130   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6131 esac
   6132 fi
   6133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6134 esac
   6135 fi
   6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6137 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6139 	CFLAGS="$xorg_testset_save_CFLAGS"
   6140 fi
   6141 
   6142 found="no"
   6143 
   6144 	if test $found = "no" ; then
   6145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6147 		fi
   6148 
   6149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6151 		fi
   6152 
   6153 		CFLAGS="$CFLAGS -Wnested-externs"
   6154 
   6155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6156 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6157 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6158 		if eval test \${$cacheid+y}
   6159 then :
   6160   printf %s "(cached) " >&6
   6161 else case e in #(
   6162   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6163 /* end confdefs.h.  */
   6164 int i;
   6165 int
   6166 main (void)
   6167 {
   6168 
   6169   ;
   6170   return 0;
   6171 }
   6172 _ACEOF
   6173 if ac_fn_c_try_link "$LINENO"
   6174 then :
   6175   eval $cacheid=yes
   6176 else case e in #(
   6177   e) eval $cacheid=no ;;
   6178 esac
   6179 fi
   6180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6181     conftest$ac_exeext conftest.$ac_ext ;;
   6182 esac
   6183 fi
   6184 
   6185 
   6186 		CFLAGS="$xorg_testset_save_CFLAGS"
   6187 
   6188 		eval supported=\$$cacheid
   6189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6190 printf "%s\n" "$supported" >&6; }
   6191 		if test "$supported" = "yes" ; then
   6192 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6193 			found="yes"
   6194 		fi
   6195 	fi
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 xorg_testset_save_CFLAGS="$CFLAGS"
   6212 
   6213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6218 then :
   6219   printf %s "(cached) " >&6
   6220 else case e in #(
   6221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6222 /* end confdefs.h.  */
   6223 int i;
   6224 _ACEOF
   6225 if ac_fn_c_try_compile "$LINENO"
   6226 then :
   6227   xorg_cv_cc_flag_unknown_warning_option=yes
   6228 else case e in #(
   6229   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6230 esac
   6231 fi
   6232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6233 esac
   6234 fi
   6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6238 	CFLAGS="$xorg_testset_save_CFLAGS"
   6239 fi
   6240 
   6241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6244 	fi
   6245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6249 then :
   6250   printf %s "(cached) " >&6
   6251 else case e in #(
   6252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 _ACEOF
   6256 if ac_fn_c_try_compile "$LINENO"
   6257 then :
   6258   xorg_cv_cc_flag_unused_command_line_argument=yes
   6259 else case e in #(
   6260   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6261 esac
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6264 esac
   6265 fi
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6267 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 found="no"
   6273 
   6274 	if test $found = "no" ; then
   6275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6277 		fi
   6278 
   6279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6281 		fi
   6282 
   6283 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6284 
   6285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6286 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6287 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6288 		if eval test \${$cacheid+y}
   6289 then :
   6290   printf %s "(cached) " >&6
   6291 else case e in #(
   6292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6293 /* end confdefs.h.  */
   6294 int i;
   6295 int
   6296 main (void)
   6297 {
   6298 
   6299   ;
   6300   return 0;
   6301 }
   6302 _ACEOF
   6303 if ac_fn_c_try_link "$LINENO"
   6304 then :
   6305   eval $cacheid=yes
   6306 else case e in #(
   6307   e) eval $cacheid=no ;;
   6308 esac
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6311     conftest$ac_exeext conftest.$ac_ext ;;
   6312 esac
   6313 fi
   6314 
   6315 
   6316 		CFLAGS="$xorg_testset_save_CFLAGS"
   6317 
   6318 		eval supported=\$$cacheid
   6319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6320 printf "%s\n" "$supported" >&6; }
   6321 		if test "$supported" = "yes" ; then
   6322 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6323 			found="yes"
   6324 		fi
   6325 	fi
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 xorg_testset_save_CFLAGS="$CFLAGS"
   6342 
   6343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6348 then :
   6349   printf %s "(cached) " >&6
   6350 else case e in #(
   6351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 _ACEOF
   6355 if ac_fn_c_try_compile "$LINENO"
   6356 then :
   6357   xorg_cv_cc_flag_unknown_warning_option=yes
   6358 else case e in #(
   6359   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6360 esac
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6363 esac
   6364 fi
   6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6366 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6368 	CFLAGS="$xorg_testset_save_CFLAGS"
   6369 fi
   6370 
   6371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6374 	fi
   6375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6377 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6378 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6379 then :
   6380   printf %s "(cached) " >&6
   6381 else case e in #(
   6382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6383 /* end confdefs.h.  */
   6384 int i;
   6385 _ACEOF
   6386 if ac_fn_c_try_compile "$LINENO"
   6387 then :
   6388   xorg_cv_cc_flag_unused_command_line_argument=yes
   6389 else case e in #(
   6390   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6391 esac
   6392 fi
   6393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6394 esac
   6395 fi
   6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6397 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6399 	CFLAGS="$xorg_testset_save_CFLAGS"
   6400 fi
   6401 
   6402 found="no"
   6403 
   6404 	if test $found = "no" ; then
   6405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6407 		fi
   6408 
   6409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6411 		fi
   6412 
   6413 		CFLAGS="$CFLAGS -Wold-style-definition"
   6414 
   6415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6416 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6417 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6418 		if eval test \${$cacheid+y}
   6419 then :
   6420   printf %s "(cached) " >&6
   6421 else case e in #(
   6422   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6423 /* end confdefs.h.  */
   6424 int i;
   6425 int
   6426 main (void)
   6427 {
   6428 
   6429   ;
   6430   return 0;
   6431 }
   6432 _ACEOF
   6433 if ac_fn_c_try_link "$LINENO"
   6434 then :
   6435   eval $cacheid=yes
   6436 else case e in #(
   6437   e) eval $cacheid=no ;;
   6438 esac
   6439 fi
   6440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6441     conftest$ac_exeext conftest.$ac_ext ;;
   6442 esac
   6443 fi
   6444 
   6445 
   6446 		CFLAGS="$xorg_testset_save_CFLAGS"
   6447 
   6448 		eval supported=\$$cacheid
   6449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6450 printf "%s\n" "$supported" >&6; }
   6451 		if test "$supported" = "yes" ; then
   6452 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6453 			found="yes"
   6454 		fi
   6455 	fi
   6456 
   6457 	if test $found = "no" ; then
   6458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6460 		fi
   6461 
   6462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6464 		fi
   6465 
   6466 		CFLAGS="$CFLAGS -fd"
   6467 
   6468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6469 printf %s "checking if $CC supports -fd... " >&6; }
   6470 		cacheid=xorg_cv_cc_flag__fd
   6471 		if eval test \${$cacheid+y}
   6472 then :
   6473   printf %s "(cached) " >&6
   6474 else case e in #(
   6475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6476 /* end confdefs.h.  */
   6477 int i;
   6478 int
   6479 main (void)
   6480 {
   6481 
   6482   ;
   6483   return 0;
   6484 }
   6485 _ACEOF
   6486 if ac_fn_c_try_link "$LINENO"
   6487 then :
   6488   eval $cacheid=yes
   6489 else case e in #(
   6490   e) eval $cacheid=no ;;
   6491 esac
   6492 fi
   6493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6494     conftest$ac_exeext conftest.$ac_ext ;;
   6495 esac
   6496 fi
   6497 
   6498 
   6499 		CFLAGS="$xorg_testset_save_CFLAGS"
   6500 
   6501 		eval supported=\$$cacheid
   6502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6503 printf "%s\n" "$supported" >&6; }
   6504 		if test "$supported" = "yes" ; then
   6505 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6506 			found="yes"
   6507 		fi
   6508 	fi
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 # This chunk adds additional warnings that could catch undesired effects.
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 xorg_testset_save_CFLAGS="$CFLAGS"
   6529 
   6530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6533 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6534 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6535 then :
   6536   printf %s "(cached) " >&6
   6537 else case e in #(
   6538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6539 /* end confdefs.h.  */
   6540 int i;
   6541 _ACEOF
   6542 if ac_fn_c_try_compile "$LINENO"
   6543 then :
   6544   xorg_cv_cc_flag_unknown_warning_option=yes
   6545 else case e in #(
   6546   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6547 esac
   6548 fi
   6549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6550 esac
   6551 fi
   6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6553 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6555 	CFLAGS="$xorg_testset_save_CFLAGS"
   6556 fi
   6557 
   6558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6561 	fi
   6562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6563 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6564 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6565 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6566 then :
   6567   printf %s "(cached) " >&6
   6568 else case e in #(
   6569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6570 /* end confdefs.h.  */
   6571 int i;
   6572 _ACEOF
   6573 if ac_fn_c_try_compile "$LINENO"
   6574 then :
   6575   xorg_cv_cc_flag_unused_command_line_argument=yes
   6576 else case e in #(
   6577   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6578 esac
   6579 fi
   6580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6581 esac
   6582 fi
   6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6584 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6586 	CFLAGS="$xorg_testset_save_CFLAGS"
   6587 fi
   6588 
   6589 found="no"
   6590 
   6591 	if test $found = "no" ; then
   6592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 		fi
   6595 
   6596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6598 		fi
   6599 
   6600 		CFLAGS="$CFLAGS -Wunused"
   6601 
   6602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6603 printf %s "checking if $CC supports -Wunused... " >&6; }
   6604 		cacheid=xorg_cv_cc_flag__Wunused
   6605 		if eval test \${$cacheid+y}
   6606 then :
   6607   printf %s "(cached) " >&6
   6608 else case e in #(
   6609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 int
   6613 main (void)
   6614 {
   6615 
   6616   ;
   6617   return 0;
   6618 }
   6619 _ACEOF
   6620 if ac_fn_c_try_link "$LINENO"
   6621 then :
   6622   eval $cacheid=yes
   6623 else case e in #(
   6624   e) eval $cacheid=no ;;
   6625 esac
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6628     conftest$ac_exeext conftest.$ac_ext ;;
   6629 esac
   6630 fi
   6631 
   6632 
   6633 		CFLAGS="$xorg_testset_save_CFLAGS"
   6634 
   6635 		eval supported=\$$cacheid
   6636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6637 printf "%s\n" "$supported" >&6; }
   6638 		if test "$supported" = "yes" ; then
   6639 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6640 			found="yes"
   6641 		fi
   6642 	fi
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 xorg_testset_save_CFLAGS="$CFLAGS"
   6659 
   6660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6664 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6665 then :
   6666   printf %s "(cached) " >&6
   6667 else case e in #(
   6668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 _ACEOF
   6672 if ac_fn_c_try_compile "$LINENO"
   6673 then :
   6674   xorg_cv_cc_flag_unknown_warning_option=yes
   6675 else case e in #(
   6676   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6677 esac
   6678 fi
   6679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6680 esac
   6681 fi
   6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6683 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6685 	CFLAGS="$xorg_testset_save_CFLAGS"
   6686 fi
   6687 
   6688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 	fi
   6692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6696 then :
   6697   printf %s "(cached) " >&6
   6698 else case e in #(
   6699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6700 /* end confdefs.h.  */
   6701 int i;
   6702 _ACEOF
   6703 if ac_fn_c_try_compile "$LINENO"
   6704 then :
   6705   xorg_cv_cc_flag_unused_command_line_argument=yes
   6706 else case e in #(
   6707   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6708 esac
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6711 esac
   6712 fi
   6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6714 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6716 	CFLAGS="$xorg_testset_save_CFLAGS"
   6717 fi
   6718 
   6719 found="no"
   6720 
   6721 	if test $found = "no" ; then
   6722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6724 		fi
   6725 
   6726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6728 		fi
   6729 
   6730 		CFLAGS="$CFLAGS -Wuninitialized"
   6731 
   6732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6733 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6734 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6735 		if eval test \${$cacheid+y}
   6736 then :
   6737   printf %s "(cached) " >&6
   6738 else case e in #(
   6739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6740 /* end confdefs.h.  */
   6741 int i;
   6742 int
   6743 main (void)
   6744 {
   6745 
   6746   ;
   6747   return 0;
   6748 }
   6749 _ACEOF
   6750 if ac_fn_c_try_link "$LINENO"
   6751 then :
   6752   eval $cacheid=yes
   6753 else case e in #(
   6754   e) eval $cacheid=no ;;
   6755 esac
   6756 fi
   6757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6758     conftest$ac_exeext conftest.$ac_ext ;;
   6759 esac
   6760 fi
   6761 
   6762 
   6763 		CFLAGS="$xorg_testset_save_CFLAGS"
   6764 
   6765 		eval supported=\$$cacheid
   6766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6767 printf "%s\n" "$supported" >&6; }
   6768 		if test "$supported" = "yes" ; then
   6769 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6770 			found="yes"
   6771 		fi
   6772 	fi
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 xorg_testset_save_CFLAGS="$CFLAGS"
   6789 
   6790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6794 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6795 then :
   6796   printf %s "(cached) " >&6
   6797 else case e in #(
   6798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 int i;
   6801 _ACEOF
   6802 if ac_fn_c_try_compile "$LINENO"
   6803 then :
   6804   xorg_cv_cc_flag_unknown_warning_option=yes
   6805 else case e in #(
   6806   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6807 esac
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6810 esac
   6811 fi
   6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6815 	CFLAGS="$xorg_testset_save_CFLAGS"
   6816 fi
   6817 
   6818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6821 	fi
   6822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6826 then :
   6827   printf %s "(cached) " >&6
   6828 else case e in #(
   6829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6830 /* end confdefs.h.  */
   6831 int i;
   6832 _ACEOF
   6833 if ac_fn_c_try_compile "$LINENO"
   6834 then :
   6835   xorg_cv_cc_flag_unused_command_line_argument=yes
   6836 else case e in #(
   6837   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6838 esac
   6839 fi
   6840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6841 esac
   6842 fi
   6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6844 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6846 	CFLAGS="$xorg_testset_save_CFLAGS"
   6847 fi
   6848 
   6849 found="no"
   6850 
   6851 	if test $found = "no" ; then
   6852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6854 		fi
   6855 
   6856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6858 		fi
   6859 
   6860 		CFLAGS="$CFLAGS -Wshadow"
   6861 
   6862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6863 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6864 		cacheid=xorg_cv_cc_flag__Wshadow
   6865 		if eval test \${$cacheid+y}
   6866 then :
   6867   printf %s "(cached) " >&6
   6868 else case e in #(
   6869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6870 /* end confdefs.h.  */
   6871 int i;
   6872 int
   6873 main (void)
   6874 {
   6875 
   6876   ;
   6877   return 0;
   6878 }
   6879 _ACEOF
   6880 if ac_fn_c_try_link "$LINENO"
   6881 then :
   6882   eval $cacheid=yes
   6883 else case e in #(
   6884   e) eval $cacheid=no ;;
   6885 esac
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6888     conftest$ac_exeext conftest.$ac_ext ;;
   6889 esac
   6890 fi
   6891 
   6892 
   6893 		CFLAGS="$xorg_testset_save_CFLAGS"
   6894 
   6895 		eval supported=\$$cacheid
   6896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6897 printf "%s\n" "$supported" >&6; }
   6898 		if test "$supported" = "yes" ; then
   6899 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6900 			found="yes"
   6901 		fi
   6902 	fi
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 xorg_testset_save_CFLAGS="$CFLAGS"
   6919 
   6920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6924 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else case e in #(
   6928   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 _ACEOF
   6932 if ac_fn_c_try_compile "$LINENO"
   6933 then :
   6934   xorg_cv_cc_flag_unknown_warning_option=yes
   6935 else case e in #(
   6936   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6937 esac
   6938 fi
   6939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6940 esac
   6941 fi
   6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6945 	CFLAGS="$xorg_testset_save_CFLAGS"
   6946 fi
   6947 
   6948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 	fi
   6952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6956 then :
   6957   printf %s "(cached) " >&6
   6958 else case e in #(
   6959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 int i;
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"
   6964 then :
   6965   xorg_cv_cc_flag_unused_command_line_argument=yes
   6966 else case e in #(
   6967   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6968 esac
   6969 fi
   6970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6971 esac
   6972 fi
   6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6974 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6976 	CFLAGS="$xorg_testset_save_CFLAGS"
   6977 fi
   6978 
   6979 found="no"
   6980 
   6981 	if test $found = "no" ; then
   6982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6984 		fi
   6985 
   6986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6988 		fi
   6989 
   6990 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6991 
   6992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6993 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6994 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6995 		if eval test \${$cacheid+y}
   6996 then :
   6997   printf %s "(cached) " >&6
   6998 else case e in #(
   6999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7000 /* end confdefs.h.  */
   7001 int i;
   7002 int
   7003 main (void)
   7004 {
   7005 
   7006   ;
   7007   return 0;
   7008 }
   7009 _ACEOF
   7010 if ac_fn_c_try_link "$LINENO"
   7011 then :
   7012   eval $cacheid=yes
   7013 else case e in #(
   7014   e) eval $cacheid=no ;;
   7015 esac
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7018     conftest$ac_exeext conftest.$ac_ext ;;
   7019 esac
   7020 fi
   7021 
   7022 
   7023 		CFLAGS="$xorg_testset_save_CFLAGS"
   7024 
   7025 		eval supported=\$$cacheid
   7026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7027 printf "%s\n" "$supported" >&6; }
   7028 		if test "$supported" = "yes" ; then
   7029 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7030 			found="yes"
   7031 		fi
   7032 	fi
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 xorg_testset_save_CFLAGS="$CFLAGS"
   7049 
   7050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7053 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7054 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7055 then :
   7056   printf %s "(cached) " >&6
   7057 else case e in #(
   7058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7059 /* end confdefs.h.  */
   7060 int i;
   7061 _ACEOF
   7062 if ac_fn_c_try_compile "$LINENO"
   7063 then :
   7064   xorg_cv_cc_flag_unknown_warning_option=yes
   7065 else case e in #(
   7066   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7067 esac
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7070 esac
   7071 fi
   7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7073 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7075 	CFLAGS="$xorg_testset_save_CFLAGS"
   7076 fi
   7077 
   7078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 	fi
   7082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7086 then :
   7087   printf %s "(cached) " >&6
   7088 else case e in #(
   7089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7090 /* end confdefs.h.  */
   7091 int i;
   7092 _ACEOF
   7093 if ac_fn_c_try_compile "$LINENO"
   7094 then :
   7095   xorg_cv_cc_flag_unused_command_line_argument=yes
   7096 else case e in #(
   7097   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7098 esac
   7099 fi
   7100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7101 esac
   7102 fi
   7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7106 	CFLAGS="$xorg_testset_save_CFLAGS"
   7107 fi
   7108 
   7109 found="no"
   7110 
   7111 	if test $found = "no" ; then
   7112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7114 		fi
   7115 
   7116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7118 		fi
   7119 
   7120 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7121 
   7122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7123 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7124 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7125 		if eval test \${$cacheid+y}
   7126 then :
   7127   printf %s "(cached) " >&6
   7128 else case e in #(
   7129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130 /* end confdefs.h.  */
   7131 int i;
   7132 int
   7133 main (void)
   7134 {
   7135 
   7136   ;
   7137   return 0;
   7138 }
   7139 _ACEOF
   7140 if ac_fn_c_try_link "$LINENO"
   7141 then :
   7142   eval $cacheid=yes
   7143 else case e in #(
   7144   e) eval $cacheid=no ;;
   7145 esac
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7148     conftest$ac_exeext conftest.$ac_ext ;;
   7149 esac
   7150 fi
   7151 
   7152 
   7153 		CFLAGS="$xorg_testset_save_CFLAGS"
   7154 
   7155 		eval supported=\$$cacheid
   7156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7157 printf "%s\n" "$supported" >&6; }
   7158 		if test "$supported" = "yes" ; then
   7159 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7160 			found="yes"
   7161 		fi
   7162 	fi
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 xorg_testset_save_CFLAGS="$CFLAGS"
   7179 
   7180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7184 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7185 then :
   7186   printf %s "(cached) " >&6
   7187 else case e in #(
   7188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 int i;
   7191 _ACEOF
   7192 if ac_fn_c_try_compile "$LINENO"
   7193 then :
   7194   xorg_cv_cc_flag_unknown_warning_option=yes
   7195 else case e in #(
   7196   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7197 esac
   7198 fi
   7199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7200 esac
   7201 fi
   7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7205 	CFLAGS="$xorg_testset_save_CFLAGS"
   7206 fi
   7207 
   7208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7211 	fi
   7212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7216 then :
   7217   printf %s "(cached) " >&6
   7218 else case e in #(
   7219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 _ACEOF
   7223 if ac_fn_c_try_compile "$LINENO"
   7224 then :
   7225   xorg_cv_cc_flag_unused_command_line_argument=yes
   7226 else case e in #(
   7227   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7228 esac
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7231 esac
   7232 fi
   7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7234 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7236 	CFLAGS="$xorg_testset_save_CFLAGS"
   7237 fi
   7238 
   7239 found="no"
   7240 
   7241 	if test $found = "no" ; then
   7242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7244 		fi
   7245 
   7246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7248 		fi
   7249 
   7250 		CFLAGS="$CFLAGS -Wredundant-decls"
   7251 
   7252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7253 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7254 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7255 		if eval test \${$cacheid+y}
   7256 then :
   7257   printf %s "(cached) " >&6
   7258 else case e in #(
   7259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 int
   7263 main (void)
   7264 {
   7265 
   7266   ;
   7267   return 0;
   7268 }
   7269 _ACEOF
   7270 if ac_fn_c_try_link "$LINENO"
   7271 then :
   7272   eval $cacheid=yes
   7273 else case e in #(
   7274   e) eval $cacheid=no ;;
   7275 esac
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7278     conftest$ac_exeext conftest.$ac_ext ;;
   7279 esac
   7280 fi
   7281 
   7282 
   7283 		CFLAGS="$xorg_testset_save_CFLAGS"
   7284 
   7285 		eval supported=\$$cacheid
   7286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7287 printf "%s\n" "$supported" >&6; }
   7288 		if test "$supported" = "yes" ; then
   7289 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7290 			found="yes"
   7291 		fi
   7292 	fi
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 xorg_testset_save_CFLAGS="$CFLAGS"
   7309 
   7310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7314 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7315 then :
   7316   printf %s "(cached) " >&6
   7317 else case e in #(
   7318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7319 /* end confdefs.h.  */
   7320 int i;
   7321 _ACEOF
   7322 if ac_fn_c_try_compile "$LINENO"
   7323 then :
   7324   xorg_cv_cc_flag_unknown_warning_option=yes
   7325 else case e in #(
   7326   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7327 esac
   7328 fi
   7329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7330 esac
   7331 fi
   7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7333 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7335 	CFLAGS="$xorg_testset_save_CFLAGS"
   7336 fi
   7337 
   7338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7341 	fi
   7342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7346 then :
   7347   printf %s "(cached) " >&6
   7348 else case e in #(
   7349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 int i;
   7352 _ACEOF
   7353 if ac_fn_c_try_compile "$LINENO"
   7354 then :
   7355   xorg_cv_cc_flag_unused_command_line_argument=yes
   7356 else case e in #(
   7357   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7358 esac
   7359 fi
   7360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7361 esac
   7362 fi
   7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7366 	CFLAGS="$xorg_testset_save_CFLAGS"
   7367 fi
   7368 
   7369 found="no"
   7370 
   7371 	if test $found = "no" ; then
   7372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7374 		fi
   7375 
   7376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7378 		fi
   7379 
   7380 		CFLAGS="$CFLAGS -Wlogical-op"
   7381 
   7382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7383 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7384 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7385 		if eval test \${$cacheid+y}
   7386 then :
   7387   printf %s "(cached) " >&6
   7388 else case e in #(
   7389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7390 /* end confdefs.h.  */
   7391 int i;
   7392 int
   7393 main (void)
   7394 {
   7395 
   7396   ;
   7397   return 0;
   7398 }
   7399 _ACEOF
   7400 if ac_fn_c_try_link "$LINENO"
   7401 then :
   7402   eval $cacheid=yes
   7403 else case e in #(
   7404   e) eval $cacheid=no ;;
   7405 esac
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7408     conftest$ac_exeext conftest.$ac_ext ;;
   7409 esac
   7410 fi
   7411 
   7412 
   7413 		CFLAGS="$xorg_testset_save_CFLAGS"
   7414 
   7415 		eval supported=\$$cacheid
   7416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7417 printf "%s\n" "$supported" >&6; }
   7418 		if test "$supported" = "yes" ; then
   7419 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7420 			found="yes"
   7421 		fi
   7422 	fi
   7423 
   7424 
   7425 
   7426 # These are currently disabled because they are noisy.  They will be enabled
   7427 # in the future once the codebase is sufficiently modernized to silence
   7428 # them.  For now, I don't want them to drown out the other warnings.
   7429 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7430 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7431 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7432 
   7433 # Turn some warnings into errors, so we don't accidentally get successful builds
   7434 # when there are problems that should be fixed.
   7435 
   7436 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 xorg_testset_save_CFLAGS="$CFLAGS"
   7451 
   7452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7457 then :
   7458   printf %s "(cached) " >&6
   7459 else case e in #(
   7460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7461 /* end confdefs.h.  */
   7462 int i;
   7463 _ACEOF
   7464 if ac_fn_c_try_compile "$LINENO"
   7465 then :
   7466   xorg_cv_cc_flag_unknown_warning_option=yes
   7467 else case e in #(
   7468   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7469 esac
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7472 esac
   7473 fi
   7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7475 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7477 	CFLAGS="$xorg_testset_save_CFLAGS"
   7478 fi
   7479 
   7480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 	fi
   7484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7486 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7487 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7488 then :
   7489   printf %s "(cached) " >&6
   7490 else case e in #(
   7491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7492 /* end confdefs.h.  */
   7493 int i;
   7494 _ACEOF
   7495 if ac_fn_c_try_compile "$LINENO"
   7496 then :
   7497   xorg_cv_cc_flag_unused_command_line_argument=yes
   7498 else case e in #(
   7499   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7500 esac
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7503 esac
   7504 fi
   7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7508 	CFLAGS="$xorg_testset_save_CFLAGS"
   7509 fi
   7510 
   7511 found="no"
   7512 
   7513 	if test $found = "no" ; then
   7514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 		fi
   7517 
   7518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7520 		fi
   7521 
   7522 		CFLAGS="$CFLAGS -Werror=implicit"
   7523 
   7524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7525 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7526 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7527 		if eval test \${$cacheid+y}
   7528 then :
   7529   printf %s "(cached) " >&6
   7530 else case e in #(
   7531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7532 /* end confdefs.h.  */
   7533 int i;
   7534 int
   7535 main (void)
   7536 {
   7537 
   7538   ;
   7539   return 0;
   7540 }
   7541 _ACEOF
   7542 if ac_fn_c_try_link "$LINENO"
   7543 then :
   7544   eval $cacheid=yes
   7545 else case e in #(
   7546   e) eval $cacheid=no ;;
   7547 esac
   7548 fi
   7549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7550     conftest$ac_exeext conftest.$ac_ext ;;
   7551 esac
   7552 fi
   7553 
   7554 
   7555 		CFLAGS="$xorg_testset_save_CFLAGS"
   7556 
   7557 		eval supported=\$$cacheid
   7558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7559 printf "%s\n" "$supported" >&6; }
   7560 		if test "$supported" = "yes" ; then
   7561 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7562 			found="yes"
   7563 		fi
   7564 	fi
   7565 
   7566 	if test $found = "no" ; then
   7567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 		fi
   7570 
   7571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7573 		fi
   7574 
   7575 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7576 
   7577 		{ 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
   7578 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7579 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7580 		if eval test \${$cacheid+y}
   7581 then :
   7582   printf %s "(cached) " >&6
   7583 else case e in #(
   7584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 int i;
   7587 int
   7588 main (void)
   7589 {
   7590 
   7591   ;
   7592   return 0;
   7593 }
   7594 _ACEOF
   7595 if ac_fn_c_try_link "$LINENO"
   7596 then :
   7597   eval $cacheid=yes
   7598 else case e in #(
   7599   e) eval $cacheid=no ;;
   7600 esac
   7601 fi
   7602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7603     conftest$ac_exeext conftest.$ac_ext ;;
   7604 esac
   7605 fi
   7606 
   7607 
   7608 		CFLAGS="$xorg_testset_save_CFLAGS"
   7609 
   7610 		eval supported=\$$cacheid
   7611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7612 printf "%s\n" "$supported" >&6; }
   7613 		if test "$supported" = "yes" ; then
   7614 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7615 			found="yes"
   7616 		fi
   7617 	fi
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 xorg_testset_save_CFLAGS="$CFLAGS"
   7634 
   7635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7638 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7639 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7640 then :
   7641   printf %s "(cached) " >&6
   7642 else case e in #(
   7643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 _ACEOF
   7647 if ac_fn_c_try_compile "$LINENO"
   7648 then :
   7649   xorg_cv_cc_flag_unknown_warning_option=yes
   7650 else case e in #(
   7651   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7652 esac
   7653 fi
   7654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7655 esac
   7656 fi
   7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7658 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7660 	CFLAGS="$xorg_testset_save_CFLAGS"
   7661 fi
   7662 
   7663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7666 	fi
   7667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7669 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7670 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7671 then :
   7672   printf %s "(cached) " >&6
   7673 else case e in #(
   7674   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 _ACEOF
   7678 if ac_fn_c_try_compile "$LINENO"
   7679 then :
   7680   xorg_cv_cc_flag_unused_command_line_argument=yes
   7681 else case e in #(
   7682   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7683 esac
   7684 fi
   7685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7686 esac
   7687 fi
   7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7689 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 found="no"
   7695 
   7696 	if test $found = "no" ; then
   7697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7699 		fi
   7700 
   7701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 		fi
   7704 
   7705 		CFLAGS="$CFLAGS -Werror=nonnull"
   7706 
   7707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7708 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7709 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7710 		if eval test \${$cacheid+y}
   7711 then :
   7712   printf %s "(cached) " >&6
   7713 else case e in #(
   7714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 int
   7718 main (void)
   7719 {
   7720 
   7721   ;
   7722   return 0;
   7723 }
   7724 _ACEOF
   7725 if ac_fn_c_try_link "$LINENO"
   7726 then :
   7727   eval $cacheid=yes
   7728 else case e in #(
   7729   e) eval $cacheid=no ;;
   7730 esac
   7731 fi
   7732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7733     conftest$ac_exeext conftest.$ac_ext ;;
   7734 esac
   7735 fi
   7736 
   7737 
   7738 		CFLAGS="$xorg_testset_save_CFLAGS"
   7739 
   7740 		eval supported=\$$cacheid
   7741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7742 printf "%s\n" "$supported" >&6; }
   7743 		if test "$supported" = "yes" ; then
   7744 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7745 			found="yes"
   7746 		fi
   7747 	fi
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 xorg_testset_save_CFLAGS="$CFLAGS"
   7764 
   7765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7768 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7769 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7770 then :
   7771   printf %s "(cached) " >&6
   7772 else case e in #(
   7773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7774 /* end confdefs.h.  */
   7775 int i;
   7776 _ACEOF
   7777 if ac_fn_c_try_compile "$LINENO"
   7778 then :
   7779   xorg_cv_cc_flag_unknown_warning_option=yes
   7780 else case e in #(
   7781   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7782 esac
   7783 fi
   7784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7785 esac
   7786 fi
   7787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7788 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7790 	CFLAGS="$xorg_testset_save_CFLAGS"
   7791 fi
   7792 
   7793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7796 	fi
   7797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7799 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7800 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7801 then :
   7802   printf %s "(cached) " >&6
   7803 else case e in #(
   7804   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 _ACEOF
   7808 if ac_fn_c_try_compile "$LINENO"
   7809 then :
   7810   xorg_cv_cc_flag_unused_command_line_argument=yes
   7811 else case e in #(
   7812   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7813 esac
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7816 esac
   7817 fi
   7818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7819 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7821 	CFLAGS="$xorg_testset_save_CFLAGS"
   7822 fi
   7823 
   7824 found="no"
   7825 
   7826 	if test $found = "no" ; then
   7827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 		fi
   7830 
   7831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7833 		fi
   7834 
   7835 		CFLAGS="$CFLAGS -Werror=init-self"
   7836 
   7837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7838 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7839 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7840 		if eval test \${$cacheid+y}
   7841 then :
   7842   printf %s "(cached) " >&6
   7843 else case e in #(
   7844   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7845 /* end confdefs.h.  */
   7846 int i;
   7847 int
   7848 main (void)
   7849 {
   7850 
   7851   ;
   7852   return 0;
   7853 }
   7854 _ACEOF
   7855 if ac_fn_c_try_link "$LINENO"
   7856 then :
   7857   eval $cacheid=yes
   7858 else case e in #(
   7859   e) eval $cacheid=no ;;
   7860 esac
   7861 fi
   7862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7863     conftest$ac_exeext conftest.$ac_ext ;;
   7864 esac
   7865 fi
   7866 
   7867 
   7868 		CFLAGS="$xorg_testset_save_CFLAGS"
   7869 
   7870 		eval supported=\$$cacheid
   7871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7872 printf "%s\n" "$supported" >&6; }
   7873 		if test "$supported" = "yes" ; then
   7874 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7875 			found="yes"
   7876 		fi
   7877 	fi
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 xorg_testset_save_CFLAGS="$CFLAGS"
   7894 
   7895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7898 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7899 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7900 then :
   7901   printf %s "(cached) " >&6
   7902 else case e in #(
   7903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 _ACEOF
   7907 if ac_fn_c_try_compile "$LINENO"
   7908 then :
   7909   xorg_cv_cc_flag_unknown_warning_option=yes
   7910 else case e in #(
   7911   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7912 esac
   7913 fi
   7914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7915 esac
   7916 fi
   7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7918 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7920 	CFLAGS="$xorg_testset_save_CFLAGS"
   7921 fi
   7922 
   7923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7926 	fi
   7927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7929 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7930 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7931 then :
   7932   printf %s "(cached) " >&6
   7933 else case e in #(
   7934   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7935 /* end confdefs.h.  */
   7936 int i;
   7937 _ACEOF
   7938 if ac_fn_c_try_compile "$LINENO"
   7939 then :
   7940   xorg_cv_cc_flag_unused_command_line_argument=yes
   7941 else case e in #(
   7942   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7943 esac
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7946 esac
   7947 fi
   7948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7949 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7951 	CFLAGS="$xorg_testset_save_CFLAGS"
   7952 fi
   7953 
   7954 found="no"
   7955 
   7956 	if test $found = "no" ; then
   7957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7959 		fi
   7960 
   7961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7963 		fi
   7964 
   7965 		CFLAGS="$CFLAGS -Werror=main"
   7966 
   7967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7968 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7969 		cacheid=xorg_cv_cc_flag__Werror_main
   7970 		if eval test \${$cacheid+y}
   7971 then :
   7972   printf %s "(cached) " >&6
   7973 else case e in #(
   7974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7975 /* end confdefs.h.  */
   7976 int i;
   7977 int
   7978 main (void)
   7979 {
   7980 
   7981   ;
   7982   return 0;
   7983 }
   7984 _ACEOF
   7985 if ac_fn_c_try_link "$LINENO"
   7986 then :
   7987   eval $cacheid=yes
   7988 else case e in #(
   7989   e) eval $cacheid=no ;;
   7990 esac
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7993     conftest$ac_exeext conftest.$ac_ext ;;
   7994 esac
   7995 fi
   7996 
   7997 
   7998 		CFLAGS="$xorg_testset_save_CFLAGS"
   7999 
   8000 		eval supported=\$$cacheid
   8001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8002 printf "%s\n" "$supported" >&6; }
   8003 		if test "$supported" = "yes" ; then
   8004 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8005 			found="yes"
   8006 		fi
   8007 	fi
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 xorg_testset_save_CFLAGS="$CFLAGS"
   8024 
   8025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8028 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8029 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else case e in #(
   8033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8034 /* end confdefs.h.  */
   8035 int i;
   8036 _ACEOF
   8037 if ac_fn_c_try_compile "$LINENO"
   8038 then :
   8039   xorg_cv_cc_flag_unknown_warning_option=yes
   8040 else case e in #(
   8041   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8042 esac
   8043 fi
   8044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8045 esac
   8046 fi
   8047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8048 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8050 	CFLAGS="$xorg_testset_save_CFLAGS"
   8051 fi
   8052 
   8053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8056 	fi
   8057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8059 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8060 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8061 then :
   8062   printf %s "(cached) " >&6
   8063 else case e in #(
   8064   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8065 /* end confdefs.h.  */
   8066 int i;
   8067 _ACEOF
   8068 if ac_fn_c_try_compile "$LINENO"
   8069 then :
   8070   xorg_cv_cc_flag_unused_command_line_argument=yes
   8071 else case e in #(
   8072   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8073 esac
   8074 fi
   8075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8076 esac
   8077 fi
   8078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8079 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8081 	CFLAGS="$xorg_testset_save_CFLAGS"
   8082 fi
   8083 
   8084 found="no"
   8085 
   8086 	if test $found = "no" ; then
   8087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8089 		fi
   8090 
   8091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8093 		fi
   8094 
   8095 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8096 
   8097 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8098 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8099 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8100 		if eval test \${$cacheid+y}
   8101 then :
   8102   printf %s "(cached) " >&6
   8103 else case e in #(
   8104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 int
   8108 main (void)
   8109 {
   8110 
   8111   ;
   8112   return 0;
   8113 }
   8114 _ACEOF
   8115 if ac_fn_c_try_link "$LINENO"
   8116 then :
   8117   eval $cacheid=yes
   8118 else case e in #(
   8119   e) eval $cacheid=no ;;
   8120 esac
   8121 fi
   8122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8123     conftest$ac_exeext conftest.$ac_ext ;;
   8124 esac
   8125 fi
   8126 
   8127 
   8128 		CFLAGS="$xorg_testset_save_CFLAGS"
   8129 
   8130 		eval supported=\$$cacheid
   8131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8132 printf "%s\n" "$supported" >&6; }
   8133 		if test "$supported" = "yes" ; then
   8134 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8135 			found="yes"
   8136 		fi
   8137 	fi
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 xorg_testset_save_CFLAGS="$CFLAGS"
   8154 
   8155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8158 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8159 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8160 then :
   8161   printf %s "(cached) " >&6
   8162 else case e in #(
   8163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8164 /* end confdefs.h.  */
   8165 int i;
   8166 _ACEOF
   8167 if ac_fn_c_try_compile "$LINENO"
   8168 then :
   8169   xorg_cv_cc_flag_unknown_warning_option=yes
   8170 else case e in #(
   8171   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8172 esac
   8173 fi
   8174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8175 esac
   8176 fi
   8177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8178 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8180 	CFLAGS="$xorg_testset_save_CFLAGS"
   8181 fi
   8182 
   8183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8186 	fi
   8187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8188 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8189 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8190 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8191 then :
   8192   printf %s "(cached) " >&6
   8193 else case e in #(
   8194   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8195 /* end confdefs.h.  */
   8196 int i;
   8197 _ACEOF
   8198 if ac_fn_c_try_compile "$LINENO"
   8199 then :
   8200   xorg_cv_cc_flag_unused_command_line_argument=yes
   8201 else case e in #(
   8202   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8203 esac
   8204 fi
   8205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8206 esac
   8207 fi
   8208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8209 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8211 	CFLAGS="$xorg_testset_save_CFLAGS"
   8212 fi
   8213 
   8214 found="no"
   8215 
   8216 	if test $found = "no" ; then
   8217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8219 		fi
   8220 
   8221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8223 		fi
   8224 
   8225 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8226 
   8227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8228 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8229 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8230 		if eval test \${$cacheid+y}
   8231 then :
   8232   printf %s "(cached) " >&6
   8233 else case e in #(
   8234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 int
   8238 main (void)
   8239 {
   8240 
   8241   ;
   8242   return 0;
   8243 }
   8244 _ACEOF
   8245 if ac_fn_c_try_link "$LINENO"
   8246 then :
   8247   eval $cacheid=yes
   8248 else case e in #(
   8249   e) eval $cacheid=no ;;
   8250 esac
   8251 fi
   8252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8253     conftest$ac_exeext conftest.$ac_ext ;;
   8254 esac
   8255 fi
   8256 
   8257 
   8258 		CFLAGS="$xorg_testset_save_CFLAGS"
   8259 
   8260 		eval supported=\$$cacheid
   8261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8262 printf "%s\n" "$supported" >&6; }
   8263 		if test "$supported" = "yes" ; then
   8264 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8265 			found="yes"
   8266 		fi
   8267 	fi
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 xorg_testset_save_CFLAGS="$CFLAGS"
   8284 
   8285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8288 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8289 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8290 then :
   8291   printf %s "(cached) " >&6
   8292 else case e in #(
   8293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8294 /* end confdefs.h.  */
   8295 int i;
   8296 _ACEOF
   8297 if ac_fn_c_try_compile "$LINENO"
   8298 then :
   8299   xorg_cv_cc_flag_unknown_warning_option=yes
   8300 else case e in #(
   8301   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8302 esac
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8305 esac
   8306 fi
   8307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8308 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8310 	CFLAGS="$xorg_testset_save_CFLAGS"
   8311 fi
   8312 
   8313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8316 	fi
   8317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8319 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8320 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8321 then :
   8322   printf %s "(cached) " >&6
   8323 else case e in #(
   8324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8325 /* end confdefs.h.  */
   8326 int i;
   8327 _ACEOF
   8328 if ac_fn_c_try_compile "$LINENO"
   8329 then :
   8330   xorg_cv_cc_flag_unused_command_line_argument=yes
   8331 else case e in #(
   8332   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8333 esac
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8336 esac
   8337 fi
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8339 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8341 	CFLAGS="$xorg_testset_save_CFLAGS"
   8342 fi
   8343 
   8344 found="no"
   8345 
   8346 	if test $found = "no" ; then
   8347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8349 		fi
   8350 
   8351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 		fi
   8354 
   8355 		CFLAGS="$CFLAGS -Werror=return-type"
   8356 
   8357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8358 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8359 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8360 		if eval test \${$cacheid+y}
   8361 then :
   8362   printf %s "(cached) " >&6
   8363 else case e in #(
   8364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8365 /* end confdefs.h.  */
   8366 int i;
   8367 int
   8368 main (void)
   8369 {
   8370 
   8371   ;
   8372   return 0;
   8373 }
   8374 _ACEOF
   8375 if ac_fn_c_try_link "$LINENO"
   8376 then :
   8377   eval $cacheid=yes
   8378 else case e in #(
   8379   e) eval $cacheid=no ;;
   8380 esac
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8383     conftest$ac_exeext conftest.$ac_ext ;;
   8384 esac
   8385 fi
   8386 
   8387 
   8388 		CFLAGS="$xorg_testset_save_CFLAGS"
   8389 
   8390 		eval supported=\$$cacheid
   8391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8392 printf "%s\n" "$supported" >&6; }
   8393 		if test "$supported" = "yes" ; then
   8394 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8395 			found="yes"
   8396 		fi
   8397 	fi
   8398 
   8399 	if test $found = "no" ; then
   8400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8402 		fi
   8403 
   8404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8406 		fi
   8407 
   8408 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8409 
   8410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8411 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8412 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8413 		if eval test \${$cacheid+y}
   8414 then :
   8415   printf %s "(cached) " >&6
   8416 else case e in #(
   8417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8418 /* end confdefs.h.  */
   8419 int i;
   8420 int
   8421 main (void)
   8422 {
   8423 
   8424   ;
   8425   return 0;
   8426 }
   8427 _ACEOF
   8428 if ac_fn_c_try_link "$LINENO"
   8429 then :
   8430   eval $cacheid=yes
   8431 else case e in #(
   8432   e) eval $cacheid=no ;;
   8433 esac
   8434 fi
   8435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8436     conftest$ac_exeext conftest.$ac_ext ;;
   8437 esac
   8438 fi
   8439 
   8440 
   8441 		CFLAGS="$xorg_testset_save_CFLAGS"
   8442 
   8443 		eval supported=\$$cacheid
   8444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8445 printf "%s\n" "$supported" >&6; }
   8446 		if test "$supported" = "yes" ; then
   8447 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8448 			found="yes"
   8449 		fi
   8450 	fi
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 xorg_testset_save_CFLAGS="$CFLAGS"
   8467 
   8468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8473 then :
   8474   printf %s "(cached) " >&6
   8475 else case e in #(
   8476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 _ACEOF
   8480 if ac_fn_c_try_compile "$LINENO"
   8481 then :
   8482   xorg_cv_cc_flag_unknown_warning_option=yes
   8483 else case e in #(
   8484   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8485 esac
   8486 fi
   8487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8488 esac
   8489 fi
   8490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8493 	CFLAGS="$xorg_testset_save_CFLAGS"
   8494 fi
   8495 
   8496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8499 	fi
   8500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8504 then :
   8505   printf %s "(cached) " >&6
   8506 else case e in #(
   8507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 _ACEOF
   8511 if ac_fn_c_try_compile "$LINENO"
   8512 then :
   8513   xorg_cv_cc_flag_unused_command_line_argument=yes
   8514 else case e in #(
   8515   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8516 esac
   8517 fi
   8518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8519 esac
   8520 fi
   8521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8524 	CFLAGS="$xorg_testset_save_CFLAGS"
   8525 fi
   8526 
   8527 found="no"
   8528 
   8529 	if test $found = "no" ; then
   8530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8532 		fi
   8533 
   8534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8536 		fi
   8537 
   8538 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8539 
   8540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8541 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8542 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8543 		if eval test \${$cacheid+y}
   8544 then :
   8545   printf %s "(cached) " >&6
   8546 else case e in #(
   8547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8548 /* end confdefs.h.  */
   8549 int i;
   8550 int
   8551 main (void)
   8552 {
   8553 
   8554   ;
   8555   return 0;
   8556 }
   8557 _ACEOF
   8558 if ac_fn_c_try_link "$LINENO"
   8559 then :
   8560   eval $cacheid=yes
   8561 else case e in #(
   8562   e) eval $cacheid=no ;;
   8563 esac
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8566     conftest$ac_exeext conftest.$ac_ext ;;
   8567 esac
   8568 fi
   8569 
   8570 
   8571 		CFLAGS="$xorg_testset_save_CFLAGS"
   8572 
   8573 		eval supported=\$$cacheid
   8574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8575 printf "%s\n" "$supported" >&6; }
   8576 		if test "$supported" = "yes" ; then
   8577 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8578 			found="yes"
   8579 		fi
   8580 	fi
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 xorg_testset_save_CFLAGS="$CFLAGS"
   8597 
   8598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8601 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8602 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8603 then :
   8604   printf %s "(cached) " >&6
   8605 else case e in #(
   8606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 _ACEOF
   8610 if ac_fn_c_try_compile "$LINENO"
   8611 then :
   8612   xorg_cv_cc_flag_unknown_warning_option=yes
   8613 else case e in #(
   8614   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8615 esac
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8618 esac
   8619 fi
   8620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8621 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8623 	CFLAGS="$xorg_testset_save_CFLAGS"
   8624 fi
   8625 
   8626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8629 	fi
   8630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8632 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8633 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8634 then :
   8635   printf %s "(cached) " >&6
   8636 else case e in #(
   8637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8638 /* end confdefs.h.  */
   8639 int i;
   8640 _ACEOF
   8641 if ac_fn_c_try_compile "$LINENO"
   8642 then :
   8643   xorg_cv_cc_flag_unused_command_line_argument=yes
   8644 else case e in #(
   8645   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8646 esac
   8647 fi
   8648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8649 esac
   8650 fi
   8651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8652 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8654 	CFLAGS="$xorg_testset_save_CFLAGS"
   8655 fi
   8656 
   8657 found="no"
   8658 
   8659 	if test $found = "no" ; then
   8660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8662 		fi
   8663 
   8664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8666 		fi
   8667 
   8668 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8669 
   8670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8671 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8672 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8673 		if eval test \${$cacheid+y}
   8674 then :
   8675   printf %s "(cached) " >&6
   8676 else case e in #(
   8677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8678 /* end confdefs.h.  */
   8679 int i;
   8680 int
   8681 main (void)
   8682 {
   8683 
   8684   ;
   8685   return 0;
   8686 }
   8687 _ACEOF
   8688 if ac_fn_c_try_link "$LINENO"
   8689 then :
   8690   eval $cacheid=yes
   8691 else case e in #(
   8692   e) eval $cacheid=no ;;
   8693 esac
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8696     conftest$ac_exeext conftest.$ac_ext ;;
   8697 esac
   8698 fi
   8699 
   8700 
   8701 		CFLAGS="$xorg_testset_save_CFLAGS"
   8702 
   8703 		eval supported=\$$cacheid
   8704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8705 printf "%s\n" "$supported" >&6; }
   8706 		if test "$supported" = "yes" ; then
   8707 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8708 			found="yes"
   8709 		fi
   8710 	fi
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 xorg_testset_save_CFLAGS="$CFLAGS"
   8727 
   8728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8731 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8732 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8733 then :
   8734   printf %s "(cached) " >&6
   8735 else case e in #(
   8736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 _ACEOF
   8740 if ac_fn_c_try_compile "$LINENO"
   8741 then :
   8742   xorg_cv_cc_flag_unknown_warning_option=yes
   8743 else case e in #(
   8744   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8745 esac
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8748 esac
   8749 fi
   8750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8751 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8753 	CFLAGS="$xorg_testset_save_CFLAGS"
   8754 fi
   8755 
   8756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 	fi
   8760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8762 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8763 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8764 then :
   8765   printf %s "(cached) " >&6
   8766 else case e in #(
   8767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 _ACEOF
   8771 if ac_fn_c_try_compile "$LINENO"
   8772 then :
   8773   xorg_cv_cc_flag_unused_command_line_argument=yes
   8774 else case e in #(
   8775   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8776 esac
   8777 fi
   8778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8779 esac
   8780 fi
   8781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8782 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8784 	CFLAGS="$xorg_testset_save_CFLAGS"
   8785 fi
   8786 
   8787 found="no"
   8788 
   8789 	if test $found = "no" ; then
   8790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8792 		fi
   8793 
   8794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8796 		fi
   8797 
   8798 		CFLAGS="$CFLAGS -Werror=write-strings"
   8799 
   8800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8801 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8802 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8803 		if eval test \${$cacheid+y}
   8804 then :
   8805   printf %s "(cached) " >&6
   8806 else case e in #(
   8807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8808 /* end confdefs.h.  */
   8809 int i;
   8810 int
   8811 main (void)
   8812 {
   8813 
   8814   ;
   8815   return 0;
   8816 }
   8817 _ACEOF
   8818 if ac_fn_c_try_link "$LINENO"
   8819 then :
   8820   eval $cacheid=yes
   8821 else case e in #(
   8822   e) eval $cacheid=no ;;
   8823 esac
   8824 fi
   8825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8826     conftest$ac_exeext conftest.$ac_ext ;;
   8827 esac
   8828 fi
   8829 
   8830 
   8831 		CFLAGS="$xorg_testset_save_CFLAGS"
   8832 
   8833 		eval supported=\$$cacheid
   8834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8835 printf "%s\n" "$supported" >&6; }
   8836 		if test "$supported" = "yes" ; then
   8837 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8838 			found="yes"
   8839 		fi
   8840 	fi
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 xorg_testset_save_CFLAGS="$CFLAGS"
   8857 
   8858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8861 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8862 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8863 then :
   8864   printf %s "(cached) " >&6
   8865 else case e in #(
   8866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8867 /* end confdefs.h.  */
   8868 int i;
   8869 _ACEOF
   8870 if ac_fn_c_try_compile "$LINENO"
   8871 then :
   8872   xorg_cv_cc_flag_unknown_warning_option=yes
   8873 else case e in #(
   8874   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8875 esac
   8876 fi
   8877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8878 esac
   8879 fi
   8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8881 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8883 	CFLAGS="$xorg_testset_save_CFLAGS"
   8884 fi
   8885 
   8886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8889 	fi
   8890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8892 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8893 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8894 then :
   8895   printf %s "(cached) " >&6
   8896 else case e in #(
   8897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8898 /* end confdefs.h.  */
   8899 int i;
   8900 _ACEOF
   8901 if ac_fn_c_try_compile "$LINENO"
   8902 then :
   8903   xorg_cv_cc_flag_unused_command_line_argument=yes
   8904 else case e in #(
   8905   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8906 esac
   8907 fi
   8908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8909 esac
   8910 fi
   8911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8914 	CFLAGS="$xorg_testset_save_CFLAGS"
   8915 fi
   8916 
   8917 found="no"
   8918 
   8919 	if test $found = "no" ; then
   8920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8922 		fi
   8923 
   8924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8926 		fi
   8927 
   8928 		CFLAGS="$CFLAGS -Werror=address"
   8929 
   8930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8931 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8932 		cacheid=xorg_cv_cc_flag__Werror_address
   8933 		if eval test \${$cacheid+y}
   8934 then :
   8935   printf %s "(cached) " >&6
   8936 else case e in #(
   8937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 int
   8941 main (void)
   8942 {
   8943 
   8944   ;
   8945   return 0;
   8946 }
   8947 _ACEOF
   8948 if ac_fn_c_try_link "$LINENO"
   8949 then :
   8950   eval $cacheid=yes
   8951 else case e in #(
   8952   e) eval $cacheid=no ;;
   8953 esac
   8954 fi
   8955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8956     conftest$ac_exeext conftest.$ac_ext ;;
   8957 esac
   8958 fi
   8959 
   8960 
   8961 		CFLAGS="$xorg_testset_save_CFLAGS"
   8962 
   8963 		eval supported=\$$cacheid
   8964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8965 printf "%s\n" "$supported" >&6; }
   8966 		if test "$supported" = "yes" ; then
   8967 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8968 			found="yes"
   8969 		fi
   8970 	fi
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 xorg_testset_save_CFLAGS="$CFLAGS"
   8987 
   8988 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8989 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8991 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8992 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8993 then :
   8994   printf %s "(cached) " >&6
   8995 else case e in #(
   8996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8997 /* end confdefs.h.  */
   8998 int i;
   8999 _ACEOF
   9000 if ac_fn_c_try_compile "$LINENO"
   9001 then :
   9002   xorg_cv_cc_flag_unknown_warning_option=yes
   9003 else case e in #(
   9004   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9005 esac
   9006 fi
   9007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9008 esac
   9009 fi
   9010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9011 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9013 	CFLAGS="$xorg_testset_save_CFLAGS"
   9014 fi
   9015 
   9016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9019 	fi
   9020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9022 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9023 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9024 then :
   9025   printf %s "(cached) " >&6
   9026 else case e in #(
   9027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 int i;
   9030 _ACEOF
   9031 if ac_fn_c_try_compile "$LINENO"
   9032 then :
   9033   xorg_cv_cc_flag_unused_command_line_argument=yes
   9034 else case e in #(
   9035   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9036 esac
   9037 fi
   9038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9039 esac
   9040 fi
   9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9044 	CFLAGS="$xorg_testset_save_CFLAGS"
   9045 fi
   9046 
   9047 found="no"
   9048 
   9049 	if test $found = "no" ; then
   9050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 		fi
   9053 
   9054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9056 		fi
   9057 
   9058 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9059 
   9060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9061 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9062 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9063 		if eval test \${$cacheid+y}
   9064 then :
   9065   printf %s "(cached) " >&6
   9066 else case e in #(
   9067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 int
   9071 main (void)
   9072 {
   9073 
   9074   ;
   9075   return 0;
   9076 }
   9077 _ACEOF
   9078 if ac_fn_c_try_link "$LINENO"
   9079 then :
   9080   eval $cacheid=yes
   9081 else case e in #(
   9082   e) eval $cacheid=no ;;
   9083 esac
   9084 fi
   9085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9086     conftest$ac_exeext conftest.$ac_ext ;;
   9087 esac
   9088 fi
   9089 
   9090 
   9091 		CFLAGS="$xorg_testset_save_CFLAGS"
   9092 
   9093 		eval supported=\$$cacheid
   9094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9095 printf "%s\n" "$supported" >&6; }
   9096 		if test "$supported" = "yes" ; then
   9097 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9098 			found="yes"
   9099 		fi
   9100 	fi
   9101 
   9102 	if test $found = "no" ; then
   9103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9105 		fi
   9106 
   9107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9109 		fi
   9110 
   9111 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9112 
   9113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9114 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9115 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9116 		if eval test \${$cacheid+y}
   9117 then :
   9118   printf %s "(cached) " >&6
   9119 else case e in #(
   9120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9121 /* end confdefs.h.  */
   9122 int i;
   9123 int
   9124 main (void)
   9125 {
   9126 
   9127   ;
   9128   return 0;
   9129 }
   9130 _ACEOF
   9131 if ac_fn_c_try_link "$LINENO"
   9132 then :
   9133   eval $cacheid=yes
   9134 else case e in #(
   9135   e) eval $cacheid=no ;;
   9136 esac
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9139     conftest$ac_exeext conftest.$ac_ext ;;
   9140 esac
   9141 fi
   9142 
   9143 
   9144 		CFLAGS="$xorg_testset_save_CFLAGS"
   9145 
   9146 		eval supported=\$$cacheid
   9147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9148 printf "%s\n" "$supported" >&6; }
   9149 		if test "$supported" = "yes" ; then
   9150 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9151 			found="yes"
   9152 		fi
   9153 	fi
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 xorg_testset_save_CFLAGS="$CFLAGS"
   9170 
   9171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9176 then :
   9177   printf %s "(cached) " >&6
   9178 else case e in #(
   9179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9180 /* end confdefs.h.  */
   9181 int i;
   9182 _ACEOF
   9183 if ac_fn_c_try_compile "$LINENO"
   9184 then :
   9185   xorg_cv_cc_flag_unknown_warning_option=yes
   9186 else case e in #(
   9187   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9188 esac
   9189 fi
   9190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9191 esac
   9192 fi
   9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9194 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9196 	CFLAGS="$xorg_testset_save_CFLAGS"
   9197 fi
   9198 
   9199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9202 	fi
   9203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9205 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9206 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9207 then :
   9208   printf %s "(cached) " >&6
   9209 else case e in #(
   9210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9211 /* end confdefs.h.  */
   9212 int i;
   9213 _ACEOF
   9214 if ac_fn_c_try_compile "$LINENO"
   9215 then :
   9216   xorg_cv_cc_flag_unused_command_line_argument=yes
   9217 else case e in #(
   9218   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9219 esac
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9222 esac
   9223 fi
   9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9227 	CFLAGS="$xorg_testset_save_CFLAGS"
   9228 fi
   9229 
   9230 found="no"
   9231 
   9232 	if test $found = "no" ; then
   9233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 		fi
   9236 
   9237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9239 		fi
   9240 
   9241 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9242 
   9243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9244 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9245 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9246 		if eval test \${$cacheid+y}
   9247 then :
   9248   printf %s "(cached) " >&6
   9249 else case e in #(
   9250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 int
   9254 main (void)
   9255 {
   9256 
   9257   ;
   9258   return 0;
   9259 }
   9260 _ACEOF
   9261 if ac_fn_c_try_link "$LINENO"
   9262 then :
   9263   eval $cacheid=yes
   9264 else case e in #(
   9265   e) eval $cacheid=no ;;
   9266 esac
   9267 fi
   9268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9269     conftest$ac_exeext conftest.$ac_ext ;;
   9270 esac
   9271 fi
   9272 
   9273 
   9274 		CFLAGS="$xorg_testset_save_CFLAGS"
   9275 
   9276 		eval supported=\$$cacheid
   9277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9278 printf "%s\n" "$supported" >&6; }
   9279 		if test "$supported" = "yes" ; then
   9280 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9281 			found="yes"
   9282 		fi
   9283 	fi
   9284 
   9285  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9286 else
   9287 { 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
   9288 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;}
   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 -Wimplicit"
   9375 
   9376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9377 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9378 		cacheid=xorg_cv_cc_flag__Wimplicit
   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 -Wimplicit"
   9414 			found="yes"
   9415 		fi
   9416 	fi
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 xorg_testset_save_CFLAGS="$CFLAGS"
   9433 
   9434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9439 then :
   9440   printf %s "(cached) " >&6
   9441 else case e in #(
   9442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9443 /* end confdefs.h.  */
   9444 int i;
   9445 _ACEOF
   9446 if ac_fn_c_try_compile "$LINENO"
   9447 then :
   9448   xorg_cv_cc_flag_unknown_warning_option=yes
   9449 else case e in #(
   9450   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9451 esac
   9452 fi
   9453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9454 esac
   9455 fi
   9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9457 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9459 	CFLAGS="$xorg_testset_save_CFLAGS"
   9460 fi
   9461 
   9462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9465 	fi
   9466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9470 then :
   9471   printf %s "(cached) " >&6
   9472 else case e in #(
   9473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9474 /* end confdefs.h.  */
   9475 int i;
   9476 _ACEOF
   9477 if ac_fn_c_try_compile "$LINENO"
   9478 then :
   9479   xorg_cv_cc_flag_unused_command_line_argument=yes
   9480 else case e in #(
   9481   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9482 esac
   9483 fi
   9484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9485 esac
   9486 fi
   9487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9490 	CFLAGS="$xorg_testset_save_CFLAGS"
   9491 fi
   9492 
   9493 found="no"
   9494 
   9495 	if test $found = "no" ; then
   9496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9498 		fi
   9499 
   9500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9502 		fi
   9503 
   9504 		CFLAGS="$CFLAGS -Wnonnull"
   9505 
   9506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9507 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9508 		cacheid=xorg_cv_cc_flag__Wnonnull
   9509 		if eval test \${$cacheid+y}
   9510 then :
   9511   printf %s "(cached) " >&6
   9512 else case e in #(
   9513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9514 /* end confdefs.h.  */
   9515 int i;
   9516 int
   9517 main (void)
   9518 {
   9519 
   9520   ;
   9521   return 0;
   9522 }
   9523 _ACEOF
   9524 if ac_fn_c_try_link "$LINENO"
   9525 then :
   9526   eval $cacheid=yes
   9527 else case e in #(
   9528   e) eval $cacheid=no ;;
   9529 esac
   9530 fi
   9531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9532     conftest$ac_exeext conftest.$ac_ext ;;
   9533 esac
   9534 fi
   9535 
   9536 
   9537 		CFLAGS="$xorg_testset_save_CFLAGS"
   9538 
   9539 		eval supported=\$$cacheid
   9540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9541 printf "%s\n" "$supported" >&6; }
   9542 		if test "$supported" = "yes" ; then
   9543 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9544 			found="yes"
   9545 		fi
   9546 	fi
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 xorg_testset_save_CFLAGS="$CFLAGS"
   9563 
   9564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9569 then :
   9570   printf %s "(cached) " >&6
   9571 else case e in #(
   9572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 _ACEOF
   9576 if ac_fn_c_try_compile "$LINENO"
   9577 then :
   9578   xorg_cv_cc_flag_unknown_warning_option=yes
   9579 else case e in #(
   9580   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9581 esac
   9582 fi
   9583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9584 esac
   9585 fi
   9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9589 	CFLAGS="$xorg_testset_save_CFLAGS"
   9590 fi
   9591 
   9592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 	fi
   9596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9600 then :
   9601   printf %s "(cached) " >&6
   9602 else case e in #(
   9603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 _ACEOF
   9607 if ac_fn_c_try_compile "$LINENO"
   9608 then :
   9609   xorg_cv_cc_flag_unused_command_line_argument=yes
   9610 else case e in #(
   9611   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9612 esac
   9613 fi
   9614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9615 esac
   9616 fi
   9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9620 	CFLAGS="$xorg_testset_save_CFLAGS"
   9621 fi
   9622 
   9623 found="no"
   9624 
   9625 	if test $found = "no" ; then
   9626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9628 		fi
   9629 
   9630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9632 		fi
   9633 
   9634 		CFLAGS="$CFLAGS -Winit-self"
   9635 
   9636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9637 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9638 		cacheid=xorg_cv_cc_flag__Winit_self
   9639 		if eval test \${$cacheid+y}
   9640 then :
   9641   printf %s "(cached) " >&6
   9642 else case e in #(
   9643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9644 /* end confdefs.h.  */
   9645 int i;
   9646 int
   9647 main (void)
   9648 {
   9649 
   9650   ;
   9651   return 0;
   9652 }
   9653 _ACEOF
   9654 if ac_fn_c_try_link "$LINENO"
   9655 then :
   9656   eval $cacheid=yes
   9657 else case e in #(
   9658   e) eval $cacheid=no ;;
   9659 esac
   9660 fi
   9661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9662     conftest$ac_exeext conftest.$ac_ext ;;
   9663 esac
   9664 fi
   9665 
   9666 
   9667 		CFLAGS="$xorg_testset_save_CFLAGS"
   9668 
   9669 		eval supported=\$$cacheid
   9670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9671 printf "%s\n" "$supported" >&6; }
   9672 		if test "$supported" = "yes" ; then
   9673 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9674 			found="yes"
   9675 		fi
   9676 	fi
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 xorg_testset_save_CFLAGS="$CFLAGS"
   9693 
   9694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9699 then :
   9700   printf %s "(cached) " >&6
   9701 else case e in #(
   9702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 _ACEOF
   9706 if ac_fn_c_try_compile "$LINENO"
   9707 then :
   9708   xorg_cv_cc_flag_unknown_warning_option=yes
   9709 else case e in #(
   9710   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9711 esac
   9712 fi
   9713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9714 esac
   9715 fi
   9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9717 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9719 	CFLAGS="$xorg_testset_save_CFLAGS"
   9720 fi
   9721 
   9722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 	fi
   9726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9728 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9729 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9730 then :
   9731   printf %s "(cached) " >&6
   9732 else case e in #(
   9733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9734 /* end confdefs.h.  */
   9735 int i;
   9736 _ACEOF
   9737 if ac_fn_c_try_compile "$LINENO"
   9738 then :
   9739   xorg_cv_cc_flag_unused_command_line_argument=yes
   9740 else case e in #(
   9741   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9742 esac
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9745 esac
   9746 fi
   9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9748 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9750 	CFLAGS="$xorg_testset_save_CFLAGS"
   9751 fi
   9752 
   9753 found="no"
   9754 
   9755 	if test $found = "no" ; then
   9756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9758 		fi
   9759 
   9760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9762 		fi
   9763 
   9764 		CFLAGS="$CFLAGS -Wmain"
   9765 
   9766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9767 printf %s "checking if $CC supports -Wmain... " >&6; }
   9768 		cacheid=xorg_cv_cc_flag__Wmain
   9769 		if eval test \${$cacheid+y}
   9770 then :
   9771   printf %s "(cached) " >&6
   9772 else case e in #(
   9773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9774 /* end confdefs.h.  */
   9775 int i;
   9776 int
   9777 main (void)
   9778 {
   9779 
   9780   ;
   9781   return 0;
   9782 }
   9783 _ACEOF
   9784 if ac_fn_c_try_link "$LINENO"
   9785 then :
   9786   eval $cacheid=yes
   9787 else case e in #(
   9788   e) eval $cacheid=no ;;
   9789 esac
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9792     conftest$ac_exeext conftest.$ac_ext ;;
   9793 esac
   9794 fi
   9795 
   9796 
   9797 		CFLAGS="$xorg_testset_save_CFLAGS"
   9798 
   9799 		eval supported=\$$cacheid
   9800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9801 printf "%s\n" "$supported" >&6; }
   9802 		if test "$supported" = "yes" ; then
   9803 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9804 			found="yes"
   9805 		fi
   9806 	fi
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 xorg_testset_save_CFLAGS="$CFLAGS"
   9823 
   9824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9829 then :
   9830   printf %s "(cached) " >&6
   9831 else case e in #(
   9832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 _ACEOF
   9836 if ac_fn_c_try_compile "$LINENO"
   9837 then :
   9838   xorg_cv_cc_flag_unknown_warning_option=yes
   9839 else case e in #(
   9840   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9841 esac
   9842 fi
   9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9844 esac
   9845 fi
   9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9847 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9849 	CFLAGS="$xorg_testset_save_CFLAGS"
   9850 fi
   9851 
   9852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9855 	fi
   9856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9859 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9860 then :
   9861   printf %s "(cached) " >&6
   9862 else case e in #(
   9863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9864 /* end confdefs.h.  */
   9865 int i;
   9866 _ACEOF
   9867 if ac_fn_c_try_compile "$LINENO"
   9868 then :
   9869   xorg_cv_cc_flag_unused_command_line_argument=yes
   9870 else case e in #(
   9871   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9872 esac
   9873 fi
   9874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9875 esac
   9876 fi
   9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9880 	CFLAGS="$xorg_testset_save_CFLAGS"
   9881 fi
   9882 
   9883 found="no"
   9884 
   9885 	if test $found = "no" ; then
   9886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 		fi
   9889 
   9890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9892 		fi
   9893 
   9894 		CFLAGS="$CFLAGS -Wmissing-braces"
   9895 
   9896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9897 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9898 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9899 		if eval test \${$cacheid+y}
   9900 then :
   9901   printf %s "(cached) " >&6
   9902 else case e in #(
   9903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 int
   9907 main (void)
   9908 {
   9909 
   9910   ;
   9911   return 0;
   9912 }
   9913 _ACEOF
   9914 if ac_fn_c_try_link "$LINENO"
   9915 then :
   9916   eval $cacheid=yes
   9917 else case e in #(
   9918   e) eval $cacheid=no ;;
   9919 esac
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9922     conftest$ac_exeext conftest.$ac_ext ;;
   9923 esac
   9924 fi
   9925 
   9926 
   9927 		CFLAGS="$xorg_testset_save_CFLAGS"
   9928 
   9929 		eval supported=\$$cacheid
   9930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9931 printf "%s\n" "$supported" >&6; }
   9932 		if test "$supported" = "yes" ; then
   9933 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9934 			found="yes"
   9935 		fi
   9936 	fi
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 xorg_testset_save_CFLAGS="$CFLAGS"
   9953 
   9954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9959 then :
   9960   printf %s "(cached) " >&6
   9961 else case e in #(
   9962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9963 /* end confdefs.h.  */
   9964 int i;
   9965 _ACEOF
   9966 if ac_fn_c_try_compile "$LINENO"
   9967 then :
   9968   xorg_cv_cc_flag_unknown_warning_option=yes
   9969 else case e in #(
   9970   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9971 esac
   9972 fi
   9973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9974 esac
   9975 fi
   9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9979 	CFLAGS="$xorg_testset_save_CFLAGS"
   9980 fi
   9981 
   9982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9985 	fi
   9986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9990 then :
   9991   printf %s "(cached) " >&6
   9992 else case e in #(
   9993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9994 /* end confdefs.h.  */
   9995 int i;
   9996 _ACEOF
   9997 if ac_fn_c_try_compile "$LINENO"
   9998 then :
   9999   xorg_cv_cc_flag_unused_command_line_argument=yes
   10000 else case e in #(
   10001   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10002 esac
   10003 fi
   10004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10005 esac
   10006 fi
   10007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10008 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10010 	CFLAGS="$xorg_testset_save_CFLAGS"
   10011 fi
   10012 
   10013 found="no"
   10014 
   10015 	if test $found = "no" ; then
   10016 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10018 		fi
   10019 
   10020 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10022 		fi
   10023 
   10024 		CFLAGS="$CFLAGS -Wsequence-point"
   10025 
   10026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10027 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10028 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10029 		if eval test \${$cacheid+y}
   10030 then :
   10031   printf %s "(cached) " >&6
   10032 else case e in #(
   10033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10034 /* end confdefs.h.  */
   10035 int i;
   10036 int
   10037 main (void)
   10038 {
   10039 
   10040   ;
   10041   return 0;
   10042 }
   10043 _ACEOF
   10044 if ac_fn_c_try_link "$LINENO"
   10045 then :
   10046   eval $cacheid=yes
   10047 else case e in #(
   10048   e) eval $cacheid=no ;;
   10049 esac
   10050 fi
   10051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10052     conftest$ac_exeext conftest.$ac_ext ;;
   10053 esac
   10054 fi
   10055 
   10056 
   10057 		CFLAGS="$xorg_testset_save_CFLAGS"
   10058 
   10059 		eval supported=\$$cacheid
   10060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10061 printf "%s\n" "$supported" >&6; }
   10062 		if test "$supported" = "yes" ; then
   10063 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10064 			found="yes"
   10065 		fi
   10066 	fi
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 xorg_testset_save_CFLAGS="$CFLAGS"
   10083 
   10084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10089 then :
   10090   printf %s "(cached) " >&6
   10091 else case e in #(
   10092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10093 /* end confdefs.h.  */
   10094 int i;
   10095 _ACEOF
   10096 if ac_fn_c_try_compile "$LINENO"
   10097 then :
   10098   xorg_cv_cc_flag_unknown_warning_option=yes
   10099 else case e in #(
   10100   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10101 esac
   10102 fi
   10103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10104 esac
   10105 fi
   10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10107 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10109 	CFLAGS="$xorg_testset_save_CFLAGS"
   10110 fi
   10111 
   10112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 	fi
   10116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10120 then :
   10121   printf %s "(cached) " >&6
   10122 else case e in #(
   10123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10124 /* end confdefs.h.  */
   10125 int i;
   10126 _ACEOF
   10127 if ac_fn_c_try_compile "$LINENO"
   10128 then :
   10129   xorg_cv_cc_flag_unused_command_line_argument=yes
   10130 else case e in #(
   10131   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10132 esac
   10133 fi
   10134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10135 esac
   10136 fi
   10137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10140 	CFLAGS="$xorg_testset_save_CFLAGS"
   10141 fi
   10142 
   10143 found="no"
   10144 
   10145 	if test $found = "no" ; then
   10146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 		fi
   10149 
   10150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10152 		fi
   10153 
   10154 		CFLAGS="$CFLAGS -Wreturn-type"
   10155 
   10156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10157 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10158 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10159 		if eval test \${$cacheid+y}
   10160 then :
   10161   printf %s "(cached) " >&6
   10162 else case e in #(
   10163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10164 /* end confdefs.h.  */
   10165 int i;
   10166 int
   10167 main (void)
   10168 {
   10169 
   10170   ;
   10171   return 0;
   10172 }
   10173 _ACEOF
   10174 if ac_fn_c_try_link "$LINENO"
   10175 then :
   10176   eval $cacheid=yes
   10177 else case e in #(
   10178   e) eval $cacheid=no ;;
   10179 esac
   10180 fi
   10181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10182     conftest$ac_exeext conftest.$ac_ext ;;
   10183 esac
   10184 fi
   10185 
   10186 
   10187 		CFLAGS="$xorg_testset_save_CFLAGS"
   10188 
   10189 		eval supported=\$$cacheid
   10190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10191 printf "%s\n" "$supported" >&6; }
   10192 		if test "$supported" = "yes" ; then
   10193 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10194 			found="yes"
   10195 		fi
   10196 	fi
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 xorg_testset_save_CFLAGS="$CFLAGS"
   10213 
   10214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10216 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10217 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10218 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10219 then :
   10220   printf %s "(cached) " >&6
   10221 else case e in #(
   10222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 int i;
   10225 _ACEOF
   10226 if ac_fn_c_try_compile "$LINENO"
   10227 then :
   10228   xorg_cv_cc_flag_unknown_warning_option=yes
   10229 else case e in #(
   10230   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10231 esac
   10232 fi
   10233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10234 esac
   10235 fi
   10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10239 	CFLAGS="$xorg_testset_save_CFLAGS"
   10240 fi
   10241 
   10242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10245 	fi
   10246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10250 then :
   10251   printf %s "(cached) " >&6
   10252 else case e in #(
   10253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 _ACEOF
   10257 if ac_fn_c_try_compile "$LINENO"
   10258 then :
   10259   xorg_cv_cc_flag_unused_command_line_argument=yes
   10260 else case e in #(
   10261   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10262 esac
   10263 fi
   10264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10265 esac
   10266 fi
   10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10268 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10270 	CFLAGS="$xorg_testset_save_CFLAGS"
   10271 fi
   10272 
   10273 found="no"
   10274 
   10275 	if test $found = "no" ; then
   10276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10278 		fi
   10279 
   10280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10282 		fi
   10283 
   10284 		CFLAGS="$CFLAGS -Wtrigraphs"
   10285 
   10286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10287 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10288 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10289 		if eval test \${$cacheid+y}
   10290 then :
   10291   printf %s "(cached) " >&6
   10292 else case e in #(
   10293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10294 /* end confdefs.h.  */
   10295 int i;
   10296 int
   10297 main (void)
   10298 {
   10299 
   10300   ;
   10301   return 0;
   10302 }
   10303 _ACEOF
   10304 if ac_fn_c_try_link "$LINENO"
   10305 then :
   10306   eval $cacheid=yes
   10307 else case e in #(
   10308   e) eval $cacheid=no ;;
   10309 esac
   10310 fi
   10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10312     conftest$ac_exeext conftest.$ac_ext ;;
   10313 esac
   10314 fi
   10315 
   10316 
   10317 		CFLAGS="$xorg_testset_save_CFLAGS"
   10318 
   10319 		eval supported=\$$cacheid
   10320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10321 printf "%s\n" "$supported" >&6; }
   10322 		if test "$supported" = "yes" ; then
   10323 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10324 			found="yes"
   10325 		fi
   10326 	fi
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 xorg_testset_save_CFLAGS="$CFLAGS"
   10343 
   10344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10348 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10349 then :
   10350   printf %s "(cached) " >&6
   10351 else case e in #(
   10352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10353 /* end confdefs.h.  */
   10354 int i;
   10355 _ACEOF
   10356 if ac_fn_c_try_compile "$LINENO"
   10357 then :
   10358   xorg_cv_cc_flag_unknown_warning_option=yes
   10359 else case e in #(
   10360   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10361 esac
   10362 fi
   10363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10364 esac
   10365 fi
   10366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10367 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10368 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10369 	CFLAGS="$xorg_testset_save_CFLAGS"
   10370 fi
   10371 
   10372 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10373 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10374 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10375 	fi
   10376 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10378 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10379 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10380 then :
   10381   printf %s "(cached) " >&6
   10382 else case e in #(
   10383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10384 /* end confdefs.h.  */
   10385 int i;
   10386 _ACEOF
   10387 if ac_fn_c_try_compile "$LINENO"
   10388 then :
   10389   xorg_cv_cc_flag_unused_command_line_argument=yes
   10390 else case e in #(
   10391   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10392 esac
   10393 fi
   10394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10395 esac
   10396 fi
   10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10398 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10400 	CFLAGS="$xorg_testset_save_CFLAGS"
   10401 fi
   10402 
   10403 found="no"
   10404 
   10405 	if test $found = "no" ; then
   10406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10408 		fi
   10409 
   10410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10412 		fi
   10413 
   10414 		CFLAGS="$CFLAGS -Warray-bounds"
   10415 
   10416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10417 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10418 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10419 		if eval test \${$cacheid+y}
   10420 then :
   10421   printf %s "(cached) " >&6
   10422 else case e in #(
   10423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 int
   10427 main (void)
   10428 {
   10429 
   10430   ;
   10431   return 0;
   10432 }
   10433 _ACEOF
   10434 if ac_fn_c_try_link "$LINENO"
   10435 then :
   10436   eval $cacheid=yes
   10437 else case e in #(
   10438   e) eval $cacheid=no ;;
   10439 esac
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10442     conftest$ac_exeext conftest.$ac_ext ;;
   10443 esac
   10444 fi
   10445 
   10446 
   10447 		CFLAGS="$xorg_testset_save_CFLAGS"
   10448 
   10449 		eval supported=\$$cacheid
   10450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10451 printf "%s\n" "$supported" >&6; }
   10452 		if test "$supported" = "yes" ; then
   10453 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10454 			found="yes"
   10455 		fi
   10456 	fi
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 xorg_testset_save_CFLAGS="$CFLAGS"
   10473 
   10474 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10475 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10477 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10478 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10479 then :
   10480   printf %s "(cached) " >&6
   10481 else case e in #(
   10482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10483 /* end confdefs.h.  */
   10484 int i;
   10485 _ACEOF
   10486 if ac_fn_c_try_compile "$LINENO"
   10487 then :
   10488   xorg_cv_cc_flag_unknown_warning_option=yes
   10489 else case e in #(
   10490   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10491 esac
   10492 fi
   10493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10494 esac
   10495 fi
   10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10497 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10499 	CFLAGS="$xorg_testset_save_CFLAGS"
   10500 fi
   10501 
   10502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10505 	fi
   10506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10507 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10508 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10509 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10510 then :
   10511   printf %s "(cached) " >&6
   10512 else case e in #(
   10513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int i;
   10516 _ACEOF
   10517 if ac_fn_c_try_compile "$LINENO"
   10518 then :
   10519   xorg_cv_cc_flag_unused_command_line_argument=yes
   10520 else case e in #(
   10521   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10522 esac
   10523 fi
   10524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10525 esac
   10526 fi
   10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10530 	CFLAGS="$xorg_testset_save_CFLAGS"
   10531 fi
   10532 
   10533 found="no"
   10534 
   10535 	if test $found = "no" ; then
   10536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10538 		fi
   10539 
   10540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10542 		fi
   10543 
   10544 		CFLAGS="$CFLAGS -Wwrite-strings"
   10545 
   10546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10547 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10548 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10549 		if eval test \${$cacheid+y}
   10550 then :
   10551   printf %s "(cached) " >&6
   10552 else case e in #(
   10553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10554 /* end confdefs.h.  */
   10555 int i;
   10556 int
   10557 main (void)
   10558 {
   10559 
   10560   ;
   10561   return 0;
   10562 }
   10563 _ACEOF
   10564 if ac_fn_c_try_link "$LINENO"
   10565 then :
   10566   eval $cacheid=yes
   10567 else case e in #(
   10568   e) eval $cacheid=no ;;
   10569 esac
   10570 fi
   10571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10572     conftest$ac_exeext conftest.$ac_ext ;;
   10573 esac
   10574 fi
   10575 
   10576 
   10577 		CFLAGS="$xorg_testset_save_CFLAGS"
   10578 
   10579 		eval supported=\$$cacheid
   10580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10581 printf "%s\n" "$supported" >&6; }
   10582 		if test "$supported" = "yes" ; then
   10583 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10584 			found="yes"
   10585 		fi
   10586 	fi
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 xorg_testset_save_CFLAGS="$CFLAGS"
   10603 
   10604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10607 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10608 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10609 then :
   10610   printf %s "(cached) " >&6
   10611 else case e in #(
   10612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10613 /* end confdefs.h.  */
   10614 int i;
   10615 _ACEOF
   10616 if ac_fn_c_try_compile "$LINENO"
   10617 then :
   10618   xorg_cv_cc_flag_unknown_warning_option=yes
   10619 else case e in #(
   10620   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10621 esac
   10622 fi
   10623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10624 esac
   10625 fi
   10626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10627 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10629 	CFLAGS="$xorg_testset_save_CFLAGS"
   10630 fi
   10631 
   10632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10635 	fi
   10636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10640 then :
   10641   printf %s "(cached) " >&6
   10642 else case e in #(
   10643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10644 /* end confdefs.h.  */
   10645 int i;
   10646 _ACEOF
   10647 if ac_fn_c_try_compile "$LINENO"
   10648 then :
   10649   xorg_cv_cc_flag_unused_command_line_argument=yes
   10650 else case e in #(
   10651   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10652 esac
   10653 fi
   10654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10655 esac
   10656 fi
   10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10658 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10660 	CFLAGS="$xorg_testset_save_CFLAGS"
   10661 fi
   10662 
   10663 found="no"
   10664 
   10665 	if test $found = "no" ; then
   10666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10668 		fi
   10669 
   10670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10672 		fi
   10673 
   10674 		CFLAGS="$CFLAGS -Waddress"
   10675 
   10676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10677 printf %s "checking if $CC supports -Waddress... " >&6; }
   10678 		cacheid=xorg_cv_cc_flag__Waddress
   10679 		if eval test \${$cacheid+y}
   10680 then :
   10681   printf %s "(cached) " >&6
   10682 else case e in #(
   10683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10684 /* end confdefs.h.  */
   10685 int i;
   10686 int
   10687 main (void)
   10688 {
   10689 
   10690   ;
   10691   return 0;
   10692 }
   10693 _ACEOF
   10694 if ac_fn_c_try_link "$LINENO"
   10695 then :
   10696   eval $cacheid=yes
   10697 else case e in #(
   10698   e) eval $cacheid=no ;;
   10699 esac
   10700 fi
   10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10702     conftest$ac_exeext conftest.$ac_ext ;;
   10703 esac
   10704 fi
   10705 
   10706 
   10707 		CFLAGS="$xorg_testset_save_CFLAGS"
   10708 
   10709 		eval supported=\$$cacheid
   10710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10711 printf "%s\n" "$supported" >&6; }
   10712 		if test "$supported" = "yes" ; then
   10713 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10714 			found="yes"
   10715 		fi
   10716 	fi
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 xorg_testset_save_CFLAGS="$CFLAGS"
   10733 
   10734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10738 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10739 then :
   10740   printf %s "(cached) " >&6
   10741 else case e in #(
   10742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10743 /* end confdefs.h.  */
   10744 int i;
   10745 _ACEOF
   10746 if ac_fn_c_try_compile "$LINENO"
   10747 then :
   10748   xorg_cv_cc_flag_unknown_warning_option=yes
   10749 else case e in #(
   10750   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10751 esac
   10752 fi
   10753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10754 esac
   10755 fi
   10756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10757 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10759 	CFLAGS="$xorg_testset_save_CFLAGS"
   10760 fi
   10761 
   10762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10765 	fi
   10766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10770 then :
   10771   printf %s "(cached) " >&6
   10772 else case e in #(
   10773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10774 /* end confdefs.h.  */
   10775 int i;
   10776 _ACEOF
   10777 if ac_fn_c_try_compile "$LINENO"
   10778 then :
   10779   xorg_cv_cc_flag_unused_command_line_argument=yes
   10780 else case e in #(
   10781   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10782 esac
   10783 fi
   10784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10785 esac
   10786 fi
   10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10790 	CFLAGS="$xorg_testset_save_CFLAGS"
   10791 fi
   10792 
   10793 found="no"
   10794 
   10795 	if test $found = "no" ; then
   10796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10798 		fi
   10799 
   10800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10802 		fi
   10803 
   10804 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10805 
   10806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10807 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10808 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10809 		if eval test \${$cacheid+y}
   10810 then :
   10811   printf %s "(cached) " >&6
   10812 else case e in #(
   10813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10814 /* end confdefs.h.  */
   10815 int i;
   10816 int
   10817 main (void)
   10818 {
   10819 
   10820   ;
   10821   return 0;
   10822 }
   10823 _ACEOF
   10824 if ac_fn_c_try_link "$LINENO"
   10825 then :
   10826   eval $cacheid=yes
   10827 else case e in #(
   10828   e) eval $cacheid=no ;;
   10829 esac
   10830 fi
   10831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10832     conftest$ac_exeext conftest.$ac_ext ;;
   10833 esac
   10834 fi
   10835 
   10836 
   10837 		CFLAGS="$xorg_testset_save_CFLAGS"
   10838 
   10839 		eval supported=\$$cacheid
   10840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10841 printf "%s\n" "$supported" >&6; }
   10842 		if test "$supported" = "yes" ; then
   10843 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10844 			found="yes"
   10845 		fi
   10846 	fi
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 xorg_testset_save_CFLAGS="$CFLAGS"
   10863 
   10864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10867 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10868 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10869 then :
   10870   printf %s "(cached) " >&6
   10871 else case e in #(
   10872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10873 /* end confdefs.h.  */
   10874 int i;
   10875 _ACEOF
   10876 if ac_fn_c_try_compile "$LINENO"
   10877 then :
   10878   xorg_cv_cc_flag_unknown_warning_option=yes
   10879 else case e in #(
   10880   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10881 esac
   10882 fi
   10883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10884 esac
   10885 fi
   10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10887 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10889 	CFLAGS="$xorg_testset_save_CFLAGS"
   10890 fi
   10891 
   10892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10895 	fi
   10896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10900 then :
   10901   printf %s "(cached) " >&6
   10902 else case e in #(
   10903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10904 /* end confdefs.h.  */
   10905 int i;
   10906 _ACEOF
   10907 if ac_fn_c_try_compile "$LINENO"
   10908 then :
   10909   xorg_cv_cc_flag_unused_command_line_argument=yes
   10910 else case e in #(
   10911   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10912 esac
   10913 fi
   10914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10915 esac
   10916 fi
   10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10920 	CFLAGS="$xorg_testset_save_CFLAGS"
   10921 fi
   10922 
   10923 found="no"
   10924 
   10925 	if test $found = "no" ; then
   10926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10928 		fi
   10929 
   10930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10932 		fi
   10933 
   10934 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10935 
   10936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10937 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10938 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10939 		if eval test \${$cacheid+y}
   10940 then :
   10941   printf %s "(cached) " >&6
   10942 else case e in #(
   10943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10944 /* end confdefs.h.  */
   10945 int i;
   10946 int
   10947 main (void)
   10948 {
   10949 
   10950   ;
   10951   return 0;
   10952 }
   10953 _ACEOF
   10954 if ac_fn_c_try_link "$LINENO"
   10955 then :
   10956   eval $cacheid=yes
   10957 else case e in #(
   10958   e) eval $cacheid=no ;;
   10959 esac
   10960 fi
   10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10962     conftest$ac_exeext conftest.$ac_ext ;;
   10963 esac
   10964 fi
   10965 
   10966 
   10967 		CFLAGS="$xorg_testset_save_CFLAGS"
   10968 
   10969 		eval supported=\$$cacheid
   10970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10971 printf "%s\n" "$supported" >&6; }
   10972 		if test "$supported" = "yes" ; then
   10973 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10974 			found="yes"
   10975 		fi
   10976 	fi
   10977 
   10978 
   10979 fi
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 		CWARNFLAGS="$BASE_CFLAGS"
   10988 		if  test "x$GCC" = xyes ; then
   10989 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10990 		fi
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 # Check whether --enable-strict-compilation was given.
   11000 if test ${enable_strict_compilation+y}
   11001 then :
   11002   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11003 else case e in #(
   11004   e) STRICT_COMPILE=no ;;
   11005 esac
   11006 fi
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 STRICT_CFLAGS=""
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 xorg_testset_save_CFLAGS="$CFLAGS"
   11028 
   11029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11032 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11033 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11034 then :
   11035   printf %s "(cached) " >&6
   11036 else case e in #(
   11037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11038 /* end confdefs.h.  */
   11039 int i;
   11040 _ACEOF
   11041 if ac_fn_c_try_compile "$LINENO"
   11042 then :
   11043   xorg_cv_cc_flag_unknown_warning_option=yes
   11044 else case e in #(
   11045   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11046 esac
   11047 fi
   11048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11049 esac
   11050 fi
   11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11052 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11054 	CFLAGS="$xorg_testset_save_CFLAGS"
   11055 fi
   11056 
   11057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11060 	fi
   11061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11063 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11064 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11065 then :
   11066   printf %s "(cached) " >&6
   11067 else case e in #(
   11068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11069 /* end confdefs.h.  */
   11070 int i;
   11071 _ACEOF
   11072 if ac_fn_c_try_compile "$LINENO"
   11073 then :
   11074   xorg_cv_cc_flag_unused_command_line_argument=yes
   11075 else case e in #(
   11076   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11077 esac
   11078 fi
   11079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11080 esac
   11081 fi
   11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11083 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11085 	CFLAGS="$xorg_testset_save_CFLAGS"
   11086 fi
   11087 
   11088 found="no"
   11089 
   11090 	if test $found = "no" ; then
   11091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11093 		fi
   11094 
   11095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11097 		fi
   11098 
   11099 		CFLAGS="$CFLAGS -pedantic"
   11100 
   11101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11102 printf %s "checking if $CC supports -pedantic... " >&6; }
   11103 		cacheid=xorg_cv_cc_flag__pedantic
   11104 		if eval test \${$cacheid+y}
   11105 then :
   11106   printf %s "(cached) " >&6
   11107 else case e in #(
   11108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11109 /* end confdefs.h.  */
   11110 int i;
   11111 int
   11112 main (void)
   11113 {
   11114 
   11115   ;
   11116   return 0;
   11117 }
   11118 _ACEOF
   11119 if ac_fn_c_try_link "$LINENO"
   11120 then :
   11121   eval $cacheid=yes
   11122 else case e in #(
   11123   e) eval $cacheid=no ;;
   11124 esac
   11125 fi
   11126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11127     conftest$ac_exeext conftest.$ac_ext ;;
   11128 esac
   11129 fi
   11130 
   11131 
   11132 		CFLAGS="$xorg_testset_save_CFLAGS"
   11133 
   11134 		eval supported=\$$cacheid
   11135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11136 printf "%s\n" "$supported" >&6; }
   11137 		if test "$supported" = "yes" ; then
   11138 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11139 			found="yes"
   11140 		fi
   11141 	fi
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 xorg_testset_save_CFLAGS="$CFLAGS"
   11158 
   11159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11164 then :
   11165   printf %s "(cached) " >&6
   11166 else case e in #(
   11167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11168 /* end confdefs.h.  */
   11169 int i;
   11170 _ACEOF
   11171 if ac_fn_c_try_compile "$LINENO"
   11172 then :
   11173   xorg_cv_cc_flag_unknown_warning_option=yes
   11174 else case e in #(
   11175   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11176 esac
   11177 fi
   11178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11179 esac
   11180 fi
   11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11182 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11184 	CFLAGS="$xorg_testset_save_CFLAGS"
   11185 fi
   11186 
   11187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11190 	fi
   11191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11193 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11194 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11195 then :
   11196   printf %s "(cached) " >&6
   11197 else case e in #(
   11198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11199 /* end confdefs.h.  */
   11200 int i;
   11201 _ACEOF
   11202 if ac_fn_c_try_compile "$LINENO"
   11203 then :
   11204   xorg_cv_cc_flag_unused_command_line_argument=yes
   11205 else case e in #(
   11206   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11207 esac
   11208 fi
   11209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11210 esac
   11211 fi
   11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11213 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11215 	CFLAGS="$xorg_testset_save_CFLAGS"
   11216 fi
   11217 
   11218 found="no"
   11219 
   11220 	if test $found = "no" ; then
   11221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11223 		fi
   11224 
   11225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11227 		fi
   11228 
   11229 		CFLAGS="$CFLAGS -Werror"
   11230 
   11231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11232 printf %s "checking if $CC supports -Werror... " >&6; }
   11233 		cacheid=xorg_cv_cc_flag__Werror
   11234 		if eval test \${$cacheid+y}
   11235 then :
   11236   printf %s "(cached) " >&6
   11237 else case e in #(
   11238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11239 /* end confdefs.h.  */
   11240 int i;
   11241 int
   11242 main (void)
   11243 {
   11244 
   11245   ;
   11246   return 0;
   11247 }
   11248 _ACEOF
   11249 if ac_fn_c_try_link "$LINENO"
   11250 then :
   11251   eval $cacheid=yes
   11252 else case e in #(
   11253   e) eval $cacheid=no ;;
   11254 esac
   11255 fi
   11256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11257     conftest$ac_exeext conftest.$ac_ext ;;
   11258 esac
   11259 fi
   11260 
   11261 
   11262 		CFLAGS="$xorg_testset_save_CFLAGS"
   11263 
   11264 		eval supported=\$$cacheid
   11265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11266 printf "%s\n" "$supported" >&6; }
   11267 		if test "$supported" = "yes" ; then
   11268 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11269 			found="yes"
   11270 		fi
   11271 	fi
   11272 
   11273 	if test $found = "no" ; then
   11274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11276 		fi
   11277 
   11278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11280 		fi
   11281 
   11282 		CFLAGS="$CFLAGS -errwarn"
   11283 
   11284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11285 printf %s "checking if $CC supports -errwarn... " >&6; }
   11286 		cacheid=xorg_cv_cc_flag__errwarn
   11287 		if eval test \${$cacheid+y}
   11288 then :
   11289   printf %s "(cached) " >&6
   11290 else case e in #(
   11291   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11292 /* end confdefs.h.  */
   11293 int i;
   11294 int
   11295 main (void)
   11296 {
   11297 
   11298   ;
   11299   return 0;
   11300 }
   11301 _ACEOF
   11302 if ac_fn_c_try_link "$LINENO"
   11303 then :
   11304   eval $cacheid=yes
   11305 else case e in #(
   11306   e) eval $cacheid=no ;;
   11307 esac
   11308 fi
   11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11310     conftest$ac_exeext conftest.$ac_ext ;;
   11311 esac
   11312 fi
   11313 
   11314 
   11315 		CFLAGS="$xorg_testset_save_CFLAGS"
   11316 
   11317 		eval supported=\$$cacheid
   11318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11319 printf "%s\n" "$supported" >&6; }
   11320 		if test "$supported" = "yes" ; then
   11321 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11322 			found="yes"
   11323 		fi
   11324 	fi
   11325 
   11326 
   11327 
   11328 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11329 # activate it with -Werror, so we add it here explicitly.
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 xorg_testset_save_CFLAGS="$CFLAGS"
   11344 
   11345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11348 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11349 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11350 then :
   11351   printf %s "(cached) " >&6
   11352 else case e in #(
   11353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11354 /* end confdefs.h.  */
   11355 int i;
   11356 _ACEOF
   11357 if ac_fn_c_try_compile "$LINENO"
   11358 then :
   11359   xorg_cv_cc_flag_unknown_warning_option=yes
   11360 else case e in #(
   11361   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11362 esac
   11363 fi
   11364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11365 esac
   11366 fi
   11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11368 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11370 	CFLAGS="$xorg_testset_save_CFLAGS"
   11371 fi
   11372 
   11373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11376 	fi
   11377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11379 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11380 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11381 then :
   11382   printf %s "(cached) " >&6
   11383 else case e in #(
   11384   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11385 /* end confdefs.h.  */
   11386 int i;
   11387 _ACEOF
   11388 if ac_fn_c_try_compile "$LINENO"
   11389 then :
   11390   xorg_cv_cc_flag_unused_command_line_argument=yes
   11391 else case e in #(
   11392   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11393 esac
   11394 fi
   11395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11396 esac
   11397 fi
   11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11399 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11401 	CFLAGS="$xorg_testset_save_CFLAGS"
   11402 fi
   11403 
   11404 found="no"
   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 -Werror=attributes"
   11416 
   11417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11418 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11419 		cacheid=xorg_cv_cc_flag__Werror_attributes
   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 -Werror=attributes"
   11455 			found="yes"
   11456 		fi
   11457 	fi
   11458 
   11459 
   11460 
   11461 if test "x$STRICT_COMPILE" = "xyes"; then
   11462     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11463     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11464 fi
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 cat >>confdefs.h <<_ACEOF
   11474 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11475 _ACEOF
   11476 
   11477 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11478 	if test "x$PVM" = "x"; then
   11479 		PVM="0"
   11480 	fi
   11481 
   11482 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11483 
   11484 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11485 	if test "x$PVP" = "x"; then
   11486 		PVP="0"
   11487 	fi
   11488 
   11489 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11490 
   11491 
   11492 
   11493 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11494 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11495 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11496 touch \$(top_srcdir)/ChangeLog; \
   11497 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11498 
   11499 
   11500 
   11501 
   11502 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11503 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11504 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11505 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11506 touch \$(top_srcdir)/INSTALL; \
   11507 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 case $host_os in
   11515     solaris*)
   11516         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11517         # check for a man page file found in later versions that use
   11518         # traditional section numbers instead
   11519         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11520 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11521 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11522 then :
   11523   printf %s "(cached) " >&6
   11524 else case e in #(
   11525   e) test "$cross_compiling" = yes &&
   11526   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11527 if test -r "/usr/share/man/man7/attributes.7"; then
   11528   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11529 else
   11530   ac_cv_file__usr_share_man_man7_attributes_7=no
   11531 fi ;;
   11532 esac
   11533 fi
   11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11535 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11536 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11537 then :
   11538   SYSV_MAN_SECTIONS=false
   11539 else case e in #(
   11540   e) SYSV_MAN_SECTIONS=true ;;
   11541 esac
   11542 fi
   11543 
   11544         ;;
   11545     *) SYSV_MAN_SECTIONS=false ;;
   11546 esac
   11547 
   11548 if test x$APP_MAN_SUFFIX = x    ; then
   11549     APP_MAN_SUFFIX=1
   11550 fi
   11551 if test x$APP_MAN_DIR = x    ; then
   11552     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11553 fi
   11554 
   11555 if test x$LIB_MAN_SUFFIX = x    ; then
   11556     LIB_MAN_SUFFIX=3
   11557 fi
   11558 if test x$LIB_MAN_DIR = x    ; then
   11559     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11560 fi
   11561 
   11562 if test x$FILE_MAN_SUFFIX = x    ; then
   11563     case $SYSV_MAN_SECTIONS in
   11564 	true)				FILE_MAN_SUFFIX=4  ;;
   11565 	*)				FILE_MAN_SUFFIX=5  ;;
   11566     esac
   11567 fi
   11568 if test x$FILE_MAN_DIR = x    ; then
   11569     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11570 fi
   11571 
   11572 if test x$MISC_MAN_SUFFIX = x    ; then
   11573     case $SYSV_MAN_SECTIONS in
   11574 	true)				MISC_MAN_SUFFIX=5  ;;
   11575 	*)				MISC_MAN_SUFFIX=7  ;;
   11576     esac
   11577 fi
   11578 if test x$MISC_MAN_DIR = x    ; then
   11579     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11580 fi
   11581 
   11582 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11583     case $SYSV_MAN_SECTIONS in
   11584 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11585 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11586     esac
   11587 fi
   11588 if test x$DRIVER_MAN_DIR = x    ; then
   11589     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11590 fi
   11591 
   11592 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11593     case $SYSV_MAN_SECTIONS in
   11594 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11595 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11596     esac
   11597 fi
   11598 if test x$ADMIN_MAN_DIR = x    ; then
   11599     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11600 fi
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 XORG_MAN_PAGE="X Version 11"
   11617 
   11618 MAN_SUBSTS="\
   11619 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11620 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11621 	-e 's|__xservername__|Xorg|g' \
   11622 	-e 's|__xconfigfile__|xorg.conf|g' \
   11623 	-e 's|__projectroot__|\$(prefix)|g' \
   11624 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11625 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11626 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11627 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11628 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11629 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11630 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11631 
   11632 
   11633 
   11634 
   11635 AM_DEFAULT_VERBOSITY=0
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   11642 if test "x$ac_cv_func_strlcpy" = xyes
   11643 then :
   11644   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   11645 
   11646 fi
   11647 
   11648 
   11649 # Checks for pkg-config packages
   11650 
   11651 pkg_failed=no
   11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCALC" >&5
   11653 printf %s "checking for XCALC... " >&6; }
   11654 
   11655 if test -n "$XCALC_CFLAGS"; then
   11656     pkg_cv_XCALC_CFLAGS="$XCALC_CFLAGS"
   11657  elif test -n "$PKG_CONFIG"; then
   11658     if test -n "$PKG_CONFIG" && \
   11659     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.22\""; } >&5
   11660   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.22") 2>&5
   11661   ac_status=$?
   11662   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11663   test $ac_status = 0; }; then
   11664   pkg_cv_XCALC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt x11 xproto >= 7.0.22" 2>/dev/null`
   11665 		      test "x$?" != "x0" && pkg_failed=yes
   11666 else
   11667   pkg_failed=yes
   11668 fi
   11669  else
   11670     pkg_failed=untried
   11671 fi
   11672 if test -n "$XCALC_LIBS"; then
   11673     pkg_cv_XCALC_LIBS="$XCALC_LIBS"
   11674  elif test -n "$PKG_CONFIG"; then
   11675     if test -n "$PKG_CONFIG" && \
   11676     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.22\""; } >&5
   11677   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.22") 2>&5
   11678   ac_status=$?
   11679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11680   test $ac_status = 0; }; then
   11681   pkg_cv_XCALC_LIBS=`$PKG_CONFIG --libs "xaw7 xt x11 xproto >= 7.0.22" 2>/dev/null`
   11682 		      test "x$?" != "x0" && pkg_failed=yes
   11683 else
   11684   pkg_failed=yes
   11685 fi
   11686  else
   11687     pkg_failed=untried
   11688 fi
   11689 
   11690 
   11691 
   11692 if test $pkg_failed = yes; then
   11693    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11694 printf "%s\n" "no" >&6; }
   11695 
   11696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11697         _pkg_short_errors_supported=yes
   11698 else
   11699         _pkg_short_errors_supported=no
   11700 fi
   11701         if test $_pkg_short_errors_supported = yes; then
   11702 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.22" 2>&1`
   11703         else
   11704 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.22" 2>&1`
   11705         fi
   11706 	# Put the nasty error message in config.log where it belongs
   11707 	echo "$XCALC_PKG_ERRORS" >&5
   11708 
   11709 	as_fn_error $? "Package requirements (xaw7 xt x11 xproto >= 7.0.22) were not met:
   11710 
   11711 $XCALC_PKG_ERRORS
   11712 
   11713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11714 installed software in a non-standard prefix.
   11715 
   11716 Alternatively, you may set the environment variables XCALC_CFLAGS
   11717 and XCALC_LIBS to avoid the need to call pkg-config.
   11718 See the pkg-config man page for more details." "$LINENO" 5
   11719 elif test $pkg_failed = untried; then
   11720      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11721 printf "%s\n" "no" >&6; }
   11722 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11723 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11724 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11725 is in your PATH or set the PKG_CONFIG environment variable to the full
   11726 path to pkg-config.
   11727 
   11728 Alternatively, you may set the environment variables XCALC_CFLAGS
   11729 and XCALC_LIBS to avoid the need to call pkg-config.
   11730 See the pkg-config man page for more details.
   11731 
   11732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11733 See 'config.log' for more details" "$LINENO" 5; }
   11734 else
   11735 	XCALC_CFLAGS=$pkg_cv_XCALC_CFLAGS
   11736 	XCALC_LIBS=$pkg_cv_XCALC_LIBS
   11737         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11738 printf "%s\n" "yes" >&6; }
   11739 
   11740 fi
   11741 
   11742 
   11743 pkg_failed=no
   11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11745 printf %s "checking for APPDEFS... " >&6; }
   11746 
   11747 if test -n "$APPDEFS_CFLAGS"; then
   11748     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11749  elif test -n "$PKG_CONFIG"; then
   11750     if test -n "$PKG_CONFIG" && \
   11751     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11752   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11753   ac_status=$?
   11754   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11755   test $ac_status = 0; }; then
   11756   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11757 		      test "x$?" != "x0" && pkg_failed=yes
   11758 else
   11759   pkg_failed=yes
   11760 fi
   11761  else
   11762     pkg_failed=untried
   11763 fi
   11764 if test -n "$APPDEFS_LIBS"; then
   11765     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11766  elif test -n "$PKG_CONFIG"; then
   11767     if test -n "$PKG_CONFIG" && \
   11768     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11769   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11770   ac_status=$?
   11771   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11772   test $ac_status = 0; }; then
   11773   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11774 		      test "x$?" != "x0" && pkg_failed=yes
   11775 else
   11776   pkg_failed=yes
   11777 fi
   11778  else
   11779     pkg_failed=untried
   11780 fi
   11781 
   11782 
   11783 
   11784 if test $pkg_failed = yes; then
   11785    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11786 printf "%s\n" "no" >&6; }
   11787 
   11788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11789         _pkg_short_errors_supported=yes
   11790 else
   11791         _pkg_short_errors_supported=no
   11792 fi
   11793         if test $_pkg_short_errors_supported = yes; then
   11794 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11795         else
   11796 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11797         fi
   11798 	# Put the nasty error message in config.log where it belongs
   11799 	echo "$APPDEFS_PKG_ERRORS" >&5
   11800 
   11801 	as_fn_error $? "Package requirements (xt) were not met:
   11802 
   11803 $APPDEFS_PKG_ERRORS
   11804 
   11805 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11806 installed software in a non-standard prefix.
   11807 
   11808 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11809 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11810 See the pkg-config man page for more details." "$LINENO" 5
   11811 elif test $pkg_failed = untried; then
   11812      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11813 printf "%s\n" "no" >&6; }
   11814 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11815 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11816 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11817 is in your PATH or set the PKG_CONFIG environment variable to the full
   11818 path to pkg-config.
   11819 
   11820 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11821 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11822 See the pkg-config man page for more details.
   11823 
   11824 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11825 See 'config.log' for more details" "$LINENO" 5; }
   11826 else
   11827 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11828 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11829         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11830 printf "%s\n" "yes" >&6; }
   11831 
   11832 fi
   11833 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11834 
   11835 # Check whether --with-appdefaultdir was given.
   11836 if test ${with_appdefaultdir+y}
   11837 then :
   11838   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11839 else case e in #(
   11840   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11841 esac
   11842 fi
   11843 
   11844 
   11845 
   11846 
   11847 ac_config_files="$ac_config_files Makefile man/Makefile"
   11848 
   11849 cat >confcache <<\_ACEOF
   11850 # This file is a shell script that caches the results of configure
   11851 # tests run on this system so they can be shared between configure
   11852 # scripts and configure runs, see configure's option --config-cache.
   11853 # It is not useful on other systems.  If it contains results you don't
   11854 # want to keep, you may remove or edit it.
   11855 #
   11856 # config.status only pays attention to the cache file if you give it
   11857 # the --recheck option to rerun configure.
   11858 #
   11859 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11860 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11861 # following values.
   11862 
   11863 _ACEOF
   11864 
   11865 # The following way of writing the cache mishandles newlines in values,
   11866 # but we know of no workaround that is simple, portable, and efficient.
   11867 # So, we kill variables containing newlines.
   11868 # Ultrix sh set writes to stderr and can't be redirected directly,
   11869 # and sets the high bit in the cache file unless we assign to the vars.
   11870 (
   11871   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11872     eval ac_val=\$$ac_var
   11873     case $ac_val in #(
   11874     *${as_nl}*)
   11875       case $ac_var in #(
   11876       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11877 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11878       esac
   11879       case $ac_var in #(
   11880       _ | IFS | as_nl) ;; #(
   11881       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11882       *) { eval $ac_var=; unset $ac_var;} ;;
   11883       esac ;;
   11884     esac
   11885   done
   11886 
   11887   (set) 2>&1 |
   11888     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11889     *${as_nl}ac_space=\ *)
   11890       # 'set' does not quote correctly, so add quotes: double-quote
   11891       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11892       sed -n \
   11893 	"s/'/'\\\\''/g;
   11894 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11895       ;; #(
   11896     *)
   11897       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11898       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11899       ;;
   11900     esac |
   11901     sort
   11902 ) |
   11903   sed '
   11904      /^ac_cv_env_/b end
   11905      t clear
   11906      :clear
   11907      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11908      t end
   11909      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11910      :end' >>confcache
   11911 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11912   if test -w "$cache_file"; then
   11913     if test "x$cache_file" != "x/dev/null"; then
   11914       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11915 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11916       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11917 	cat confcache >"$cache_file"
   11918       else
   11919         case $cache_file in #(
   11920         */* | ?:*)
   11921 	  mv -f confcache "$cache_file"$$ &&
   11922 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11923         *)
   11924 	  mv -f confcache "$cache_file" ;;
   11925 	esac
   11926       fi
   11927     fi
   11928   else
   11929     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11930 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11931   fi
   11932 fi
   11933 rm -f confcache
   11934 
   11935 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11936 # Let make expand exec_prefix.
   11937 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11938 
   11939 DEFS=-DHAVE_CONFIG_H
   11940 
   11941 ac_libobjs=
   11942 ac_ltlibobjs=
   11943 U=
   11944 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11945   # 1. Remove the extension, and $U if already installed.
   11946   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11947   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11948   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11949   #    will be set to the directory where LIBOBJS objects are built.
   11950   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11951   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11952 done
   11953 LIBOBJS=$ac_libobjs
   11954 
   11955 LTLIBOBJS=$ac_ltlibobjs
   11956 
   11957 
   11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11959 printf %s "checking that generated files are newer than configure... " >&6; }
   11960    if test -n "$am_sleep_pid"; then
   11961      # Hide warnings about reused PIDs.
   11962      wait $am_sleep_pid 2>/dev/null
   11963    fi
   11964    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11965 printf "%s\n" "done" >&6; }
   11966 case $enable_silent_rules in # (((
   11967   yes) AM_DEFAULT_VERBOSITY=0;;
   11968    no) AM_DEFAULT_VERBOSITY=1;;
   11969 esac
   11970 if test $am_cv_make_support_nested_variables = yes; then
   11971     AM_V='$(V)'
   11972   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11973 else
   11974   AM_V=$AM_DEFAULT_VERBOSITY
   11975   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11976 fi
   11977 
   11978  if test -n "$EXEEXT"; then
   11979   am__EXEEXT_TRUE=
   11980   am__EXEEXT_FALSE='#'
   11981 else
   11982   am__EXEEXT_TRUE='#'
   11983   am__EXEEXT_FALSE=
   11984 fi
   11985 
   11986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11987   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11989 fi
   11990 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11991   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11993 fi
   11994 
   11995 : "${CONFIG_STATUS=./config.status}"
   11996 ac_write_fail=0
   11997 ac_clean_files_save=$ac_clean_files
   11998 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12000 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12001 as_write_fail=0
   12002 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12003 #! $SHELL
   12004 # Generated by $as_me.
   12005 # Run this file to recreate the current configuration.
   12006 # Compiler output produced by configure, useful for debugging
   12007 # configure, is in config.log if it exists.
   12008 
   12009 debug=false
   12010 ac_cs_recheck=false
   12011 ac_cs_silent=false
   12012 
   12013 SHELL=\${CONFIG_SHELL-$SHELL}
   12014 export SHELL
   12015 _ASEOF
   12016 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12017 ## -------------------- ##
   12018 ## M4sh Initialization. ##
   12019 ## -------------------- ##
   12020 
   12021 # Be more Bourne compatible
   12022 DUALCASE=1; export DUALCASE # for MKS sh
   12023 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12024 then :
   12025   emulate sh
   12026   NULLCMD=:
   12027   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12028   # is contrary to our usage.  Disable this feature.
   12029   alias -g '${1+"$@"}'='"$@"'
   12030   setopt NO_GLOB_SUBST
   12031 else case e in #(
   12032   e) case `(set -o) 2>/dev/null` in #(
   12033   *posix*) :
   12034     set -o posix ;; #(
   12035   *) :
   12036      ;;
   12037 esac ;;
   12038 esac
   12039 fi
   12040 
   12041 
   12042 
   12043 # Reset variables that may have inherited troublesome values from
   12044 # the environment.
   12045 
   12046 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12047 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12048 # side effect of setting IFS to empty, thus disabling word splitting.)
   12049 # Quoting is to prevent editors from complaining about space-tab.
   12050 as_nl='
   12051 '
   12052 export as_nl
   12053 IFS=" ""	$as_nl"
   12054 
   12055 PS1='$ '
   12056 PS2='> '
   12057 PS4='+ '
   12058 
   12059 # Ensure predictable behavior from utilities with locale-dependent output.
   12060 LC_ALL=C
   12061 export LC_ALL
   12062 LANGUAGE=C
   12063 export LANGUAGE
   12064 
   12065 # We cannot yet rely on "unset" to work, but we need these variables
   12066 # to be unset--not just set to an empty or harmless value--now, to
   12067 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12068 # also avoids known problems related to "unset" and subshell syntax
   12069 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12070 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12071 do eval test \${$as_var+y} \
   12072   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12073 done
   12074 
   12075 # Ensure that fds 0, 1, and 2 are open.
   12076 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12077 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12078 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12079 
   12080 # The user is always right.
   12081 if ${PATH_SEPARATOR+false} :; then
   12082   PATH_SEPARATOR=:
   12083   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12084     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12085       PATH_SEPARATOR=';'
   12086   }
   12087 fi
   12088 
   12089 
   12090 # Find who we are.  Look in the path if we contain no directory separator.
   12091 as_myself=
   12092 case $0 in #((
   12093   *[\\/]* ) as_myself=$0 ;;
   12094   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12095 for as_dir in $PATH
   12096 do
   12097   IFS=$as_save_IFS
   12098   case $as_dir in #(((
   12099     '') as_dir=./ ;;
   12100     */) ;;
   12101     *) as_dir=$as_dir/ ;;
   12102   esac
   12103     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12104   done
   12105 IFS=$as_save_IFS
   12106 
   12107      ;;
   12108 esac
   12109 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12110 # in which case we are not to be found in the path.
   12111 if test "x$as_myself" = x; then
   12112   as_myself=$0
   12113 fi
   12114 if test ! -f "$as_myself"; then
   12115   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12116   exit 1
   12117 fi
   12118 
   12119 
   12120 
   12121 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12122 # ----------------------------------------
   12123 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12124 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12125 # script with STATUS, using 1 if that was 0.
   12126 as_fn_error ()
   12127 {
   12128   as_status=$1; test $as_status -eq 0 && as_status=1
   12129   if test "$4"; then
   12130     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12131     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12132   fi
   12133   printf "%s\n" "$as_me: error: $2" >&2
   12134   as_fn_exit $as_status
   12135 } # as_fn_error
   12136 
   12137 
   12138 # as_fn_set_status STATUS
   12139 # -----------------------
   12140 # Set $? to STATUS, without forking.
   12141 as_fn_set_status ()
   12142 {
   12143   return $1
   12144 } # as_fn_set_status
   12145 
   12146 # as_fn_exit STATUS
   12147 # -----------------
   12148 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12149 as_fn_exit ()
   12150 {
   12151   set +e
   12152   as_fn_set_status $1
   12153   exit $1
   12154 } # as_fn_exit
   12155 
   12156 # as_fn_unset VAR
   12157 # ---------------
   12158 # Portably unset VAR.
   12159 as_fn_unset ()
   12160 {
   12161   { eval $1=; unset $1;}
   12162 }
   12163 as_unset=as_fn_unset
   12164 
   12165 # as_fn_append VAR VALUE
   12166 # ----------------------
   12167 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12168 # advantage of any shell optimizations that allow amortized linear growth over
   12169 # repeated appends, instead of the typical quadratic growth present in naive
   12170 # implementations.
   12171 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12172 then :
   12173   eval 'as_fn_append ()
   12174   {
   12175     eval $1+=\$2
   12176   }'
   12177 else case e in #(
   12178   e) as_fn_append ()
   12179   {
   12180     eval $1=\$$1\$2
   12181   } ;;
   12182 esac
   12183 fi # as_fn_append
   12184 
   12185 # as_fn_arith ARG...
   12186 # ------------------
   12187 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12188 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12189 # must be portable across $(()) and expr.
   12190 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12191 then :
   12192   eval 'as_fn_arith ()
   12193   {
   12194     as_val=$(( $* ))
   12195   }'
   12196 else case e in #(
   12197   e) as_fn_arith ()
   12198   {
   12199     as_val=`expr "$@" || test $? -eq 1`
   12200   } ;;
   12201 esac
   12202 fi # as_fn_arith
   12203 
   12204 
   12205 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12206    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12207   as_expr=expr
   12208 else
   12209   as_expr=false
   12210 fi
   12211 
   12212 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12213   as_basename=basename
   12214 else
   12215   as_basename=false
   12216 fi
   12217 
   12218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12219   as_dirname=dirname
   12220 else
   12221   as_dirname=false
   12222 fi
   12223 
   12224 as_me=`$as_basename -- "$0" ||
   12225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12226 	 X"$0" : 'X\(//\)$' \| \
   12227 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12228 printf "%s\n" X/"$0" |
   12229     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12230 	    s//\1/
   12231 	    q
   12232 	  }
   12233 	  /^X\/\(\/\/\)$/{
   12234 	    s//\1/
   12235 	    q
   12236 	  }
   12237 	  /^X\/\(\/\).*/{
   12238 	    s//\1/
   12239 	    q
   12240 	  }
   12241 	  s/.*/./; q'`
   12242 
   12243 # Avoid depending upon Character Ranges.
   12244 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12245 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12246 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12247 as_cr_digits='0123456789'
   12248 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12249 
   12250 
   12251 # Determine whether it's possible to make 'echo' print without a newline.
   12252 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12253 # for compatibility with existing Makefiles.
   12254 ECHO_C= ECHO_N= ECHO_T=
   12255 case `echo -n x` in #(((((
   12256 -n*)
   12257   case `echo 'xy\c'` in
   12258   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12259   xy)  ECHO_C='\c';;
   12260   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12261        ECHO_T='	';;
   12262   esac;;
   12263 *)
   12264   ECHO_N='-n';;
   12265 esac
   12266 
   12267 # For backward compatibility with old third-party macros, we provide
   12268 # the shell variables $as_echo and $as_echo_n.  New code should use
   12269 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12270 as_echo='printf %s\n'
   12271 as_echo_n='printf %s'
   12272 
   12273 rm -f conf$$ conf$$.exe conf$$.file
   12274 if test -d conf$$.dir; then
   12275   rm -f conf$$.dir/conf$$.file
   12276 else
   12277   rm -f conf$$.dir
   12278   mkdir conf$$.dir 2>/dev/null
   12279 fi
   12280 if (echo >conf$$.file) 2>/dev/null; then
   12281   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12282     as_ln_s='ln -s'
   12283     # ... but there are two gotchas:
   12284     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12285     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12286     # In both cases, we have to default to 'cp -pR'.
   12287     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12288       as_ln_s='cp -pR'
   12289   elif ln conf$$.file conf$$ 2>/dev/null; then
   12290     as_ln_s=ln
   12291   else
   12292     as_ln_s='cp -pR'
   12293   fi
   12294 else
   12295   as_ln_s='cp -pR'
   12296 fi
   12297 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12298 rmdir conf$$.dir 2>/dev/null
   12299 
   12300 
   12301 # as_fn_mkdir_p
   12302 # -------------
   12303 # Create "$as_dir" as a directory, including parents if necessary.
   12304 as_fn_mkdir_p ()
   12305 {
   12306 
   12307   case $as_dir in #(
   12308   -*) as_dir=./$as_dir;;
   12309   esac
   12310   test -d "$as_dir" || eval $as_mkdir_p || {
   12311     as_dirs=
   12312     while :; do
   12313       case $as_dir in #(
   12314       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12315       *) as_qdir=$as_dir;;
   12316       esac
   12317       as_dirs="'$as_qdir' $as_dirs"
   12318       as_dir=`$as_dirname -- "$as_dir" ||
   12319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12320 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12321 	 X"$as_dir" : 'X\(//\)$' \| \
   12322 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12323 printf "%s\n" X"$as_dir" |
   12324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12325 	    s//\1/
   12326 	    q
   12327 	  }
   12328 	  /^X\(\/\/\)[^/].*/{
   12329 	    s//\1/
   12330 	    q
   12331 	  }
   12332 	  /^X\(\/\/\)$/{
   12333 	    s//\1/
   12334 	    q
   12335 	  }
   12336 	  /^X\(\/\).*/{
   12337 	    s//\1/
   12338 	    q
   12339 	  }
   12340 	  s/.*/./; q'`
   12341       test -d "$as_dir" && break
   12342     done
   12343     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12344   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12345 
   12346 
   12347 } # as_fn_mkdir_p
   12348 if mkdir -p . 2>/dev/null; then
   12349   as_mkdir_p='mkdir -p "$as_dir"'
   12350 else
   12351   test -d ./-p && rmdir ./-p
   12352   as_mkdir_p=false
   12353 fi
   12354 
   12355 
   12356 # as_fn_executable_p FILE
   12357 # -----------------------
   12358 # Test if FILE is an executable regular file.
   12359 as_fn_executable_p ()
   12360 {
   12361   test -f "$1" && test -x "$1"
   12362 } # as_fn_executable_p
   12363 as_test_x='test -x'
   12364 as_executable_p=as_fn_executable_p
   12365 
   12366 # Sed expression to map a string onto a valid CPP name.
   12367 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12368 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12369 
   12370 # Sed expression to map a string onto a valid variable name.
   12371 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12372 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12373 
   12374 
   12375 exec 6>&1
   12376 ## ----------------------------------- ##
   12377 ## Main body of $CONFIG_STATUS script. ##
   12378 ## ----------------------------------- ##
   12379 _ASEOF
   12380 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12381 
   12382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12383 # Save the log message, to keep $0 and so on meaningful, and to
   12384 # report actual input values of CONFIG_FILES etc. instead of their
   12385 # values after options handling.
   12386 ac_log="
   12387 This file was extended by xcalc $as_me 1.1.3, which was
   12388 generated by GNU Autoconf 2.72.  Invocation command line was
   12389 
   12390   CONFIG_FILES    = $CONFIG_FILES
   12391   CONFIG_HEADERS  = $CONFIG_HEADERS
   12392   CONFIG_LINKS    = $CONFIG_LINKS
   12393   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12394   $ $0 $@
   12395 
   12396 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12397 "
   12398 
   12399 _ACEOF
   12400 
   12401 case $ac_config_files in *"
   12402 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12403 esac
   12404 
   12405 case $ac_config_headers in *"
   12406 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12407 esac
   12408 
   12409 
   12410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12411 # Files that config.status was made for.
   12412 config_files="$ac_config_files"
   12413 config_headers="$ac_config_headers"
   12414 config_commands="$ac_config_commands"
   12415 
   12416 _ACEOF
   12417 
   12418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12419 ac_cs_usage="\
   12420 '$as_me' instantiates files and other configuration actions
   12421 from templates according to the current configuration.  Unless the files
   12422 and actions are specified as TAGs, all are instantiated by default.
   12423 
   12424 Usage: $0 [OPTION]... [TAG]...
   12425 
   12426   -h, --help       print this help, then exit
   12427   -V, --version    print version number and configuration settings, then exit
   12428       --config     print configuration, then exit
   12429   -q, --quiet, --silent
   12430                    do not print progress messages
   12431   -d, --debug      don't remove temporary files
   12432       --recheck    update $as_me by reconfiguring in the same conditions
   12433       --file=FILE[:TEMPLATE]
   12434                    instantiate the configuration file FILE
   12435       --header=FILE[:TEMPLATE]
   12436                    instantiate the configuration header FILE
   12437 
   12438 Configuration files:
   12439 $config_files
   12440 
   12441 Configuration headers:
   12442 $config_headers
   12443 
   12444 Configuration commands:
   12445 $config_commands
   12446 
   12447 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues>."
   12448 
   12449 _ACEOF
   12450 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12451 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12453 ac_cs_config='$ac_cs_config_escaped'
   12454 ac_cs_version="\\
   12455 xcalc config.status 1.1.3
   12456 configured by $0, generated by GNU Autoconf 2.72,
   12457   with options \\"\$ac_cs_config\\"
   12458 
   12459 Copyright (C) 2023 Free Software Foundation, Inc.
   12460 This config.status script is free software; the Free Software Foundation
   12461 gives unlimited permission to copy, distribute and modify it."
   12462 
   12463 ac_pwd='$ac_pwd'
   12464 srcdir='$srcdir'
   12465 INSTALL='$INSTALL'
   12466 MKDIR_P='$MKDIR_P'
   12467 AWK='$AWK'
   12468 test -n "\$AWK" || AWK=awk
   12469 _ACEOF
   12470 
   12471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12472 # The default lists apply if the user does not specify any file.
   12473 ac_need_defaults=:
   12474 while test $# != 0
   12475 do
   12476   case $1 in
   12477   --*=?*)
   12478     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12479     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12480     ac_shift=:
   12481     ;;
   12482   --*=)
   12483     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12484     ac_optarg=
   12485     ac_shift=:
   12486     ;;
   12487   *)
   12488     ac_option=$1
   12489     ac_optarg=$2
   12490     ac_shift=shift
   12491     ;;
   12492   esac
   12493 
   12494   case $ac_option in
   12495   # Handling of the options.
   12496   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12497     ac_cs_recheck=: ;;
   12498   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12499     printf "%s\n" "$ac_cs_version"; exit ;;
   12500   --config | --confi | --conf | --con | --co | --c )
   12501     printf "%s\n" "$ac_cs_config"; exit ;;
   12502   --debug | --debu | --deb | --de | --d | -d )
   12503     debug=: ;;
   12504   --file | --fil | --fi | --f )
   12505     $ac_shift
   12506     case $ac_optarg in
   12507     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12508     '') as_fn_error $? "missing file argument" ;;
   12509     esac
   12510     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12511     ac_need_defaults=false;;
   12512   --header | --heade | --head | --hea )
   12513     $ac_shift
   12514     case $ac_optarg in
   12515     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12516     esac
   12517     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12518     ac_need_defaults=false;;
   12519   --he | --h)
   12520     # Conflict between --help and --header
   12521     as_fn_error $? "ambiguous option: '$1'
   12522 Try '$0 --help' for more information.";;
   12523   --help | --hel | -h )
   12524     printf "%s\n" "$ac_cs_usage"; exit ;;
   12525   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12526   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12527     ac_cs_silent=: ;;
   12528 
   12529   # This is an error.
   12530   -*) as_fn_error $? "unrecognized option: '$1'
   12531 Try '$0 --help' for more information." ;;
   12532 
   12533   *) as_fn_append ac_config_targets " $1"
   12534      ac_need_defaults=false ;;
   12535 
   12536   esac
   12537   shift
   12538 done
   12539 
   12540 ac_configure_extra_args=
   12541 
   12542 if $ac_cs_silent; then
   12543   exec 6>/dev/null
   12544   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12545 fi
   12546 
   12547 _ACEOF
   12548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12549 if \$ac_cs_recheck; then
   12550   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12551   shift
   12552   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12553   CONFIG_SHELL='$SHELL'
   12554   export CONFIG_SHELL
   12555   exec "\$@"
   12556 fi
   12557 
   12558 _ACEOF
   12559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12560 exec 5>>config.log
   12561 {
   12562   echo
   12563   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12564 ## Running $as_me. ##
   12565 _ASBOX
   12566   printf "%s\n" "$ac_log"
   12567 } >&5
   12568 
   12569 _ACEOF
   12570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12571 #
   12572 # INIT-COMMANDS
   12573 #
   12574 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12575 
   12576 _ACEOF
   12577 
   12578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12579 
   12580 # Handling of arguments.
   12581 for ac_config_target in $ac_config_targets
   12582 do
   12583   case $ac_config_target in
   12584     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12585     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12586     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12587     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12588 
   12589   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12590   esac
   12591 done
   12592 
   12593 
   12594 # If the user did not use the arguments to specify the items to instantiate,
   12595 # then the envvar interface is used.  Set only those that are not.
   12596 # We use the long form for the default assignment because of an extremely
   12597 # bizarre bug on SunOS 4.1.3.
   12598 if $ac_need_defaults; then
   12599   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12600   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12601   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12602 fi
   12603 
   12604 # Have a temporary directory for convenience.  Make it in the build tree
   12605 # simply because there is no reason against having it here, and in addition,
   12606 # creating and moving files from /tmp can sometimes cause problems.
   12607 # Hook for its removal unless debugging.
   12608 # Note that there is a small window in which the directory will not be cleaned:
   12609 # after its creation but before its name has been assigned to '$tmp'.
   12610 $debug ||
   12611 {
   12612   tmp= ac_tmp=
   12613   trap 'exit_status=$?
   12614   : "${ac_tmp:=$tmp}"
   12615   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12616 ' 0
   12617   trap 'as_fn_exit 1' 1 2 13 15
   12618 }
   12619 # Create a (secure) tmp directory for tmp files.
   12620 
   12621 {
   12622   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12623   test -d "$tmp"
   12624 }  ||
   12625 {
   12626   tmp=./conf$$-$RANDOM
   12627   (umask 077 && mkdir "$tmp")
   12628 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12629 ac_tmp=$tmp
   12630 
   12631 # Set up the scripts for CONFIG_FILES section.
   12632 # No need to generate them if there are no CONFIG_FILES.
   12633 # This happens for instance with './config.status config.h'.
   12634 if test -n "$CONFIG_FILES"; then
   12635 
   12636 
   12637 ac_cr=`echo X | tr X '\015'`
   12638 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12639 # But we know of no other shell where ac_cr would be empty at this
   12640 # point, so we can use a bashism as a fallback.
   12641 if test "x$ac_cr" = x; then
   12642   eval ac_cr=\$\'\\r\'
   12643 fi
   12644 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12645 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12646   ac_cs_awk_cr='\\r'
   12647 else
   12648   ac_cs_awk_cr=$ac_cr
   12649 fi
   12650 
   12651 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12652 _ACEOF
   12653 
   12654 
   12655 {
   12656   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12657   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12658   echo "_ACEOF"
   12659 } >conf$$subs.sh ||
   12660   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12661 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12662 ac_delim='%!_!# '
   12663 for ac_last_try in false false false false false :; do
   12664   . ./conf$$subs.sh ||
   12665     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12666 
   12667   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12668   if test $ac_delim_n = $ac_delim_num; then
   12669     break
   12670   elif $ac_last_try; then
   12671     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12672   else
   12673     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12674   fi
   12675 done
   12676 rm -f conf$$subs.sh
   12677 
   12678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12679 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12680 _ACEOF
   12681 sed -n '
   12682 h
   12683 s/^/S["/; s/!.*/"]=/
   12684 p
   12685 g
   12686 s/^[^!]*!//
   12687 :repl
   12688 t repl
   12689 s/'"$ac_delim"'$//
   12690 t delim
   12691 :nl
   12692 h
   12693 s/\(.\{148\}\)..*/\1/
   12694 t more1
   12695 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12696 p
   12697 n
   12698 b repl
   12699 :more1
   12700 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12701 p
   12702 g
   12703 s/.\{148\}//
   12704 t nl
   12705 :delim
   12706 h
   12707 s/\(.\{148\}\)..*/\1/
   12708 t more2
   12709 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12710 p
   12711 b
   12712 :more2
   12713 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12714 p
   12715 g
   12716 s/.\{148\}//
   12717 t delim
   12718 ' <conf$$subs.awk | sed '
   12719 /^[^""]/{
   12720   N
   12721   s/\n//
   12722 }
   12723 ' >>$CONFIG_STATUS || ac_write_fail=1
   12724 rm -f conf$$subs.awk
   12725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12726 _ACAWK
   12727 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12728   for (key in S) S_is_set[key] = 1
   12729   FS = ""
   12730 
   12731 }
   12732 {
   12733   line = $ 0
   12734   nfields = split(line, field, "@")
   12735   substed = 0
   12736   len = length(field[1])
   12737   for (i = 2; i < nfields; i++) {
   12738     key = field[i]
   12739     keylen = length(key)
   12740     if (S_is_set[key]) {
   12741       value = S[key]
   12742       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12743       len += length(value) + length(field[++i])
   12744       substed = 1
   12745     } else
   12746       len += 1 + keylen
   12747   }
   12748 
   12749   print line
   12750 }
   12751 
   12752 _ACAWK
   12753 _ACEOF
   12754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12755 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12756   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12757 else
   12758   cat
   12759 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12760   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12761 _ACEOF
   12762 
   12763 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12764 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12765 # trailing colons and then remove the whole line if VPATH becomes empty
   12766 # (actually we leave an empty line to preserve line numbers).
   12767 if test "x$srcdir" = x.; then
   12768   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12769 h
   12770 s///
   12771 s/^/:/
   12772 s/[	 ]*$/:/
   12773 s/:\$(srcdir):/:/g
   12774 s/:\${srcdir}:/:/g
   12775 s/:@srcdir@:/:/g
   12776 s/^:*//
   12777 s/:*$//
   12778 x
   12779 s/\(=[	 ]*\).*/\1/
   12780 G
   12781 s/\n//
   12782 s/^[^=]*=[	 ]*$//
   12783 }'
   12784 fi
   12785 
   12786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12787 fi # test -n "$CONFIG_FILES"
   12788 
   12789 # Set up the scripts for CONFIG_HEADERS section.
   12790 # No need to generate them if there are no CONFIG_HEADERS.
   12791 # This happens for instance with './config.status Makefile'.
   12792 if test -n "$CONFIG_HEADERS"; then
   12793 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12794 BEGIN {
   12795 _ACEOF
   12796 
   12797 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12798 # here-document in config.status, that substitutes the proper values into
   12799 # config.h.in to produce config.h.
   12800 
   12801 # Create a delimiter string that does not exist in confdefs.h, to ease
   12802 # handling of long lines.
   12803 ac_delim='%!_!# '
   12804 for ac_last_try in false false :; do
   12805   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12806   if test -z "$ac_tt"; then
   12807     break
   12808   elif $ac_last_try; then
   12809     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12810   else
   12811     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12812   fi
   12813 done
   12814 
   12815 # For the awk script, D is an array of macro values keyed by name,
   12816 # likewise P contains macro parameters if any.  Preserve backslash
   12817 # newline sequences.
   12818 
   12819 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12820 sed -n '
   12821 s/.\{148\}/&'"$ac_delim"'/g
   12822 t rset
   12823 :rset
   12824 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12825 t def
   12826 d
   12827 :def
   12828 s/\\$//
   12829 t bsnl
   12830 s/["\\]/\\&/g
   12831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12832 D["\1"]=" \3"/p
   12833 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12834 d
   12835 :bsnl
   12836 s/["\\]/\\&/g
   12837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12838 D["\1"]=" \3\\\\\\n"\\/p
   12839 t cont
   12840 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12841 t cont
   12842 d
   12843 :cont
   12844 n
   12845 s/.\{148\}/&'"$ac_delim"'/g
   12846 t clear
   12847 :clear
   12848 s/\\$//
   12849 t bsnlc
   12850 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12851 d
   12852 :bsnlc
   12853 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12854 b cont
   12855 ' <confdefs.h | sed '
   12856 s/'"$ac_delim"'/"\\\
   12857 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12858 
   12859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12860   for (key in D) D_is_set[key] = 1
   12861   FS = ""
   12862 }
   12863 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12864   line = \$ 0
   12865   split(line, arg, " ")
   12866   if (arg[1] == "#") {
   12867     defundef = arg[2]
   12868     mac1 = arg[3]
   12869   } else {
   12870     defundef = substr(arg[1], 2)
   12871     mac1 = arg[2]
   12872   }
   12873   split(mac1, mac2, "(") #)
   12874   macro = mac2[1]
   12875   prefix = substr(line, 1, index(line, defundef) - 1)
   12876   if (D_is_set[macro]) {
   12877     # Preserve the white space surrounding the "#".
   12878     print prefix "define", macro P[macro] D[macro]
   12879     next
   12880   } else {
   12881     # Replace #undef with comments.  This is necessary, for example,
   12882     # in the case of _POSIX_SOURCE, which is predefined and required
   12883     # on some systems where configure will not decide to define it.
   12884     if (defundef == "undef") {
   12885       print "/*", prefix defundef, macro, "*/"
   12886       next
   12887     }
   12888   }
   12889 }
   12890 { print }
   12891 _ACAWK
   12892 _ACEOF
   12893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12894   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12895 fi # test -n "$CONFIG_HEADERS"
   12896 
   12897 
   12898 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12899 shift
   12900 for ac_tag
   12901 do
   12902   case $ac_tag in
   12903   :[FHLC]) ac_mode=$ac_tag; continue;;
   12904   esac
   12905   case $ac_mode$ac_tag in
   12906   :[FHL]*:*);;
   12907   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12908   :[FH]-) ac_tag=-:-;;
   12909   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12910   esac
   12911   ac_save_IFS=$IFS
   12912   IFS=:
   12913   set x $ac_tag
   12914   IFS=$ac_save_IFS
   12915   shift
   12916   ac_file=$1
   12917   shift
   12918 
   12919   case $ac_mode in
   12920   :L) ac_source=$1;;
   12921   :[FH])
   12922     ac_file_inputs=
   12923     for ac_f
   12924     do
   12925       case $ac_f in
   12926       -) ac_f="$ac_tmp/stdin";;
   12927       *) # Look for the file first in the build tree, then in the source tree
   12928 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12929 	 # because $ac_f cannot contain ':'.
   12930 	 test -f "$ac_f" ||
   12931 	   case $ac_f in
   12932 	   [\\/$]*) false;;
   12933 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12934 	   esac ||
   12935 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12936       esac
   12937       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12938       as_fn_append ac_file_inputs " '$ac_f'"
   12939     done
   12940 
   12941     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12942     # use $as_me), people would be surprised to read:
   12943     #    /* config.h.  Generated by config.status.  */
   12944     configure_input='Generated from '`
   12945 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12946 	`' by configure.'
   12947     if test x"$ac_file" != x-; then
   12948       configure_input="$ac_file.  $configure_input"
   12949       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12950 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12951     fi
   12952     # Neutralize special characters interpreted by sed in replacement strings.
   12953     case $configure_input in #(
   12954     *\&* | *\|* | *\\* )
   12955        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12956        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12957     *) ac_sed_conf_input=$configure_input;;
   12958     esac
   12959 
   12960     case $ac_tag in
   12961     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12962       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12963     esac
   12964     ;;
   12965   esac
   12966 
   12967   ac_dir=`$as_dirname -- "$ac_file" ||
   12968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12969 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12970 	 X"$ac_file" : 'X\(//\)$' \| \
   12971 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12972 printf "%s\n" X"$ac_file" |
   12973     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12974 	    s//\1/
   12975 	    q
   12976 	  }
   12977 	  /^X\(\/\/\)[^/].*/{
   12978 	    s//\1/
   12979 	    q
   12980 	  }
   12981 	  /^X\(\/\/\)$/{
   12982 	    s//\1/
   12983 	    q
   12984 	  }
   12985 	  /^X\(\/\).*/{
   12986 	    s//\1/
   12987 	    q
   12988 	  }
   12989 	  s/.*/./; q'`
   12990   as_dir="$ac_dir"; as_fn_mkdir_p
   12991   ac_builddir=.
   12992 
   12993 case "$ac_dir" in
   12994 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12995 *)
   12996   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12997   # A ".." for each directory in $ac_dir_suffix.
   12998   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12999   case $ac_top_builddir_sub in
   13000   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13001   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13002   esac ;;
   13003 esac
   13004 ac_abs_top_builddir=$ac_pwd
   13005 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13006 # for backward compatibility:
   13007 ac_top_builddir=$ac_top_build_prefix
   13008 
   13009 case $srcdir in
   13010   .)  # We are building in place.
   13011     ac_srcdir=.
   13012     ac_top_srcdir=$ac_top_builddir_sub
   13013     ac_abs_top_srcdir=$ac_pwd ;;
   13014   [\\/]* | ?:[\\/]* )  # Absolute name.
   13015     ac_srcdir=$srcdir$ac_dir_suffix;
   13016     ac_top_srcdir=$srcdir
   13017     ac_abs_top_srcdir=$srcdir ;;
   13018   *) # Relative name.
   13019     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13020     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13021     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13022 esac
   13023 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13024 
   13025 
   13026   case $ac_mode in
   13027   :F)
   13028   #
   13029   # CONFIG_FILE
   13030   #
   13031 
   13032   case $INSTALL in
   13033   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13034   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13035   esac
   13036   ac_MKDIR_P=$MKDIR_P
   13037   case $MKDIR_P in
   13038   [\\/$]* | ?:[\\/]* ) ;;
   13039   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13040   esac
   13041 _ACEOF
   13042 
   13043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13044 # If the template does not know about datarootdir, expand it.
   13045 # FIXME: This hack should be removed a few years after 2.60.
   13046 ac_datarootdir_hack=; ac_datarootdir_seen=
   13047 ac_sed_dataroot='
   13048 /datarootdir/ {
   13049   p
   13050   q
   13051 }
   13052 /@datadir@/p
   13053 /@docdir@/p
   13054 /@infodir@/p
   13055 /@localedir@/p
   13056 /@mandir@/p'
   13057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13058 *datarootdir*) ac_datarootdir_seen=yes;;
   13059 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13061 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13062 _ACEOF
   13063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13064   ac_datarootdir_hack='
   13065   s&@datadir@&$datadir&g
   13066   s&@docdir@&$docdir&g
   13067   s&@infodir@&$infodir&g
   13068   s&@localedir@&$localedir&g
   13069   s&@mandir@&$mandir&g
   13070   s&\\\${datarootdir}&$datarootdir&g' ;;
   13071 esac
   13072 _ACEOF
   13073 
   13074 # Neutralize VPATH when '$srcdir' = '.'.
   13075 # Shell code in configure.ac might set extrasub.
   13076 # FIXME: do we really want to maintain this feature?
   13077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13078 ac_sed_extra="$ac_vpsub
   13079 $extrasub
   13080 _ACEOF
   13081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13082 :t
   13083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13084 s|@configure_input@|$ac_sed_conf_input|;t t
   13085 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13086 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13087 s&@srcdir@&$ac_srcdir&;t t
   13088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13089 s&@top_srcdir@&$ac_top_srcdir&;t t
   13090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13091 s&@builddir@&$ac_builddir&;t t
   13092 s&@abs_builddir@&$ac_abs_builddir&;t t
   13093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13094 s&@INSTALL@&$ac_INSTALL&;t t
   13095 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13096 $ac_datarootdir_hack
   13097 "
   13098 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13099   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13100 
   13101 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13102   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13103   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13104       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13106 which seems to be undefined.  Please make sure it is defined" >&5
   13107 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13108 which seems to be undefined.  Please make sure it is defined" >&2;}
   13109 
   13110   rm -f "$ac_tmp/stdin"
   13111   case $ac_file in
   13112   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13113   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13114   esac \
   13115   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13116  ;;
   13117   :H)
   13118   #
   13119   # CONFIG_HEADER
   13120   #
   13121   if test x"$ac_file" != x-; then
   13122     {
   13123       printf "%s\n" "/* $configure_input  */" >&1 \
   13124       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13125     } >"$ac_tmp/config.h" \
   13126       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13127     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13128       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13129 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13130     else
   13131       rm -f "$ac_file"
   13132       mv "$ac_tmp/config.h" "$ac_file" \
   13133 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13134     fi
   13135   else
   13136     printf "%s\n" "/* $configure_input  */" >&1 \
   13137       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13138       || as_fn_error $? "could not create -" "$LINENO" 5
   13139   fi
   13140 # Compute "$ac_file"'s index in $config_headers.
   13141 _am_arg="$ac_file"
   13142 _am_stamp_count=1
   13143 for _am_header in $config_headers :; do
   13144   case $_am_header in
   13145     $_am_arg | $_am_arg:* )
   13146       break ;;
   13147     * )
   13148       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13149   esac
   13150 done
   13151 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13152 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13153 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13154 	 X"$_am_arg" : 'X\(//\)$' \| \
   13155 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13156 printf "%s\n" X"$_am_arg" |
   13157     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13158 	    s//\1/
   13159 	    q
   13160 	  }
   13161 	  /^X\(\/\/\)[^/].*/{
   13162 	    s//\1/
   13163 	    q
   13164 	  }
   13165 	  /^X\(\/\/\)$/{
   13166 	    s//\1/
   13167 	    q
   13168 	  }
   13169 	  /^X\(\/\).*/{
   13170 	    s//\1/
   13171 	    q
   13172 	  }
   13173 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13174  ;;
   13175 
   13176   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13177 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13178  ;;
   13179   esac
   13180 
   13181 
   13182   case $ac_file$ac_mode in
   13183     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13184   # Older Autoconf quotes --file arguments for eval, but not when files
   13185   # are listed without --file.  Let's play safe and only enable the eval
   13186   # if we detect the quoting.
   13187   # TODO: see whether this extra hack can be removed once we start
   13188   # requiring Autoconf 2.70 or later.
   13189   case $CONFIG_FILES in #(
   13190   *\'*) :
   13191     eval set x "$CONFIG_FILES" ;; #(
   13192   *) :
   13193     set x $CONFIG_FILES ;; #(
   13194   *) :
   13195      ;;
   13196 esac
   13197   shift
   13198   # Used to flag and report bootstrapping failures.
   13199   am_rc=0
   13200   for am_mf
   13201   do
   13202     # Strip MF so we end up with the name of the file.
   13203     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13204     # Check whether this is an Automake generated Makefile which includes
   13205     # dependency-tracking related rules and includes.
   13206     # Grep'ing the whole file directly is not great: AIX grep has a line
   13207     # limit of 2048, but all sed's we know have understand at least 4000.
   13208     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13209       || continue
   13210     am_dirpart=`$as_dirname -- "$am_mf" ||
   13211 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13212 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13213 	 X"$am_mf" : 'X\(//\)$' \| \
   13214 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13215 printf "%s\n" X"$am_mf" |
   13216     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13217 	    s//\1/
   13218 	    q
   13219 	  }
   13220 	  /^X\(\/\/\)[^/].*/{
   13221 	    s//\1/
   13222 	    q
   13223 	  }
   13224 	  /^X\(\/\/\)$/{
   13225 	    s//\1/
   13226 	    q
   13227 	  }
   13228 	  /^X\(\/\).*/{
   13229 	    s//\1/
   13230 	    q
   13231 	  }
   13232 	  s/.*/./; q'`
   13233     am_filepart=`$as_basename -- "$am_mf" ||
   13234 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13235 	 X"$am_mf" : 'X\(//\)$' \| \
   13236 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13237 printf "%s\n" X/"$am_mf" |
   13238     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13239 	    s//\1/
   13240 	    q
   13241 	  }
   13242 	  /^X\/\(\/\/\)$/{
   13243 	    s//\1/
   13244 	    q
   13245 	  }
   13246 	  /^X\/\(\/\).*/{
   13247 	    s//\1/
   13248 	    q
   13249 	  }
   13250 	  s/.*/./; q'`
   13251     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13252       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13253         | $MAKE -f - am--depfiles" >&5
   13254    (cd "$am_dirpart" \
   13255       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13256         | $MAKE -f - am--depfiles) >&5 2>&5
   13257    ac_status=$?
   13258    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13259    (exit $ac_status); } || am_rc=$?
   13260   done
   13261   if test $am_rc -ne 0; then
   13262     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13263 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13264 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13265     for automatic dependency tracking.  If GNU make was not used, consider
   13266     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13267     necessary).  You can also try re-running configure with the
   13268     '--disable-dependency-tracking' option to at least be able to build
   13269     the package (albeit without support for automatic dependency tracking).
   13270 See 'config.log' for more details" "$LINENO" 5; }
   13271   fi
   13272   { am_dirpart=; unset am_dirpart;}
   13273   { am_filepart=; unset am_filepart;}
   13274   { am_mf=; unset am_mf;}
   13275   { am_rc=; unset am_rc;}
   13276   rm -f conftest-deps.mk
   13277 }
   13278  ;;
   13279 
   13280   esac
   13281 done # for ac_tag
   13282 
   13283 
   13284 as_fn_exit 0
   13285 _ACEOF
   13286 ac_clean_files=$ac_clean_files_save
   13287 
   13288 test $ac_write_fail = 0 ||
   13289   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13290 
   13291 
   13292 # configure is writing to config.log, and then calls config.status.
   13293 # config.status does its own redirection, appending to config.log.
   13294 # Unfortunately, on DOS this fails, as config.log is still kept open
   13295 # by configure, so config.status won't be able to write to it; its
   13296 # output is simply discarded.  So we exec the FD to /dev/null,
   13297 # effectively closing config.log, so it can be properly (re)opened and
   13298 # appended to by config.status.  When coming back to configure, we
   13299 # need to make the FD available again.
   13300 if test "$no_create" != yes; then
   13301   ac_cs_success=:
   13302   ac_config_status_args=
   13303   test "$silent" = yes &&
   13304     ac_config_status_args="$ac_config_status_args --quiet"
   13305   exec 5>/dev/null
   13306   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13307   exec 5>>config.log
   13308   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13309   # would make configure fail if this is the last instruction.
   13310   $ac_cs_success || as_fn_exit 1
   13311 fi
   13312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13314 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13315 fi
   13316 
   13317 
   13318