Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xcalc 1.1.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xcalc/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xcalc'
    614 PACKAGE_TARNAME='xcalc'
    615 PACKAGE_VERSION='1.1.1'
    616 PACKAGE_STRING='xcalc 1.1.1'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xcalc/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 appdefaultdir
    658 APPDEFS_LIBS
    659 APPDEFS_CFLAGS
    660 XCALC_LIBS
    661 XCALC_CFLAGS
    662 MAN_SUBSTS
    663 XORG_MAN_PAGE
    664 ADMIN_MAN_DIR
    665 DRIVER_MAN_DIR
    666 MISC_MAN_DIR
    667 FILE_MAN_DIR
    668 LIB_MAN_DIR
    669 APP_MAN_DIR
    670 ADMIN_MAN_SUFFIX
    671 DRIVER_MAN_SUFFIX
    672 MISC_MAN_SUFFIX
    673 FILE_MAN_SUFFIX
    674 LIB_MAN_SUFFIX
    675 APP_MAN_SUFFIX
    676 SED
    677 host_os
    678 host_vendor
    679 host_cpu
    680 host
    681 build_os
    682 build_vendor
    683 build_cpu
    684 build
    685 INSTALL_CMD
    686 PKG_CONFIG_LIBDIR
    687 PKG_CONFIG_PATH
    688 PKG_CONFIG
    689 CHANGELOG_CMD
    690 STRICT_CFLAGS
    691 CWARNFLAGS
    692 BASE_CFLAGS
    693 am__fastdepCC_FALSE
    694 am__fastdepCC_TRUE
    695 CCDEPMODE
    696 am__nodep
    697 AMDEPBACKSLASH
    698 AMDEP_FALSE
    699 AMDEP_TRUE
    700 am__include
    701 DEPDIR
    702 OBJEXT
    703 EXEEXT
    704 ac_ct_CC
    705 CPPFLAGS
    706 LDFLAGS
    707 CFLAGS
    708 CC
    709 AM_BACKSLASH
    710 AM_DEFAULT_VERBOSITY
    711 AM_DEFAULT_V
    712 AM_V
    713 CSCOPE
    714 ETAGS
    715 CTAGS
    716 am__untar
    717 am__tar
    718 AMTAR
    719 am__leading_dot
    720 SET_MAKE
    721 AWK
    722 mkdir_p
    723 MKDIR_P
    724 INSTALL_STRIP_PROGRAM
    725 STRIP
    726 install_sh
    727 MAKEINFO
    728 AUTOHEADER
    729 AUTOMAKE
    730 AUTOCONF
    731 ACLOCAL
    732 VERSION
    733 PACKAGE
    734 CYGPATH_W
    735 am__isrc
    736 INSTALL_DATA
    737 INSTALL_SCRIPT
    738 INSTALL_PROGRAM
    739 target_alias
    740 host_alias
    741 build_alias
    742 LIBS
    743 ECHO_T
    744 ECHO_N
    745 ECHO_C
    746 DEFS
    747 mandir
    748 localedir
    749 libdir
    750 psdir
    751 pdfdir
    752 dvidir
    753 htmldir
    754 infodir
    755 docdir
    756 oldincludedir
    757 includedir
    758 runstatedir
    759 localstatedir
    760 sharedstatedir
    761 sysconfdir
    762 datadir
    763 datarootdir
    764 libexecdir
    765 sbindir
    766 bindir
    767 program_transform_name
    768 prefix
    769 exec_prefix
    770 PACKAGE_URL
    771 PACKAGE_BUGREPORT
    772 PACKAGE_STRING
    773 PACKAGE_VERSION
    774 PACKAGE_TARNAME
    775 PACKAGE_NAME
    776 PATH_SEPARATOR
    777 SHELL
    778 am__quote'
    779 ac_subst_files=''
    780 ac_user_opts='
    781 enable_option_checking
    782 enable_silent_rules
    783 enable_dependency_tracking
    784 enable_selective_werror
    785 enable_strict_compilation
    786 with_appdefaultdir
    787 '
    788       ac_precious_vars='build_alias
    789 host_alias
    790 target_alias
    791 CC
    792 CFLAGS
    793 LDFLAGS
    794 LIBS
    795 CPPFLAGS
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR
    799 XCALC_CFLAGS
    800 XCALC_LIBS
    801 APPDEFS_CFLAGS
    802 APPDEFS_LIBS'
    803 
    804 
    805 # Initialize some variables set by options.
    806 ac_init_help=
    807 ac_init_version=false
    808 ac_unrecognized_opts=
    809 ac_unrecognized_sep=
    810 # The variables have the same names as the options, with
    811 # dashes changed to underlines.
    812 cache_file=/dev/null
    813 exec_prefix=NONE
    814 no_create=
    815 no_recursion=
    816 prefix=NONE
    817 program_prefix=NONE
    818 program_suffix=NONE
    819 program_transform_name=s,x,x,
    820 silent=
    821 site=
    822 srcdir=
    823 verbose=
    824 x_includes=NONE
    825 x_libraries=NONE
    826 
    827 # Installation directory options.
    828 # These are left unexpanded so users can "make install exec_prefix=/foo"
    829 # and all the variables that are supposed to be based on exec_prefix
    830 # by default will actually change.
    831 # Use braces instead of parens because sh, perl, etc. also accept them.
    832 # (The list follows the same order as the GNU Coding Standards.)
    833 bindir='${exec_prefix}/bin'
    834 sbindir='${exec_prefix}/sbin'
    835 libexecdir='${exec_prefix}/libexec'
    836 datarootdir='${prefix}/share'
    837 datadir='${datarootdir}'
    838 sysconfdir='${prefix}/etc'
    839 sharedstatedir='${prefix}/com'
    840 localstatedir='${prefix}/var'
    841 runstatedir='${localstatedir}/run'
    842 includedir='${prefix}/include'
    843 oldincludedir='/usr/include'
    844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    845 infodir='${datarootdir}/info'
    846 htmldir='${docdir}'
    847 dvidir='${docdir}'
    848 pdfdir='${docdir}'
    849 psdir='${docdir}'
    850 libdir='${exec_prefix}/lib'
    851 localedir='${datarootdir}/locale'
    852 mandir='${datarootdir}/man'
    853 
    854 ac_prev=
    855 ac_dashdash=
    856 for ac_option
    857 do
    858   # If the previous option needs an argument, assign it.
    859   if test -n "$ac_prev"; then
    860     eval $ac_prev=\$ac_option
    861     ac_prev=
    862     continue
    863   fi
    864 
    865   case $ac_option in
    866   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    867   *=)   ac_optarg= ;;
    868   *)    ac_optarg=yes ;;
    869   esac
    870 
    871   case $ac_dashdash$ac_option in
    872   --)
    873     ac_dashdash=yes ;;
    874 
    875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    876     ac_prev=bindir ;;
    877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    878     bindir=$ac_optarg ;;
    879 
    880   -build | --build | --buil | --bui | --bu)
    881     ac_prev=build_alias ;;
    882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    883     build_alias=$ac_optarg ;;
    884 
    885   -cache-file | --cache-file | --cache-fil | --cache-fi \
    886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    887     ac_prev=cache_file ;;
    888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    890     cache_file=$ac_optarg ;;
    891 
    892   --config-cache | -C)
    893     cache_file=config.cache ;;
    894 
    895   -datadir | --datadir | --datadi | --datad)
    896     ac_prev=datadir ;;
    897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    898     datadir=$ac_optarg ;;
    899 
    900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    901   | --dataroo | --dataro | --datar)
    902     ac_prev=datarootdir ;;
    903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    905     datarootdir=$ac_optarg ;;
    906 
    907   -disable-* | --disable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=no ;;
    922 
    923   -docdir | --docdir | --docdi | --doc | --do)
    924     ac_prev=docdir ;;
    925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    926     docdir=$ac_optarg ;;
    927 
    928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    929     ac_prev=dvidir ;;
    930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    931     dvidir=$ac_optarg ;;
    932 
    933   -enable-* | --enable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=\$ac_optarg ;;
    948 
    949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    951   | --exec | --exe | --ex)
    952     ac_prev=exec_prefix ;;
    953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    955   | --exec=* | --exe=* | --ex=*)
    956     exec_prefix=$ac_optarg ;;
    957 
    958   -gas | --gas | --ga | --g)
    959     # Obsolete; use --with-gas.
    960     with_gas=yes ;;
    961 
    962   -help | --help | --hel | --he | -h)
    963     ac_init_help=long ;;
    964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    965     ac_init_help=recursive ;;
    966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    967     ac_init_help=short ;;
    968 
    969   -host | --host | --hos | --ho)
    970     ac_prev=host_alias ;;
    971   -host=* | --host=* | --hos=* | --ho=*)
    972     host_alias=$ac_optarg ;;
    973 
    974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    975     ac_prev=htmldir ;;
    976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    977   | --ht=*)
    978     htmldir=$ac_optarg ;;
    979 
    980   -includedir | --includedir | --includedi | --included | --include \
    981   | --includ | --inclu | --incl | --inc)
    982     ac_prev=includedir ;;
    983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    984   | --includ=* | --inclu=* | --incl=* | --inc=*)
    985     includedir=$ac_optarg ;;
    986 
    987   -infodir | --infodir | --infodi | --infod | --info | --inf)
    988     ac_prev=infodir ;;
    989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    990     infodir=$ac_optarg ;;
    991 
    992   -libdir | --libdir | --libdi | --libd)
    993     ac_prev=libdir ;;
    994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    995     libdir=$ac_optarg ;;
    996 
    997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    998   | --libexe | --libex | --libe)
    999     ac_prev=libexecdir ;;
   1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1001   | --libexe=* | --libex=* | --libe=*)
   1002     libexecdir=$ac_optarg ;;
   1003 
   1004   -localedir | --localedir | --localedi | --localed | --locale)
   1005     ac_prev=localedir ;;
   1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1007     localedir=$ac_optarg ;;
   1008 
   1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1010   | --localstate | --localstat | --localsta | --localst | --locals)
   1011     ac_prev=localstatedir ;;
   1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1014     localstatedir=$ac_optarg ;;
   1015 
   1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1017     ac_prev=mandir ;;
   1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1019     mandir=$ac_optarg ;;
   1020 
   1021   -nfp | --nfp | --nf)
   1022     # Obsolete; use --without-fp.
   1023     with_fp=no ;;
   1024 
   1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1026   | --no-cr | --no-c | -n)
   1027     no_create=yes ;;
   1028 
   1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1031     no_recursion=yes ;;
   1032 
   1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1035   | --oldin | --oldi | --old | --ol | --o)
   1036     ac_prev=oldincludedir ;;
   1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1040     oldincludedir=$ac_optarg ;;
   1041 
   1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1043     ac_prev=prefix ;;
   1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1045     prefix=$ac_optarg ;;
   1046 
   1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1048   | --program-pre | --program-pr | --program-p)
   1049     ac_prev=program_prefix ;;
   1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1052     program_prefix=$ac_optarg ;;
   1053 
   1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1055   | --program-suf | --program-su | --program-s)
   1056     ac_prev=program_suffix ;;
   1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1059     program_suffix=$ac_optarg ;;
   1060 
   1061   -program-transform-name | --program-transform-name \
   1062   | --program-transform-nam | --program-transform-na \
   1063   | --program-transform-n | --program-transform- \
   1064   | --program-transform | --program-transfor \
   1065   | --program-transfo | --program-transf \
   1066   | --program-trans | --program-tran \
   1067   | --progr-tra | --program-tr | --program-t)
   1068     ac_prev=program_transform_name ;;
   1069   -program-transform-name=* | --program-transform-name=* \
   1070   | --program-transform-nam=* | --program-transform-na=* \
   1071   | --program-transform-n=* | --program-transform-=* \
   1072   | --program-transform=* | --program-transfor=* \
   1073   | --program-transfo=* | --program-transf=* \
   1074   | --program-trans=* | --program-tran=* \
   1075   | --progr-tra=* | --program-tr=* | --program-t=*)
   1076     program_transform_name=$ac_optarg ;;
   1077 
   1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1079     ac_prev=pdfdir ;;
   1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1081     pdfdir=$ac_optarg ;;
   1082 
   1083   -psdir | --psdir | --psdi | --psd | --ps)
   1084     ac_prev=psdir ;;
   1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1086     psdir=$ac_optarg ;;
   1087 
   1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1089   | -silent | --silent | --silen | --sile | --sil)
   1090     silent=yes ;;
   1091 
   1092   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1093   | --runstate | --runstat | --runsta | --runst | --runs \
   1094   | --run | --ru | --r)
   1095     ac_prev=runstatedir ;;
   1096   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1097   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1098   | --run=* | --ru=* | --r=*)
   1099     runstatedir=$ac_optarg ;;
   1100 
   1101   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1102     ac_prev=sbindir ;;
   1103   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1104   | --sbi=* | --sb=*)
   1105     sbindir=$ac_optarg ;;
   1106 
   1107   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1108   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1109   | --sharedst | --shareds | --shared | --share | --shar \
   1110   | --sha | --sh)
   1111     ac_prev=sharedstatedir ;;
   1112   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1113   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1114   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1115   | --sha=* | --sh=*)
   1116     sharedstatedir=$ac_optarg ;;
   1117 
   1118   -site | --site | --sit)
   1119     ac_prev=site ;;
   1120   -site=* | --site=* | --sit=*)
   1121     site=$ac_optarg ;;
   1122 
   1123   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1124     ac_prev=srcdir ;;
   1125   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1126     srcdir=$ac_optarg ;;
   1127 
   1128   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1129   | --syscon | --sysco | --sysc | --sys | --sy)
   1130     ac_prev=sysconfdir ;;
   1131   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1132   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1133     sysconfdir=$ac_optarg ;;
   1134 
   1135   -target | --target | --targe | --targ | --tar | --ta | --t)
   1136     ac_prev=target_alias ;;
   1137   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1138     target_alias=$ac_optarg ;;
   1139 
   1140   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1141     verbose=yes ;;
   1142 
   1143   -version | --version | --versio | --versi | --vers | -V)
   1144     ac_init_version=: ;;
   1145 
   1146   -with-* | --with-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=\$ac_optarg ;;
   1161 
   1162   -without-* | --without-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "with_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval with_$ac_useropt=no ;;
   1177 
   1178   --x)
   1179     # Obsolete; use --with-x.
   1180     with_x=yes ;;
   1181 
   1182   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1183   | --x-incl | --x-inc | --x-in | --x-i)
   1184     ac_prev=x_includes ;;
   1185   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1186   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1187     x_includes=$ac_optarg ;;
   1188 
   1189   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1190   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1191     ac_prev=x_libraries ;;
   1192   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1193   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1194     x_libraries=$ac_optarg ;;
   1195 
   1196   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1197 Try \`$0 --help' for more information"
   1198     ;;
   1199 
   1200   *=*)
   1201     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1202     # Reject names that are not valid shell variable names.
   1203     case $ac_envvar in #(
   1204       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1205       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1206     esac
   1207     eval $ac_envvar=\$ac_optarg
   1208     export $ac_envvar ;;
   1209 
   1210   *)
   1211     # FIXME: should be removed in autoconf 3.0.
   1212     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1213     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1214       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1215     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1216     ;;
   1217 
   1218   esac
   1219 done
   1220 
   1221 if test -n "$ac_prev"; then
   1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1223   as_fn_error $? "missing argument to $ac_option"
   1224 fi
   1225 
   1226 if test -n "$ac_unrecognized_opts"; then
   1227   case $enable_option_checking in
   1228     no) ;;
   1229     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1230     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1231   esac
   1232 fi
   1233 
   1234 # Check all directory arguments for consistency.
   1235 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1236 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1237 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1238 		libdir localedir mandir runstatedir
   1239 do
   1240   eval ac_val=\$$ac_var
   1241   # Remove trailing slashes.
   1242   case $ac_val in
   1243     */ )
   1244       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1245       eval $ac_var=\$ac_val;;
   1246   esac
   1247   # Be sure to have absolute directory names.
   1248   case $ac_val in
   1249     [\\/$]* | ?:[\\/]* )  continue;;
   1250     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1251   esac
   1252   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1253 done
   1254 
   1255 # There might be people who depend on the old broken behavior: `$host'
   1256 # used to hold the argument of --host etc.
   1257 # FIXME: To remove some day.
   1258 build=$build_alias
   1259 host=$host_alias
   1260 target=$target_alias
   1261 
   1262 # FIXME: To remove some day.
   1263 if test "x$host_alias" != x; then
   1264   if test "x$build_alias" = x; then
   1265     cross_compiling=maybe
   1266   elif test "x$build_alias" != "x$host_alias"; then
   1267     cross_compiling=yes
   1268   fi
   1269 fi
   1270 
   1271 ac_tool_prefix=
   1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1273 
   1274 test "$silent" = yes && exec 6>/dev/null
   1275 
   1276 
   1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1278 ac_ls_di=`ls -di .` &&
   1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1280   as_fn_error $? "working directory cannot be determined"
   1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1282   as_fn_error $? "pwd does not report name of working directory"
   1283 
   1284 
   1285 # Find the source files, if location was not specified.
   1286 if test -z "$srcdir"; then
   1287   ac_srcdir_defaulted=yes
   1288   # Try the directory containing this script, then the parent directory.
   1289   ac_confdir=`$as_dirname -- "$as_myself" ||
   1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1291 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1292 	 X"$as_myself" : 'X\(//\)$' \| \
   1293 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1294 printf "%s\n" X"$as_myself" |
   1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)[^/].*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)$/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\).*/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  s/.*/./; q'`
   1312   srcdir=$ac_confdir
   1313   if test ! -r "$srcdir/$ac_unique_file"; then
   1314     srcdir=..
   1315   fi
   1316 else
   1317   ac_srcdir_defaulted=no
   1318 fi
   1319 if test ! -r "$srcdir/$ac_unique_file"; then
   1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1322 fi
   1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1324 ac_abs_confdir=`(
   1325 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1326 	pwd)`
   1327 # When building in place, set srcdir=.
   1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1329   srcdir=.
   1330 fi
   1331 # Remove unnecessary trailing slashes from srcdir.
   1332 # Double slashes in file names in object file debugging info
   1333 # mess up M-x gdb in Emacs.
   1334 case $srcdir in
   1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1336 esac
   1337 for ac_var in $ac_precious_vars; do
   1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_env_${ac_var}_value=\$${ac_var}
   1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1342 done
   1343 
   1344 #
   1345 # Report the --help message.
   1346 #
   1347 if test "$ac_init_help" = "long"; then
   1348   # Omit some internal or obsolete options to make the list less imposing.
   1349   # This message is too long to be a string in the A/UX 3.1 sh.
   1350   cat <<_ACEOF
   1351 \`configure' configures xcalc 1.1.1 to adapt to many kinds of systems.
   1352 
   1353 Usage: $0 [OPTION]... [VAR=VALUE]...
   1354 
   1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1357 
   1358 Defaults for the options are specified in brackets.
   1359 
   1360 Configuration:
   1361   -h, --help              display this help and exit
   1362       --help=short        display options specific to this package
   1363       --help=recursive    display the short help of all the included packages
   1364   -V, --version           display version information and exit
   1365   -q, --quiet, --silent   do not print \`checking ...' messages
   1366       --cache-file=FILE   cache test results in FILE [disabled]
   1367   -C, --config-cache      alias for \`--cache-file=config.cache'
   1368   -n, --no-create         do not create output files
   1369       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1370 
   1371 Installation directories:
   1372   --prefix=PREFIX         install architecture-independent files in PREFIX
   1373                           [$ac_default_prefix]
   1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1375                           [PREFIX]
   1376 
   1377 By default, \`make install' will install all the files in
   1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1380 for instance \`--prefix=\$HOME'.
   1381 
   1382 For better control, use the options below.
   1383 
   1384 Fine tuning of the installation directories:
   1385   --bindir=DIR            user executables [EPREFIX/bin]
   1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1391   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/xcalc]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of xcalc 1.1.1:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --enable-dependency-tracking
   1433                           do not reject slow dependency extractors
   1434   --disable-dependency-tracking
   1435                           speeds up one-time build
   1436   --disable-selective-werror
   1437                           Turn off selective compiler errors. (default:
   1438                           enabled)
   1439   --enable-strict-compilation
   1440                           Enable all warnings from compiler and make them
   1441                           errors (default: disabled)
   1442 
   1443 Optional Packages:
   1444   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1445   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1446   --with-appdefaultdir=<pathname>
   1447                           specify directory for app-defaults files (default is
   1448                           autodetected)
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   PKG_CONFIG  path to pkg-config utility
   1459   PKG_CONFIG_PATH
   1460               directories to add to pkg-config's search path
   1461   PKG_CONFIG_LIBDIR
   1462               path overriding pkg-config's built-in search path
   1463   XCALC_CFLAGS
   1464               C compiler flags for XCALC, overriding pkg-config
   1465   XCALC_LIBS  linker flags for XCALC, overriding pkg-config
   1466   APPDEFS_CFLAGS
   1467               C compiler flags for APPDEFS, overriding pkg-config
   1468   APPDEFS_LIBS
   1469               linker flags for APPDEFS, overriding pkg-config
   1470 
   1471 Use these variables to override the choices made by `configure' or to help
   1472 it to find libraries and programs with nonstandard names/locations.
   1473 
   1474 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>.
   1475 _ACEOF
   1476 ac_status=$?
   1477 fi
   1478 
   1479 if test "$ac_init_help" = "recursive"; then
   1480   # If there are subdirs, report their specific --help.
   1481   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1482     test -d "$ac_dir" ||
   1483       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1484       continue
   1485     ac_builddir=.
   1486 
   1487 case "$ac_dir" in
   1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1489 *)
   1490   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1491   # A ".." for each directory in $ac_dir_suffix.
   1492   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1493   case $ac_top_builddir_sub in
   1494   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1495   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1496   esac ;;
   1497 esac
   1498 ac_abs_top_builddir=$ac_pwd
   1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1500 # for backward compatibility:
   1501 ac_top_builddir=$ac_top_build_prefix
   1502 
   1503 case $srcdir in
   1504   .)  # We are building in place.
   1505     ac_srcdir=.
   1506     ac_top_srcdir=$ac_top_builddir_sub
   1507     ac_abs_top_srcdir=$ac_pwd ;;
   1508   [\\/]* | ?:[\\/]* )  # Absolute name.
   1509     ac_srcdir=$srcdir$ac_dir_suffix;
   1510     ac_top_srcdir=$srcdir
   1511     ac_abs_top_srcdir=$srcdir ;;
   1512   *) # Relative name.
   1513     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1514     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1515     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1516 esac
   1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1518 
   1519     cd "$ac_dir" || { ac_status=$?; continue; }
   1520     # Check for configure.gnu first; this name is used for a wrapper for
   1521     # Metaconfig's "Configure" on case-insensitive file systems.
   1522     if test -f "$ac_srcdir/configure.gnu"; then
   1523       echo &&
   1524       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1525     elif test -f "$ac_srcdir/configure"; then
   1526       echo &&
   1527       $SHELL "$ac_srcdir/configure" --help=recursive
   1528     else
   1529       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1530     fi || ac_status=$?
   1531     cd "$ac_pwd" || { ac_status=$?; break; }
   1532   done
   1533 fi
   1534 
   1535 test -n "$ac_init_help" && exit $ac_status
   1536 if $ac_init_version; then
   1537   cat <<\_ACEOF
   1538 xcalc configure 1.1.1
   1539 generated by GNU Autoconf 2.71
   1540 
   1541 Copyright (C) 2021 Free Software Foundation, Inc.
   1542 This configure script is free software; the Free Software Foundation
   1543 gives unlimited permission to copy, distribute and modify it.
   1544 _ACEOF
   1545   exit
   1546 fi
   1547 
   1548 ## ------------------------ ##
   1549 ## Autoconf initialization. ##
   1550 ## ------------------------ ##
   1551 
   1552 # ac_fn_c_try_compile LINENO
   1553 # --------------------------
   1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1555 ac_fn_c_try_compile ()
   1556 {
   1557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1558   rm -f conftest.$ac_objext conftest.beam
   1559   if { { ac_try="$ac_compile"
   1560 case "(($ac_try" in
   1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1562   *) ac_try_echo=$ac_try;;
   1563 esac
   1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1565 printf "%s\n" "$ac_try_echo"; } >&5
   1566   (eval "$ac_compile") 2>conftest.err
   1567   ac_status=$?
   1568   if test -s conftest.err; then
   1569     grep -v '^ *+' conftest.err >conftest.er1
   1570     cat conftest.er1 >&5
   1571     mv -f conftest.er1 conftest.err
   1572   fi
   1573   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1574   test $ac_status = 0; } && {
   1575 	 test -z "$ac_c_werror_flag" ||
   1576 	 test ! -s conftest.err
   1577        } && test -s conftest.$ac_objext
   1578 then :
   1579   ac_retval=0
   1580 else $as_nop
   1581   printf "%s\n" "$as_me: failed program was:" >&5
   1582 sed 's/^/| /' conftest.$ac_ext >&5
   1583 
   1584 	ac_retval=1
   1585 fi
   1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1587   as_fn_set_status $ac_retval
   1588 
   1589 } # ac_fn_c_try_compile
   1590 
   1591 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1592 # ------------------------------------------------------------------
   1593 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1594 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1595 ac_fn_check_decl ()
   1596 {
   1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1598   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1600 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1601 if eval test \${$3+y}
   1602 then :
   1603   printf %s "(cached) " >&6
   1604 else $as_nop
   1605   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1606   eval ac_save_FLAGS=\$$6
   1607   as_fn_append $6 " $5"
   1608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1609 /* end confdefs.h.  */
   1610 $4
   1611 int
   1612 main (void)
   1613 {
   1614 #ifndef $as_decl_name
   1615 #ifdef __cplusplus
   1616   (void) $as_decl_use;
   1617 #else
   1618   (void) $as_decl_name;
   1619 #endif
   1620 #endif
   1621 
   1622   ;
   1623   return 0;
   1624 }
   1625 _ACEOF
   1626 if ac_fn_c_try_compile "$LINENO"
   1627 then :
   1628   eval "$3=yes"
   1629 else $as_nop
   1630   eval "$3=no"
   1631 fi
   1632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1633   eval $6=\$ac_save_FLAGS
   1634 
   1635 fi
   1636 eval ac_res=\$$3
   1637 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1638 printf "%s\n" "$ac_res" >&6; }
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640 
   1641 } # ac_fn_check_decl
   1642 
   1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1644 # -------------------------------------------------------
   1645 # Tests whether HEADER exists and can be compiled using the include files in
   1646 # INCLUDES, setting the cache variable VAR accordingly.
   1647 ac_fn_c_check_header_compile ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1651 printf %s "checking for $2... " >&6; }
   1652 if eval test \${$3+y}
   1653 then :
   1654   printf %s "(cached) " >&6
   1655 else $as_nop
   1656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1657 /* end confdefs.h.  */
   1658 $4
   1659 #include <$2>
   1660 _ACEOF
   1661 if ac_fn_c_try_compile "$LINENO"
   1662 then :
   1663   eval "$3=yes"
   1664 else $as_nop
   1665   eval "$3=no"
   1666 fi
   1667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   1708   printf "%s\n" "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711 	ac_retval=1
   1712 fi
   1713   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1714   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1715   # interfere with the next link command; also delete a directory that is
   1716   # left behind by Apple's compiler.  We do this before executing the actions.
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_link
   1722 
   1723 # ac_fn_c_check_func LINENO FUNC VAR
   1724 # ----------------------------------
   1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1726 ac_fn_c_check_func ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 printf %s "checking for $2... " >&6; }
   1731 if eval test \${$3+y}
   1732 then :
   1733   printf %s "(cached) " >&6
   1734 else $as_nop
   1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1739 #define $2 innocuous_$2
   1740 
   1741 /* System header to define __stub macros and hopefully few prototypes,
   1742    which can conflict with char $2 (); below.  */
   1743 
   1744 #include <limits.h>
   1745 #undef $2
   1746 
   1747 /* Override any GCC internal prototype to avoid an error.
   1748    Use char because int might match the return type of a GCC
   1749    builtin and then its argument prototype would still apply.  */
   1750 #ifdef __cplusplus
   1751 extern "C"
   1752 #endif
   1753 char $2 ();
   1754 /* The GNU C library defines this for functions which it implements
   1755     to always fail with ENOSYS.  Some functions are actually named
   1756     something starting with __ and the normal name is an alias.  */
   1757 #if defined __stub_$2 || defined __stub___$2
   1758 choke me
   1759 #endif
   1760 
   1761 int
   1762 main (void)
   1763 {
   1764 return $2 ();
   1765   ;
   1766   return 0;
   1767 }
   1768 _ACEOF
   1769 if ac_fn_c_try_link "$LINENO"
   1770 then :
   1771   eval "$3=yes"
   1772 else $as_nop
   1773   eval "$3=no"
   1774 fi
   1775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1776     conftest$ac_exeext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 printf "%s\n" "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_func
   1784 ac_configure_args_raw=
   1785 for ac_arg
   1786 do
   1787   case $ac_arg in
   1788   *\'*)
   1789     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1790   esac
   1791   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1792 done
   1793 
   1794 case $ac_configure_args_raw in
   1795   *$as_nl*)
   1796     ac_safe_unquote= ;;
   1797   *)
   1798     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1799     ac_unsafe_a="$ac_unsafe_z#~"
   1800     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1801     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1802 esac
   1803 
   1804 cat >config.log <<_ACEOF
   1805 This file contains any messages produced by compilers while
   1806 running configure, to aid debugging if configure makes a mistake.
   1807 
   1808 It was created by xcalc $as_me 1.1.1, which was
   1809 generated by GNU Autoconf 2.71.  Invocation command line was
   1810 
   1811   $ $0$ac_configure_args_raw
   1812 
   1813 _ACEOF
   1814 exec 5>>config.log
   1815 {
   1816 cat <<_ASUNAME
   1817 ## --------- ##
   1818 ## Platform. ##
   1819 ## --------- ##
   1820 
   1821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1826 
   1827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1828 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1829 
   1830 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1831 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1833 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1834 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1835 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1836 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1837 
   1838 _ASUNAME
   1839 
   1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1841 for as_dir in $PATH
   1842 do
   1843   IFS=$as_save_IFS
   1844   case $as_dir in #(((
   1845     '') as_dir=./ ;;
   1846     */) ;;
   1847     *) as_dir=$as_dir/ ;;
   1848   esac
   1849     printf "%s\n" "PATH: $as_dir"
   1850   done
   1851 IFS=$as_save_IFS
   1852 
   1853 } >&5
   1854 
   1855 cat >&5 <<_ACEOF
   1856 
   1857 
   1858 ## ----------- ##
   1859 ## Core tests. ##
   1860 ## ----------- ##
   1861 
   1862 _ACEOF
   1863 
   1864 
   1865 # Keep a trace of the command line.
   1866 # Strip out --no-create and --no-recursion so they do not pile up.
   1867 # Strip out --silent because we don't want to record it for future runs.
   1868 # Also quote any args containing shell meta-characters.
   1869 # Make two passes to allow for proper duplicate-argument suppression.
   1870 ac_configure_args=
   1871 ac_configure_args0=
   1872 ac_configure_args1=
   1873 ac_must_keep_next=false
   1874 for ac_pass in 1 2
   1875 do
   1876   for ac_arg
   1877   do
   1878     case $ac_arg in
   1879     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1880     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1881     | -silent | --silent | --silen | --sile | --sil)
   1882       continue ;;
   1883     *\'*)
   1884       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1885     esac
   1886     case $ac_pass in
   1887     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1888     2)
   1889       as_fn_append ac_configure_args1 " '$ac_arg'"
   1890       if test $ac_must_keep_next = true; then
   1891 	ac_must_keep_next=false # Got value, back to normal.
   1892       else
   1893 	case $ac_arg in
   1894 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1895 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1896 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1897 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1898 	    case "$ac_configure_args0 " in
   1899 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1900 	    esac
   1901 	    ;;
   1902 	  -* ) ac_must_keep_next=true ;;
   1903 	esac
   1904       fi
   1905       as_fn_append ac_configure_args " '$ac_arg'"
   1906       ;;
   1907     esac
   1908   done
   1909 done
   1910 { ac_configure_args0=; unset ac_configure_args0;}
   1911 { ac_configure_args1=; unset ac_configure_args1;}
   1912 
   1913 # When interrupted or exit'd, cleanup temporary files, and complete
   1914 # config.log.  We remove comments because anyway the quotes in there
   1915 # would cause problems or look ugly.
   1916 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1917 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1918 trap 'exit_status=$?
   1919   # Sanitize IFS.
   1920   IFS=" ""	$as_nl"
   1921   # Save into config.log some information that might help in debugging.
   1922   {
   1923     echo
   1924 
   1925     printf "%s\n" "## ---------------- ##
   1926 ## Cache variables. ##
   1927 ## ---------------- ##"
   1928     echo
   1929     # The following way of writing the cache mishandles newlines in values,
   1930 (
   1931   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1932     eval ac_val=\$$ac_var
   1933     case $ac_val in #(
   1934     *${as_nl}*)
   1935       case $ac_var in #(
   1936       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1937 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1938       esac
   1939       case $ac_var in #(
   1940       _ | IFS | as_nl) ;; #(
   1941       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1942       *) { eval $ac_var=; unset $ac_var;} ;;
   1943       esac ;;
   1944     esac
   1945   done
   1946   (set) 2>&1 |
   1947     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1948     *${as_nl}ac_space=\ *)
   1949       sed -n \
   1950 	"s/'\''/'\''\\\\'\'''\''/g;
   1951 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1952       ;; #(
   1953     *)
   1954       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1955       ;;
   1956     esac |
   1957     sort
   1958 )
   1959     echo
   1960 
   1961     printf "%s\n" "## ----------------- ##
   1962 ## Output variables. ##
   1963 ## ----------------- ##"
   1964     echo
   1965     for ac_var in $ac_subst_vars
   1966     do
   1967       eval ac_val=\$$ac_var
   1968       case $ac_val in
   1969       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1970       esac
   1971       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1972     done | sort
   1973     echo
   1974 
   1975     if test -n "$ac_subst_files"; then
   1976       printf "%s\n" "## ------------------- ##
   1977 ## File substitutions. ##
   1978 ## ------------------- ##"
   1979       echo
   1980       for ac_var in $ac_subst_files
   1981       do
   1982 	eval ac_val=\$$ac_var
   1983 	case $ac_val in
   1984 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1985 	esac
   1986 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1987       done | sort
   1988       echo
   1989     fi
   1990 
   1991     if test -s confdefs.h; then
   1992       printf "%s\n" "## ----------- ##
   1993 ## confdefs.h. ##
   1994 ## ----------- ##"
   1995       echo
   1996       cat confdefs.h
   1997       echo
   1998     fi
   1999     test "$ac_signal" != 0 &&
   2000       printf "%s\n" "$as_me: caught signal $ac_signal"
   2001     printf "%s\n" "$as_me: exit $exit_status"
   2002   } >&5
   2003   rm -f core *.core core.conftest.* &&
   2004     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2005     exit $exit_status
   2006 ' 0
   2007 for ac_signal in 1 2 13 15; do
   2008   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2009 done
   2010 ac_signal=0
   2011 
   2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2013 rm -f -r conftest* confdefs.h
   2014 
   2015 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2016 
   2017 # Predefined preprocessor variables.
   2018 
   2019 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2020 
   2021 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2022 
   2023 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2024 
   2025 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2026 
   2027 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2028 
   2029 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2030 
   2031 
   2032 # Let the site file select an alternate cache file if it wants to.
   2033 # Prefer an explicitly selected file to automatically selected ones.
   2034 if test -n "$CONFIG_SITE"; then
   2035   ac_site_files="$CONFIG_SITE"
   2036 elif test "x$prefix" != xNONE; then
   2037   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2038 else
   2039   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2040 fi
   2041 
   2042 for ac_site_file in $ac_site_files
   2043 do
   2044   case $ac_site_file in #(
   2045   */*) :
   2046      ;; #(
   2047   *) :
   2048     ac_site_file=./$ac_site_file ;;
   2049 esac
   2050   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2051     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2052 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2053     sed 's/^/| /' "$ac_site_file" >&5
   2054     . "$ac_site_file" \
   2055       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2056 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2057 as_fn_error $? "failed to load site script $ac_site_file
   2058 See \`config.log' for more details" "$LINENO" 5; }
   2059   fi
   2060 done
   2061 
   2062 if test -r "$cache_file"; then
   2063   # Some versions of bash will fail to source /dev/null (special files
   2064   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2065   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2066     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2067 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2068     case $cache_file in
   2069       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2070       *)                      . "./$cache_file";;
   2071     esac
   2072   fi
   2073 else
   2074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2075 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2076   >$cache_file
   2077 fi
   2078 
   2079 # Test code for whether the C compiler supports C89 (global declarations)
   2080 ac_c_conftest_c89_globals='
   2081 /* Does the compiler advertise C89 conformance?
   2082    Do not test the value of __STDC__, because some compilers set it to 0
   2083    while being otherwise adequately conformant. */
   2084 #if !defined __STDC__
   2085 # error "Compiler does not advertise C89 conformance"
   2086 #endif
   2087 
   2088 #include <stddef.h>
   2089 #include <stdarg.h>
   2090 struct stat;
   2091 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2092 struct buf { int x; };
   2093 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2094 static char *e (p, i)
   2095      char **p;
   2096      int i;
   2097 {
   2098   return p[i];
   2099 }
   2100 static char *f (char * (*g) (char **, int), char **p, ...)
   2101 {
   2102   char *s;
   2103   va_list v;
   2104   va_start (v,p);
   2105   s = g (p, va_arg (v,int));
   2106   va_end (v);
   2107   return s;
   2108 }
   2109 
   2110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2111    function prototypes and stuff, but not \xHH hex character constants.
   2112    These do not provoke an error unfortunately, instead are silently treated
   2113    as an "x".  The following induces an error, until -std is added to get
   2114    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2115    array size at least.  It is necessary to write \x00 == 0 to get something
   2116    that is true only with -std.  */
   2117 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2118 
   2119 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2120    inside strings and character constants.  */
   2121 #define FOO(x) '\''x'\''
   2122 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2123 
   2124 int test (int i, double x);
   2125 struct s1 {int (*f) (int a);};
   2126 struct s2 {int (*f) (double a);};
   2127 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2128                int, int);'
   2129 
   2130 # Test code for whether the C compiler supports C89 (body of main).
   2131 ac_c_conftest_c89_main='
   2132 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2133 '
   2134 
   2135 # Test code for whether the C compiler supports C99 (global declarations)
   2136 ac_c_conftest_c99_globals='
   2137 // Does the compiler advertise C99 conformance?
   2138 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2139 # error "Compiler does not advertise C99 conformance"
   2140 #endif
   2141 
   2142 #include <stdbool.h>
   2143 extern int puts (const char *);
   2144 extern int printf (const char *, ...);
   2145 extern int dprintf (int, const char *, ...);
   2146 extern void *malloc (size_t);
   2147 
   2148 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2149 // dprintf is used instead of fprintf to avoid needing to declare
   2150 // FILE and stderr.
   2151 #define debug(...) dprintf (2, __VA_ARGS__)
   2152 #define showlist(...) puts (#__VA_ARGS__)
   2153 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2154 static void
   2155 test_varargs_macros (void)
   2156 {
   2157   int x = 1234;
   2158   int y = 5678;
   2159   debug ("Flag");
   2160   debug ("X = %d\n", x);
   2161   showlist (The first, second, and third items.);
   2162   report (x>y, "x is %d but y is %d", x, y);
   2163 }
   2164 
   2165 // Check long long types.
   2166 #define BIG64 18446744073709551615ull
   2167 #define BIG32 4294967295ul
   2168 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2169 #if !BIG_OK
   2170   #error "your preprocessor is broken"
   2171 #endif
   2172 #if BIG_OK
   2173 #else
   2174   #error "your preprocessor is broken"
   2175 #endif
   2176 static long long int bignum = -9223372036854775807LL;
   2177 static unsigned long long int ubignum = BIG64;
   2178 
   2179 struct incomplete_array
   2180 {
   2181   int datasize;
   2182   double data[];
   2183 };
   2184 
   2185 struct named_init {
   2186   int number;
   2187   const wchar_t *name;
   2188   double average;
   2189 };
   2190 
   2191 typedef const char *ccp;
   2192 
   2193 static inline int
   2194 test_restrict (ccp restrict text)
   2195 {
   2196   // See if C++-style comments work.
   2197   // Iterate through items via the restricted pointer.
   2198   // Also check for declarations in for loops.
   2199   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2200     continue;
   2201   return 0;
   2202 }
   2203 
   2204 // Check varargs and va_copy.
   2205 static bool
   2206 test_varargs (const char *format, ...)
   2207 {
   2208   va_list args;
   2209   va_start (args, format);
   2210   va_list args_copy;
   2211   va_copy (args_copy, args);
   2212 
   2213   const char *str = "";
   2214   int number = 0;
   2215   float fnumber = 0;
   2216 
   2217   while (*format)
   2218     {
   2219       switch (*format++)
   2220 	{
   2221 	case '\''s'\'': // string
   2222 	  str = va_arg (args_copy, const char *);
   2223 	  break;
   2224 	case '\''d'\'': // int
   2225 	  number = va_arg (args_copy, int);
   2226 	  break;
   2227 	case '\''f'\'': // float
   2228 	  fnumber = va_arg (args_copy, double);
   2229 	  break;
   2230 	default:
   2231 	  break;
   2232 	}
   2233     }
   2234   va_end (args_copy);
   2235   va_end (args);
   2236 
   2237   return *str && number && fnumber;
   2238 }
   2239 '
   2240 
   2241 # Test code for whether the C compiler supports C99 (body of main).
   2242 ac_c_conftest_c99_main='
   2243   // Check bool.
   2244   _Bool success = false;
   2245   success |= (argc != 0);
   2246 
   2247   // Check restrict.
   2248   if (test_restrict ("String literal") == 0)
   2249     success = true;
   2250   char *restrict newvar = "Another string";
   2251 
   2252   // Check varargs.
   2253   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2254   test_varargs_macros ();
   2255 
   2256   // Check flexible array members.
   2257   struct incomplete_array *ia =
   2258     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2259   ia->datasize = 10;
   2260   for (int i = 0; i < ia->datasize; ++i)
   2261     ia->data[i] = i * 1.234;
   2262 
   2263   // Check named initializers.
   2264   struct named_init ni = {
   2265     .number = 34,
   2266     .name = L"Test wide string",
   2267     .average = 543.34343,
   2268   };
   2269 
   2270   ni.number = 58;
   2271 
   2272   int dynamic_array[ni.number];
   2273   dynamic_array[0] = argv[0][0];
   2274   dynamic_array[ni.number - 1] = 543;
   2275 
   2276   // work around unused variable warnings
   2277   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2278 	 || dynamic_array[ni.number - 1] != 543);
   2279 '
   2280 
   2281 # Test code for whether the C compiler supports C11 (global declarations)
   2282 ac_c_conftest_c11_globals='
   2283 // Does the compiler advertise C11 conformance?
   2284 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2285 # error "Compiler does not advertise C11 conformance"
   2286 #endif
   2287 
   2288 // Check _Alignas.
   2289 char _Alignas (double) aligned_as_double;
   2290 char _Alignas (0) no_special_alignment;
   2291 extern char aligned_as_int;
   2292 char _Alignas (0) _Alignas (int) aligned_as_int;
   2293 
   2294 // Check _Alignof.
   2295 enum
   2296 {
   2297   int_alignment = _Alignof (int),
   2298   int_array_alignment = _Alignof (int[100]),
   2299   char_alignment = _Alignof (char)
   2300 };
   2301 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2302 
   2303 // Check _Noreturn.
   2304 int _Noreturn does_not_return (void) { for (;;) continue; }
   2305 
   2306 // Check _Static_assert.
   2307 struct test_static_assert
   2308 {
   2309   int x;
   2310   _Static_assert (sizeof (int) <= sizeof (long int),
   2311                   "_Static_assert does not work in struct");
   2312   long int y;
   2313 };
   2314 
   2315 // Check UTF-8 literals.
   2316 #define u8 syntax error!
   2317 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2318 
   2319 // Check duplicate typedefs.
   2320 typedef long *long_ptr;
   2321 typedef long int *long_ptr;
   2322 typedef long_ptr long_ptr;
   2323 
   2324 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2325 struct anonymous
   2326 {
   2327   union {
   2328     struct { int i; int j; };
   2329     struct { int k; long int l; } w;
   2330   };
   2331   int m;
   2332 } v1;
   2333 '
   2334 
   2335 # Test code for whether the C compiler supports C11 (body of main).
   2336 ac_c_conftest_c11_main='
   2337   _Static_assert ((offsetof (struct anonymous, i)
   2338 		   == offsetof (struct anonymous, w.k)),
   2339 		  "Anonymous union alignment botch");
   2340   v1.i = 2;
   2341   v1.w.k = 5;
   2342   ok |= v1.i != 5;
   2343 '
   2344 
   2345 # Test code for whether the C compiler supports C11 (complete).
   2346 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2347 ${ac_c_conftest_c99_globals}
   2348 ${ac_c_conftest_c11_globals}
   2349 
   2350 int
   2351 main (int argc, char **argv)
   2352 {
   2353   int ok = 0;
   2354   ${ac_c_conftest_c89_main}
   2355   ${ac_c_conftest_c99_main}
   2356   ${ac_c_conftest_c11_main}
   2357   return ok;
   2358 }
   2359 "
   2360 
   2361 # Test code for whether the C compiler supports C99 (complete).
   2362 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2363 ${ac_c_conftest_c99_globals}
   2364 
   2365 int
   2366 main (int argc, char **argv)
   2367 {
   2368   int ok = 0;
   2369   ${ac_c_conftest_c89_main}
   2370   ${ac_c_conftest_c99_main}
   2371   return ok;
   2372 }
   2373 "
   2374 
   2375 # Test code for whether the C compiler supports C89 (complete).
   2376 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2377 
   2378 int
   2379 main (int argc, char **argv)
   2380 {
   2381   int ok = 0;
   2382   ${ac_c_conftest_c89_main}
   2383   return ok;
   2384 }
   2385 "
   2386 
   2387 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2388 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2389 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2390 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2391 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2392 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2393 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2394 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2395 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2396 
   2397 # Auxiliary files required by this configure script.
   2398 ac_aux_files="config.guess config.sub compile missing install-sh"
   2399 
   2400 # Locations in which to look for auxiliary files.
   2401 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2402 
   2403 # Search for a directory containing all of the required auxiliary files,
   2404 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2405 # If we don't find one directory that contains all the files we need,
   2406 # we report the set of missing files from the *first* directory in
   2407 # $ac_aux_dir_candidates and give up.
   2408 ac_missing_aux_files=""
   2409 ac_first_candidate=:
   2410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 as_found=false
   2413 for as_dir in $ac_aux_dir_candidates
   2414 do
   2415   IFS=$as_save_IFS
   2416   case $as_dir in #(((
   2417     '') as_dir=./ ;;
   2418     */) ;;
   2419     *) as_dir=$as_dir/ ;;
   2420   esac
   2421   as_found=:
   2422 
   2423   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2424   ac_aux_dir_found=yes
   2425   ac_install_sh=
   2426   for ac_aux in $ac_aux_files
   2427   do
   2428     # As a special case, if "install-sh" is required, that requirement
   2429     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2430     # and $ac_install_sh is set appropriately for whichever one is found.
   2431     if test x"$ac_aux" = x"install-sh"
   2432     then
   2433       if test -f "${as_dir}install-sh"; then
   2434         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2435         ac_install_sh="${as_dir}install-sh -c"
   2436       elif test -f "${as_dir}install.sh"; then
   2437         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2438         ac_install_sh="${as_dir}install.sh -c"
   2439       elif test -f "${as_dir}shtool"; then
   2440         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2441         ac_install_sh="${as_dir}shtool install -c"
   2442       else
   2443         ac_aux_dir_found=no
   2444         if $ac_first_candidate; then
   2445           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2446         else
   2447           break
   2448         fi
   2449       fi
   2450     else
   2451       if test -f "${as_dir}${ac_aux}"; then
   2452         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2453       else
   2454         ac_aux_dir_found=no
   2455         if $ac_first_candidate; then
   2456           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2457         else
   2458           break
   2459         fi
   2460       fi
   2461     fi
   2462   done
   2463   if test "$ac_aux_dir_found" = yes; then
   2464     ac_aux_dir="$as_dir"
   2465     break
   2466   fi
   2467   ac_first_candidate=false
   2468 
   2469   as_found=false
   2470 done
   2471 IFS=$as_save_IFS
   2472 if $as_found
   2473 then :
   2474 
   2475 else $as_nop
   2476   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2477 fi
   2478 
   2479 
   2480 # These three variables are undocumented and unsupported,
   2481 # and are intended to be withdrawn in a future Autoconf release.
   2482 # They can cause serious problems if a builder's source tree is in a directory
   2483 # whose full name contains unusual characters.
   2484 if test -f "${ac_aux_dir}config.guess"; then
   2485   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2486 fi
   2487 if test -f "${ac_aux_dir}config.sub"; then
   2488   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2489 fi
   2490 if test -f "$ac_aux_dir/configure"; then
   2491   ac_configure="$SHELL ${ac_aux_dir}configure"
   2492 fi
   2493 
   2494 # Check that the precious variables saved in the cache have kept the same
   2495 # value.
   2496 ac_cache_corrupted=false
   2497 for ac_var in $ac_precious_vars; do
   2498   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2499   eval ac_new_set=\$ac_env_${ac_var}_set
   2500   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2501   eval ac_new_val=\$ac_env_${ac_var}_value
   2502   case $ac_old_set,$ac_new_set in
   2503     set,)
   2504       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2505 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2506       ac_cache_corrupted=: ;;
   2507     ,set)
   2508       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2509 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2510       ac_cache_corrupted=: ;;
   2511     ,);;
   2512     *)
   2513       if test "x$ac_old_val" != "x$ac_new_val"; then
   2514 	# differences in whitespace do not lead to failure.
   2515 	ac_old_val_w=`echo x $ac_old_val`
   2516 	ac_new_val_w=`echo x $ac_new_val`
   2517 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2518 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2519 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2520 	  ac_cache_corrupted=:
   2521 	else
   2522 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2523 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2524 	  eval $ac_var=\$ac_old_val
   2525 	fi
   2526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2527 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2529 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2530       fi;;
   2531   esac
   2532   # Pass precious variables to config.status.
   2533   if test "$ac_new_set" = set; then
   2534     case $ac_new_val in
   2535     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2536     *) ac_arg=$ac_var=$ac_new_val ;;
   2537     esac
   2538     case " $ac_configure_args " in
   2539       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2540       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2541     esac
   2542   fi
   2543 done
   2544 if $ac_cache_corrupted; then
   2545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2546 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2548 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2549   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2550 	    and start over" "$LINENO" 5
   2551 fi
   2552 ## -------------------- ##
   2553 ## Main body of script. ##
   2554 ## -------------------- ##
   2555 
   2556 ac_ext=c
   2557 ac_cpp='$CPP $CPPFLAGS'
   2558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2561 
   2562 
   2563 
   2564 ac_config_headers="$ac_config_headers config.h"
   2565 
   2566 
   2567 # Initialize Automake
   2568 am__api_version='1.16'
   2569 
   2570 
   2571 
   2572   # Find a good install program.  We prefer a C program (faster),
   2573 # so one script is as good as another.  But avoid the broken or
   2574 # incompatible versions:
   2575 # SysV /etc/install, /usr/sbin/install
   2576 # SunOS /usr/etc/install
   2577 # IRIX /sbin/install
   2578 # AIX /bin/install
   2579 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2583 # OS/2's system install, which has a completely different semantic
   2584 # ./install, which can be erroneously created by make from ./install.sh.
   2585 # Reject install programs that cannot install multiple files.
   2586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2587 printf %s "checking for a BSD-compatible install... " >&6; }
   2588 if test -z "$INSTALL"; then
   2589 if test ${ac_cv_path_install+y}
   2590 then :
   2591   printf %s "(cached) " >&6
   2592 else $as_nop
   2593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2594 for as_dir in $PATH
   2595 do
   2596   IFS=$as_save_IFS
   2597   case $as_dir in #(((
   2598     '') as_dir=./ ;;
   2599     */) ;;
   2600     *) as_dir=$as_dir/ ;;
   2601   esac
   2602     # Account for fact that we put trailing slashes in our PATH walk.
   2603 case $as_dir in #((
   2604   ./ | /[cC]/* | \
   2605   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2606   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2607   /usr/ucb/* ) ;;
   2608   *)
   2609     # OSF1 and SCO ODT 3.0 have their own names for install.
   2610     # Don't use installbsd from OSF since it installs stuff as root
   2611     # by default.
   2612     for ac_prog in ginstall scoinst install; do
   2613       for ac_exec_ext in '' $ac_executable_extensions; do
   2614 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2615 	  if test $ac_prog = install &&
   2616 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2617 	    # AIX install.  It has an incompatible calling convention.
   2618 	    :
   2619 	  elif test $ac_prog = install &&
   2620 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2621 	    # program-specific install script used by HP pwplus--don't use.
   2622 	    :
   2623 	  else
   2624 	    rm -rf conftest.one conftest.two conftest.dir
   2625 	    echo one > conftest.one
   2626 	    echo two > conftest.two
   2627 	    mkdir conftest.dir
   2628 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2629 	      test -s conftest.one && test -s conftest.two &&
   2630 	      test -s conftest.dir/conftest.one &&
   2631 	      test -s conftest.dir/conftest.two
   2632 	    then
   2633 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2634 	      break 3
   2635 	    fi
   2636 	  fi
   2637 	fi
   2638       done
   2639     done
   2640     ;;
   2641 esac
   2642 
   2643   done
   2644 IFS=$as_save_IFS
   2645 
   2646 rm -rf conftest.one conftest.two conftest.dir
   2647 
   2648 fi
   2649   if test ${ac_cv_path_install+y}; then
   2650     INSTALL=$ac_cv_path_install
   2651   else
   2652     # As a last resort, use the slow shell script.  Don't cache a
   2653     # value for INSTALL within a source directory, because that will
   2654     # break other packages using the cache if that directory is
   2655     # removed, or if the value is a relative name.
   2656     INSTALL=$ac_install_sh
   2657   fi
   2658 fi
   2659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2660 printf "%s\n" "$INSTALL" >&6; }
   2661 
   2662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2663 # It thinks the first close brace ends the variable substitution.
   2664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2665 
   2666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2667 
   2668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2669 
   2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2671 printf %s "checking whether build environment is sane... " >&6; }
   2672 # Reject unsafe characters in $srcdir or the absolute working directory
   2673 # name.  Accept space and tab only in the latter.
   2674 am_lf='
   2675 '
   2676 case `pwd` in
   2677   *[\\\"\#\$\&\'\`$am_lf]*)
   2678     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2679 esac
   2680 case $srcdir in
   2681   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2682     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2683 esac
   2684 
   2685 # Do 'set' in a subshell so we don't clobber the current shell's
   2686 # arguments.  Must try -L first in case configure is actually a
   2687 # symlink; some systems play weird games with the mod time of symlinks
   2688 # (eg FreeBSD returns the mod time of the symlink's containing
   2689 # directory).
   2690 if (
   2691    am_has_slept=no
   2692    for am_try in 1 2; do
   2693      echo "timestamp, slept: $am_has_slept" > conftest.file
   2694      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2695      if test "$*" = "X"; then
   2696 	# -L didn't work.
   2697 	set X `ls -t "$srcdir/configure" conftest.file`
   2698      fi
   2699      if test "$*" != "X $srcdir/configure conftest.file" \
   2700 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2701 
   2702 	# If neither matched, then we have a broken ls.  This can happen
   2703 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2704 	# broken ls alias from the environment.  This has actually
   2705 	# happened.  Such a system could not be considered "sane".
   2706 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2707   alias in your environment" "$LINENO" 5
   2708      fi
   2709      if test "$2" = conftest.file || test $am_try -eq 2; then
   2710        break
   2711      fi
   2712      # Just in case.
   2713      sleep 1
   2714      am_has_slept=yes
   2715    done
   2716    test "$2" = conftest.file
   2717    )
   2718 then
   2719    # Ok.
   2720    :
   2721 else
   2722    as_fn_error $? "newly created file is older than distributed files!
   2723 Check your system clock" "$LINENO" 5
   2724 fi
   2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2726 printf "%s\n" "yes" >&6; }
   2727 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2728 # generated files are strictly newer.
   2729 am_sleep_pid=
   2730 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2731   ( sleep 1 ) &
   2732   am_sleep_pid=$!
   2733 fi
   2734 
   2735 rm -f conftest.file
   2736 
   2737 test "$program_prefix" != NONE &&
   2738   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2739 # Use a double $ so make ignores it.
   2740 test "$program_suffix" != NONE &&
   2741   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2742 # Double any \ or $.
   2743 # By default was `s,x,x', remove it if useless.
   2744 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2745 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2746 
   2747 
   2748 # Expand $ac_aux_dir to an absolute path.
   2749 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2750 
   2751 
   2752   if test x"${MISSING+set}" != xset; then
   2753   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2754 fi
   2755 # Use eval to expand $SHELL
   2756 if eval "$MISSING --is-lightweight"; then
   2757   am_missing_run="$MISSING "
   2758 else
   2759   am_missing_run=
   2760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2761 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2762 fi
   2763 
   2764 if test x"${install_sh+set}" != xset; then
   2765   case $am_aux_dir in
   2766   *\ * | *\	*)
   2767     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2768   *)
   2769     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2770   esac
   2771 fi
   2772 
   2773 # Installed binaries are usually stripped using 'strip' when the user
   2774 # run "make install-strip".  However 'strip' might not be the right
   2775 # tool to use in cross-compilation environments, therefore Automake
   2776 # will honor the 'STRIP' environment variable to overrule this program.
   2777 if test "$cross_compiling" != no; then
   2778   if test -n "$ac_tool_prefix"; then
   2779   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2780 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2782 printf %s "checking for $ac_word... " >&6; }
   2783 if test ${ac_cv_prog_STRIP+y}
   2784 then :
   2785   printf %s "(cached) " >&6
   2786 else $as_nop
   2787   if test -n "$STRIP"; then
   2788   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2789 else
   2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2791 for as_dir in $PATH
   2792 do
   2793   IFS=$as_save_IFS
   2794   case $as_dir in #(((
   2795     '') as_dir=./ ;;
   2796     */) ;;
   2797     *) as_dir=$as_dir/ ;;
   2798   esac
   2799     for ac_exec_ext in '' $ac_executable_extensions; do
   2800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2801     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2803     break 2
   2804   fi
   2805 done
   2806   done
   2807 IFS=$as_save_IFS
   2808 
   2809 fi
   2810 fi
   2811 STRIP=$ac_cv_prog_STRIP
   2812 if test -n "$STRIP"; then
   2813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2814 printf "%s\n" "$STRIP" >&6; }
   2815 else
   2816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2817 printf "%s\n" "no" >&6; }
   2818 fi
   2819 
   2820 
   2821 fi
   2822 if test -z "$ac_cv_prog_STRIP"; then
   2823   ac_ct_STRIP=$STRIP
   2824   # Extract the first word of "strip", so it can be a program name with args.
   2825 set dummy strip; ac_word=$2
   2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2827 printf %s "checking for $ac_word... " >&6; }
   2828 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2829 then :
   2830   printf %s "(cached) " >&6
   2831 else $as_nop
   2832   if test -n "$ac_ct_STRIP"; then
   2833   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2834 else
   2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2836 for as_dir in $PATH
   2837 do
   2838   IFS=$as_save_IFS
   2839   case $as_dir in #(((
   2840     '') as_dir=./ ;;
   2841     */) ;;
   2842     *) as_dir=$as_dir/ ;;
   2843   esac
   2844     for ac_exec_ext in '' $ac_executable_extensions; do
   2845   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2846     ac_cv_prog_ac_ct_STRIP="strip"
   2847     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2848     break 2
   2849   fi
   2850 done
   2851   done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi
   2855 fi
   2856 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2857 if test -n "$ac_ct_STRIP"; then
   2858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2859 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2860 else
   2861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2862 printf "%s\n" "no" >&6; }
   2863 fi
   2864 
   2865   if test "x$ac_ct_STRIP" = x; then
   2866     STRIP=":"
   2867   else
   2868     case $cross_compiling:$ac_tool_warned in
   2869 yes:)
   2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2871 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2872 ac_tool_warned=yes ;;
   2873 esac
   2874     STRIP=$ac_ct_STRIP
   2875   fi
   2876 else
   2877   STRIP="$ac_cv_prog_STRIP"
   2878 fi
   2879 
   2880 fi
   2881 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2882 
   2883 
   2884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2885 printf %s "checking for a race-free mkdir -p... " >&6; }
   2886 if test -z "$MKDIR_P"; then
   2887   if test ${ac_cv_path_mkdir+y}
   2888 then :
   2889   printf %s "(cached) " >&6
   2890 else $as_nop
   2891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2892 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2893 do
   2894   IFS=$as_save_IFS
   2895   case $as_dir in #(((
   2896     '') as_dir=./ ;;
   2897     */) ;;
   2898     *) as_dir=$as_dir/ ;;
   2899   esac
   2900     for ac_prog in mkdir gmkdir; do
   2901 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2902 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2903 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2904 	     'mkdir ('*'coreutils) '* | \
   2905 	     'BusyBox '* | \
   2906 	     'mkdir (fileutils) '4.1*)
   2907 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2908 	       break 3;;
   2909 	   esac
   2910 	 done
   2911        done
   2912   done
   2913 IFS=$as_save_IFS
   2914 
   2915 fi
   2916 
   2917   test -d ./--version && rmdir ./--version
   2918   if test ${ac_cv_path_mkdir+y}; then
   2919     MKDIR_P="$ac_cv_path_mkdir -p"
   2920   else
   2921     # As a last resort, use the slow shell script.  Don't cache a
   2922     # value for MKDIR_P within a source directory, because that will
   2923     # break other packages using the cache if that directory is
   2924     # removed, or if the value is a relative name.
   2925     MKDIR_P="$ac_install_sh -d"
   2926   fi
   2927 fi
   2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2929 printf "%s\n" "$MKDIR_P" >&6; }
   2930 
   2931 for ac_prog in gawk mawk nawk awk
   2932 do
   2933   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2934 set dummy $ac_prog; ac_word=$2
   2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2936 printf %s "checking for $ac_word... " >&6; }
   2937 if test ${ac_cv_prog_AWK+y}
   2938 then :
   2939   printf %s "(cached) " >&6
   2940 else $as_nop
   2941   if test -n "$AWK"; then
   2942   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2943 else
   2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2945 for as_dir in $PATH
   2946 do
   2947   IFS=$as_save_IFS
   2948   case $as_dir in #(((
   2949     '') as_dir=./ ;;
   2950     */) ;;
   2951     *) as_dir=$as_dir/ ;;
   2952   esac
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2955     ac_cv_prog_AWK="$ac_prog"
   2956     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960   done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 AWK=$ac_cv_prog_AWK
   2966 if test -n "$AWK"; then
   2967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2968 printf "%s\n" "$AWK" >&6; }
   2969 else
   2970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 printf "%s\n" "no" >&6; }
   2972 fi
   2973 
   2974 
   2975   test -n "$AWK" && break
   2976 done
   2977 
   2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2979 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2980 set x ${MAKE-make}
   2981 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2982 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2983 then :
   2984   printf %s "(cached) " >&6
   2985 else $as_nop
   2986   cat >conftest.make <<\_ACEOF
   2987 SHELL = /bin/sh
   2988 all:
   2989 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2990 _ACEOF
   2991 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2992 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2993   *@@@%%%=?*=@@@%%%*)
   2994     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2995   *)
   2996     eval ac_cv_prog_make_${ac_make}_set=no;;
   2997 esac
   2998 rm -f conftest.make
   2999 fi
   3000 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3002 printf "%s\n" "yes" >&6; }
   3003   SET_MAKE=
   3004 else
   3005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3006 printf "%s\n" "no" >&6; }
   3007   SET_MAKE="MAKE=${MAKE-make}"
   3008 fi
   3009 
   3010 rm -rf .tst 2>/dev/null
   3011 mkdir .tst 2>/dev/null
   3012 if test -d .tst; then
   3013   am__leading_dot=.
   3014 else
   3015   am__leading_dot=_
   3016 fi
   3017 rmdir .tst 2>/dev/null
   3018 
   3019 # Check whether --enable-silent-rules was given.
   3020 if test ${enable_silent_rules+y}
   3021 then :
   3022   enableval=$enable_silent_rules;
   3023 fi
   3024 
   3025 case $enable_silent_rules in # (((
   3026   yes) AM_DEFAULT_VERBOSITY=0;;
   3027    no) AM_DEFAULT_VERBOSITY=1;;
   3028     *) AM_DEFAULT_VERBOSITY=1;;
   3029 esac
   3030 am_make=${MAKE-make}
   3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3032 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3033 if test ${am_cv_make_support_nested_variables+y}
   3034 then :
   3035   printf %s "(cached) " >&6
   3036 else $as_nop
   3037   if printf "%s\n" 'TRUE=$(BAR$(V))
   3038 BAR0=false
   3039 BAR1=true
   3040 V=1
   3041 am__doit:
   3042 	@$(TRUE)
   3043 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3044   am_cv_make_support_nested_variables=yes
   3045 else
   3046   am_cv_make_support_nested_variables=no
   3047 fi
   3048 fi
   3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3050 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3051 if test $am_cv_make_support_nested_variables = yes; then
   3052     AM_V='$(V)'
   3053   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3054 else
   3055   AM_V=$AM_DEFAULT_VERBOSITY
   3056   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3057 fi
   3058 AM_BACKSLASH='\'
   3059 
   3060 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3061   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3062   # is not polluted with repeated "-I."
   3063   am__isrc=' -I$(srcdir)'
   3064   # test to see if srcdir already configured
   3065   if test -f $srcdir/config.status; then
   3066     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3067   fi
   3068 fi
   3069 
   3070 # test whether we have cygpath
   3071 if test -z "$CYGPATH_W"; then
   3072   if (cygpath --version) >/dev/null 2>/dev/null; then
   3073     CYGPATH_W='cygpath -w'
   3074   else
   3075     CYGPATH_W=echo
   3076   fi
   3077 fi
   3078 
   3079 
   3080 # Define the identity of the package.
   3081  PACKAGE='xcalc'
   3082  VERSION='1.1.1'
   3083 
   3084 
   3085 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3086 
   3087 
   3088 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3089 
   3090 # Some tools Automake needs.
   3091 
   3092 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3093 
   3094 
   3095 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3096 
   3097 
   3098 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3099 
   3100 
   3101 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3102 
   3103 
   3104 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3105 
   3106 # For better backward compatibility.  To be removed once Automake 1.9.x
   3107 # dies out for good.  For more background, see:
   3108 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3109 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3110 mkdir_p='$(MKDIR_P)'
   3111 
   3112 # We need awk for the "check" target (and possibly the TAP driver).  The
   3113 # system "awk" is bad on some platforms.
   3114 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3115 # in the wild :-(  We should find a proper way to deprecate it ...
   3116 AMTAR='$${TAR-tar}'
   3117 
   3118 
   3119 # We'll loop over all known methods to create a tar archive until one works.
   3120 _am_tools='gnutar  pax cpio none'
   3121 
   3122 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 # Variables for tags utilities; see am/tags.am
   3129 if test -z "$CTAGS"; then
   3130   CTAGS=ctags
   3131 fi
   3132 
   3133 if test -z "$ETAGS"; then
   3134   ETAGS=etags
   3135 fi
   3136 
   3137 if test -z "$CSCOPE"; then
   3138   CSCOPE=cscope
   3139 fi
   3140 
   3141 
   3142 
   3143 # POSIX will say in a future version that running "rm -f" with no argument
   3144 # is OK; and we want to be able to make that assumption in our Makefile
   3145 # recipes.  So use an aggressive probe to check that the usage we want is
   3146 # actually supported "in the wild" to an acceptable degree.
   3147 # See automake bug#10828.
   3148 # To make any issue more visible, cause the running configure to be aborted
   3149 # by default if the 'rm' program in use doesn't match our expectations; the
   3150 # user can still override this though.
   3151 if rm -f && rm -fr && rm -rf; then : OK; else
   3152   cat >&2 <<'END'
   3153 Oops!
   3154 
   3155 Your 'rm' program seems unable to run without file operands specified
   3156 on the command line, even when the '-f' option is present.  This is contrary
   3157 to the behaviour of most rm programs out there, and not conforming with
   3158 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3159 
   3160 Please tell bug-automake@gnu.org about your system, including the value
   3161 of your $PATH and any error possibly output before this message.  This
   3162 can help us improve future automake versions.
   3163 
   3164 END
   3165   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3166     echo 'Configuration will proceed anyway, since you have set the' >&2
   3167     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3168     echo >&2
   3169   else
   3170     cat >&2 <<'END'
   3171 Aborting the configuration process, to ensure you take notice of the issue.
   3172 
   3173 You can download and install GNU coreutils to get an 'rm' implementation
   3174 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3175 
   3176 If you want to complete the configuration process using your problematic
   3177 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3178 to "yes", and re-run configure.
   3179 
   3180 END
   3181     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3182   fi
   3183 fi
   3184 
   3185 
   3186 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3187 
   3188 
   3189 
   3190 
   3191 
   3192 
   3193 
   3194 
   3195 
   3196 
   3197 
   3198 
   3199 
   3200 
   3201 
   3202 
   3203 
   3204 
   3205 
   3206 
   3207 DEPDIR="${am__leading_dot}deps"
   3208 
   3209 ac_config_commands="$ac_config_commands depfiles"
   3210 
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3212 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3213 cat > confinc.mk << 'END'
   3214 am__doit:
   3215 	@echo this is the am__doit target >confinc.out
   3216 .PHONY: am__doit
   3217 END
   3218 am__include="#"
   3219 am__quote=
   3220 # BSD make does it like this.
   3221 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3222 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3223 echo 'include confinc.mk # ignored' > confmf.GNU
   3224 _am_result=no
   3225 for s in GNU BSD; do
   3226   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3227    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3228    ac_status=$?
   3229    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3230    (exit $ac_status); }
   3231   case $?:`cat confinc.out 2>/dev/null` in #(
   3232   '0:this is the am__doit target') :
   3233     case $s in #(
   3234   BSD) :
   3235     am__include='.include' am__quote='"' ;; #(
   3236   *) :
   3237     am__include='include' am__quote='' ;;
   3238 esac ;; #(
   3239   *) :
   3240      ;;
   3241 esac
   3242   if test "$am__include" != "#"; then
   3243     _am_result="yes ($s style)"
   3244     break
   3245   fi
   3246 done
   3247 rm -f confinc.* confmf.*
   3248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3249 printf "%s\n" "${_am_result}" >&6; }
   3250 
   3251 # Check whether --enable-dependency-tracking was given.
   3252 if test ${enable_dependency_tracking+y}
   3253 then :
   3254   enableval=$enable_dependency_tracking;
   3255 fi
   3256 
   3257 if test "x$enable_dependency_tracking" != xno; then
   3258   am_depcomp="$ac_aux_dir/depcomp"
   3259   AMDEPBACKSLASH='\'
   3260   am__nodep='_no'
   3261 fi
   3262  if test "x$enable_dependency_tracking" != xno; then
   3263   AMDEP_TRUE=
   3264   AMDEP_FALSE='#'
   3265 else
   3266   AMDEP_TRUE='#'
   3267   AMDEP_FALSE=
   3268 fi
   3269 
   3270 
   3271 ac_ext=c
   3272 ac_cpp='$CPP $CPPFLAGS'
   3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3276 if test -n "$ac_tool_prefix"; then
   3277   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3280 printf %s "checking for $ac_word... " >&6; }
   3281 if test ${ac_cv_prog_CC+y}
   3282 then :
   3283   printf %s "(cached) " >&6
   3284 else $as_nop
   3285   if test -n "$CC"; then
   3286   ac_cv_prog_CC="$CC" # Let the user override the test.
   3287 else
   3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3289 for as_dir in $PATH
   3290 do
   3291   IFS=$as_save_IFS
   3292   case $as_dir in #(((
   3293     '') as_dir=./ ;;
   3294     */) ;;
   3295     *) as_dir=$as_dir/ ;;
   3296   esac
   3297     for ac_exec_ext in '' $ac_executable_extensions; do
   3298   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3299     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3300     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3301     break 2
   3302   fi
   3303 done
   3304   done
   3305 IFS=$as_save_IFS
   3306 
   3307 fi
   3308 fi
   3309 CC=$ac_cv_prog_CC
   3310 if test -n "$CC"; then
   3311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3312 printf "%s\n" "$CC" >&6; }
   3313 else
   3314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3315 printf "%s\n" "no" >&6; }
   3316 fi
   3317 
   3318 
   3319 fi
   3320 if test -z "$ac_cv_prog_CC"; then
   3321   ac_ct_CC=$CC
   3322   # Extract the first word of "gcc", so it can be a program name with args.
   3323 set dummy gcc; ac_word=$2
   3324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3325 printf %s "checking for $ac_word... " >&6; }
   3326 if test ${ac_cv_prog_ac_ct_CC+y}
   3327 then :
   3328   printf %s "(cached) " >&6
   3329 else $as_nop
   3330   if test -n "$ac_ct_CC"; then
   3331   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3332 else
   3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3334 for as_dir in $PATH
   3335 do
   3336   IFS=$as_save_IFS
   3337   case $as_dir in #(((
   3338     '') as_dir=./ ;;
   3339     */) ;;
   3340     *) as_dir=$as_dir/ ;;
   3341   esac
   3342     for ac_exec_ext in '' $ac_executable_extensions; do
   3343   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3344     ac_cv_prog_ac_ct_CC="gcc"
   3345     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3346     break 2
   3347   fi
   3348 done
   3349   done
   3350 IFS=$as_save_IFS
   3351 
   3352 fi
   3353 fi
   3354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3355 if test -n "$ac_ct_CC"; then
   3356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3357 printf "%s\n" "$ac_ct_CC" >&6; }
   3358 else
   3359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3360 printf "%s\n" "no" >&6; }
   3361 fi
   3362 
   3363   if test "x$ac_ct_CC" = x; then
   3364     CC=""
   3365   else
   3366     case $cross_compiling:$ac_tool_warned in
   3367 yes:)
   3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3369 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3370 ac_tool_warned=yes ;;
   3371 esac
   3372     CC=$ac_ct_CC
   3373   fi
   3374 else
   3375   CC="$ac_cv_prog_CC"
   3376 fi
   3377 
   3378 if test -z "$CC"; then
   3379           if test -n "$ac_tool_prefix"; then
   3380     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3381 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3383 printf %s "checking for $ac_word... " >&6; }
   3384 if test ${ac_cv_prog_CC+y}
   3385 then :
   3386   printf %s "(cached) " >&6
   3387 else $as_nop
   3388   if test -n "$CC"; then
   3389   ac_cv_prog_CC="$CC" # Let the user override the test.
   3390 else
   3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3392 for as_dir in $PATH
   3393 do
   3394   IFS=$as_save_IFS
   3395   case $as_dir in #(((
   3396     '') as_dir=./ ;;
   3397     */) ;;
   3398     *) as_dir=$as_dir/ ;;
   3399   esac
   3400     for ac_exec_ext in '' $ac_executable_extensions; do
   3401   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3402     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3403     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3404     break 2
   3405   fi
   3406 done
   3407   done
   3408 IFS=$as_save_IFS
   3409 
   3410 fi
   3411 fi
   3412 CC=$ac_cv_prog_CC
   3413 if test -n "$CC"; then
   3414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3415 printf "%s\n" "$CC" >&6; }
   3416 else
   3417   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3418 printf "%s\n" "no" >&6; }
   3419 fi
   3420 
   3421 
   3422   fi
   3423 fi
   3424 if test -z "$CC"; then
   3425   # Extract the first word of "cc", so it can be a program name with args.
   3426 set dummy cc; ac_word=$2
   3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3428 printf %s "checking for $ac_word... " >&6; }
   3429 if test ${ac_cv_prog_CC+y}
   3430 then :
   3431   printf %s "(cached) " >&6
   3432 else $as_nop
   3433   if test -n "$CC"; then
   3434   ac_cv_prog_CC="$CC" # Let the user override the test.
   3435 else
   3436   ac_prog_rejected=no
   3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3438 for as_dir in $PATH
   3439 do
   3440   IFS=$as_save_IFS
   3441   case $as_dir in #(((
   3442     '') as_dir=./ ;;
   3443     */) ;;
   3444     *) as_dir=$as_dir/ ;;
   3445   esac
   3446     for ac_exec_ext in '' $ac_executable_extensions; do
   3447   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3448     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3449        ac_prog_rejected=yes
   3450        continue
   3451      fi
   3452     ac_cv_prog_CC="cc"
   3453     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3454     break 2
   3455   fi
   3456 done
   3457   done
   3458 IFS=$as_save_IFS
   3459 
   3460 if test $ac_prog_rejected = yes; then
   3461   # We found a bogon in the path, so make sure we never use it.
   3462   set dummy $ac_cv_prog_CC
   3463   shift
   3464   if test $# != 0; then
   3465     # We chose a different compiler from the bogus one.
   3466     # However, it has the same basename, so the bogon will be chosen
   3467     # first if we set CC to just the basename; use the full file name.
   3468     shift
   3469     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3470   fi
   3471 fi
   3472 fi
   3473 fi
   3474 CC=$ac_cv_prog_CC
   3475 if test -n "$CC"; then
   3476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3477 printf "%s\n" "$CC" >&6; }
   3478 else
   3479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3480 printf "%s\n" "no" >&6; }
   3481 fi
   3482 
   3483 
   3484 fi
   3485 if test -z "$CC"; then
   3486   if test -n "$ac_tool_prefix"; then
   3487   for ac_prog in cl.exe
   3488   do
   3489     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492 printf %s "checking for $ac_word... " >&6; }
   3493 if test ${ac_cv_prog_CC+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else $as_nop
   3497   if test -n "$CC"; then
   3498   ac_cv_prog_CC="$CC" # Let the user override the test.
   3499 else
   3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3501 for as_dir in $PATH
   3502 do
   3503   IFS=$as_save_IFS
   3504   case $as_dir in #(((
   3505     '') as_dir=./ ;;
   3506     */) ;;
   3507     *) as_dir=$as_dir/ ;;
   3508   esac
   3509     for ac_exec_ext in '' $ac_executable_extensions; do
   3510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3511     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3513     break 2
   3514   fi
   3515 done
   3516   done
   3517 IFS=$as_save_IFS
   3518 
   3519 fi
   3520 fi
   3521 CC=$ac_cv_prog_CC
   3522 if test -n "$CC"; then
   3523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3524 printf "%s\n" "$CC" >&6; }
   3525 else
   3526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3527 printf "%s\n" "no" >&6; }
   3528 fi
   3529 
   3530 
   3531     test -n "$CC" && break
   3532   done
   3533 fi
   3534 if test -z "$CC"; then
   3535   ac_ct_CC=$CC
   3536   for ac_prog in cl.exe
   3537 do
   3538   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3539 set dummy $ac_prog; ac_word=$2
   3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3541 printf %s "checking for $ac_word... " >&6; }
   3542 if test ${ac_cv_prog_ac_ct_CC+y}
   3543 then :
   3544   printf %s "(cached) " >&6
   3545 else $as_nop
   3546   if test -n "$ac_ct_CC"; then
   3547   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3548 else
   3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3550 for as_dir in $PATH
   3551 do
   3552   IFS=$as_save_IFS
   3553   case $as_dir in #(((
   3554     '') as_dir=./ ;;
   3555     */) ;;
   3556     *) as_dir=$as_dir/ ;;
   3557   esac
   3558     for ac_exec_ext in '' $ac_executable_extensions; do
   3559   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3560     ac_cv_prog_ac_ct_CC="$ac_prog"
   3561     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3562     break 2
   3563   fi
   3564 done
   3565   done
   3566 IFS=$as_save_IFS
   3567 
   3568 fi
   3569 fi
   3570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3571 if test -n "$ac_ct_CC"; then
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3573 printf "%s\n" "$ac_ct_CC" >&6; }
   3574 else
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3576 printf "%s\n" "no" >&6; }
   3577 fi
   3578 
   3579 
   3580   test -n "$ac_ct_CC" && break
   3581 done
   3582 
   3583   if test "x$ac_ct_CC" = x; then
   3584     CC=""
   3585   else
   3586     case $cross_compiling:$ac_tool_warned in
   3587 yes:)
   3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3589 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3590 ac_tool_warned=yes ;;
   3591 esac
   3592     CC=$ac_ct_CC
   3593   fi
   3594 fi
   3595 
   3596 fi
   3597 if test -z "$CC"; then
   3598   if test -n "$ac_tool_prefix"; then
   3599   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3600 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3602 printf %s "checking for $ac_word... " >&6; }
   3603 if test ${ac_cv_prog_CC+y}
   3604 then :
   3605   printf %s "(cached) " >&6
   3606 else $as_nop
   3607   if test -n "$CC"; then
   3608   ac_cv_prog_CC="$CC" # Let the user override the test.
   3609 else
   3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3611 for as_dir in $PATH
   3612 do
   3613   IFS=$as_save_IFS
   3614   case $as_dir in #(((
   3615     '') as_dir=./ ;;
   3616     */) ;;
   3617     *) as_dir=$as_dir/ ;;
   3618   esac
   3619     for ac_exec_ext in '' $ac_executable_extensions; do
   3620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3621     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3623     break 2
   3624   fi
   3625 done
   3626   done
   3627 IFS=$as_save_IFS
   3628 
   3629 fi
   3630 fi
   3631 CC=$ac_cv_prog_CC
   3632 if test -n "$CC"; then
   3633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3634 printf "%s\n" "$CC" >&6; }
   3635 else
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3637 printf "%s\n" "no" >&6; }
   3638 fi
   3639 
   3640 
   3641 fi
   3642 if test -z "$ac_cv_prog_CC"; then
   3643   ac_ct_CC=$CC
   3644   # Extract the first word of "clang", so it can be a program name with args.
   3645 set dummy clang; ac_word=$2
   3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3647 printf %s "checking for $ac_word... " >&6; }
   3648 if test ${ac_cv_prog_ac_ct_CC+y}
   3649 then :
   3650   printf %s "(cached) " >&6
   3651 else $as_nop
   3652   if test -n "$ac_ct_CC"; then
   3653   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3654 else
   3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3656 for as_dir in $PATH
   3657 do
   3658   IFS=$as_save_IFS
   3659   case $as_dir in #(((
   3660     '') as_dir=./ ;;
   3661     */) ;;
   3662     *) as_dir=$as_dir/ ;;
   3663   esac
   3664     for ac_exec_ext in '' $ac_executable_extensions; do
   3665   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3666     ac_cv_prog_ac_ct_CC="clang"
   3667     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3668     break 2
   3669   fi
   3670 done
   3671   done
   3672 IFS=$as_save_IFS
   3673 
   3674 fi
   3675 fi
   3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3677 if test -n "$ac_ct_CC"; then
   3678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3679 printf "%s\n" "$ac_ct_CC" >&6; }
   3680 else
   3681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3682 printf "%s\n" "no" >&6; }
   3683 fi
   3684 
   3685   if test "x$ac_ct_CC" = x; then
   3686     CC=""
   3687   else
   3688     case $cross_compiling:$ac_tool_warned in
   3689 yes:)
   3690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3691 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3692 ac_tool_warned=yes ;;
   3693 esac
   3694     CC=$ac_ct_CC
   3695   fi
   3696 else
   3697   CC="$ac_cv_prog_CC"
   3698 fi
   3699 
   3700 fi
   3701 
   3702 
   3703 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3704 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3705 as_fn_error $? "no acceptable C compiler found in \$PATH
   3706 See \`config.log' for more details" "$LINENO" 5; }
   3707 
   3708 # Provide some information about the compiler.
   3709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3710 set X $ac_compile
   3711 ac_compiler=$2
   3712 for ac_option in --version -v -V -qversion -version; do
   3713   { { ac_try="$ac_compiler $ac_option >&5"
   3714 case "(($ac_try" in
   3715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3716   *) ac_try_echo=$ac_try;;
   3717 esac
   3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3719 printf "%s\n" "$ac_try_echo"; } >&5
   3720   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3721   ac_status=$?
   3722   if test -s conftest.err; then
   3723     sed '10a\
   3724 ... rest of stderr output deleted ...
   3725          10q' conftest.err >conftest.er1
   3726     cat conftest.er1 >&5
   3727   fi
   3728   rm -f conftest.er1 conftest.err
   3729   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3730   test $ac_status = 0; }
   3731 done
   3732 
   3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3734 /* end confdefs.h.  */
   3735 
   3736 int
   3737 main (void)
   3738 {
   3739 
   3740   ;
   3741   return 0;
   3742 }
   3743 _ACEOF
   3744 ac_clean_files_save=$ac_clean_files
   3745 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3746 # Try to create an executable without -o first, disregard a.out.
   3747 # It will help us diagnose broken compilers, and finding out an intuition
   3748 # of exeext.
   3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3750 printf %s "checking whether the C compiler works... " >&6; }
   3751 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3752 
   3753 # The possible output files:
   3754 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3755 
   3756 ac_rmfiles=
   3757 for ac_file in $ac_files
   3758 do
   3759   case $ac_file in
   3760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3761     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3762   esac
   3763 done
   3764 rm -f $ac_rmfiles
   3765 
   3766 if { { ac_try="$ac_link_default"
   3767 case "(($ac_try" in
   3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3769   *) ac_try_echo=$ac_try;;
   3770 esac
   3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3772 printf "%s\n" "$ac_try_echo"; } >&5
   3773   (eval "$ac_link_default") 2>&5
   3774   ac_status=$?
   3775   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3776   test $ac_status = 0; }
   3777 then :
   3778   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3779 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3780 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3781 # so that the user can short-circuit this test for compilers unknown to
   3782 # Autoconf.
   3783 for ac_file in $ac_files ''
   3784 do
   3785   test -f "$ac_file" || continue
   3786   case $ac_file in
   3787     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3788 	;;
   3789     [ab].out )
   3790 	# We found the default executable, but exeext='' is most
   3791 	# certainly right.
   3792 	break;;
   3793     *.* )
   3794 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3795 	then :; else
   3796 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3797 	fi
   3798 	# We set ac_cv_exeext here because the later test for it is not
   3799 	# safe: cross compilers may not add the suffix if given an `-o'
   3800 	# argument, so we may need to know it at that point already.
   3801 	# Even if this section looks crufty: it has the advantage of
   3802 	# actually working.
   3803 	break;;
   3804     * )
   3805 	break;;
   3806   esac
   3807 done
   3808 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3809 
   3810 else $as_nop
   3811   ac_file=''
   3812 fi
   3813 if test -z "$ac_file"
   3814 then :
   3815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3816 printf "%s\n" "no" >&6; }
   3817 printf "%s\n" "$as_me: failed program was:" >&5
   3818 sed 's/^/| /' conftest.$ac_ext >&5
   3819 
   3820 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3821 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3822 as_fn_error 77 "C compiler cannot create executables
   3823 See \`config.log' for more details" "$LINENO" 5; }
   3824 else $as_nop
   3825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3826 printf "%s\n" "yes" >&6; }
   3827 fi
   3828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3829 printf %s "checking for C compiler default output file name... " >&6; }
   3830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3831 printf "%s\n" "$ac_file" >&6; }
   3832 ac_exeext=$ac_cv_exeext
   3833 
   3834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3835 ac_clean_files=$ac_clean_files_save
   3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3837 printf %s "checking for suffix of executables... " >&6; }
   3838 if { { ac_try="$ac_link"
   3839 case "(($ac_try" in
   3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3841   *) ac_try_echo=$ac_try;;
   3842 esac
   3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3844 printf "%s\n" "$ac_try_echo"; } >&5
   3845   (eval "$ac_link") 2>&5
   3846   ac_status=$?
   3847   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3848   test $ac_status = 0; }
   3849 then :
   3850   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3851 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3852 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3853 # `rm'.
   3854 for ac_file in conftest.exe conftest conftest.*; do
   3855   test -f "$ac_file" || continue
   3856   case $ac_file in
   3857     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3858     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3859 	  break;;
   3860     * ) break;;
   3861   esac
   3862 done
   3863 else $as_nop
   3864   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3865 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3866 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3867 See \`config.log' for more details" "$LINENO" 5; }
   3868 fi
   3869 rm -f conftest conftest$ac_cv_exeext
   3870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3871 printf "%s\n" "$ac_cv_exeext" >&6; }
   3872 
   3873 rm -f conftest.$ac_ext
   3874 EXEEXT=$ac_cv_exeext
   3875 ac_exeext=$EXEEXT
   3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3877 /* end confdefs.h.  */
   3878 #include <stdio.h>
   3879 int
   3880 main (void)
   3881 {
   3882 FILE *f = fopen ("conftest.out", "w");
   3883  return ferror (f) || fclose (f) != 0;
   3884 
   3885   ;
   3886   return 0;
   3887 }
   3888 _ACEOF
   3889 ac_clean_files="$ac_clean_files conftest.out"
   3890 # Check that the compiler produces executables we can run.  If not, either
   3891 # the compiler is broken, or we cross compile.
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3893 printf %s "checking whether we are cross compiling... " >&6; }
   3894 if test "$cross_compiling" != yes; then
   3895   { { ac_try="$ac_link"
   3896 case "(($ac_try" in
   3897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3898   *) ac_try_echo=$ac_try;;
   3899 esac
   3900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3901 printf "%s\n" "$ac_try_echo"; } >&5
   3902   (eval "$ac_link") 2>&5
   3903   ac_status=$?
   3904   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3905   test $ac_status = 0; }
   3906   if { ac_try='./conftest$ac_cv_exeext'
   3907   { { case "(($ac_try" in
   3908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3909   *) ac_try_echo=$ac_try;;
   3910 esac
   3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3912 printf "%s\n" "$ac_try_echo"; } >&5
   3913   (eval "$ac_try") 2>&5
   3914   ac_status=$?
   3915   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3916   test $ac_status = 0; }; }; then
   3917     cross_compiling=no
   3918   else
   3919     if test "$cross_compiling" = maybe; then
   3920 	cross_compiling=yes
   3921     else
   3922 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3923 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3924 as_fn_error 77 "cannot run C compiled programs.
   3925 If you meant to cross compile, use \`--host'.
   3926 See \`config.log' for more details" "$LINENO" 5; }
   3927     fi
   3928   fi
   3929 fi
   3930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3931 printf "%s\n" "$cross_compiling" >&6; }
   3932 
   3933 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3934 ac_clean_files=$ac_clean_files_save
   3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3936 printf %s "checking for suffix of object files... " >&6; }
   3937 if test ${ac_cv_objext+y}
   3938 then :
   3939   printf %s "(cached) " >&6
   3940 else $as_nop
   3941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3942 /* end confdefs.h.  */
   3943 
   3944 int
   3945 main (void)
   3946 {
   3947 
   3948   ;
   3949   return 0;
   3950 }
   3951 _ACEOF
   3952 rm -f conftest.o conftest.obj
   3953 if { { ac_try="$ac_compile"
   3954 case "(($ac_try" in
   3955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3956   *) ac_try_echo=$ac_try;;
   3957 esac
   3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3959 printf "%s\n" "$ac_try_echo"; } >&5
   3960   (eval "$ac_compile") 2>&5
   3961   ac_status=$?
   3962   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3963   test $ac_status = 0; }
   3964 then :
   3965   for ac_file in conftest.o conftest.obj conftest.*; do
   3966   test -f "$ac_file" || continue;
   3967   case $ac_file in
   3968     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3969     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3970        break;;
   3971   esac
   3972 done
   3973 else $as_nop
   3974   printf "%s\n" "$as_me: failed program was:" >&5
   3975 sed 's/^/| /' conftest.$ac_ext >&5
   3976 
   3977 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3978 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3979 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3980 See \`config.log' for more details" "$LINENO" 5; }
   3981 fi
   3982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3983 fi
   3984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3985 printf "%s\n" "$ac_cv_objext" >&6; }
   3986 OBJEXT=$ac_cv_objext
   3987 ac_objext=$OBJEXT
   3988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3989 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3990 if test ${ac_cv_c_compiler_gnu+y}
   3991 then :
   3992   printf %s "(cached) " >&6
   3993 else $as_nop
   3994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 
   3997 int
   3998 main (void)
   3999 {
   4000 #ifndef __GNUC__
   4001        choke me
   4002 #endif
   4003 
   4004   ;
   4005   return 0;
   4006 }
   4007 _ACEOF
   4008 if ac_fn_c_try_compile "$LINENO"
   4009 then :
   4010   ac_compiler_gnu=yes
   4011 else $as_nop
   4012   ac_compiler_gnu=no
   4013 fi
   4014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4015 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4016 
   4017 fi
   4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4019 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4021 
   4022 if test $ac_compiler_gnu = yes; then
   4023   GCC=yes
   4024 else
   4025   GCC=
   4026 fi
   4027 ac_test_CFLAGS=${CFLAGS+y}
   4028 ac_save_CFLAGS=$CFLAGS
   4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4030 printf %s "checking whether $CC accepts -g... " >&6; }
   4031 if test ${ac_cv_prog_cc_g+y}
   4032 then :
   4033   printf %s "(cached) " >&6
   4034 else $as_nop
   4035   ac_save_c_werror_flag=$ac_c_werror_flag
   4036    ac_c_werror_flag=yes
   4037    ac_cv_prog_cc_g=no
   4038    CFLAGS="-g"
   4039    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4040 /* end confdefs.h.  */
   4041 
   4042 int
   4043 main (void)
   4044 {
   4045 
   4046   ;
   4047   return 0;
   4048 }
   4049 _ACEOF
   4050 if ac_fn_c_try_compile "$LINENO"
   4051 then :
   4052   ac_cv_prog_cc_g=yes
   4053 else $as_nop
   4054   CFLAGS=""
   4055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4056 /* end confdefs.h.  */
   4057 
   4058 int
   4059 main (void)
   4060 {
   4061 
   4062   ;
   4063   return 0;
   4064 }
   4065 _ACEOF
   4066 if ac_fn_c_try_compile "$LINENO"
   4067 then :
   4068 
   4069 else $as_nop
   4070   ac_c_werror_flag=$ac_save_c_werror_flag
   4071 	 CFLAGS="-g"
   4072 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4073 /* end confdefs.h.  */
   4074 
   4075 int
   4076 main (void)
   4077 {
   4078 
   4079   ;
   4080   return 0;
   4081 }
   4082 _ACEOF
   4083 if ac_fn_c_try_compile "$LINENO"
   4084 then :
   4085   ac_cv_prog_cc_g=yes
   4086 fi
   4087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4088 fi
   4089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4090 fi
   4091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4092    ac_c_werror_flag=$ac_save_c_werror_flag
   4093 fi
   4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4095 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4096 if test $ac_test_CFLAGS; then
   4097   CFLAGS=$ac_save_CFLAGS
   4098 elif test $ac_cv_prog_cc_g = yes; then
   4099   if test "$GCC" = yes; then
   4100     CFLAGS="-g -O2"
   4101   else
   4102     CFLAGS="-g"
   4103   fi
   4104 else
   4105   if test "$GCC" = yes; then
   4106     CFLAGS="-O2"
   4107   else
   4108     CFLAGS=
   4109   fi
   4110 fi
   4111 ac_prog_cc_stdc=no
   4112 if test x$ac_prog_cc_stdc = xno
   4113 then :
   4114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4115 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4116 if test ${ac_cv_prog_cc_c11+y}
   4117 then :
   4118   printf %s "(cached) " >&6
   4119 else $as_nop
   4120   ac_cv_prog_cc_c11=no
   4121 ac_save_CC=$CC
   4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 $ac_c_conftest_c11_program
   4125 _ACEOF
   4126 for ac_arg in '' -std=gnu11
   4127 do
   4128   CC="$ac_save_CC $ac_arg"
   4129   if ac_fn_c_try_compile "$LINENO"
   4130 then :
   4131   ac_cv_prog_cc_c11=$ac_arg
   4132 fi
   4133 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4134   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4135 done
   4136 rm -f conftest.$ac_ext
   4137 CC=$ac_save_CC
   4138 fi
   4139 
   4140 if test "x$ac_cv_prog_cc_c11" = xno
   4141 then :
   4142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4143 printf "%s\n" "unsupported" >&6; }
   4144 else $as_nop
   4145   if test "x$ac_cv_prog_cc_c11" = x
   4146 then :
   4147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4148 printf "%s\n" "none needed" >&6; }
   4149 else $as_nop
   4150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4151 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4152      CC="$CC $ac_cv_prog_cc_c11"
   4153 fi
   4154   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4155   ac_prog_cc_stdc=c11
   4156 fi
   4157 fi
   4158 if test x$ac_prog_cc_stdc = xno
   4159 then :
   4160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4161 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4162 if test ${ac_cv_prog_cc_c99+y}
   4163 then :
   4164   printf %s "(cached) " >&6
   4165 else $as_nop
   4166   ac_cv_prog_cc_c99=no
   4167 ac_save_CC=$CC
   4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4169 /* end confdefs.h.  */
   4170 $ac_c_conftest_c99_program
   4171 _ACEOF
   4172 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4173 do
   4174   CC="$ac_save_CC $ac_arg"
   4175   if ac_fn_c_try_compile "$LINENO"
   4176 then :
   4177   ac_cv_prog_cc_c99=$ac_arg
   4178 fi
   4179 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4180   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4181 done
   4182 rm -f conftest.$ac_ext
   4183 CC=$ac_save_CC
   4184 fi
   4185 
   4186 if test "x$ac_cv_prog_cc_c99" = xno
   4187 then :
   4188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4189 printf "%s\n" "unsupported" >&6; }
   4190 else $as_nop
   4191   if test "x$ac_cv_prog_cc_c99" = x
   4192 then :
   4193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4194 printf "%s\n" "none needed" >&6; }
   4195 else $as_nop
   4196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4197 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4198      CC="$CC $ac_cv_prog_cc_c99"
   4199 fi
   4200   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4201   ac_prog_cc_stdc=c99
   4202 fi
   4203 fi
   4204 if test x$ac_prog_cc_stdc = xno
   4205 then :
   4206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4207 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4208 if test ${ac_cv_prog_cc_c89+y}
   4209 then :
   4210   printf %s "(cached) " >&6
   4211 else $as_nop
   4212   ac_cv_prog_cc_c89=no
   4213 ac_save_CC=$CC
   4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4215 /* end confdefs.h.  */
   4216 $ac_c_conftest_c89_program
   4217 _ACEOF
   4218 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4219 do
   4220   CC="$ac_save_CC $ac_arg"
   4221   if ac_fn_c_try_compile "$LINENO"
   4222 then :
   4223   ac_cv_prog_cc_c89=$ac_arg
   4224 fi
   4225 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4226   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4227 done
   4228 rm -f conftest.$ac_ext
   4229 CC=$ac_save_CC
   4230 fi
   4231 
   4232 if test "x$ac_cv_prog_cc_c89" = xno
   4233 then :
   4234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4235 printf "%s\n" "unsupported" >&6; }
   4236 else $as_nop
   4237   if test "x$ac_cv_prog_cc_c89" = x
   4238 then :
   4239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4240 printf "%s\n" "none needed" >&6; }
   4241 else $as_nop
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4243 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4244      CC="$CC $ac_cv_prog_cc_c89"
   4245 fi
   4246   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4247   ac_prog_cc_stdc=c89
   4248 fi
   4249 fi
   4250 
   4251 ac_ext=c
   4252 ac_cpp='$CPP $CPPFLAGS'
   4253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4256 
   4257 
   4258   ac_ext=c
   4259 ac_cpp='$CPP $CPPFLAGS'
   4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4264 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4265 if test ${am_cv_prog_cc_c_o+y}
   4266 then :
   4267   printf %s "(cached) " >&6
   4268 else $as_nop
   4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 
   4272 int
   4273 main (void)
   4274 {
   4275 
   4276   ;
   4277   return 0;
   4278 }
   4279 _ACEOF
   4280   # Make sure it works both with $CC and with simple cc.
   4281   # Following AC_PROG_CC_C_O, we do the test twice because some
   4282   # compilers refuse to overwrite an existing .o file with -o,
   4283   # though they will create one.
   4284   am_cv_prog_cc_c_o=yes
   4285   for am_i in 1 2; do
   4286     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4287    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4288    ac_status=$?
   4289    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4290    (exit $ac_status); } \
   4291          && test -f conftest2.$ac_objext; then
   4292       : OK
   4293     else
   4294       am_cv_prog_cc_c_o=no
   4295       break
   4296     fi
   4297   done
   4298   rm -f core conftest*
   4299   unset am_i
   4300 fi
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4302 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4303 if test "$am_cv_prog_cc_c_o" != yes; then
   4304    # Losing compiler, so override with the script.
   4305    # FIXME: It is wrong to rewrite CC.
   4306    # But if we don't then we get into trouble of one sort or another.
   4307    # A longer-term fix would be to have automake use am__CC in this case,
   4308    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4309    CC="$am_aux_dir/compile $CC"
   4310 fi
   4311 ac_ext=c
   4312 ac_cpp='$CPP $CPPFLAGS'
   4313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4316 
   4317 
   4318 depcc="$CC"   am_compiler_list=
   4319 
   4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4321 printf %s "checking dependency style of $depcc... " >&6; }
   4322 if test ${am_cv_CC_dependencies_compiler_type+y}
   4323 then :
   4324   printf %s "(cached) " >&6
   4325 else $as_nop
   4326   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4327   # We make a subdir and do the tests there.  Otherwise we can end up
   4328   # making bogus files that we don't know about and never remove.  For
   4329   # instance it was reported that on HP-UX the gcc test will end up
   4330   # making a dummy file named 'D' -- because '-MD' means "put the output
   4331   # in D".
   4332   rm -rf conftest.dir
   4333   mkdir conftest.dir
   4334   # Copy depcomp to subdir because otherwise we won't find it if we're
   4335   # using a relative directory.
   4336   cp "$am_depcomp" conftest.dir
   4337   cd conftest.dir
   4338   # We will build objects and dependencies in a subdirectory because
   4339   # it helps to detect inapplicable dependency modes.  For instance
   4340   # both Tru64's cc and ICC support -MD to output dependencies as a
   4341   # side effect of compilation, but ICC will put the dependencies in
   4342   # the current directory while Tru64 will put them in the object
   4343   # directory.
   4344   mkdir sub
   4345 
   4346   am_cv_CC_dependencies_compiler_type=none
   4347   if test "$am_compiler_list" = ""; then
   4348      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4349   fi
   4350   am__universal=false
   4351   case " $depcc " in #(
   4352      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4353      esac
   4354 
   4355   for depmode in $am_compiler_list; do
   4356     # Setup a source with many dependencies, because some compilers
   4357     # like to wrap large dependency lists on column 80 (with \), and
   4358     # we should not choose a depcomp mode which is confused by this.
   4359     #
   4360     # We need to recreate these files for each test, as the compiler may
   4361     # overwrite some of them when testing with obscure command lines.
   4362     # This happens at least with the AIX C compiler.
   4363     : > sub/conftest.c
   4364     for i in 1 2 3 4 5 6; do
   4365       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4366       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4367       # Solaris 10 /bin/sh.
   4368       echo '/* dummy */' > sub/conftst$i.h
   4369     done
   4370     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4371 
   4372     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4373     # mode.  It turns out that the SunPro C++ compiler does not properly
   4374     # handle '-M -o', and we need to detect this.  Also, some Intel
   4375     # versions had trouble with output in subdirs.
   4376     am__obj=sub/conftest.${OBJEXT-o}
   4377     am__minus_obj="-o $am__obj"
   4378     case $depmode in
   4379     gcc)
   4380       # This depmode causes a compiler race in universal mode.
   4381       test "$am__universal" = false || continue
   4382       ;;
   4383     nosideeffect)
   4384       # After this tag, mechanisms are not by side-effect, so they'll
   4385       # only be used when explicitly requested.
   4386       if test "x$enable_dependency_tracking" = xyes; then
   4387 	continue
   4388       else
   4389 	break
   4390       fi
   4391       ;;
   4392     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4393       # This compiler won't grok '-c -o', but also, the minuso test has
   4394       # not run yet.  These depmodes are late enough in the game, and
   4395       # so weak that their functioning should not be impacted.
   4396       am__obj=conftest.${OBJEXT-o}
   4397       am__minus_obj=
   4398       ;;
   4399     none) break ;;
   4400     esac
   4401     if depmode=$depmode \
   4402        source=sub/conftest.c object=$am__obj \
   4403        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4404        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4405          >/dev/null 2>conftest.err &&
   4406        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4407        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4408        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4409        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4410       # icc doesn't choke on unknown options, it will just issue warnings
   4411       # or remarks (even with -Werror).  So we grep stderr for any message
   4412       # that says an option was ignored or not supported.
   4413       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4414       #   icc: Command line warning: ignoring option '-M'; no argument required
   4415       # The diagnosis changed in icc 8.0:
   4416       #   icc: Command line remark: option '-MP' not supported
   4417       if (grep 'ignoring option' conftest.err ||
   4418           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4419         am_cv_CC_dependencies_compiler_type=$depmode
   4420         break
   4421       fi
   4422     fi
   4423   done
   4424 
   4425   cd ..
   4426   rm -rf conftest.dir
   4427 else
   4428   am_cv_CC_dependencies_compiler_type=none
   4429 fi
   4430 
   4431 fi
   4432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4433 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4434 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4435 
   4436  if
   4437   test "x$enable_dependency_tracking" != xno \
   4438   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4439   am__fastdepCC_TRUE=
   4440   am__fastdepCC_FALSE='#'
   4441 else
   4442   am__fastdepCC_TRUE='#'
   4443   am__fastdepCC_FALSE=
   4444 fi
   4445 
   4446 
   4447 
   4448 
   4449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4450 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4451 if test ${ac_cv_c_undeclared_builtin_options+y}
   4452 then :
   4453   printf %s "(cached) " >&6
   4454 else $as_nop
   4455   ac_save_CFLAGS=$CFLAGS
   4456    ac_cv_c_undeclared_builtin_options='cannot detect'
   4457    for ac_arg in '' -fno-builtin; do
   4458      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4459      # This test program should *not* compile successfully.
   4460      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4461 /* end confdefs.h.  */
   4462 
   4463 int
   4464 main (void)
   4465 {
   4466 (void) strchr;
   4467   ;
   4468   return 0;
   4469 }
   4470 _ACEOF
   4471 if ac_fn_c_try_compile "$LINENO"
   4472 then :
   4473 
   4474 else $as_nop
   4475   # This test program should compile successfully.
   4476         # No library function is consistently available on
   4477         # freestanding implementations, so test against a dummy
   4478         # declaration.  Include always-available headers on the
   4479         # off chance that they somehow elicit warnings.
   4480         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4481 /* end confdefs.h.  */
   4482 #include <float.h>
   4483 #include <limits.h>
   4484 #include <stdarg.h>
   4485 #include <stddef.h>
   4486 extern void ac_decl (int, char *);
   4487 
   4488 int
   4489 main (void)
   4490 {
   4491 (void) ac_decl (0, (char *) 0);
   4492   (void) ac_decl;
   4493 
   4494   ;
   4495   return 0;
   4496 }
   4497 _ACEOF
   4498 if ac_fn_c_try_compile "$LINENO"
   4499 then :
   4500   if test x"$ac_arg" = x
   4501 then :
   4502   ac_cv_c_undeclared_builtin_options='none needed'
   4503 else $as_nop
   4504   ac_cv_c_undeclared_builtin_options=$ac_arg
   4505 fi
   4506           break
   4507 fi
   4508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4509 fi
   4510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4511     done
   4512     CFLAGS=$ac_save_CFLAGS
   4513 
   4514 fi
   4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4516 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4517   case $ac_cv_c_undeclared_builtin_options in #(
   4518   'cannot detect') :
   4519     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4520 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4521 as_fn_error $? "cannot make $CC report undeclared builtins
   4522 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4523   'none needed') :
   4524     ac_c_undeclared_builtin_options='' ;; #(
   4525   *) :
   4526     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4527 esac
   4528 
   4529 ac_header= ac_cache=
   4530 for ac_item in $ac_header_c_list
   4531 do
   4532   if test $ac_cache; then
   4533     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4534     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4535       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4536     fi
   4537     ac_header= ac_cache=
   4538   elif test $ac_header; then
   4539     ac_cache=$ac_item
   4540   else
   4541     ac_header=$ac_item
   4542   fi
   4543 done
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 
   4552 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4553 then :
   4554 
   4555 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4556 
   4557 fi
   4558 
   4559 
   4560 
   4561 
   4562 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4563 if test "x$ac_cv_have_decl___clang__" = xyes
   4564 then :
   4565   CLANGCC="yes"
   4566 else $as_nop
   4567   CLANGCC="no"
   4568 fi
   4569 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4570 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4571 then :
   4572   INTELCC="yes"
   4573 else $as_nop
   4574   INTELCC="no"
   4575 fi
   4576 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4577 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4578 then :
   4579   SUNCC="yes"
   4580 else $as_nop
   4581   SUNCC="no"
   4582 fi
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4592 	if test -n "$ac_tool_prefix"; then
   4593   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4594 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4596 printf %s "checking for $ac_word... " >&6; }
   4597 if test ${ac_cv_path_PKG_CONFIG+y}
   4598 then :
   4599   printf %s "(cached) " >&6
   4600 else $as_nop
   4601   case $PKG_CONFIG in
   4602   [\\/]* | ?:[\\/]*)
   4603   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4604   ;;
   4605   *)
   4606   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4607 for as_dir in $PATH
   4608 do
   4609   IFS=$as_save_IFS
   4610   case $as_dir in #(((
   4611     '') as_dir=./ ;;
   4612     */) ;;
   4613     *) as_dir=$as_dir/ ;;
   4614   esac
   4615     for ac_exec_ext in '' $ac_executable_extensions; do
   4616   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4617     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4618     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4619     break 2
   4620   fi
   4621 done
   4622   done
   4623 IFS=$as_save_IFS
   4624 
   4625   ;;
   4626 esac
   4627 fi
   4628 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4629 if test -n "$PKG_CONFIG"; then
   4630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4631 printf "%s\n" "$PKG_CONFIG" >&6; }
   4632 else
   4633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4634 printf "%s\n" "no" >&6; }
   4635 fi
   4636 
   4637 
   4638 fi
   4639 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4640   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4641   # Extract the first word of "pkg-config", so it can be a program name with args.
   4642 set dummy pkg-config; ac_word=$2
   4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4644 printf %s "checking for $ac_word... " >&6; }
   4645 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4646 then :
   4647   printf %s "(cached) " >&6
   4648 else $as_nop
   4649   case $ac_pt_PKG_CONFIG in
   4650   [\\/]* | ?:[\\/]*)
   4651   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4652   ;;
   4653   *)
   4654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4655 for as_dir in $PATH
   4656 do
   4657   IFS=$as_save_IFS
   4658   case $as_dir in #(((
   4659     '') as_dir=./ ;;
   4660     */) ;;
   4661     *) as_dir=$as_dir/ ;;
   4662   esac
   4663     for ac_exec_ext in '' $ac_executable_extensions; do
   4664   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4665     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4666     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4667     break 2
   4668   fi
   4669 done
   4670   done
   4671 IFS=$as_save_IFS
   4672 
   4673   ;;
   4674 esac
   4675 fi
   4676 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4677 if test -n "$ac_pt_PKG_CONFIG"; then
   4678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4679 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4680 else
   4681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4682 printf "%s\n" "no" >&6; }
   4683 fi
   4684 
   4685   if test "x$ac_pt_PKG_CONFIG" = x; then
   4686     PKG_CONFIG=""
   4687   else
   4688     case $cross_compiling:$ac_tool_warned in
   4689 yes:)
   4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4691 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4692 ac_tool_warned=yes ;;
   4693 esac
   4694     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4695   fi
   4696 else
   4697   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4698 fi
   4699 
   4700 fi
   4701 if test -n "$PKG_CONFIG"; then
   4702 	_pkg_min_version=0.9.0
   4703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4704 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4705 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4707 printf "%s\n" "yes" >&6; }
   4708 	else
   4709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4710 printf "%s\n" "no" >&6; }
   4711 		PKG_CONFIG=""
   4712 	fi
   4713 fi
   4714 
   4715 
   4716   # Make sure we can run config.sub.
   4717 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4718   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4719 
   4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4721 printf %s "checking build system type... " >&6; }
   4722 if test ${ac_cv_build+y}
   4723 then :
   4724   printf %s "(cached) " >&6
   4725 else $as_nop
   4726   ac_build_alias=$build_alias
   4727 test "x$ac_build_alias" = x &&
   4728   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4729 test "x$ac_build_alias" = x &&
   4730   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4731 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4732   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4733 
   4734 fi
   4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4736 printf "%s\n" "$ac_cv_build" >&6; }
   4737 case $ac_cv_build in
   4738 *-*-*) ;;
   4739 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4740 esac
   4741 build=$ac_cv_build
   4742 ac_save_IFS=$IFS; IFS='-'
   4743 set x $ac_cv_build
   4744 shift
   4745 build_cpu=$1
   4746 build_vendor=$2
   4747 shift; shift
   4748 # Remember, the first character of IFS is used to create $*,
   4749 # except with old shells:
   4750 build_os=$*
   4751 IFS=$ac_save_IFS
   4752 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4753 
   4754 
   4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4756 printf %s "checking host system type... " >&6; }
   4757 if test ${ac_cv_host+y}
   4758 then :
   4759   printf %s "(cached) " >&6
   4760 else $as_nop
   4761   if test "x$host_alias" = x; then
   4762   ac_cv_host=$ac_cv_build
   4763 else
   4764   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4765     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4766 fi
   4767 
   4768 fi
   4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4770 printf "%s\n" "$ac_cv_host" >&6; }
   4771 case $ac_cv_host in
   4772 *-*-*) ;;
   4773 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4774 esac
   4775 host=$ac_cv_host
   4776 ac_save_IFS=$IFS; IFS='-'
   4777 set x $ac_cv_host
   4778 shift
   4779 host_cpu=$1
   4780 host_vendor=$2
   4781 shift; shift
   4782 # Remember, the first character of IFS is used to create $*,
   4783 # except with old shells:
   4784 host_os=$*
   4785 IFS=$ac_save_IFS
   4786 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4787 
   4788 
   4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4790 printf %s "checking for a sed that does not truncate output... " >&6; }
   4791 if test ${ac_cv_path_SED+y}
   4792 then :
   4793   printf %s "(cached) " >&6
   4794 else $as_nop
   4795             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4796      for ac_i in 1 2 3 4 5 6 7; do
   4797        ac_script="$ac_script$as_nl$ac_script"
   4798      done
   4799      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4800      { ac_script=; unset ac_script;}
   4801      if test -z "$SED"; then
   4802   ac_path_SED_found=false
   4803   # Loop through the user's path and test for each of PROGNAME-LIST
   4804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4805 for as_dir in $PATH
   4806 do
   4807   IFS=$as_save_IFS
   4808   case $as_dir in #(((
   4809     '') as_dir=./ ;;
   4810     */) ;;
   4811     *) as_dir=$as_dir/ ;;
   4812   esac
   4813     for ac_prog in sed gsed
   4814    do
   4815     for ac_exec_ext in '' $ac_executable_extensions; do
   4816       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4817       as_fn_executable_p "$ac_path_SED" || continue
   4818 # Check for GNU ac_path_SED and select it if it is found.
   4819   # Check for GNU $ac_path_SED
   4820 case `"$ac_path_SED" --version 2>&1` in
   4821 *GNU*)
   4822   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4823 *)
   4824   ac_count=0
   4825   printf %s 0123456789 >"conftest.in"
   4826   while :
   4827   do
   4828     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4829     mv "conftest.tmp" "conftest.in"
   4830     cp "conftest.in" "conftest.nl"
   4831     printf "%s\n" '' >> "conftest.nl"
   4832     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4833     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4834     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4835     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4836       # Best one so far, save it but keep looking for a better one
   4837       ac_cv_path_SED="$ac_path_SED"
   4838       ac_path_SED_max=$ac_count
   4839     fi
   4840     # 10*(2^10) chars as input seems more than enough
   4841     test $ac_count -gt 10 && break
   4842   done
   4843   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4844 esac
   4845 
   4846       $ac_path_SED_found && break 3
   4847     done
   4848   done
   4849   done
   4850 IFS=$as_save_IFS
   4851   if test -z "$ac_cv_path_SED"; then
   4852     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4853   fi
   4854 else
   4855   ac_cv_path_SED=$SED
   4856 fi
   4857 
   4858 fi
   4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4860 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4861  SED="$ac_cv_path_SED"
   4862   rm -f conftest.sed
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 # Check whether --enable-selective-werror was given.
   4870 if test ${enable_selective_werror+y}
   4871 then :
   4872   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4873 else $as_nop
   4874   SELECTIVE_WERROR=yes
   4875 fi
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4882 if test "x$SUNCC" = "xyes"; then
   4883     BASE_CFLAGS="-v"
   4884 else
   4885     BASE_CFLAGS=""
   4886 fi
   4887 
   4888 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 xorg_testset_save_CFLAGS="$CFLAGS"
   4903 
   4904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4907 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4908 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4909 then :
   4910   printf %s "(cached) " >&6
   4911 else $as_nop
   4912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4913 /* end confdefs.h.  */
   4914 int i;
   4915 _ACEOF
   4916 if ac_fn_c_try_compile "$LINENO"
   4917 then :
   4918   xorg_cv_cc_flag_unknown_warning_option=yes
   4919 else $as_nop
   4920   xorg_cv_cc_flag_unknown_warning_option=no
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4923 fi
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4925 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4927 	CFLAGS="$xorg_testset_save_CFLAGS"
   4928 fi
   4929 
   4930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4933 	fi
   4934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4936 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4937 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4938 then :
   4939   printf %s "(cached) " >&6
   4940 else $as_nop
   4941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4942 /* end confdefs.h.  */
   4943 int i;
   4944 _ACEOF
   4945 if ac_fn_c_try_compile "$LINENO"
   4946 then :
   4947   xorg_cv_cc_flag_unused_command_line_argument=yes
   4948 else $as_nop
   4949   xorg_cv_cc_flag_unused_command_line_argument=no
   4950 fi
   4951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4952 fi
   4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4954 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4956 	CFLAGS="$xorg_testset_save_CFLAGS"
   4957 fi
   4958 
   4959 found="no"
   4960 
   4961 	if test $found = "no" ; then
   4962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4964 		fi
   4965 
   4966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4968 		fi
   4969 
   4970 		CFLAGS="$CFLAGS -Wall"
   4971 
   4972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4973 printf %s "checking if $CC supports -Wall... " >&6; }
   4974 		cacheid=xorg_cv_cc_flag__Wall
   4975 		if eval test \${$cacheid+y}
   4976 then :
   4977   printf %s "(cached) " >&6
   4978 else $as_nop
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 int
   4983 main (void)
   4984 {
   4985 
   4986   ;
   4987   return 0;
   4988 }
   4989 _ACEOF
   4990 if ac_fn_c_try_link "$LINENO"
   4991 then :
   4992   eval $cacheid=yes
   4993 else $as_nop
   4994   eval $cacheid=no
   4995 fi
   4996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4997     conftest$ac_exeext conftest.$ac_ext
   4998 fi
   4999 
   5000 
   5001 		CFLAGS="$xorg_testset_save_CFLAGS"
   5002 
   5003 		eval supported=\$$cacheid
   5004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5005 printf "%s\n" "$supported" >&6; }
   5006 		if test "$supported" = "yes" ; then
   5007 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5008 			found="yes"
   5009 		fi
   5010 	fi
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 xorg_testset_save_CFLAGS="$CFLAGS"
   5027 
   5028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5033 then :
   5034   printf %s "(cached) " >&6
   5035 else $as_nop
   5036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5037 /* end confdefs.h.  */
   5038 int i;
   5039 _ACEOF
   5040 if ac_fn_c_try_compile "$LINENO"
   5041 then :
   5042   xorg_cv_cc_flag_unknown_warning_option=yes
   5043 else $as_nop
   5044   xorg_cv_cc_flag_unknown_warning_option=no
   5045 fi
   5046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5047 fi
   5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5049 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5051 	CFLAGS="$xorg_testset_save_CFLAGS"
   5052 fi
   5053 
   5054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	fi
   5058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5060 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5061 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5062 then :
   5063   printf %s "(cached) " >&6
   5064 else $as_nop
   5065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5066 /* end confdefs.h.  */
   5067 int i;
   5068 _ACEOF
   5069 if ac_fn_c_try_compile "$LINENO"
   5070 then :
   5071   xorg_cv_cc_flag_unused_command_line_argument=yes
   5072 else $as_nop
   5073   xorg_cv_cc_flag_unused_command_line_argument=no
   5074 fi
   5075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5076 fi
   5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5078 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5080 	CFLAGS="$xorg_testset_save_CFLAGS"
   5081 fi
   5082 
   5083 found="no"
   5084 
   5085 	if test $found = "no" ; then
   5086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5088 		fi
   5089 
   5090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5092 		fi
   5093 
   5094 		CFLAGS="$CFLAGS -Wpointer-arith"
   5095 
   5096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5097 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5098 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5099 		if eval test \${$cacheid+y}
   5100 then :
   5101   printf %s "(cached) " >&6
   5102 else $as_nop
   5103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5104 /* end confdefs.h.  */
   5105 int i;
   5106 int
   5107 main (void)
   5108 {
   5109 
   5110   ;
   5111   return 0;
   5112 }
   5113 _ACEOF
   5114 if ac_fn_c_try_link "$LINENO"
   5115 then :
   5116   eval $cacheid=yes
   5117 else $as_nop
   5118   eval $cacheid=no
   5119 fi
   5120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5121     conftest$ac_exeext conftest.$ac_ext
   5122 fi
   5123 
   5124 
   5125 		CFLAGS="$xorg_testset_save_CFLAGS"
   5126 
   5127 		eval supported=\$$cacheid
   5128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5129 printf "%s\n" "$supported" >&6; }
   5130 		if test "$supported" = "yes" ; then
   5131 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5132 			found="yes"
   5133 		fi
   5134 	fi
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 xorg_testset_save_CFLAGS="$CFLAGS"
   5151 
   5152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5157 then :
   5158   printf %s "(cached) " >&6
   5159 else $as_nop
   5160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 _ACEOF
   5164 if ac_fn_c_try_compile "$LINENO"
   5165 then :
   5166   xorg_cv_cc_flag_unknown_warning_option=yes
   5167 else $as_nop
   5168   xorg_cv_cc_flag_unknown_warning_option=no
   5169 fi
   5170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5171 fi
   5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5175 	CFLAGS="$xorg_testset_save_CFLAGS"
   5176 fi
   5177 
   5178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5181 	fi
   5182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else $as_nop
   5189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5190 /* end confdefs.h.  */
   5191 int i;
   5192 _ACEOF
   5193 if ac_fn_c_try_compile "$LINENO"
   5194 then :
   5195   xorg_cv_cc_flag_unused_command_line_argument=yes
   5196 else $as_nop
   5197   xorg_cv_cc_flag_unused_command_line_argument=no
   5198 fi
   5199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5200 fi
   5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5202 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5204 	CFLAGS="$xorg_testset_save_CFLAGS"
   5205 fi
   5206 
   5207 found="no"
   5208 
   5209 	if test $found = "no" ; then
   5210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5212 		fi
   5213 
   5214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5216 		fi
   5217 
   5218 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5219 
   5220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5221 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5222 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5223 		if eval test \${$cacheid+y}
   5224 then :
   5225   printf %s "(cached) " >&6
   5226 else $as_nop
   5227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5228 /* end confdefs.h.  */
   5229 int i;
   5230 int
   5231 main (void)
   5232 {
   5233 
   5234   ;
   5235   return 0;
   5236 }
   5237 _ACEOF
   5238 if ac_fn_c_try_link "$LINENO"
   5239 then :
   5240   eval $cacheid=yes
   5241 else $as_nop
   5242   eval $cacheid=no
   5243 fi
   5244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5245     conftest$ac_exeext conftest.$ac_ext
   5246 fi
   5247 
   5248 
   5249 		CFLAGS="$xorg_testset_save_CFLAGS"
   5250 
   5251 		eval supported=\$$cacheid
   5252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5253 printf "%s\n" "$supported" >&6; }
   5254 		if test "$supported" = "yes" ; then
   5255 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5256 			found="yes"
   5257 		fi
   5258 	fi
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 xorg_testset_save_CFLAGS="$CFLAGS"
   5275 
   5276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5281 then :
   5282   printf %s "(cached) " >&6
   5283 else $as_nop
   5284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5285 /* end confdefs.h.  */
   5286 int i;
   5287 _ACEOF
   5288 if ac_fn_c_try_compile "$LINENO"
   5289 then :
   5290   xorg_cv_cc_flag_unknown_warning_option=yes
   5291 else $as_nop
   5292   xorg_cv_cc_flag_unknown_warning_option=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5295 fi
   5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5297 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5299 	CFLAGS="$xorg_testset_save_CFLAGS"
   5300 fi
   5301 
   5302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5305 	fi
   5306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5308 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5309 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5310 then :
   5311   printf %s "(cached) " >&6
   5312 else $as_nop
   5313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5314 /* end confdefs.h.  */
   5315 int i;
   5316 _ACEOF
   5317 if ac_fn_c_try_compile "$LINENO"
   5318 then :
   5319   xorg_cv_cc_flag_unused_command_line_argument=yes
   5320 else $as_nop
   5321   xorg_cv_cc_flag_unused_command_line_argument=no
   5322 fi
   5323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5324 fi
   5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5328 	CFLAGS="$xorg_testset_save_CFLAGS"
   5329 fi
   5330 
   5331 found="no"
   5332 
   5333 	if test $found = "no" ; then
   5334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5336 		fi
   5337 
   5338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5340 		fi
   5341 
   5342 		CFLAGS="$CFLAGS -Wformat=2"
   5343 
   5344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5345 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5346 		cacheid=xorg_cv_cc_flag__Wformat_2
   5347 		if eval test \${$cacheid+y}
   5348 then :
   5349   printf %s "(cached) " >&6
   5350 else $as_nop
   5351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 int i;
   5354 int
   5355 main (void)
   5356 {
   5357 
   5358   ;
   5359   return 0;
   5360 }
   5361 _ACEOF
   5362 if ac_fn_c_try_link "$LINENO"
   5363 then :
   5364   eval $cacheid=yes
   5365 else $as_nop
   5366   eval $cacheid=no
   5367 fi
   5368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5369     conftest$ac_exeext conftest.$ac_ext
   5370 fi
   5371 
   5372 
   5373 		CFLAGS="$xorg_testset_save_CFLAGS"
   5374 
   5375 		eval supported=\$$cacheid
   5376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5377 printf "%s\n" "$supported" >&6; }
   5378 		if test "$supported" = "yes" ; then
   5379 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5380 			found="yes"
   5381 		fi
   5382 	fi
   5383 
   5384 	if test $found = "no" ; then
   5385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 		fi
   5388 
   5389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5391 		fi
   5392 
   5393 		CFLAGS="$CFLAGS -Wformat"
   5394 
   5395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5396 printf %s "checking if $CC supports -Wformat... " >&6; }
   5397 		cacheid=xorg_cv_cc_flag__Wformat
   5398 		if eval test \${$cacheid+y}
   5399 then :
   5400   printf %s "(cached) " >&6
   5401 else $as_nop
   5402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5403 /* end confdefs.h.  */
   5404 int i;
   5405 int
   5406 main (void)
   5407 {
   5408 
   5409   ;
   5410   return 0;
   5411 }
   5412 _ACEOF
   5413 if ac_fn_c_try_link "$LINENO"
   5414 then :
   5415   eval $cacheid=yes
   5416 else $as_nop
   5417   eval $cacheid=no
   5418 fi
   5419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5420     conftest$ac_exeext conftest.$ac_ext
   5421 fi
   5422 
   5423 
   5424 		CFLAGS="$xorg_testset_save_CFLAGS"
   5425 
   5426 		eval supported=\$$cacheid
   5427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5428 printf "%s\n" "$supported" >&6; }
   5429 		if test "$supported" = "yes" ; then
   5430 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5431 			found="yes"
   5432 		fi
   5433 	fi
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 xorg_testset_save_CFLAGS="$CFLAGS"
   5452 
   5453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5456 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5457 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5458 then :
   5459   printf %s "(cached) " >&6
   5460 else $as_nop
   5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 _ACEOF
   5465 if ac_fn_c_try_compile "$LINENO"
   5466 then :
   5467   xorg_cv_cc_flag_unknown_warning_option=yes
   5468 else $as_nop
   5469   xorg_cv_cc_flag_unknown_warning_option=no
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5472 fi
   5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5476 	CFLAGS="$xorg_testset_save_CFLAGS"
   5477 fi
   5478 
   5479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 	fi
   5483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5487 then :
   5488   printf %s "(cached) " >&6
   5489 else $as_nop
   5490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5491 /* end confdefs.h.  */
   5492 int i;
   5493 _ACEOF
   5494 if ac_fn_c_try_compile "$LINENO"
   5495 then :
   5496   xorg_cv_cc_flag_unused_command_line_argument=yes
   5497 else $as_nop
   5498   xorg_cv_cc_flag_unused_command_line_argument=no
   5499 fi
   5500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5501 fi
   5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5503 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5505 	CFLAGS="$xorg_testset_save_CFLAGS"
   5506 fi
   5507 
   5508 found="no"
   5509 
   5510 	if test $found = "no" ; then
   5511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5513 		fi
   5514 
   5515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5517 		fi
   5518 
   5519 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5520 
   5521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5522 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5523 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5524 		if eval test \${$cacheid+y}
   5525 then :
   5526   printf %s "(cached) " >&6
   5527 else $as_nop
   5528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5529 /* end confdefs.h.  */
   5530 int i;
   5531 int
   5532 main (void)
   5533 {
   5534 
   5535   ;
   5536   return 0;
   5537 }
   5538 _ACEOF
   5539 if ac_fn_c_try_link "$LINENO"
   5540 then :
   5541   eval $cacheid=yes
   5542 else $as_nop
   5543   eval $cacheid=no
   5544 fi
   5545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5546     conftest$ac_exeext conftest.$ac_ext
   5547 fi
   5548 
   5549 
   5550 		CFLAGS="$xorg_testset_save_CFLAGS"
   5551 
   5552 		eval supported=\$$cacheid
   5553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5554 printf "%s\n" "$supported" >&6; }
   5555 		if test "$supported" = "yes" ; then
   5556 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5557 			found="yes"
   5558 		fi
   5559 	fi
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 xorg_testset_save_CFLAGS="$CFLAGS"
   5576 
   5577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5580 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5581 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5582 then :
   5583   printf %s "(cached) " >&6
   5584 else $as_nop
   5585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5586 /* end confdefs.h.  */
   5587 int i;
   5588 _ACEOF
   5589 if ac_fn_c_try_compile "$LINENO"
   5590 then :
   5591   xorg_cv_cc_flag_unknown_warning_option=yes
   5592 else $as_nop
   5593   xorg_cv_cc_flag_unknown_warning_option=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5596 fi
   5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5598 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5600 	CFLAGS="$xorg_testset_save_CFLAGS"
   5601 fi
   5602 
   5603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 	fi
   5607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5609 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5610 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5611 then :
   5612   printf %s "(cached) " >&6
   5613 else $as_nop
   5614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 int i;
   5617 _ACEOF
   5618 if ac_fn_c_try_compile "$LINENO"
   5619 then :
   5620   xorg_cv_cc_flag_unused_command_line_argument=yes
   5621 else $as_nop
   5622   xorg_cv_cc_flag_unused_command_line_argument=no
   5623 fi
   5624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5625 fi
   5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5627 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5628 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5629 	CFLAGS="$xorg_testset_save_CFLAGS"
   5630 fi
   5631 
   5632 found="no"
   5633 
   5634 	if test $found = "no" ; then
   5635 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5637 		fi
   5638 
   5639 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5641 		fi
   5642 
   5643 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5644 
   5645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5646 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5647 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5648 		if eval test \${$cacheid+y}
   5649 then :
   5650   printf %s "(cached) " >&6
   5651 else $as_nop
   5652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5653 /* end confdefs.h.  */
   5654 int i;
   5655 int
   5656 main (void)
   5657 {
   5658 
   5659   ;
   5660   return 0;
   5661 }
   5662 _ACEOF
   5663 if ac_fn_c_try_link "$LINENO"
   5664 then :
   5665   eval $cacheid=yes
   5666 else $as_nop
   5667   eval $cacheid=no
   5668 fi
   5669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5670     conftest$ac_exeext conftest.$ac_ext
   5671 fi
   5672 
   5673 
   5674 		CFLAGS="$xorg_testset_save_CFLAGS"
   5675 
   5676 		eval supported=\$$cacheid
   5677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5678 printf "%s\n" "$supported" >&6; }
   5679 		if test "$supported" = "yes" ; then
   5680 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5681 			found="yes"
   5682 		fi
   5683 	fi
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 xorg_testset_save_CFLAGS="$CFLAGS"
   5700 
   5701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5706 then :
   5707   printf %s "(cached) " >&6
   5708 else $as_nop
   5709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5710 /* end confdefs.h.  */
   5711 int i;
   5712 _ACEOF
   5713 if ac_fn_c_try_compile "$LINENO"
   5714 then :
   5715   xorg_cv_cc_flag_unknown_warning_option=yes
   5716 else $as_nop
   5717   xorg_cv_cc_flag_unknown_warning_option=no
   5718 fi
   5719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5720 fi
   5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5724 	CFLAGS="$xorg_testset_save_CFLAGS"
   5725 fi
   5726 
   5727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5730 	fi
   5731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5735 then :
   5736   printf %s "(cached) " >&6
   5737 else $as_nop
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 _ACEOF
   5742 if ac_fn_c_try_compile "$LINENO"
   5743 then :
   5744   xorg_cv_cc_flag_unused_command_line_argument=yes
   5745 else $as_nop
   5746   xorg_cv_cc_flag_unused_command_line_argument=no
   5747 fi
   5748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5749 fi
   5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5751 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5753 	CFLAGS="$xorg_testset_save_CFLAGS"
   5754 fi
   5755 
   5756 found="no"
   5757 
   5758 	if test $found = "no" ; then
   5759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5761 		fi
   5762 
   5763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5765 		fi
   5766 
   5767 		CFLAGS="$CFLAGS -Wnested-externs"
   5768 
   5769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5770 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5771 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5772 		if eval test \${$cacheid+y}
   5773 then :
   5774   printf %s "(cached) " >&6
   5775 else $as_nop
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 int
   5780 main (void)
   5781 {
   5782 
   5783   ;
   5784   return 0;
   5785 }
   5786 _ACEOF
   5787 if ac_fn_c_try_link "$LINENO"
   5788 then :
   5789   eval $cacheid=yes
   5790 else $as_nop
   5791   eval $cacheid=no
   5792 fi
   5793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5794     conftest$ac_exeext conftest.$ac_ext
   5795 fi
   5796 
   5797 
   5798 		CFLAGS="$xorg_testset_save_CFLAGS"
   5799 
   5800 		eval supported=\$$cacheid
   5801 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5802 printf "%s\n" "$supported" >&6; }
   5803 		if test "$supported" = "yes" ; then
   5804 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5805 			found="yes"
   5806 		fi
   5807 	fi
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 xorg_testset_save_CFLAGS="$CFLAGS"
   5824 
   5825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5828 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5829 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5830 then :
   5831   printf %s "(cached) " >&6
   5832 else $as_nop
   5833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5834 /* end confdefs.h.  */
   5835 int i;
   5836 _ACEOF
   5837 if ac_fn_c_try_compile "$LINENO"
   5838 then :
   5839   xorg_cv_cc_flag_unknown_warning_option=yes
   5840 else $as_nop
   5841   xorg_cv_cc_flag_unknown_warning_option=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   5862   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 $as_nop
   5870   xorg_cv_cc_flag_unused_command_line_argument=no
   5871 fi
   5872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5873 fi
   5874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5875 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5877 	CFLAGS="$xorg_testset_save_CFLAGS"
   5878 fi
   5879 
   5880 found="no"
   5881 
   5882 	if test $found = "no" ; then
   5883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5885 		fi
   5886 
   5887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5889 		fi
   5890 
   5891 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5892 
   5893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5894 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5895 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5896 		if eval test \${$cacheid+y}
   5897 then :
   5898   printf %s "(cached) " >&6
   5899 else $as_nop
   5900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5901 /* end confdefs.h.  */
   5902 int i;
   5903 int
   5904 main (void)
   5905 {
   5906 
   5907   ;
   5908   return 0;
   5909 }
   5910 _ACEOF
   5911 if ac_fn_c_try_link "$LINENO"
   5912 then :
   5913   eval $cacheid=yes
   5914 else $as_nop
   5915   eval $cacheid=no
   5916 fi
   5917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5918     conftest$ac_exeext conftest.$ac_ext
   5919 fi
   5920 
   5921 
   5922 		CFLAGS="$xorg_testset_save_CFLAGS"
   5923 
   5924 		eval supported=\$$cacheid
   5925 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5926 printf "%s\n" "$supported" >&6; }
   5927 		if test "$supported" = "yes" ; then
   5928 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5929 			found="yes"
   5930 		fi
   5931 	fi
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 xorg_testset_save_CFLAGS="$CFLAGS"
   5948 
   5949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5952 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5953 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5954 then :
   5955   printf %s "(cached) " >&6
   5956 else $as_nop
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 _ACEOF
   5961 if ac_fn_c_try_compile "$LINENO"
   5962 then :
   5963   xorg_cv_cc_flag_unknown_warning_option=yes
   5964 else $as_nop
   5965   xorg_cv_cc_flag_unknown_warning_option=no
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5968 fi
   5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5970 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5972 	CFLAGS="$xorg_testset_save_CFLAGS"
   5973 fi
   5974 
   5975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5978 	fi
   5979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5983 then :
   5984   printf %s "(cached) " >&6
   5985 else $as_nop
   5986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5987 /* end confdefs.h.  */
   5988 int i;
   5989 _ACEOF
   5990 if ac_fn_c_try_compile "$LINENO"
   5991 then :
   5992   xorg_cv_cc_flag_unused_command_line_argument=yes
   5993 else $as_nop
   5994   xorg_cv_cc_flag_unused_command_line_argument=no
   5995 fi
   5996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5997 fi
   5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6001 	CFLAGS="$xorg_testset_save_CFLAGS"
   6002 fi
   6003 
   6004 found="no"
   6005 
   6006 	if test $found = "no" ; then
   6007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6009 		fi
   6010 
   6011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6013 		fi
   6014 
   6015 		CFLAGS="$CFLAGS -Wold-style-definition"
   6016 
   6017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6018 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6019 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6020 		if eval test \${$cacheid+y}
   6021 then :
   6022   printf %s "(cached) " >&6
   6023 else $as_nop
   6024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6025 /* end confdefs.h.  */
   6026 int i;
   6027 int
   6028 main (void)
   6029 {
   6030 
   6031   ;
   6032   return 0;
   6033 }
   6034 _ACEOF
   6035 if ac_fn_c_try_link "$LINENO"
   6036 then :
   6037   eval $cacheid=yes
   6038 else $as_nop
   6039   eval $cacheid=no
   6040 fi
   6041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6042     conftest$ac_exeext conftest.$ac_ext
   6043 fi
   6044 
   6045 
   6046 		CFLAGS="$xorg_testset_save_CFLAGS"
   6047 
   6048 		eval supported=\$$cacheid
   6049 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6050 printf "%s\n" "$supported" >&6; }
   6051 		if test "$supported" = "yes" ; then
   6052 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6053 			found="yes"
   6054 		fi
   6055 	fi
   6056 
   6057 	if test $found = "no" ; then
   6058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6060 		fi
   6061 
   6062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6064 		fi
   6065 
   6066 		CFLAGS="$CFLAGS -fd"
   6067 
   6068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6069 printf %s "checking if $CC supports -fd... " >&6; }
   6070 		cacheid=xorg_cv_cc_flag__fd
   6071 		if eval test \${$cacheid+y}
   6072 then :
   6073   printf %s "(cached) " >&6
   6074 else $as_nop
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 int
   6079 main (void)
   6080 {
   6081 
   6082   ;
   6083   return 0;
   6084 }
   6085 _ACEOF
   6086 if ac_fn_c_try_link "$LINENO"
   6087 then :
   6088   eval $cacheid=yes
   6089 else $as_nop
   6090   eval $cacheid=no
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6093     conftest$ac_exeext conftest.$ac_ext
   6094 fi
   6095 
   6096 
   6097 		CFLAGS="$xorg_testset_save_CFLAGS"
   6098 
   6099 		eval supported=\$$cacheid
   6100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6101 printf "%s\n" "$supported" >&6; }
   6102 		if test "$supported" = "yes" ; then
   6103 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6104 			found="yes"
   6105 		fi
   6106 	fi
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 xorg_testset_save_CFLAGS="$CFLAGS"
   6123 
   6124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6127 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6128 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6129 then :
   6130   printf %s "(cached) " >&6
   6131 else $as_nop
   6132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6133 /* end confdefs.h.  */
   6134 int i;
   6135 _ACEOF
   6136 if ac_fn_c_try_compile "$LINENO"
   6137 then :
   6138   xorg_cv_cc_flag_unknown_warning_option=yes
   6139 else $as_nop
   6140   xorg_cv_cc_flag_unknown_warning_option=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6143 fi
   6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6145 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6147 	CFLAGS="$xorg_testset_save_CFLAGS"
   6148 fi
   6149 
   6150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6153 	fi
   6154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6156 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6157 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6158 then :
   6159   printf %s "(cached) " >&6
   6160 else $as_nop
   6161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6162 /* end confdefs.h.  */
   6163 int i;
   6164 _ACEOF
   6165 if ac_fn_c_try_compile "$LINENO"
   6166 then :
   6167   xorg_cv_cc_flag_unused_command_line_argument=yes
   6168 else $as_nop
   6169   xorg_cv_cc_flag_unused_command_line_argument=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6172 fi
   6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6174 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6176 	CFLAGS="$xorg_testset_save_CFLAGS"
   6177 fi
   6178 
   6179 found="no"
   6180 
   6181 	if test $found = "no" ; then
   6182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6184 		fi
   6185 
   6186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6188 		fi
   6189 
   6190 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6191 
   6192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6193 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6194 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6195 		if eval test \${$cacheid+y}
   6196 then :
   6197   printf %s "(cached) " >&6
   6198 else $as_nop
   6199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6200 /* end confdefs.h.  */
   6201 int i;
   6202 int
   6203 main (void)
   6204 {
   6205 
   6206   ;
   6207   return 0;
   6208 }
   6209 _ACEOF
   6210 if ac_fn_c_try_link "$LINENO"
   6211 then :
   6212   eval $cacheid=yes
   6213 else $as_nop
   6214   eval $cacheid=no
   6215 fi
   6216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6217     conftest$ac_exeext conftest.$ac_ext
   6218 fi
   6219 
   6220 
   6221 		CFLAGS="$xorg_testset_save_CFLAGS"
   6222 
   6223 		eval supported=\$$cacheid
   6224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6225 printf "%s\n" "$supported" >&6; }
   6226 		if test "$supported" = "yes" ; then
   6227 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6228 			found="yes"
   6229 		fi
   6230 	fi
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 # This chunk adds additional warnings that could catch undesired effects.
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 xorg_testset_save_CFLAGS="$CFLAGS"
   6251 
   6252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6255 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6256 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6257 then :
   6258   printf %s "(cached) " >&6
   6259 else $as_nop
   6260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6261 /* end confdefs.h.  */
   6262 int i;
   6263 _ACEOF
   6264 if ac_fn_c_try_compile "$LINENO"
   6265 then :
   6266   xorg_cv_cc_flag_unknown_warning_option=yes
   6267 else $as_nop
   6268   xorg_cv_cc_flag_unknown_warning_option=no
   6269 fi
   6270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6271 fi
   6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6273 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6275 	CFLAGS="$xorg_testset_save_CFLAGS"
   6276 fi
   6277 
   6278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6281 	fi
   6282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6283 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6284 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6285 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6286 then :
   6287   printf %s "(cached) " >&6
   6288 else $as_nop
   6289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6290 /* end confdefs.h.  */
   6291 int i;
   6292 _ACEOF
   6293 if ac_fn_c_try_compile "$LINENO"
   6294 then :
   6295   xorg_cv_cc_flag_unused_command_line_argument=yes
   6296 else $as_nop
   6297   xorg_cv_cc_flag_unused_command_line_argument=no
   6298 fi
   6299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6300 fi
   6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6302 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6304 	CFLAGS="$xorg_testset_save_CFLAGS"
   6305 fi
   6306 
   6307 found="no"
   6308 
   6309 	if test $found = "no" ; then
   6310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6312 		fi
   6313 
   6314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6316 		fi
   6317 
   6318 		CFLAGS="$CFLAGS -Wunused"
   6319 
   6320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6321 printf %s "checking if $CC supports -Wunused... " >&6; }
   6322 		cacheid=xorg_cv_cc_flag__Wunused
   6323 		if eval test \${$cacheid+y}
   6324 then :
   6325   printf %s "(cached) " >&6
   6326 else $as_nop
   6327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6328 /* end confdefs.h.  */
   6329 int i;
   6330 int
   6331 main (void)
   6332 {
   6333 
   6334   ;
   6335   return 0;
   6336 }
   6337 _ACEOF
   6338 if ac_fn_c_try_link "$LINENO"
   6339 then :
   6340   eval $cacheid=yes
   6341 else $as_nop
   6342   eval $cacheid=no
   6343 fi
   6344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6345     conftest$ac_exeext conftest.$ac_ext
   6346 fi
   6347 
   6348 
   6349 		CFLAGS="$xorg_testset_save_CFLAGS"
   6350 
   6351 		eval supported=\$$cacheid
   6352 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6353 printf "%s\n" "$supported" >&6; }
   6354 		if test "$supported" = "yes" ; then
   6355 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6356 			found="yes"
   6357 		fi
   6358 	fi
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 xorg_testset_save_CFLAGS="$CFLAGS"
   6375 
   6376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6379 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6380 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6381 then :
   6382   printf %s "(cached) " >&6
   6383 else $as_nop
   6384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6385 /* end confdefs.h.  */
   6386 int i;
   6387 _ACEOF
   6388 if ac_fn_c_try_compile "$LINENO"
   6389 then :
   6390   xorg_cv_cc_flag_unknown_warning_option=yes
   6391 else $as_nop
   6392   xorg_cv_cc_flag_unknown_warning_option=no
   6393 fi
   6394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6395 fi
   6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6397 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6399 	CFLAGS="$xorg_testset_save_CFLAGS"
   6400 fi
   6401 
   6402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6405 	fi
   6406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6408 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6409 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6410 then :
   6411   printf %s "(cached) " >&6
   6412 else $as_nop
   6413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6414 /* end confdefs.h.  */
   6415 int i;
   6416 _ACEOF
   6417 if ac_fn_c_try_compile "$LINENO"
   6418 then :
   6419   xorg_cv_cc_flag_unused_command_line_argument=yes
   6420 else $as_nop
   6421   xorg_cv_cc_flag_unused_command_line_argument=no
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6424 fi
   6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6426 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6428 	CFLAGS="$xorg_testset_save_CFLAGS"
   6429 fi
   6430 
   6431 found="no"
   6432 
   6433 	if test $found = "no" ; then
   6434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6436 		fi
   6437 
   6438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6440 		fi
   6441 
   6442 		CFLAGS="$CFLAGS -Wuninitialized"
   6443 
   6444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6445 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6446 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6447 		if eval test \${$cacheid+y}
   6448 then :
   6449   printf %s "(cached) " >&6
   6450 else $as_nop
   6451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 int i;
   6454 int
   6455 main (void)
   6456 {
   6457 
   6458   ;
   6459   return 0;
   6460 }
   6461 _ACEOF
   6462 if ac_fn_c_try_link "$LINENO"
   6463 then :
   6464   eval $cacheid=yes
   6465 else $as_nop
   6466   eval $cacheid=no
   6467 fi
   6468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6469     conftest$ac_exeext conftest.$ac_ext
   6470 fi
   6471 
   6472 
   6473 		CFLAGS="$xorg_testset_save_CFLAGS"
   6474 
   6475 		eval supported=\$$cacheid
   6476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6477 printf "%s\n" "$supported" >&6; }
   6478 		if test "$supported" = "yes" ; then
   6479 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6480 			found="yes"
   6481 		fi
   6482 	fi
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 xorg_testset_save_CFLAGS="$CFLAGS"
   6499 
   6500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6503 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6504 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6505 then :
   6506   printf %s "(cached) " >&6
   6507 else $as_nop
   6508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6509 /* end confdefs.h.  */
   6510 int i;
   6511 _ACEOF
   6512 if ac_fn_c_try_compile "$LINENO"
   6513 then :
   6514   xorg_cv_cc_flag_unknown_warning_option=yes
   6515 else $as_nop
   6516   xorg_cv_cc_flag_unknown_warning_option=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6519 fi
   6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6521 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6529 	fi
   6530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6534 then :
   6535   printf %s "(cached) " >&6
   6536 else $as_nop
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"
   6542 then :
   6543   xorg_cv_cc_flag_unused_command_line_argument=yes
   6544 else $as_nop
   6545   xorg_cv_cc_flag_unused_command_line_argument=no
   6546 fi
   6547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6548 fi
   6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6550 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6552 	CFLAGS="$xorg_testset_save_CFLAGS"
   6553 fi
   6554 
   6555 found="no"
   6556 
   6557 	if test $found = "no" ; then
   6558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6560 		fi
   6561 
   6562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6564 		fi
   6565 
   6566 		CFLAGS="$CFLAGS -Wshadow"
   6567 
   6568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6569 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6570 		cacheid=xorg_cv_cc_flag__Wshadow
   6571 		if eval test \${$cacheid+y}
   6572 then :
   6573   printf %s "(cached) " >&6
   6574 else $as_nop
   6575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6576 /* end confdefs.h.  */
   6577 int i;
   6578 int
   6579 main (void)
   6580 {
   6581 
   6582   ;
   6583   return 0;
   6584 }
   6585 _ACEOF
   6586 if ac_fn_c_try_link "$LINENO"
   6587 then :
   6588   eval $cacheid=yes
   6589 else $as_nop
   6590   eval $cacheid=no
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6593     conftest$ac_exeext conftest.$ac_ext
   6594 fi
   6595 
   6596 
   6597 		CFLAGS="$xorg_testset_save_CFLAGS"
   6598 
   6599 		eval supported=\$$cacheid
   6600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6601 printf "%s\n" "$supported" >&6; }
   6602 		if test "$supported" = "yes" ; then
   6603 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6604 			found="yes"
   6605 		fi
   6606 	fi
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 xorg_testset_save_CFLAGS="$CFLAGS"
   6623 
   6624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6627 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6628 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6629 then :
   6630   printf %s "(cached) " >&6
   6631 else $as_nop
   6632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6633 /* end confdefs.h.  */
   6634 int i;
   6635 _ACEOF
   6636 if ac_fn_c_try_compile "$LINENO"
   6637 then :
   6638   xorg_cv_cc_flag_unknown_warning_option=yes
   6639 else $as_nop
   6640   xorg_cv_cc_flag_unknown_warning_option=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6643 fi
   6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6647 	CFLAGS="$xorg_testset_save_CFLAGS"
   6648 fi
   6649 
   6650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 	fi
   6654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6658 then :
   6659   printf %s "(cached) " >&6
   6660 else $as_nop
   6661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662 /* end confdefs.h.  */
   6663 int i;
   6664 _ACEOF
   6665 if ac_fn_c_try_compile "$LINENO"
   6666 then :
   6667   xorg_cv_cc_flag_unused_command_line_argument=yes
   6668 else $as_nop
   6669   xorg_cv_cc_flag_unused_command_line_argument=no
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6672 fi
   6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6674 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6676 	CFLAGS="$xorg_testset_save_CFLAGS"
   6677 fi
   6678 
   6679 found="no"
   6680 
   6681 	if test $found = "no" ; then
   6682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6684 		fi
   6685 
   6686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6688 		fi
   6689 
   6690 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6691 
   6692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6693 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6694 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6695 		if eval test \${$cacheid+y}
   6696 then :
   6697   printf %s "(cached) " >&6
   6698 else $as_nop
   6699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6700 /* end confdefs.h.  */
   6701 int i;
   6702 int
   6703 main (void)
   6704 {
   6705 
   6706   ;
   6707   return 0;
   6708 }
   6709 _ACEOF
   6710 if ac_fn_c_try_link "$LINENO"
   6711 then :
   6712   eval $cacheid=yes
   6713 else $as_nop
   6714   eval $cacheid=no
   6715 fi
   6716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6717     conftest$ac_exeext conftest.$ac_ext
   6718 fi
   6719 
   6720 
   6721 		CFLAGS="$xorg_testset_save_CFLAGS"
   6722 
   6723 		eval supported=\$$cacheid
   6724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6725 printf "%s\n" "$supported" >&6; }
   6726 		if test "$supported" = "yes" ; then
   6727 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6728 			found="yes"
   6729 		fi
   6730 	fi
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 xorg_testset_save_CFLAGS="$CFLAGS"
   6747 
   6748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6751 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6752 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else $as_nop
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"
   6761 then :
   6762   xorg_cv_cc_flag_unknown_warning_option=yes
   6763 else $as_nop
   6764   xorg_cv_cc_flag_unknown_warning_option=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6767 fi
   6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6769 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6771 	CFLAGS="$xorg_testset_save_CFLAGS"
   6772 fi
   6773 
   6774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6777 	fi
   6778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6780 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6781 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6782 then :
   6783   printf %s "(cached) " >&6
   6784 else $as_nop
   6785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6786 /* end confdefs.h.  */
   6787 int i;
   6788 _ACEOF
   6789 if ac_fn_c_try_compile "$LINENO"
   6790 then :
   6791   xorg_cv_cc_flag_unused_command_line_argument=yes
   6792 else $as_nop
   6793   xorg_cv_cc_flag_unused_command_line_argument=no
   6794 fi
   6795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6796 fi
   6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6798 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6800 	CFLAGS="$xorg_testset_save_CFLAGS"
   6801 fi
   6802 
   6803 found="no"
   6804 
   6805 	if test $found = "no" ; then
   6806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6808 		fi
   6809 
   6810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6812 		fi
   6813 
   6814 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6815 
   6816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6817 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6818 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6819 		if eval test \${$cacheid+y}
   6820 then :
   6821   printf %s "(cached) " >&6
   6822 else $as_nop
   6823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 int
   6827 main (void)
   6828 {
   6829 
   6830   ;
   6831   return 0;
   6832 }
   6833 _ACEOF
   6834 if ac_fn_c_try_link "$LINENO"
   6835 then :
   6836   eval $cacheid=yes
   6837 else $as_nop
   6838   eval $cacheid=no
   6839 fi
   6840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6841     conftest$ac_exeext conftest.$ac_ext
   6842 fi
   6843 
   6844 
   6845 		CFLAGS="$xorg_testset_save_CFLAGS"
   6846 
   6847 		eval supported=\$$cacheid
   6848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6849 printf "%s\n" "$supported" >&6; }
   6850 		if test "$supported" = "yes" ; then
   6851 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6852 			found="yes"
   6853 		fi
   6854 	fi
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 xorg_testset_save_CFLAGS="$CFLAGS"
   6871 
   6872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6875 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6876 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6877 then :
   6878   printf %s "(cached) " >&6
   6879 else $as_nop
   6880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6881 /* end confdefs.h.  */
   6882 int i;
   6883 _ACEOF
   6884 if ac_fn_c_try_compile "$LINENO"
   6885 then :
   6886   xorg_cv_cc_flag_unknown_warning_option=yes
   6887 else $as_nop
   6888   xorg_cv_cc_flag_unknown_warning_option=no
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6891 fi
   6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6895 	CFLAGS="$xorg_testset_save_CFLAGS"
   6896 fi
   6897 
   6898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6901 	fi
   6902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6906 then :
   6907   printf %s "(cached) " >&6
   6908 else $as_nop
   6909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6910 /* end confdefs.h.  */
   6911 int i;
   6912 _ACEOF
   6913 if ac_fn_c_try_compile "$LINENO"
   6914 then :
   6915   xorg_cv_cc_flag_unused_command_line_argument=yes
   6916 else $as_nop
   6917   xorg_cv_cc_flag_unused_command_line_argument=no
   6918 fi
   6919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6920 fi
   6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6922 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6924 	CFLAGS="$xorg_testset_save_CFLAGS"
   6925 fi
   6926 
   6927 found="no"
   6928 
   6929 	if test $found = "no" ; then
   6930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6932 		fi
   6933 
   6934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6936 		fi
   6937 
   6938 		CFLAGS="$CFLAGS -Wredundant-decls"
   6939 
   6940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6941 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6942 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6943 		if eval test \${$cacheid+y}
   6944 then :
   6945   printf %s "(cached) " >&6
   6946 else $as_nop
   6947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6948 /* end confdefs.h.  */
   6949 int i;
   6950 int
   6951 main (void)
   6952 {
   6953 
   6954   ;
   6955   return 0;
   6956 }
   6957 _ACEOF
   6958 if ac_fn_c_try_link "$LINENO"
   6959 then :
   6960   eval $cacheid=yes
   6961 else $as_nop
   6962   eval $cacheid=no
   6963 fi
   6964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6965     conftest$ac_exeext conftest.$ac_ext
   6966 fi
   6967 
   6968 
   6969 		CFLAGS="$xorg_testset_save_CFLAGS"
   6970 
   6971 		eval supported=\$$cacheid
   6972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6973 printf "%s\n" "$supported" >&6; }
   6974 		if test "$supported" = "yes" ; then
   6975 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6976 			found="yes"
   6977 		fi
   6978 	fi
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 xorg_testset_save_CFLAGS="$CFLAGS"
   6995 
   6996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6999 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7000 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7001 then :
   7002   printf %s "(cached) " >&6
   7003 else $as_nop
   7004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 int i;
   7007 _ACEOF
   7008 if ac_fn_c_try_compile "$LINENO"
   7009 then :
   7010   xorg_cv_cc_flag_unknown_warning_option=yes
   7011 else $as_nop
   7012   xorg_cv_cc_flag_unknown_warning_option=no
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7015 fi
   7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7019 	CFLAGS="$xorg_testset_save_CFLAGS"
   7020 fi
   7021 
   7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	fi
   7026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7030 then :
   7031   printf %s "(cached) " >&6
   7032 else $as_nop
   7033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 _ACEOF
   7037 if ac_fn_c_try_compile "$LINENO"
   7038 then :
   7039   xorg_cv_cc_flag_unused_command_line_argument=yes
   7040 else $as_nop
   7041   xorg_cv_cc_flag_unused_command_line_argument=no
   7042 fi
   7043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7044 fi
   7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7046 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7048 	CFLAGS="$xorg_testset_save_CFLAGS"
   7049 fi
   7050 
   7051 found="no"
   7052 
   7053 	if test $found = "no" ; then
   7054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 		fi
   7057 
   7058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7060 		fi
   7061 
   7062 		CFLAGS="$CFLAGS -Wlogical-op"
   7063 
   7064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7065 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7066 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7067 		if eval test \${$cacheid+y}
   7068 then :
   7069   printf %s "(cached) " >&6
   7070 else $as_nop
   7071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7072 /* end confdefs.h.  */
   7073 int i;
   7074 int
   7075 main (void)
   7076 {
   7077 
   7078   ;
   7079   return 0;
   7080 }
   7081 _ACEOF
   7082 if ac_fn_c_try_link "$LINENO"
   7083 then :
   7084   eval $cacheid=yes
   7085 else $as_nop
   7086   eval $cacheid=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7089     conftest$ac_exeext conftest.$ac_ext
   7090 fi
   7091 
   7092 
   7093 		CFLAGS="$xorg_testset_save_CFLAGS"
   7094 
   7095 		eval supported=\$$cacheid
   7096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7097 printf "%s\n" "$supported" >&6; }
   7098 		if test "$supported" = "yes" ; then
   7099 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7100 			found="yes"
   7101 		fi
   7102 	fi
   7103 
   7104 
   7105 
   7106 # These are currently disabled because they are noisy.  They will be enabled
   7107 # in the future once the codebase is sufficiently modernized to silence
   7108 # them.  For now, I don't want them to drown out the other warnings.
   7109 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7110 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7111 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7112 
   7113 # Turn some warnings into errors, so we don't accidently get successful builds
   7114 # when there are problems that should be fixed.
   7115 
   7116 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 xorg_testset_save_CFLAGS="$CFLAGS"
   7131 
   7132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7135 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7136 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7137 then :
   7138   printf %s "(cached) " >&6
   7139 else $as_nop
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 _ACEOF
   7144 if ac_fn_c_try_compile "$LINENO"
   7145 then :
   7146   xorg_cv_cc_flag_unknown_warning_option=yes
   7147 else $as_nop
   7148   xorg_cv_cc_flag_unknown_warning_option=no
   7149 fi
   7150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7151 fi
   7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7155 	CFLAGS="$xorg_testset_save_CFLAGS"
   7156 fi
   7157 
   7158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7161 	fi
   7162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7166 then :
   7167   printf %s "(cached) " >&6
   7168 else $as_nop
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 int i;
   7172 _ACEOF
   7173 if ac_fn_c_try_compile "$LINENO"
   7174 then :
   7175   xorg_cv_cc_flag_unused_command_line_argument=yes
   7176 else $as_nop
   7177   xorg_cv_cc_flag_unused_command_line_argument=no
   7178 fi
   7179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7180 fi
   7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7182 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7184 	CFLAGS="$xorg_testset_save_CFLAGS"
   7185 fi
   7186 
   7187 found="no"
   7188 
   7189 	if test $found = "no" ; then
   7190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7192 		fi
   7193 
   7194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7196 		fi
   7197 
   7198 		CFLAGS="$CFLAGS -Werror=implicit"
   7199 
   7200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7201 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7202 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7203 		if eval test \${$cacheid+y}
   7204 then :
   7205   printf %s "(cached) " >&6
   7206 else $as_nop
   7207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7208 /* end confdefs.h.  */
   7209 int i;
   7210 int
   7211 main (void)
   7212 {
   7213 
   7214   ;
   7215   return 0;
   7216 }
   7217 _ACEOF
   7218 if ac_fn_c_try_link "$LINENO"
   7219 then :
   7220   eval $cacheid=yes
   7221 else $as_nop
   7222   eval $cacheid=no
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7225     conftest$ac_exeext conftest.$ac_ext
   7226 fi
   7227 
   7228 
   7229 		CFLAGS="$xorg_testset_save_CFLAGS"
   7230 
   7231 		eval supported=\$$cacheid
   7232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7233 printf "%s\n" "$supported" >&6; }
   7234 		if test "$supported" = "yes" ; then
   7235 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7236 			found="yes"
   7237 		fi
   7238 	fi
   7239 
   7240 	if test $found = "no" ; then
   7241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7243 		fi
   7244 
   7245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7247 		fi
   7248 
   7249 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7250 
   7251 		{ 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
   7252 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7253 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7254 		if eval test \${$cacheid+y}
   7255 then :
   7256   printf %s "(cached) " >&6
   7257 else $as_nop
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 int
   7262 main (void)
   7263 {
   7264 
   7265   ;
   7266   return 0;
   7267 }
   7268 _ACEOF
   7269 if ac_fn_c_try_link "$LINENO"
   7270 then :
   7271   eval $cacheid=yes
   7272 else $as_nop
   7273   eval $cacheid=no
   7274 fi
   7275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7276     conftest$ac_exeext conftest.$ac_ext
   7277 fi
   7278 
   7279 
   7280 		CFLAGS="$xorg_testset_save_CFLAGS"
   7281 
   7282 		eval supported=\$$cacheid
   7283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7284 printf "%s\n" "$supported" >&6; }
   7285 		if test "$supported" = "yes" ; then
   7286 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7287 			found="yes"
   7288 		fi
   7289 	fi
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 xorg_testset_save_CFLAGS="$CFLAGS"
   7306 
   7307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7310 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7311 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7312 then :
   7313   printf %s "(cached) " >&6
   7314 else $as_nop
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"
   7320 then :
   7321   xorg_cv_cc_flag_unknown_warning_option=yes
   7322 else $as_nop
   7323   xorg_cv_cc_flag_unknown_warning_option=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7326 fi
   7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7328 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7330 	CFLAGS="$xorg_testset_save_CFLAGS"
   7331 fi
   7332 
   7333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7336 	fi
   7337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7338 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7339 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7340 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7341 then :
   7342   printf %s "(cached) " >&6
   7343 else $as_nop
   7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7345 /* end confdefs.h.  */
   7346 int i;
   7347 _ACEOF
   7348 if ac_fn_c_try_compile "$LINENO"
   7349 then :
   7350   xorg_cv_cc_flag_unused_command_line_argument=yes
   7351 else $as_nop
   7352   xorg_cv_cc_flag_unused_command_line_argument=no
   7353 fi
   7354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7355 fi
   7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7357 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7359 	CFLAGS="$xorg_testset_save_CFLAGS"
   7360 fi
   7361 
   7362 found="no"
   7363 
   7364 	if test $found = "no" ; then
   7365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7367 		fi
   7368 
   7369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7371 		fi
   7372 
   7373 		CFLAGS="$CFLAGS -Werror=nonnull"
   7374 
   7375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7376 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7377 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7378 		if eval test \${$cacheid+y}
   7379 then :
   7380   printf %s "(cached) " >&6
   7381 else $as_nop
   7382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 int i;
   7385 int
   7386 main (void)
   7387 {
   7388 
   7389   ;
   7390   return 0;
   7391 }
   7392 _ACEOF
   7393 if ac_fn_c_try_link "$LINENO"
   7394 then :
   7395   eval $cacheid=yes
   7396 else $as_nop
   7397   eval $cacheid=no
   7398 fi
   7399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7400     conftest$ac_exeext conftest.$ac_ext
   7401 fi
   7402 
   7403 
   7404 		CFLAGS="$xorg_testset_save_CFLAGS"
   7405 
   7406 		eval supported=\$$cacheid
   7407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7408 printf "%s\n" "$supported" >&6; }
   7409 		if test "$supported" = "yes" ; then
   7410 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7411 			found="yes"
   7412 		fi
   7413 	fi
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 xorg_testset_save_CFLAGS="$CFLAGS"
   7430 
   7431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7434 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7435 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7436 then :
   7437   printf %s "(cached) " >&6
   7438 else $as_nop
   7439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7440 /* end confdefs.h.  */
   7441 int i;
   7442 _ACEOF
   7443 if ac_fn_c_try_compile "$LINENO"
   7444 then :
   7445   xorg_cv_cc_flag_unknown_warning_option=yes
   7446 else $as_nop
   7447   xorg_cv_cc_flag_unknown_warning_option=no
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7450 fi
   7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7452 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7454 	CFLAGS="$xorg_testset_save_CFLAGS"
   7455 fi
   7456 
   7457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 	fi
   7461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7463 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7464 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7465 then :
   7466   printf %s "(cached) " >&6
   7467 else $as_nop
   7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 int i;
   7471 _ACEOF
   7472 if ac_fn_c_try_compile "$LINENO"
   7473 then :
   7474   xorg_cv_cc_flag_unused_command_line_argument=yes
   7475 else $as_nop
   7476   xorg_cv_cc_flag_unused_command_line_argument=no
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7479 fi
   7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7481 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7483 	CFLAGS="$xorg_testset_save_CFLAGS"
   7484 fi
   7485 
   7486 found="no"
   7487 
   7488 	if test $found = "no" ; then
   7489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7491 		fi
   7492 
   7493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7495 		fi
   7496 
   7497 		CFLAGS="$CFLAGS -Werror=init-self"
   7498 
   7499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7500 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7501 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7502 		if eval test \${$cacheid+y}
   7503 then :
   7504   printf %s "(cached) " >&6
   7505 else $as_nop
   7506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7507 /* end confdefs.h.  */
   7508 int i;
   7509 int
   7510 main (void)
   7511 {
   7512 
   7513   ;
   7514   return 0;
   7515 }
   7516 _ACEOF
   7517 if ac_fn_c_try_link "$LINENO"
   7518 then :
   7519   eval $cacheid=yes
   7520 else $as_nop
   7521   eval $cacheid=no
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7524     conftest$ac_exeext conftest.$ac_ext
   7525 fi
   7526 
   7527 
   7528 		CFLAGS="$xorg_testset_save_CFLAGS"
   7529 
   7530 		eval supported=\$$cacheid
   7531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7532 printf "%s\n" "$supported" >&6; }
   7533 		if test "$supported" = "yes" ; then
   7534 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7535 			found="yes"
   7536 		fi
   7537 	fi
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 xorg_testset_save_CFLAGS="$CFLAGS"
   7554 
   7555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7558 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7559 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7560 then :
   7561   printf %s "(cached) " >&6
   7562 else $as_nop
   7563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7564 /* end confdefs.h.  */
   7565 int i;
   7566 _ACEOF
   7567 if ac_fn_c_try_compile "$LINENO"
   7568 then :
   7569   xorg_cv_cc_flag_unknown_warning_option=yes
   7570 else $as_nop
   7571   xorg_cv_cc_flag_unknown_warning_option=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7574 fi
   7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7576 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7578 	CFLAGS="$xorg_testset_save_CFLAGS"
   7579 fi
   7580 
   7581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7584 	fi
   7585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7587 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7588 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7589 then :
   7590   printf %s "(cached) " >&6
   7591 else $as_nop
   7592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 int i;
   7595 _ACEOF
   7596 if ac_fn_c_try_compile "$LINENO"
   7597 then :
   7598   xorg_cv_cc_flag_unused_command_line_argument=yes
   7599 else $as_nop
   7600   xorg_cv_cc_flag_unused_command_line_argument=no
   7601 fi
   7602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7603 fi
   7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7605 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7607 	CFLAGS="$xorg_testset_save_CFLAGS"
   7608 fi
   7609 
   7610 found="no"
   7611 
   7612 	if test $found = "no" ; then
   7613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 		fi
   7616 
   7617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7619 		fi
   7620 
   7621 		CFLAGS="$CFLAGS -Werror=main"
   7622 
   7623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7624 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7625 		cacheid=xorg_cv_cc_flag__Werror_main
   7626 		if eval test \${$cacheid+y}
   7627 then :
   7628   printf %s "(cached) " >&6
   7629 else $as_nop
   7630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7631 /* end confdefs.h.  */
   7632 int i;
   7633 int
   7634 main (void)
   7635 {
   7636 
   7637   ;
   7638   return 0;
   7639 }
   7640 _ACEOF
   7641 if ac_fn_c_try_link "$LINENO"
   7642 then :
   7643   eval $cacheid=yes
   7644 else $as_nop
   7645   eval $cacheid=no
   7646 fi
   7647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7648     conftest$ac_exeext conftest.$ac_ext
   7649 fi
   7650 
   7651 
   7652 		CFLAGS="$xorg_testset_save_CFLAGS"
   7653 
   7654 		eval supported=\$$cacheid
   7655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7656 printf "%s\n" "$supported" >&6; }
   7657 		if test "$supported" = "yes" ; then
   7658 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7659 			found="yes"
   7660 		fi
   7661 	fi
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 xorg_testset_save_CFLAGS="$CFLAGS"
   7678 
   7679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7682 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7683 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7684 then :
   7685   printf %s "(cached) " >&6
   7686 else $as_nop
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"
   7692 then :
   7693   xorg_cv_cc_flag_unknown_warning_option=yes
   7694 else $as_nop
   7695   xorg_cv_cc_flag_unknown_warning_option=no
   7696 fi
   7697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7698 fi
   7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7702 	CFLAGS="$xorg_testset_save_CFLAGS"
   7703 fi
   7704 
   7705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 	fi
   7709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7713 then :
   7714   printf %s "(cached) " >&6
   7715 else $as_nop
   7716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 _ACEOF
   7720 if ac_fn_c_try_compile "$LINENO"
   7721 then :
   7722   xorg_cv_cc_flag_unused_command_line_argument=yes
   7723 else $as_nop
   7724   xorg_cv_cc_flag_unused_command_line_argument=no
   7725 fi
   7726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7727 fi
   7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7729 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7731 	CFLAGS="$xorg_testset_save_CFLAGS"
   7732 fi
   7733 
   7734 found="no"
   7735 
   7736 	if test $found = "no" ; then
   7737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 		fi
   7740 
   7741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7743 		fi
   7744 
   7745 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7746 
   7747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7748 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7749 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7750 		if eval test \${$cacheid+y}
   7751 then :
   7752   printf %s "(cached) " >&6
   7753 else $as_nop
   7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7755 /* end confdefs.h.  */
   7756 int i;
   7757 int
   7758 main (void)
   7759 {
   7760 
   7761   ;
   7762   return 0;
   7763 }
   7764 _ACEOF
   7765 if ac_fn_c_try_link "$LINENO"
   7766 then :
   7767   eval $cacheid=yes
   7768 else $as_nop
   7769   eval $cacheid=no
   7770 fi
   7771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7772     conftest$ac_exeext conftest.$ac_ext
   7773 fi
   7774 
   7775 
   7776 		CFLAGS="$xorg_testset_save_CFLAGS"
   7777 
   7778 		eval supported=\$$cacheid
   7779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7780 printf "%s\n" "$supported" >&6; }
   7781 		if test "$supported" = "yes" ; then
   7782 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7783 			found="yes"
   7784 		fi
   7785 	fi
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 xorg_testset_save_CFLAGS="$CFLAGS"
   7802 
   7803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7806 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7807 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7808 then :
   7809   printf %s "(cached) " >&6
   7810 else $as_nop
   7811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7812 /* end confdefs.h.  */
   7813 int i;
   7814 _ACEOF
   7815 if ac_fn_c_try_compile "$LINENO"
   7816 then :
   7817   xorg_cv_cc_flag_unknown_warning_option=yes
   7818 else $as_nop
   7819   xorg_cv_cc_flag_unknown_warning_option=no
   7820 fi
   7821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7822 fi
   7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7826 	CFLAGS="$xorg_testset_save_CFLAGS"
   7827 fi
   7828 
   7829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7832 	fi
   7833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7837 then :
   7838   printf %s "(cached) " >&6
   7839 else $as_nop
   7840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 _ACEOF
   7844 if ac_fn_c_try_compile "$LINENO"
   7845 then :
   7846   xorg_cv_cc_flag_unused_command_line_argument=yes
   7847 else $as_nop
   7848   xorg_cv_cc_flag_unused_command_line_argument=no
   7849 fi
   7850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7851 fi
   7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7853 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 found="no"
   7859 
   7860 	if test $found = "no" ; then
   7861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 		fi
   7864 
   7865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7867 		fi
   7868 
   7869 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7870 
   7871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7872 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7873 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7874 		if eval test \${$cacheid+y}
   7875 then :
   7876   printf %s "(cached) " >&6
   7877 else $as_nop
   7878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7879 /* end confdefs.h.  */
   7880 int i;
   7881 int
   7882 main (void)
   7883 {
   7884 
   7885   ;
   7886   return 0;
   7887 }
   7888 _ACEOF
   7889 if ac_fn_c_try_link "$LINENO"
   7890 then :
   7891   eval $cacheid=yes
   7892 else $as_nop
   7893   eval $cacheid=no
   7894 fi
   7895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7896     conftest$ac_exeext conftest.$ac_ext
   7897 fi
   7898 
   7899 
   7900 		CFLAGS="$xorg_testset_save_CFLAGS"
   7901 
   7902 		eval supported=\$$cacheid
   7903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7904 printf "%s\n" "$supported" >&6; }
   7905 		if test "$supported" = "yes" ; then
   7906 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7907 			found="yes"
   7908 		fi
   7909 	fi
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 xorg_testset_save_CFLAGS="$CFLAGS"
   7926 
   7927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7930 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7931 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7932 then :
   7933   printf %s "(cached) " >&6
   7934 else $as_nop
   7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7936 /* end confdefs.h.  */
   7937 int i;
   7938 _ACEOF
   7939 if ac_fn_c_try_compile "$LINENO"
   7940 then :
   7941   xorg_cv_cc_flag_unknown_warning_option=yes
   7942 else $as_nop
   7943   xorg_cv_cc_flag_unknown_warning_option=no
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7946 fi
   7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7948 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7950 	CFLAGS="$xorg_testset_save_CFLAGS"
   7951 fi
   7952 
   7953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7956 	fi
   7957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7959 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7960 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7961 then :
   7962   printf %s "(cached) " >&6
   7963 else $as_nop
   7964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7965 /* end confdefs.h.  */
   7966 int i;
   7967 _ACEOF
   7968 if ac_fn_c_try_compile "$LINENO"
   7969 then :
   7970   xorg_cv_cc_flag_unused_command_line_argument=yes
   7971 else $as_nop
   7972   xorg_cv_cc_flag_unused_command_line_argument=no
   7973 fi
   7974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7975 fi
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7977 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7979 	CFLAGS="$xorg_testset_save_CFLAGS"
   7980 fi
   7981 
   7982 found="no"
   7983 
   7984 	if test $found = "no" ; then
   7985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7987 		fi
   7988 
   7989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7991 		fi
   7992 
   7993 		CFLAGS="$CFLAGS -Werror=return-type"
   7994 
   7995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7996 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7997 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7998 		if eval test \${$cacheid+y}
   7999 then :
   8000   printf %s "(cached) " >&6
   8001 else $as_nop
   8002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8003 /* end confdefs.h.  */
   8004 int i;
   8005 int
   8006 main (void)
   8007 {
   8008 
   8009   ;
   8010   return 0;
   8011 }
   8012 _ACEOF
   8013 if ac_fn_c_try_link "$LINENO"
   8014 then :
   8015   eval $cacheid=yes
   8016 else $as_nop
   8017   eval $cacheid=no
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8020     conftest$ac_exeext conftest.$ac_ext
   8021 fi
   8022 
   8023 
   8024 		CFLAGS="$xorg_testset_save_CFLAGS"
   8025 
   8026 		eval supported=\$$cacheid
   8027 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8028 printf "%s\n" "$supported" >&6; }
   8029 		if test "$supported" = "yes" ; then
   8030 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8031 			found="yes"
   8032 		fi
   8033 	fi
   8034 
   8035 	if test $found = "no" ; then
   8036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8038 		fi
   8039 
   8040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8042 		fi
   8043 
   8044 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8045 
   8046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8047 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8048 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8049 		if eval test \${$cacheid+y}
   8050 then :
   8051   printf %s "(cached) " >&6
   8052 else $as_nop
   8053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 int
   8057 main (void)
   8058 {
   8059 
   8060   ;
   8061   return 0;
   8062 }
   8063 _ACEOF
   8064 if ac_fn_c_try_link "$LINENO"
   8065 then :
   8066   eval $cacheid=yes
   8067 else $as_nop
   8068   eval $cacheid=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8071     conftest$ac_exeext conftest.$ac_ext
   8072 fi
   8073 
   8074 
   8075 		CFLAGS="$xorg_testset_save_CFLAGS"
   8076 
   8077 		eval supported=\$$cacheid
   8078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8079 printf "%s\n" "$supported" >&6; }
   8080 		if test "$supported" = "yes" ; then
   8081 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8082 			found="yes"
   8083 		fi
   8084 	fi
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 xorg_testset_save_CFLAGS="$CFLAGS"
   8101 
   8102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8107 then :
   8108   printf %s "(cached) " >&6
   8109 else $as_nop
   8110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8111 /* end confdefs.h.  */
   8112 int i;
   8113 _ACEOF
   8114 if ac_fn_c_try_compile "$LINENO"
   8115 then :
   8116   xorg_cv_cc_flag_unknown_warning_option=yes
   8117 else $as_nop
   8118   xorg_cv_cc_flag_unknown_warning_option=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8121 fi
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8123 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8125 	CFLAGS="$xorg_testset_save_CFLAGS"
   8126 fi
   8127 
   8128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8131 	fi
   8132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8134 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8135 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8136 then :
   8137   printf %s "(cached) " >&6
   8138 else $as_nop
   8139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8140 /* end confdefs.h.  */
   8141 int i;
   8142 _ACEOF
   8143 if ac_fn_c_try_compile "$LINENO"
   8144 then :
   8145   xorg_cv_cc_flag_unused_command_line_argument=yes
   8146 else $as_nop
   8147   xorg_cv_cc_flag_unused_command_line_argument=no
   8148 fi
   8149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8150 fi
   8151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8152 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8153 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8154 	CFLAGS="$xorg_testset_save_CFLAGS"
   8155 fi
   8156 
   8157 found="no"
   8158 
   8159 	if test $found = "no" ; then
   8160 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8162 		fi
   8163 
   8164 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 		fi
   8167 
   8168 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8169 
   8170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8171 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8172 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8173 		if eval test \${$cacheid+y}
   8174 then :
   8175   printf %s "(cached) " >&6
   8176 else $as_nop
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 int
   8181 main (void)
   8182 {
   8183 
   8184   ;
   8185   return 0;
   8186 }
   8187 _ACEOF
   8188 if ac_fn_c_try_link "$LINENO"
   8189 then :
   8190   eval $cacheid=yes
   8191 else $as_nop
   8192   eval $cacheid=no
   8193 fi
   8194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8195     conftest$ac_exeext conftest.$ac_ext
   8196 fi
   8197 
   8198 
   8199 		CFLAGS="$xorg_testset_save_CFLAGS"
   8200 
   8201 		eval supported=\$$cacheid
   8202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8203 printf "%s\n" "$supported" >&6; }
   8204 		if test "$supported" = "yes" ; then
   8205 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8206 			found="yes"
   8207 		fi
   8208 	fi
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 xorg_testset_save_CFLAGS="$CFLAGS"
   8225 
   8226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8229 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8230 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8231 then :
   8232   printf %s "(cached) " >&6
   8233 else $as_nop
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 _ACEOF
   8238 if ac_fn_c_try_compile "$LINENO"
   8239 then :
   8240   xorg_cv_cc_flag_unknown_warning_option=yes
   8241 else $as_nop
   8242   xorg_cv_cc_flag_unknown_warning_option=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8245 fi
   8246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8247 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8249 	CFLAGS="$xorg_testset_save_CFLAGS"
   8250 fi
   8251 
   8252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8255 	fi
   8256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8258 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8259 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8260 then :
   8261   printf %s "(cached) " >&6
   8262 else $as_nop
   8263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8264 /* end confdefs.h.  */
   8265 int i;
   8266 _ACEOF
   8267 if ac_fn_c_try_compile "$LINENO"
   8268 then :
   8269   xorg_cv_cc_flag_unused_command_line_argument=yes
   8270 else $as_nop
   8271   xorg_cv_cc_flag_unused_command_line_argument=no
   8272 fi
   8273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8274 fi
   8275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8278 	CFLAGS="$xorg_testset_save_CFLAGS"
   8279 fi
   8280 
   8281 found="no"
   8282 
   8283 	if test $found = "no" ; then
   8284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8286 		fi
   8287 
   8288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 		fi
   8291 
   8292 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8293 
   8294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8295 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8296 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8297 		if eval test \${$cacheid+y}
   8298 then :
   8299   printf %s "(cached) " >&6
   8300 else $as_nop
   8301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8302 /* end confdefs.h.  */
   8303 int i;
   8304 int
   8305 main (void)
   8306 {
   8307 
   8308   ;
   8309   return 0;
   8310 }
   8311 _ACEOF
   8312 if ac_fn_c_try_link "$LINENO"
   8313 then :
   8314   eval $cacheid=yes
   8315 else $as_nop
   8316   eval $cacheid=no
   8317 fi
   8318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8319     conftest$ac_exeext conftest.$ac_ext
   8320 fi
   8321 
   8322 
   8323 		CFLAGS="$xorg_testset_save_CFLAGS"
   8324 
   8325 		eval supported=\$$cacheid
   8326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8327 printf "%s\n" "$supported" >&6; }
   8328 		if test "$supported" = "yes" ; then
   8329 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8330 			found="yes"
   8331 		fi
   8332 	fi
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 xorg_testset_save_CFLAGS="$CFLAGS"
   8349 
   8350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else $as_nop
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"
   8363 then :
   8364   xorg_cv_cc_flag_unknown_warning_option=yes
   8365 else $as_nop
   8366   xorg_cv_cc_flag_unknown_warning_option=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8369 fi
   8370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8371 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8373 	CFLAGS="$xorg_testset_save_CFLAGS"
   8374 fi
   8375 
   8376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 	fi
   8380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8384 then :
   8385   printf %s "(cached) " >&6
   8386 else $as_nop
   8387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8388 /* end confdefs.h.  */
   8389 int i;
   8390 _ACEOF
   8391 if ac_fn_c_try_compile "$LINENO"
   8392 then :
   8393   xorg_cv_cc_flag_unused_command_line_argument=yes
   8394 else $as_nop
   8395   xorg_cv_cc_flag_unused_command_line_argument=no
   8396 fi
   8397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8398 fi
   8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8400 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8402 	CFLAGS="$xorg_testset_save_CFLAGS"
   8403 fi
   8404 
   8405 found="no"
   8406 
   8407 	if test $found = "no" ; then
   8408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8410 		fi
   8411 
   8412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8414 		fi
   8415 
   8416 		CFLAGS="$CFLAGS -Werror=write-strings"
   8417 
   8418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8419 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8420 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8421 		if eval test \${$cacheid+y}
   8422 then :
   8423   printf %s "(cached) " >&6
   8424 else $as_nop
   8425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8426 /* end confdefs.h.  */
   8427 int i;
   8428 int
   8429 main (void)
   8430 {
   8431 
   8432   ;
   8433   return 0;
   8434 }
   8435 _ACEOF
   8436 if ac_fn_c_try_link "$LINENO"
   8437 then :
   8438   eval $cacheid=yes
   8439 else $as_nop
   8440   eval $cacheid=no
   8441 fi
   8442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8443     conftest$ac_exeext conftest.$ac_ext
   8444 fi
   8445 
   8446 
   8447 		CFLAGS="$xorg_testset_save_CFLAGS"
   8448 
   8449 		eval supported=\$$cacheid
   8450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8451 printf "%s\n" "$supported" >&6; }
   8452 		if test "$supported" = "yes" ; then
   8453 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8454 			found="yes"
   8455 		fi
   8456 	fi
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 xorg_testset_save_CFLAGS="$CFLAGS"
   8473 
   8474 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8475 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8477 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8478 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8479 then :
   8480   printf %s "(cached) " >&6
   8481 else $as_nop
   8482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8483 /* end confdefs.h.  */
   8484 int i;
   8485 _ACEOF
   8486 if ac_fn_c_try_compile "$LINENO"
   8487 then :
   8488   xorg_cv_cc_flag_unknown_warning_option=yes
   8489 else $as_nop
   8490   xorg_cv_cc_flag_unknown_warning_option=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8493 fi
   8494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8495 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8497 	CFLAGS="$xorg_testset_save_CFLAGS"
   8498 fi
   8499 
   8500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8503 	fi
   8504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8506 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8507 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8508 then :
   8509   printf %s "(cached) " >&6
   8510 else $as_nop
   8511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 _ACEOF
   8515 if ac_fn_c_try_compile "$LINENO"
   8516 then :
   8517   xorg_cv_cc_flag_unused_command_line_argument=yes
   8518 else $as_nop
   8519   xorg_cv_cc_flag_unused_command_line_argument=no
   8520 fi
   8521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8522 fi
   8523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8524 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8526 	CFLAGS="$xorg_testset_save_CFLAGS"
   8527 fi
   8528 
   8529 found="no"
   8530 
   8531 	if test $found = "no" ; then
   8532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 		fi
   8535 
   8536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8538 		fi
   8539 
   8540 		CFLAGS="$CFLAGS -Werror=address"
   8541 
   8542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8543 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8544 		cacheid=xorg_cv_cc_flag__Werror_address
   8545 		if eval test \${$cacheid+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else $as_nop
   8549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 int
   8553 main (void)
   8554 {
   8555 
   8556   ;
   8557   return 0;
   8558 }
   8559 _ACEOF
   8560 if ac_fn_c_try_link "$LINENO"
   8561 then :
   8562   eval $cacheid=yes
   8563 else $as_nop
   8564   eval $cacheid=no
   8565 fi
   8566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8567     conftest$ac_exeext conftest.$ac_ext
   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=address"
   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 $as_nop
   8606   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 $as_nop
   8614   xorg_cv_cc_flag_unknown_warning_option=no
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8617 fi
   8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8619 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8621 	CFLAGS="$xorg_testset_save_CFLAGS"
   8622 fi
   8623 
   8624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 	fi
   8628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8630 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8631 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8632 then :
   8633   printf %s "(cached) " >&6
   8634 else $as_nop
   8635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8636 /* end confdefs.h.  */
   8637 int i;
   8638 _ACEOF
   8639 if ac_fn_c_try_compile "$LINENO"
   8640 then :
   8641   xorg_cv_cc_flag_unused_command_line_argument=yes
   8642 else $as_nop
   8643   xorg_cv_cc_flag_unused_command_line_argument=no
   8644 fi
   8645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8646 fi
   8647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8648 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8650 	CFLAGS="$xorg_testset_save_CFLAGS"
   8651 fi
   8652 
   8653 found="no"
   8654 
   8655 	if test $found = "no" ; then
   8656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8658 		fi
   8659 
   8660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8662 		fi
   8663 
   8664 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8665 
   8666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8667 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8668 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8669 		if eval test \${$cacheid+y}
   8670 then :
   8671   printf %s "(cached) " >&6
   8672 else $as_nop
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 int
   8677 main (void)
   8678 {
   8679 
   8680   ;
   8681   return 0;
   8682 }
   8683 _ACEOF
   8684 if ac_fn_c_try_link "$LINENO"
   8685 then :
   8686   eval $cacheid=yes
   8687 else $as_nop
   8688   eval $cacheid=no
   8689 fi
   8690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8691     conftest$ac_exeext conftest.$ac_ext
   8692 fi
   8693 
   8694 
   8695 		CFLAGS="$xorg_testset_save_CFLAGS"
   8696 
   8697 		eval supported=\$$cacheid
   8698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8699 printf "%s\n" "$supported" >&6; }
   8700 		if test "$supported" = "yes" ; then
   8701 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8702 			found="yes"
   8703 		fi
   8704 	fi
   8705 
   8706 	if test $found = "no" ; then
   8707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8709 		fi
   8710 
   8711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8713 		fi
   8714 
   8715 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8716 
   8717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8718 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8719 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8720 		if eval test \${$cacheid+y}
   8721 then :
   8722   printf %s "(cached) " >&6
   8723 else $as_nop
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 int
   8728 main (void)
   8729 {
   8730 
   8731   ;
   8732   return 0;
   8733 }
   8734 _ACEOF
   8735 if ac_fn_c_try_link "$LINENO"
   8736 then :
   8737   eval $cacheid=yes
   8738 else $as_nop
   8739   eval $cacheid=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8742     conftest$ac_exeext conftest.$ac_ext
   8743 fi
   8744 
   8745 
   8746 		CFLAGS="$xorg_testset_save_CFLAGS"
   8747 
   8748 		eval supported=\$$cacheid
   8749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8750 printf "%s\n" "$supported" >&6; }
   8751 		if test "$supported" = "yes" ; then
   8752 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8753 			found="yes"
   8754 		fi
   8755 	fi
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 xorg_testset_save_CFLAGS="$CFLAGS"
   8772 
   8773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8776 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8777 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8778 then :
   8779   printf %s "(cached) " >&6
   8780 else $as_nop
   8781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8782 /* end confdefs.h.  */
   8783 int i;
   8784 _ACEOF
   8785 if ac_fn_c_try_compile "$LINENO"
   8786 then :
   8787   xorg_cv_cc_flag_unknown_warning_option=yes
   8788 else $as_nop
   8789   xorg_cv_cc_flag_unknown_warning_option=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8792 fi
   8793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8794 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8796 	CFLAGS="$xorg_testset_save_CFLAGS"
   8797 fi
   8798 
   8799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8802 	fi
   8803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8805 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8806 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8807 then :
   8808   printf %s "(cached) " >&6
   8809 else $as_nop
   8810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"
   8815 then :
   8816   xorg_cv_cc_flag_unused_command_line_argument=yes
   8817 else $as_nop
   8818   xorg_cv_cc_flag_unused_command_line_argument=no
   8819 fi
   8820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8821 fi
   8822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8823 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8825 	CFLAGS="$xorg_testset_save_CFLAGS"
   8826 fi
   8827 
   8828 found="no"
   8829 
   8830 	if test $found = "no" ; then
   8831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8833 		fi
   8834 
   8835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8837 		fi
   8838 
   8839 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8840 
   8841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8842 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8843 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8844 		if eval test \${$cacheid+y}
   8845 then :
   8846   printf %s "(cached) " >&6
   8847 else $as_nop
   8848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8849 /* end confdefs.h.  */
   8850 int i;
   8851 int
   8852 main (void)
   8853 {
   8854 
   8855   ;
   8856   return 0;
   8857 }
   8858 _ACEOF
   8859 if ac_fn_c_try_link "$LINENO"
   8860 then :
   8861   eval $cacheid=yes
   8862 else $as_nop
   8863   eval $cacheid=no
   8864 fi
   8865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8866     conftest$ac_exeext conftest.$ac_ext
   8867 fi
   8868 
   8869 
   8870 		CFLAGS="$xorg_testset_save_CFLAGS"
   8871 
   8872 		eval supported=\$$cacheid
   8873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8874 printf "%s\n" "$supported" >&6; }
   8875 		if test "$supported" = "yes" ; then
   8876 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8877 			found="yes"
   8878 		fi
   8879 	fi
   8880 
   8881  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8882 else
   8883 { 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
   8884 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;}
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 xorg_testset_save_CFLAGS="$CFLAGS"
   8899 
   8900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8905 then :
   8906   printf %s "(cached) " >&6
   8907 else $as_nop
   8908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8909 /* end confdefs.h.  */
   8910 int i;
   8911 _ACEOF
   8912 if ac_fn_c_try_compile "$LINENO"
   8913 then :
   8914   xorg_cv_cc_flag_unknown_warning_option=yes
   8915 else $as_nop
   8916   xorg_cv_cc_flag_unknown_warning_option=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8919 fi
   8920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8929 	fi
   8930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8934 then :
   8935   printf %s "(cached) " >&6
   8936 else $as_nop
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"
   8942 then :
   8943   xorg_cv_cc_flag_unused_command_line_argument=yes
   8944 else $as_nop
   8945   xorg_cv_cc_flag_unused_command_line_argument=no
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8948 fi
   8949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8952 	CFLAGS="$xorg_testset_save_CFLAGS"
   8953 fi
   8954 
   8955 found="no"
   8956 
   8957 	if test $found = "no" ; then
   8958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 		fi
   8961 
   8962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 		fi
   8965 
   8966 		CFLAGS="$CFLAGS -Wimplicit"
   8967 
   8968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8969 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8970 		cacheid=xorg_cv_cc_flag__Wimplicit
   8971 		if eval test \${$cacheid+y}
   8972 then :
   8973   printf %s "(cached) " >&6
   8974 else $as_nop
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 int
   8979 main (void)
   8980 {
   8981 
   8982   ;
   8983   return 0;
   8984 }
   8985 _ACEOF
   8986 if ac_fn_c_try_link "$LINENO"
   8987 then :
   8988   eval $cacheid=yes
   8989 else $as_nop
   8990   eval $cacheid=no
   8991 fi
   8992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8993     conftest$ac_exeext conftest.$ac_ext
   8994 fi
   8995 
   8996 
   8997 		CFLAGS="$xorg_testset_save_CFLAGS"
   8998 
   8999 		eval supported=\$$cacheid
   9000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9001 printf "%s\n" "$supported" >&6; }
   9002 		if test "$supported" = "yes" ; then
   9003 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9004 			found="yes"
   9005 		fi
   9006 	fi
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 xorg_testset_save_CFLAGS="$CFLAGS"
   9023 
   9024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9027 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9028 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9029 then :
   9030   printf %s "(cached) " >&6
   9031 else $as_nop
   9032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 int i;
   9035 _ACEOF
   9036 if ac_fn_c_try_compile "$LINENO"
   9037 then :
   9038   xorg_cv_cc_flag_unknown_warning_option=yes
   9039 else $as_nop
   9040   xorg_cv_cc_flag_unknown_warning_option=no
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9043 fi
   9044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9045 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9047 	CFLAGS="$xorg_testset_save_CFLAGS"
   9048 fi
   9049 
   9050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 	fi
   9054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9056 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9057 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9058 then :
   9059   printf %s "(cached) " >&6
   9060 else $as_nop
   9061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9062 /* end confdefs.h.  */
   9063 int i;
   9064 _ACEOF
   9065 if ac_fn_c_try_compile "$LINENO"
   9066 then :
   9067   xorg_cv_cc_flag_unused_command_line_argument=yes
   9068 else $as_nop
   9069   xorg_cv_cc_flag_unused_command_line_argument=no
   9070 fi
   9071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9072 fi
   9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9076 	CFLAGS="$xorg_testset_save_CFLAGS"
   9077 fi
   9078 
   9079 found="no"
   9080 
   9081 	if test $found = "no" ; then
   9082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9084 		fi
   9085 
   9086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9088 		fi
   9089 
   9090 		CFLAGS="$CFLAGS -Wnonnull"
   9091 
   9092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9093 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9094 		cacheid=xorg_cv_cc_flag__Wnonnull
   9095 		if eval test \${$cacheid+y}
   9096 then :
   9097   printf %s "(cached) " >&6
   9098 else $as_nop
   9099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9100 /* end confdefs.h.  */
   9101 int i;
   9102 int
   9103 main (void)
   9104 {
   9105 
   9106   ;
   9107   return 0;
   9108 }
   9109 _ACEOF
   9110 if ac_fn_c_try_link "$LINENO"
   9111 then :
   9112   eval $cacheid=yes
   9113 else $as_nop
   9114   eval $cacheid=no
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9117     conftest$ac_exeext conftest.$ac_ext
   9118 fi
   9119 
   9120 
   9121 		CFLAGS="$xorg_testset_save_CFLAGS"
   9122 
   9123 		eval supported=\$$cacheid
   9124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9125 printf "%s\n" "$supported" >&6; }
   9126 		if test "$supported" = "yes" ; then
   9127 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9128 			found="yes"
   9129 		fi
   9130 	fi
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 xorg_testset_save_CFLAGS="$CFLAGS"
   9147 
   9148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9153 then :
   9154   printf %s "(cached) " >&6
   9155 else $as_nop
   9156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9157 /* end confdefs.h.  */
   9158 int i;
   9159 _ACEOF
   9160 if ac_fn_c_try_compile "$LINENO"
   9161 then :
   9162   xorg_cv_cc_flag_unknown_warning_option=yes
   9163 else $as_nop
   9164   xorg_cv_cc_flag_unknown_warning_option=no
   9165 fi
   9166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9167 fi
   9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9171 	CFLAGS="$xorg_testset_save_CFLAGS"
   9172 fi
   9173 
   9174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9177 	fi
   9178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9182 then :
   9183   printf %s "(cached) " >&6
   9184 else $as_nop
   9185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 _ACEOF
   9189 if ac_fn_c_try_compile "$LINENO"
   9190 then :
   9191   xorg_cv_cc_flag_unused_command_line_argument=yes
   9192 else $as_nop
   9193   xorg_cv_cc_flag_unused_command_line_argument=no
   9194 fi
   9195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9196 fi
   9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9200 	CFLAGS="$xorg_testset_save_CFLAGS"
   9201 fi
   9202 
   9203 found="no"
   9204 
   9205 	if test $found = "no" ; then
   9206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9208 		fi
   9209 
   9210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9212 		fi
   9213 
   9214 		CFLAGS="$CFLAGS -Winit-self"
   9215 
   9216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9217 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9218 		cacheid=xorg_cv_cc_flag__Winit_self
   9219 		if eval test \${$cacheid+y}
   9220 then :
   9221   printf %s "(cached) " >&6
   9222 else $as_nop
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 int
   9227 main (void)
   9228 {
   9229 
   9230   ;
   9231   return 0;
   9232 }
   9233 _ACEOF
   9234 if ac_fn_c_try_link "$LINENO"
   9235 then :
   9236   eval $cacheid=yes
   9237 else $as_nop
   9238   eval $cacheid=no
   9239 fi
   9240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9241     conftest$ac_exeext conftest.$ac_ext
   9242 fi
   9243 
   9244 
   9245 		CFLAGS="$xorg_testset_save_CFLAGS"
   9246 
   9247 		eval supported=\$$cacheid
   9248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9249 printf "%s\n" "$supported" >&6; }
   9250 		if test "$supported" = "yes" ; then
   9251 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9252 			found="yes"
   9253 		fi
   9254 	fi
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 xorg_testset_save_CFLAGS="$CFLAGS"
   9271 
   9272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9277 then :
   9278   printf %s "(cached) " >&6
   9279 else $as_nop
   9280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9281 /* end confdefs.h.  */
   9282 int i;
   9283 _ACEOF
   9284 if ac_fn_c_try_compile "$LINENO"
   9285 then :
   9286   xorg_cv_cc_flag_unknown_warning_option=yes
   9287 else $as_nop
   9288   xorg_cv_cc_flag_unknown_warning_option=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9291 fi
   9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9295 	CFLAGS="$xorg_testset_save_CFLAGS"
   9296 fi
   9297 
   9298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9301 	fi
   9302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9306 then :
   9307   printf %s "(cached) " >&6
   9308 else $as_nop
   9309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9310 /* end confdefs.h.  */
   9311 int i;
   9312 _ACEOF
   9313 if ac_fn_c_try_compile "$LINENO"
   9314 then :
   9315   xorg_cv_cc_flag_unused_command_line_argument=yes
   9316 else $as_nop
   9317   xorg_cv_cc_flag_unused_command_line_argument=no
   9318 fi
   9319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9320 fi
   9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9322 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9324 	CFLAGS="$xorg_testset_save_CFLAGS"
   9325 fi
   9326 
   9327 found="no"
   9328 
   9329 	if test $found = "no" ; then
   9330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9332 		fi
   9333 
   9334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9336 		fi
   9337 
   9338 		CFLAGS="$CFLAGS -Wmain"
   9339 
   9340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9341 printf %s "checking if $CC supports -Wmain... " >&6; }
   9342 		cacheid=xorg_cv_cc_flag__Wmain
   9343 		if eval test \${$cacheid+y}
   9344 then :
   9345   printf %s "(cached) " >&6
   9346 else $as_nop
   9347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9348 /* end confdefs.h.  */
   9349 int i;
   9350 int
   9351 main (void)
   9352 {
   9353 
   9354   ;
   9355   return 0;
   9356 }
   9357 _ACEOF
   9358 if ac_fn_c_try_link "$LINENO"
   9359 then :
   9360   eval $cacheid=yes
   9361 else $as_nop
   9362   eval $cacheid=no
   9363 fi
   9364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9365     conftest$ac_exeext conftest.$ac_ext
   9366 fi
   9367 
   9368 
   9369 		CFLAGS="$xorg_testset_save_CFLAGS"
   9370 
   9371 		eval supported=\$$cacheid
   9372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9373 printf "%s\n" "$supported" >&6; }
   9374 		if test "$supported" = "yes" ; then
   9375 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9376 			found="yes"
   9377 		fi
   9378 	fi
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 xorg_testset_save_CFLAGS="$CFLAGS"
   9395 
   9396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9401 then :
   9402   printf %s "(cached) " >&6
   9403 else $as_nop
   9404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9405 /* end confdefs.h.  */
   9406 int i;
   9407 _ACEOF
   9408 if ac_fn_c_try_compile "$LINENO"
   9409 then :
   9410   xorg_cv_cc_flag_unknown_warning_option=yes
   9411 else $as_nop
   9412   xorg_cv_cc_flag_unknown_warning_option=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9415 fi
   9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9419 	CFLAGS="$xorg_testset_save_CFLAGS"
   9420 fi
   9421 
   9422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 	fi
   9426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9430 then :
   9431   printf %s "(cached) " >&6
   9432 else $as_nop
   9433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9434 /* end confdefs.h.  */
   9435 int i;
   9436 _ACEOF
   9437 if ac_fn_c_try_compile "$LINENO"
   9438 then :
   9439   xorg_cv_cc_flag_unused_command_line_argument=yes
   9440 else $as_nop
   9441   xorg_cv_cc_flag_unused_command_line_argument=no
   9442 fi
   9443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9444 fi
   9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9448 	CFLAGS="$xorg_testset_save_CFLAGS"
   9449 fi
   9450 
   9451 found="no"
   9452 
   9453 	if test $found = "no" ; then
   9454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9456 		fi
   9457 
   9458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9460 		fi
   9461 
   9462 		CFLAGS="$CFLAGS -Wmissing-braces"
   9463 
   9464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9465 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9466 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9467 		if eval test \${$cacheid+y}
   9468 then :
   9469   printf %s "(cached) " >&6
   9470 else $as_nop
   9471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9472 /* end confdefs.h.  */
   9473 int i;
   9474 int
   9475 main (void)
   9476 {
   9477 
   9478   ;
   9479   return 0;
   9480 }
   9481 _ACEOF
   9482 if ac_fn_c_try_link "$LINENO"
   9483 then :
   9484   eval $cacheid=yes
   9485 else $as_nop
   9486   eval $cacheid=no
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9489     conftest$ac_exeext conftest.$ac_ext
   9490 fi
   9491 
   9492 
   9493 		CFLAGS="$xorg_testset_save_CFLAGS"
   9494 
   9495 		eval supported=\$$cacheid
   9496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9497 printf "%s\n" "$supported" >&6; }
   9498 		if test "$supported" = "yes" ; then
   9499 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9500 			found="yes"
   9501 		fi
   9502 	fi
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 xorg_testset_save_CFLAGS="$CFLAGS"
   9519 
   9520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9525 then :
   9526   printf %s "(cached) " >&6
   9527 else $as_nop
   9528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9529 /* end confdefs.h.  */
   9530 int i;
   9531 _ACEOF
   9532 if ac_fn_c_try_compile "$LINENO"
   9533 then :
   9534   xorg_cv_cc_flag_unknown_warning_option=yes
   9535 else $as_nop
   9536   xorg_cv_cc_flag_unknown_warning_option=no
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9539 fi
   9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9543 	CFLAGS="$xorg_testset_save_CFLAGS"
   9544 fi
   9545 
   9546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9549 	fi
   9550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9554 then :
   9555   printf %s "(cached) " >&6
   9556 else $as_nop
   9557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 _ACEOF
   9561 if ac_fn_c_try_compile "$LINENO"
   9562 then :
   9563   xorg_cv_cc_flag_unused_command_line_argument=yes
   9564 else $as_nop
   9565   xorg_cv_cc_flag_unused_command_line_argument=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9568 fi
   9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 found="no"
   9576 
   9577 	if test $found = "no" ; then
   9578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 		fi
   9581 
   9582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 		fi
   9585 
   9586 		CFLAGS="$CFLAGS -Wsequence-point"
   9587 
   9588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9589 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9590 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9591 		if eval test \${$cacheid+y}
   9592 then :
   9593   printf %s "(cached) " >&6
   9594 else $as_nop
   9595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9596 /* end confdefs.h.  */
   9597 int i;
   9598 int
   9599 main (void)
   9600 {
   9601 
   9602   ;
   9603   return 0;
   9604 }
   9605 _ACEOF
   9606 if ac_fn_c_try_link "$LINENO"
   9607 then :
   9608   eval $cacheid=yes
   9609 else $as_nop
   9610   eval $cacheid=no
   9611 fi
   9612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9613     conftest$ac_exeext conftest.$ac_ext
   9614 fi
   9615 
   9616 
   9617 		CFLAGS="$xorg_testset_save_CFLAGS"
   9618 
   9619 		eval supported=\$$cacheid
   9620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9621 printf "%s\n" "$supported" >&6; }
   9622 		if test "$supported" = "yes" ; then
   9623 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9624 			found="yes"
   9625 		fi
   9626 	fi
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 xorg_testset_save_CFLAGS="$CFLAGS"
   9643 
   9644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9649 then :
   9650   printf %s "(cached) " >&6
   9651 else $as_nop
   9652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9653 /* end confdefs.h.  */
   9654 int i;
   9655 _ACEOF
   9656 if ac_fn_c_try_compile "$LINENO"
   9657 then :
   9658   xorg_cv_cc_flag_unknown_warning_option=yes
   9659 else $as_nop
   9660   xorg_cv_cc_flag_unknown_warning_option=no
   9661 fi
   9662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9663 fi
   9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9667 	CFLAGS="$xorg_testset_save_CFLAGS"
   9668 fi
   9669 
   9670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9673 	fi
   9674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9678 then :
   9679   printf %s "(cached) " >&6
   9680 else $as_nop
   9681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9682 /* end confdefs.h.  */
   9683 int i;
   9684 _ACEOF
   9685 if ac_fn_c_try_compile "$LINENO"
   9686 then :
   9687   xorg_cv_cc_flag_unused_command_line_argument=yes
   9688 else $as_nop
   9689   xorg_cv_cc_flag_unused_command_line_argument=no
   9690 fi
   9691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9692 fi
   9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9696 	CFLAGS="$xorg_testset_save_CFLAGS"
   9697 fi
   9698 
   9699 found="no"
   9700 
   9701 	if test $found = "no" ; then
   9702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9704 		fi
   9705 
   9706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9708 		fi
   9709 
   9710 		CFLAGS="$CFLAGS -Wreturn-type"
   9711 
   9712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9713 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9714 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9715 		if eval test \${$cacheid+y}
   9716 then :
   9717   printf %s "(cached) " >&6
   9718 else $as_nop
   9719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 int
   9723 main (void)
   9724 {
   9725 
   9726   ;
   9727   return 0;
   9728 }
   9729 _ACEOF
   9730 if ac_fn_c_try_link "$LINENO"
   9731 then :
   9732   eval $cacheid=yes
   9733 else $as_nop
   9734   eval $cacheid=no
   9735 fi
   9736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9737     conftest$ac_exeext conftest.$ac_ext
   9738 fi
   9739 
   9740 
   9741 		CFLAGS="$xorg_testset_save_CFLAGS"
   9742 
   9743 		eval supported=\$$cacheid
   9744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9745 printf "%s\n" "$supported" >&6; }
   9746 		if test "$supported" = "yes" ; then
   9747 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9748 			found="yes"
   9749 		fi
   9750 	fi
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 xorg_testset_save_CFLAGS="$CFLAGS"
   9767 
   9768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9773 then :
   9774   printf %s "(cached) " >&6
   9775 else $as_nop
   9776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 _ACEOF
   9780 if ac_fn_c_try_compile "$LINENO"
   9781 then :
   9782   xorg_cv_cc_flag_unknown_warning_option=yes
   9783 else $as_nop
   9784   xorg_cv_cc_flag_unknown_warning_option=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9787 fi
   9788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9791 	CFLAGS="$xorg_testset_save_CFLAGS"
   9792 fi
   9793 
   9794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9797 	fi
   9798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9802 then :
   9803   printf %s "(cached) " >&6
   9804 else $as_nop
   9805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9806 /* end confdefs.h.  */
   9807 int i;
   9808 _ACEOF
   9809 if ac_fn_c_try_compile "$LINENO"
   9810 then :
   9811   xorg_cv_cc_flag_unused_command_line_argument=yes
   9812 else $as_nop
   9813   xorg_cv_cc_flag_unused_command_line_argument=no
   9814 fi
   9815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9816 fi
   9817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9818 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9820 	CFLAGS="$xorg_testset_save_CFLAGS"
   9821 fi
   9822 
   9823 found="no"
   9824 
   9825 	if test $found = "no" ; then
   9826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9828 		fi
   9829 
   9830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9832 		fi
   9833 
   9834 		CFLAGS="$CFLAGS -Wtrigraphs"
   9835 
   9836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9837 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9838 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9839 		if eval test \${$cacheid+y}
   9840 then :
   9841   printf %s "(cached) " >&6
   9842 else $as_nop
   9843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9844 /* end confdefs.h.  */
   9845 int i;
   9846 int
   9847 main (void)
   9848 {
   9849 
   9850   ;
   9851   return 0;
   9852 }
   9853 _ACEOF
   9854 if ac_fn_c_try_link "$LINENO"
   9855 then :
   9856   eval $cacheid=yes
   9857 else $as_nop
   9858   eval $cacheid=no
   9859 fi
   9860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9861     conftest$ac_exeext conftest.$ac_ext
   9862 fi
   9863 
   9864 
   9865 		CFLAGS="$xorg_testset_save_CFLAGS"
   9866 
   9867 		eval supported=\$$cacheid
   9868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9869 printf "%s\n" "$supported" >&6; }
   9870 		if test "$supported" = "yes" ; then
   9871 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9872 			found="yes"
   9873 		fi
   9874 	fi
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 xorg_testset_save_CFLAGS="$CFLAGS"
   9891 
   9892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9895 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9896 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9897 then :
   9898   printf %s "(cached) " >&6
   9899 else $as_nop
   9900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9901 /* end confdefs.h.  */
   9902 int i;
   9903 _ACEOF
   9904 if ac_fn_c_try_compile "$LINENO"
   9905 then :
   9906   xorg_cv_cc_flag_unknown_warning_option=yes
   9907 else $as_nop
   9908   xorg_cv_cc_flag_unknown_warning_option=no
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9911 fi
   9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9915 	CFLAGS="$xorg_testset_save_CFLAGS"
   9916 fi
   9917 
   9918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 	fi
   9922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9926 then :
   9927   printf %s "(cached) " >&6
   9928 else $as_nop
   9929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9930 /* end confdefs.h.  */
   9931 int i;
   9932 _ACEOF
   9933 if ac_fn_c_try_compile "$LINENO"
   9934 then :
   9935   xorg_cv_cc_flag_unused_command_line_argument=yes
   9936 else $as_nop
   9937   xorg_cv_cc_flag_unused_command_line_argument=no
   9938 fi
   9939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9940 fi
   9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9942 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9944 	CFLAGS="$xorg_testset_save_CFLAGS"
   9945 fi
   9946 
   9947 found="no"
   9948 
   9949 	if test $found = "no" ; then
   9950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9952 		fi
   9953 
   9954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9956 		fi
   9957 
   9958 		CFLAGS="$CFLAGS -Warray-bounds"
   9959 
   9960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9961 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9962 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9963 		if eval test \${$cacheid+y}
   9964 then :
   9965   printf %s "(cached) " >&6
   9966 else $as_nop
   9967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9968 /* end confdefs.h.  */
   9969 int i;
   9970 int
   9971 main (void)
   9972 {
   9973 
   9974   ;
   9975   return 0;
   9976 }
   9977 _ACEOF
   9978 if ac_fn_c_try_link "$LINENO"
   9979 then :
   9980   eval $cacheid=yes
   9981 else $as_nop
   9982   eval $cacheid=no
   9983 fi
   9984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9985     conftest$ac_exeext conftest.$ac_ext
   9986 fi
   9987 
   9988 
   9989 		CFLAGS="$xorg_testset_save_CFLAGS"
   9990 
   9991 		eval supported=\$$cacheid
   9992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9993 printf "%s\n" "$supported" >&6; }
   9994 		if test "$supported" = "yes" ; then
   9995 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9996 			found="yes"
   9997 		fi
   9998 	fi
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 xorg_testset_save_CFLAGS="$CFLAGS"
   10015 
   10016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10020 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10021 then :
   10022   printf %s "(cached) " >&6
   10023 else $as_nop
   10024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10025 /* end confdefs.h.  */
   10026 int i;
   10027 _ACEOF
   10028 if ac_fn_c_try_compile "$LINENO"
   10029 then :
   10030   xorg_cv_cc_flag_unknown_warning_option=yes
   10031 else $as_nop
   10032   xorg_cv_cc_flag_unknown_warning_option=no
   10033 fi
   10034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10035 fi
   10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10037 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10038 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10039 	CFLAGS="$xorg_testset_save_CFLAGS"
   10040 fi
   10041 
   10042 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10043 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10044 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10045 	fi
   10046 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10048 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10049 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10050 then :
   10051   printf %s "(cached) " >&6
   10052 else $as_nop
   10053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10054 /* end confdefs.h.  */
   10055 int i;
   10056 _ACEOF
   10057 if ac_fn_c_try_compile "$LINENO"
   10058 then :
   10059   xorg_cv_cc_flag_unused_command_line_argument=yes
   10060 else $as_nop
   10061   xorg_cv_cc_flag_unused_command_line_argument=no
   10062 fi
   10063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10064 fi
   10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10066 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10068 	CFLAGS="$xorg_testset_save_CFLAGS"
   10069 fi
   10070 
   10071 found="no"
   10072 
   10073 	if test $found = "no" ; then
   10074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10076 		fi
   10077 
   10078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10080 		fi
   10081 
   10082 		CFLAGS="$CFLAGS -Wwrite-strings"
   10083 
   10084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10085 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10086 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10087 		if eval test \${$cacheid+y}
   10088 then :
   10089   printf %s "(cached) " >&6
   10090 else $as_nop
   10091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10092 /* end confdefs.h.  */
   10093 int i;
   10094 int
   10095 main (void)
   10096 {
   10097 
   10098   ;
   10099   return 0;
   10100 }
   10101 _ACEOF
   10102 if ac_fn_c_try_link "$LINENO"
   10103 then :
   10104   eval $cacheid=yes
   10105 else $as_nop
   10106   eval $cacheid=no
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10109     conftest$ac_exeext conftest.$ac_ext
   10110 fi
   10111 
   10112 
   10113 		CFLAGS="$xorg_testset_save_CFLAGS"
   10114 
   10115 		eval supported=\$$cacheid
   10116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10117 printf "%s\n" "$supported" >&6; }
   10118 		if test "$supported" = "yes" ; then
   10119 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10120 			found="yes"
   10121 		fi
   10122 	fi
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 xorg_testset_save_CFLAGS="$CFLAGS"
   10139 
   10140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10143 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10144 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10145 then :
   10146   printf %s "(cached) " >&6
   10147 else $as_nop
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 int i;
   10151 _ACEOF
   10152 if ac_fn_c_try_compile "$LINENO"
   10153 then :
   10154   xorg_cv_cc_flag_unknown_warning_option=yes
   10155 else $as_nop
   10156   xorg_cv_cc_flag_unknown_warning_option=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10159 fi
   10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10161 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10163 	CFLAGS="$xorg_testset_save_CFLAGS"
   10164 fi
   10165 
   10166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10169 	fi
   10170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10172 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10173 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10174 then :
   10175   printf %s "(cached) " >&6
   10176 else $as_nop
   10177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10178 /* end confdefs.h.  */
   10179 int i;
   10180 _ACEOF
   10181 if ac_fn_c_try_compile "$LINENO"
   10182 then :
   10183   xorg_cv_cc_flag_unused_command_line_argument=yes
   10184 else $as_nop
   10185   xorg_cv_cc_flag_unused_command_line_argument=no
   10186 fi
   10187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10188 fi
   10189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10192 	CFLAGS="$xorg_testset_save_CFLAGS"
   10193 fi
   10194 
   10195 found="no"
   10196 
   10197 	if test $found = "no" ; then
   10198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10200 		fi
   10201 
   10202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10204 		fi
   10205 
   10206 		CFLAGS="$CFLAGS -Waddress"
   10207 
   10208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10209 printf %s "checking if $CC supports -Waddress... " >&6; }
   10210 		cacheid=xorg_cv_cc_flag__Waddress
   10211 		if eval test \${$cacheid+y}
   10212 then :
   10213   printf %s "(cached) " >&6
   10214 else $as_nop
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 int
   10219 main (void)
   10220 {
   10221 
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 if ac_fn_c_try_link "$LINENO"
   10227 then :
   10228   eval $cacheid=yes
   10229 else $as_nop
   10230   eval $cacheid=no
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10233     conftest$ac_exeext conftest.$ac_ext
   10234 fi
   10235 
   10236 
   10237 		CFLAGS="$xorg_testset_save_CFLAGS"
   10238 
   10239 		eval supported=\$$cacheid
   10240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10241 printf "%s\n" "$supported" >&6; }
   10242 		if test "$supported" = "yes" ; then
   10243 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10244 			found="yes"
   10245 		fi
   10246 	fi
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 xorg_testset_save_CFLAGS="$CFLAGS"
   10263 
   10264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10267 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10268 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10269 then :
   10270   printf %s "(cached) " >&6
   10271 else $as_nop
   10272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10273 /* end confdefs.h.  */
   10274 int i;
   10275 _ACEOF
   10276 if ac_fn_c_try_compile "$LINENO"
   10277 then :
   10278   xorg_cv_cc_flag_unknown_warning_option=yes
   10279 else $as_nop
   10280   xorg_cv_cc_flag_unknown_warning_option=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10283 fi
   10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10285 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10287 	CFLAGS="$xorg_testset_save_CFLAGS"
   10288 fi
   10289 
   10290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10293 	fi
   10294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10295 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10296 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10297 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10298 then :
   10299   printf %s "(cached) " >&6
   10300 else $as_nop
   10301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10302 /* end confdefs.h.  */
   10303 int i;
   10304 _ACEOF
   10305 if ac_fn_c_try_compile "$LINENO"
   10306 then :
   10307   xorg_cv_cc_flag_unused_command_line_argument=yes
   10308 else $as_nop
   10309   xorg_cv_cc_flag_unused_command_line_argument=no
   10310 fi
   10311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10312 fi
   10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10314 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10316 	CFLAGS="$xorg_testset_save_CFLAGS"
   10317 fi
   10318 
   10319 found="no"
   10320 
   10321 	if test $found = "no" ; then
   10322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 		fi
   10325 
   10326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 		fi
   10329 
   10330 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10331 
   10332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10333 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10334 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10335 		if eval test \${$cacheid+y}
   10336 then :
   10337   printf %s "(cached) " >&6
   10338 else $as_nop
   10339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10340 /* end confdefs.h.  */
   10341 int i;
   10342 int
   10343 main (void)
   10344 {
   10345 
   10346   ;
   10347   return 0;
   10348 }
   10349 _ACEOF
   10350 if ac_fn_c_try_link "$LINENO"
   10351 then :
   10352   eval $cacheid=yes
   10353 else $as_nop
   10354   eval $cacheid=no
   10355 fi
   10356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10357     conftest$ac_exeext conftest.$ac_ext
   10358 fi
   10359 
   10360 
   10361 		CFLAGS="$xorg_testset_save_CFLAGS"
   10362 
   10363 		eval supported=\$$cacheid
   10364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10365 printf "%s\n" "$supported" >&6; }
   10366 		if test "$supported" = "yes" ; then
   10367 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10368 			found="yes"
   10369 		fi
   10370 	fi
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 xorg_testset_save_CFLAGS="$CFLAGS"
   10387 
   10388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10391 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10392 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10393 then :
   10394   printf %s "(cached) " >&6
   10395 else $as_nop
   10396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 _ACEOF
   10400 if ac_fn_c_try_compile "$LINENO"
   10401 then :
   10402   xorg_cv_cc_flag_unknown_warning_option=yes
   10403 else $as_nop
   10404   xorg_cv_cc_flag_unknown_warning_option=no
   10405 fi
   10406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10407 fi
   10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10409 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10411 	CFLAGS="$xorg_testset_save_CFLAGS"
   10412 fi
   10413 
   10414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 	fi
   10418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10420 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10421 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10422 then :
   10423   printf %s "(cached) " >&6
   10424 else $as_nop
   10425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 _ACEOF
   10429 if ac_fn_c_try_compile "$LINENO"
   10430 then :
   10431   xorg_cv_cc_flag_unused_command_line_argument=yes
   10432 else $as_nop
   10433   xorg_cv_cc_flag_unused_command_line_argument=no
   10434 fi
   10435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10436 fi
   10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10438 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10439 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10440 	CFLAGS="$xorg_testset_save_CFLAGS"
   10441 fi
   10442 
   10443 found="no"
   10444 
   10445 	if test $found = "no" ; then
   10446 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10448 		fi
   10449 
   10450 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10452 		fi
   10453 
   10454 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10455 
   10456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10457 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10458 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10459 		if eval test \${$cacheid+y}
   10460 then :
   10461   printf %s "(cached) " >&6
   10462 else $as_nop
   10463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10464 /* end confdefs.h.  */
   10465 int i;
   10466 int
   10467 main (void)
   10468 {
   10469 
   10470   ;
   10471   return 0;
   10472 }
   10473 _ACEOF
   10474 if ac_fn_c_try_link "$LINENO"
   10475 then :
   10476   eval $cacheid=yes
   10477 else $as_nop
   10478   eval $cacheid=no
   10479 fi
   10480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10481     conftest$ac_exeext conftest.$ac_ext
   10482 fi
   10483 
   10484 
   10485 		CFLAGS="$xorg_testset_save_CFLAGS"
   10486 
   10487 		eval supported=\$$cacheid
   10488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10489 printf "%s\n" "$supported" >&6; }
   10490 		if test "$supported" = "yes" ; then
   10491 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10492 			found="yes"
   10493 		fi
   10494 	fi
   10495 
   10496 
   10497 fi
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 		CWARNFLAGS="$BASE_CFLAGS"
   10506 		if  test "x$GCC" = xyes ; then
   10507 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10508 		fi
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 # Check whether --enable-strict-compilation was given.
   10518 if test ${enable_strict_compilation+y}
   10519 then :
   10520   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10521 else $as_nop
   10522   STRICT_COMPILE=no
   10523 fi
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 STRICT_CFLAGS=""
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 xorg_testset_save_CFLAGS="$CFLAGS"
   10545 
   10546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10549 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10550 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10551 then :
   10552   printf %s "(cached) " >&6
   10553 else $as_nop
   10554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10555 /* end confdefs.h.  */
   10556 int i;
   10557 _ACEOF
   10558 if ac_fn_c_try_compile "$LINENO"
   10559 then :
   10560   xorg_cv_cc_flag_unknown_warning_option=yes
   10561 else $as_nop
   10562   xorg_cv_cc_flag_unknown_warning_option=no
   10563 fi
   10564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10565 fi
   10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10567 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10569 	CFLAGS="$xorg_testset_save_CFLAGS"
   10570 fi
   10571 
   10572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10575 	fi
   10576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10578 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10579 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10580 then :
   10581   printf %s "(cached) " >&6
   10582 else $as_nop
   10583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10584 /* end confdefs.h.  */
   10585 int i;
   10586 _ACEOF
   10587 if ac_fn_c_try_compile "$LINENO"
   10588 then :
   10589   xorg_cv_cc_flag_unused_command_line_argument=yes
   10590 else $as_nop
   10591   xorg_cv_cc_flag_unused_command_line_argument=no
   10592 fi
   10593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10594 fi
   10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10598 	CFLAGS="$xorg_testset_save_CFLAGS"
   10599 fi
   10600 
   10601 found="no"
   10602 
   10603 	if test $found = "no" ; then
   10604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10606 		fi
   10607 
   10608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10610 		fi
   10611 
   10612 		CFLAGS="$CFLAGS -pedantic"
   10613 
   10614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10615 printf %s "checking if $CC supports -pedantic... " >&6; }
   10616 		cacheid=xorg_cv_cc_flag__pedantic
   10617 		if eval test \${$cacheid+y}
   10618 then :
   10619   printf %s "(cached) " >&6
   10620 else $as_nop
   10621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10622 /* end confdefs.h.  */
   10623 int i;
   10624 int
   10625 main (void)
   10626 {
   10627 
   10628   ;
   10629   return 0;
   10630 }
   10631 _ACEOF
   10632 if ac_fn_c_try_link "$LINENO"
   10633 then :
   10634   eval $cacheid=yes
   10635 else $as_nop
   10636   eval $cacheid=no
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10639     conftest$ac_exeext conftest.$ac_ext
   10640 fi
   10641 
   10642 
   10643 		CFLAGS="$xorg_testset_save_CFLAGS"
   10644 
   10645 		eval supported=\$$cacheid
   10646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10647 printf "%s\n" "$supported" >&6; }
   10648 		if test "$supported" = "yes" ; then
   10649 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10650 			found="yes"
   10651 		fi
   10652 	fi
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 xorg_testset_save_CFLAGS="$CFLAGS"
   10669 
   10670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10673 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10674 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10675 then :
   10676   printf %s "(cached) " >&6
   10677 else $as_nop
   10678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10679 /* end confdefs.h.  */
   10680 int i;
   10681 _ACEOF
   10682 if ac_fn_c_try_compile "$LINENO"
   10683 then :
   10684   xorg_cv_cc_flag_unknown_warning_option=yes
   10685 else $as_nop
   10686   xorg_cv_cc_flag_unknown_warning_option=no
   10687 fi
   10688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10689 fi
   10690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10691 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10693 	CFLAGS="$xorg_testset_save_CFLAGS"
   10694 fi
   10695 
   10696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10699 	fi
   10700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10702 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10703 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10704 then :
   10705   printf %s "(cached) " >&6
   10706 else $as_nop
   10707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10708 /* end confdefs.h.  */
   10709 int i;
   10710 _ACEOF
   10711 if ac_fn_c_try_compile "$LINENO"
   10712 then :
   10713   xorg_cv_cc_flag_unused_command_line_argument=yes
   10714 else $as_nop
   10715   xorg_cv_cc_flag_unused_command_line_argument=no
   10716 fi
   10717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10718 fi
   10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10720 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10722 	CFLAGS="$xorg_testset_save_CFLAGS"
   10723 fi
   10724 
   10725 found="no"
   10726 
   10727 	if test $found = "no" ; then
   10728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10730 		fi
   10731 
   10732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10734 		fi
   10735 
   10736 		CFLAGS="$CFLAGS -Werror"
   10737 
   10738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10739 printf %s "checking if $CC supports -Werror... " >&6; }
   10740 		cacheid=xorg_cv_cc_flag__Werror
   10741 		if eval test \${$cacheid+y}
   10742 then :
   10743   printf %s "(cached) " >&6
   10744 else $as_nop
   10745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10746 /* end confdefs.h.  */
   10747 int i;
   10748 int
   10749 main (void)
   10750 {
   10751 
   10752   ;
   10753   return 0;
   10754 }
   10755 _ACEOF
   10756 if ac_fn_c_try_link "$LINENO"
   10757 then :
   10758   eval $cacheid=yes
   10759 else $as_nop
   10760   eval $cacheid=no
   10761 fi
   10762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10763     conftest$ac_exeext conftest.$ac_ext
   10764 fi
   10765 
   10766 
   10767 		CFLAGS="$xorg_testset_save_CFLAGS"
   10768 
   10769 		eval supported=\$$cacheid
   10770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10771 printf "%s\n" "$supported" >&6; }
   10772 		if test "$supported" = "yes" ; then
   10773 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10774 			found="yes"
   10775 		fi
   10776 	fi
   10777 
   10778 	if test $found = "no" ; then
   10779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10781 		fi
   10782 
   10783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10785 		fi
   10786 
   10787 		CFLAGS="$CFLAGS -errwarn"
   10788 
   10789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10790 printf %s "checking if $CC supports -errwarn... " >&6; }
   10791 		cacheid=xorg_cv_cc_flag__errwarn
   10792 		if eval test \${$cacheid+y}
   10793 then :
   10794   printf %s "(cached) " >&6
   10795 else $as_nop
   10796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10797 /* end confdefs.h.  */
   10798 int i;
   10799 int
   10800 main (void)
   10801 {
   10802 
   10803   ;
   10804   return 0;
   10805 }
   10806 _ACEOF
   10807 if ac_fn_c_try_link "$LINENO"
   10808 then :
   10809   eval $cacheid=yes
   10810 else $as_nop
   10811   eval $cacheid=no
   10812 fi
   10813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10814     conftest$ac_exeext conftest.$ac_ext
   10815 fi
   10816 
   10817 
   10818 		CFLAGS="$xorg_testset_save_CFLAGS"
   10819 
   10820 		eval supported=\$$cacheid
   10821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10822 printf "%s\n" "$supported" >&6; }
   10823 		if test "$supported" = "yes" ; then
   10824 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10825 			found="yes"
   10826 		fi
   10827 	fi
   10828 
   10829 
   10830 
   10831 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10832 # activate it with -Werror, so we add it here explicitly.
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 xorg_testset_save_CFLAGS="$CFLAGS"
   10847 
   10848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10853 then :
   10854   printf %s "(cached) " >&6
   10855 else $as_nop
   10856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10857 /* end confdefs.h.  */
   10858 int i;
   10859 _ACEOF
   10860 if ac_fn_c_try_compile "$LINENO"
   10861 then :
   10862   xorg_cv_cc_flag_unknown_warning_option=yes
   10863 else $as_nop
   10864   xorg_cv_cc_flag_unknown_warning_option=no
   10865 fi
   10866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10867 fi
   10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10869 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10871 	CFLAGS="$xorg_testset_save_CFLAGS"
   10872 fi
   10873 
   10874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10877 	fi
   10878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10882 then :
   10883   printf %s "(cached) " >&6
   10884 else $as_nop
   10885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10886 /* end confdefs.h.  */
   10887 int i;
   10888 _ACEOF
   10889 if ac_fn_c_try_compile "$LINENO"
   10890 then :
   10891   xorg_cv_cc_flag_unused_command_line_argument=yes
   10892 else $as_nop
   10893   xorg_cv_cc_flag_unused_command_line_argument=no
   10894 fi
   10895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10896 fi
   10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10900 	CFLAGS="$xorg_testset_save_CFLAGS"
   10901 fi
   10902 
   10903 found="no"
   10904 
   10905 	if test $found = "no" ; then
   10906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10908 		fi
   10909 
   10910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10912 		fi
   10913 
   10914 		CFLAGS="$CFLAGS -Werror=attributes"
   10915 
   10916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10917 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10918 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10919 		if eval test \${$cacheid+y}
   10920 then :
   10921   printf %s "(cached) " >&6
   10922 else $as_nop
   10923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 int i;
   10926 int
   10927 main (void)
   10928 {
   10929 
   10930   ;
   10931   return 0;
   10932 }
   10933 _ACEOF
   10934 if ac_fn_c_try_link "$LINENO"
   10935 then :
   10936   eval $cacheid=yes
   10937 else $as_nop
   10938   eval $cacheid=no
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942 fi
   10943 
   10944 
   10945 		CFLAGS="$xorg_testset_save_CFLAGS"
   10946 
   10947 		eval supported=\$$cacheid
   10948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10949 printf "%s\n" "$supported" >&6; }
   10950 		if test "$supported" = "yes" ; then
   10951 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10952 			found="yes"
   10953 		fi
   10954 	fi
   10955 
   10956 
   10957 
   10958 if test "x$STRICT_COMPILE" = "xyes"; then
   10959     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10960     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10961 fi
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 cat >>confdefs.h <<_ACEOF
   10969 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10970 _ACEOF
   10971 
   10972 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10973 	if test "x$PVM" = "x"; then
   10974 		PVM="0"
   10975 	fi
   10976 
   10977 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10978 
   10979 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10980 	if test "x$PVP" = "x"; then
   10981 		PVP="0"
   10982 	fi
   10983 
   10984 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10985 
   10986 
   10987 
   10988 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10989 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10990 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10991 touch \$(top_srcdir)/ChangeLog; \
   10992 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10993 
   10994 
   10995 
   10996 
   10997 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10998 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10999 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11000 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11001 touch \$(top_srcdir)/INSTALL; \
   11002 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 case $host_os in
   11010     solaris*)
   11011         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11012         # check for a man page file found in later versions that use
   11013         # traditional section numbers instead
   11014         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11015 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11016 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11017 then :
   11018   printf %s "(cached) " >&6
   11019 else $as_nop
   11020   test "$cross_compiling" = yes &&
   11021   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11022 if test -r "/usr/share/man/man7/attributes.7"; then
   11023   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11024 else
   11025   ac_cv_file__usr_share_man_man7_attributes_7=no
   11026 fi
   11027 fi
   11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11029 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11030 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11031 then :
   11032   SYSV_MAN_SECTIONS=false
   11033 else $as_nop
   11034   SYSV_MAN_SECTIONS=true
   11035 fi
   11036 
   11037         ;;
   11038     *) SYSV_MAN_SECTIONS=false ;;
   11039 esac
   11040 
   11041 if test x$APP_MAN_SUFFIX = x    ; then
   11042     APP_MAN_SUFFIX=1
   11043 fi
   11044 if test x$APP_MAN_DIR = x    ; then
   11045     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11046 fi
   11047 
   11048 if test x$LIB_MAN_SUFFIX = x    ; then
   11049     LIB_MAN_SUFFIX=3
   11050 fi
   11051 if test x$LIB_MAN_DIR = x    ; then
   11052     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11053 fi
   11054 
   11055 if test x$FILE_MAN_SUFFIX = x    ; then
   11056     case $SYSV_MAN_SECTIONS in
   11057 	true)				FILE_MAN_SUFFIX=4  ;;
   11058 	*)				FILE_MAN_SUFFIX=5  ;;
   11059     esac
   11060 fi
   11061 if test x$FILE_MAN_DIR = x    ; then
   11062     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11063 fi
   11064 
   11065 if test x$MISC_MAN_SUFFIX = x    ; then
   11066     case $SYSV_MAN_SECTIONS in
   11067 	true)				MISC_MAN_SUFFIX=5  ;;
   11068 	*)				MISC_MAN_SUFFIX=7  ;;
   11069     esac
   11070 fi
   11071 if test x$MISC_MAN_DIR = x    ; then
   11072     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11073 fi
   11074 
   11075 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11076     case $SYSV_MAN_SECTIONS in
   11077 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11078 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11079     esac
   11080 fi
   11081 if test x$DRIVER_MAN_DIR = x    ; then
   11082     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11083 fi
   11084 
   11085 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11086     case $SYSV_MAN_SECTIONS in
   11087 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11088 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11089     esac
   11090 fi
   11091 if test x$ADMIN_MAN_DIR = x    ; then
   11092     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11093 fi
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 XORG_MAN_PAGE="X Version 11"
   11110 
   11111 MAN_SUBSTS="\
   11112 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11113 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11114 	-e 's|__xservername__|Xorg|g' \
   11115 	-e 's|__xconfigfile__|xorg.conf|g' \
   11116 	-e 's|__projectroot__|\$(prefix)|g' \
   11117 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11118 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11119 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11120 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11121 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11122 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11123 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11124 
   11125 
   11126 
   11127 # Check whether --enable-silent-rules was given.
   11128 if test ${enable_silent_rules+y}
   11129 then :
   11130   enableval=$enable_silent_rules;
   11131 fi
   11132 
   11133 case $enable_silent_rules in # (((
   11134   yes) AM_DEFAULT_VERBOSITY=0;;
   11135    no) AM_DEFAULT_VERBOSITY=1;;
   11136     *) AM_DEFAULT_VERBOSITY=0;;
   11137 esac
   11138 am_make=${MAKE-make}
   11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11140 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11141 if test ${am_cv_make_support_nested_variables+y}
   11142 then :
   11143   printf %s "(cached) " >&6
   11144 else $as_nop
   11145   if printf "%s\n" 'TRUE=$(BAR$(V))
   11146 BAR0=false
   11147 BAR1=true
   11148 V=1
   11149 am__doit:
   11150 	@$(TRUE)
   11151 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11152   am_cv_make_support_nested_variables=yes
   11153 else
   11154   am_cv_make_support_nested_variables=no
   11155 fi
   11156 fi
   11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11158 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11159 if test $am_cv_make_support_nested_variables = yes; then
   11160     AM_V='$(V)'
   11161   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11162 else
   11163   AM_V=$AM_DEFAULT_VERBOSITY
   11164   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11165 fi
   11166 AM_BACKSLASH='\'
   11167 
   11168 
   11169 
   11170 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   11171 if test "x$ac_cv_func_strlcpy" = xyes
   11172 then :
   11173   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   11174 
   11175 fi
   11176 
   11177 
   11178 # Checks for pkg-config packages
   11179 
   11180 pkg_failed=no
   11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCALC" >&5
   11182 printf %s "checking for XCALC... " >&6; }
   11183 
   11184 if test -n "$XCALC_CFLAGS"; then
   11185     pkg_cv_XCALC_CFLAGS="$XCALC_CFLAGS"
   11186  elif test -n "$PKG_CONFIG"; then
   11187     if test -n "$PKG_CONFIG" && \
   11188     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   11189   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   11190   ac_status=$?
   11191   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11192   test $ac_status = 0; }; then
   11193   pkg_cv_XCALC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   11194 		      test "x$?" != "x0" && pkg_failed=yes
   11195 else
   11196   pkg_failed=yes
   11197 fi
   11198  else
   11199     pkg_failed=untried
   11200 fi
   11201 if test -n "$XCALC_LIBS"; then
   11202     pkg_cv_XCALC_LIBS="$XCALC_LIBS"
   11203  elif test -n "$PKG_CONFIG"; then
   11204     if test -n "$PKG_CONFIG" && \
   11205     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   11206   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   11207   ac_status=$?
   11208   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11209   test $ac_status = 0; }; then
   11210   pkg_cv_XCALC_LIBS=`$PKG_CONFIG --libs "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   11211 		      test "x$?" != "x0" && pkg_failed=yes
   11212 else
   11213   pkg_failed=yes
   11214 fi
   11215  else
   11216     pkg_failed=untried
   11217 fi
   11218 
   11219 
   11220 
   11221 if test $pkg_failed = yes; then
   11222    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11223 printf "%s\n" "no" >&6; }
   11224 
   11225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11226         _pkg_short_errors_supported=yes
   11227 else
   11228         _pkg_short_errors_supported=no
   11229 fi
   11230         if test $_pkg_short_errors_supported = yes; then
   11231 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   11232         else
   11233 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   11234         fi
   11235 	# Put the nasty error message in config.log where it belongs
   11236 	echo "$XCALC_PKG_ERRORS" >&5
   11237 
   11238 	as_fn_error $? "Package requirements (xaw7 xt x11 xproto >= 7.0.17) were not met:
   11239 
   11240 $XCALC_PKG_ERRORS
   11241 
   11242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11243 installed software in a non-standard prefix.
   11244 
   11245 Alternatively, you may set the environment variables XCALC_CFLAGS
   11246 and XCALC_LIBS to avoid the need to call pkg-config.
   11247 See the pkg-config man page for more details." "$LINENO" 5
   11248 elif test $pkg_failed = untried; then
   11249      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11250 printf "%s\n" "no" >&6; }
   11251 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11253 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11254 is in your PATH or set the PKG_CONFIG environment variable to the full
   11255 path to pkg-config.
   11256 
   11257 Alternatively, you may set the environment variables XCALC_CFLAGS
   11258 and XCALC_LIBS to avoid the need to call pkg-config.
   11259 See the pkg-config man page for more details.
   11260 
   11261 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11262 See \`config.log' for more details" "$LINENO" 5; }
   11263 else
   11264 	XCALC_CFLAGS=$pkg_cv_XCALC_CFLAGS
   11265 	XCALC_LIBS=$pkg_cv_XCALC_LIBS
   11266         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11267 printf "%s\n" "yes" >&6; }
   11268 
   11269 fi
   11270 
   11271 
   11272 pkg_failed=no
   11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11274 printf %s "checking for APPDEFS... " >&6; }
   11275 
   11276 if test -n "$APPDEFS_CFLAGS"; then
   11277     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11278  elif test -n "$PKG_CONFIG"; then
   11279     if test -n "$PKG_CONFIG" && \
   11280     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11281   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11282   ac_status=$?
   11283   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11284   test $ac_status = 0; }; then
   11285   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11286 		      test "x$?" != "x0" && pkg_failed=yes
   11287 else
   11288   pkg_failed=yes
   11289 fi
   11290  else
   11291     pkg_failed=untried
   11292 fi
   11293 if test -n "$APPDEFS_LIBS"; then
   11294     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11295  elif test -n "$PKG_CONFIG"; then
   11296     if test -n "$PKG_CONFIG" && \
   11297     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11298   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11299   ac_status=$?
   11300   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11301   test $ac_status = 0; }; then
   11302   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11303 		      test "x$?" != "x0" && pkg_failed=yes
   11304 else
   11305   pkg_failed=yes
   11306 fi
   11307  else
   11308     pkg_failed=untried
   11309 fi
   11310 
   11311 
   11312 
   11313 if test $pkg_failed = yes; then
   11314    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11315 printf "%s\n" "no" >&6; }
   11316 
   11317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11318         _pkg_short_errors_supported=yes
   11319 else
   11320         _pkg_short_errors_supported=no
   11321 fi
   11322         if test $_pkg_short_errors_supported = yes; then
   11323 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11324         else
   11325 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11326         fi
   11327 	# Put the nasty error message in config.log where it belongs
   11328 	echo "$APPDEFS_PKG_ERRORS" >&5
   11329 
   11330 	as_fn_error $? "Package requirements (xt) were not met:
   11331 
   11332 $APPDEFS_PKG_ERRORS
   11333 
   11334 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11335 installed software in a non-standard prefix.
   11336 
   11337 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11338 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11339 See the pkg-config man page for more details." "$LINENO" 5
   11340 elif test $pkg_failed = untried; then
   11341      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11342 printf "%s\n" "no" >&6; }
   11343 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11344 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11345 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11346 is in your PATH or set the PKG_CONFIG environment variable to the full
   11347 path to pkg-config.
   11348 
   11349 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11350 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11351 See the pkg-config man page for more details.
   11352 
   11353 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11354 See \`config.log' for more details" "$LINENO" 5; }
   11355 else
   11356 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11357 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11358         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11359 printf "%s\n" "yes" >&6; }
   11360 
   11361 fi
   11362 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11363 
   11364 # Check whether --with-appdefaultdir was given.
   11365 if test ${with_appdefaultdir+y}
   11366 then :
   11367   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11368 else $as_nop
   11369   appdefaultdir="${xt_appdefaultdir}"
   11370 fi
   11371 
   11372 
   11373 
   11374 
   11375 ac_config_files="$ac_config_files Makefile man/Makefile"
   11376 
   11377 cat >confcache <<\_ACEOF
   11378 # This file is a shell script that caches the results of configure
   11379 # tests run on this system so they can be shared between configure
   11380 # scripts and configure runs, see configure's option --config-cache.
   11381 # It is not useful on other systems.  If it contains results you don't
   11382 # want to keep, you may remove or edit it.
   11383 #
   11384 # config.status only pays attention to the cache file if you give it
   11385 # the --recheck option to rerun configure.
   11386 #
   11387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11389 # following values.
   11390 
   11391 _ACEOF
   11392 
   11393 # The following way of writing the cache mishandles newlines in values,
   11394 # but we know of no workaround that is simple, portable, and efficient.
   11395 # So, we kill variables containing newlines.
   11396 # Ultrix sh set writes to stderr and can't be redirected directly,
   11397 # and sets the high bit in the cache file unless we assign to the vars.
   11398 (
   11399   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11400     eval ac_val=\$$ac_var
   11401     case $ac_val in #(
   11402     *${as_nl}*)
   11403       case $ac_var in #(
   11404       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11405 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11406       esac
   11407       case $ac_var in #(
   11408       _ | IFS | as_nl) ;; #(
   11409       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11410       *) { eval $ac_var=; unset $ac_var;} ;;
   11411       esac ;;
   11412     esac
   11413   done
   11414 
   11415   (set) 2>&1 |
   11416     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11417     *${as_nl}ac_space=\ *)
   11418       # `set' does not quote correctly, so add quotes: double-quote
   11419       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11420       sed -n \
   11421 	"s/'/'\\\\''/g;
   11422 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11423       ;; #(
   11424     *)
   11425       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11426       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11427       ;;
   11428     esac |
   11429     sort
   11430 ) |
   11431   sed '
   11432      /^ac_cv_env_/b end
   11433      t clear
   11434      :clear
   11435      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11436      t end
   11437      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11438      :end' >>confcache
   11439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11440   if test -w "$cache_file"; then
   11441     if test "x$cache_file" != "x/dev/null"; then
   11442       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11443 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11444       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11445 	cat confcache >"$cache_file"
   11446       else
   11447         case $cache_file in #(
   11448         */* | ?:*)
   11449 	  mv -f confcache "$cache_file"$$ &&
   11450 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11451         *)
   11452 	  mv -f confcache "$cache_file" ;;
   11453 	esac
   11454       fi
   11455     fi
   11456   else
   11457     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11458 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11459   fi
   11460 fi
   11461 rm -f confcache
   11462 
   11463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11464 # Let make expand exec_prefix.
   11465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11466 
   11467 DEFS=-DHAVE_CONFIG_H
   11468 
   11469 ac_libobjs=
   11470 ac_ltlibobjs=
   11471 U=
   11472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11473   # 1. Remove the extension, and $U if already installed.
   11474   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11475   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11476   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11477   #    will be set to the directory where LIBOBJS objects are built.
   11478   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11479   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11480 done
   11481 LIBOBJS=$ac_libobjs
   11482 
   11483 LTLIBOBJS=$ac_ltlibobjs
   11484 
   11485 
   11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11487 printf %s "checking that generated files are newer than configure... " >&6; }
   11488    if test -n "$am_sleep_pid"; then
   11489      # Hide warnings about reused PIDs.
   11490      wait $am_sleep_pid 2>/dev/null
   11491    fi
   11492    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11493 printf "%s\n" "done" >&6; }
   11494  if test -n "$EXEEXT"; then
   11495   am__EXEEXT_TRUE=
   11496   am__EXEEXT_FALSE='#'
   11497 else
   11498   am__EXEEXT_TRUE='#'
   11499   am__EXEEXT_FALSE=
   11500 fi
   11501 
   11502 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11503   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11505 fi
   11506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11507   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11509 fi
   11510 
   11511 : "${CONFIG_STATUS=./config.status}"
   11512 ac_write_fail=0
   11513 ac_clean_files_save=$ac_clean_files
   11514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11516 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11517 as_write_fail=0
   11518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11519 #! $SHELL
   11520 # Generated by $as_me.
   11521 # Run this file to recreate the current configuration.
   11522 # Compiler output produced by configure, useful for debugging
   11523 # configure, is in config.log if it exists.
   11524 
   11525 debug=false
   11526 ac_cs_recheck=false
   11527 ac_cs_silent=false
   11528 
   11529 SHELL=\${CONFIG_SHELL-$SHELL}
   11530 export SHELL
   11531 _ASEOF
   11532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11533 ## -------------------- ##
   11534 ## M4sh Initialization. ##
   11535 ## -------------------- ##
   11536 
   11537 # Be more Bourne compatible
   11538 DUALCASE=1; export DUALCASE # for MKS sh
   11539 as_nop=:
   11540 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11541 then :
   11542   emulate sh
   11543   NULLCMD=:
   11544   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11545   # is contrary to our usage.  Disable this feature.
   11546   alias -g '${1+"$@"}'='"$@"'
   11547   setopt NO_GLOB_SUBST
   11548 else $as_nop
   11549   case `(set -o) 2>/dev/null` in #(
   11550   *posix*) :
   11551     set -o posix ;; #(
   11552   *) :
   11553      ;;
   11554 esac
   11555 fi
   11556 
   11557 
   11558 
   11559 # Reset variables that may have inherited troublesome values from
   11560 # the environment.
   11561 
   11562 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11563 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11564 # side effect of setting IFS to empty, thus disabling word splitting.)
   11565 # Quoting is to prevent editors from complaining about space-tab.
   11566 as_nl='
   11567 '
   11568 export as_nl
   11569 IFS=" ""	$as_nl"
   11570 
   11571 PS1='$ '
   11572 PS2='> '
   11573 PS4='+ '
   11574 
   11575 # Ensure predictable behavior from utilities with locale-dependent output.
   11576 LC_ALL=C
   11577 export LC_ALL
   11578 LANGUAGE=C
   11579 export LANGUAGE
   11580 
   11581 # We cannot yet rely on "unset" to work, but we need these variables
   11582 # to be unset--not just set to an empty or harmless value--now, to
   11583 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11584 # also avoids known problems related to "unset" and subshell syntax
   11585 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11586 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11587 do eval test \${$as_var+y} \
   11588   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11589 done
   11590 
   11591 # Ensure that fds 0, 1, and 2 are open.
   11592 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11593 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11594 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11595 
   11596 # The user is always right.
   11597 if ${PATH_SEPARATOR+false} :; then
   11598   PATH_SEPARATOR=:
   11599   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11600     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11601       PATH_SEPARATOR=';'
   11602   }
   11603 fi
   11604 
   11605 
   11606 # Find who we are.  Look in the path if we contain no directory separator.
   11607 as_myself=
   11608 case $0 in #((
   11609   *[\\/]* ) as_myself=$0 ;;
   11610   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11611 for as_dir in $PATH
   11612 do
   11613   IFS=$as_save_IFS
   11614   case $as_dir in #(((
   11615     '') as_dir=./ ;;
   11616     */) ;;
   11617     *) as_dir=$as_dir/ ;;
   11618   esac
   11619     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11620   done
   11621 IFS=$as_save_IFS
   11622 
   11623      ;;
   11624 esac
   11625 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11626 # in which case we are not to be found in the path.
   11627 if test "x$as_myself" = x; then
   11628   as_myself=$0
   11629 fi
   11630 if test ! -f "$as_myself"; then
   11631   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11632   exit 1
   11633 fi
   11634 
   11635 
   11636 
   11637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11638 # ----------------------------------------
   11639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11641 # script with STATUS, using 1 if that was 0.
   11642 as_fn_error ()
   11643 {
   11644   as_status=$1; test $as_status -eq 0 && as_status=1
   11645   if test "$4"; then
   11646     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11648   fi
   11649   printf "%s\n" "$as_me: error: $2" >&2
   11650   as_fn_exit $as_status
   11651 } # as_fn_error
   11652 
   11653 
   11654 
   11655 # as_fn_set_status STATUS
   11656 # -----------------------
   11657 # Set $? to STATUS, without forking.
   11658 as_fn_set_status ()
   11659 {
   11660   return $1
   11661 } # as_fn_set_status
   11662 
   11663 # as_fn_exit STATUS
   11664 # -----------------
   11665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11666 as_fn_exit ()
   11667 {
   11668   set +e
   11669   as_fn_set_status $1
   11670   exit $1
   11671 } # as_fn_exit
   11672 
   11673 # as_fn_unset VAR
   11674 # ---------------
   11675 # Portably unset VAR.
   11676 as_fn_unset ()
   11677 {
   11678   { eval $1=; unset $1;}
   11679 }
   11680 as_unset=as_fn_unset
   11681 
   11682 # as_fn_append VAR VALUE
   11683 # ----------------------
   11684 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11685 # advantage of any shell optimizations that allow amortized linear growth over
   11686 # repeated appends, instead of the typical quadratic growth present in naive
   11687 # implementations.
   11688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11689 then :
   11690   eval 'as_fn_append ()
   11691   {
   11692     eval $1+=\$2
   11693   }'
   11694 else $as_nop
   11695   as_fn_append ()
   11696   {
   11697     eval $1=\$$1\$2
   11698   }
   11699 fi # as_fn_append
   11700 
   11701 # as_fn_arith ARG...
   11702 # ------------------
   11703 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11704 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11705 # must be portable across $(()) and expr.
   11706 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11707 then :
   11708   eval 'as_fn_arith ()
   11709   {
   11710     as_val=$(( $* ))
   11711   }'
   11712 else $as_nop
   11713   as_fn_arith ()
   11714   {
   11715     as_val=`expr "$@" || test $? -eq 1`
   11716   }
   11717 fi # as_fn_arith
   11718 
   11719 
   11720 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11721    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11722   as_expr=expr
   11723 else
   11724   as_expr=false
   11725 fi
   11726 
   11727 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11728   as_basename=basename
   11729 else
   11730   as_basename=false
   11731 fi
   11732 
   11733 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11734   as_dirname=dirname
   11735 else
   11736   as_dirname=false
   11737 fi
   11738 
   11739 as_me=`$as_basename -- "$0" ||
   11740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11741 	 X"$0" : 'X\(//\)$' \| \
   11742 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11743 printf "%s\n" X/"$0" |
   11744     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11745 	    s//\1/
   11746 	    q
   11747 	  }
   11748 	  /^X\/\(\/\/\)$/{
   11749 	    s//\1/
   11750 	    q
   11751 	  }
   11752 	  /^X\/\(\/\).*/{
   11753 	    s//\1/
   11754 	    q
   11755 	  }
   11756 	  s/.*/./; q'`
   11757 
   11758 # Avoid depending upon Character Ranges.
   11759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11762 as_cr_digits='0123456789'
   11763 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11764 
   11765 
   11766 # Determine whether it's possible to make 'echo' print without a newline.
   11767 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11768 # for compatibility with existing Makefiles.
   11769 ECHO_C= ECHO_N= ECHO_T=
   11770 case `echo -n x` in #(((((
   11771 -n*)
   11772   case `echo 'xy\c'` in
   11773   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11774   xy)  ECHO_C='\c';;
   11775   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11776        ECHO_T='	';;
   11777   esac;;
   11778 *)
   11779   ECHO_N='-n';;
   11780 esac
   11781 
   11782 # For backward compatibility with old third-party macros, we provide
   11783 # the shell variables $as_echo and $as_echo_n.  New code should use
   11784 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11785 as_echo='printf %s\n'
   11786 as_echo_n='printf %s'
   11787 
   11788 rm -f conf$$ conf$$.exe conf$$.file
   11789 if test -d conf$$.dir; then
   11790   rm -f conf$$.dir/conf$$.file
   11791 else
   11792   rm -f conf$$.dir
   11793   mkdir conf$$.dir 2>/dev/null
   11794 fi
   11795 if (echo >conf$$.file) 2>/dev/null; then
   11796   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11797     as_ln_s='ln -s'
   11798     # ... but there are two gotchas:
   11799     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11800     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11801     # In both cases, we have to default to `cp -pR'.
   11802     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11803       as_ln_s='cp -pR'
   11804   elif ln conf$$.file conf$$ 2>/dev/null; then
   11805     as_ln_s=ln
   11806   else
   11807     as_ln_s='cp -pR'
   11808   fi
   11809 else
   11810   as_ln_s='cp -pR'
   11811 fi
   11812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11813 rmdir conf$$.dir 2>/dev/null
   11814 
   11815 
   11816 # as_fn_mkdir_p
   11817 # -------------
   11818 # Create "$as_dir" as a directory, including parents if necessary.
   11819 as_fn_mkdir_p ()
   11820 {
   11821 
   11822   case $as_dir in #(
   11823   -*) as_dir=./$as_dir;;
   11824   esac
   11825   test -d "$as_dir" || eval $as_mkdir_p || {
   11826     as_dirs=
   11827     while :; do
   11828       case $as_dir in #(
   11829       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11830       *) as_qdir=$as_dir;;
   11831       esac
   11832       as_dirs="'$as_qdir' $as_dirs"
   11833       as_dir=`$as_dirname -- "$as_dir" ||
   11834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11835 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11836 	 X"$as_dir" : 'X\(//\)$' \| \
   11837 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11838 printf "%s\n" X"$as_dir" |
   11839     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11840 	    s//\1/
   11841 	    q
   11842 	  }
   11843 	  /^X\(\/\/\)[^/].*/{
   11844 	    s//\1/
   11845 	    q
   11846 	  }
   11847 	  /^X\(\/\/\)$/{
   11848 	    s//\1/
   11849 	    q
   11850 	  }
   11851 	  /^X\(\/\).*/{
   11852 	    s//\1/
   11853 	    q
   11854 	  }
   11855 	  s/.*/./; q'`
   11856       test -d "$as_dir" && break
   11857     done
   11858     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11859   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11860 
   11861 
   11862 } # as_fn_mkdir_p
   11863 if mkdir -p . 2>/dev/null; then
   11864   as_mkdir_p='mkdir -p "$as_dir"'
   11865 else
   11866   test -d ./-p && rmdir ./-p
   11867   as_mkdir_p=false
   11868 fi
   11869 
   11870 
   11871 # as_fn_executable_p FILE
   11872 # -----------------------
   11873 # Test if FILE is an executable regular file.
   11874 as_fn_executable_p ()
   11875 {
   11876   test -f "$1" && test -x "$1"
   11877 } # as_fn_executable_p
   11878 as_test_x='test -x'
   11879 as_executable_p=as_fn_executable_p
   11880 
   11881 # Sed expression to map a string onto a valid CPP name.
   11882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11883 
   11884 # Sed expression to map a string onto a valid variable name.
   11885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11886 
   11887 
   11888 exec 6>&1
   11889 ## ----------------------------------- ##
   11890 ## Main body of $CONFIG_STATUS script. ##
   11891 ## ----------------------------------- ##
   11892 _ASEOF
   11893 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11894 
   11895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11896 # Save the log message, to keep $0 and so on meaningful, and to
   11897 # report actual input values of CONFIG_FILES etc. instead of their
   11898 # values after options handling.
   11899 ac_log="
   11900 This file was extended by xcalc $as_me 1.1.1, which was
   11901 generated by GNU Autoconf 2.71.  Invocation command line was
   11902 
   11903   CONFIG_FILES    = $CONFIG_FILES
   11904   CONFIG_HEADERS  = $CONFIG_HEADERS
   11905   CONFIG_LINKS    = $CONFIG_LINKS
   11906   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11907   $ $0 $@
   11908 
   11909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11910 "
   11911 
   11912 _ACEOF
   11913 
   11914 case $ac_config_files in *"
   11915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11916 esac
   11917 
   11918 case $ac_config_headers in *"
   11919 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11920 esac
   11921 
   11922 
   11923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11924 # Files that config.status was made for.
   11925 config_files="$ac_config_files"
   11926 config_headers="$ac_config_headers"
   11927 config_commands="$ac_config_commands"
   11928 
   11929 _ACEOF
   11930 
   11931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11932 ac_cs_usage="\
   11933 \`$as_me' instantiates files and other configuration actions
   11934 from templates according to the current configuration.  Unless the files
   11935 and actions are specified as TAGs, all are instantiated by default.
   11936 
   11937 Usage: $0 [OPTION]... [TAG]...
   11938 
   11939   -h, --help       print this help, then exit
   11940   -V, --version    print version number and configuration settings, then exit
   11941       --config     print configuration, then exit
   11942   -q, --quiet, --silent
   11943                    do not print progress messages
   11944   -d, --debug      don't remove temporary files
   11945       --recheck    update $as_me by reconfiguring in the same conditions
   11946       --file=FILE[:TEMPLATE]
   11947                    instantiate the configuration file FILE
   11948       --header=FILE[:TEMPLATE]
   11949                    instantiate the configuration header FILE
   11950 
   11951 Configuration files:
   11952 $config_files
   11953 
   11954 Configuration headers:
   11955 $config_headers
   11956 
   11957 Configuration commands:
   11958 $config_commands
   11959 
   11960 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>."
   11961 
   11962 _ACEOF
   11963 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11964 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11966 ac_cs_config='$ac_cs_config_escaped'
   11967 ac_cs_version="\\
   11968 xcalc config.status 1.1.1
   11969 configured by $0, generated by GNU Autoconf 2.71,
   11970   with options \\"\$ac_cs_config\\"
   11971 
   11972 Copyright (C) 2021 Free Software Foundation, Inc.
   11973 This config.status script is free software; the Free Software Foundation
   11974 gives unlimited permission to copy, distribute and modify it."
   11975 
   11976 ac_pwd='$ac_pwd'
   11977 srcdir='$srcdir'
   11978 INSTALL='$INSTALL'
   11979 MKDIR_P='$MKDIR_P'
   11980 AWK='$AWK'
   11981 test -n "\$AWK" || AWK=awk
   11982 _ACEOF
   11983 
   11984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11985 # The default lists apply if the user does not specify any file.
   11986 ac_need_defaults=:
   11987 while test $# != 0
   11988 do
   11989   case $1 in
   11990   --*=?*)
   11991     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11992     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11993     ac_shift=:
   11994     ;;
   11995   --*=)
   11996     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11997     ac_optarg=
   11998     ac_shift=:
   11999     ;;
   12000   *)
   12001     ac_option=$1
   12002     ac_optarg=$2
   12003     ac_shift=shift
   12004     ;;
   12005   esac
   12006 
   12007   case $ac_option in
   12008   # Handling of the options.
   12009   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12010     ac_cs_recheck=: ;;
   12011   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12012     printf "%s\n" "$ac_cs_version"; exit ;;
   12013   --config | --confi | --conf | --con | --co | --c )
   12014     printf "%s\n" "$ac_cs_config"; exit ;;
   12015   --debug | --debu | --deb | --de | --d | -d )
   12016     debug=: ;;
   12017   --file | --fil | --fi | --f )
   12018     $ac_shift
   12019     case $ac_optarg in
   12020     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12021     '') as_fn_error $? "missing file argument" ;;
   12022     esac
   12023     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12024     ac_need_defaults=false;;
   12025   --header | --heade | --head | --hea )
   12026     $ac_shift
   12027     case $ac_optarg in
   12028     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12029     esac
   12030     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12031     ac_need_defaults=false;;
   12032   --he | --h)
   12033     # Conflict between --help and --header
   12034     as_fn_error $? "ambiguous option: \`$1'
   12035 Try \`$0 --help' for more information.";;
   12036   --help | --hel | -h )
   12037     printf "%s\n" "$ac_cs_usage"; exit ;;
   12038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12039   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12040     ac_cs_silent=: ;;
   12041 
   12042   # This is an error.
   12043   -*) as_fn_error $? "unrecognized option: \`$1'
   12044 Try \`$0 --help' for more information." ;;
   12045 
   12046   *) as_fn_append ac_config_targets " $1"
   12047      ac_need_defaults=false ;;
   12048 
   12049   esac
   12050   shift
   12051 done
   12052 
   12053 ac_configure_extra_args=
   12054 
   12055 if $ac_cs_silent; then
   12056   exec 6>/dev/null
   12057   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12058 fi
   12059 
   12060 _ACEOF
   12061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12062 if \$ac_cs_recheck; then
   12063   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12064   shift
   12065   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12066   CONFIG_SHELL='$SHELL'
   12067   export CONFIG_SHELL
   12068   exec "\$@"
   12069 fi
   12070 
   12071 _ACEOF
   12072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12073 exec 5>>config.log
   12074 {
   12075   echo
   12076   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12077 ## Running $as_me. ##
   12078 _ASBOX
   12079   printf "%s\n" "$ac_log"
   12080 } >&5
   12081 
   12082 _ACEOF
   12083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12084 #
   12085 # INIT-COMMANDS
   12086 #
   12087 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12088 
   12089 _ACEOF
   12090 
   12091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12092 
   12093 # Handling of arguments.
   12094 for ac_config_target in $ac_config_targets
   12095 do
   12096   case $ac_config_target in
   12097     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12098     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12099     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12100     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12101 
   12102   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12103   esac
   12104 done
   12105 
   12106 
   12107 # If the user did not use the arguments to specify the items to instantiate,
   12108 # then the envvar interface is used.  Set only those that are not.
   12109 # We use the long form for the default assignment because of an extremely
   12110 # bizarre bug on SunOS 4.1.3.
   12111 if $ac_need_defaults; then
   12112   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12113   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12114   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12115 fi
   12116 
   12117 # Have a temporary directory for convenience.  Make it in the build tree
   12118 # simply because there is no reason against having it here, and in addition,
   12119 # creating and moving files from /tmp can sometimes cause problems.
   12120 # Hook for its removal unless debugging.
   12121 # Note that there is a small window in which the directory will not be cleaned:
   12122 # after its creation but before its name has been assigned to `$tmp'.
   12123 $debug ||
   12124 {
   12125   tmp= ac_tmp=
   12126   trap 'exit_status=$?
   12127   : "${ac_tmp:=$tmp}"
   12128   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12129 ' 0
   12130   trap 'as_fn_exit 1' 1 2 13 15
   12131 }
   12132 # Create a (secure) tmp directory for tmp files.
   12133 
   12134 {
   12135   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12136   test -d "$tmp"
   12137 }  ||
   12138 {
   12139   tmp=./conf$$-$RANDOM
   12140   (umask 077 && mkdir "$tmp")
   12141 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12142 ac_tmp=$tmp
   12143 
   12144 # Set up the scripts for CONFIG_FILES section.
   12145 # No need to generate them if there are no CONFIG_FILES.
   12146 # This happens for instance with `./config.status config.h'.
   12147 if test -n "$CONFIG_FILES"; then
   12148 
   12149 
   12150 ac_cr=`echo X | tr X '\015'`
   12151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12152 # But we know of no other shell where ac_cr would be empty at this
   12153 # point, so we can use a bashism as a fallback.
   12154 if test "x$ac_cr" = x; then
   12155   eval ac_cr=\$\'\\r\'
   12156 fi
   12157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12159   ac_cs_awk_cr='\\r'
   12160 else
   12161   ac_cs_awk_cr=$ac_cr
   12162 fi
   12163 
   12164 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12165 _ACEOF
   12166 
   12167 
   12168 {
   12169   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12170   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12171   echo "_ACEOF"
   12172 } >conf$$subs.sh ||
   12173   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12175 ac_delim='%!_!# '
   12176 for ac_last_try in false false false false false :; do
   12177   . ./conf$$subs.sh ||
   12178     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12179 
   12180   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12181   if test $ac_delim_n = $ac_delim_num; then
   12182     break
   12183   elif $ac_last_try; then
   12184     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12185   else
   12186     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12187   fi
   12188 done
   12189 rm -f conf$$subs.sh
   12190 
   12191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12192 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12193 _ACEOF
   12194 sed -n '
   12195 h
   12196 s/^/S["/; s/!.*/"]=/
   12197 p
   12198 g
   12199 s/^[^!]*!//
   12200 :repl
   12201 t repl
   12202 s/'"$ac_delim"'$//
   12203 t delim
   12204 :nl
   12205 h
   12206 s/\(.\{148\}\)..*/\1/
   12207 t more1
   12208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12209 p
   12210 n
   12211 b repl
   12212 :more1
   12213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12214 p
   12215 g
   12216 s/.\{148\}//
   12217 t nl
   12218 :delim
   12219 h
   12220 s/\(.\{148\}\)..*/\1/
   12221 t more2
   12222 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12223 p
   12224 b
   12225 :more2
   12226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12227 p
   12228 g
   12229 s/.\{148\}//
   12230 t delim
   12231 ' <conf$$subs.awk | sed '
   12232 /^[^""]/{
   12233   N
   12234   s/\n//
   12235 }
   12236 ' >>$CONFIG_STATUS || ac_write_fail=1
   12237 rm -f conf$$subs.awk
   12238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12239 _ACAWK
   12240 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12241   for (key in S) S_is_set[key] = 1
   12242   FS = ""
   12243 
   12244 }
   12245 {
   12246   line = $ 0
   12247   nfields = split(line, field, "@")
   12248   substed = 0
   12249   len = length(field[1])
   12250   for (i = 2; i < nfields; i++) {
   12251     key = field[i]
   12252     keylen = length(key)
   12253     if (S_is_set[key]) {
   12254       value = S[key]
   12255       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12256       len += length(value) + length(field[++i])
   12257       substed = 1
   12258     } else
   12259       len += 1 + keylen
   12260   }
   12261 
   12262   print line
   12263 }
   12264 
   12265 _ACAWK
   12266 _ACEOF
   12267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12269   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12270 else
   12271   cat
   12272 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12273   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12274 _ACEOF
   12275 
   12276 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12277 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12278 # trailing colons and then remove the whole line if VPATH becomes empty
   12279 # (actually we leave an empty line to preserve line numbers).
   12280 if test "x$srcdir" = x.; then
   12281   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12282 h
   12283 s///
   12284 s/^/:/
   12285 s/[	 ]*$/:/
   12286 s/:\$(srcdir):/:/g
   12287 s/:\${srcdir}:/:/g
   12288 s/:@srcdir@:/:/g
   12289 s/^:*//
   12290 s/:*$//
   12291 x
   12292 s/\(=[	 ]*\).*/\1/
   12293 G
   12294 s/\n//
   12295 s/^[^=]*=[	 ]*$//
   12296 }'
   12297 fi
   12298 
   12299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12300 fi # test -n "$CONFIG_FILES"
   12301 
   12302 # Set up the scripts for CONFIG_HEADERS section.
   12303 # No need to generate them if there are no CONFIG_HEADERS.
   12304 # This happens for instance with `./config.status Makefile'.
   12305 if test -n "$CONFIG_HEADERS"; then
   12306 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12307 BEGIN {
   12308 _ACEOF
   12309 
   12310 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12311 # here-document in config.status, that substitutes the proper values into
   12312 # config.h.in to produce config.h.
   12313 
   12314 # Create a delimiter string that does not exist in confdefs.h, to ease
   12315 # handling of long lines.
   12316 ac_delim='%!_!# '
   12317 for ac_last_try in false false :; do
   12318   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12319   if test -z "$ac_tt"; then
   12320     break
   12321   elif $ac_last_try; then
   12322     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12323   else
   12324     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12325   fi
   12326 done
   12327 
   12328 # For the awk script, D is an array of macro values keyed by name,
   12329 # likewise P contains macro parameters if any.  Preserve backslash
   12330 # newline sequences.
   12331 
   12332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12333 sed -n '
   12334 s/.\{148\}/&'"$ac_delim"'/g
   12335 t rset
   12336 :rset
   12337 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12338 t def
   12339 d
   12340 :def
   12341 s/\\$//
   12342 t bsnl
   12343 s/["\\]/\\&/g
   12344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12345 D["\1"]=" \3"/p
   12346 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12347 d
   12348 :bsnl
   12349 s/["\\]/\\&/g
   12350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12351 D["\1"]=" \3\\\\\\n"\\/p
   12352 t cont
   12353 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12354 t cont
   12355 d
   12356 :cont
   12357 n
   12358 s/.\{148\}/&'"$ac_delim"'/g
   12359 t clear
   12360 :clear
   12361 s/\\$//
   12362 t bsnlc
   12363 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12364 d
   12365 :bsnlc
   12366 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12367 b cont
   12368 ' <confdefs.h | sed '
   12369 s/'"$ac_delim"'/"\\\
   12370 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12371 
   12372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12373   for (key in D) D_is_set[key] = 1
   12374   FS = ""
   12375 }
   12376 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12377   line = \$ 0
   12378   split(line, arg, " ")
   12379   if (arg[1] == "#") {
   12380     defundef = arg[2]
   12381     mac1 = arg[3]
   12382   } else {
   12383     defundef = substr(arg[1], 2)
   12384     mac1 = arg[2]
   12385   }
   12386   split(mac1, mac2, "(") #)
   12387   macro = mac2[1]
   12388   prefix = substr(line, 1, index(line, defundef) - 1)
   12389   if (D_is_set[macro]) {
   12390     # Preserve the white space surrounding the "#".
   12391     print prefix "define", macro P[macro] D[macro]
   12392     next
   12393   } else {
   12394     # Replace #undef with comments.  This is necessary, for example,
   12395     # in the case of _POSIX_SOURCE, which is predefined and required
   12396     # on some systems where configure will not decide to define it.
   12397     if (defundef == "undef") {
   12398       print "/*", prefix defundef, macro, "*/"
   12399       next
   12400     }
   12401   }
   12402 }
   12403 { print }
   12404 _ACAWK
   12405 _ACEOF
   12406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12407   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12408 fi # test -n "$CONFIG_HEADERS"
   12409 
   12410 
   12411 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12412 shift
   12413 for ac_tag
   12414 do
   12415   case $ac_tag in
   12416   :[FHLC]) ac_mode=$ac_tag; continue;;
   12417   esac
   12418   case $ac_mode$ac_tag in
   12419   :[FHL]*:*);;
   12420   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12421   :[FH]-) ac_tag=-:-;;
   12422   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12423   esac
   12424   ac_save_IFS=$IFS
   12425   IFS=:
   12426   set x $ac_tag
   12427   IFS=$ac_save_IFS
   12428   shift
   12429   ac_file=$1
   12430   shift
   12431 
   12432   case $ac_mode in
   12433   :L) ac_source=$1;;
   12434   :[FH])
   12435     ac_file_inputs=
   12436     for ac_f
   12437     do
   12438       case $ac_f in
   12439       -) ac_f="$ac_tmp/stdin";;
   12440       *) # Look for the file first in the build tree, then in the source tree
   12441 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12442 	 # because $ac_f cannot contain `:'.
   12443 	 test -f "$ac_f" ||
   12444 	   case $ac_f in
   12445 	   [\\/$]*) false;;
   12446 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12447 	   esac ||
   12448 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12449       esac
   12450       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12451       as_fn_append ac_file_inputs " '$ac_f'"
   12452     done
   12453 
   12454     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12455     # use $as_me), people would be surprised to read:
   12456     #    /* config.h.  Generated by config.status.  */
   12457     configure_input='Generated from '`
   12458 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12459 	`' by configure.'
   12460     if test x"$ac_file" != x-; then
   12461       configure_input="$ac_file.  $configure_input"
   12462       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12463 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12464     fi
   12465     # Neutralize special characters interpreted by sed in replacement strings.
   12466     case $configure_input in #(
   12467     *\&* | *\|* | *\\* )
   12468        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12469        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12470     *) ac_sed_conf_input=$configure_input;;
   12471     esac
   12472 
   12473     case $ac_tag in
   12474     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12475       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12476     esac
   12477     ;;
   12478   esac
   12479 
   12480   ac_dir=`$as_dirname -- "$ac_file" ||
   12481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12482 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12483 	 X"$ac_file" : 'X\(//\)$' \| \
   12484 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12485 printf "%s\n" X"$ac_file" |
   12486     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12487 	    s//\1/
   12488 	    q
   12489 	  }
   12490 	  /^X\(\/\/\)[^/].*/{
   12491 	    s//\1/
   12492 	    q
   12493 	  }
   12494 	  /^X\(\/\/\)$/{
   12495 	    s//\1/
   12496 	    q
   12497 	  }
   12498 	  /^X\(\/\).*/{
   12499 	    s//\1/
   12500 	    q
   12501 	  }
   12502 	  s/.*/./; q'`
   12503   as_dir="$ac_dir"; as_fn_mkdir_p
   12504   ac_builddir=.
   12505 
   12506 case "$ac_dir" in
   12507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12508 *)
   12509   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12510   # A ".." for each directory in $ac_dir_suffix.
   12511   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12512   case $ac_top_builddir_sub in
   12513   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12514   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12515   esac ;;
   12516 esac
   12517 ac_abs_top_builddir=$ac_pwd
   12518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12519 # for backward compatibility:
   12520 ac_top_builddir=$ac_top_build_prefix
   12521 
   12522 case $srcdir in
   12523   .)  # We are building in place.
   12524     ac_srcdir=.
   12525     ac_top_srcdir=$ac_top_builddir_sub
   12526     ac_abs_top_srcdir=$ac_pwd ;;
   12527   [\\/]* | ?:[\\/]* )  # Absolute name.
   12528     ac_srcdir=$srcdir$ac_dir_suffix;
   12529     ac_top_srcdir=$srcdir
   12530     ac_abs_top_srcdir=$srcdir ;;
   12531   *) # Relative name.
   12532     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12533     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12534     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12535 esac
   12536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12537 
   12538 
   12539   case $ac_mode in
   12540   :F)
   12541   #
   12542   # CONFIG_FILE
   12543   #
   12544 
   12545   case $INSTALL in
   12546   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12547   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12548   esac
   12549   ac_MKDIR_P=$MKDIR_P
   12550   case $MKDIR_P in
   12551   [\\/$]* | ?:[\\/]* ) ;;
   12552   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12553   esac
   12554 _ACEOF
   12555 
   12556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12557 # If the template does not know about datarootdir, expand it.
   12558 # FIXME: This hack should be removed a few years after 2.60.
   12559 ac_datarootdir_hack=; ac_datarootdir_seen=
   12560 ac_sed_dataroot='
   12561 /datarootdir/ {
   12562   p
   12563   q
   12564 }
   12565 /@datadir@/p
   12566 /@docdir@/p
   12567 /@infodir@/p
   12568 /@localedir@/p
   12569 /@mandir@/p'
   12570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12571 *datarootdir*) ac_datarootdir_seen=yes;;
   12572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12574 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12575 _ACEOF
   12576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12577   ac_datarootdir_hack='
   12578   s&@datadir@&$datadir&g
   12579   s&@docdir@&$docdir&g
   12580   s&@infodir@&$infodir&g
   12581   s&@localedir@&$localedir&g
   12582   s&@mandir@&$mandir&g
   12583   s&\\\${datarootdir}&$datarootdir&g' ;;
   12584 esac
   12585 _ACEOF
   12586 
   12587 # Neutralize VPATH when `$srcdir' = `.'.
   12588 # Shell code in configure.ac might set extrasub.
   12589 # FIXME: do we really want to maintain this feature?
   12590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12591 ac_sed_extra="$ac_vpsub
   12592 $extrasub
   12593 _ACEOF
   12594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12595 :t
   12596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12597 s|@configure_input@|$ac_sed_conf_input|;t t
   12598 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12600 s&@srcdir@&$ac_srcdir&;t t
   12601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12602 s&@top_srcdir@&$ac_top_srcdir&;t t
   12603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12604 s&@builddir@&$ac_builddir&;t t
   12605 s&@abs_builddir@&$ac_abs_builddir&;t t
   12606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12607 s&@INSTALL@&$ac_INSTALL&;t t
   12608 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12609 $ac_datarootdir_hack
   12610 "
   12611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12612   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12613 
   12614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12615   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12616   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12617       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12619 which seems to be undefined.  Please make sure it is defined" >&5
   12620 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12621 which seems to be undefined.  Please make sure it is defined" >&2;}
   12622 
   12623   rm -f "$ac_tmp/stdin"
   12624   case $ac_file in
   12625   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12626   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12627   esac \
   12628   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12629  ;;
   12630   :H)
   12631   #
   12632   # CONFIG_HEADER
   12633   #
   12634   if test x"$ac_file" != x-; then
   12635     {
   12636       printf "%s\n" "/* $configure_input  */" >&1 \
   12637       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12638     } >"$ac_tmp/config.h" \
   12639       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12640     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12641       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12642 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12643     else
   12644       rm -f "$ac_file"
   12645       mv "$ac_tmp/config.h" "$ac_file" \
   12646 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12647     fi
   12648   else
   12649     printf "%s\n" "/* $configure_input  */" >&1 \
   12650       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12651       || as_fn_error $? "could not create -" "$LINENO" 5
   12652   fi
   12653 # Compute "$ac_file"'s index in $config_headers.
   12654 _am_arg="$ac_file"
   12655 _am_stamp_count=1
   12656 for _am_header in $config_headers :; do
   12657   case $_am_header in
   12658     $_am_arg | $_am_arg:* )
   12659       break ;;
   12660     * )
   12661       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12662   esac
   12663 done
   12664 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12665 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12666 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12667 	 X"$_am_arg" : 'X\(//\)$' \| \
   12668 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12669 printf "%s\n" X"$_am_arg" |
   12670     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12671 	    s//\1/
   12672 	    q
   12673 	  }
   12674 	  /^X\(\/\/\)[^/].*/{
   12675 	    s//\1/
   12676 	    q
   12677 	  }
   12678 	  /^X\(\/\/\)$/{
   12679 	    s//\1/
   12680 	    q
   12681 	  }
   12682 	  /^X\(\/\).*/{
   12683 	    s//\1/
   12684 	    q
   12685 	  }
   12686 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12687  ;;
   12688 
   12689   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12690 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12691  ;;
   12692   esac
   12693 
   12694 
   12695   case $ac_file$ac_mode in
   12696     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12697   # Older Autoconf quotes --file arguments for eval, but not when files
   12698   # are listed without --file.  Let's play safe and only enable the eval
   12699   # if we detect the quoting.
   12700   # TODO: see whether this extra hack can be removed once we start
   12701   # requiring Autoconf 2.70 or later.
   12702   case $CONFIG_FILES in #(
   12703   *\'*) :
   12704     eval set x "$CONFIG_FILES" ;; #(
   12705   *) :
   12706     set x $CONFIG_FILES ;; #(
   12707   *) :
   12708      ;;
   12709 esac
   12710   shift
   12711   # Used to flag and report bootstrapping failures.
   12712   am_rc=0
   12713   for am_mf
   12714   do
   12715     # Strip MF so we end up with the name of the file.
   12716     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12717     # Check whether this is an Automake generated Makefile which includes
   12718     # dependency-tracking related rules and includes.
   12719     # Grep'ing the whole file directly is not great: AIX grep has a line
   12720     # limit of 2048, but all sed's we know have understand at least 4000.
   12721     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12722       || continue
   12723     am_dirpart=`$as_dirname -- "$am_mf" ||
   12724 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12725 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12726 	 X"$am_mf" : 'X\(//\)$' \| \
   12727 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12728 printf "%s\n" X"$am_mf" |
   12729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12730 	    s//\1/
   12731 	    q
   12732 	  }
   12733 	  /^X\(\/\/\)[^/].*/{
   12734 	    s//\1/
   12735 	    q
   12736 	  }
   12737 	  /^X\(\/\/\)$/{
   12738 	    s//\1/
   12739 	    q
   12740 	  }
   12741 	  /^X\(\/\).*/{
   12742 	    s//\1/
   12743 	    q
   12744 	  }
   12745 	  s/.*/./; q'`
   12746     am_filepart=`$as_basename -- "$am_mf" ||
   12747 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12748 	 X"$am_mf" : 'X\(//\)$' \| \
   12749 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12750 printf "%s\n" X/"$am_mf" |
   12751     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12752 	    s//\1/
   12753 	    q
   12754 	  }
   12755 	  /^X\/\(\/\/\)$/{
   12756 	    s//\1/
   12757 	    q
   12758 	  }
   12759 	  /^X\/\(\/\).*/{
   12760 	    s//\1/
   12761 	    q
   12762 	  }
   12763 	  s/.*/./; q'`
   12764     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12765       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12766         | $MAKE -f - am--depfiles" >&5
   12767    (cd "$am_dirpart" \
   12768       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12769         | $MAKE -f - am--depfiles) >&5 2>&5
   12770    ac_status=$?
   12771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12772    (exit $ac_status); } || am_rc=$?
   12773   done
   12774   if test $am_rc -ne 0; then
   12775     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12776 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12777 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12778     for automatic dependency tracking.  If GNU make was not used, consider
   12779     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12780     necessary).  You can also try re-running configure with the
   12781     '--disable-dependency-tracking' option to at least be able to build
   12782     the package (albeit without support for automatic dependency tracking).
   12783 See \`config.log' for more details" "$LINENO" 5; }
   12784   fi
   12785   { am_dirpart=; unset am_dirpart;}
   12786   { am_filepart=; unset am_filepart;}
   12787   { am_mf=; unset am_mf;}
   12788   { am_rc=; unset am_rc;}
   12789   rm -f conftest-deps.mk
   12790 }
   12791  ;;
   12792 
   12793   esac
   12794 done # for ac_tag
   12795 
   12796 
   12797 as_fn_exit 0
   12798 _ACEOF
   12799 ac_clean_files=$ac_clean_files_save
   12800 
   12801 test $ac_write_fail = 0 ||
   12802   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12803 
   12804 
   12805 # configure is writing to config.log, and then calls config.status.
   12806 # config.status does its own redirection, appending to config.log.
   12807 # Unfortunately, on DOS this fails, as config.log is still kept open
   12808 # by configure, so config.status won't be able to write to it; its
   12809 # output is simply discarded.  So we exec the FD to /dev/null,
   12810 # effectively closing config.log, so it can be properly (re)opened and
   12811 # appended to by config.status.  When coming back to configure, we
   12812 # need to make the FD available again.
   12813 if test "$no_create" != yes; then
   12814   ac_cs_success=:
   12815   ac_config_status_args=
   12816   test "$silent" = yes &&
   12817     ac_config_status_args="$ac_config_status_args --quiet"
   12818   exec 5>/dev/null
   12819   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12820   exec 5>>config.log
   12821   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12822   # would make configure fail if this is the last instruction.
   12823   $ac_cs_success || as_fn_exit 1
   12824 fi
   12825 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12827 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12828 fi
   12829 
   12830 
   12831