Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xcalc 1.1.2.
      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.2'
    616 PACKAGE_STRING='xcalc 1.1.2'
    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.2 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.2:";;
   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.2
   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.2, 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.2'
   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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4449 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4450 if test ${ac_cv_c_undeclared_builtin_options+y}
   4451 then :
   4452   printf %s "(cached) " >&6
   4453 else $as_nop
   4454   ac_save_CFLAGS=$CFLAGS
   4455    ac_cv_c_undeclared_builtin_options='cannot detect'
   4456    for ac_arg in '' -fno-builtin; do
   4457      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4458      # This test program should *not* compile successfully.
   4459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4460 /* end confdefs.h.  */
   4461 
   4462 int
   4463 main (void)
   4464 {
   4465 (void) strchr;
   4466   ;
   4467   return 0;
   4468 }
   4469 _ACEOF
   4470 if ac_fn_c_try_compile "$LINENO"
   4471 then :
   4472 
   4473 else $as_nop
   4474   # This test program should compile successfully.
   4475         # No library function is consistently available on
   4476         # freestanding implementations, so test against a dummy
   4477         # declaration.  Include always-available headers on the
   4478         # off chance that they somehow elicit warnings.
   4479         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4480 /* end confdefs.h.  */
   4481 #include <float.h>
   4482 #include <limits.h>
   4483 #include <stdarg.h>
   4484 #include <stddef.h>
   4485 extern void ac_decl (int, char *);
   4486 
   4487 int
   4488 main (void)
   4489 {
   4490 (void) ac_decl (0, (char *) 0);
   4491   (void) ac_decl;
   4492 
   4493   ;
   4494   return 0;
   4495 }
   4496 _ACEOF
   4497 if ac_fn_c_try_compile "$LINENO"
   4498 then :
   4499   if test x"$ac_arg" = x
   4500 then :
   4501   ac_cv_c_undeclared_builtin_options='none needed'
   4502 else $as_nop
   4503   ac_cv_c_undeclared_builtin_options=$ac_arg
   4504 fi
   4505           break
   4506 fi
   4507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4508 fi
   4509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4510     done
   4511     CFLAGS=$ac_save_CFLAGS
   4512 
   4513 fi
   4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4515 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4516   case $ac_cv_c_undeclared_builtin_options in #(
   4517   'cannot detect') :
   4518     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4519 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4520 as_fn_error $? "cannot make $CC report undeclared builtins
   4521 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4522   'none needed') :
   4523     ac_c_undeclared_builtin_options='' ;; #(
   4524   *) :
   4525     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4526 esac
   4527 
   4528 ac_header= ac_cache=
   4529 for ac_item in $ac_header_c_list
   4530 do
   4531   if test $ac_cache; then
   4532     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4533     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4534       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4535     fi
   4536     ac_header= ac_cache=
   4537   elif test $ac_header; then
   4538     ac_cache=$ac_item
   4539   else
   4540     ac_header=$ac_item
   4541   fi
   4542 done
   4543 
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4552 then :
   4553 
   4554 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4555 
   4556 fi
   4557 
   4558 
   4559 
   4560 
   4561 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4562 if test "x$ac_cv_have_decl___clang__" = xyes
   4563 then :
   4564   CLANGCC="yes"
   4565 else $as_nop
   4566   CLANGCC="no"
   4567 fi
   4568 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4569 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4570 then :
   4571   INTELCC="yes"
   4572 else $as_nop
   4573   INTELCC="no"
   4574 fi
   4575 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4576 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4577 then :
   4578   SUNCC="yes"
   4579 else $as_nop
   4580   SUNCC="no"
   4581 fi
   4582 
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 
   4589 
   4590 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4591 	if test -n "$ac_tool_prefix"; then
   4592   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4593 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4595 printf %s "checking for $ac_word... " >&6; }
   4596 if test ${ac_cv_path_PKG_CONFIG+y}
   4597 then :
   4598   printf %s "(cached) " >&6
   4599 else $as_nop
   4600   case $PKG_CONFIG in
   4601   [\\/]* | ?:[\\/]*)
   4602   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4603   ;;
   4604   *)
   4605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4606 for as_dir in $PATH
   4607 do
   4608   IFS=$as_save_IFS
   4609   case $as_dir in #(((
   4610     '') as_dir=./ ;;
   4611     */) ;;
   4612     *) as_dir=$as_dir/ ;;
   4613   esac
   4614     for ac_exec_ext in '' $ac_executable_extensions; do
   4615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4616     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4618     break 2
   4619   fi
   4620 done
   4621   done
   4622 IFS=$as_save_IFS
   4623 
   4624   ;;
   4625 esac
   4626 fi
   4627 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4628 if test -n "$PKG_CONFIG"; then
   4629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4630 printf "%s\n" "$PKG_CONFIG" >&6; }
   4631 else
   4632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4633 printf "%s\n" "no" >&6; }
   4634 fi
   4635 
   4636 
   4637 fi
   4638 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4639   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4640   # Extract the first word of "pkg-config", so it can be a program name with args.
   4641 set dummy pkg-config; ac_word=$2
   4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4643 printf %s "checking for $ac_word... " >&6; }
   4644 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4645 then :
   4646   printf %s "(cached) " >&6
   4647 else $as_nop
   4648   case $ac_pt_PKG_CONFIG in
   4649   [\\/]* | ?:[\\/]*)
   4650   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4651   ;;
   4652   *)
   4653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4654 for as_dir in $PATH
   4655 do
   4656   IFS=$as_save_IFS
   4657   case $as_dir in #(((
   4658     '') as_dir=./ ;;
   4659     */) ;;
   4660     *) as_dir=$as_dir/ ;;
   4661   esac
   4662     for ac_exec_ext in '' $ac_executable_extensions; do
   4663   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4664     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4665     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4666     break 2
   4667   fi
   4668 done
   4669   done
   4670 IFS=$as_save_IFS
   4671 
   4672   ;;
   4673 esac
   4674 fi
   4675 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4676 if test -n "$ac_pt_PKG_CONFIG"; then
   4677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4678 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4679 else
   4680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4681 printf "%s\n" "no" >&6; }
   4682 fi
   4683 
   4684   if test "x$ac_pt_PKG_CONFIG" = x; then
   4685     PKG_CONFIG=""
   4686   else
   4687     case $cross_compiling:$ac_tool_warned in
   4688 yes:)
   4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4690 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4691 ac_tool_warned=yes ;;
   4692 esac
   4693     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4694   fi
   4695 else
   4696   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4697 fi
   4698 
   4699 fi
   4700 if test -n "$PKG_CONFIG"; then
   4701 	_pkg_min_version=0.9.0
   4702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4703 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4704 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4706 printf "%s\n" "yes" >&6; }
   4707 	else
   4708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4709 printf "%s\n" "no" >&6; }
   4710 		PKG_CONFIG=""
   4711 	fi
   4712 fi
   4713 
   4714 
   4715   # Make sure we can run config.sub.
   4716 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4717   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4718 
   4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4720 printf %s "checking build system type... " >&6; }
   4721 if test ${ac_cv_build+y}
   4722 then :
   4723   printf %s "(cached) " >&6
   4724 else $as_nop
   4725   ac_build_alias=$build_alias
   4726 test "x$ac_build_alias" = x &&
   4727   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4728 test "x$ac_build_alias" = x &&
   4729   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4730 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4731   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4732 
   4733 fi
   4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4735 printf "%s\n" "$ac_cv_build" >&6; }
   4736 case $ac_cv_build in
   4737 *-*-*) ;;
   4738 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4739 esac
   4740 build=$ac_cv_build
   4741 ac_save_IFS=$IFS; IFS='-'
   4742 set x $ac_cv_build
   4743 shift
   4744 build_cpu=$1
   4745 build_vendor=$2
   4746 shift; shift
   4747 # Remember, the first character of IFS is used to create $*,
   4748 # except with old shells:
   4749 build_os=$*
   4750 IFS=$ac_save_IFS
   4751 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4752 
   4753 
   4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4755 printf %s "checking host system type... " >&6; }
   4756 if test ${ac_cv_host+y}
   4757 then :
   4758   printf %s "(cached) " >&6
   4759 else $as_nop
   4760   if test "x$host_alias" = x; then
   4761   ac_cv_host=$ac_cv_build
   4762 else
   4763   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4764     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4765 fi
   4766 
   4767 fi
   4768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4769 printf "%s\n" "$ac_cv_host" >&6; }
   4770 case $ac_cv_host in
   4771 *-*-*) ;;
   4772 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4773 esac
   4774 host=$ac_cv_host
   4775 ac_save_IFS=$IFS; IFS='-'
   4776 set x $ac_cv_host
   4777 shift
   4778 host_cpu=$1
   4779 host_vendor=$2
   4780 shift; shift
   4781 # Remember, the first character of IFS is used to create $*,
   4782 # except with old shells:
   4783 host_os=$*
   4784 IFS=$ac_save_IFS
   4785 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4786 
   4787 
   4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4789 printf %s "checking for a sed that does not truncate output... " >&6; }
   4790 if test ${ac_cv_path_SED+y}
   4791 then :
   4792   printf %s "(cached) " >&6
   4793 else $as_nop
   4794             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4795      for ac_i in 1 2 3 4 5 6 7; do
   4796        ac_script="$ac_script$as_nl$ac_script"
   4797      done
   4798      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4799      { ac_script=; unset ac_script;}
   4800      if test -z "$SED"; then
   4801   ac_path_SED_found=false
   4802   # Loop through the user's path and test for each of PROGNAME-LIST
   4803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4804 for as_dir in $PATH
   4805 do
   4806   IFS=$as_save_IFS
   4807   case $as_dir in #(((
   4808     '') as_dir=./ ;;
   4809     */) ;;
   4810     *) as_dir=$as_dir/ ;;
   4811   esac
   4812     for ac_prog in sed gsed
   4813    do
   4814     for ac_exec_ext in '' $ac_executable_extensions; do
   4815       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4816       as_fn_executable_p "$ac_path_SED" || continue
   4817 # Check for GNU ac_path_SED and select it if it is found.
   4818   # Check for GNU $ac_path_SED
   4819 case `"$ac_path_SED" --version 2>&1` in
   4820 *GNU*)
   4821   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4822 *)
   4823   ac_count=0
   4824   printf %s 0123456789 >"conftest.in"
   4825   while :
   4826   do
   4827     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4828     mv "conftest.tmp" "conftest.in"
   4829     cp "conftest.in" "conftest.nl"
   4830     printf "%s\n" '' >> "conftest.nl"
   4831     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4832     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4833     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4834     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4835       # Best one so far, save it but keep looking for a better one
   4836       ac_cv_path_SED="$ac_path_SED"
   4837       ac_path_SED_max=$ac_count
   4838     fi
   4839     # 10*(2^10) chars as input seems more than enough
   4840     test $ac_count -gt 10 && break
   4841   done
   4842   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4843 esac
   4844 
   4845       $ac_path_SED_found && break 3
   4846     done
   4847   done
   4848   done
   4849 IFS=$as_save_IFS
   4850   if test -z "$ac_cv_path_SED"; then
   4851     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4852   fi
   4853 else
   4854   ac_cv_path_SED=$SED
   4855 fi
   4856 
   4857 fi
   4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4859 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4860  SED="$ac_cv_path_SED"
   4861   rm -f conftest.sed
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 # Check whether --enable-selective-werror was given.
   4869 if test ${enable_selective_werror+y}
   4870 then :
   4871   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4872 else $as_nop
   4873   SELECTIVE_WERROR=yes
   4874 fi
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4881 if test "x$SUNCC" = "xyes"; then
   4882     BASE_CFLAGS="-v"
   4883 else
   4884     BASE_CFLAGS=""
   4885 fi
   4886 
   4887 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 xorg_testset_save_CFLAGS="$CFLAGS"
   4902 
   4903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4905 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4906 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4907 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4908 then :
   4909   printf %s "(cached) " >&6
   4910 else $as_nop
   4911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4912 /* end confdefs.h.  */
   4913 int i;
   4914 _ACEOF
   4915 if ac_fn_c_try_compile "$LINENO"
   4916 then :
   4917   xorg_cv_cc_flag_unknown_warning_option=yes
   4918 else $as_nop
   4919   xorg_cv_cc_flag_unknown_warning_option=no
   4920 fi
   4921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4922 fi
   4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4924 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4926 	CFLAGS="$xorg_testset_save_CFLAGS"
   4927 fi
   4928 
   4929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4932 	fi
   4933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4935 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4936 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4937 then :
   4938   printf %s "(cached) " >&6
   4939 else $as_nop
   4940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4941 /* end confdefs.h.  */
   4942 int i;
   4943 _ACEOF
   4944 if ac_fn_c_try_compile "$LINENO"
   4945 then :
   4946   xorg_cv_cc_flag_unused_command_line_argument=yes
   4947 else $as_nop
   4948   xorg_cv_cc_flag_unused_command_line_argument=no
   4949 fi
   4950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4951 fi
   4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4953 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4955 	CFLAGS="$xorg_testset_save_CFLAGS"
   4956 fi
   4957 
   4958 found="no"
   4959 
   4960 	if test $found = "no" ; then
   4961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4963 		fi
   4964 
   4965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4967 		fi
   4968 
   4969 		CFLAGS="$CFLAGS -Wall"
   4970 
   4971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4972 printf %s "checking if $CC supports -Wall... " >&6; }
   4973 		cacheid=xorg_cv_cc_flag__Wall
   4974 		if eval test \${$cacheid+y}
   4975 then :
   4976   printf %s "(cached) " >&6
   4977 else $as_nop
   4978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4979 /* end confdefs.h.  */
   4980 int i;
   4981 int
   4982 main (void)
   4983 {
   4984 
   4985   ;
   4986   return 0;
   4987 }
   4988 _ACEOF
   4989 if ac_fn_c_try_link "$LINENO"
   4990 then :
   4991   eval $cacheid=yes
   4992 else $as_nop
   4993   eval $cacheid=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4996     conftest$ac_exeext conftest.$ac_ext
   4997 fi
   4998 
   4999 
   5000 		CFLAGS="$xorg_testset_save_CFLAGS"
   5001 
   5002 		eval supported=\$$cacheid
   5003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5004 printf "%s\n" "$supported" >&6; }
   5005 		if test "$supported" = "yes" ; then
   5006 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5007 			found="yes"
   5008 		fi
   5009 	fi
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 xorg_testset_save_CFLAGS="$CFLAGS"
   5026 
   5027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5032 then :
   5033   printf %s "(cached) " >&6
   5034 else $as_nop
   5035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5036 /* end confdefs.h.  */
   5037 int i;
   5038 _ACEOF
   5039 if ac_fn_c_try_compile "$LINENO"
   5040 then :
   5041   xorg_cv_cc_flag_unknown_warning_option=yes
   5042 else $as_nop
   5043   xorg_cv_cc_flag_unknown_warning_option=no
   5044 fi
   5045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5046 fi
   5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5048 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5050 	CFLAGS="$xorg_testset_save_CFLAGS"
   5051 fi
   5052 
   5053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 	fi
   5057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5059 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5060 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5061 then :
   5062   printf %s "(cached) " >&6
   5063 else $as_nop
   5064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5065 /* end confdefs.h.  */
   5066 int i;
   5067 _ACEOF
   5068 if ac_fn_c_try_compile "$LINENO"
   5069 then :
   5070   xorg_cv_cc_flag_unused_command_line_argument=yes
   5071 else $as_nop
   5072   xorg_cv_cc_flag_unused_command_line_argument=no
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5075 fi
   5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5077 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5079 	CFLAGS="$xorg_testset_save_CFLAGS"
   5080 fi
   5081 
   5082 found="no"
   5083 
   5084 	if test $found = "no" ; then
   5085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5087 		fi
   5088 
   5089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5091 		fi
   5092 
   5093 		CFLAGS="$CFLAGS -Wpointer-arith"
   5094 
   5095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5096 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5097 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5098 		if eval test \${$cacheid+y}
   5099 then :
   5100   printf %s "(cached) " >&6
   5101 else $as_nop
   5102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5103 /* end confdefs.h.  */
   5104 int i;
   5105 int
   5106 main (void)
   5107 {
   5108 
   5109   ;
   5110   return 0;
   5111 }
   5112 _ACEOF
   5113 if ac_fn_c_try_link "$LINENO"
   5114 then :
   5115   eval $cacheid=yes
   5116 else $as_nop
   5117   eval $cacheid=no
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5120     conftest$ac_exeext conftest.$ac_ext
   5121 fi
   5122 
   5123 
   5124 		CFLAGS="$xorg_testset_save_CFLAGS"
   5125 
   5126 		eval supported=\$$cacheid
   5127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5128 printf "%s\n" "$supported" >&6; }
   5129 		if test "$supported" = "yes" ; then
   5130 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5131 			found="yes"
   5132 		fi
   5133 	fi
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 xorg_testset_save_CFLAGS="$CFLAGS"
   5150 
   5151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5156 then :
   5157   printf %s "(cached) " >&6
   5158 else $as_nop
   5159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5160 /* end confdefs.h.  */
   5161 int i;
   5162 _ACEOF
   5163 if ac_fn_c_try_compile "$LINENO"
   5164 then :
   5165   xorg_cv_cc_flag_unknown_warning_option=yes
   5166 else $as_nop
   5167   xorg_cv_cc_flag_unknown_warning_option=no
   5168 fi
   5169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5170 fi
   5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5172 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5174 	CFLAGS="$xorg_testset_save_CFLAGS"
   5175 fi
   5176 
   5177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 	fi
   5181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5185 then :
   5186   printf %s "(cached) " >&6
   5187 else $as_nop
   5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 int i;
   5191 _ACEOF
   5192 if ac_fn_c_try_compile "$LINENO"
   5193 then :
   5194   xorg_cv_cc_flag_unused_command_line_argument=yes
   5195 else $as_nop
   5196   xorg_cv_cc_flag_unused_command_line_argument=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5199 fi
   5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5203 	CFLAGS="$xorg_testset_save_CFLAGS"
   5204 fi
   5205 
   5206 found="no"
   5207 
   5208 	if test $found = "no" ; then
   5209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5211 		fi
   5212 
   5213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5215 		fi
   5216 
   5217 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5218 
   5219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5220 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5221 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5222 		if eval test \${$cacheid+y}
   5223 then :
   5224   printf %s "(cached) " >&6
   5225 else $as_nop
   5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5227 /* end confdefs.h.  */
   5228 int i;
   5229 int
   5230 main (void)
   5231 {
   5232 
   5233   ;
   5234   return 0;
   5235 }
   5236 _ACEOF
   5237 if ac_fn_c_try_link "$LINENO"
   5238 then :
   5239   eval $cacheid=yes
   5240 else $as_nop
   5241   eval $cacheid=no
   5242 fi
   5243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5244     conftest$ac_exeext conftest.$ac_ext
   5245 fi
   5246 
   5247 
   5248 		CFLAGS="$xorg_testset_save_CFLAGS"
   5249 
   5250 		eval supported=\$$cacheid
   5251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5252 printf "%s\n" "$supported" >&6; }
   5253 		if test "$supported" = "yes" ; then
   5254 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5255 			found="yes"
   5256 		fi
   5257 	fi
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 xorg_testset_save_CFLAGS="$CFLAGS"
   5274 
   5275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5280 then :
   5281   printf %s "(cached) " >&6
   5282 else $as_nop
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 int i;
   5286 _ACEOF
   5287 if ac_fn_c_try_compile "$LINENO"
   5288 then :
   5289   xorg_cv_cc_flag_unknown_warning_option=yes
   5290 else $as_nop
   5291   xorg_cv_cc_flag_unknown_warning_option=no
   5292 fi
   5293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5294 fi
   5295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5298 	CFLAGS="$xorg_testset_save_CFLAGS"
   5299 fi
   5300 
   5301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5304 	fi
   5305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5309 then :
   5310   printf %s "(cached) " >&6
   5311 else $as_nop
   5312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5313 /* end confdefs.h.  */
   5314 int i;
   5315 _ACEOF
   5316 if ac_fn_c_try_compile "$LINENO"
   5317 then :
   5318   xorg_cv_cc_flag_unused_command_line_argument=yes
   5319 else $as_nop
   5320   xorg_cv_cc_flag_unused_command_line_argument=no
   5321 fi
   5322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5323 fi
   5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5327 	CFLAGS="$xorg_testset_save_CFLAGS"
   5328 fi
   5329 
   5330 found="no"
   5331 
   5332 	if test $found = "no" ; then
   5333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5335 		fi
   5336 
   5337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5339 		fi
   5340 
   5341 		CFLAGS="$CFLAGS -Wformat=2"
   5342 
   5343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5344 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5345 		cacheid=xorg_cv_cc_flag__Wformat_2
   5346 		if eval test \${$cacheid+y}
   5347 then :
   5348   printf %s "(cached) " >&6
   5349 else $as_nop
   5350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5351 /* end confdefs.h.  */
   5352 int i;
   5353 int
   5354 main (void)
   5355 {
   5356 
   5357   ;
   5358   return 0;
   5359 }
   5360 _ACEOF
   5361 if ac_fn_c_try_link "$LINENO"
   5362 then :
   5363   eval $cacheid=yes
   5364 else $as_nop
   5365   eval $cacheid=no
   5366 fi
   5367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5368     conftest$ac_exeext conftest.$ac_ext
   5369 fi
   5370 
   5371 
   5372 		CFLAGS="$xorg_testset_save_CFLAGS"
   5373 
   5374 		eval supported=\$$cacheid
   5375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5376 printf "%s\n" "$supported" >&6; }
   5377 		if test "$supported" = "yes" ; then
   5378 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5379 			found="yes"
   5380 		fi
   5381 	fi
   5382 
   5383 	if test $found = "no" ; then
   5384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5386 		fi
   5387 
   5388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5390 		fi
   5391 
   5392 		CFLAGS="$CFLAGS -Wformat"
   5393 
   5394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5395 printf %s "checking if $CC supports -Wformat... " >&6; }
   5396 		cacheid=xorg_cv_cc_flag__Wformat
   5397 		if eval test \${$cacheid+y}
   5398 then :
   5399   printf %s "(cached) " >&6
   5400 else $as_nop
   5401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 int
   5405 main (void)
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_link "$LINENO"
   5413 then :
   5414   eval $cacheid=yes
   5415 else $as_nop
   5416   eval $cacheid=no
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5419     conftest$ac_exeext conftest.$ac_ext
   5420 fi
   5421 
   5422 
   5423 		CFLAGS="$xorg_testset_save_CFLAGS"
   5424 
   5425 		eval supported=\$$cacheid
   5426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5427 printf "%s\n" "$supported" >&6; }
   5428 		if test "$supported" = "yes" ; then
   5429 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5430 			found="yes"
   5431 		fi
   5432 	fi
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 xorg_testset_save_CFLAGS="$CFLAGS"
   5451 
   5452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5457 then :
   5458   printf %s "(cached) " >&6
   5459 else $as_nop
   5460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"
   5465 then :
   5466   xorg_cv_cc_flag_unknown_warning_option=yes
   5467 else $as_nop
   5468   xorg_cv_cc_flag_unknown_warning_option=no
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5471 fi
   5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5473 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5475 	CFLAGS="$xorg_testset_save_CFLAGS"
   5476 fi
   5477 
   5478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5481 	fi
   5482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5484 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5485 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5486 then :
   5487   printf %s "(cached) " >&6
   5488 else $as_nop
   5489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5490 /* end confdefs.h.  */
   5491 int i;
   5492 _ACEOF
   5493 if ac_fn_c_try_compile "$LINENO"
   5494 then :
   5495   xorg_cv_cc_flag_unused_command_line_argument=yes
   5496 else $as_nop
   5497   xorg_cv_cc_flag_unused_command_line_argument=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5500 fi
   5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5502 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5504 	CFLAGS="$xorg_testset_save_CFLAGS"
   5505 fi
   5506 
   5507 found="no"
   5508 
   5509 	if test $found = "no" ; then
   5510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5512 		fi
   5513 
   5514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5516 		fi
   5517 
   5518 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5519 
   5520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5521 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5522 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5523 		if eval test \${$cacheid+y}
   5524 then :
   5525   printf %s "(cached) " >&6
   5526 else $as_nop
   5527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5528 /* end confdefs.h.  */
   5529 int i;
   5530 int
   5531 main (void)
   5532 {
   5533 
   5534   ;
   5535   return 0;
   5536 }
   5537 _ACEOF
   5538 if ac_fn_c_try_link "$LINENO"
   5539 then :
   5540   eval $cacheid=yes
   5541 else $as_nop
   5542   eval $cacheid=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5545     conftest$ac_exeext conftest.$ac_ext
   5546 fi
   5547 
   5548 
   5549 		CFLAGS="$xorg_testset_save_CFLAGS"
   5550 
   5551 		eval supported=\$$cacheid
   5552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5553 printf "%s\n" "$supported" >&6; }
   5554 		if test "$supported" = "yes" ; then
   5555 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5556 			found="yes"
   5557 		fi
   5558 	fi
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 xorg_testset_save_CFLAGS="$CFLAGS"
   5575 
   5576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5581 then :
   5582   printf %s "(cached) " >&6
   5583 else $as_nop
   5584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 _ACEOF
   5588 if ac_fn_c_try_compile "$LINENO"
   5589 then :
   5590   xorg_cv_cc_flag_unknown_warning_option=yes
   5591 else $as_nop
   5592   xorg_cv_cc_flag_unknown_warning_option=no
   5593 fi
   5594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5595 fi
   5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5597 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5599 	CFLAGS="$xorg_testset_save_CFLAGS"
   5600 fi
   5601 
   5602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5605 	fi
   5606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5608 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5609 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5610 then :
   5611   printf %s "(cached) " >&6
   5612 else $as_nop
   5613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5614 /* end confdefs.h.  */
   5615 int i;
   5616 _ACEOF
   5617 if ac_fn_c_try_compile "$LINENO"
   5618 then :
   5619   xorg_cv_cc_flag_unused_command_line_argument=yes
   5620 else $as_nop
   5621   xorg_cv_cc_flag_unused_command_line_argument=no
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5624 fi
   5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5628 	CFLAGS="$xorg_testset_save_CFLAGS"
   5629 fi
   5630 
   5631 found="no"
   5632 
   5633 	if test $found = "no" ; then
   5634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 		fi
   5637 
   5638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5640 		fi
   5641 
   5642 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5643 
   5644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5645 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5646 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5647 		if eval test \${$cacheid+y}
   5648 then :
   5649   printf %s "(cached) " >&6
   5650 else $as_nop
   5651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5652 /* end confdefs.h.  */
   5653 int i;
   5654 int
   5655 main (void)
   5656 {
   5657 
   5658   ;
   5659   return 0;
   5660 }
   5661 _ACEOF
   5662 if ac_fn_c_try_link "$LINENO"
   5663 then :
   5664   eval $cacheid=yes
   5665 else $as_nop
   5666   eval $cacheid=no
   5667 fi
   5668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5669     conftest$ac_exeext conftest.$ac_ext
   5670 fi
   5671 
   5672 
   5673 		CFLAGS="$xorg_testset_save_CFLAGS"
   5674 
   5675 		eval supported=\$$cacheid
   5676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5677 printf "%s\n" "$supported" >&6; }
   5678 		if test "$supported" = "yes" ; then
   5679 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5680 			found="yes"
   5681 		fi
   5682 	fi
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 xorg_testset_save_CFLAGS="$CFLAGS"
   5699 
   5700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5703 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5704 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5705 then :
   5706   printf %s "(cached) " >&6
   5707 else $as_nop
   5708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5709 /* end confdefs.h.  */
   5710 int i;
   5711 _ACEOF
   5712 if ac_fn_c_try_compile "$LINENO"
   5713 then :
   5714   xorg_cv_cc_flag_unknown_warning_option=yes
   5715 else $as_nop
   5716   xorg_cv_cc_flag_unknown_warning_option=no
   5717 fi
   5718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5719 fi
   5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5721 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5723 	CFLAGS="$xorg_testset_save_CFLAGS"
   5724 fi
   5725 
   5726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5729 	fi
   5730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5734 then :
   5735   printf %s "(cached) " >&6
   5736 else $as_nop
   5737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5738 /* end confdefs.h.  */
   5739 int i;
   5740 _ACEOF
   5741 if ac_fn_c_try_compile "$LINENO"
   5742 then :
   5743   xorg_cv_cc_flag_unused_command_line_argument=yes
   5744 else $as_nop
   5745   xorg_cv_cc_flag_unused_command_line_argument=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5748 fi
   5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5750 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 found="no"
   5756 
   5757 	if test $found = "no" ; then
   5758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5760 		fi
   5761 
   5762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 		fi
   5765 
   5766 		CFLAGS="$CFLAGS -Wnested-externs"
   5767 
   5768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5769 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5770 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5771 		if eval test \${$cacheid+y}
   5772 then :
   5773   printf %s "(cached) " >&6
   5774 else $as_nop
   5775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 int
   5779 main (void)
   5780 {
   5781 
   5782   ;
   5783   return 0;
   5784 }
   5785 _ACEOF
   5786 if ac_fn_c_try_link "$LINENO"
   5787 then :
   5788   eval $cacheid=yes
   5789 else $as_nop
   5790   eval $cacheid=no
   5791 fi
   5792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5793     conftest$ac_exeext conftest.$ac_ext
   5794 fi
   5795 
   5796 
   5797 		CFLAGS="$xorg_testset_save_CFLAGS"
   5798 
   5799 		eval supported=\$$cacheid
   5800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5801 printf "%s\n" "$supported" >&6; }
   5802 		if test "$supported" = "yes" ; then
   5803 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5804 			found="yes"
   5805 		fi
   5806 	fi
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 xorg_testset_save_CFLAGS="$CFLAGS"
   5823 
   5824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5829 then :
   5830   printf %s "(cached) " >&6
   5831 else $as_nop
   5832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5833 /* end confdefs.h.  */
   5834 int i;
   5835 _ACEOF
   5836 if ac_fn_c_try_compile "$LINENO"
   5837 then :
   5838   xorg_cv_cc_flag_unknown_warning_option=yes
   5839 else $as_nop
   5840   xorg_cv_cc_flag_unknown_warning_option=no
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5843 fi
   5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5847 	CFLAGS="$xorg_testset_save_CFLAGS"
   5848 fi
   5849 
   5850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5853 	fi
   5854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5858 then :
   5859   printf %s "(cached) " >&6
   5860 else $as_nop
   5861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5862 /* end confdefs.h.  */
   5863 int i;
   5864 _ACEOF
   5865 if ac_fn_c_try_compile "$LINENO"
   5866 then :
   5867   xorg_cv_cc_flag_unused_command_line_argument=yes
   5868 else $as_nop
   5869   xorg_cv_cc_flag_unused_command_line_argument=no
   5870 fi
   5871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5872 fi
   5873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5876 	CFLAGS="$xorg_testset_save_CFLAGS"
   5877 fi
   5878 
   5879 found="no"
   5880 
   5881 	if test $found = "no" ; then
   5882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 		fi
   5885 
   5886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5888 		fi
   5889 
   5890 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5891 
   5892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5893 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5894 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5895 		if eval test \${$cacheid+y}
   5896 then :
   5897   printf %s "(cached) " >&6
   5898 else $as_nop
   5899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5900 /* end confdefs.h.  */
   5901 int i;
   5902 int
   5903 main (void)
   5904 {
   5905 
   5906   ;
   5907   return 0;
   5908 }
   5909 _ACEOF
   5910 if ac_fn_c_try_link "$LINENO"
   5911 then :
   5912   eval $cacheid=yes
   5913 else $as_nop
   5914   eval $cacheid=no
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5917     conftest$ac_exeext conftest.$ac_ext
   5918 fi
   5919 
   5920 
   5921 		CFLAGS="$xorg_testset_save_CFLAGS"
   5922 
   5923 		eval supported=\$$cacheid
   5924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5925 printf "%s\n" "$supported" >&6; }
   5926 		if test "$supported" = "yes" ; then
   5927 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5928 			found="yes"
   5929 		fi
   5930 	fi
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 xorg_testset_save_CFLAGS="$CFLAGS"
   5947 
   5948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5953 then :
   5954   printf %s "(cached) " >&6
   5955 else $as_nop
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 _ACEOF
   5960 if ac_fn_c_try_compile "$LINENO"
   5961 then :
   5962   xorg_cv_cc_flag_unknown_warning_option=yes
   5963 else $as_nop
   5964   xorg_cv_cc_flag_unknown_warning_option=no
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5967 fi
   5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5971 	CFLAGS="$xorg_testset_save_CFLAGS"
   5972 fi
   5973 
   5974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 	fi
   5978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5982 then :
   5983   printf %s "(cached) " >&6
   5984 else $as_nop
   5985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5986 /* end confdefs.h.  */
   5987 int i;
   5988 _ACEOF
   5989 if ac_fn_c_try_compile "$LINENO"
   5990 then :
   5991   xorg_cv_cc_flag_unused_command_line_argument=yes
   5992 else $as_nop
   5993   xorg_cv_cc_flag_unused_command_line_argument=no
   5994 fi
   5995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5996 fi
   5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5998 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6000 	CFLAGS="$xorg_testset_save_CFLAGS"
   6001 fi
   6002 
   6003 found="no"
   6004 
   6005 	if test $found = "no" ; then
   6006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6008 		fi
   6009 
   6010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6012 		fi
   6013 
   6014 		CFLAGS="$CFLAGS -Wold-style-definition"
   6015 
   6016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6017 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6018 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6019 		if eval test \${$cacheid+y}
   6020 then :
   6021   printf %s "(cached) " >&6
   6022 else $as_nop
   6023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6024 /* end confdefs.h.  */
   6025 int i;
   6026 int
   6027 main (void)
   6028 {
   6029 
   6030   ;
   6031   return 0;
   6032 }
   6033 _ACEOF
   6034 if ac_fn_c_try_link "$LINENO"
   6035 then :
   6036   eval $cacheid=yes
   6037 else $as_nop
   6038   eval $cacheid=no
   6039 fi
   6040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6041     conftest$ac_exeext conftest.$ac_ext
   6042 fi
   6043 
   6044 
   6045 		CFLAGS="$xorg_testset_save_CFLAGS"
   6046 
   6047 		eval supported=\$$cacheid
   6048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6049 printf "%s\n" "$supported" >&6; }
   6050 		if test "$supported" = "yes" ; then
   6051 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6052 			found="yes"
   6053 		fi
   6054 	fi
   6055 
   6056 	if test $found = "no" ; then
   6057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 		fi
   6060 
   6061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6063 		fi
   6064 
   6065 		CFLAGS="$CFLAGS -fd"
   6066 
   6067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6068 printf %s "checking if $CC supports -fd... " >&6; }
   6069 		cacheid=xorg_cv_cc_flag__fd
   6070 		if eval test \${$cacheid+y}
   6071 then :
   6072   printf %s "(cached) " >&6
   6073 else $as_nop
   6074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6075 /* end confdefs.h.  */
   6076 int i;
   6077 int
   6078 main (void)
   6079 {
   6080 
   6081   ;
   6082   return 0;
   6083 }
   6084 _ACEOF
   6085 if ac_fn_c_try_link "$LINENO"
   6086 then :
   6087   eval $cacheid=yes
   6088 else $as_nop
   6089   eval $cacheid=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6092     conftest$ac_exeext conftest.$ac_ext
   6093 fi
   6094 
   6095 
   6096 		CFLAGS="$xorg_testset_save_CFLAGS"
   6097 
   6098 		eval supported=\$$cacheid
   6099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6100 printf "%s\n" "$supported" >&6; }
   6101 		if test "$supported" = "yes" ; then
   6102 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6103 			found="yes"
   6104 		fi
   6105 	fi
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 xorg_testset_save_CFLAGS="$CFLAGS"
   6122 
   6123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6128 then :
   6129   printf %s "(cached) " >&6
   6130 else $as_nop
   6131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6132 /* end confdefs.h.  */
   6133 int i;
   6134 _ACEOF
   6135 if ac_fn_c_try_compile "$LINENO"
   6136 then :
   6137   xorg_cv_cc_flag_unknown_warning_option=yes
   6138 else $as_nop
   6139   xorg_cv_cc_flag_unknown_warning_option=no
   6140 fi
   6141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6142 fi
   6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6146 	CFLAGS="$xorg_testset_save_CFLAGS"
   6147 fi
   6148 
   6149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	fi
   6153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6157 then :
   6158   printf %s "(cached) " >&6
   6159 else $as_nop
   6160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6161 /* end confdefs.h.  */
   6162 int i;
   6163 _ACEOF
   6164 if ac_fn_c_try_compile "$LINENO"
   6165 then :
   6166   xorg_cv_cc_flag_unused_command_line_argument=yes
   6167 else $as_nop
   6168   xorg_cv_cc_flag_unused_command_line_argument=no
   6169 fi
   6170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6171 fi
   6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6175 	CFLAGS="$xorg_testset_save_CFLAGS"
   6176 fi
   6177 
   6178 found="no"
   6179 
   6180 	if test $found = "no" ; then
   6181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6183 		fi
   6184 
   6185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6187 		fi
   6188 
   6189 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6190 
   6191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6192 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6193 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6194 		if eval test \${$cacheid+y}
   6195 then :
   6196   printf %s "(cached) " >&6
   6197 else $as_nop
   6198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6199 /* end confdefs.h.  */
   6200 int i;
   6201 int
   6202 main (void)
   6203 {
   6204 
   6205   ;
   6206   return 0;
   6207 }
   6208 _ACEOF
   6209 if ac_fn_c_try_link "$LINENO"
   6210 then :
   6211   eval $cacheid=yes
   6212 else $as_nop
   6213   eval $cacheid=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6216     conftest$ac_exeext conftest.$ac_ext
   6217 fi
   6218 
   6219 
   6220 		CFLAGS="$xorg_testset_save_CFLAGS"
   6221 
   6222 		eval supported=\$$cacheid
   6223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6224 printf "%s\n" "$supported" >&6; }
   6225 		if test "$supported" = "yes" ; then
   6226 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6227 			found="yes"
   6228 		fi
   6229 	fi
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 # This chunk adds additional warnings that could catch undesired effects.
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 xorg_testset_save_CFLAGS="$CFLAGS"
   6250 
   6251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6256 then :
   6257   printf %s "(cached) " >&6
   6258 else $as_nop
   6259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 _ACEOF
   6263 if ac_fn_c_try_compile "$LINENO"
   6264 then :
   6265   xorg_cv_cc_flag_unknown_warning_option=yes
   6266 else $as_nop
   6267   xorg_cv_cc_flag_unknown_warning_option=no
   6268 fi
   6269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6270 fi
   6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6274 	CFLAGS="$xorg_testset_save_CFLAGS"
   6275 fi
   6276 
   6277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6280 	fi
   6281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6285 then :
   6286   printf %s "(cached) " >&6
   6287 else $as_nop
   6288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6289 /* end confdefs.h.  */
   6290 int i;
   6291 _ACEOF
   6292 if ac_fn_c_try_compile "$LINENO"
   6293 then :
   6294   xorg_cv_cc_flag_unused_command_line_argument=yes
   6295 else $as_nop
   6296   xorg_cv_cc_flag_unused_command_line_argument=no
   6297 fi
   6298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6299 fi
   6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6303 	CFLAGS="$xorg_testset_save_CFLAGS"
   6304 fi
   6305 
   6306 found="no"
   6307 
   6308 	if test $found = "no" ; then
   6309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6311 		fi
   6312 
   6313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6315 		fi
   6316 
   6317 		CFLAGS="$CFLAGS -Wunused"
   6318 
   6319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6320 printf %s "checking if $CC supports -Wunused... " >&6; }
   6321 		cacheid=xorg_cv_cc_flag__Wunused
   6322 		if eval test \${$cacheid+y}
   6323 then :
   6324   printf %s "(cached) " >&6
   6325 else $as_nop
   6326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 int
   6330 main (void)
   6331 {
   6332 
   6333   ;
   6334   return 0;
   6335 }
   6336 _ACEOF
   6337 if ac_fn_c_try_link "$LINENO"
   6338 then :
   6339   eval $cacheid=yes
   6340 else $as_nop
   6341   eval $cacheid=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6344     conftest$ac_exeext conftest.$ac_ext
   6345 fi
   6346 
   6347 
   6348 		CFLAGS="$xorg_testset_save_CFLAGS"
   6349 
   6350 		eval supported=\$$cacheid
   6351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6352 printf "%s\n" "$supported" >&6; }
   6353 		if test "$supported" = "yes" ; then
   6354 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6355 			found="yes"
   6356 		fi
   6357 	fi
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 xorg_testset_save_CFLAGS="$CFLAGS"
   6374 
   6375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6378 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6379 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6380 then :
   6381   printf %s "(cached) " >&6
   6382 else $as_nop
   6383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6384 /* end confdefs.h.  */
   6385 int i;
   6386 _ACEOF
   6387 if ac_fn_c_try_compile "$LINENO"
   6388 then :
   6389   xorg_cv_cc_flag_unknown_warning_option=yes
   6390 else $as_nop
   6391   xorg_cv_cc_flag_unknown_warning_option=no
   6392 fi
   6393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6394 fi
   6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6398 	CFLAGS="$xorg_testset_save_CFLAGS"
   6399 fi
   6400 
   6401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6404 	fi
   6405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else $as_nop
   6412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6413 /* end confdefs.h.  */
   6414 int i;
   6415 _ACEOF
   6416 if ac_fn_c_try_compile "$LINENO"
   6417 then :
   6418   xorg_cv_cc_flag_unused_command_line_argument=yes
   6419 else $as_nop
   6420   xorg_cv_cc_flag_unused_command_line_argument=no
   6421 fi
   6422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6423 fi
   6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6427 	CFLAGS="$xorg_testset_save_CFLAGS"
   6428 fi
   6429 
   6430 found="no"
   6431 
   6432 	if test $found = "no" ; then
   6433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 		fi
   6436 
   6437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6439 		fi
   6440 
   6441 		CFLAGS="$CFLAGS -Wuninitialized"
   6442 
   6443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6444 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6445 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6446 		if eval test \${$cacheid+y}
   6447 then :
   6448   printf %s "(cached) " >&6
   6449 else $as_nop
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 int
   6454 main (void)
   6455 {
   6456 
   6457   ;
   6458   return 0;
   6459 }
   6460 _ACEOF
   6461 if ac_fn_c_try_link "$LINENO"
   6462 then :
   6463   eval $cacheid=yes
   6464 else $as_nop
   6465   eval $cacheid=no
   6466 fi
   6467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6468     conftest$ac_exeext conftest.$ac_ext
   6469 fi
   6470 
   6471 
   6472 		CFLAGS="$xorg_testset_save_CFLAGS"
   6473 
   6474 		eval supported=\$$cacheid
   6475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6476 printf "%s\n" "$supported" >&6; }
   6477 		if test "$supported" = "yes" ; then
   6478 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6479 			found="yes"
   6480 		fi
   6481 	fi
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 xorg_testset_save_CFLAGS="$CFLAGS"
   6498 
   6499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6502 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6503 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6504 then :
   6505   printf %s "(cached) " >&6
   6506 else $as_nop
   6507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6508 /* end confdefs.h.  */
   6509 int i;
   6510 _ACEOF
   6511 if ac_fn_c_try_compile "$LINENO"
   6512 then :
   6513   xorg_cv_cc_flag_unknown_warning_option=yes
   6514 else $as_nop
   6515   xorg_cv_cc_flag_unknown_warning_option=no
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6518 fi
   6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6522 	CFLAGS="$xorg_testset_save_CFLAGS"
   6523 fi
   6524 
   6525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 	fi
   6529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6533 then :
   6534   printf %s "(cached) " >&6
   6535 else $as_nop
   6536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6537 /* end confdefs.h.  */
   6538 int i;
   6539 _ACEOF
   6540 if ac_fn_c_try_compile "$LINENO"
   6541 then :
   6542   xorg_cv_cc_flag_unused_command_line_argument=yes
   6543 else $as_nop
   6544   xorg_cv_cc_flag_unused_command_line_argument=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6547 fi
   6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 found="no"
   6555 
   6556 	if test $found = "no" ; then
   6557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 		fi
   6560 
   6561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6563 		fi
   6564 
   6565 		CFLAGS="$CFLAGS -Wshadow"
   6566 
   6567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6568 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6569 		cacheid=xorg_cv_cc_flag__Wshadow
   6570 		if eval test \${$cacheid+y}
   6571 then :
   6572   printf %s "(cached) " >&6
   6573 else $as_nop
   6574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 int
   6578 main (void)
   6579 {
   6580 
   6581   ;
   6582   return 0;
   6583 }
   6584 _ACEOF
   6585 if ac_fn_c_try_link "$LINENO"
   6586 then :
   6587   eval $cacheid=yes
   6588 else $as_nop
   6589   eval $cacheid=no
   6590 fi
   6591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6592     conftest$ac_exeext conftest.$ac_ext
   6593 fi
   6594 
   6595 
   6596 		CFLAGS="$xorg_testset_save_CFLAGS"
   6597 
   6598 		eval supported=\$$cacheid
   6599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6600 printf "%s\n" "$supported" >&6; }
   6601 		if test "$supported" = "yes" ; then
   6602 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6603 			found="yes"
   6604 		fi
   6605 	fi
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 xorg_testset_save_CFLAGS="$CFLAGS"
   6622 
   6623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6626 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6627 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6628 then :
   6629   printf %s "(cached) " >&6
   6630 else $as_nop
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 _ACEOF
   6635 if ac_fn_c_try_compile "$LINENO"
   6636 then :
   6637   xorg_cv_cc_flag_unknown_warning_option=yes
   6638 else $as_nop
   6639   xorg_cv_cc_flag_unknown_warning_option=no
   6640 fi
   6641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6642 fi
   6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6646 	CFLAGS="$xorg_testset_save_CFLAGS"
   6647 fi
   6648 
   6649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6652 	fi
   6653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6657 then :
   6658   printf %s "(cached) " >&6
   6659 else $as_nop
   6660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 int i;
   6663 _ACEOF
   6664 if ac_fn_c_try_compile "$LINENO"
   6665 then :
   6666   xorg_cv_cc_flag_unused_command_line_argument=yes
   6667 else $as_nop
   6668   xorg_cv_cc_flag_unused_command_line_argument=no
   6669 fi
   6670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6671 fi
   6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6673 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6675 	CFLAGS="$xorg_testset_save_CFLAGS"
   6676 fi
   6677 
   6678 found="no"
   6679 
   6680 	if test $found = "no" ; then
   6681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6683 		fi
   6684 
   6685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6687 		fi
   6688 
   6689 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6690 
   6691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6692 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6693 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6694 		if eval test \${$cacheid+y}
   6695 then :
   6696   printf %s "(cached) " >&6
   6697 else $as_nop
   6698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6699 /* end confdefs.h.  */
   6700 int i;
   6701 int
   6702 main (void)
   6703 {
   6704 
   6705   ;
   6706   return 0;
   6707 }
   6708 _ACEOF
   6709 if ac_fn_c_try_link "$LINENO"
   6710 then :
   6711   eval $cacheid=yes
   6712 else $as_nop
   6713   eval $cacheid=no
   6714 fi
   6715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6716     conftest$ac_exeext conftest.$ac_ext
   6717 fi
   6718 
   6719 
   6720 		CFLAGS="$xorg_testset_save_CFLAGS"
   6721 
   6722 		eval supported=\$$cacheid
   6723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6724 printf "%s\n" "$supported" >&6; }
   6725 		if test "$supported" = "yes" ; then
   6726 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6727 			found="yes"
   6728 		fi
   6729 	fi
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 xorg_testset_save_CFLAGS="$CFLAGS"
   6746 
   6747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6750 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6751 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6752 then :
   6753   printf %s "(cached) " >&6
   6754 else $as_nop
   6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 _ACEOF
   6759 if ac_fn_c_try_compile "$LINENO"
   6760 then :
   6761   xorg_cv_cc_flag_unknown_warning_option=yes
   6762 else $as_nop
   6763   xorg_cv_cc_flag_unknown_warning_option=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6766 fi
   6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	fi
   6777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6781 then :
   6782   printf %s "(cached) " >&6
   6783 else $as_nop
   6784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6785 /* end confdefs.h.  */
   6786 int i;
   6787 _ACEOF
   6788 if ac_fn_c_try_compile "$LINENO"
   6789 then :
   6790   xorg_cv_cc_flag_unused_command_line_argument=yes
   6791 else $as_nop
   6792   xorg_cv_cc_flag_unused_command_line_argument=no
   6793 fi
   6794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6795 fi
   6796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6799 	CFLAGS="$xorg_testset_save_CFLAGS"
   6800 fi
   6801 
   6802 found="no"
   6803 
   6804 	if test $found = "no" ; then
   6805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6807 		fi
   6808 
   6809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6811 		fi
   6812 
   6813 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6814 
   6815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6816 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6817 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6818 		if eval test \${$cacheid+y}
   6819 then :
   6820   printf %s "(cached) " >&6
   6821 else $as_nop
   6822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6823 /* end confdefs.h.  */
   6824 int i;
   6825 int
   6826 main (void)
   6827 {
   6828 
   6829   ;
   6830   return 0;
   6831 }
   6832 _ACEOF
   6833 if ac_fn_c_try_link "$LINENO"
   6834 then :
   6835   eval $cacheid=yes
   6836 else $as_nop
   6837   eval $cacheid=no
   6838 fi
   6839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6840     conftest$ac_exeext conftest.$ac_ext
   6841 fi
   6842 
   6843 
   6844 		CFLAGS="$xorg_testset_save_CFLAGS"
   6845 
   6846 		eval supported=\$$cacheid
   6847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6848 printf "%s\n" "$supported" >&6; }
   6849 		if test "$supported" = "yes" ; then
   6850 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6851 			found="yes"
   6852 		fi
   6853 	fi
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 xorg_testset_save_CFLAGS="$CFLAGS"
   6870 
   6871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6876 then :
   6877   printf %s "(cached) " >&6
   6878 else $as_nop
   6879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6880 /* end confdefs.h.  */
   6881 int i;
   6882 _ACEOF
   6883 if ac_fn_c_try_compile "$LINENO"
   6884 then :
   6885   xorg_cv_cc_flag_unknown_warning_option=yes
   6886 else $as_nop
   6887   xorg_cv_cc_flag_unknown_warning_option=no
   6888 fi
   6889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6890 fi
   6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6894 	CFLAGS="$xorg_testset_save_CFLAGS"
   6895 fi
   6896 
   6897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6900 	fi
   6901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6905 then :
   6906   printf %s "(cached) " >&6
   6907 else $as_nop
   6908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6909 /* end confdefs.h.  */
   6910 int i;
   6911 _ACEOF
   6912 if ac_fn_c_try_compile "$LINENO"
   6913 then :
   6914   xorg_cv_cc_flag_unused_command_line_argument=yes
   6915 else $as_nop
   6916   xorg_cv_cc_flag_unused_command_line_argument=no
   6917 fi
   6918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6919 fi
   6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6923 	CFLAGS="$xorg_testset_save_CFLAGS"
   6924 fi
   6925 
   6926 found="no"
   6927 
   6928 	if test $found = "no" ; then
   6929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6931 		fi
   6932 
   6933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6935 		fi
   6936 
   6937 		CFLAGS="$CFLAGS -Wredundant-decls"
   6938 
   6939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6940 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6941 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6942 		if eval test \${$cacheid+y}
   6943 then :
   6944   printf %s "(cached) " >&6
   6945 else $as_nop
   6946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6947 /* end confdefs.h.  */
   6948 int i;
   6949 int
   6950 main (void)
   6951 {
   6952 
   6953   ;
   6954   return 0;
   6955 }
   6956 _ACEOF
   6957 if ac_fn_c_try_link "$LINENO"
   6958 then :
   6959   eval $cacheid=yes
   6960 else $as_nop
   6961   eval $cacheid=no
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6964     conftest$ac_exeext conftest.$ac_ext
   6965 fi
   6966 
   6967 
   6968 		CFLAGS="$xorg_testset_save_CFLAGS"
   6969 
   6970 		eval supported=\$$cacheid
   6971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6972 printf "%s\n" "$supported" >&6; }
   6973 		if test "$supported" = "yes" ; then
   6974 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6975 			found="yes"
   6976 		fi
   6977 	fi
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 xorg_testset_save_CFLAGS="$CFLAGS"
   6994 
   6995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else $as_nop
   7003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 _ACEOF
   7007 if ac_fn_c_try_compile "$LINENO"
   7008 then :
   7009   xorg_cv_cc_flag_unknown_warning_option=yes
   7010 else $as_nop
   7011   xorg_cv_cc_flag_unknown_warning_option=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7014 fi
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7029 then :
   7030   printf %s "(cached) " >&6
   7031 else $as_nop
   7032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"
   7037 then :
   7038   xorg_cv_cc_flag_unused_command_line_argument=yes
   7039 else $as_nop
   7040   xorg_cv_cc_flag_unused_command_line_argument=no
   7041 fi
   7042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7043 fi
   7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7045 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7047 	CFLAGS="$xorg_testset_save_CFLAGS"
   7048 fi
   7049 
   7050 found="no"
   7051 
   7052 	if test $found = "no" ; then
   7053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7055 		fi
   7056 
   7057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7059 		fi
   7060 
   7061 		CFLAGS="$CFLAGS -Wlogical-op"
   7062 
   7063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7064 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7065 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7066 		if eval test \${$cacheid+y}
   7067 then :
   7068   printf %s "(cached) " >&6
   7069 else $as_nop
   7070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7071 /* end confdefs.h.  */
   7072 int i;
   7073 int
   7074 main (void)
   7075 {
   7076 
   7077   ;
   7078   return 0;
   7079 }
   7080 _ACEOF
   7081 if ac_fn_c_try_link "$LINENO"
   7082 then :
   7083   eval $cacheid=yes
   7084 else $as_nop
   7085   eval $cacheid=no
   7086 fi
   7087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7088     conftest$ac_exeext conftest.$ac_ext
   7089 fi
   7090 
   7091 
   7092 		CFLAGS="$xorg_testset_save_CFLAGS"
   7093 
   7094 		eval supported=\$$cacheid
   7095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7096 printf "%s\n" "$supported" >&6; }
   7097 		if test "$supported" = "yes" ; then
   7098 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7099 			found="yes"
   7100 		fi
   7101 	fi
   7102 
   7103 
   7104 
   7105 # These are currently disabled because they are noisy.  They will be enabled
   7106 # in the future once the codebase is sufficiently modernized to silence
   7107 # them.  For now, I don't want them to drown out the other warnings.
   7108 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7109 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7110 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7111 
   7112 # Turn some warnings into errors, so we don't accidentally get successful builds
   7113 # when there are problems that should be fixed.
   7114 
   7115 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 xorg_testset_save_CFLAGS="$CFLAGS"
   7130 
   7131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7136 then :
   7137   printf %s "(cached) " >&6
   7138 else $as_nop
   7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7140 /* end confdefs.h.  */
   7141 int i;
   7142 _ACEOF
   7143 if ac_fn_c_try_compile "$LINENO"
   7144 then :
   7145   xorg_cv_cc_flag_unknown_warning_option=yes
   7146 else $as_nop
   7147   xorg_cv_cc_flag_unknown_warning_option=no
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7150 fi
   7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7154 	CFLAGS="$xorg_testset_save_CFLAGS"
   7155 fi
   7156 
   7157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 	fi
   7161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7165 then :
   7166   printf %s "(cached) " >&6
   7167 else $as_nop
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 int i;
   7171 _ACEOF
   7172 if ac_fn_c_try_compile "$LINENO"
   7173 then :
   7174   xorg_cv_cc_flag_unused_command_line_argument=yes
   7175 else $as_nop
   7176   xorg_cv_cc_flag_unused_command_line_argument=no
   7177 fi
   7178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7179 fi
   7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7181 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7183 	CFLAGS="$xorg_testset_save_CFLAGS"
   7184 fi
   7185 
   7186 found="no"
   7187 
   7188 	if test $found = "no" ; then
   7189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 		fi
   7192 
   7193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7195 		fi
   7196 
   7197 		CFLAGS="$CFLAGS -Werror=implicit"
   7198 
   7199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7200 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7201 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7202 		if eval test \${$cacheid+y}
   7203 then :
   7204   printf %s "(cached) " >&6
   7205 else $as_nop
   7206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7207 /* end confdefs.h.  */
   7208 int i;
   7209 int
   7210 main (void)
   7211 {
   7212 
   7213   ;
   7214   return 0;
   7215 }
   7216 _ACEOF
   7217 if ac_fn_c_try_link "$LINENO"
   7218 then :
   7219   eval $cacheid=yes
   7220 else $as_nop
   7221   eval $cacheid=no
   7222 fi
   7223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7224     conftest$ac_exeext conftest.$ac_ext
   7225 fi
   7226 
   7227 
   7228 		CFLAGS="$xorg_testset_save_CFLAGS"
   7229 
   7230 		eval supported=\$$cacheid
   7231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7232 printf "%s\n" "$supported" >&6; }
   7233 		if test "$supported" = "yes" ; then
   7234 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7235 			found="yes"
   7236 		fi
   7237 	fi
   7238 
   7239 	if test $found = "no" ; then
   7240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7242 		fi
   7243 
   7244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7246 		fi
   7247 
   7248 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7249 
   7250 		{ 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
   7251 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7252 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7253 		if eval test \${$cacheid+y}
   7254 then :
   7255   printf %s "(cached) " >&6
   7256 else $as_nop
   7257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7258 /* end confdefs.h.  */
   7259 int i;
   7260 int
   7261 main (void)
   7262 {
   7263 
   7264   ;
   7265   return 0;
   7266 }
   7267 _ACEOF
   7268 if ac_fn_c_try_link "$LINENO"
   7269 then :
   7270   eval $cacheid=yes
   7271 else $as_nop
   7272   eval $cacheid=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7275     conftest$ac_exeext conftest.$ac_ext
   7276 fi
   7277 
   7278 
   7279 		CFLAGS="$xorg_testset_save_CFLAGS"
   7280 
   7281 		eval supported=\$$cacheid
   7282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7283 printf "%s\n" "$supported" >&6; }
   7284 		if test "$supported" = "yes" ; then
   7285 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7286 			found="yes"
   7287 		fi
   7288 	fi
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 xorg_testset_save_CFLAGS="$CFLAGS"
   7305 
   7306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7309 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7310 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7311 then :
   7312   printf %s "(cached) " >&6
   7313 else $as_nop
   7314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"
   7319 then :
   7320   xorg_cv_cc_flag_unknown_warning_option=yes
   7321 else $as_nop
   7322   xorg_cv_cc_flag_unknown_warning_option=no
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7325 fi
   7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7327 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	fi
   7336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7340 then :
   7341   printf %s "(cached) " >&6
   7342 else $as_nop
   7343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 int i;
   7346 _ACEOF
   7347 if ac_fn_c_try_compile "$LINENO"
   7348 then :
   7349   xorg_cv_cc_flag_unused_command_line_argument=yes
   7350 else $as_nop
   7351   xorg_cv_cc_flag_unused_command_line_argument=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7354 fi
   7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7356 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7358 	CFLAGS="$xorg_testset_save_CFLAGS"
   7359 fi
   7360 
   7361 found="no"
   7362 
   7363 	if test $found = "no" ; then
   7364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7366 		fi
   7367 
   7368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7370 		fi
   7371 
   7372 		CFLAGS="$CFLAGS -Werror=nonnull"
   7373 
   7374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7375 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7376 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7377 		if eval test \${$cacheid+y}
   7378 then :
   7379   printf %s "(cached) " >&6
   7380 else $as_nop
   7381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7382 /* end confdefs.h.  */
   7383 int i;
   7384 int
   7385 main (void)
   7386 {
   7387 
   7388   ;
   7389   return 0;
   7390 }
   7391 _ACEOF
   7392 if ac_fn_c_try_link "$LINENO"
   7393 then :
   7394   eval $cacheid=yes
   7395 else $as_nop
   7396   eval $cacheid=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7399     conftest$ac_exeext conftest.$ac_ext
   7400 fi
   7401 
   7402 
   7403 		CFLAGS="$xorg_testset_save_CFLAGS"
   7404 
   7405 		eval supported=\$$cacheid
   7406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7407 printf "%s\n" "$supported" >&6; }
   7408 		if test "$supported" = "yes" ; then
   7409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7410 			found="yes"
   7411 		fi
   7412 	fi
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 xorg_testset_save_CFLAGS="$CFLAGS"
   7429 
   7430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7435 then :
   7436   printf %s "(cached) " >&6
   7437 else $as_nop
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"
   7443 then :
   7444   xorg_cv_cc_flag_unknown_warning_option=yes
   7445 else $as_nop
   7446   xorg_cv_cc_flag_unknown_warning_option=no
   7447 fi
   7448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7449 fi
   7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7451 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7453 	CFLAGS="$xorg_testset_save_CFLAGS"
   7454 fi
   7455 
   7456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 	fi
   7460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7464 then :
   7465   printf %s "(cached) " >&6
   7466 else $as_nop
   7467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7468 /* end confdefs.h.  */
   7469 int i;
   7470 _ACEOF
   7471 if ac_fn_c_try_compile "$LINENO"
   7472 then :
   7473   xorg_cv_cc_flag_unused_command_line_argument=yes
   7474 else $as_nop
   7475   xorg_cv_cc_flag_unused_command_line_argument=no
   7476 fi
   7477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7478 fi
   7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7480 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7482 	CFLAGS="$xorg_testset_save_CFLAGS"
   7483 fi
   7484 
   7485 found="no"
   7486 
   7487 	if test $found = "no" ; then
   7488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7490 		fi
   7491 
   7492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7494 		fi
   7495 
   7496 		CFLAGS="$CFLAGS -Werror=init-self"
   7497 
   7498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7499 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7500 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7501 		if eval test \${$cacheid+y}
   7502 then :
   7503   printf %s "(cached) " >&6
   7504 else $as_nop
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 int i;
   7508 int
   7509 main (void)
   7510 {
   7511 
   7512   ;
   7513   return 0;
   7514 }
   7515 _ACEOF
   7516 if ac_fn_c_try_link "$LINENO"
   7517 then :
   7518   eval $cacheid=yes
   7519 else $as_nop
   7520   eval $cacheid=no
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7523     conftest$ac_exeext conftest.$ac_ext
   7524 fi
   7525 
   7526 
   7527 		CFLAGS="$xorg_testset_save_CFLAGS"
   7528 
   7529 		eval supported=\$$cacheid
   7530 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7531 printf "%s\n" "$supported" >&6; }
   7532 		if test "$supported" = "yes" ; then
   7533 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7534 			found="yes"
   7535 		fi
   7536 	fi
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 xorg_testset_save_CFLAGS="$CFLAGS"
   7553 
   7554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7557 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7558 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else $as_nop
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 _ACEOF
   7566 if ac_fn_c_try_compile "$LINENO"
   7567 then :
   7568   xorg_cv_cc_flag_unknown_warning_option=yes
   7569 else $as_nop
   7570   xorg_cv_cc_flag_unknown_warning_option=no
   7571 fi
   7572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7573 fi
   7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7575 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7577 	CFLAGS="$xorg_testset_save_CFLAGS"
   7578 fi
   7579 
   7580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 	fi
   7584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7586 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7587 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7588 then :
   7589   printf %s "(cached) " >&6
   7590 else $as_nop
   7591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7592 /* end confdefs.h.  */
   7593 int i;
   7594 _ACEOF
   7595 if ac_fn_c_try_compile "$LINENO"
   7596 then :
   7597   xorg_cv_cc_flag_unused_command_line_argument=yes
   7598 else $as_nop
   7599   xorg_cv_cc_flag_unused_command_line_argument=no
   7600 fi
   7601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7602 fi
   7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7604 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7606 	CFLAGS="$xorg_testset_save_CFLAGS"
   7607 fi
   7608 
   7609 found="no"
   7610 
   7611 	if test $found = "no" ; then
   7612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7614 		fi
   7615 
   7616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7618 		fi
   7619 
   7620 		CFLAGS="$CFLAGS -Werror=main"
   7621 
   7622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7623 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7624 		cacheid=xorg_cv_cc_flag__Werror_main
   7625 		if eval test \${$cacheid+y}
   7626 then :
   7627   printf %s "(cached) " >&6
   7628 else $as_nop
   7629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7630 /* end confdefs.h.  */
   7631 int i;
   7632 int
   7633 main (void)
   7634 {
   7635 
   7636   ;
   7637   return 0;
   7638 }
   7639 _ACEOF
   7640 if ac_fn_c_try_link "$LINENO"
   7641 then :
   7642   eval $cacheid=yes
   7643 else $as_nop
   7644   eval $cacheid=no
   7645 fi
   7646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7647     conftest$ac_exeext conftest.$ac_ext
   7648 fi
   7649 
   7650 
   7651 		CFLAGS="$xorg_testset_save_CFLAGS"
   7652 
   7653 		eval supported=\$$cacheid
   7654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7655 printf "%s\n" "$supported" >&6; }
   7656 		if test "$supported" = "yes" ; then
   7657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7658 			found="yes"
   7659 		fi
   7660 	fi
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 xorg_testset_save_CFLAGS="$CFLAGS"
   7677 
   7678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7683 then :
   7684   printf %s "(cached) " >&6
   7685 else $as_nop
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 _ACEOF
   7690 if ac_fn_c_try_compile "$LINENO"
   7691 then :
   7692   xorg_cv_cc_flag_unknown_warning_option=yes
   7693 else $as_nop
   7694   xorg_cv_cc_flag_unknown_warning_option=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7697 fi
   7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7699 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 	fi
   7708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7710 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7711 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7712 then :
   7713   printf %s "(cached) " >&6
   7714 else $as_nop
   7715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7716 /* end confdefs.h.  */
   7717 int i;
   7718 _ACEOF
   7719 if ac_fn_c_try_compile "$LINENO"
   7720 then :
   7721   xorg_cv_cc_flag_unused_command_line_argument=yes
   7722 else $as_nop
   7723   xorg_cv_cc_flag_unused_command_line_argument=no
   7724 fi
   7725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7726 fi
   7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7728 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7730 	CFLAGS="$xorg_testset_save_CFLAGS"
   7731 fi
   7732 
   7733 found="no"
   7734 
   7735 	if test $found = "no" ; then
   7736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7738 		fi
   7739 
   7740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7742 		fi
   7743 
   7744 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7745 
   7746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7747 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7748 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7749 		if eval test \${$cacheid+y}
   7750 then :
   7751   printf %s "(cached) " >&6
   7752 else $as_nop
   7753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7754 /* end confdefs.h.  */
   7755 int i;
   7756 int
   7757 main (void)
   7758 {
   7759 
   7760   ;
   7761   return 0;
   7762 }
   7763 _ACEOF
   7764 if ac_fn_c_try_link "$LINENO"
   7765 then :
   7766   eval $cacheid=yes
   7767 else $as_nop
   7768   eval $cacheid=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7771     conftest$ac_exeext conftest.$ac_ext
   7772 fi
   7773 
   7774 
   7775 		CFLAGS="$xorg_testset_save_CFLAGS"
   7776 
   7777 		eval supported=\$$cacheid
   7778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7779 printf "%s\n" "$supported" >&6; }
   7780 		if test "$supported" = "yes" ; then
   7781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7782 			found="yes"
   7783 		fi
   7784 	fi
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 xorg_testset_save_CFLAGS="$CFLAGS"
   7801 
   7802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7805 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7806 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7807 then :
   7808   printf %s "(cached) " >&6
   7809 else $as_nop
   7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 int i;
   7813 _ACEOF
   7814 if ac_fn_c_try_compile "$LINENO"
   7815 then :
   7816   xorg_cv_cc_flag_unknown_warning_option=yes
   7817 else $as_nop
   7818   xorg_cv_cc_flag_unknown_warning_option=no
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7821 fi
   7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7823 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 	fi
   7832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7834 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7835 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7836 then :
   7837   printf %s "(cached) " >&6
   7838 else $as_nop
   7839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7840 /* end confdefs.h.  */
   7841 int i;
   7842 _ACEOF
   7843 if ac_fn_c_try_compile "$LINENO"
   7844 then :
   7845   xorg_cv_cc_flag_unused_command_line_argument=yes
   7846 else $as_nop
   7847   xorg_cv_cc_flag_unused_command_line_argument=no
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7850 fi
   7851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7852 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7854 	CFLAGS="$xorg_testset_save_CFLAGS"
   7855 fi
   7856 
   7857 found="no"
   7858 
   7859 	if test $found = "no" ; then
   7860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7862 		fi
   7863 
   7864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7866 		fi
   7867 
   7868 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7869 
   7870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7871 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7872 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7873 		if eval test \${$cacheid+y}
   7874 then :
   7875   printf %s "(cached) " >&6
   7876 else $as_nop
   7877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7878 /* end confdefs.h.  */
   7879 int i;
   7880 int
   7881 main (void)
   7882 {
   7883 
   7884   ;
   7885   return 0;
   7886 }
   7887 _ACEOF
   7888 if ac_fn_c_try_link "$LINENO"
   7889 then :
   7890   eval $cacheid=yes
   7891 else $as_nop
   7892   eval $cacheid=no
   7893 fi
   7894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7895     conftest$ac_exeext conftest.$ac_ext
   7896 fi
   7897 
   7898 
   7899 		CFLAGS="$xorg_testset_save_CFLAGS"
   7900 
   7901 		eval supported=\$$cacheid
   7902 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7903 printf "%s\n" "$supported" >&6; }
   7904 		if test "$supported" = "yes" ; then
   7905 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7906 			found="yes"
   7907 		fi
   7908 	fi
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 xorg_testset_save_CFLAGS="$CFLAGS"
   7925 
   7926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7929 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7930 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7931 then :
   7932   printf %s "(cached) " >&6
   7933 else $as_nop
   7934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7935 /* end confdefs.h.  */
   7936 int i;
   7937 _ACEOF
   7938 if ac_fn_c_try_compile "$LINENO"
   7939 then :
   7940   xorg_cv_cc_flag_unknown_warning_option=yes
   7941 else $as_nop
   7942   xorg_cv_cc_flag_unknown_warning_option=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7945 fi
   7946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7947 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7949 	CFLAGS="$xorg_testset_save_CFLAGS"
   7950 fi
   7951 
   7952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7955 	fi
   7956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7958 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7959 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7960 then :
   7961   printf %s "(cached) " >&6
   7962 else $as_nop
   7963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7964 /* end confdefs.h.  */
   7965 int i;
   7966 _ACEOF
   7967 if ac_fn_c_try_compile "$LINENO"
   7968 then :
   7969   xorg_cv_cc_flag_unused_command_line_argument=yes
   7970 else $as_nop
   7971   xorg_cv_cc_flag_unused_command_line_argument=no
   7972 fi
   7973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7974 fi
   7975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7976 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7978 	CFLAGS="$xorg_testset_save_CFLAGS"
   7979 fi
   7980 
   7981 found="no"
   7982 
   7983 	if test $found = "no" ; then
   7984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7986 		fi
   7987 
   7988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7990 		fi
   7991 
   7992 		CFLAGS="$CFLAGS -Werror=return-type"
   7993 
   7994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7995 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7996 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7997 		if eval test \${$cacheid+y}
   7998 then :
   7999   printf %s "(cached) " >&6
   8000 else $as_nop
   8001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8002 /* end confdefs.h.  */
   8003 int i;
   8004 int
   8005 main (void)
   8006 {
   8007 
   8008   ;
   8009   return 0;
   8010 }
   8011 _ACEOF
   8012 if ac_fn_c_try_link "$LINENO"
   8013 then :
   8014   eval $cacheid=yes
   8015 else $as_nop
   8016   eval $cacheid=no
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8019     conftest$ac_exeext conftest.$ac_ext
   8020 fi
   8021 
   8022 
   8023 		CFLAGS="$xorg_testset_save_CFLAGS"
   8024 
   8025 		eval supported=\$$cacheid
   8026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8027 printf "%s\n" "$supported" >&6; }
   8028 		if test "$supported" = "yes" ; then
   8029 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8030 			found="yes"
   8031 		fi
   8032 	fi
   8033 
   8034 	if test $found = "no" ; then
   8035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8037 		fi
   8038 
   8039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8041 		fi
   8042 
   8043 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8044 
   8045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8046 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8047 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8048 		if eval test \${$cacheid+y}
   8049 then :
   8050   printf %s "(cached) " >&6
   8051 else $as_nop
   8052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8053 /* end confdefs.h.  */
   8054 int i;
   8055 int
   8056 main (void)
   8057 {
   8058 
   8059   ;
   8060   return 0;
   8061 }
   8062 _ACEOF
   8063 if ac_fn_c_try_link "$LINENO"
   8064 then :
   8065   eval $cacheid=yes
   8066 else $as_nop
   8067   eval $cacheid=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8070     conftest$ac_exeext conftest.$ac_ext
   8071 fi
   8072 
   8073 
   8074 		CFLAGS="$xorg_testset_save_CFLAGS"
   8075 
   8076 		eval supported=\$$cacheid
   8077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8078 printf "%s\n" "$supported" >&6; }
   8079 		if test "$supported" = "yes" ; then
   8080 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8081 			found="yes"
   8082 		fi
   8083 	fi
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 xorg_testset_save_CFLAGS="$CFLAGS"
   8100 
   8101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8106 then :
   8107   printf %s "(cached) " >&6
   8108 else $as_nop
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 _ACEOF
   8113 if ac_fn_c_try_compile "$LINENO"
   8114 then :
   8115   xorg_cv_cc_flag_unknown_warning_option=yes
   8116 else $as_nop
   8117   xorg_cv_cc_flag_unknown_warning_option=no
   8118 fi
   8119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8120 fi
   8121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8124 	CFLAGS="$xorg_testset_save_CFLAGS"
   8125 fi
   8126 
   8127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	fi
   8131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8135 then :
   8136   printf %s "(cached) " >&6
   8137 else $as_nop
   8138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 int i;
   8141 _ACEOF
   8142 if ac_fn_c_try_compile "$LINENO"
   8143 then :
   8144   xorg_cv_cc_flag_unused_command_line_argument=yes
   8145 else $as_nop
   8146   xorg_cv_cc_flag_unused_command_line_argument=no
   8147 fi
   8148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8149 fi
   8150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8153 	CFLAGS="$xorg_testset_save_CFLAGS"
   8154 fi
   8155 
   8156 found="no"
   8157 
   8158 	if test $found = "no" ; then
   8159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8161 		fi
   8162 
   8163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8165 		fi
   8166 
   8167 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8168 
   8169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8170 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8171 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8172 		if eval test \${$cacheid+y}
   8173 then :
   8174   printf %s "(cached) " >&6
   8175 else $as_nop
   8176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8177 /* end confdefs.h.  */
   8178 int i;
   8179 int
   8180 main (void)
   8181 {
   8182 
   8183   ;
   8184   return 0;
   8185 }
   8186 _ACEOF
   8187 if ac_fn_c_try_link "$LINENO"
   8188 then :
   8189   eval $cacheid=yes
   8190 else $as_nop
   8191   eval $cacheid=no
   8192 fi
   8193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8194     conftest$ac_exeext conftest.$ac_ext
   8195 fi
   8196 
   8197 
   8198 		CFLAGS="$xorg_testset_save_CFLAGS"
   8199 
   8200 		eval supported=\$$cacheid
   8201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8202 printf "%s\n" "$supported" >&6; }
   8203 		if test "$supported" = "yes" ; then
   8204 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8205 			found="yes"
   8206 		fi
   8207 	fi
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 xorg_testset_save_CFLAGS="$CFLAGS"
   8224 
   8225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8228 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8229 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8230 then :
   8231   printf %s "(cached) " >&6
   8232 else $as_nop
   8233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8234 /* end confdefs.h.  */
   8235 int i;
   8236 _ACEOF
   8237 if ac_fn_c_try_compile "$LINENO"
   8238 then :
   8239   xorg_cv_cc_flag_unknown_warning_option=yes
   8240 else $as_nop
   8241   xorg_cv_cc_flag_unknown_warning_option=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8244 fi
   8245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8246 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8248 	CFLAGS="$xorg_testset_save_CFLAGS"
   8249 fi
   8250 
   8251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 	fi
   8255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8257 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8258 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8259 then :
   8260   printf %s "(cached) " >&6
   8261 else $as_nop
   8262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8263 /* end confdefs.h.  */
   8264 int i;
   8265 _ACEOF
   8266 if ac_fn_c_try_compile "$LINENO"
   8267 then :
   8268   xorg_cv_cc_flag_unused_command_line_argument=yes
   8269 else $as_nop
   8270   xorg_cv_cc_flag_unused_command_line_argument=no
   8271 fi
   8272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8273 fi
   8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8277 	CFLAGS="$xorg_testset_save_CFLAGS"
   8278 fi
   8279 
   8280 found="no"
   8281 
   8282 	if test $found = "no" ; then
   8283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8285 		fi
   8286 
   8287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8289 		fi
   8290 
   8291 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8292 
   8293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8294 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8295 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8296 		if eval test \${$cacheid+y}
   8297 then :
   8298   printf %s "(cached) " >&6
   8299 else $as_nop
   8300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 int
   8304 main (void)
   8305 {
   8306 
   8307   ;
   8308   return 0;
   8309 }
   8310 _ACEOF
   8311 if ac_fn_c_try_link "$LINENO"
   8312 then :
   8313   eval $cacheid=yes
   8314 else $as_nop
   8315   eval $cacheid=no
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8318     conftest$ac_exeext conftest.$ac_ext
   8319 fi
   8320 
   8321 
   8322 		CFLAGS="$xorg_testset_save_CFLAGS"
   8323 
   8324 		eval supported=\$$cacheid
   8325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8326 printf "%s\n" "$supported" >&6; }
   8327 		if test "$supported" = "yes" ; then
   8328 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8329 			found="yes"
   8330 		fi
   8331 	fi
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 xorg_testset_save_CFLAGS="$CFLAGS"
   8348 
   8349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8352 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8353 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8354 then :
   8355   printf %s "(cached) " >&6
   8356 else $as_nop
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"
   8362 then :
   8363   xorg_cv_cc_flag_unknown_warning_option=yes
   8364 else $as_nop
   8365   xorg_cv_cc_flag_unknown_warning_option=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8368 fi
   8369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8370 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8378 	fi
   8379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8381 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8382 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8383 then :
   8384   printf %s "(cached) " >&6
   8385 else $as_nop
   8386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8387 /* end confdefs.h.  */
   8388 int i;
   8389 _ACEOF
   8390 if ac_fn_c_try_compile "$LINENO"
   8391 then :
   8392   xorg_cv_cc_flag_unused_command_line_argument=yes
   8393 else $as_nop
   8394   xorg_cv_cc_flag_unused_command_line_argument=no
   8395 fi
   8396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8397 fi
   8398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8399 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8401 	CFLAGS="$xorg_testset_save_CFLAGS"
   8402 fi
   8403 
   8404 found="no"
   8405 
   8406 	if test $found = "no" ; then
   8407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8409 		fi
   8410 
   8411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8413 		fi
   8414 
   8415 		CFLAGS="$CFLAGS -Werror=write-strings"
   8416 
   8417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8418 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8419 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8420 		if eval test \${$cacheid+y}
   8421 then :
   8422   printf %s "(cached) " >&6
   8423 else $as_nop
   8424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int i;
   8427 int
   8428 main (void)
   8429 {
   8430 
   8431   ;
   8432   return 0;
   8433 }
   8434 _ACEOF
   8435 if ac_fn_c_try_link "$LINENO"
   8436 then :
   8437   eval $cacheid=yes
   8438 else $as_nop
   8439   eval $cacheid=no
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8442     conftest$ac_exeext conftest.$ac_ext
   8443 fi
   8444 
   8445 
   8446 		CFLAGS="$xorg_testset_save_CFLAGS"
   8447 
   8448 		eval supported=\$$cacheid
   8449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8450 printf "%s\n" "$supported" >&6; }
   8451 		if test "$supported" = "yes" ; then
   8452 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8453 			found="yes"
   8454 		fi
   8455 	fi
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 xorg_testset_save_CFLAGS="$CFLAGS"
   8472 
   8473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8478 then :
   8479   printf %s "(cached) " >&6
   8480 else $as_nop
   8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 _ACEOF
   8485 if ac_fn_c_try_compile "$LINENO"
   8486 then :
   8487   xorg_cv_cc_flag_unknown_warning_option=yes
   8488 else $as_nop
   8489   xorg_cv_cc_flag_unknown_warning_option=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8492 fi
   8493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8494 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8496 	CFLAGS="$xorg_testset_save_CFLAGS"
   8497 fi
   8498 
   8499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 	fi
   8503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8504 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8505 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8506 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8507 then :
   8508   printf %s "(cached) " >&6
   8509 else $as_nop
   8510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8511 /* end confdefs.h.  */
   8512 int i;
   8513 _ACEOF
   8514 if ac_fn_c_try_compile "$LINENO"
   8515 then :
   8516   xorg_cv_cc_flag_unused_command_line_argument=yes
   8517 else $as_nop
   8518   xorg_cv_cc_flag_unused_command_line_argument=no
   8519 fi
   8520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8521 fi
   8522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8523 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8525 	CFLAGS="$xorg_testset_save_CFLAGS"
   8526 fi
   8527 
   8528 found="no"
   8529 
   8530 	if test $found = "no" ; then
   8531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 		fi
   8534 
   8535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8537 		fi
   8538 
   8539 		CFLAGS="$CFLAGS -Werror=address"
   8540 
   8541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8542 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8543 		cacheid=xorg_cv_cc_flag__Werror_address
   8544 		if eval test \${$cacheid+y}
   8545 then :
   8546   printf %s "(cached) " >&6
   8547 else $as_nop
   8548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8549 /* end confdefs.h.  */
   8550 int i;
   8551 int
   8552 main (void)
   8553 {
   8554 
   8555   ;
   8556   return 0;
   8557 }
   8558 _ACEOF
   8559 if ac_fn_c_try_link "$LINENO"
   8560 then :
   8561   eval $cacheid=yes
   8562 else $as_nop
   8563   eval $cacheid=no
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8566     conftest$ac_exeext conftest.$ac_ext
   8567 fi
   8568 
   8569 
   8570 		CFLAGS="$xorg_testset_save_CFLAGS"
   8571 
   8572 		eval supported=\$$cacheid
   8573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8574 printf "%s\n" "$supported" >&6; }
   8575 		if test "$supported" = "yes" ; then
   8576 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8577 			found="yes"
   8578 		fi
   8579 	fi
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 xorg_testset_save_CFLAGS="$CFLAGS"
   8596 
   8597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8602 then :
   8603   printf %s "(cached) " >&6
   8604 else $as_nop
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 _ACEOF
   8609 if ac_fn_c_try_compile "$LINENO"
   8610 then :
   8611   xorg_cv_cc_flag_unknown_warning_option=yes
   8612 else $as_nop
   8613   xorg_cv_cc_flag_unknown_warning_option=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8616 fi
   8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8618 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8620 	CFLAGS="$xorg_testset_save_CFLAGS"
   8621 fi
   8622 
   8623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 	fi
   8627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8628 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8629 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8630 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8631 then :
   8632   printf %s "(cached) " >&6
   8633 else $as_nop
   8634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8635 /* end confdefs.h.  */
   8636 int i;
   8637 _ACEOF
   8638 if ac_fn_c_try_compile "$LINENO"
   8639 then :
   8640   xorg_cv_cc_flag_unused_command_line_argument=yes
   8641 else $as_nop
   8642   xorg_cv_cc_flag_unused_command_line_argument=no
   8643 fi
   8644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8645 fi
   8646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8647 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8649 	CFLAGS="$xorg_testset_save_CFLAGS"
   8650 fi
   8651 
   8652 found="no"
   8653 
   8654 	if test $found = "no" ; then
   8655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8657 		fi
   8658 
   8659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8661 		fi
   8662 
   8663 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8664 
   8665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8666 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8667 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8668 		if eval test \${$cacheid+y}
   8669 then :
   8670   printf %s "(cached) " >&6
   8671 else $as_nop
   8672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8673 /* end confdefs.h.  */
   8674 int i;
   8675 int
   8676 main (void)
   8677 {
   8678 
   8679   ;
   8680   return 0;
   8681 }
   8682 _ACEOF
   8683 if ac_fn_c_try_link "$LINENO"
   8684 then :
   8685   eval $cacheid=yes
   8686 else $as_nop
   8687   eval $cacheid=no
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8690     conftest$ac_exeext conftest.$ac_ext
   8691 fi
   8692 
   8693 
   8694 		CFLAGS="$xorg_testset_save_CFLAGS"
   8695 
   8696 		eval supported=\$$cacheid
   8697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8698 printf "%s\n" "$supported" >&6; }
   8699 		if test "$supported" = "yes" ; then
   8700 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8701 			found="yes"
   8702 		fi
   8703 	fi
   8704 
   8705 	if test $found = "no" ; then
   8706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 		fi
   8709 
   8710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8712 		fi
   8713 
   8714 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8715 
   8716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8717 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8718 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8719 		if eval test \${$cacheid+y}
   8720 then :
   8721   printf %s "(cached) " >&6
   8722 else $as_nop
   8723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8724 /* end confdefs.h.  */
   8725 int i;
   8726 int
   8727 main (void)
   8728 {
   8729 
   8730   ;
   8731   return 0;
   8732 }
   8733 _ACEOF
   8734 if ac_fn_c_try_link "$LINENO"
   8735 then :
   8736   eval $cacheid=yes
   8737 else $as_nop
   8738   eval $cacheid=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8741     conftest$ac_exeext conftest.$ac_ext
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=\$$cacheid
   8748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 printf "%s\n" "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 xorg_testset_save_CFLAGS="$CFLAGS"
   8771 
   8772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8777 then :
   8778   printf %s "(cached) " >&6
   8779 else $as_nop
   8780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8781 /* end confdefs.h.  */
   8782 int i;
   8783 _ACEOF
   8784 if ac_fn_c_try_compile "$LINENO"
   8785 then :
   8786   xorg_cv_cc_flag_unknown_warning_option=yes
   8787 else $as_nop
   8788   xorg_cv_cc_flag_unknown_warning_option=no
   8789 fi
   8790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8791 fi
   8792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8793 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8795 	CFLAGS="$xorg_testset_save_CFLAGS"
   8796 fi
   8797 
   8798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 	fi
   8802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8806 then :
   8807   printf %s "(cached) " >&6
   8808 else $as_nop
   8809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8810 /* end confdefs.h.  */
   8811 int i;
   8812 _ACEOF
   8813 if ac_fn_c_try_compile "$LINENO"
   8814 then :
   8815   xorg_cv_cc_flag_unused_command_line_argument=yes
   8816 else $as_nop
   8817   xorg_cv_cc_flag_unused_command_line_argument=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8820 fi
   8821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8824 	CFLAGS="$xorg_testset_save_CFLAGS"
   8825 fi
   8826 
   8827 found="no"
   8828 
   8829 	if test $found = "no" ; then
   8830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8832 		fi
   8833 
   8834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8836 		fi
   8837 
   8838 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8839 
   8840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8841 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8842 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8843 		if eval test \${$cacheid+y}
   8844 then :
   8845   printf %s "(cached) " >&6
   8846 else $as_nop
   8847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8848 /* end confdefs.h.  */
   8849 int i;
   8850 int
   8851 main (void)
   8852 {
   8853 
   8854   ;
   8855   return 0;
   8856 }
   8857 _ACEOF
   8858 if ac_fn_c_try_link "$LINENO"
   8859 then :
   8860   eval $cacheid=yes
   8861 else $as_nop
   8862   eval $cacheid=no
   8863 fi
   8864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8865     conftest$ac_exeext conftest.$ac_ext
   8866 fi
   8867 
   8868 
   8869 		CFLAGS="$xorg_testset_save_CFLAGS"
   8870 
   8871 		eval supported=\$$cacheid
   8872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8873 printf "%s\n" "$supported" >&6; }
   8874 		if test "$supported" = "yes" ; then
   8875 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8876 			found="yes"
   8877 		fi
   8878 	fi
   8879 
   8880  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8881 else
   8882 { 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
   8883 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;}
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 xorg_testset_save_CFLAGS="$CFLAGS"
   8898 
   8899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8904 then :
   8905   printf %s "(cached) " >&6
   8906 else $as_nop
   8907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8908 /* end confdefs.h.  */
   8909 int i;
   8910 _ACEOF
   8911 if ac_fn_c_try_compile "$LINENO"
   8912 then :
   8913   xorg_cv_cc_flag_unknown_warning_option=yes
   8914 else $as_nop
   8915   xorg_cv_cc_flag_unknown_warning_option=no
   8916 fi
   8917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8918 fi
   8919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8922 	CFLAGS="$xorg_testset_save_CFLAGS"
   8923 fi
   8924 
   8925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8928 	fi
   8929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8933 then :
   8934   printf %s "(cached) " >&6
   8935 else $as_nop
   8936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8937 /* end confdefs.h.  */
   8938 int i;
   8939 _ACEOF
   8940 if ac_fn_c_try_compile "$LINENO"
   8941 then :
   8942   xorg_cv_cc_flag_unused_command_line_argument=yes
   8943 else $as_nop
   8944   xorg_cv_cc_flag_unused_command_line_argument=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8947 fi
   8948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8949 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 found="no"
   8955 
   8956 	if test $found = "no" ; then
   8957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8959 		fi
   8960 
   8961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8963 		fi
   8964 
   8965 		CFLAGS="$CFLAGS -Wimplicit"
   8966 
   8967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8968 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8969 		cacheid=xorg_cv_cc_flag__Wimplicit
   8970 		if eval test \${$cacheid+y}
   8971 then :
   8972   printf %s "(cached) " >&6
   8973 else $as_nop
   8974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8975 /* end confdefs.h.  */
   8976 int i;
   8977 int
   8978 main (void)
   8979 {
   8980 
   8981   ;
   8982   return 0;
   8983 }
   8984 _ACEOF
   8985 if ac_fn_c_try_link "$LINENO"
   8986 then :
   8987   eval $cacheid=yes
   8988 else $as_nop
   8989   eval $cacheid=no
   8990 fi
   8991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8992     conftest$ac_exeext conftest.$ac_ext
   8993 fi
   8994 
   8995 
   8996 		CFLAGS="$xorg_testset_save_CFLAGS"
   8997 
   8998 		eval supported=\$$cacheid
   8999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9000 printf "%s\n" "$supported" >&6; }
   9001 		if test "$supported" = "yes" ; then
   9002 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9003 			found="yes"
   9004 		fi
   9005 	fi
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 xorg_testset_save_CFLAGS="$CFLAGS"
   9022 
   9023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9028 then :
   9029   printf %s "(cached) " >&6
   9030 else $as_nop
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"
   9036 then :
   9037   xorg_cv_cc_flag_unknown_warning_option=yes
   9038 else $as_nop
   9039   xorg_cv_cc_flag_unknown_warning_option=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9042 fi
   9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9046 	CFLAGS="$xorg_testset_save_CFLAGS"
   9047 fi
   9048 
   9049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 	fi
   9053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9057 then :
   9058   printf %s "(cached) " >&6
   9059 else $as_nop
   9060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9061 /* end confdefs.h.  */
   9062 int i;
   9063 _ACEOF
   9064 if ac_fn_c_try_compile "$LINENO"
   9065 then :
   9066   xorg_cv_cc_flag_unused_command_line_argument=yes
   9067 else $as_nop
   9068   xorg_cv_cc_flag_unused_command_line_argument=no
   9069 fi
   9070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9071 fi
   9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9075 	CFLAGS="$xorg_testset_save_CFLAGS"
   9076 fi
   9077 
   9078 found="no"
   9079 
   9080 	if test $found = "no" ; then
   9081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9083 		fi
   9084 
   9085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9087 		fi
   9088 
   9089 		CFLAGS="$CFLAGS -Wnonnull"
   9090 
   9091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9092 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9093 		cacheid=xorg_cv_cc_flag__Wnonnull
   9094 		if eval test \${$cacheid+y}
   9095 then :
   9096   printf %s "(cached) " >&6
   9097 else $as_nop
   9098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9099 /* end confdefs.h.  */
   9100 int i;
   9101 int
   9102 main (void)
   9103 {
   9104 
   9105   ;
   9106   return 0;
   9107 }
   9108 _ACEOF
   9109 if ac_fn_c_try_link "$LINENO"
   9110 then :
   9111   eval $cacheid=yes
   9112 else $as_nop
   9113   eval $cacheid=no
   9114 fi
   9115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9116     conftest$ac_exeext conftest.$ac_ext
   9117 fi
   9118 
   9119 
   9120 		CFLAGS="$xorg_testset_save_CFLAGS"
   9121 
   9122 		eval supported=\$$cacheid
   9123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9124 printf "%s\n" "$supported" >&6; }
   9125 		if test "$supported" = "yes" ; then
   9126 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9127 			found="yes"
   9128 		fi
   9129 	fi
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 xorg_testset_save_CFLAGS="$CFLAGS"
   9146 
   9147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9152 then :
   9153   printf %s "(cached) " >&6
   9154 else $as_nop
   9155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9156 /* end confdefs.h.  */
   9157 int i;
   9158 _ACEOF
   9159 if ac_fn_c_try_compile "$LINENO"
   9160 then :
   9161   xorg_cv_cc_flag_unknown_warning_option=yes
   9162 else $as_nop
   9163   xorg_cv_cc_flag_unknown_warning_option=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9166 fi
   9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 	fi
   9177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9181 then :
   9182   printf %s "(cached) " >&6
   9183 else $as_nop
   9184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9185 /* end confdefs.h.  */
   9186 int i;
   9187 _ACEOF
   9188 if ac_fn_c_try_compile "$LINENO"
   9189 then :
   9190   xorg_cv_cc_flag_unused_command_line_argument=yes
   9191 else $as_nop
   9192   xorg_cv_cc_flag_unused_command_line_argument=no
   9193 fi
   9194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9195 fi
   9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9199 	CFLAGS="$xorg_testset_save_CFLAGS"
   9200 fi
   9201 
   9202 found="no"
   9203 
   9204 	if test $found = "no" ; then
   9205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9207 		fi
   9208 
   9209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9211 		fi
   9212 
   9213 		CFLAGS="$CFLAGS -Winit-self"
   9214 
   9215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9216 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9217 		cacheid=xorg_cv_cc_flag__Winit_self
   9218 		if eval test \${$cacheid+y}
   9219 then :
   9220   printf %s "(cached) " >&6
   9221 else $as_nop
   9222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9223 /* end confdefs.h.  */
   9224 int i;
   9225 int
   9226 main (void)
   9227 {
   9228 
   9229   ;
   9230   return 0;
   9231 }
   9232 _ACEOF
   9233 if ac_fn_c_try_link "$LINENO"
   9234 then :
   9235   eval $cacheid=yes
   9236 else $as_nop
   9237   eval $cacheid=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241 fi
   9242 
   9243 
   9244 		CFLAGS="$xorg_testset_save_CFLAGS"
   9245 
   9246 		eval supported=\$$cacheid
   9247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9248 printf "%s\n" "$supported" >&6; }
   9249 		if test "$supported" = "yes" ; then
   9250 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9251 			found="yes"
   9252 		fi
   9253 	fi
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 xorg_testset_save_CFLAGS="$CFLAGS"
   9270 
   9271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9276 then :
   9277   printf %s "(cached) " >&6
   9278 else $as_nop
   9279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9280 /* end confdefs.h.  */
   9281 int i;
   9282 _ACEOF
   9283 if ac_fn_c_try_compile "$LINENO"
   9284 then :
   9285   xorg_cv_cc_flag_unknown_warning_option=yes
   9286 else $as_nop
   9287   xorg_cv_cc_flag_unknown_warning_option=no
   9288 fi
   9289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9290 fi
   9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9294 	CFLAGS="$xorg_testset_save_CFLAGS"
   9295 fi
   9296 
   9297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 	fi
   9301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9305 then :
   9306   printf %s "(cached) " >&6
   9307 else $as_nop
   9308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9309 /* end confdefs.h.  */
   9310 int i;
   9311 _ACEOF
   9312 if ac_fn_c_try_compile "$LINENO"
   9313 then :
   9314   xorg_cv_cc_flag_unused_command_line_argument=yes
   9315 else $as_nop
   9316   xorg_cv_cc_flag_unused_command_line_argument=no
   9317 fi
   9318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9319 fi
   9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9323 	CFLAGS="$xorg_testset_save_CFLAGS"
   9324 fi
   9325 
   9326 found="no"
   9327 
   9328 	if test $found = "no" ; then
   9329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9331 		fi
   9332 
   9333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9335 		fi
   9336 
   9337 		CFLAGS="$CFLAGS -Wmain"
   9338 
   9339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9340 printf %s "checking if $CC supports -Wmain... " >&6; }
   9341 		cacheid=xorg_cv_cc_flag__Wmain
   9342 		if eval test \${$cacheid+y}
   9343 then :
   9344   printf %s "(cached) " >&6
   9345 else $as_nop
   9346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9347 /* end confdefs.h.  */
   9348 int i;
   9349 int
   9350 main (void)
   9351 {
   9352 
   9353   ;
   9354   return 0;
   9355 }
   9356 _ACEOF
   9357 if ac_fn_c_try_link "$LINENO"
   9358 then :
   9359   eval $cacheid=yes
   9360 else $as_nop
   9361   eval $cacheid=no
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9364     conftest$ac_exeext conftest.$ac_ext
   9365 fi
   9366 
   9367 
   9368 		CFLAGS="$xorg_testset_save_CFLAGS"
   9369 
   9370 		eval supported=\$$cacheid
   9371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9372 printf "%s\n" "$supported" >&6; }
   9373 		if test "$supported" = "yes" ; then
   9374 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9375 			found="yes"
   9376 		fi
   9377 	fi
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 xorg_testset_save_CFLAGS="$CFLAGS"
   9394 
   9395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else $as_nop
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"
   9408 then :
   9409   xorg_cv_cc_flag_unknown_warning_option=yes
   9410 else $as_nop
   9411   xorg_cv_cc_flag_unknown_warning_option=no
   9412 fi
   9413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9414 fi
   9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9416 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9418 	CFLAGS="$xorg_testset_save_CFLAGS"
   9419 fi
   9420 
   9421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9424 	fi
   9425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9429 then :
   9430   printf %s "(cached) " >&6
   9431 else $as_nop
   9432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9433 /* end confdefs.h.  */
   9434 int i;
   9435 _ACEOF
   9436 if ac_fn_c_try_compile "$LINENO"
   9437 then :
   9438   xorg_cv_cc_flag_unused_command_line_argument=yes
   9439 else $as_nop
   9440   xorg_cv_cc_flag_unused_command_line_argument=no
   9441 fi
   9442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9443 fi
   9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9447 	CFLAGS="$xorg_testset_save_CFLAGS"
   9448 fi
   9449 
   9450 found="no"
   9451 
   9452 	if test $found = "no" ; then
   9453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9455 		fi
   9456 
   9457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9459 		fi
   9460 
   9461 		CFLAGS="$CFLAGS -Wmissing-braces"
   9462 
   9463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9464 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9465 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9466 		if eval test \${$cacheid+y}
   9467 then :
   9468   printf %s "(cached) " >&6
   9469 else $as_nop
   9470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9471 /* end confdefs.h.  */
   9472 int i;
   9473 int
   9474 main (void)
   9475 {
   9476 
   9477   ;
   9478   return 0;
   9479 }
   9480 _ACEOF
   9481 if ac_fn_c_try_link "$LINENO"
   9482 then :
   9483   eval $cacheid=yes
   9484 else $as_nop
   9485   eval $cacheid=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9488     conftest$ac_exeext conftest.$ac_ext
   9489 fi
   9490 
   9491 
   9492 		CFLAGS="$xorg_testset_save_CFLAGS"
   9493 
   9494 		eval supported=\$$cacheid
   9495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9496 printf "%s\n" "$supported" >&6; }
   9497 		if test "$supported" = "yes" ; then
   9498 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9499 			found="yes"
   9500 		fi
   9501 	fi
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 xorg_testset_save_CFLAGS="$CFLAGS"
   9518 
   9519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9522 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9523 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9524 then :
   9525   printf %s "(cached) " >&6
   9526 else $as_nop
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"
   9532 then :
   9533   xorg_cv_cc_flag_unknown_warning_option=yes
   9534 else $as_nop
   9535   xorg_cv_cc_flag_unknown_warning_option=no
   9536 fi
   9537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9538 fi
   9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9540 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9542 	CFLAGS="$xorg_testset_save_CFLAGS"
   9543 fi
   9544 
   9545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9548 	fi
   9549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9551 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9552 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9553 then :
   9554   printf %s "(cached) " >&6
   9555 else $as_nop
   9556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9557 /* end confdefs.h.  */
   9558 int i;
   9559 _ACEOF
   9560 if ac_fn_c_try_compile "$LINENO"
   9561 then :
   9562   xorg_cv_cc_flag_unused_command_line_argument=yes
   9563 else $as_nop
   9564   xorg_cv_cc_flag_unused_command_line_argument=no
   9565 fi
   9566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9567 fi
   9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9571 	CFLAGS="$xorg_testset_save_CFLAGS"
   9572 fi
   9573 
   9574 found="no"
   9575 
   9576 	if test $found = "no" ; then
   9577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9579 		fi
   9580 
   9581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9583 		fi
   9584 
   9585 		CFLAGS="$CFLAGS -Wsequence-point"
   9586 
   9587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9588 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9589 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9590 		if eval test \${$cacheid+y}
   9591 then :
   9592   printf %s "(cached) " >&6
   9593 else $as_nop
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 int
   9598 main (void)
   9599 {
   9600 
   9601   ;
   9602   return 0;
   9603 }
   9604 _ACEOF
   9605 if ac_fn_c_try_link "$LINENO"
   9606 then :
   9607   eval $cacheid=yes
   9608 else $as_nop
   9609   eval $cacheid=no
   9610 fi
   9611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9612     conftest$ac_exeext conftest.$ac_ext
   9613 fi
   9614 
   9615 
   9616 		CFLAGS="$xorg_testset_save_CFLAGS"
   9617 
   9618 		eval supported=\$$cacheid
   9619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9620 printf "%s\n" "$supported" >&6; }
   9621 		if test "$supported" = "yes" ; then
   9622 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9623 			found="yes"
   9624 		fi
   9625 	fi
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 xorg_testset_save_CFLAGS="$CFLAGS"
   9642 
   9643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9646 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9647 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9648 then :
   9649   printf %s "(cached) " >&6
   9650 else $as_nop
   9651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9652 /* end confdefs.h.  */
   9653 int i;
   9654 _ACEOF
   9655 if ac_fn_c_try_compile "$LINENO"
   9656 then :
   9657   xorg_cv_cc_flag_unknown_warning_option=yes
   9658 else $as_nop
   9659   xorg_cv_cc_flag_unknown_warning_option=no
   9660 fi
   9661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9662 fi
   9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9664 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9666 	CFLAGS="$xorg_testset_save_CFLAGS"
   9667 fi
   9668 
   9669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9672 	fi
   9673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9675 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9676 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9677 then :
   9678   printf %s "(cached) " >&6
   9679 else $as_nop
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 _ACEOF
   9684 if ac_fn_c_try_compile "$LINENO"
   9685 then :
   9686   xorg_cv_cc_flag_unused_command_line_argument=yes
   9687 else $as_nop
   9688   xorg_cv_cc_flag_unused_command_line_argument=no
   9689 fi
   9690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9691 fi
   9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9693 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9695 	CFLAGS="$xorg_testset_save_CFLAGS"
   9696 fi
   9697 
   9698 found="no"
   9699 
   9700 	if test $found = "no" ; then
   9701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9703 		fi
   9704 
   9705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9707 		fi
   9708 
   9709 		CFLAGS="$CFLAGS -Wreturn-type"
   9710 
   9711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9712 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9713 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9714 		if eval test \${$cacheid+y}
   9715 then :
   9716   printf %s "(cached) " >&6
   9717 else $as_nop
   9718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9719 /* end confdefs.h.  */
   9720 int i;
   9721 int
   9722 main (void)
   9723 {
   9724 
   9725   ;
   9726   return 0;
   9727 }
   9728 _ACEOF
   9729 if ac_fn_c_try_link "$LINENO"
   9730 then :
   9731   eval $cacheid=yes
   9732 else $as_nop
   9733   eval $cacheid=no
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9736     conftest$ac_exeext conftest.$ac_ext
   9737 fi
   9738 
   9739 
   9740 		CFLAGS="$xorg_testset_save_CFLAGS"
   9741 
   9742 		eval supported=\$$cacheid
   9743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9744 printf "%s\n" "$supported" >&6; }
   9745 		if test "$supported" = "yes" ; then
   9746 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9747 			found="yes"
   9748 		fi
   9749 	fi
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 xorg_testset_save_CFLAGS="$CFLAGS"
   9766 
   9767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else $as_nop
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"
   9780 then :
   9781   xorg_cv_cc_flag_unknown_warning_option=yes
   9782 else $as_nop
   9783   xorg_cv_cc_flag_unknown_warning_option=no
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9786 fi
   9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9788 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9790 	CFLAGS="$xorg_testset_save_CFLAGS"
   9791 fi
   9792 
   9793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9796 	fi
   9797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9799 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9800 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9801 then :
   9802   printf %s "(cached) " >&6
   9803 else $as_nop
   9804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9805 /* end confdefs.h.  */
   9806 int i;
   9807 _ACEOF
   9808 if ac_fn_c_try_compile "$LINENO"
   9809 then :
   9810   xorg_cv_cc_flag_unused_command_line_argument=yes
   9811 else $as_nop
   9812   xorg_cv_cc_flag_unused_command_line_argument=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9815 fi
   9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9817 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9819 	CFLAGS="$xorg_testset_save_CFLAGS"
   9820 fi
   9821 
   9822 found="no"
   9823 
   9824 	if test $found = "no" ; then
   9825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9827 		fi
   9828 
   9829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9831 		fi
   9832 
   9833 		CFLAGS="$CFLAGS -Wtrigraphs"
   9834 
   9835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9836 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9837 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9838 		if eval test \${$cacheid+y}
   9839 then :
   9840   printf %s "(cached) " >&6
   9841 else $as_nop
   9842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9843 /* end confdefs.h.  */
   9844 int i;
   9845 int
   9846 main (void)
   9847 {
   9848 
   9849   ;
   9850   return 0;
   9851 }
   9852 _ACEOF
   9853 if ac_fn_c_try_link "$LINENO"
   9854 then :
   9855   eval $cacheid=yes
   9856 else $as_nop
   9857   eval $cacheid=no
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9860     conftest$ac_exeext conftest.$ac_ext
   9861 fi
   9862 
   9863 
   9864 		CFLAGS="$xorg_testset_save_CFLAGS"
   9865 
   9866 		eval supported=\$$cacheid
   9867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9868 printf "%s\n" "$supported" >&6; }
   9869 		if test "$supported" = "yes" ; then
   9870 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9871 			found="yes"
   9872 		fi
   9873 	fi
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 xorg_testset_save_CFLAGS="$CFLAGS"
   9890 
   9891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9896 then :
   9897   printf %s "(cached) " >&6
   9898 else $as_nop
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"
   9904 then :
   9905   xorg_cv_cc_flag_unknown_warning_option=yes
   9906 else $as_nop
   9907   xorg_cv_cc_flag_unknown_warning_option=no
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9910 fi
   9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9912 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9914 	CFLAGS="$xorg_testset_save_CFLAGS"
   9915 fi
   9916 
   9917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9920 	fi
   9921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9923 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9924 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9925 then :
   9926   printf %s "(cached) " >&6
   9927 else $as_nop
   9928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9929 /* end confdefs.h.  */
   9930 int i;
   9931 _ACEOF
   9932 if ac_fn_c_try_compile "$LINENO"
   9933 then :
   9934   xorg_cv_cc_flag_unused_command_line_argument=yes
   9935 else $as_nop
   9936   xorg_cv_cc_flag_unused_command_line_argument=no
   9937 fi
   9938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9939 fi
   9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9941 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9943 	CFLAGS="$xorg_testset_save_CFLAGS"
   9944 fi
   9945 
   9946 found="no"
   9947 
   9948 	if test $found = "no" ; then
   9949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9951 		fi
   9952 
   9953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9955 		fi
   9956 
   9957 		CFLAGS="$CFLAGS -Warray-bounds"
   9958 
   9959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9960 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9961 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9962 		if eval test \${$cacheid+y}
   9963 then :
   9964   printf %s "(cached) " >&6
   9965 else $as_nop
   9966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9967 /* end confdefs.h.  */
   9968 int i;
   9969 int
   9970 main (void)
   9971 {
   9972 
   9973   ;
   9974   return 0;
   9975 }
   9976 _ACEOF
   9977 if ac_fn_c_try_link "$LINENO"
   9978 then :
   9979   eval $cacheid=yes
   9980 else $as_nop
   9981   eval $cacheid=no
   9982 fi
   9983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9984     conftest$ac_exeext conftest.$ac_ext
   9985 fi
   9986 
   9987 
   9988 		CFLAGS="$xorg_testset_save_CFLAGS"
   9989 
   9990 		eval supported=\$$cacheid
   9991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9992 printf "%s\n" "$supported" >&6; }
   9993 		if test "$supported" = "yes" ; then
   9994 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9995 			found="yes"
   9996 		fi
   9997 	fi
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 xorg_testset_save_CFLAGS="$CFLAGS"
   10014 
   10015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10020 then :
   10021   printf %s "(cached) " >&6
   10022 else $as_nop
   10023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10024 /* end confdefs.h.  */
   10025 int i;
   10026 _ACEOF
   10027 if ac_fn_c_try_compile "$LINENO"
   10028 then :
   10029   xorg_cv_cc_flag_unknown_warning_option=yes
   10030 else $as_nop
   10031   xorg_cv_cc_flag_unknown_warning_option=no
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10034 fi
   10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10036 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10038 	CFLAGS="$xorg_testset_save_CFLAGS"
   10039 fi
   10040 
   10041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 	fi
   10045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10047 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10048 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10049 then :
   10050   printf %s "(cached) " >&6
   10051 else $as_nop
   10052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10053 /* end confdefs.h.  */
   10054 int i;
   10055 _ACEOF
   10056 if ac_fn_c_try_compile "$LINENO"
   10057 then :
   10058   xorg_cv_cc_flag_unused_command_line_argument=yes
   10059 else $as_nop
   10060   xorg_cv_cc_flag_unused_command_line_argument=no
   10061 fi
   10062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10063 fi
   10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10065 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10067 	CFLAGS="$xorg_testset_save_CFLAGS"
   10068 fi
   10069 
   10070 found="no"
   10071 
   10072 	if test $found = "no" ; then
   10073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10075 		fi
   10076 
   10077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10079 		fi
   10080 
   10081 		CFLAGS="$CFLAGS -Wwrite-strings"
   10082 
   10083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10084 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10085 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10086 		if eval test \${$cacheid+y}
   10087 then :
   10088   printf %s "(cached) " >&6
   10089 else $as_nop
   10090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10091 /* end confdefs.h.  */
   10092 int i;
   10093 int
   10094 main (void)
   10095 {
   10096 
   10097   ;
   10098   return 0;
   10099 }
   10100 _ACEOF
   10101 if ac_fn_c_try_link "$LINENO"
   10102 then :
   10103   eval $cacheid=yes
   10104 else $as_nop
   10105   eval $cacheid=no
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10108     conftest$ac_exeext conftest.$ac_ext
   10109 fi
   10110 
   10111 
   10112 		CFLAGS="$xorg_testset_save_CFLAGS"
   10113 
   10114 		eval supported=\$$cacheid
   10115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10116 printf "%s\n" "$supported" >&6; }
   10117 		if test "$supported" = "yes" ; then
   10118 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10119 			found="yes"
   10120 		fi
   10121 	fi
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 xorg_testset_save_CFLAGS="$CFLAGS"
   10138 
   10139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10144 then :
   10145   printf %s "(cached) " >&6
   10146 else $as_nop
   10147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 _ACEOF
   10151 if ac_fn_c_try_compile "$LINENO"
   10152 then :
   10153   xorg_cv_cc_flag_unknown_warning_option=yes
   10154 else $as_nop
   10155   xorg_cv_cc_flag_unknown_warning_option=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10158 fi
   10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10160 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 	fi
   10169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10171 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10172 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10173 then :
   10174   printf %s "(cached) " >&6
   10175 else $as_nop
   10176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10177 /* end confdefs.h.  */
   10178 int i;
   10179 _ACEOF
   10180 if ac_fn_c_try_compile "$LINENO"
   10181 then :
   10182   xorg_cv_cc_flag_unused_command_line_argument=yes
   10183 else $as_nop
   10184   xorg_cv_cc_flag_unused_command_line_argument=no
   10185 fi
   10186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10187 fi
   10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10191 	CFLAGS="$xorg_testset_save_CFLAGS"
   10192 fi
   10193 
   10194 found="no"
   10195 
   10196 	if test $found = "no" ; then
   10197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10199 		fi
   10200 
   10201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10203 		fi
   10204 
   10205 		CFLAGS="$CFLAGS -Waddress"
   10206 
   10207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10208 printf %s "checking if $CC supports -Waddress... " >&6; }
   10209 		cacheid=xorg_cv_cc_flag__Waddress
   10210 		if eval test \${$cacheid+y}
   10211 then :
   10212   printf %s "(cached) " >&6
   10213 else $as_nop
   10214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10215 /* end confdefs.h.  */
   10216 int i;
   10217 int
   10218 main (void)
   10219 {
   10220 
   10221   ;
   10222   return 0;
   10223 }
   10224 _ACEOF
   10225 if ac_fn_c_try_link "$LINENO"
   10226 then :
   10227   eval $cacheid=yes
   10228 else $as_nop
   10229   eval $cacheid=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10232     conftest$ac_exeext conftest.$ac_ext
   10233 fi
   10234 
   10235 
   10236 		CFLAGS="$xorg_testset_save_CFLAGS"
   10237 
   10238 		eval supported=\$$cacheid
   10239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10240 printf "%s\n" "$supported" >&6; }
   10241 		if test "$supported" = "yes" ; then
   10242 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10243 			found="yes"
   10244 		fi
   10245 	fi
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 xorg_testset_save_CFLAGS="$CFLAGS"
   10262 
   10263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10266 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10267 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10268 then :
   10269   printf %s "(cached) " >&6
   10270 else $as_nop
   10271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 _ACEOF
   10275 if ac_fn_c_try_compile "$LINENO"
   10276 then :
   10277   xorg_cv_cc_flag_unknown_warning_option=yes
   10278 else $as_nop
   10279   xorg_cv_cc_flag_unknown_warning_option=no
   10280 fi
   10281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10282 fi
   10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10286 	CFLAGS="$xorg_testset_save_CFLAGS"
   10287 fi
   10288 
   10289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10292 	fi
   10293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10297 then :
   10298   printf %s "(cached) " >&6
   10299 else $as_nop
   10300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 int i;
   10303 _ACEOF
   10304 if ac_fn_c_try_compile "$LINENO"
   10305 then :
   10306   xorg_cv_cc_flag_unused_command_line_argument=yes
   10307 else $as_nop
   10308   xorg_cv_cc_flag_unused_command_line_argument=no
   10309 fi
   10310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10311 fi
   10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10313 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10315 	CFLAGS="$xorg_testset_save_CFLAGS"
   10316 fi
   10317 
   10318 found="no"
   10319 
   10320 	if test $found = "no" ; then
   10321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10323 		fi
   10324 
   10325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10327 		fi
   10328 
   10329 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10330 
   10331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10332 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10333 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10334 		if eval test \${$cacheid+y}
   10335 then :
   10336   printf %s "(cached) " >&6
   10337 else $as_nop
   10338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10339 /* end confdefs.h.  */
   10340 int i;
   10341 int
   10342 main (void)
   10343 {
   10344 
   10345   ;
   10346   return 0;
   10347 }
   10348 _ACEOF
   10349 if ac_fn_c_try_link "$LINENO"
   10350 then :
   10351   eval $cacheid=yes
   10352 else $as_nop
   10353   eval $cacheid=no
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10356     conftest$ac_exeext conftest.$ac_ext
   10357 fi
   10358 
   10359 
   10360 		CFLAGS="$xorg_testset_save_CFLAGS"
   10361 
   10362 		eval supported=\$$cacheid
   10363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10364 printf "%s\n" "$supported" >&6; }
   10365 		if test "$supported" = "yes" ; then
   10366 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10367 			found="yes"
   10368 		fi
   10369 	fi
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 xorg_testset_save_CFLAGS="$CFLAGS"
   10386 
   10387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10390 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10391 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10392 then :
   10393   printf %s "(cached) " >&6
   10394 else $as_nop
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 int i;
   10398 _ACEOF
   10399 if ac_fn_c_try_compile "$LINENO"
   10400 then :
   10401   xorg_cv_cc_flag_unknown_warning_option=yes
   10402 else $as_nop
   10403   xorg_cv_cc_flag_unknown_warning_option=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10406 fi
   10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10410 	CFLAGS="$xorg_testset_save_CFLAGS"
   10411 fi
   10412 
   10413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	fi
   10417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10421 then :
   10422   printf %s "(cached) " >&6
   10423 else $as_nop
   10424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10425 /* end confdefs.h.  */
   10426 int i;
   10427 _ACEOF
   10428 if ac_fn_c_try_compile "$LINENO"
   10429 then :
   10430   xorg_cv_cc_flag_unused_command_line_argument=yes
   10431 else $as_nop
   10432   xorg_cv_cc_flag_unused_command_line_argument=no
   10433 fi
   10434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10435 fi
   10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10437 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10439 	CFLAGS="$xorg_testset_save_CFLAGS"
   10440 fi
   10441 
   10442 found="no"
   10443 
   10444 	if test $found = "no" ; then
   10445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10447 		fi
   10448 
   10449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10451 		fi
   10452 
   10453 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10454 
   10455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10456 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10457 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10458 		if eval test \${$cacheid+y}
   10459 then :
   10460   printf %s "(cached) " >&6
   10461 else $as_nop
   10462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10463 /* end confdefs.h.  */
   10464 int i;
   10465 int
   10466 main (void)
   10467 {
   10468 
   10469   ;
   10470   return 0;
   10471 }
   10472 _ACEOF
   10473 if ac_fn_c_try_link "$LINENO"
   10474 then :
   10475   eval $cacheid=yes
   10476 else $as_nop
   10477   eval $cacheid=no
   10478 fi
   10479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10480     conftest$ac_exeext conftest.$ac_ext
   10481 fi
   10482 
   10483 
   10484 		CFLAGS="$xorg_testset_save_CFLAGS"
   10485 
   10486 		eval supported=\$$cacheid
   10487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10488 printf "%s\n" "$supported" >&6; }
   10489 		if test "$supported" = "yes" ; then
   10490 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10491 			found="yes"
   10492 		fi
   10493 	fi
   10494 
   10495 
   10496 fi
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 		CWARNFLAGS="$BASE_CFLAGS"
   10505 		if  test "x$GCC" = xyes ; then
   10506 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10507 		fi
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 # Check whether --enable-strict-compilation was given.
   10517 if test ${enable_strict_compilation+y}
   10518 then :
   10519   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10520 else $as_nop
   10521   STRICT_COMPILE=no
   10522 fi
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 STRICT_CFLAGS=""
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 xorg_testset_save_CFLAGS="$CFLAGS"
   10544 
   10545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10548 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10549 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10550 then :
   10551   printf %s "(cached) " >&6
   10552 else $as_nop
   10553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10554 /* end confdefs.h.  */
   10555 int i;
   10556 _ACEOF
   10557 if ac_fn_c_try_compile "$LINENO"
   10558 then :
   10559   xorg_cv_cc_flag_unknown_warning_option=yes
   10560 else $as_nop
   10561   xorg_cv_cc_flag_unknown_warning_option=no
   10562 fi
   10563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10564 fi
   10565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10566 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10568 	CFLAGS="$xorg_testset_save_CFLAGS"
   10569 fi
   10570 
   10571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10574 	fi
   10575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10577 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10578 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10579 then :
   10580   printf %s "(cached) " >&6
   10581 else $as_nop
   10582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10583 /* end confdefs.h.  */
   10584 int i;
   10585 _ACEOF
   10586 if ac_fn_c_try_compile "$LINENO"
   10587 then :
   10588   xorg_cv_cc_flag_unused_command_line_argument=yes
   10589 else $as_nop
   10590   xorg_cv_cc_flag_unused_command_line_argument=no
   10591 fi
   10592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10593 fi
   10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10597 	CFLAGS="$xorg_testset_save_CFLAGS"
   10598 fi
   10599 
   10600 found="no"
   10601 
   10602 	if test $found = "no" ; then
   10603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10605 		fi
   10606 
   10607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10609 		fi
   10610 
   10611 		CFLAGS="$CFLAGS -pedantic"
   10612 
   10613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10614 printf %s "checking if $CC supports -pedantic... " >&6; }
   10615 		cacheid=xorg_cv_cc_flag__pedantic
   10616 		if eval test \${$cacheid+y}
   10617 then :
   10618   printf %s "(cached) " >&6
   10619 else $as_nop
   10620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10621 /* end confdefs.h.  */
   10622 int i;
   10623 int
   10624 main (void)
   10625 {
   10626 
   10627   ;
   10628   return 0;
   10629 }
   10630 _ACEOF
   10631 if ac_fn_c_try_link "$LINENO"
   10632 then :
   10633   eval $cacheid=yes
   10634 else $as_nop
   10635   eval $cacheid=no
   10636 fi
   10637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10638     conftest$ac_exeext conftest.$ac_ext
   10639 fi
   10640 
   10641 
   10642 		CFLAGS="$xorg_testset_save_CFLAGS"
   10643 
   10644 		eval supported=\$$cacheid
   10645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10646 printf "%s\n" "$supported" >&6; }
   10647 		if test "$supported" = "yes" ; then
   10648 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10649 			found="yes"
   10650 		fi
   10651 	fi
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 xorg_testset_save_CFLAGS="$CFLAGS"
   10668 
   10669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10674 then :
   10675   printf %s "(cached) " >&6
   10676 else $as_nop
   10677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10678 /* end confdefs.h.  */
   10679 int i;
   10680 _ACEOF
   10681 if ac_fn_c_try_compile "$LINENO"
   10682 then :
   10683   xorg_cv_cc_flag_unknown_warning_option=yes
   10684 else $as_nop
   10685   xorg_cv_cc_flag_unknown_warning_option=no
   10686 fi
   10687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10688 fi
   10689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10690 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10692 	CFLAGS="$xorg_testset_save_CFLAGS"
   10693 fi
   10694 
   10695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10698 	fi
   10699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10701 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10702 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10703 then :
   10704   printf %s "(cached) " >&6
   10705 else $as_nop
   10706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10707 /* end confdefs.h.  */
   10708 int i;
   10709 _ACEOF
   10710 if ac_fn_c_try_compile "$LINENO"
   10711 then :
   10712   xorg_cv_cc_flag_unused_command_line_argument=yes
   10713 else $as_nop
   10714   xorg_cv_cc_flag_unused_command_line_argument=no
   10715 fi
   10716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10717 fi
   10718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10721 	CFLAGS="$xorg_testset_save_CFLAGS"
   10722 fi
   10723 
   10724 found="no"
   10725 
   10726 	if test $found = "no" ; then
   10727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10729 		fi
   10730 
   10731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10733 		fi
   10734 
   10735 		CFLAGS="$CFLAGS -Werror"
   10736 
   10737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10738 printf %s "checking if $CC supports -Werror... " >&6; }
   10739 		cacheid=xorg_cv_cc_flag__Werror
   10740 		if eval test \${$cacheid+y}
   10741 then :
   10742   printf %s "(cached) " >&6
   10743 else $as_nop
   10744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10745 /* end confdefs.h.  */
   10746 int i;
   10747 int
   10748 main (void)
   10749 {
   10750 
   10751   ;
   10752   return 0;
   10753 }
   10754 _ACEOF
   10755 if ac_fn_c_try_link "$LINENO"
   10756 then :
   10757   eval $cacheid=yes
   10758 else $as_nop
   10759   eval $cacheid=no
   10760 fi
   10761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10762     conftest$ac_exeext conftest.$ac_ext
   10763 fi
   10764 
   10765 
   10766 		CFLAGS="$xorg_testset_save_CFLAGS"
   10767 
   10768 		eval supported=\$$cacheid
   10769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10770 printf "%s\n" "$supported" >&6; }
   10771 		if test "$supported" = "yes" ; then
   10772 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10773 			found="yes"
   10774 		fi
   10775 	fi
   10776 
   10777 	if test $found = "no" ; then
   10778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10780 		fi
   10781 
   10782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10784 		fi
   10785 
   10786 		CFLAGS="$CFLAGS -errwarn"
   10787 
   10788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10789 printf %s "checking if $CC supports -errwarn... " >&6; }
   10790 		cacheid=xorg_cv_cc_flag__errwarn
   10791 		if eval test \${$cacheid+y}
   10792 then :
   10793   printf %s "(cached) " >&6
   10794 else $as_nop
   10795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10796 /* end confdefs.h.  */
   10797 int i;
   10798 int
   10799 main (void)
   10800 {
   10801 
   10802   ;
   10803   return 0;
   10804 }
   10805 _ACEOF
   10806 if ac_fn_c_try_link "$LINENO"
   10807 then :
   10808   eval $cacheid=yes
   10809 else $as_nop
   10810   eval $cacheid=no
   10811 fi
   10812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10813     conftest$ac_exeext conftest.$ac_ext
   10814 fi
   10815 
   10816 
   10817 		CFLAGS="$xorg_testset_save_CFLAGS"
   10818 
   10819 		eval supported=\$$cacheid
   10820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10821 printf "%s\n" "$supported" >&6; }
   10822 		if test "$supported" = "yes" ; then
   10823 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10824 			found="yes"
   10825 		fi
   10826 	fi
   10827 
   10828 
   10829 
   10830 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10831 # activate it with -Werror, so we add it here explicitly.
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 xorg_testset_save_CFLAGS="$CFLAGS"
   10846 
   10847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10850 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10851 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10852 then :
   10853   printf %s "(cached) " >&6
   10854 else $as_nop
   10855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10856 /* end confdefs.h.  */
   10857 int i;
   10858 _ACEOF
   10859 if ac_fn_c_try_compile "$LINENO"
   10860 then :
   10861   xorg_cv_cc_flag_unknown_warning_option=yes
   10862 else $as_nop
   10863   xorg_cv_cc_flag_unknown_warning_option=no
   10864 fi
   10865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10866 fi
   10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10870 	CFLAGS="$xorg_testset_save_CFLAGS"
   10871 fi
   10872 
   10873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10876 	fi
   10877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10881 then :
   10882   printf %s "(cached) " >&6
   10883 else $as_nop
   10884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10885 /* end confdefs.h.  */
   10886 int i;
   10887 _ACEOF
   10888 if ac_fn_c_try_compile "$LINENO"
   10889 then :
   10890   xorg_cv_cc_flag_unused_command_line_argument=yes
   10891 else $as_nop
   10892   xorg_cv_cc_flag_unused_command_line_argument=no
   10893 fi
   10894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10895 fi
   10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10899 	CFLAGS="$xorg_testset_save_CFLAGS"
   10900 fi
   10901 
   10902 found="no"
   10903 
   10904 	if test $found = "no" ; then
   10905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10907 		fi
   10908 
   10909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10911 		fi
   10912 
   10913 		CFLAGS="$CFLAGS -Werror=attributes"
   10914 
   10915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10916 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10917 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10918 		if eval test \${$cacheid+y}
   10919 then :
   10920   printf %s "(cached) " >&6
   10921 else $as_nop
   10922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10923 /* end confdefs.h.  */
   10924 int i;
   10925 int
   10926 main (void)
   10927 {
   10928 
   10929   ;
   10930   return 0;
   10931 }
   10932 _ACEOF
   10933 if ac_fn_c_try_link "$LINENO"
   10934 then :
   10935   eval $cacheid=yes
   10936 else $as_nop
   10937   eval $cacheid=no
   10938 fi
   10939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10940     conftest$ac_exeext conftest.$ac_ext
   10941 fi
   10942 
   10943 
   10944 		CFLAGS="$xorg_testset_save_CFLAGS"
   10945 
   10946 		eval supported=\$$cacheid
   10947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10948 printf "%s\n" "$supported" >&6; }
   10949 		if test "$supported" = "yes" ; then
   10950 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10951 			found="yes"
   10952 		fi
   10953 	fi
   10954 
   10955 
   10956 
   10957 if test "x$STRICT_COMPILE" = "xyes"; then
   10958     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10959     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10960 fi
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 cat >>confdefs.h <<_ACEOF
   10970 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10971 _ACEOF
   10972 
   10973 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10974 	if test "x$PVM" = "x"; then
   10975 		PVM="0"
   10976 	fi
   10977 
   10978 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10979 
   10980 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10981 	if test "x$PVP" = "x"; then
   10982 		PVP="0"
   10983 	fi
   10984 
   10985 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10986 
   10987 
   10988 
   10989 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10990 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10991 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10992 touch \$(top_srcdir)/ChangeLog; \
   10993 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10994 
   10995 
   10996 
   10997 
   10998 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10999 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11000 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11001 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11002 touch \$(top_srcdir)/INSTALL; \
   11003 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 case $host_os in
   11011     solaris*)
   11012         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11013         # check for a man page file found in later versions that use
   11014         # traditional section numbers instead
   11015         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11016 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11017 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11018 then :
   11019   printf %s "(cached) " >&6
   11020 else $as_nop
   11021   test "$cross_compiling" = yes &&
   11022   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11023 if test -r "/usr/share/man/man7/attributes.7"; then
   11024   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11025 else
   11026   ac_cv_file__usr_share_man_man7_attributes_7=no
   11027 fi
   11028 fi
   11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11030 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11031 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11032 then :
   11033   SYSV_MAN_SECTIONS=false
   11034 else $as_nop
   11035   SYSV_MAN_SECTIONS=true
   11036 fi
   11037 
   11038         ;;
   11039     *) SYSV_MAN_SECTIONS=false ;;
   11040 esac
   11041 
   11042 if test x$APP_MAN_SUFFIX = x    ; then
   11043     APP_MAN_SUFFIX=1
   11044 fi
   11045 if test x$APP_MAN_DIR = x    ; then
   11046     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11047 fi
   11048 
   11049 if test x$LIB_MAN_SUFFIX = x    ; then
   11050     LIB_MAN_SUFFIX=3
   11051 fi
   11052 if test x$LIB_MAN_DIR = x    ; then
   11053     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11054 fi
   11055 
   11056 if test x$FILE_MAN_SUFFIX = x    ; then
   11057     case $SYSV_MAN_SECTIONS in
   11058 	true)				FILE_MAN_SUFFIX=4  ;;
   11059 	*)				FILE_MAN_SUFFIX=5  ;;
   11060     esac
   11061 fi
   11062 if test x$FILE_MAN_DIR = x    ; then
   11063     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11064 fi
   11065 
   11066 if test x$MISC_MAN_SUFFIX = x    ; then
   11067     case $SYSV_MAN_SECTIONS in
   11068 	true)				MISC_MAN_SUFFIX=5  ;;
   11069 	*)				MISC_MAN_SUFFIX=7  ;;
   11070     esac
   11071 fi
   11072 if test x$MISC_MAN_DIR = x    ; then
   11073     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11074 fi
   11075 
   11076 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11077     case $SYSV_MAN_SECTIONS in
   11078 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11079 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11080     esac
   11081 fi
   11082 if test x$DRIVER_MAN_DIR = x    ; then
   11083     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11084 fi
   11085 
   11086 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11087     case $SYSV_MAN_SECTIONS in
   11088 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11089 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11090     esac
   11091 fi
   11092 if test x$ADMIN_MAN_DIR = x    ; then
   11093     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11094 fi
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 XORG_MAN_PAGE="X Version 11"
   11111 
   11112 MAN_SUBSTS="\
   11113 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11114 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11115 	-e 's|__xservername__|Xorg|g' \
   11116 	-e 's|__xconfigfile__|xorg.conf|g' \
   11117 	-e 's|__projectroot__|\$(prefix)|g' \
   11118 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11119 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11120 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11121 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11122 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11123 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11124 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11125 
   11126 
   11127 
   11128 # Check whether --enable-silent-rules was given.
   11129 if test ${enable_silent_rules+y}
   11130 then :
   11131   enableval=$enable_silent_rules;
   11132 fi
   11133 
   11134 case $enable_silent_rules in # (((
   11135   yes) AM_DEFAULT_VERBOSITY=0;;
   11136    no) AM_DEFAULT_VERBOSITY=1;;
   11137     *) AM_DEFAULT_VERBOSITY=0;;
   11138 esac
   11139 am_make=${MAKE-make}
   11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11141 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11142 if test ${am_cv_make_support_nested_variables+y}
   11143 then :
   11144   printf %s "(cached) " >&6
   11145 else $as_nop
   11146   if printf "%s\n" 'TRUE=$(BAR$(V))
   11147 BAR0=false
   11148 BAR1=true
   11149 V=1
   11150 am__doit:
   11151 	@$(TRUE)
   11152 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11153   am_cv_make_support_nested_variables=yes
   11154 else
   11155   am_cv_make_support_nested_variables=no
   11156 fi
   11157 fi
   11158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11159 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11160 if test $am_cv_make_support_nested_variables = yes; then
   11161     AM_V='$(V)'
   11162   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11163 else
   11164   AM_V=$AM_DEFAULT_VERBOSITY
   11165   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11166 fi
   11167 AM_BACKSLASH='\'
   11168 
   11169 
   11170 
   11171 
   11172 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   11173 if test "x$ac_cv_func_strlcpy" = xyes
   11174 then :
   11175   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   11176 
   11177 fi
   11178 
   11179 
   11180 # Checks for pkg-config packages
   11181 
   11182 pkg_failed=no
   11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCALC" >&5
   11184 printf %s "checking for XCALC... " >&6; }
   11185 
   11186 if test -n "$XCALC_CFLAGS"; then
   11187     pkg_cv_XCALC_CFLAGS="$XCALC_CFLAGS"
   11188  elif test -n "$PKG_CONFIG"; then
   11189     if test -n "$PKG_CONFIG" && \
   11190     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   11191   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   11192   ac_status=$?
   11193   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11194   test $ac_status = 0; }; then
   11195   pkg_cv_XCALC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   11196 		      test "x$?" != "x0" && pkg_failed=yes
   11197 else
   11198   pkg_failed=yes
   11199 fi
   11200  else
   11201     pkg_failed=untried
   11202 fi
   11203 if test -n "$XCALC_LIBS"; then
   11204     pkg_cv_XCALC_LIBS="$XCALC_LIBS"
   11205  elif test -n "$PKG_CONFIG"; then
   11206     if test -n "$PKG_CONFIG" && \
   11207     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   11208   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   11209   ac_status=$?
   11210   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11211   test $ac_status = 0; }; then
   11212   pkg_cv_XCALC_LIBS=`$PKG_CONFIG --libs "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   11213 		      test "x$?" != "x0" && pkg_failed=yes
   11214 else
   11215   pkg_failed=yes
   11216 fi
   11217  else
   11218     pkg_failed=untried
   11219 fi
   11220 
   11221 
   11222 
   11223 if test $pkg_failed = yes; then
   11224    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11225 printf "%s\n" "no" >&6; }
   11226 
   11227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11228         _pkg_short_errors_supported=yes
   11229 else
   11230         _pkg_short_errors_supported=no
   11231 fi
   11232         if test $_pkg_short_errors_supported = yes; then
   11233 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   11234         else
   11235 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   11236         fi
   11237 	# Put the nasty error message in config.log where it belongs
   11238 	echo "$XCALC_PKG_ERRORS" >&5
   11239 
   11240 	as_fn_error $? "Package requirements (xaw7 xt x11 xproto >= 7.0.17) were not met:
   11241 
   11242 $XCALC_PKG_ERRORS
   11243 
   11244 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11245 installed software in a non-standard prefix.
   11246 
   11247 Alternatively, you may set the environment variables XCALC_CFLAGS
   11248 and XCALC_LIBS to avoid the need to call pkg-config.
   11249 See the pkg-config man page for more details." "$LINENO" 5
   11250 elif test $pkg_failed = untried; then
   11251      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11252 printf "%s\n" "no" >&6; }
   11253 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11255 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11256 is in your PATH or set the PKG_CONFIG environment variable to the full
   11257 path to pkg-config.
   11258 
   11259 Alternatively, you may set the environment variables XCALC_CFLAGS
   11260 and XCALC_LIBS to avoid the need to call pkg-config.
   11261 See the pkg-config man page for more details.
   11262 
   11263 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11264 See \`config.log' for more details" "$LINENO" 5; }
   11265 else
   11266 	XCALC_CFLAGS=$pkg_cv_XCALC_CFLAGS
   11267 	XCALC_LIBS=$pkg_cv_XCALC_LIBS
   11268         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11269 printf "%s\n" "yes" >&6; }
   11270 
   11271 fi
   11272 
   11273 
   11274 pkg_failed=no
   11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11276 printf %s "checking for APPDEFS... " >&6; }
   11277 
   11278 if test -n "$APPDEFS_CFLAGS"; then
   11279     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11280  elif test -n "$PKG_CONFIG"; then
   11281     if test -n "$PKG_CONFIG" && \
   11282     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11283   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11284   ac_status=$?
   11285   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11286   test $ac_status = 0; }; then
   11287   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11288 		      test "x$?" != "x0" && pkg_failed=yes
   11289 else
   11290   pkg_failed=yes
   11291 fi
   11292  else
   11293     pkg_failed=untried
   11294 fi
   11295 if test -n "$APPDEFS_LIBS"; then
   11296     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11297  elif test -n "$PKG_CONFIG"; then
   11298     if test -n "$PKG_CONFIG" && \
   11299     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11300   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11301   ac_status=$?
   11302   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11303   test $ac_status = 0; }; then
   11304   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11305 		      test "x$?" != "x0" && pkg_failed=yes
   11306 else
   11307   pkg_failed=yes
   11308 fi
   11309  else
   11310     pkg_failed=untried
   11311 fi
   11312 
   11313 
   11314 
   11315 if test $pkg_failed = yes; then
   11316    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11317 printf "%s\n" "no" >&6; }
   11318 
   11319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11320         _pkg_short_errors_supported=yes
   11321 else
   11322         _pkg_short_errors_supported=no
   11323 fi
   11324         if test $_pkg_short_errors_supported = yes; then
   11325 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11326         else
   11327 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11328         fi
   11329 	# Put the nasty error message in config.log where it belongs
   11330 	echo "$APPDEFS_PKG_ERRORS" >&5
   11331 
   11332 	as_fn_error $? "Package requirements (xt) were not met:
   11333 
   11334 $APPDEFS_PKG_ERRORS
   11335 
   11336 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11337 installed software in a non-standard prefix.
   11338 
   11339 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11340 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11341 See the pkg-config man page for more details." "$LINENO" 5
   11342 elif test $pkg_failed = untried; then
   11343      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11344 printf "%s\n" "no" >&6; }
   11345 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11346 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11347 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11348 is in your PATH or set the PKG_CONFIG environment variable to the full
   11349 path to pkg-config.
   11350 
   11351 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11352 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11353 See the pkg-config man page for more details.
   11354 
   11355 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11356 See \`config.log' for more details" "$LINENO" 5; }
   11357 else
   11358 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11359 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11360         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11361 printf "%s\n" "yes" >&6; }
   11362 
   11363 fi
   11364 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11365 
   11366 # Check whether --with-appdefaultdir was given.
   11367 if test ${with_appdefaultdir+y}
   11368 then :
   11369   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11370 else $as_nop
   11371   appdefaultdir="${xt_appdefaultdir}"
   11372 fi
   11373 
   11374 
   11375 
   11376 
   11377 ac_config_files="$ac_config_files Makefile man/Makefile"
   11378 
   11379 cat >confcache <<\_ACEOF
   11380 # This file is a shell script that caches the results of configure
   11381 # tests run on this system so they can be shared between configure
   11382 # scripts and configure runs, see configure's option --config-cache.
   11383 # It is not useful on other systems.  If it contains results you don't
   11384 # want to keep, you may remove or edit it.
   11385 #
   11386 # config.status only pays attention to the cache file if you give it
   11387 # the --recheck option to rerun configure.
   11388 #
   11389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11391 # following values.
   11392 
   11393 _ACEOF
   11394 
   11395 # The following way of writing the cache mishandles newlines in values,
   11396 # but we know of no workaround that is simple, portable, and efficient.
   11397 # So, we kill variables containing newlines.
   11398 # Ultrix sh set writes to stderr and can't be redirected directly,
   11399 # and sets the high bit in the cache file unless we assign to the vars.
   11400 (
   11401   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11402     eval ac_val=\$$ac_var
   11403     case $ac_val in #(
   11404     *${as_nl}*)
   11405       case $ac_var in #(
   11406       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11407 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11408       esac
   11409       case $ac_var in #(
   11410       _ | IFS | as_nl) ;; #(
   11411       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11412       *) { eval $ac_var=; unset $ac_var;} ;;
   11413       esac ;;
   11414     esac
   11415   done
   11416 
   11417   (set) 2>&1 |
   11418     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11419     *${as_nl}ac_space=\ *)
   11420       # `set' does not quote correctly, so add quotes: double-quote
   11421       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11422       sed -n \
   11423 	"s/'/'\\\\''/g;
   11424 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11425       ;; #(
   11426     *)
   11427       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11428       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11429       ;;
   11430     esac |
   11431     sort
   11432 ) |
   11433   sed '
   11434      /^ac_cv_env_/b end
   11435      t clear
   11436      :clear
   11437      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11438      t end
   11439      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11440      :end' >>confcache
   11441 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11442   if test -w "$cache_file"; then
   11443     if test "x$cache_file" != "x/dev/null"; then
   11444       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11445 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11446       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11447 	cat confcache >"$cache_file"
   11448       else
   11449         case $cache_file in #(
   11450         */* | ?:*)
   11451 	  mv -f confcache "$cache_file"$$ &&
   11452 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11453         *)
   11454 	  mv -f confcache "$cache_file" ;;
   11455 	esac
   11456       fi
   11457     fi
   11458   else
   11459     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11460 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11461   fi
   11462 fi
   11463 rm -f confcache
   11464 
   11465 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11466 # Let make expand exec_prefix.
   11467 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11468 
   11469 DEFS=-DHAVE_CONFIG_H
   11470 
   11471 ac_libobjs=
   11472 ac_ltlibobjs=
   11473 U=
   11474 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11475   # 1. Remove the extension, and $U if already installed.
   11476   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11477   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11478   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11479   #    will be set to the directory where LIBOBJS objects are built.
   11480   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11481   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11482 done
   11483 LIBOBJS=$ac_libobjs
   11484 
   11485 LTLIBOBJS=$ac_ltlibobjs
   11486 
   11487 
   11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11489 printf %s "checking that generated files are newer than configure... " >&6; }
   11490    if test -n "$am_sleep_pid"; then
   11491      # Hide warnings about reused PIDs.
   11492      wait $am_sleep_pid 2>/dev/null
   11493    fi
   11494    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11495 printf "%s\n" "done" >&6; }
   11496  if test -n "$EXEEXT"; then
   11497   am__EXEEXT_TRUE=
   11498   am__EXEEXT_FALSE='#'
   11499 else
   11500   am__EXEEXT_TRUE='#'
   11501   am__EXEEXT_FALSE=
   11502 fi
   11503 
   11504 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11505   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11507 fi
   11508 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11509   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11511 fi
   11512 
   11513 : "${CONFIG_STATUS=./config.status}"
   11514 ac_write_fail=0
   11515 ac_clean_files_save=$ac_clean_files
   11516 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11518 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11519 as_write_fail=0
   11520 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11521 #! $SHELL
   11522 # Generated by $as_me.
   11523 # Run this file to recreate the current configuration.
   11524 # Compiler output produced by configure, useful for debugging
   11525 # configure, is in config.log if it exists.
   11526 
   11527 debug=false
   11528 ac_cs_recheck=false
   11529 ac_cs_silent=false
   11530 
   11531 SHELL=\${CONFIG_SHELL-$SHELL}
   11532 export SHELL
   11533 _ASEOF
   11534 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11535 ## -------------------- ##
   11536 ## M4sh Initialization. ##
   11537 ## -------------------- ##
   11538 
   11539 # Be more Bourne compatible
   11540 DUALCASE=1; export DUALCASE # for MKS sh
   11541 as_nop=:
   11542 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11543 then :
   11544   emulate sh
   11545   NULLCMD=:
   11546   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11547   # is contrary to our usage.  Disable this feature.
   11548   alias -g '${1+"$@"}'='"$@"'
   11549   setopt NO_GLOB_SUBST
   11550 else $as_nop
   11551   case `(set -o) 2>/dev/null` in #(
   11552   *posix*) :
   11553     set -o posix ;; #(
   11554   *) :
   11555      ;;
   11556 esac
   11557 fi
   11558 
   11559 
   11560 
   11561 # Reset variables that may have inherited troublesome values from
   11562 # the environment.
   11563 
   11564 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11565 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11566 # side effect of setting IFS to empty, thus disabling word splitting.)
   11567 # Quoting is to prevent editors from complaining about space-tab.
   11568 as_nl='
   11569 '
   11570 export as_nl
   11571 IFS=" ""	$as_nl"
   11572 
   11573 PS1='$ '
   11574 PS2='> '
   11575 PS4='+ '
   11576 
   11577 # Ensure predictable behavior from utilities with locale-dependent output.
   11578 LC_ALL=C
   11579 export LC_ALL
   11580 LANGUAGE=C
   11581 export LANGUAGE
   11582 
   11583 # We cannot yet rely on "unset" to work, but we need these variables
   11584 # to be unset--not just set to an empty or harmless value--now, to
   11585 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11586 # also avoids known problems related to "unset" and subshell syntax
   11587 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11588 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11589 do eval test \${$as_var+y} \
   11590   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11591 done
   11592 
   11593 # Ensure that fds 0, 1, and 2 are open.
   11594 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11595 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11596 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11597 
   11598 # The user is always right.
   11599 if ${PATH_SEPARATOR+false} :; then
   11600   PATH_SEPARATOR=:
   11601   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11602     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11603       PATH_SEPARATOR=';'
   11604   }
   11605 fi
   11606 
   11607 
   11608 # Find who we are.  Look in the path if we contain no directory separator.
   11609 as_myself=
   11610 case $0 in #((
   11611   *[\\/]* ) as_myself=$0 ;;
   11612   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11613 for as_dir in $PATH
   11614 do
   11615   IFS=$as_save_IFS
   11616   case $as_dir in #(((
   11617     '') as_dir=./ ;;
   11618     */) ;;
   11619     *) as_dir=$as_dir/ ;;
   11620   esac
   11621     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11622   done
   11623 IFS=$as_save_IFS
   11624 
   11625      ;;
   11626 esac
   11627 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11628 # in which case we are not to be found in the path.
   11629 if test "x$as_myself" = x; then
   11630   as_myself=$0
   11631 fi
   11632 if test ! -f "$as_myself"; then
   11633   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11634   exit 1
   11635 fi
   11636 
   11637 
   11638 
   11639 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11640 # ----------------------------------------
   11641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11643 # script with STATUS, using 1 if that was 0.
   11644 as_fn_error ()
   11645 {
   11646   as_status=$1; test $as_status -eq 0 && as_status=1
   11647   if test "$4"; then
   11648     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11649     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11650   fi
   11651   printf "%s\n" "$as_me: error: $2" >&2
   11652   as_fn_exit $as_status
   11653 } # as_fn_error
   11654 
   11655 
   11656 
   11657 # as_fn_set_status STATUS
   11658 # -----------------------
   11659 # Set $? to STATUS, without forking.
   11660 as_fn_set_status ()
   11661 {
   11662   return $1
   11663 } # as_fn_set_status
   11664 
   11665 # as_fn_exit STATUS
   11666 # -----------------
   11667 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11668 as_fn_exit ()
   11669 {
   11670   set +e
   11671   as_fn_set_status $1
   11672   exit $1
   11673 } # as_fn_exit
   11674 
   11675 # as_fn_unset VAR
   11676 # ---------------
   11677 # Portably unset VAR.
   11678 as_fn_unset ()
   11679 {
   11680   { eval $1=; unset $1;}
   11681 }
   11682 as_unset=as_fn_unset
   11683 
   11684 # as_fn_append VAR VALUE
   11685 # ----------------------
   11686 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11687 # advantage of any shell optimizations that allow amortized linear growth over
   11688 # repeated appends, instead of the typical quadratic growth present in naive
   11689 # implementations.
   11690 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11691 then :
   11692   eval 'as_fn_append ()
   11693   {
   11694     eval $1+=\$2
   11695   }'
   11696 else $as_nop
   11697   as_fn_append ()
   11698   {
   11699     eval $1=\$$1\$2
   11700   }
   11701 fi # as_fn_append
   11702 
   11703 # as_fn_arith ARG...
   11704 # ------------------
   11705 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11706 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11707 # must be portable across $(()) and expr.
   11708 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11709 then :
   11710   eval 'as_fn_arith ()
   11711   {
   11712     as_val=$(( $* ))
   11713   }'
   11714 else $as_nop
   11715   as_fn_arith ()
   11716   {
   11717     as_val=`expr "$@" || test $? -eq 1`
   11718   }
   11719 fi # as_fn_arith
   11720 
   11721 
   11722 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11723    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11724   as_expr=expr
   11725 else
   11726   as_expr=false
   11727 fi
   11728 
   11729 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11730   as_basename=basename
   11731 else
   11732   as_basename=false
   11733 fi
   11734 
   11735 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11736   as_dirname=dirname
   11737 else
   11738   as_dirname=false
   11739 fi
   11740 
   11741 as_me=`$as_basename -- "$0" ||
   11742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11743 	 X"$0" : 'X\(//\)$' \| \
   11744 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11745 printf "%s\n" X/"$0" |
   11746     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11747 	    s//\1/
   11748 	    q
   11749 	  }
   11750 	  /^X\/\(\/\/\)$/{
   11751 	    s//\1/
   11752 	    q
   11753 	  }
   11754 	  /^X\/\(\/\).*/{
   11755 	    s//\1/
   11756 	    q
   11757 	  }
   11758 	  s/.*/./; q'`
   11759 
   11760 # Avoid depending upon Character Ranges.
   11761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11764 as_cr_digits='0123456789'
   11765 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11766 
   11767 
   11768 # Determine whether it's possible to make 'echo' print without a newline.
   11769 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11770 # for compatibility with existing Makefiles.
   11771 ECHO_C= ECHO_N= ECHO_T=
   11772 case `echo -n x` in #(((((
   11773 -n*)
   11774   case `echo 'xy\c'` in
   11775   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11776   xy)  ECHO_C='\c';;
   11777   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11778        ECHO_T='	';;
   11779   esac;;
   11780 *)
   11781   ECHO_N='-n';;
   11782 esac
   11783 
   11784 # For backward compatibility with old third-party macros, we provide
   11785 # the shell variables $as_echo and $as_echo_n.  New code should use
   11786 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11787 as_echo='printf %s\n'
   11788 as_echo_n='printf %s'
   11789 
   11790 rm -f conf$$ conf$$.exe conf$$.file
   11791 if test -d conf$$.dir; then
   11792   rm -f conf$$.dir/conf$$.file
   11793 else
   11794   rm -f conf$$.dir
   11795   mkdir conf$$.dir 2>/dev/null
   11796 fi
   11797 if (echo >conf$$.file) 2>/dev/null; then
   11798   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11799     as_ln_s='ln -s'
   11800     # ... but there are two gotchas:
   11801     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11802     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11803     # In both cases, we have to default to `cp -pR'.
   11804     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11805       as_ln_s='cp -pR'
   11806   elif ln conf$$.file conf$$ 2>/dev/null; then
   11807     as_ln_s=ln
   11808   else
   11809     as_ln_s='cp -pR'
   11810   fi
   11811 else
   11812   as_ln_s='cp -pR'
   11813 fi
   11814 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11815 rmdir conf$$.dir 2>/dev/null
   11816 
   11817 
   11818 # as_fn_mkdir_p
   11819 # -------------
   11820 # Create "$as_dir" as a directory, including parents if necessary.
   11821 as_fn_mkdir_p ()
   11822 {
   11823 
   11824   case $as_dir in #(
   11825   -*) as_dir=./$as_dir;;
   11826   esac
   11827   test -d "$as_dir" || eval $as_mkdir_p || {
   11828     as_dirs=
   11829     while :; do
   11830       case $as_dir in #(
   11831       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11832       *) as_qdir=$as_dir;;
   11833       esac
   11834       as_dirs="'$as_qdir' $as_dirs"
   11835       as_dir=`$as_dirname -- "$as_dir" ||
   11836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11837 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11838 	 X"$as_dir" : 'X\(//\)$' \| \
   11839 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11840 printf "%s\n" X"$as_dir" |
   11841     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11842 	    s//\1/
   11843 	    q
   11844 	  }
   11845 	  /^X\(\/\/\)[^/].*/{
   11846 	    s//\1/
   11847 	    q
   11848 	  }
   11849 	  /^X\(\/\/\)$/{
   11850 	    s//\1/
   11851 	    q
   11852 	  }
   11853 	  /^X\(\/\).*/{
   11854 	    s//\1/
   11855 	    q
   11856 	  }
   11857 	  s/.*/./; q'`
   11858       test -d "$as_dir" && break
   11859     done
   11860     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11861   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11862 
   11863 
   11864 } # as_fn_mkdir_p
   11865 if mkdir -p . 2>/dev/null; then
   11866   as_mkdir_p='mkdir -p "$as_dir"'
   11867 else
   11868   test -d ./-p && rmdir ./-p
   11869   as_mkdir_p=false
   11870 fi
   11871 
   11872 
   11873 # as_fn_executable_p FILE
   11874 # -----------------------
   11875 # Test if FILE is an executable regular file.
   11876 as_fn_executable_p ()
   11877 {
   11878   test -f "$1" && test -x "$1"
   11879 } # as_fn_executable_p
   11880 as_test_x='test -x'
   11881 as_executable_p=as_fn_executable_p
   11882 
   11883 # Sed expression to map a string onto a valid CPP name.
   11884 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11885 
   11886 # Sed expression to map a string onto a valid variable name.
   11887 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11888 
   11889 
   11890 exec 6>&1
   11891 ## ----------------------------------- ##
   11892 ## Main body of $CONFIG_STATUS script. ##
   11893 ## ----------------------------------- ##
   11894 _ASEOF
   11895 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11896 
   11897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11898 # Save the log message, to keep $0 and so on meaningful, and to
   11899 # report actual input values of CONFIG_FILES etc. instead of their
   11900 # values after options handling.
   11901 ac_log="
   11902 This file was extended by xcalc $as_me 1.1.2, which was
   11903 generated by GNU Autoconf 2.71.  Invocation command line was
   11904 
   11905   CONFIG_FILES    = $CONFIG_FILES
   11906   CONFIG_HEADERS  = $CONFIG_HEADERS
   11907   CONFIG_LINKS    = $CONFIG_LINKS
   11908   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11909   $ $0 $@
   11910 
   11911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11912 "
   11913 
   11914 _ACEOF
   11915 
   11916 case $ac_config_files in *"
   11917 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11918 esac
   11919 
   11920 case $ac_config_headers in *"
   11921 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11922 esac
   11923 
   11924 
   11925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11926 # Files that config.status was made for.
   11927 config_files="$ac_config_files"
   11928 config_headers="$ac_config_headers"
   11929 config_commands="$ac_config_commands"
   11930 
   11931 _ACEOF
   11932 
   11933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11934 ac_cs_usage="\
   11935 \`$as_me' instantiates files and other configuration actions
   11936 from templates according to the current configuration.  Unless the files
   11937 and actions are specified as TAGs, all are instantiated by default.
   11938 
   11939 Usage: $0 [OPTION]... [TAG]...
   11940 
   11941   -h, --help       print this help, then exit
   11942   -V, --version    print version number and configuration settings, then exit
   11943       --config     print configuration, then exit
   11944   -q, --quiet, --silent
   11945                    do not print progress messages
   11946   -d, --debug      don't remove temporary files
   11947       --recheck    update $as_me by reconfiguring in the same conditions
   11948       --file=FILE[:TEMPLATE]
   11949                    instantiate the configuration file FILE
   11950       --header=FILE[:TEMPLATE]
   11951                    instantiate the configuration header FILE
   11952 
   11953 Configuration files:
   11954 $config_files
   11955 
   11956 Configuration headers:
   11957 $config_headers
   11958 
   11959 Configuration commands:
   11960 $config_commands
   11961 
   11962 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/-/issues>."
   11963 
   11964 _ACEOF
   11965 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11966 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11968 ac_cs_config='$ac_cs_config_escaped'
   11969 ac_cs_version="\\
   11970 xcalc config.status 1.1.2
   11971 configured by $0, generated by GNU Autoconf 2.71,
   11972   with options \\"\$ac_cs_config\\"
   11973 
   11974 Copyright (C) 2021 Free Software Foundation, Inc.
   11975 This config.status script is free software; the Free Software Foundation
   11976 gives unlimited permission to copy, distribute and modify it."
   11977 
   11978 ac_pwd='$ac_pwd'
   11979 srcdir='$srcdir'
   11980 INSTALL='$INSTALL'
   11981 MKDIR_P='$MKDIR_P'
   11982 AWK='$AWK'
   11983 test -n "\$AWK" || AWK=awk
   11984 _ACEOF
   11985 
   11986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11987 # The default lists apply if the user does not specify any file.
   11988 ac_need_defaults=:
   11989 while test $# != 0
   11990 do
   11991   case $1 in
   11992   --*=?*)
   11993     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11994     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11995     ac_shift=:
   11996     ;;
   11997   --*=)
   11998     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11999     ac_optarg=
   12000     ac_shift=:
   12001     ;;
   12002   *)
   12003     ac_option=$1
   12004     ac_optarg=$2
   12005     ac_shift=shift
   12006     ;;
   12007   esac
   12008 
   12009   case $ac_option in
   12010   # Handling of the options.
   12011   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12012     ac_cs_recheck=: ;;
   12013   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12014     printf "%s\n" "$ac_cs_version"; exit ;;
   12015   --config | --confi | --conf | --con | --co | --c )
   12016     printf "%s\n" "$ac_cs_config"; exit ;;
   12017   --debug | --debu | --deb | --de | --d | -d )
   12018     debug=: ;;
   12019   --file | --fil | --fi | --f )
   12020     $ac_shift
   12021     case $ac_optarg in
   12022     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12023     '') as_fn_error $? "missing file argument" ;;
   12024     esac
   12025     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12026     ac_need_defaults=false;;
   12027   --header | --heade | --head | --hea )
   12028     $ac_shift
   12029     case $ac_optarg in
   12030     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12031     esac
   12032     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12033     ac_need_defaults=false;;
   12034   --he | --h)
   12035     # Conflict between --help and --header
   12036     as_fn_error $? "ambiguous option: \`$1'
   12037 Try \`$0 --help' for more information.";;
   12038   --help | --hel | -h )
   12039     printf "%s\n" "$ac_cs_usage"; exit ;;
   12040   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12041   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12042     ac_cs_silent=: ;;
   12043 
   12044   # This is an error.
   12045   -*) as_fn_error $? "unrecognized option: \`$1'
   12046 Try \`$0 --help' for more information." ;;
   12047 
   12048   *) as_fn_append ac_config_targets " $1"
   12049      ac_need_defaults=false ;;
   12050 
   12051   esac
   12052   shift
   12053 done
   12054 
   12055 ac_configure_extra_args=
   12056 
   12057 if $ac_cs_silent; then
   12058   exec 6>/dev/null
   12059   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12060 fi
   12061 
   12062 _ACEOF
   12063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12064 if \$ac_cs_recheck; then
   12065   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12066   shift
   12067   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12068   CONFIG_SHELL='$SHELL'
   12069   export CONFIG_SHELL
   12070   exec "\$@"
   12071 fi
   12072 
   12073 _ACEOF
   12074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12075 exec 5>>config.log
   12076 {
   12077   echo
   12078   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12079 ## Running $as_me. ##
   12080 _ASBOX
   12081   printf "%s\n" "$ac_log"
   12082 } >&5
   12083 
   12084 _ACEOF
   12085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12086 #
   12087 # INIT-COMMANDS
   12088 #
   12089 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12090 
   12091 _ACEOF
   12092 
   12093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12094 
   12095 # Handling of arguments.
   12096 for ac_config_target in $ac_config_targets
   12097 do
   12098   case $ac_config_target in
   12099     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12100     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12101     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12102     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12103 
   12104   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12105   esac
   12106 done
   12107 
   12108 
   12109 # If the user did not use the arguments to specify the items to instantiate,
   12110 # then the envvar interface is used.  Set only those that are not.
   12111 # We use the long form for the default assignment because of an extremely
   12112 # bizarre bug on SunOS 4.1.3.
   12113 if $ac_need_defaults; then
   12114   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12115   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12116   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12117 fi
   12118 
   12119 # Have a temporary directory for convenience.  Make it in the build tree
   12120 # simply because there is no reason against having it here, and in addition,
   12121 # creating and moving files from /tmp can sometimes cause problems.
   12122 # Hook for its removal unless debugging.
   12123 # Note that there is a small window in which the directory will not be cleaned:
   12124 # after its creation but before its name has been assigned to `$tmp'.
   12125 $debug ||
   12126 {
   12127   tmp= ac_tmp=
   12128   trap 'exit_status=$?
   12129   : "${ac_tmp:=$tmp}"
   12130   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12131 ' 0
   12132   trap 'as_fn_exit 1' 1 2 13 15
   12133 }
   12134 # Create a (secure) tmp directory for tmp files.
   12135 
   12136 {
   12137   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12138   test -d "$tmp"
   12139 }  ||
   12140 {
   12141   tmp=./conf$$-$RANDOM
   12142   (umask 077 && mkdir "$tmp")
   12143 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12144 ac_tmp=$tmp
   12145 
   12146 # Set up the scripts for CONFIG_FILES section.
   12147 # No need to generate them if there are no CONFIG_FILES.
   12148 # This happens for instance with `./config.status config.h'.
   12149 if test -n "$CONFIG_FILES"; then
   12150 
   12151 
   12152 ac_cr=`echo X | tr X '\015'`
   12153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12154 # But we know of no other shell where ac_cr would be empty at this
   12155 # point, so we can use a bashism as a fallback.
   12156 if test "x$ac_cr" = x; then
   12157   eval ac_cr=\$\'\\r\'
   12158 fi
   12159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12161   ac_cs_awk_cr='\\r'
   12162 else
   12163   ac_cs_awk_cr=$ac_cr
   12164 fi
   12165 
   12166 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12167 _ACEOF
   12168 
   12169 
   12170 {
   12171   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12172   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12173   echo "_ACEOF"
   12174 } >conf$$subs.sh ||
   12175   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12177 ac_delim='%!_!# '
   12178 for ac_last_try in false false false false false :; do
   12179   . ./conf$$subs.sh ||
   12180     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12181 
   12182   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12183   if test $ac_delim_n = $ac_delim_num; then
   12184     break
   12185   elif $ac_last_try; then
   12186     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12187   else
   12188     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12189   fi
   12190 done
   12191 rm -f conf$$subs.sh
   12192 
   12193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12194 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12195 _ACEOF
   12196 sed -n '
   12197 h
   12198 s/^/S["/; s/!.*/"]=/
   12199 p
   12200 g
   12201 s/^[^!]*!//
   12202 :repl
   12203 t repl
   12204 s/'"$ac_delim"'$//
   12205 t delim
   12206 :nl
   12207 h
   12208 s/\(.\{148\}\)..*/\1/
   12209 t more1
   12210 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12211 p
   12212 n
   12213 b repl
   12214 :more1
   12215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12216 p
   12217 g
   12218 s/.\{148\}//
   12219 t nl
   12220 :delim
   12221 h
   12222 s/\(.\{148\}\)..*/\1/
   12223 t more2
   12224 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12225 p
   12226 b
   12227 :more2
   12228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12229 p
   12230 g
   12231 s/.\{148\}//
   12232 t delim
   12233 ' <conf$$subs.awk | sed '
   12234 /^[^""]/{
   12235   N
   12236   s/\n//
   12237 }
   12238 ' >>$CONFIG_STATUS || ac_write_fail=1
   12239 rm -f conf$$subs.awk
   12240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12241 _ACAWK
   12242 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12243   for (key in S) S_is_set[key] = 1
   12244   FS = ""
   12245 
   12246 }
   12247 {
   12248   line = $ 0
   12249   nfields = split(line, field, "@")
   12250   substed = 0
   12251   len = length(field[1])
   12252   for (i = 2; i < nfields; i++) {
   12253     key = field[i]
   12254     keylen = length(key)
   12255     if (S_is_set[key]) {
   12256       value = S[key]
   12257       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12258       len += length(value) + length(field[++i])
   12259       substed = 1
   12260     } else
   12261       len += 1 + keylen
   12262   }
   12263 
   12264   print line
   12265 }
   12266 
   12267 _ACAWK
   12268 _ACEOF
   12269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12270 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12271   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12272 else
   12273   cat
   12274 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12275   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12276 _ACEOF
   12277 
   12278 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12279 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12280 # trailing colons and then remove the whole line if VPATH becomes empty
   12281 # (actually we leave an empty line to preserve line numbers).
   12282 if test "x$srcdir" = x.; then
   12283   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12284 h
   12285 s///
   12286 s/^/:/
   12287 s/[	 ]*$/:/
   12288 s/:\$(srcdir):/:/g
   12289 s/:\${srcdir}:/:/g
   12290 s/:@srcdir@:/:/g
   12291 s/^:*//
   12292 s/:*$//
   12293 x
   12294 s/\(=[	 ]*\).*/\1/
   12295 G
   12296 s/\n//
   12297 s/^[^=]*=[	 ]*$//
   12298 }'
   12299 fi
   12300 
   12301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12302 fi # test -n "$CONFIG_FILES"
   12303 
   12304 # Set up the scripts for CONFIG_HEADERS section.
   12305 # No need to generate them if there are no CONFIG_HEADERS.
   12306 # This happens for instance with `./config.status Makefile'.
   12307 if test -n "$CONFIG_HEADERS"; then
   12308 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12309 BEGIN {
   12310 _ACEOF
   12311 
   12312 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12313 # here-document in config.status, that substitutes the proper values into
   12314 # config.h.in to produce config.h.
   12315 
   12316 # Create a delimiter string that does not exist in confdefs.h, to ease
   12317 # handling of long lines.
   12318 ac_delim='%!_!# '
   12319 for ac_last_try in false false :; do
   12320   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12321   if test -z "$ac_tt"; then
   12322     break
   12323   elif $ac_last_try; then
   12324     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12325   else
   12326     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12327   fi
   12328 done
   12329 
   12330 # For the awk script, D is an array of macro values keyed by name,
   12331 # likewise P contains macro parameters if any.  Preserve backslash
   12332 # newline sequences.
   12333 
   12334 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12335 sed -n '
   12336 s/.\{148\}/&'"$ac_delim"'/g
   12337 t rset
   12338 :rset
   12339 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12340 t def
   12341 d
   12342 :def
   12343 s/\\$//
   12344 t bsnl
   12345 s/["\\]/\\&/g
   12346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12347 D["\1"]=" \3"/p
   12348 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12349 d
   12350 :bsnl
   12351 s/["\\]/\\&/g
   12352 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12353 D["\1"]=" \3\\\\\\n"\\/p
   12354 t cont
   12355 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12356 t cont
   12357 d
   12358 :cont
   12359 n
   12360 s/.\{148\}/&'"$ac_delim"'/g
   12361 t clear
   12362 :clear
   12363 s/\\$//
   12364 t bsnlc
   12365 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12366 d
   12367 :bsnlc
   12368 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12369 b cont
   12370 ' <confdefs.h | sed '
   12371 s/'"$ac_delim"'/"\\\
   12372 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12373 
   12374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12375   for (key in D) D_is_set[key] = 1
   12376   FS = ""
   12377 }
   12378 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12379   line = \$ 0
   12380   split(line, arg, " ")
   12381   if (arg[1] == "#") {
   12382     defundef = arg[2]
   12383     mac1 = arg[3]
   12384   } else {
   12385     defundef = substr(arg[1], 2)
   12386     mac1 = arg[2]
   12387   }
   12388   split(mac1, mac2, "(") #)
   12389   macro = mac2[1]
   12390   prefix = substr(line, 1, index(line, defundef) - 1)
   12391   if (D_is_set[macro]) {
   12392     # Preserve the white space surrounding the "#".
   12393     print prefix "define", macro P[macro] D[macro]
   12394     next
   12395   } else {
   12396     # Replace #undef with comments.  This is necessary, for example,
   12397     # in the case of _POSIX_SOURCE, which is predefined and required
   12398     # on some systems where configure will not decide to define it.
   12399     if (defundef == "undef") {
   12400       print "/*", prefix defundef, macro, "*/"
   12401       next
   12402     }
   12403   }
   12404 }
   12405 { print }
   12406 _ACAWK
   12407 _ACEOF
   12408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12409   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12410 fi # test -n "$CONFIG_HEADERS"
   12411 
   12412 
   12413 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12414 shift
   12415 for ac_tag
   12416 do
   12417   case $ac_tag in
   12418   :[FHLC]) ac_mode=$ac_tag; continue;;
   12419   esac
   12420   case $ac_mode$ac_tag in
   12421   :[FHL]*:*);;
   12422   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12423   :[FH]-) ac_tag=-:-;;
   12424   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12425   esac
   12426   ac_save_IFS=$IFS
   12427   IFS=:
   12428   set x $ac_tag
   12429   IFS=$ac_save_IFS
   12430   shift
   12431   ac_file=$1
   12432   shift
   12433 
   12434   case $ac_mode in
   12435   :L) ac_source=$1;;
   12436   :[FH])
   12437     ac_file_inputs=
   12438     for ac_f
   12439     do
   12440       case $ac_f in
   12441       -) ac_f="$ac_tmp/stdin";;
   12442       *) # Look for the file first in the build tree, then in the source tree
   12443 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12444 	 # because $ac_f cannot contain `:'.
   12445 	 test -f "$ac_f" ||
   12446 	   case $ac_f in
   12447 	   [\\/$]*) false;;
   12448 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12449 	   esac ||
   12450 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12451       esac
   12452       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12453       as_fn_append ac_file_inputs " '$ac_f'"
   12454     done
   12455 
   12456     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12457     # use $as_me), people would be surprised to read:
   12458     #    /* config.h.  Generated by config.status.  */
   12459     configure_input='Generated from '`
   12460 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12461 	`' by configure.'
   12462     if test x"$ac_file" != x-; then
   12463       configure_input="$ac_file.  $configure_input"
   12464       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12465 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12466     fi
   12467     # Neutralize special characters interpreted by sed in replacement strings.
   12468     case $configure_input in #(
   12469     *\&* | *\|* | *\\* )
   12470        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12471        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12472     *) ac_sed_conf_input=$configure_input;;
   12473     esac
   12474 
   12475     case $ac_tag in
   12476     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12477       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12478     esac
   12479     ;;
   12480   esac
   12481 
   12482   ac_dir=`$as_dirname -- "$ac_file" ||
   12483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12484 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12485 	 X"$ac_file" : 'X\(//\)$' \| \
   12486 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12487 printf "%s\n" X"$ac_file" |
   12488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12489 	    s//\1/
   12490 	    q
   12491 	  }
   12492 	  /^X\(\/\/\)[^/].*/{
   12493 	    s//\1/
   12494 	    q
   12495 	  }
   12496 	  /^X\(\/\/\)$/{
   12497 	    s//\1/
   12498 	    q
   12499 	  }
   12500 	  /^X\(\/\).*/{
   12501 	    s//\1/
   12502 	    q
   12503 	  }
   12504 	  s/.*/./; q'`
   12505   as_dir="$ac_dir"; as_fn_mkdir_p
   12506   ac_builddir=.
   12507 
   12508 case "$ac_dir" in
   12509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12510 *)
   12511   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12512   # A ".." for each directory in $ac_dir_suffix.
   12513   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12514   case $ac_top_builddir_sub in
   12515   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12516   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12517   esac ;;
   12518 esac
   12519 ac_abs_top_builddir=$ac_pwd
   12520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12521 # for backward compatibility:
   12522 ac_top_builddir=$ac_top_build_prefix
   12523 
   12524 case $srcdir in
   12525   .)  # We are building in place.
   12526     ac_srcdir=.
   12527     ac_top_srcdir=$ac_top_builddir_sub
   12528     ac_abs_top_srcdir=$ac_pwd ;;
   12529   [\\/]* | ?:[\\/]* )  # Absolute name.
   12530     ac_srcdir=$srcdir$ac_dir_suffix;
   12531     ac_top_srcdir=$srcdir
   12532     ac_abs_top_srcdir=$srcdir ;;
   12533   *) # Relative name.
   12534     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12535     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12536     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12537 esac
   12538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12539 
   12540 
   12541   case $ac_mode in
   12542   :F)
   12543   #
   12544   # CONFIG_FILE
   12545   #
   12546 
   12547   case $INSTALL in
   12548   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12549   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12550   esac
   12551   ac_MKDIR_P=$MKDIR_P
   12552   case $MKDIR_P in
   12553   [\\/$]* | ?:[\\/]* ) ;;
   12554   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12555   esac
   12556 _ACEOF
   12557 
   12558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12559 # If the template does not know about datarootdir, expand it.
   12560 # FIXME: This hack should be removed a few years after 2.60.
   12561 ac_datarootdir_hack=; ac_datarootdir_seen=
   12562 ac_sed_dataroot='
   12563 /datarootdir/ {
   12564   p
   12565   q
   12566 }
   12567 /@datadir@/p
   12568 /@docdir@/p
   12569 /@infodir@/p
   12570 /@localedir@/p
   12571 /@mandir@/p'
   12572 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12573 *datarootdir*) ac_datarootdir_seen=yes;;
   12574 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12576 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12577 _ACEOF
   12578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12579   ac_datarootdir_hack='
   12580   s&@datadir@&$datadir&g
   12581   s&@docdir@&$docdir&g
   12582   s&@infodir@&$infodir&g
   12583   s&@localedir@&$localedir&g
   12584   s&@mandir@&$mandir&g
   12585   s&\\\${datarootdir}&$datarootdir&g' ;;
   12586 esac
   12587 _ACEOF
   12588 
   12589 # Neutralize VPATH when `$srcdir' = `.'.
   12590 # Shell code in configure.ac might set extrasub.
   12591 # FIXME: do we really want to maintain this feature?
   12592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12593 ac_sed_extra="$ac_vpsub
   12594 $extrasub
   12595 _ACEOF
   12596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12597 :t
   12598 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12599 s|@configure_input@|$ac_sed_conf_input|;t t
   12600 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12601 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12602 s&@srcdir@&$ac_srcdir&;t t
   12603 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12604 s&@top_srcdir@&$ac_top_srcdir&;t t
   12605 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12606 s&@builddir@&$ac_builddir&;t t
   12607 s&@abs_builddir@&$ac_abs_builddir&;t t
   12608 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12609 s&@INSTALL@&$ac_INSTALL&;t t
   12610 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12611 $ac_datarootdir_hack
   12612 "
   12613 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12614   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12615 
   12616 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12617   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12618   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12619       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12621 which seems to be undefined.  Please make sure it is defined" >&5
   12622 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12623 which seems to be undefined.  Please make sure it is defined" >&2;}
   12624 
   12625   rm -f "$ac_tmp/stdin"
   12626   case $ac_file in
   12627   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12628   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12629   esac \
   12630   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12631  ;;
   12632   :H)
   12633   #
   12634   # CONFIG_HEADER
   12635   #
   12636   if test x"$ac_file" != x-; then
   12637     {
   12638       printf "%s\n" "/* $configure_input  */" >&1 \
   12639       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12640     } >"$ac_tmp/config.h" \
   12641       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12642     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12643       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12644 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12645     else
   12646       rm -f "$ac_file"
   12647       mv "$ac_tmp/config.h" "$ac_file" \
   12648 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12649     fi
   12650   else
   12651     printf "%s\n" "/* $configure_input  */" >&1 \
   12652       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12653       || as_fn_error $? "could not create -" "$LINENO" 5
   12654   fi
   12655 # Compute "$ac_file"'s index in $config_headers.
   12656 _am_arg="$ac_file"
   12657 _am_stamp_count=1
   12658 for _am_header in $config_headers :; do
   12659   case $_am_header in
   12660     $_am_arg | $_am_arg:* )
   12661       break ;;
   12662     * )
   12663       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12664   esac
   12665 done
   12666 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12667 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12668 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12669 	 X"$_am_arg" : 'X\(//\)$' \| \
   12670 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12671 printf "%s\n" X"$_am_arg" |
   12672     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  /^X\(\/\/\)[^/].*/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  /^X\(\/\/\)$/{
   12681 	    s//\1/
   12682 	    q
   12683 	  }
   12684 	  /^X\(\/\).*/{
   12685 	    s//\1/
   12686 	    q
   12687 	  }
   12688 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12689  ;;
   12690 
   12691   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12692 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12693  ;;
   12694   esac
   12695 
   12696 
   12697   case $ac_file$ac_mode in
   12698     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12699   # Older Autoconf quotes --file arguments for eval, but not when files
   12700   # are listed without --file.  Let's play safe and only enable the eval
   12701   # if we detect the quoting.
   12702   # TODO: see whether this extra hack can be removed once we start
   12703   # requiring Autoconf 2.70 or later.
   12704   case $CONFIG_FILES in #(
   12705   *\'*) :
   12706     eval set x "$CONFIG_FILES" ;; #(
   12707   *) :
   12708     set x $CONFIG_FILES ;; #(
   12709   *) :
   12710      ;;
   12711 esac
   12712   shift
   12713   # Used to flag and report bootstrapping failures.
   12714   am_rc=0
   12715   for am_mf
   12716   do
   12717     # Strip MF so we end up with the name of the file.
   12718     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12719     # Check whether this is an Automake generated Makefile which includes
   12720     # dependency-tracking related rules and includes.
   12721     # Grep'ing the whole file directly is not great: AIX grep has a line
   12722     # limit of 2048, but all sed's we know have understand at least 4000.
   12723     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12724       || continue
   12725     am_dirpart=`$as_dirname -- "$am_mf" ||
   12726 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12727 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12728 	 X"$am_mf" : 'X\(//\)$' \| \
   12729 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12730 printf "%s\n" X"$am_mf" |
   12731     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12732 	    s//\1/
   12733 	    q
   12734 	  }
   12735 	  /^X\(\/\/\)[^/].*/{
   12736 	    s//\1/
   12737 	    q
   12738 	  }
   12739 	  /^X\(\/\/\)$/{
   12740 	    s//\1/
   12741 	    q
   12742 	  }
   12743 	  /^X\(\/\).*/{
   12744 	    s//\1/
   12745 	    q
   12746 	  }
   12747 	  s/.*/./; q'`
   12748     am_filepart=`$as_basename -- "$am_mf" ||
   12749 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12750 	 X"$am_mf" : 'X\(//\)$' \| \
   12751 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12752 printf "%s\n" X/"$am_mf" |
   12753     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12754 	    s//\1/
   12755 	    q
   12756 	  }
   12757 	  /^X\/\(\/\/\)$/{
   12758 	    s//\1/
   12759 	    q
   12760 	  }
   12761 	  /^X\/\(\/\).*/{
   12762 	    s//\1/
   12763 	    q
   12764 	  }
   12765 	  s/.*/./; q'`
   12766     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12767       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12768         | $MAKE -f - am--depfiles" >&5
   12769    (cd "$am_dirpart" \
   12770       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12771         | $MAKE -f - am--depfiles) >&5 2>&5
   12772    ac_status=$?
   12773    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12774    (exit $ac_status); } || am_rc=$?
   12775   done
   12776   if test $am_rc -ne 0; then
   12777     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12778 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12779 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12780     for automatic dependency tracking.  If GNU make was not used, consider
   12781     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12782     necessary).  You can also try re-running configure with the
   12783     '--disable-dependency-tracking' option to at least be able to build
   12784     the package (albeit without support for automatic dependency tracking).
   12785 See \`config.log' for more details" "$LINENO" 5; }
   12786   fi
   12787   { am_dirpart=; unset am_dirpart;}
   12788   { am_filepart=; unset am_filepart;}
   12789   { am_mf=; unset am_mf;}
   12790   { am_rc=; unset am_rc;}
   12791   rm -f conftest-deps.mk
   12792 }
   12793  ;;
   12794 
   12795   esac
   12796 done # for ac_tag
   12797 
   12798 
   12799 as_fn_exit 0
   12800 _ACEOF
   12801 ac_clean_files=$ac_clean_files_save
   12802 
   12803 test $ac_write_fail = 0 ||
   12804   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12805 
   12806 
   12807 # configure is writing to config.log, and then calls config.status.
   12808 # config.status does its own redirection, appending to config.log.
   12809 # Unfortunately, on DOS this fails, as config.log is still kept open
   12810 # by configure, so config.status won't be able to write to it; its
   12811 # output is simply discarded.  So we exec the FD to /dev/null,
   12812 # effectively closing config.log, so it can be properly (re)opened and
   12813 # appended to by config.status.  When coming back to configure, we
   12814 # need to make the FD available again.
   12815 if test "$no_create" != yes; then
   12816   ac_cs_success=:
   12817   ac_config_status_args=
   12818   test "$silent" = yes &&
   12819     ac_config_status_args="$ac_config_status_args --quiet"
   12820   exec 5>/dev/null
   12821   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12822   exec 5>>config.log
   12823   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12824   # would make configure fail if this is the last instruction.
   12825   $ac_cs_success || as_fn_exit 1
   12826 fi
   12827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12829 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12830 fi
   12831 
   12832 
   12833