Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xcalc 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    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   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; 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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/xcalc/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xcalc'
    583 PACKAGE_TARNAME='xcalc'
    584 PACKAGE_VERSION='1.0.7'
    585 PACKAGE_STRING='xcalc 1.0.7'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xcalc/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 appdefaultdir
    631 APPDEFS_LIBS
    632 APPDEFS_CFLAGS
    633 XCALC_LIBS
    634 XCALC_CFLAGS
    635 MAN_SUBSTS
    636 XORG_MAN_PAGE
    637 ADMIN_MAN_DIR
    638 DRIVER_MAN_DIR
    639 MISC_MAN_DIR
    640 FILE_MAN_DIR
    641 LIB_MAN_DIR
    642 APP_MAN_DIR
    643 ADMIN_MAN_SUFFIX
    644 DRIVER_MAN_SUFFIX
    645 MISC_MAN_SUFFIX
    646 FILE_MAN_SUFFIX
    647 LIB_MAN_SUFFIX
    648 APP_MAN_SUFFIX
    649 SED
    650 host_os
    651 host_vendor
    652 host_cpu
    653 host
    654 build_os
    655 build_vendor
    656 build_cpu
    657 build
    658 INSTALL_CMD
    659 PKG_CONFIG_LIBDIR
    660 PKG_CONFIG_PATH
    661 PKG_CONFIG
    662 CHANGELOG_CMD
    663 STRICT_CFLAGS
    664 CWARNFLAGS
    665 BASE_CFLAGS
    666 EGREP
    667 GREP
    668 CPP
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__quote
    677 am__include
    678 DEPDIR
    679 OBJEXT
    680 EXEEXT
    681 ac_ct_CC
    682 CPPFLAGS
    683 LDFLAGS
    684 CFLAGS
    685 CC
    686 AM_BACKSLASH
    687 AM_DEFAULT_VERBOSITY
    688 AM_DEFAULT_V
    689 AM_V
    690 am__untar
    691 am__tar
    692 AMTAR
    693 am__leading_dot
    694 SET_MAKE
    695 AWK
    696 mkdir_p
    697 MKDIR_P
    698 INSTALL_STRIP_PROGRAM
    699 STRIP
    700 install_sh
    701 MAKEINFO
    702 AUTOHEADER
    703 AUTOMAKE
    704 AUTOCONF
    705 ACLOCAL
    706 VERSION
    707 PACKAGE
    708 CYGPATH_W
    709 am__isrc
    710 INSTALL_DATA
    711 INSTALL_SCRIPT
    712 INSTALL_PROGRAM
    713 target_alias
    714 host_alias
    715 build_alias
    716 LIBS
    717 ECHO_T
    718 ECHO_N
    719 ECHO_C
    720 DEFS
    721 mandir
    722 localedir
    723 libdir
    724 psdir
    725 pdfdir
    726 dvidir
    727 htmldir
    728 infodir
    729 docdir
    730 oldincludedir
    731 includedir
    732 localstatedir
    733 sharedstatedir
    734 sysconfdir
    735 datadir
    736 datarootdir
    737 libexecdir
    738 sbindir
    739 bindir
    740 program_transform_name
    741 prefix
    742 exec_prefix
    743 PACKAGE_URL
    744 PACKAGE_BUGREPORT
    745 PACKAGE_STRING
    746 PACKAGE_VERSION
    747 PACKAGE_TARNAME
    748 PACKAGE_NAME
    749 PATH_SEPARATOR
    750 SHELL'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_silent_rules
    755 enable_dependency_tracking
    756 enable_selective_werror
    757 enable_strict_compilation
    758 with_appdefaultdir
    759 '
    760       ac_precious_vars='build_alias
    761 host_alias
    762 target_alias
    763 CC
    764 CFLAGS
    765 LDFLAGS
    766 LIBS
    767 CPPFLAGS
    768 CPP
    769 PKG_CONFIG
    770 PKG_CONFIG_PATH
    771 PKG_CONFIG_LIBDIR
    772 XCALC_CFLAGS
    773 XCALC_LIBS
    774 APPDEFS_CFLAGS
    775 APPDEFS_LIBS'
    776 
    777 
    778 # Initialize some variables set by options.
    779 ac_init_help=
    780 ac_init_version=false
    781 ac_unrecognized_opts=
    782 ac_unrecognized_sep=
    783 # The variables have the same names as the options, with
    784 # dashes changed to underlines.
    785 cache_file=/dev/null
    786 exec_prefix=NONE
    787 no_create=
    788 no_recursion=
    789 prefix=NONE
    790 program_prefix=NONE
    791 program_suffix=NONE
    792 program_transform_name=s,x,x,
    793 silent=
    794 site=
    795 srcdir=
    796 verbose=
    797 x_includes=NONE
    798 x_libraries=NONE
    799 
    800 # Installation directory options.
    801 # These are left unexpanded so users can "make install exec_prefix=/foo"
    802 # and all the variables that are supposed to be based on exec_prefix
    803 # by default will actually change.
    804 # Use braces instead of parens because sh, perl, etc. also accept them.
    805 # (The list follows the same order as the GNU Coding Standards.)
    806 bindir='${exec_prefix}/bin'
    807 sbindir='${exec_prefix}/sbin'
    808 libexecdir='${exec_prefix}/libexec'
    809 datarootdir='${prefix}/share'
    810 datadir='${datarootdir}'
    811 sysconfdir='${prefix}/etc'
    812 sharedstatedir='${prefix}/com'
    813 localstatedir='${prefix}/var'
    814 includedir='${prefix}/include'
    815 oldincludedir='/usr/include'
    816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    817 infodir='${datarootdir}/info'
    818 htmldir='${docdir}'
    819 dvidir='${docdir}'
    820 pdfdir='${docdir}'
    821 psdir='${docdir}'
    822 libdir='${exec_prefix}/lib'
    823 localedir='${datarootdir}/locale'
    824 mandir='${datarootdir}/man'
    825 
    826 ac_prev=
    827 ac_dashdash=
    828 for ac_option
    829 do
    830   # If the previous option needs an argument, assign it.
    831   if test -n "$ac_prev"; then
    832     eval $ac_prev=\$ac_option
    833     ac_prev=
    834     continue
    835   fi
    836 
    837   case $ac_option in
    838   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    839   *=)   ac_optarg= ;;
    840   *)    ac_optarg=yes ;;
    841   esac
    842 
    843   # Accept the important Cygnus configure options, so we can diagnose typos.
    844 
    845   case $ac_dashdash$ac_option in
    846   --)
    847     ac_dashdash=yes ;;
    848 
    849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    850     ac_prev=bindir ;;
    851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    852     bindir=$ac_optarg ;;
    853 
    854   -build | --build | --buil | --bui | --bu)
    855     ac_prev=build_alias ;;
    856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    857     build_alias=$ac_optarg ;;
    858 
    859   -cache-file | --cache-file | --cache-fil | --cache-fi \
    860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    861     ac_prev=cache_file ;;
    862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    864     cache_file=$ac_optarg ;;
    865 
    866   --config-cache | -C)
    867     cache_file=config.cache ;;
    868 
    869   -datadir | --datadir | --datadi | --datad)
    870     ac_prev=datadir ;;
    871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    872     datadir=$ac_optarg ;;
    873 
    874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    875   | --dataroo | --dataro | --datar)
    876     ac_prev=datarootdir ;;
    877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    879     datarootdir=$ac_optarg ;;
    880 
    881   -disable-* | --disable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=no ;;
    896 
    897   -docdir | --docdir | --docdi | --doc | --do)
    898     ac_prev=docdir ;;
    899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    900     docdir=$ac_optarg ;;
    901 
    902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    903     ac_prev=dvidir ;;
    904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    905     dvidir=$ac_optarg ;;
    906 
    907   -enable-* | --enable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: $ac_useropt"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=\$ac_optarg ;;
    922 
    923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    925   | --exec | --exe | --ex)
    926     ac_prev=exec_prefix ;;
    927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    929   | --exec=* | --exe=* | --ex=*)
    930     exec_prefix=$ac_optarg ;;
    931 
    932   -gas | --gas | --ga | --g)
    933     # Obsolete; use --with-gas.
    934     with_gas=yes ;;
    935 
    936   -help | --help | --hel | --he | -h)
    937     ac_init_help=long ;;
    938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    939     ac_init_help=recursive ;;
    940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    941     ac_init_help=short ;;
    942 
    943   -host | --host | --hos | --ho)
    944     ac_prev=host_alias ;;
    945   -host=* | --host=* | --hos=* | --ho=*)
    946     host_alias=$ac_optarg ;;
    947 
    948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    949     ac_prev=htmldir ;;
    950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    951   | --ht=*)
    952     htmldir=$ac_optarg ;;
    953 
    954   -includedir | --includedir | --includedi | --included | --include \
    955   | --includ | --inclu | --incl | --inc)
    956     ac_prev=includedir ;;
    957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    958   | --includ=* | --inclu=* | --incl=* | --inc=*)
    959     includedir=$ac_optarg ;;
    960 
    961   -infodir | --infodir | --infodi | --infod | --info | --inf)
    962     ac_prev=infodir ;;
    963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    964     infodir=$ac_optarg ;;
    965 
    966   -libdir | --libdir | --libdi | --libd)
    967     ac_prev=libdir ;;
    968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    969     libdir=$ac_optarg ;;
    970 
    971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    972   | --libexe | --libex | --libe)
    973     ac_prev=libexecdir ;;
    974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    975   | --libexe=* | --libex=* | --libe=*)
    976     libexecdir=$ac_optarg ;;
    977 
    978   -localedir | --localedir | --localedi | --localed | --locale)
    979     ac_prev=localedir ;;
    980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    981     localedir=$ac_optarg ;;
    982 
    983   -localstatedir | --localstatedir | --localstatedi | --localstated \
    984   | --localstate | --localstat | --localsta | --localst | --locals)
    985     ac_prev=localstatedir ;;
    986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    988     localstatedir=$ac_optarg ;;
    989 
    990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    991     ac_prev=mandir ;;
    992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    993     mandir=$ac_optarg ;;
    994 
    995   -nfp | --nfp | --nf)
    996     # Obsolete; use --without-fp.
    997     with_fp=no ;;
    998 
    999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1000   | --no-cr | --no-c | -n)
   1001     no_create=yes ;;
   1002 
   1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1005     no_recursion=yes ;;
   1006 
   1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1009   | --oldin | --oldi | --old | --ol | --o)
   1010     ac_prev=oldincludedir ;;
   1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1014     oldincludedir=$ac_optarg ;;
   1015 
   1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1017     ac_prev=prefix ;;
   1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1019     prefix=$ac_optarg ;;
   1020 
   1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1022   | --program-pre | --program-pr | --program-p)
   1023     ac_prev=program_prefix ;;
   1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1026     program_prefix=$ac_optarg ;;
   1027 
   1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1029   | --program-suf | --program-su | --program-s)
   1030     ac_prev=program_suffix ;;
   1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1033     program_suffix=$ac_optarg ;;
   1034 
   1035   -program-transform-name | --program-transform-name \
   1036   | --program-transform-nam | --program-transform-na \
   1037   | --program-transform-n | --program-transform- \
   1038   | --program-transform | --program-transfor \
   1039   | --program-transfo | --program-transf \
   1040   | --program-trans | --program-tran \
   1041   | --progr-tra | --program-tr | --program-t)
   1042     ac_prev=program_transform_name ;;
   1043   -program-transform-name=* | --program-transform-name=* \
   1044   | --program-transform-nam=* | --program-transform-na=* \
   1045   | --program-transform-n=* | --program-transform-=* \
   1046   | --program-transform=* | --program-transfor=* \
   1047   | --program-transfo=* | --program-transf=* \
   1048   | --program-trans=* | --program-tran=* \
   1049   | --progr-tra=* | --program-tr=* | --program-t=*)
   1050     program_transform_name=$ac_optarg ;;
   1051 
   1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1053     ac_prev=pdfdir ;;
   1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1055     pdfdir=$ac_optarg ;;
   1056 
   1057   -psdir | --psdir | --psdi | --psd | --ps)
   1058     ac_prev=psdir ;;
   1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1060     psdir=$ac_optarg ;;
   1061 
   1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1063   | -silent | --silent | --silen | --sile | --sil)
   1064     silent=yes ;;
   1065 
   1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1067     ac_prev=sbindir ;;
   1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1069   | --sbi=* | --sb=*)
   1070     sbindir=$ac_optarg ;;
   1071 
   1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1074   | --sharedst | --shareds | --shared | --share | --shar \
   1075   | --sha | --sh)
   1076     ac_prev=sharedstatedir ;;
   1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1080   | --sha=* | --sh=*)
   1081     sharedstatedir=$ac_optarg ;;
   1082 
   1083   -site | --site | --sit)
   1084     ac_prev=site ;;
   1085   -site=* | --site=* | --sit=*)
   1086     site=$ac_optarg ;;
   1087 
   1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1089     ac_prev=srcdir ;;
   1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1091     srcdir=$ac_optarg ;;
   1092 
   1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1094   | --syscon | --sysco | --sysc | --sys | --sy)
   1095     ac_prev=sysconfdir ;;
   1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1098     sysconfdir=$ac_optarg ;;
   1099 
   1100   -target | --target | --targe | --targ | --tar | --ta | --t)
   1101     ac_prev=target_alias ;;
   1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1103     target_alias=$ac_optarg ;;
   1104 
   1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1106     verbose=yes ;;
   1107 
   1108   -version | --version | --versio | --versi | --vers | -V)
   1109     ac_init_version=: ;;
   1110 
   1111   -with-* | --with-*)
   1112     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1113     # Reject names that are not valid shell variable names.
   1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1115       as_fn_error $? "invalid package name: $ac_useropt"
   1116     ac_useropt_orig=$ac_useropt
   1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1118     case $ac_user_opts in
   1119       *"
   1120 "with_$ac_useropt"
   1121 "*) ;;
   1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1123 	 ac_unrecognized_sep=', ';;
   1124     esac
   1125     eval with_$ac_useropt=\$ac_optarg ;;
   1126 
   1127   -without-* | --without-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=no ;;
   1142 
   1143   --x)
   1144     # Obsolete; use --with-x.
   1145     with_x=yes ;;
   1146 
   1147   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1148   | --x-incl | --x-inc | --x-in | --x-i)
   1149     ac_prev=x_includes ;;
   1150   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1151   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1152     x_includes=$ac_optarg ;;
   1153 
   1154   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1155   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1156     ac_prev=x_libraries ;;
   1157   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1158   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1159     x_libraries=$ac_optarg ;;
   1160 
   1161   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1162 Try \`$0 --help' for more information"
   1163     ;;
   1164 
   1165   *=*)
   1166     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1167     # Reject names that are not valid shell variable names.
   1168     case $ac_envvar in #(
   1169       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1170       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1171     esac
   1172     eval $ac_envvar=\$ac_optarg
   1173     export $ac_envvar ;;
   1174 
   1175   *)
   1176     # FIXME: should be removed in autoconf 3.0.
   1177     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1178     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1179       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1180     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1181     ;;
   1182 
   1183   esac
   1184 done
   1185 
   1186 if test -n "$ac_prev"; then
   1187   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1188   as_fn_error $? "missing argument to $ac_option"
   1189 fi
   1190 
   1191 if test -n "$ac_unrecognized_opts"; then
   1192   case $enable_option_checking in
   1193     no) ;;
   1194     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1196   esac
   1197 fi
   1198 
   1199 # Check all directory arguments for consistency.
   1200 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1201 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1202 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1203 		libdir localedir mandir
   1204 do
   1205   eval ac_val=\$$ac_var
   1206   # Remove trailing slashes.
   1207   case $ac_val in
   1208     */ )
   1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1210       eval $ac_var=\$ac_val;;
   1211   esac
   1212   # Be sure to have absolute directory names.
   1213   case $ac_val in
   1214     [\\/$]* | ?:[\\/]* )  continue;;
   1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1216   esac
   1217   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1218 done
   1219 
   1220 # There might be people who depend on the old broken behavior: `$host'
   1221 # used to hold the argument of --host etc.
   1222 # FIXME: To remove some day.
   1223 build=$build_alias
   1224 host=$host_alias
   1225 target=$target_alias
   1226 
   1227 # FIXME: To remove some day.
   1228 if test "x$host_alias" != x; then
   1229   if test "x$build_alias" = x; then
   1230     cross_compiling=maybe
   1231   elif test "x$build_alias" != "x$host_alias"; then
   1232     cross_compiling=yes
   1233   fi
   1234 fi
   1235 
   1236 ac_tool_prefix=
   1237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1238 
   1239 test "$silent" = yes && exec 6>/dev/null
   1240 
   1241 
   1242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1243 ac_ls_di=`ls -di .` &&
   1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1245   as_fn_error $? "working directory cannot be determined"
   1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1247   as_fn_error $? "pwd does not report name of working directory"
   1248 
   1249 
   1250 # Find the source files, if location was not specified.
   1251 if test -z "$srcdir"; then
   1252   ac_srcdir_defaulted=yes
   1253   # Try the directory containing this script, then the parent directory.
   1254   ac_confdir=`$as_dirname -- "$as_myself" ||
   1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1256 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1257 	 X"$as_myself" : 'X\(//\)$' \| \
   1258 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1259 $as_echo X"$as_myself" |
   1260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)[^/].*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\/\)$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\).*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  s/.*/./; q'`
   1277   srcdir=$ac_confdir
   1278   if test ! -r "$srcdir/$ac_unique_file"; then
   1279     srcdir=..
   1280   fi
   1281 else
   1282   ac_srcdir_defaulted=no
   1283 fi
   1284 if test ! -r "$srcdir/$ac_unique_file"; then
   1285   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1286   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1287 fi
   1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1289 ac_abs_confdir=`(
   1290 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1291 	pwd)`
   1292 # When building in place, set srcdir=.
   1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1294   srcdir=.
   1295 fi
   1296 # Remove unnecessary trailing slashes from srcdir.
   1297 # Double slashes in file names in object file debugging info
   1298 # mess up M-x gdb in Emacs.
   1299 case $srcdir in
   1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1301 esac
   1302 for ac_var in $ac_precious_vars; do
   1303   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1304   eval ac_env_${ac_var}_value=\$${ac_var}
   1305   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1307 done
   1308 
   1309 #
   1310 # Report the --help message.
   1311 #
   1312 if test "$ac_init_help" = "long"; then
   1313   # Omit some internal or obsolete options to make the list less imposing.
   1314   # This message is too long to be a string in the A/UX 3.1 sh.
   1315   cat <<_ACEOF
   1316 \`configure' configures xcalc 1.0.7 to adapt to many kinds of systems.
   1317 
   1318 Usage: $0 [OPTION]... [VAR=VALUE]...
   1319 
   1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1321 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1322 
   1323 Defaults for the options are specified in brackets.
   1324 
   1325 Configuration:
   1326   -h, --help              display this help and exit
   1327       --help=short        display options specific to this package
   1328       --help=recursive    display the short help of all the included packages
   1329   -V, --version           display version information and exit
   1330   -q, --quiet, --silent   do not print \`checking ...' messages
   1331       --cache-file=FILE   cache test results in FILE [disabled]
   1332   -C, --config-cache      alias for \`--cache-file=config.cache'
   1333   -n, --no-create         do not create output files
   1334       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1335 
   1336 Installation directories:
   1337   --prefix=PREFIX         install architecture-independent files in PREFIX
   1338                           [$ac_default_prefix]
   1339   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1340                           [PREFIX]
   1341 
   1342 By default, \`make install' will install all the files in
   1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1345 for instance \`--prefix=\$HOME'.
   1346 
   1347 For better control, use the options below.
   1348 
   1349 Fine tuning of the installation directories:
   1350   --bindir=DIR            user executables [EPREFIX/bin]
   1351   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1352   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1353   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1354   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1355   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1356   --libdir=DIR            object code libraries [EPREFIX/lib]
   1357   --includedir=DIR        C header files [PREFIX/include]
   1358   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1359   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1360   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1361   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1362   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1363   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1364   --docdir=DIR            documentation root [DATAROOTDIR/doc/xcalc]
   1365   --htmldir=DIR           html documentation [DOCDIR]
   1366   --dvidir=DIR            dvi documentation [DOCDIR]
   1367   --pdfdir=DIR            pdf documentation [DOCDIR]
   1368   --psdir=DIR             ps documentation [DOCDIR]
   1369 _ACEOF
   1370 
   1371   cat <<\_ACEOF
   1372 
   1373 Program names:
   1374   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1375   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1376   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1377 
   1378 System types:
   1379   --build=BUILD     configure for building on BUILD [guessed]
   1380   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1381 _ACEOF
   1382 fi
   1383 
   1384 if test -n "$ac_init_help"; then
   1385   case $ac_init_help in
   1386      short | recursive ) echo "Configuration of xcalc 1.0.7:";;
   1387    esac
   1388   cat <<\_ACEOF
   1389 
   1390 Optional Features:
   1391   --disable-option-checking  ignore unrecognized --enable/--with options
   1392   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1393   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1394   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1395   --disable-silent-rules  verbose build output (undo: "make V=0")
   1396   --enable-dependency-tracking
   1397                           do not reject slow dependency extractors
   1398   --disable-dependency-tracking
   1399                           speeds up one-time build
   1400   --disable-selective-werror
   1401                           Turn off selective compiler errors. (default:
   1402                           enabled)
   1403   --enable-strict-compilation
   1404                           Enable all warnings from compiler and make them
   1405                           errors (default: disabled)
   1406 
   1407 Optional Packages:
   1408   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1409   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1410   --with-appdefaultdir=<pathname>
   1411                           specify directory for app-defaults files (default is
   1412                           autodetected)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   PKG_CONFIG_PATH
   1425               directories to add to pkg-config's search path
   1426   PKG_CONFIG_LIBDIR
   1427               path overriding pkg-config's built-in search path
   1428   XCALC_CFLAGS
   1429               C compiler flags for XCALC, overriding pkg-config
   1430   XCALC_LIBS  linker flags for XCALC, overriding pkg-config
   1431   APPDEFS_CFLAGS
   1432               C compiler flags for APPDEFS, overriding pkg-config
   1433   APPDEFS_LIBS
   1434               linker flags for APPDEFS, overriding pkg-config
   1435 
   1436 Use these variables to override the choices made by `configure' or to help
   1437 it to find libraries and programs with nonstandard names/locations.
   1438 
   1439 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>.
   1440 _ACEOF
   1441 ac_status=$?
   1442 fi
   1443 
   1444 if test "$ac_init_help" = "recursive"; then
   1445   # If there are subdirs, report their specific --help.
   1446   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1447     test -d "$ac_dir" ||
   1448       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1449       continue
   1450     ac_builddir=.
   1451 
   1452 case "$ac_dir" in
   1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1454 *)
   1455   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1456   # A ".." for each directory in $ac_dir_suffix.
   1457   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1458   case $ac_top_builddir_sub in
   1459   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1460   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1461   esac ;;
   1462 esac
   1463 ac_abs_top_builddir=$ac_pwd
   1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1465 # for backward compatibility:
   1466 ac_top_builddir=$ac_top_build_prefix
   1467 
   1468 case $srcdir in
   1469   .)  # We are building in place.
   1470     ac_srcdir=.
   1471     ac_top_srcdir=$ac_top_builddir_sub
   1472     ac_abs_top_srcdir=$ac_pwd ;;
   1473   [\\/]* | ?:[\\/]* )  # Absolute name.
   1474     ac_srcdir=$srcdir$ac_dir_suffix;
   1475     ac_top_srcdir=$srcdir
   1476     ac_abs_top_srcdir=$srcdir ;;
   1477   *) # Relative name.
   1478     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1479     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1480     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1481 esac
   1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1483 
   1484     cd "$ac_dir" || { ac_status=$?; continue; }
   1485     # Check for guested configure.
   1486     if test -f "$ac_srcdir/configure.gnu"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1489     elif test -f "$ac_srcdir/configure"; then
   1490       echo &&
   1491       $SHELL "$ac_srcdir/configure" --help=recursive
   1492     else
   1493       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1494     fi || ac_status=$?
   1495     cd "$ac_pwd" || { ac_status=$?; break; }
   1496   done
   1497 fi
   1498 
   1499 test -n "$ac_init_help" && exit $ac_status
   1500 if $ac_init_version; then
   1501   cat <<\_ACEOF
   1502 xcalc configure 1.0.7
   1503 generated by GNU Autoconf 2.69
   1504 
   1505 Copyright (C) 2012 Free Software Foundation, Inc.
   1506 This configure script is free software; the Free Software Foundation
   1507 gives unlimited permission to copy, distribute and modify it.
   1508 _ACEOF
   1509   exit
   1510 fi
   1511 
   1512 ## ------------------------ ##
   1513 ## Autoconf initialization. ##
   1514 ## ------------------------ ##
   1515 
   1516 # ac_fn_c_try_compile LINENO
   1517 # --------------------------
   1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1519 ac_fn_c_try_compile ()
   1520 {
   1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1522   rm -f conftest.$ac_objext
   1523   if { { ac_try="$ac_compile"
   1524 case "(($ac_try" in
   1525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1526   *) ac_try_echo=$ac_try;;
   1527 esac
   1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1529 $as_echo "$ac_try_echo"; } >&5
   1530   (eval "$ac_compile") 2>conftest.err
   1531   ac_status=$?
   1532   if test -s conftest.err; then
   1533     grep -v '^ *+' conftest.err >conftest.er1
   1534     cat conftest.er1 >&5
   1535     mv -f conftest.er1 conftest.err
   1536   fi
   1537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1538   test $ac_status = 0; } && {
   1539 	 test -z "$ac_c_werror_flag" ||
   1540 	 test ! -s conftest.err
   1541        } && test -s conftest.$ac_objext; then :
   1542   ac_retval=0
   1543 else
   1544   $as_echo "$as_me: failed program was:" >&5
   1545 sed 's/^/| /' conftest.$ac_ext >&5
   1546 
   1547 	ac_retval=1
   1548 fi
   1549   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1550   as_fn_set_status $ac_retval
   1551 
   1552 } # ac_fn_c_try_compile
   1553 
   1554 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1555 # ---------------------------------------------
   1556 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1557 # accordingly.
   1558 ac_fn_c_check_decl ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1562   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1564 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1565 if eval \${$3+:} false; then :
   1566   $as_echo_n "(cached) " >&6
   1567 else
   1568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1569 /* end confdefs.h.  */
   1570 $4
   1571 int
   1572 main ()
   1573 {
   1574 #ifndef $as_decl_name
   1575 #ifdef __cplusplus
   1576   (void) $as_decl_use;
   1577 #else
   1578   (void) $as_decl_name;
   1579 #endif
   1580 #endif
   1581 
   1582   ;
   1583   return 0;
   1584 }
   1585 _ACEOF
   1586 if ac_fn_c_try_compile "$LINENO"; then :
   1587   eval "$3=yes"
   1588 else
   1589   eval "$3=no"
   1590 fi
   1591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1592 fi
   1593 eval ac_res=\$$3
   1594 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1595 $as_echo "$ac_res" >&6; }
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597 
   1598 } # ac_fn_c_check_decl
   1599 
   1600 # ac_fn_c_try_cpp LINENO
   1601 # ----------------------
   1602 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1603 ac_fn_c_try_cpp ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1607 case "(($ac_try" in
   1608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1609   *) ac_try_echo=$ac_try;;
   1610 esac
   1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1612 $as_echo "$ac_try_echo"; } >&5
   1613   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1614   ac_status=$?
   1615   if test -s conftest.err; then
   1616     grep -v '^ *+' conftest.err >conftest.er1
   1617     cat conftest.er1 >&5
   1618     mv -f conftest.er1 conftest.err
   1619   fi
   1620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1621   test $ac_status = 0; } > conftest.i && {
   1622 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1623 	 test ! -s conftest.err
   1624        }; then :
   1625   ac_retval=0
   1626 else
   1627   $as_echo "$as_me: failed program was:" >&5
   1628 sed 's/^/| /' conftest.$ac_ext >&5
   1629 
   1630     ac_retval=1
   1631 fi
   1632   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1633   as_fn_set_status $ac_retval
   1634 
   1635 } # ac_fn_c_try_cpp
   1636 
   1637 # ac_fn_c_try_run LINENO
   1638 # ----------------------
   1639 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1640 # that executables *can* be run.
   1641 ac_fn_c_try_run ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   if { { ac_try="$ac_link"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_link") 2>&5
   1652   ac_status=$?
   1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1655   { { case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_try") 2>&5
   1662   ac_status=$?
   1663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1664   test $ac_status = 0; }; }; then :
   1665   ac_retval=0
   1666 else
   1667   $as_echo "$as_me: program exited with status $ac_status" >&5
   1668        $as_echo "$as_me: failed program was:" >&5
   1669 sed 's/^/| /' conftest.$ac_ext >&5
   1670 
   1671        ac_retval=$ac_status
   1672 fi
   1673   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675   as_fn_set_status $ac_retval
   1676 
   1677 } # ac_fn_c_try_run
   1678 
   1679 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1680 # -------------------------------------------------------
   1681 # Tests whether HEADER exists and can be compiled using the include files in
   1682 # INCLUDES, setting the cache variable VAR accordingly.
   1683 ac_fn_c_check_header_compile ()
   1684 {
   1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1687 $as_echo_n "checking for $2... " >&6; }
   1688 if eval \${$3+:} false; then :
   1689   $as_echo_n "(cached) " >&6
   1690 else
   1691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 $4
   1694 #include <$2>
   1695 _ACEOF
   1696 if ac_fn_c_try_compile "$LINENO"; then :
   1697   eval "$3=yes"
   1698 else
   1699   eval "$3=no"
   1700 fi
   1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1702 fi
   1703 eval ac_res=\$$3
   1704 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1705 $as_echo "$ac_res" >&6; }
   1706   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1707 
   1708 } # ac_fn_c_check_header_compile
   1709 
   1710 # ac_fn_c_try_link LINENO
   1711 # -----------------------
   1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1713 ac_fn_c_try_link ()
   1714 {
   1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1716   rm -f conftest.$ac_objext conftest$ac_exeext
   1717   if { { ac_try="$ac_link"
   1718 case "(($ac_try" in
   1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1720   *) ac_try_echo=$ac_try;;
   1721 esac
   1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1723 $as_echo "$ac_try_echo"; } >&5
   1724   (eval "$ac_link") 2>conftest.err
   1725   ac_status=$?
   1726   if test -s conftest.err; then
   1727     grep -v '^ *+' conftest.err >conftest.er1
   1728     cat conftest.er1 >&5
   1729     mv -f conftest.er1 conftest.err
   1730   fi
   1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1732   test $ac_status = 0; } && {
   1733 	 test -z "$ac_c_werror_flag" ||
   1734 	 test ! -s conftest.err
   1735        } && test -s conftest$ac_exeext && {
   1736 	 test "$cross_compiling" = yes ||
   1737 	 test -x conftest$ac_exeext
   1738        }; then :
   1739   ac_retval=0
   1740 else
   1741   $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744 	ac_retval=1
   1745 fi
   1746   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1747   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1748   # interfere with the next link command; also delete a directory that is
   1749   # left behind by Apple's compiler.  We do this before executing the actions.
   1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_link
   1755 
   1756 # ac_fn_c_check_func LINENO FUNC VAR
   1757 # ----------------------------------
   1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1759 ac_fn_c_check_func ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1763 $as_echo_n "checking for $2... " >&6; }
   1764 if eval \${$3+:} false; then :
   1765   $as_echo_n "(cached) " >&6
   1766 else
   1767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1771 #define $2 innocuous_$2
   1772 
   1773 /* System header to define __stub macros and hopefully few prototypes,
   1774     which can conflict with char $2 (); below.
   1775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1776     <limits.h> exists even on freestanding compilers.  */
   1777 
   1778 #ifdef __STDC__
   1779 # include <limits.h>
   1780 #else
   1781 # include <assert.h>
   1782 #endif
   1783 
   1784 #undef $2
   1785 
   1786 /* Override any GCC internal prototype to avoid an error.
   1787    Use char because int might match the return type of a GCC
   1788    builtin and then its argument prototype would still apply.  */
   1789 #ifdef __cplusplus
   1790 extern "C"
   1791 #endif
   1792 char $2 ();
   1793 /* The GNU C library defines this for functions which it implements
   1794     to always fail with ENOSYS.  Some functions are actually named
   1795     something starting with __ and the normal name is an alias.  */
   1796 #if defined __stub_$2 || defined __stub___$2
   1797 choke me
   1798 #endif
   1799 
   1800 int
   1801 main ()
   1802 {
   1803 return $2 ();
   1804   ;
   1805   return 0;
   1806 }
   1807 _ACEOF
   1808 if ac_fn_c_try_link "$LINENO"; then :
   1809   eval "$3=yes"
   1810 else
   1811   eval "$3=no"
   1812 fi
   1813 rm -f core conftest.err conftest.$ac_objext \
   1814     conftest$ac_exeext conftest.$ac_ext
   1815 fi
   1816 eval ac_res=\$$3
   1817 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1818 $as_echo "$ac_res" >&6; }
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820 
   1821 } # ac_fn_c_check_func
   1822 cat >config.log <<_ACEOF
   1823 This file contains any messages produced by compilers while
   1824 running configure, to aid debugging if configure makes a mistake.
   1825 
   1826 It was created by xcalc $as_me 1.0.7, which was
   1827 generated by GNU Autoconf 2.69.  Invocation command line was
   1828 
   1829   $ $0 $@
   1830 
   1831 _ACEOF
   1832 exec 5>>config.log
   1833 {
   1834 cat <<_ASUNAME
   1835 ## --------- ##
   1836 ## Platform. ##
   1837 ## --------- ##
   1838 
   1839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1844 
   1845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1846 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1847 
   1848 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1849 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1851 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1852 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1853 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1854 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1855 
   1856 _ASUNAME
   1857 
   1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1859 for as_dir in $PATH
   1860 do
   1861   IFS=$as_save_IFS
   1862   test -z "$as_dir" && as_dir=.
   1863     $as_echo "PATH: $as_dir"
   1864   done
   1865 IFS=$as_save_IFS
   1866 
   1867 } >&5
   1868 
   1869 cat >&5 <<_ACEOF
   1870 
   1871 
   1872 ## ----------- ##
   1873 ## Core tests. ##
   1874 ## ----------- ##
   1875 
   1876 _ACEOF
   1877 
   1878 
   1879 # Keep a trace of the command line.
   1880 # Strip out --no-create and --no-recursion so they do not pile up.
   1881 # Strip out --silent because we don't want to record it for future runs.
   1882 # Also quote any args containing shell meta-characters.
   1883 # Make two passes to allow for proper duplicate-argument suppression.
   1884 ac_configure_args=
   1885 ac_configure_args0=
   1886 ac_configure_args1=
   1887 ac_must_keep_next=false
   1888 for ac_pass in 1 2
   1889 do
   1890   for ac_arg
   1891   do
   1892     case $ac_arg in
   1893     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1894     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1895     | -silent | --silent | --silen | --sile | --sil)
   1896       continue ;;
   1897     *\'*)
   1898       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1899     esac
   1900     case $ac_pass in
   1901     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1902     2)
   1903       as_fn_append ac_configure_args1 " '$ac_arg'"
   1904       if test $ac_must_keep_next = true; then
   1905 	ac_must_keep_next=false # Got value, back to normal.
   1906       else
   1907 	case $ac_arg in
   1908 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1909 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1910 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1911 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1912 	    case "$ac_configure_args0 " in
   1913 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1914 	    esac
   1915 	    ;;
   1916 	  -* ) ac_must_keep_next=true ;;
   1917 	esac
   1918       fi
   1919       as_fn_append ac_configure_args " '$ac_arg'"
   1920       ;;
   1921     esac
   1922   done
   1923 done
   1924 { ac_configure_args0=; unset ac_configure_args0;}
   1925 { ac_configure_args1=; unset ac_configure_args1;}
   1926 
   1927 # When interrupted or exit'd, cleanup temporary files, and complete
   1928 # config.log.  We remove comments because anyway the quotes in there
   1929 # would cause problems or look ugly.
   1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1932 trap 'exit_status=$?
   1933   # Save into config.log some information that might help in debugging.
   1934   {
   1935     echo
   1936 
   1937     $as_echo "## ---------------- ##
   1938 ## Cache variables. ##
   1939 ## ---------------- ##"
   1940     echo
   1941     # The following way of writing the cache mishandles newlines in values,
   1942 (
   1943   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1944     eval ac_val=\$$ac_var
   1945     case $ac_val in #(
   1946     *${as_nl}*)
   1947       case $ac_var in #(
   1948       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1950       esac
   1951       case $ac_var in #(
   1952       _ | IFS | as_nl) ;; #(
   1953       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1954       *) { eval $ac_var=; unset $ac_var;} ;;
   1955       esac ;;
   1956     esac
   1957   done
   1958   (set) 2>&1 |
   1959     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1960     *${as_nl}ac_space=\ *)
   1961       sed -n \
   1962 	"s/'\''/'\''\\\\'\'''\''/g;
   1963 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1964       ;; #(
   1965     *)
   1966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1967       ;;
   1968     esac |
   1969     sort
   1970 )
   1971     echo
   1972 
   1973     $as_echo "## ----------------- ##
   1974 ## Output variables. ##
   1975 ## ----------------- ##"
   1976     echo
   1977     for ac_var in $ac_subst_vars
   1978     do
   1979       eval ac_val=\$$ac_var
   1980       case $ac_val in
   1981       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1982       esac
   1983       $as_echo "$ac_var='\''$ac_val'\''"
   1984     done | sort
   1985     echo
   1986 
   1987     if test -n "$ac_subst_files"; then
   1988       $as_echo "## ------------------- ##
   1989 ## File substitutions. ##
   1990 ## ------------------- ##"
   1991       echo
   1992       for ac_var in $ac_subst_files
   1993       do
   1994 	eval ac_val=\$$ac_var
   1995 	case $ac_val in
   1996 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1997 	esac
   1998 	$as_echo "$ac_var='\''$ac_val'\''"
   1999       done | sort
   2000       echo
   2001     fi
   2002 
   2003     if test -s confdefs.h; then
   2004       $as_echo "## ----------- ##
   2005 ## confdefs.h. ##
   2006 ## ----------- ##"
   2007       echo
   2008       cat confdefs.h
   2009       echo
   2010     fi
   2011     test "$ac_signal" != 0 &&
   2012       $as_echo "$as_me: caught signal $ac_signal"
   2013     $as_echo "$as_me: exit $exit_status"
   2014   } >&5
   2015   rm -f core *.core core.conftest.* &&
   2016     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2017     exit $exit_status
   2018 ' 0
   2019 for ac_signal in 1 2 13 15; do
   2020   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2021 done
   2022 ac_signal=0
   2023 
   2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2025 rm -f -r conftest* confdefs.h
   2026 
   2027 $as_echo "/* confdefs.h */" > confdefs.h
   2028 
   2029 # Predefined preprocessor variables.
   2030 
   2031 cat >>confdefs.h <<_ACEOF
   2032 #define PACKAGE_NAME "$PACKAGE_NAME"
   2033 _ACEOF
   2034 
   2035 cat >>confdefs.h <<_ACEOF
   2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2037 _ACEOF
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_STRING "$PACKAGE_STRING"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_URL "$PACKAGE_URL"
   2053 _ACEOF
   2054 
   2055 
   2056 # Let the site file select an alternate cache file if it wants to.
   2057 # Prefer an explicitly selected file to automatically selected ones.
   2058 ac_site_file1=NONE
   2059 ac_site_file2=NONE
   2060 if test -n "$CONFIG_SITE"; then
   2061   # We do not want a PATH search for config.site.
   2062   case $CONFIG_SITE in #((
   2063     -*)  ac_site_file1=./$CONFIG_SITE;;
   2064     */*) ac_site_file1=$CONFIG_SITE;;
   2065     *)   ac_site_file1=./$CONFIG_SITE;;
   2066   esac
   2067 elif test "x$prefix" != xNONE; then
   2068   ac_site_file1=$prefix/share/config.site
   2069   ac_site_file2=$prefix/etc/config.site
   2070 else
   2071   ac_site_file1=$ac_default_prefix/share/config.site
   2072   ac_site_file2=$ac_default_prefix/etc/config.site
   2073 fi
   2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2075 do
   2076   test "x$ac_site_file" = xNONE && continue
   2077   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2078     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2080     sed 's/^/| /' "$ac_site_file" >&5
   2081     . "$ac_site_file" \
   2082       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2084 as_fn_error $? "failed to load site script $ac_site_file
   2085 See \`config.log' for more details" "$LINENO" 5; }
   2086   fi
   2087 done
   2088 
   2089 if test -r "$cache_file"; then
   2090   # Some versions of bash will fail to source /dev/null (special files
   2091   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2092   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2093     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2095     case $cache_file in
   2096       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2097       *)                      . "./$cache_file";;
   2098     esac
   2099   fi
   2100 else
   2101   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2103   >$cache_file
   2104 fi
   2105 
   2106 # Check that the precious variables saved in the cache have kept the same
   2107 # value.
   2108 ac_cache_corrupted=false
   2109 for ac_var in $ac_precious_vars; do
   2110   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2111   eval ac_new_set=\$ac_env_${ac_var}_set
   2112   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2113   eval ac_new_val=\$ac_env_${ac_var}_value
   2114   case $ac_old_set,$ac_new_set in
   2115     set,)
   2116       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2118       ac_cache_corrupted=: ;;
   2119     ,set)
   2120       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2122       ac_cache_corrupted=: ;;
   2123     ,);;
   2124     *)
   2125       if test "x$ac_old_val" != "x$ac_new_val"; then
   2126 	# differences in whitespace do not lead to failure.
   2127 	ac_old_val_w=`echo x $ac_old_val`
   2128 	ac_new_val_w=`echo x $ac_new_val`
   2129 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2130 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2132 	  ac_cache_corrupted=:
   2133 	else
   2134 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2136 	  eval $ac_var=\$ac_old_val
   2137 	fi
   2138 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2139 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2140 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2141 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2142       fi;;
   2143   esac
   2144   # Pass precious variables to config.status.
   2145   if test "$ac_new_set" = set; then
   2146     case $ac_new_val in
   2147     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2148     *) ac_arg=$ac_var=$ac_new_val ;;
   2149     esac
   2150     case " $ac_configure_args " in
   2151       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2152       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2153     esac
   2154   fi
   2155 done
   2156 if $ac_cache_corrupted; then
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2159   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2161   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2162 fi
   2163 ## -------------------- ##
   2164 ## Main body of script. ##
   2165 ## -------------------- ##
   2166 
   2167 ac_ext=c
   2168 ac_cpp='$CPP $CPPFLAGS'
   2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2172 
   2173 
   2174 
   2175 ac_config_headers="$ac_config_headers config.h"
   2176 
   2177 
   2178 # Initialize Automake
   2179 am__api_version='1.15'
   2180 
   2181 ac_aux_dir=
   2182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2183   if test -f "$ac_dir/install-sh"; then
   2184     ac_aux_dir=$ac_dir
   2185     ac_install_sh="$ac_aux_dir/install-sh -c"
   2186     break
   2187   elif test -f "$ac_dir/install.sh"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/install.sh -c"
   2190     break
   2191   elif test -f "$ac_dir/shtool"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/shtool install -c"
   2194     break
   2195   fi
   2196 done
   2197 if test -z "$ac_aux_dir"; then
   2198   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2199 fi
   2200 
   2201 # These three variables are undocumented and unsupported,
   2202 # and are intended to be withdrawn in a future Autoconf release.
   2203 # They can cause serious problems if a builder's source tree is in a directory
   2204 # whose full name contains unusual characters.
   2205 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2206 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2207 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2208 
   2209 
   2210 # Find a good install program.  We prefer a C program (faster),
   2211 # so one script is as good as another.  But avoid the broken or
   2212 # incompatible versions:
   2213 # SysV /etc/install, /usr/sbin/install
   2214 # SunOS /usr/etc/install
   2215 # IRIX /sbin/install
   2216 # AIX /bin/install
   2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2221 # OS/2's system install, which has a completely different semantic
   2222 # ./install, which can be erroneously created by make from ./install.sh.
   2223 # Reject install programs that cannot install multiple files.
   2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2225 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2226 if test -z "$INSTALL"; then
   2227 if ${ac_cv_path_install+:} false; then :
   2228   $as_echo_n "(cached) " >&6
   2229 else
   2230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2231 for as_dir in $PATH
   2232 do
   2233   IFS=$as_save_IFS
   2234   test -z "$as_dir" && as_dir=.
   2235     # Account for people who put trailing slashes in PATH elements.
   2236 case $as_dir/ in #((
   2237   ./ | .// | /[cC]/* | \
   2238   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2239   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2240   /usr/ucb/* ) ;;
   2241   *)
   2242     # OSF1 and SCO ODT 3.0 have their own names for install.
   2243     # Don't use installbsd from OSF since it installs stuff as root
   2244     # by default.
   2245     for ac_prog in ginstall scoinst install; do
   2246       for ac_exec_ext in '' $ac_executable_extensions; do
   2247 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2248 	  if test $ac_prog = install &&
   2249 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2250 	    # AIX install.  It has an incompatible calling convention.
   2251 	    :
   2252 	  elif test $ac_prog = install &&
   2253 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2254 	    # program-specific install script used by HP pwplus--don't use.
   2255 	    :
   2256 	  else
   2257 	    rm -rf conftest.one conftest.two conftest.dir
   2258 	    echo one > conftest.one
   2259 	    echo two > conftest.two
   2260 	    mkdir conftest.dir
   2261 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2262 	      test -s conftest.one && test -s conftest.two &&
   2263 	      test -s conftest.dir/conftest.one &&
   2264 	      test -s conftest.dir/conftest.two
   2265 	    then
   2266 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2267 	      break 3
   2268 	    fi
   2269 	  fi
   2270 	fi
   2271       done
   2272     done
   2273     ;;
   2274 esac
   2275 
   2276   done
   2277 IFS=$as_save_IFS
   2278 
   2279 rm -rf conftest.one conftest.two conftest.dir
   2280 
   2281 fi
   2282   if test "${ac_cv_path_install+set}" = set; then
   2283     INSTALL=$ac_cv_path_install
   2284   else
   2285     # As a last resort, use the slow shell script.  Don't cache a
   2286     # value for INSTALL within a source directory, because that will
   2287     # break other packages using the cache if that directory is
   2288     # removed, or if the value is a relative name.
   2289     INSTALL=$ac_install_sh
   2290   fi
   2291 fi
   2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2293 $as_echo "$INSTALL" >&6; }
   2294 
   2295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2296 # It thinks the first close brace ends the variable substitution.
   2297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2298 
   2299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2300 
   2301 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2302 
   2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2304 $as_echo_n "checking whether build environment is sane... " >&6; }
   2305 # Reject unsafe characters in $srcdir or the absolute working directory
   2306 # name.  Accept space and tab only in the latter.
   2307 am_lf='
   2308 '
   2309 case `pwd` in
   2310   *[\\\"\#\$\&\'\`$am_lf]*)
   2311     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2312 esac
   2313 case $srcdir in
   2314   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2315     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2316 esac
   2317 
   2318 # Do 'set' in a subshell so we don't clobber the current shell's
   2319 # arguments.  Must try -L first in case configure is actually a
   2320 # symlink; some systems play weird games with the mod time of symlinks
   2321 # (eg FreeBSD returns the mod time of the symlink's containing
   2322 # directory).
   2323 if (
   2324    am_has_slept=no
   2325    for am_try in 1 2; do
   2326      echo "timestamp, slept: $am_has_slept" > conftest.file
   2327      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2328      if test "$*" = "X"; then
   2329 	# -L didn't work.
   2330 	set X `ls -t "$srcdir/configure" conftest.file`
   2331      fi
   2332      if test "$*" != "X $srcdir/configure conftest.file" \
   2333 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2334 
   2335 	# If neither matched, then we have a broken ls.  This can happen
   2336 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2337 	# broken ls alias from the environment.  This has actually
   2338 	# happened.  Such a system could not be considered "sane".
   2339 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2340   alias in your environment" "$LINENO" 5
   2341      fi
   2342      if test "$2" = conftest.file || test $am_try -eq 2; then
   2343        break
   2344      fi
   2345      # Just in case.
   2346      sleep 1
   2347      am_has_slept=yes
   2348    done
   2349    test "$2" = conftest.file
   2350    )
   2351 then
   2352    # Ok.
   2353    :
   2354 else
   2355    as_fn_error $? "newly created file is older than distributed files!
   2356 Check your system clock" "$LINENO" 5
   2357 fi
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2359 $as_echo "yes" >&6; }
   2360 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2361 # generated files are strictly newer.
   2362 am_sleep_pid=
   2363 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2364   ( sleep 1 ) &
   2365   am_sleep_pid=$!
   2366 fi
   2367 
   2368 rm -f conftest.file
   2369 
   2370 test "$program_prefix" != NONE &&
   2371   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2372 # Use a double $ so make ignores it.
   2373 test "$program_suffix" != NONE &&
   2374   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2375 # Double any \ or $.
   2376 # By default was `s,x,x', remove it if useless.
   2377 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2378 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2379 
   2380 # Expand $ac_aux_dir to an absolute path.
   2381 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2382 
   2383 if test x"${MISSING+set}" != xset; then
   2384   case $am_aux_dir in
   2385   *\ * | *\	*)
   2386     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2387   *)
   2388     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2389   esac
   2390 fi
   2391 # Use eval to expand $SHELL
   2392 if eval "$MISSING --is-lightweight"; then
   2393   am_missing_run="$MISSING "
   2394 else
   2395   am_missing_run=
   2396   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2397 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2398 fi
   2399 
   2400 if test x"${install_sh+set}" != xset; then
   2401   case $am_aux_dir in
   2402   *\ * | *\	*)
   2403     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2404   *)
   2405     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2406   esac
   2407 fi
   2408 
   2409 # Installed binaries are usually stripped using 'strip' when the user
   2410 # run "make install-strip".  However 'strip' might not be the right
   2411 # tool to use in cross-compilation environments, therefore Automake
   2412 # will honor the 'STRIP' environment variable to overrule this program.
   2413 if test "$cross_compiling" != no; then
   2414   if test -n "$ac_tool_prefix"; then
   2415   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2416 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2418 $as_echo_n "checking for $ac_word... " >&6; }
   2419 if ${ac_cv_prog_STRIP+:} false; then :
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   if test -n "$STRIP"; then
   2423   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2424 else
   2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2426 for as_dir in $PATH
   2427 do
   2428   IFS=$as_save_IFS
   2429   test -z "$as_dir" && as_dir=.
   2430     for ac_exec_ext in '' $ac_executable_extensions; do
   2431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2432     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2434     break 2
   2435   fi
   2436 done
   2437   done
   2438 IFS=$as_save_IFS
   2439 
   2440 fi
   2441 fi
   2442 STRIP=$ac_cv_prog_STRIP
   2443 if test -n "$STRIP"; then
   2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2445 $as_echo "$STRIP" >&6; }
   2446 else
   2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2448 $as_echo "no" >&6; }
   2449 fi
   2450 
   2451 
   2452 fi
   2453 if test -z "$ac_cv_prog_STRIP"; then
   2454   ac_ct_STRIP=$STRIP
   2455   # Extract the first word of "strip", so it can be a program name with args.
   2456 set dummy strip; ac_word=$2
   2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2458 $as_echo_n "checking for $ac_word... " >&6; }
   2459 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   if test -n "$ac_ct_STRIP"; then
   2463   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2464 else
   2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2466 for as_dir in $PATH
   2467 do
   2468   IFS=$as_save_IFS
   2469   test -z "$as_dir" && as_dir=.
   2470     for ac_exec_ext in '' $ac_executable_extensions; do
   2471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2472     ac_cv_prog_ac_ct_STRIP="strip"
   2473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2474     break 2
   2475   fi
   2476 done
   2477   done
   2478 IFS=$as_save_IFS
   2479 
   2480 fi
   2481 fi
   2482 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2483 if test -n "$ac_ct_STRIP"; then
   2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2485 $as_echo "$ac_ct_STRIP" >&6; }
   2486 else
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2488 $as_echo "no" >&6; }
   2489 fi
   2490 
   2491   if test "x$ac_ct_STRIP" = x; then
   2492     STRIP=":"
   2493   else
   2494     case $cross_compiling:$ac_tool_warned in
   2495 yes:)
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2498 ac_tool_warned=yes ;;
   2499 esac
   2500     STRIP=$ac_ct_STRIP
   2501   fi
   2502 else
   2503   STRIP="$ac_cv_prog_STRIP"
   2504 fi
   2505 
   2506 fi
   2507 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2508 
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2510 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2511 if test -z "$MKDIR_P"; then
   2512   if ${ac_cv_path_mkdir+:} false; then :
   2513   $as_echo_n "(cached) " >&6
   2514 else
   2515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520     for ac_prog in mkdir gmkdir; do
   2521 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2522 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2523 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2524 	     'mkdir (GNU coreutils) '* | \
   2525 	     'mkdir (coreutils) '* | \
   2526 	     'mkdir (fileutils) '4.1*)
   2527 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2528 	       break 3;;
   2529 	   esac
   2530 	 done
   2531        done
   2532   done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 
   2537   test -d ./--version && rmdir ./--version
   2538   if test "${ac_cv_path_mkdir+set}" = set; then
   2539     MKDIR_P="$ac_cv_path_mkdir -p"
   2540   else
   2541     # As a last resort, use the slow shell script.  Don't cache a
   2542     # value for MKDIR_P within a source directory, because that will
   2543     # break other packages using the cache if that directory is
   2544     # removed, or if the value is a relative name.
   2545     MKDIR_P="$ac_install_sh -d"
   2546   fi
   2547 fi
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2549 $as_echo "$MKDIR_P" >&6; }
   2550 
   2551 for ac_prog in gawk mawk nawk awk
   2552 do
   2553   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2554 set dummy $ac_prog; ac_word=$2
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2556 $as_echo_n "checking for $ac_word... " >&6; }
   2557 if ${ac_cv_prog_AWK+:} false; then :
   2558   $as_echo_n "(cached) " >&6
   2559 else
   2560   if test -n "$AWK"; then
   2561   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2562 else
   2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2564 for as_dir in $PATH
   2565 do
   2566   IFS=$as_save_IFS
   2567   test -z "$as_dir" && as_dir=.
   2568     for ac_exec_ext in '' $ac_executable_extensions; do
   2569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2570     ac_cv_prog_AWK="$ac_prog"
   2571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2572     break 2
   2573   fi
   2574 done
   2575   done
   2576 IFS=$as_save_IFS
   2577 
   2578 fi
   2579 fi
   2580 AWK=$ac_cv_prog_AWK
   2581 if test -n "$AWK"; then
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2583 $as_echo "$AWK" >&6; }
   2584 else
   2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2586 $as_echo "no" >&6; }
   2587 fi
   2588 
   2589 
   2590   test -n "$AWK" && break
   2591 done
   2592 
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2595 set x ${MAKE-make}
   2596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2598   $as_echo_n "(cached) " >&6
   2599 else
   2600   cat >conftest.make <<\_ACEOF
   2601 SHELL = /bin/sh
   2602 all:
   2603 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2604 _ACEOF
   2605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2607   *@@@%%%=?*=@@@%%%*)
   2608     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2609   *)
   2610     eval ac_cv_prog_make_${ac_make}_set=no;;
   2611 esac
   2612 rm -f conftest.make
   2613 fi
   2614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2616 $as_echo "yes" >&6; }
   2617   SET_MAKE=
   2618 else
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2620 $as_echo "no" >&6; }
   2621   SET_MAKE="MAKE=${MAKE-make}"
   2622 fi
   2623 
   2624 rm -rf .tst 2>/dev/null
   2625 mkdir .tst 2>/dev/null
   2626 if test -d .tst; then
   2627   am__leading_dot=.
   2628 else
   2629   am__leading_dot=_
   2630 fi
   2631 rmdir .tst 2>/dev/null
   2632 
   2633 # Check whether --enable-silent-rules was given.
   2634 if test "${enable_silent_rules+set}" = set; then :
   2635   enableval=$enable_silent_rules;
   2636 fi
   2637 
   2638 case $enable_silent_rules in # (((
   2639   yes) AM_DEFAULT_VERBOSITY=0;;
   2640    no) AM_DEFAULT_VERBOSITY=1;;
   2641     *) AM_DEFAULT_VERBOSITY=1;;
   2642 esac
   2643 am_make=${MAKE-make}
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2646 if ${am_cv_make_support_nested_variables+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   if $as_echo 'TRUE=$(BAR$(V))
   2650 BAR0=false
   2651 BAR1=true
   2652 V=1
   2653 am__doit:
   2654 	@$(TRUE)
   2655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2656   am_cv_make_support_nested_variables=yes
   2657 else
   2658   am_cv_make_support_nested_variables=no
   2659 fi
   2660 fi
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2663 if test $am_cv_make_support_nested_variables = yes; then
   2664     AM_V='$(V)'
   2665   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2666 else
   2667   AM_V=$AM_DEFAULT_VERBOSITY
   2668   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2669 fi
   2670 AM_BACKSLASH='\'
   2671 
   2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2673   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2674   # is not polluted with repeated "-I."
   2675   am__isrc=' -I$(srcdir)'
   2676   # test to see if srcdir already configured
   2677   if test -f $srcdir/config.status; then
   2678     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2679   fi
   2680 fi
   2681 
   2682 # test whether we have cygpath
   2683 if test -z "$CYGPATH_W"; then
   2684   if (cygpath --version) >/dev/null 2>/dev/null; then
   2685     CYGPATH_W='cygpath -w'
   2686   else
   2687     CYGPATH_W=echo
   2688   fi
   2689 fi
   2690 
   2691 
   2692 # Define the identity of the package.
   2693  PACKAGE='xcalc'
   2694  VERSION='1.0.7'
   2695 
   2696 
   2697 cat >>confdefs.h <<_ACEOF
   2698 #define PACKAGE "$PACKAGE"
   2699 _ACEOF
   2700 
   2701 
   2702 cat >>confdefs.h <<_ACEOF
   2703 #define VERSION "$VERSION"
   2704 _ACEOF
   2705 
   2706 # Some tools Automake needs.
   2707 
   2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2709 
   2710 
   2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2712 
   2713 
   2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2715 
   2716 
   2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2718 
   2719 
   2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2721 
   2722 # For better backward compatibility.  To be removed once Automake 1.9.x
   2723 # dies out for good.  For more background, see:
   2724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2726 mkdir_p='$(MKDIR_P)'
   2727 
   2728 # We need awk for the "check" target (and possibly the TAP driver).  The
   2729 # system "awk" is bad on some platforms.
   2730 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2731 # in the wild :-(  We should find a proper way to deprecate it ...
   2732 AMTAR='$${TAR-tar}'
   2733 
   2734 
   2735 # We'll loop over all known methods to create a tar archive until one works.
   2736 _am_tools='gnutar  pax cpio none'
   2737 
   2738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2739 
   2740 
   2741 
   2742 
   2743 
   2744 
   2745 # POSIX will say in a future version that running "rm -f" with no argument
   2746 # is OK; and we want to be able to make that assumption in our Makefile
   2747 # recipes.  So use an aggressive probe to check that the usage we want is
   2748 # actually supported "in the wild" to an acceptable degree.
   2749 # See automake bug#10828.
   2750 # To make any issue more visible, cause the running configure to be aborted
   2751 # by default if the 'rm' program in use doesn't match our expectations; the
   2752 # user can still override this though.
   2753 if rm -f && rm -fr && rm -rf; then : OK; else
   2754   cat >&2 <<'END'
   2755 Oops!
   2756 
   2757 Your 'rm' program seems unable to run without file operands specified
   2758 on the command line, even when the '-f' option is present.  This is contrary
   2759 to the behaviour of most rm programs out there, and not conforming with
   2760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2761 
   2762 Please tell bug-automake@gnu.org about your system, including the value
   2763 of your $PATH and any error possibly output before this message.  This
   2764 can help us improve future automake versions.
   2765 
   2766 END
   2767   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2768     echo 'Configuration will proceed anyway, since you have set the' >&2
   2769     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2770     echo >&2
   2771   else
   2772     cat >&2 <<'END'
   2773 Aborting the configuration process, to ensure you take notice of the issue.
   2774 
   2775 You can download and install GNU coreutils to get an 'rm' implementation
   2776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2777 
   2778 If you want to complete the configuration process using your problematic
   2779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2780 to "yes", and re-run configure.
   2781 
   2782 END
   2783     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2784   fi
   2785 fi
   2786 
   2787 
   2788 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 DEPDIR="${am__leading_dot}deps"
   2801 
   2802 ac_config_commands="$ac_config_commands depfiles"
   2803 
   2804 
   2805 am_make=${MAKE-make}
   2806 cat > confinc << 'END'
   2807 am__doit:
   2808 	@echo this is the am__doit target
   2809 .PHONY: am__doit
   2810 END
   2811 # If we don't find an include directive, just comment out the code.
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2813 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2814 am__include="#"
   2815 am__quote=
   2816 _am_result=none
   2817 # First try GNU make style include.
   2818 echo "include confinc" > confmf
   2819 # Ignore all kinds of additional output from 'make'.
   2820 case `$am_make -s -f confmf 2> /dev/null` in #(
   2821 *the\ am__doit\ target*)
   2822   am__include=include
   2823   am__quote=
   2824   _am_result=GNU
   2825   ;;
   2826 esac
   2827 # Now try BSD make style include.
   2828 if test "$am__include" = "#"; then
   2829    echo '.include "confinc"' > confmf
   2830    case `$am_make -s -f confmf 2> /dev/null` in #(
   2831    *the\ am__doit\ target*)
   2832      am__include=.include
   2833      am__quote="\""
   2834      _am_result=BSD
   2835      ;;
   2836    esac
   2837 fi
   2838 
   2839 
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2841 $as_echo "$_am_result" >&6; }
   2842 rm -f confinc confmf
   2843 
   2844 # Check whether --enable-dependency-tracking was given.
   2845 if test "${enable_dependency_tracking+set}" = set; then :
   2846   enableval=$enable_dependency_tracking;
   2847 fi
   2848 
   2849 if test "x$enable_dependency_tracking" != xno; then
   2850   am_depcomp="$ac_aux_dir/depcomp"
   2851   AMDEPBACKSLASH='\'
   2852   am__nodep='_no'
   2853 fi
   2854  if test "x$enable_dependency_tracking" != xno; then
   2855   AMDEP_TRUE=
   2856   AMDEP_FALSE='#'
   2857 else
   2858   AMDEP_TRUE='#'
   2859   AMDEP_FALSE=
   2860 fi
   2861 
   2862 
   2863 ac_ext=c
   2864 ac_cpp='$CPP $CPPFLAGS'
   2865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2868 if test -n "$ac_tool_prefix"; then
   2869   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2872 $as_echo_n "checking for $ac_word... " >&6; }
   2873 if ${ac_cv_prog_CC+:} false; then :
   2874   $as_echo_n "(cached) " >&6
   2875 else
   2876   if test -n "$CC"; then
   2877   ac_cv_prog_CC="$CC" # Let the user override the test.
   2878 else
   2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2880 for as_dir in $PATH
   2881 do
   2882   IFS=$as_save_IFS
   2883   test -z "$as_dir" && as_dir=.
   2884     for ac_exec_ext in '' $ac_executable_extensions; do
   2885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2886     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2888     break 2
   2889   fi
   2890 done
   2891   done
   2892 IFS=$as_save_IFS
   2893 
   2894 fi
   2895 fi
   2896 CC=$ac_cv_prog_CC
   2897 if test -n "$CC"; then
   2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2899 $as_echo "$CC" >&6; }
   2900 else
   2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2902 $as_echo "no" >&6; }
   2903 fi
   2904 
   2905 
   2906 fi
   2907 if test -z "$ac_cv_prog_CC"; then
   2908   ac_ct_CC=$CC
   2909   # Extract the first word of "gcc", so it can be a program name with args.
   2910 set dummy gcc; ac_word=$2
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2912 $as_echo_n "checking for $ac_word... " >&6; }
   2913 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2914   $as_echo_n "(cached) " >&6
   2915 else
   2916   if test -n "$ac_ct_CC"; then
   2917   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2918 else
   2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2920 for as_dir in $PATH
   2921 do
   2922   IFS=$as_save_IFS
   2923   test -z "$as_dir" && as_dir=.
   2924     for ac_exec_ext in '' $ac_executable_extensions; do
   2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2926     ac_cv_prog_ac_ct_CC="gcc"
   2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2928     break 2
   2929   fi
   2930 done
   2931   done
   2932 IFS=$as_save_IFS
   2933 
   2934 fi
   2935 fi
   2936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2937 if test -n "$ac_ct_CC"; then
   2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2939 $as_echo "$ac_ct_CC" >&6; }
   2940 else
   2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2942 $as_echo "no" >&6; }
   2943 fi
   2944 
   2945   if test "x$ac_ct_CC" = x; then
   2946     CC=""
   2947   else
   2948     case $cross_compiling:$ac_tool_warned in
   2949 yes:)
   2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2952 ac_tool_warned=yes ;;
   2953 esac
   2954     CC=$ac_ct_CC
   2955   fi
   2956 else
   2957   CC="$ac_cv_prog_CC"
   2958 fi
   2959 
   2960 if test -z "$CC"; then
   2961           if test -n "$ac_tool_prefix"; then
   2962     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2963 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2965 $as_echo_n "checking for $ac_word... " >&6; }
   2966 if ${ac_cv_prog_CC+:} false; then :
   2967   $as_echo_n "(cached) " >&6
   2968 else
   2969   if test -n "$CC"; then
   2970   ac_cv_prog_CC="$CC" # Let the user override the test.
   2971 else
   2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2973 for as_dir in $PATH
   2974 do
   2975   IFS=$as_save_IFS
   2976   test -z "$as_dir" && as_dir=.
   2977     for ac_exec_ext in '' $ac_executable_extensions; do
   2978   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2979     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2981     break 2
   2982   fi
   2983 done
   2984   done
   2985 IFS=$as_save_IFS
   2986 
   2987 fi
   2988 fi
   2989 CC=$ac_cv_prog_CC
   2990 if test -n "$CC"; then
   2991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2992 $as_echo "$CC" >&6; }
   2993 else
   2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2995 $as_echo "no" >&6; }
   2996 fi
   2997 
   2998 
   2999   fi
   3000 fi
   3001 if test -z "$CC"; then
   3002   # Extract the first word of "cc", so it can be a program name with args.
   3003 set dummy cc; ac_word=$2
   3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3005 $as_echo_n "checking for $ac_word... " >&6; }
   3006 if ${ac_cv_prog_CC+:} false; then :
   3007   $as_echo_n "(cached) " >&6
   3008 else
   3009   if test -n "$CC"; then
   3010   ac_cv_prog_CC="$CC" # Let the user override the test.
   3011 else
   3012   ac_prog_rejected=no
   3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3014 for as_dir in $PATH
   3015 do
   3016   IFS=$as_save_IFS
   3017   test -z "$as_dir" && as_dir=.
   3018     for ac_exec_ext in '' $ac_executable_extensions; do
   3019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3020     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3021        ac_prog_rejected=yes
   3022        continue
   3023      fi
   3024     ac_cv_prog_CC="cc"
   3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029   done
   3030 IFS=$as_save_IFS
   3031 
   3032 if test $ac_prog_rejected = yes; then
   3033   # We found a bogon in the path, so make sure we never use it.
   3034   set dummy $ac_cv_prog_CC
   3035   shift
   3036   if test $# != 0; then
   3037     # We chose a different compiler from the bogus one.
   3038     # However, it has the same basename, so the bogon will be chosen
   3039     # first if we set CC to just the basename; use the full file name.
   3040     shift
   3041     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3042   fi
   3043 fi
   3044 fi
   3045 fi
   3046 CC=$ac_cv_prog_CC
   3047 if test -n "$CC"; then
   3048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3049 $as_echo "$CC" >&6; }
   3050 else
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3052 $as_echo "no" >&6; }
   3053 fi
   3054 
   3055 
   3056 fi
   3057 if test -z "$CC"; then
   3058   if test -n "$ac_tool_prefix"; then
   3059   for ac_prog in cl.exe
   3060   do
   3061     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3064 $as_echo_n "checking for $ac_word... " >&6; }
   3065 if ${ac_cv_prog_CC+:} false; then :
   3066   $as_echo_n "(cached) " >&6
   3067 else
   3068   if test -n "$CC"; then
   3069   ac_cv_prog_CC="$CC" # Let the user override the test.
   3070 else
   3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3072 for as_dir in $PATH
   3073 do
   3074   IFS=$as_save_IFS
   3075   test -z "$as_dir" && as_dir=.
   3076     for ac_exec_ext in '' $ac_executable_extensions; do
   3077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3078     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3080     break 2
   3081   fi
   3082 done
   3083   done
   3084 IFS=$as_save_IFS
   3085 
   3086 fi
   3087 fi
   3088 CC=$ac_cv_prog_CC
   3089 if test -n "$CC"; then
   3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3091 $as_echo "$CC" >&6; }
   3092 else
   3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3094 $as_echo "no" >&6; }
   3095 fi
   3096 
   3097 
   3098     test -n "$CC" && break
   3099   done
   3100 fi
   3101 if test -z "$CC"; then
   3102   ac_ct_CC=$CC
   3103   for ac_prog in cl.exe
   3104 do
   3105   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3106 set dummy $ac_prog; ac_word=$2
   3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3108 $as_echo_n "checking for $ac_word... " >&6; }
   3109 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3110   $as_echo_n "(cached) " >&6
   3111 else
   3112   if test -n "$ac_ct_CC"; then
   3113   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3114 else
   3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3116 for as_dir in $PATH
   3117 do
   3118   IFS=$as_save_IFS
   3119   test -z "$as_dir" && as_dir=.
   3120     for ac_exec_ext in '' $ac_executable_extensions; do
   3121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3122     ac_cv_prog_ac_ct_CC="$ac_prog"
   3123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3124     break 2
   3125   fi
   3126 done
   3127   done
   3128 IFS=$as_save_IFS
   3129 
   3130 fi
   3131 fi
   3132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3133 if test -n "$ac_ct_CC"; then
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3135 $as_echo "$ac_ct_CC" >&6; }
   3136 else
   3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3138 $as_echo "no" >&6; }
   3139 fi
   3140 
   3141 
   3142   test -n "$ac_ct_CC" && break
   3143 done
   3144 
   3145   if test "x$ac_ct_CC" = x; then
   3146     CC=""
   3147   else
   3148     case $cross_compiling:$ac_tool_warned in
   3149 yes:)
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3152 ac_tool_warned=yes ;;
   3153 esac
   3154     CC=$ac_ct_CC
   3155   fi
   3156 fi
   3157 
   3158 fi
   3159 
   3160 
   3161 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3163 as_fn_error $? "no acceptable C compiler found in \$PATH
   3164 See \`config.log' for more details" "$LINENO" 5; }
   3165 
   3166 # Provide some information about the compiler.
   3167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3168 set X $ac_compile
   3169 ac_compiler=$2
   3170 for ac_option in --version -v -V -qversion; do
   3171   { { ac_try="$ac_compiler $ac_option >&5"
   3172 case "(($ac_try" in
   3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3174   *) ac_try_echo=$ac_try;;
   3175 esac
   3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3177 $as_echo "$ac_try_echo"; } >&5
   3178   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3179   ac_status=$?
   3180   if test -s conftest.err; then
   3181     sed '10a\
   3182 ... rest of stderr output deleted ...
   3183          10q' conftest.err >conftest.er1
   3184     cat conftest.er1 >&5
   3185   fi
   3186   rm -f conftest.er1 conftest.err
   3187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3188   test $ac_status = 0; }
   3189 done
   3190 
   3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3192 /* end confdefs.h.  */
   3193 
   3194 int
   3195 main ()
   3196 {
   3197 
   3198   ;
   3199   return 0;
   3200 }
   3201 _ACEOF
   3202 ac_clean_files_save=$ac_clean_files
   3203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3204 # Try to create an executable without -o first, disregard a.out.
   3205 # It will help us diagnose broken compilers, and finding out an intuition
   3206 # of exeext.
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3208 $as_echo_n "checking whether the C compiler works... " >&6; }
   3209 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3210 
   3211 # The possible output files:
   3212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3213 
   3214 ac_rmfiles=
   3215 for ac_file in $ac_files
   3216 do
   3217   case $ac_file in
   3218     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3219     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3220   esac
   3221 done
   3222 rm -f $ac_rmfiles
   3223 
   3224 if { { ac_try="$ac_link_default"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo"; } >&5
   3231   (eval "$ac_link_default") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }; then :
   3235   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3236 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3237 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3238 # so that the user can short-circuit this test for compilers unknown to
   3239 # Autoconf.
   3240 for ac_file in $ac_files ''
   3241 do
   3242   test -f "$ac_file" || continue
   3243   case $ac_file in
   3244     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3245 	;;
   3246     [ab].out )
   3247 	# We found the default executable, but exeext='' is most
   3248 	# certainly right.
   3249 	break;;
   3250     *.* )
   3251 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3252 	then :; else
   3253 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3254 	fi
   3255 	# We set ac_cv_exeext here because the later test for it is not
   3256 	# safe: cross compilers may not add the suffix if given an `-o'
   3257 	# argument, so we may need to know it at that point already.
   3258 	# Even if this section looks crufty: it has the advantage of
   3259 	# actually working.
   3260 	break;;
   3261     * )
   3262 	break;;
   3263   esac
   3264 done
   3265 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3266 
   3267 else
   3268   ac_file=''
   3269 fi
   3270 if test -z "$ac_file"; then :
   3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3272 $as_echo "no" >&6; }
   3273 $as_echo "$as_me: failed program was:" >&5
   3274 sed 's/^/| /' conftest.$ac_ext >&5
   3275 
   3276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3278 as_fn_error 77 "C compiler cannot create executables
   3279 See \`config.log' for more details" "$LINENO" 5; }
   3280 else
   3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3282 $as_echo "yes" >&6; }
   3283 fi
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3285 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3287 $as_echo "$ac_file" >&6; }
   3288 ac_exeext=$ac_cv_exeext
   3289 
   3290 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3291 ac_clean_files=$ac_clean_files_save
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3293 $as_echo_n "checking for suffix of executables... " >&6; }
   3294 if { { ac_try="$ac_link"
   3295 case "(($ac_try" in
   3296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3297   *) ac_try_echo=$ac_try;;
   3298 esac
   3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3300 $as_echo "$ac_try_echo"; } >&5
   3301   (eval "$ac_link") 2>&5
   3302   ac_status=$?
   3303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3304   test $ac_status = 0; }; then :
   3305   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3306 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3307 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3308 # `rm'.
   3309 for ac_file in conftest.exe conftest conftest.*; do
   3310   test -f "$ac_file" || continue
   3311   case $ac_file in
   3312     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3313     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3314 	  break;;
   3315     * ) break;;
   3316   esac
   3317 done
   3318 else
   3319   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3321 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3322 See \`config.log' for more details" "$LINENO" 5; }
   3323 fi
   3324 rm -f conftest conftest$ac_cv_exeext
   3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3326 $as_echo "$ac_cv_exeext" >&6; }
   3327 
   3328 rm -f conftest.$ac_ext
   3329 EXEEXT=$ac_cv_exeext
   3330 ac_exeext=$EXEEXT
   3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3332 /* end confdefs.h.  */
   3333 #include <stdio.h>
   3334 int
   3335 main ()
   3336 {
   3337 FILE *f = fopen ("conftest.out", "w");
   3338  return ferror (f) || fclose (f) != 0;
   3339 
   3340   ;
   3341   return 0;
   3342 }
   3343 _ACEOF
   3344 ac_clean_files="$ac_clean_files conftest.out"
   3345 # Check that the compiler produces executables we can run.  If not, either
   3346 # the compiler is broken, or we cross compile.
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3348 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3349 if test "$cross_compiling" != yes; then
   3350   { { ac_try="$ac_link"
   3351 case "(($ac_try" in
   3352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3353   *) ac_try_echo=$ac_try;;
   3354 esac
   3355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3356 $as_echo "$ac_try_echo"; } >&5
   3357   (eval "$ac_link") 2>&5
   3358   ac_status=$?
   3359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3360   test $ac_status = 0; }
   3361   if { ac_try='./conftest$ac_cv_exeext'
   3362   { { case "(($ac_try" in
   3363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3364   *) ac_try_echo=$ac_try;;
   3365 esac
   3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3367 $as_echo "$ac_try_echo"; } >&5
   3368   (eval "$ac_try") 2>&5
   3369   ac_status=$?
   3370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3371   test $ac_status = 0; }; }; then
   3372     cross_compiling=no
   3373   else
   3374     if test "$cross_compiling" = maybe; then
   3375 	cross_compiling=yes
   3376     else
   3377 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3379 as_fn_error $? "cannot run C compiled programs.
   3380 If you meant to cross compile, use \`--host'.
   3381 See \`config.log' for more details" "$LINENO" 5; }
   3382     fi
   3383   fi
   3384 fi
   3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3386 $as_echo "$cross_compiling" >&6; }
   3387 
   3388 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3389 ac_clean_files=$ac_clean_files_save
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3391 $as_echo_n "checking for suffix of object files... " >&6; }
   3392 if ${ac_cv_objext+:} false; then :
   3393   $as_echo_n "(cached) " >&6
   3394 else
   3395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 
   3398 int
   3399 main ()
   3400 {
   3401 
   3402   ;
   3403   return 0;
   3404 }
   3405 _ACEOF
   3406 rm -f conftest.o conftest.obj
   3407 if { { ac_try="$ac_compile"
   3408 case "(($ac_try" in
   3409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3410   *) ac_try_echo=$ac_try;;
   3411 esac
   3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3413 $as_echo "$ac_try_echo"; } >&5
   3414   (eval "$ac_compile") 2>&5
   3415   ac_status=$?
   3416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3417   test $ac_status = 0; }; then :
   3418   for ac_file in conftest.o conftest.obj conftest.*; do
   3419   test -f "$ac_file" || continue;
   3420   case $ac_file in
   3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3422     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3423        break;;
   3424   esac
   3425 done
   3426 else
   3427   $as_echo "$as_me: failed program was:" >&5
   3428 sed 's/^/| /' conftest.$ac_ext >&5
   3429 
   3430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3432 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3433 See \`config.log' for more details" "$LINENO" 5; }
   3434 fi
   3435 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3436 fi
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3438 $as_echo "$ac_cv_objext" >&6; }
   3439 OBJEXT=$ac_cv_objext
   3440 ac_objext=$OBJEXT
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3442 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3443 if ${ac_cv_c_compiler_gnu+:} false; then :
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3447 /* end confdefs.h.  */
   3448 
   3449 int
   3450 main ()
   3451 {
   3452 #ifndef __GNUC__
   3453        choke me
   3454 #endif
   3455 
   3456   ;
   3457   return 0;
   3458 }
   3459 _ACEOF
   3460 if ac_fn_c_try_compile "$LINENO"; then :
   3461   ac_compiler_gnu=yes
   3462 else
   3463   ac_compiler_gnu=no
   3464 fi
   3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3467 
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3470 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3471 if test $ac_compiler_gnu = yes; then
   3472   GCC=yes
   3473 else
   3474   GCC=
   3475 fi
   3476 ac_test_CFLAGS=${CFLAGS+set}
   3477 ac_save_CFLAGS=$CFLAGS
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3479 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3480 if ${ac_cv_prog_cc_g+:} false; then :
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   ac_save_c_werror_flag=$ac_c_werror_flag
   3484    ac_c_werror_flag=yes
   3485    ac_cv_prog_cc_g=no
   3486    CFLAGS="-g"
   3487    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3488 /* end confdefs.h.  */
   3489 
   3490 int
   3491 main ()
   3492 {
   3493 
   3494   ;
   3495   return 0;
   3496 }
   3497 _ACEOF
   3498 if ac_fn_c_try_compile "$LINENO"; then :
   3499   ac_cv_prog_cc_g=yes
   3500 else
   3501   CFLAGS=""
   3502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3503 /* end confdefs.h.  */
   3504 
   3505 int
   3506 main ()
   3507 {
   3508 
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 if ac_fn_c_try_compile "$LINENO"; then :
   3514 
   3515 else
   3516   ac_c_werror_flag=$ac_save_c_werror_flag
   3517 	 CFLAGS="-g"
   3518 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3519 /* end confdefs.h.  */
   3520 
   3521 int
   3522 main ()
   3523 {
   3524 
   3525   ;
   3526   return 0;
   3527 }
   3528 _ACEOF
   3529 if ac_fn_c_try_compile "$LINENO"; then :
   3530   ac_cv_prog_cc_g=yes
   3531 fi
   3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3533 fi
   3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3535 fi
   3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3537    ac_c_werror_flag=$ac_save_c_werror_flag
   3538 fi
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3540 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3541 if test "$ac_test_CFLAGS" = set; then
   3542   CFLAGS=$ac_save_CFLAGS
   3543 elif test $ac_cv_prog_cc_g = yes; then
   3544   if test "$GCC" = yes; then
   3545     CFLAGS="-g -O2"
   3546   else
   3547     CFLAGS="-g"
   3548   fi
   3549 else
   3550   if test "$GCC" = yes; then
   3551     CFLAGS="-O2"
   3552   else
   3553     CFLAGS=
   3554   fi
   3555 fi
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3557 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3558 if ${ac_cv_prog_cc_c89+:} false; then :
   3559   $as_echo_n "(cached) " >&6
   3560 else
   3561   ac_cv_prog_cc_c89=no
   3562 ac_save_CC=$CC
   3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 #include <stdarg.h>
   3566 #include <stdio.h>
   3567 struct stat;
   3568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3569 struct buf { int x; };
   3570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3571 static char *e (p, i)
   3572      char **p;
   3573      int i;
   3574 {
   3575   return p[i];
   3576 }
   3577 static char *f (char * (*g) (char **, int), char **p, ...)
   3578 {
   3579   char *s;
   3580   va_list v;
   3581   va_start (v,p);
   3582   s = g (p, va_arg (v,int));
   3583   va_end (v);
   3584   return s;
   3585 }
   3586 
   3587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3588    function prototypes and stuff, but not '\xHH' hex character constants.
   3589    These don't provoke an error unfortunately, instead are silently treated
   3590    as 'x'.  The following induces an error, until -std is added to get
   3591    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3592    array size at least.  It's necessary to write '\x00'==0 to get something
   3593    that's true only with -std.  */
   3594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3595 
   3596 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3597    inside strings and character constants.  */
   3598 #define FOO(x) 'x'
   3599 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3600 
   3601 int test (int i, double x);
   3602 struct s1 {int (*f) (int a);};
   3603 struct s2 {int (*f) (double a);};
   3604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3605 int argc;
   3606 char **argv;
   3607 int
   3608 main ()
   3609 {
   3610 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3616 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3617 do
   3618   CC="$ac_save_CC $ac_arg"
   3619   if ac_fn_c_try_compile "$LINENO"; then :
   3620   ac_cv_prog_cc_c89=$ac_arg
   3621 fi
   3622 rm -f core conftest.err conftest.$ac_objext
   3623   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3624 done
   3625 rm -f conftest.$ac_ext
   3626 CC=$ac_save_CC
   3627 
   3628 fi
   3629 # AC_CACHE_VAL
   3630 case "x$ac_cv_prog_cc_c89" in
   3631   x)
   3632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3633 $as_echo "none needed" >&6; } ;;
   3634   xno)
   3635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3636 $as_echo "unsupported" >&6; } ;;
   3637   *)
   3638     CC="$CC $ac_cv_prog_cc_c89"
   3639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3640 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3641 esac
   3642 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3643 
   3644 fi
   3645 
   3646 ac_ext=c
   3647 ac_cpp='$CPP $CPPFLAGS'
   3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3651 
   3652 ac_ext=c
   3653 ac_cpp='$CPP $CPPFLAGS'
   3654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3658 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3659 if ${am_cv_prog_cc_c_o+:} false; then :
   3660   $as_echo_n "(cached) " >&6
   3661 else
   3662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3663 /* end confdefs.h.  */
   3664 
   3665 int
   3666 main ()
   3667 {
   3668 
   3669   ;
   3670   return 0;
   3671 }
   3672 _ACEOF
   3673   # Make sure it works both with $CC and with simple cc.
   3674   # Following AC_PROG_CC_C_O, we do the test twice because some
   3675   # compilers refuse to overwrite an existing .o file with -o,
   3676   # though they will create one.
   3677   am_cv_prog_cc_c_o=yes
   3678   for am_i in 1 2; do
   3679     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3680    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3681    ac_status=$?
   3682    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3683    (exit $ac_status); } \
   3684          && test -f conftest2.$ac_objext; then
   3685       : OK
   3686     else
   3687       am_cv_prog_cc_c_o=no
   3688       break
   3689     fi
   3690   done
   3691   rm -f core conftest*
   3692   unset am_i
   3693 fi
   3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3695 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3696 if test "$am_cv_prog_cc_c_o" != yes; then
   3697    # Losing compiler, so override with the script.
   3698    # FIXME: It is wrong to rewrite CC.
   3699    # But if we don't then we get into trouble of one sort or another.
   3700    # A longer-term fix would be to have automake use am__CC in this case,
   3701    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3702    CC="$am_aux_dir/compile $CC"
   3703 fi
   3704 ac_ext=c
   3705 ac_cpp='$CPP $CPPFLAGS'
   3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3709 
   3710 
   3711 depcc="$CC"   am_compiler_list=
   3712 
   3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3714 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3715 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3716   $as_echo_n "(cached) " >&6
   3717 else
   3718   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3719   # We make a subdir and do the tests there.  Otherwise we can end up
   3720   # making bogus files that we don't know about and never remove.  For
   3721   # instance it was reported that on HP-UX the gcc test will end up
   3722   # making a dummy file named 'D' -- because '-MD' means "put the output
   3723   # in D".
   3724   rm -rf conftest.dir
   3725   mkdir conftest.dir
   3726   # Copy depcomp to subdir because otherwise we won't find it if we're
   3727   # using a relative directory.
   3728   cp "$am_depcomp" conftest.dir
   3729   cd conftest.dir
   3730   # We will build objects and dependencies in a subdirectory because
   3731   # it helps to detect inapplicable dependency modes.  For instance
   3732   # both Tru64's cc and ICC support -MD to output dependencies as a
   3733   # side effect of compilation, but ICC will put the dependencies in
   3734   # the current directory while Tru64 will put them in the object
   3735   # directory.
   3736   mkdir sub
   3737 
   3738   am_cv_CC_dependencies_compiler_type=none
   3739   if test "$am_compiler_list" = ""; then
   3740      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3741   fi
   3742   am__universal=false
   3743   case " $depcc " in #(
   3744      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3745      esac
   3746 
   3747   for depmode in $am_compiler_list; do
   3748     # Setup a source with many dependencies, because some compilers
   3749     # like to wrap large dependency lists on column 80 (with \), and
   3750     # we should not choose a depcomp mode which is confused by this.
   3751     #
   3752     # We need to recreate these files for each test, as the compiler may
   3753     # overwrite some of them when testing with obscure command lines.
   3754     # This happens at least with the AIX C compiler.
   3755     : > sub/conftest.c
   3756     for i in 1 2 3 4 5 6; do
   3757       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3758       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3759       # Solaris 10 /bin/sh.
   3760       echo '/* dummy */' > sub/conftst$i.h
   3761     done
   3762     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3763 
   3764     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3765     # mode.  It turns out that the SunPro C++ compiler does not properly
   3766     # handle '-M -o', and we need to detect this.  Also, some Intel
   3767     # versions had trouble with output in subdirs.
   3768     am__obj=sub/conftest.${OBJEXT-o}
   3769     am__minus_obj="-o $am__obj"
   3770     case $depmode in
   3771     gcc)
   3772       # This depmode causes a compiler race in universal mode.
   3773       test "$am__universal" = false || continue
   3774       ;;
   3775     nosideeffect)
   3776       # After this tag, mechanisms are not by side-effect, so they'll
   3777       # only be used when explicitly requested.
   3778       if test "x$enable_dependency_tracking" = xyes; then
   3779 	continue
   3780       else
   3781 	break
   3782       fi
   3783       ;;
   3784     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3785       # This compiler won't grok '-c -o', but also, the minuso test has
   3786       # not run yet.  These depmodes are late enough in the game, and
   3787       # so weak that their functioning should not be impacted.
   3788       am__obj=conftest.${OBJEXT-o}
   3789       am__minus_obj=
   3790       ;;
   3791     none) break ;;
   3792     esac
   3793     if depmode=$depmode \
   3794        source=sub/conftest.c object=$am__obj \
   3795        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3796        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3797          >/dev/null 2>conftest.err &&
   3798        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3799        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3800        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3801        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3802       # icc doesn't choke on unknown options, it will just issue warnings
   3803       # or remarks (even with -Werror).  So we grep stderr for any message
   3804       # that says an option was ignored or not supported.
   3805       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3806       #   icc: Command line warning: ignoring option '-M'; no argument required
   3807       # The diagnosis changed in icc 8.0:
   3808       #   icc: Command line remark: option '-MP' not supported
   3809       if (grep 'ignoring option' conftest.err ||
   3810           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3811         am_cv_CC_dependencies_compiler_type=$depmode
   3812         break
   3813       fi
   3814     fi
   3815   done
   3816 
   3817   cd ..
   3818   rm -rf conftest.dir
   3819 else
   3820   am_cv_CC_dependencies_compiler_type=none
   3821 fi
   3822 
   3823 fi
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3825 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3826 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3827 
   3828  if
   3829   test "x$enable_dependency_tracking" != xno \
   3830   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3831   am__fastdepCC_TRUE=
   3832   am__fastdepCC_FALSE='#'
   3833 else
   3834   am__fastdepCC_TRUE='#'
   3835   am__fastdepCC_FALSE=
   3836 fi
   3837 
   3838 
   3839    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3840 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3841 if ${ac_cv_prog_cc_c99+:} false; then :
   3842   $as_echo_n "(cached) " >&6
   3843 else
   3844   ac_cv_prog_cc_c99=no
   3845 ac_save_CC=$CC
   3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3847 /* end confdefs.h.  */
   3848 #include <stdarg.h>
   3849 #include <stdbool.h>
   3850 #include <stdlib.h>
   3851 #include <wchar.h>
   3852 #include <stdio.h>
   3853 
   3854 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3855 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3856 #define showlist(...) puts (#__VA_ARGS__)
   3857 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3858 static void
   3859 test_varargs_macros (void)
   3860 {
   3861   int x = 1234;
   3862   int y = 5678;
   3863   debug ("Flag");
   3864   debug ("X = %d\n", x);
   3865   showlist (The first, second, and third items.);
   3866   report (x>y, "x is %d but y is %d", x, y);
   3867 }
   3868 
   3869 // Check long long types.
   3870 #define BIG64 18446744073709551615ull
   3871 #define BIG32 4294967295ul
   3872 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3873 #if !BIG_OK
   3874   your preprocessor is broken;
   3875 #endif
   3876 #if BIG_OK
   3877 #else
   3878   your preprocessor is broken;
   3879 #endif
   3880 static long long int bignum = -9223372036854775807LL;
   3881 static unsigned long long int ubignum = BIG64;
   3882 
   3883 struct incomplete_array
   3884 {
   3885   int datasize;
   3886   double data[];
   3887 };
   3888 
   3889 struct named_init {
   3890   int number;
   3891   const wchar_t *name;
   3892   double average;
   3893 };
   3894 
   3895 typedef const char *ccp;
   3896 
   3897 static inline int
   3898 test_restrict (ccp restrict text)
   3899 {
   3900   // See if C++-style comments work.
   3901   // Iterate through items via the restricted pointer.
   3902   // Also check for declarations in for loops.
   3903   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3904     continue;
   3905   return 0;
   3906 }
   3907 
   3908 // Check varargs and va_copy.
   3909 static void
   3910 test_varargs (const char *format, ...)
   3911 {
   3912   va_list args;
   3913   va_start (args, format);
   3914   va_list args_copy;
   3915   va_copy (args_copy, args);
   3916 
   3917   const char *str;
   3918   int number;
   3919   float fnumber;
   3920 
   3921   while (*format)
   3922     {
   3923       switch (*format++)
   3924 	{
   3925 	case 's': // string
   3926 	  str = va_arg (args_copy, const char *);
   3927 	  break;
   3928 	case 'd': // int
   3929 	  number = va_arg (args_copy, int);
   3930 	  break;
   3931 	case 'f': // float
   3932 	  fnumber = va_arg (args_copy, double);
   3933 	  break;
   3934 	default:
   3935 	  break;
   3936 	}
   3937     }
   3938   va_end (args_copy);
   3939   va_end (args);
   3940 }
   3941 
   3942 int
   3943 main ()
   3944 {
   3945 
   3946   // Check bool.
   3947   _Bool success = false;
   3948 
   3949   // Check restrict.
   3950   if (test_restrict ("String literal") == 0)
   3951     success = true;
   3952   char *restrict newvar = "Another string";
   3953 
   3954   // Check varargs.
   3955   test_varargs ("s, d' f .", "string", 65, 34.234);
   3956   test_varargs_macros ();
   3957 
   3958   // Check flexible array members.
   3959   struct incomplete_array *ia =
   3960     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3961   ia->datasize = 10;
   3962   for (int i = 0; i < ia->datasize; ++i)
   3963     ia->data[i] = i * 1.234;
   3964 
   3965   // Check named initializers.
   3966   struct named_init ni = {
   3967     .number = 34,
   3968     .name = L"Test wide string",
   3969     .average = 543.34343,
   3970   };
   3971 
   3972   ni.number = 58;
   3973 
   3974   int dynamic_array[ni.number];
   3975   dynamic_array[ni.number - 1] = 543;
   3976 
   3977   // work around unused variable warnings
   3978   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3979 	  || dynamic_array[ni.number - 1] != 543);
   3980 
   3981   ;
   3982   return 0;
   3983 }
   3984 _ACEOF
   3985 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3986 do
   3987   CC="$ac_save_CC $ac_arg"
   3988   if ac_fn_c_try_compile "$LINENO"; then :
   3989   ac_cv_prog_cc_c99=$ac_arg
   3990 fi
   3991 rm -f core conftest.err conftest.$ac_objext
   3992   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3993 done
   3994 rm -f conftest.$ac_ext
   3995 CC=$ac_save_CC
   3996 
   3997 fi
   3998 # AC_CACHE_VAL
   3999 case "x$ac_cv_prog_cc_c99" in
   4000   x)
   4001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4002 $as_echo "none needed" >&6; } ;;
   4003   xno)
   4004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4005 $as_echo "unsupported" >&6; } ;;
   4006   *)
   4007     CC="$CC $ac_cv_prog_cc_c99"
   4008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4009 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4010 esac
   4011 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4012 
   4013 fi
   4014 
   4015 
   4016 
   4017 ac_ext=c
   4018 ac_cpp='$CPP $CPPFLAGS'
   4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4023 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4024 # On Suns, sometimes $CPP names a directory.
   4025 if test -n "$CPP" && test -d "$CPP"; then
   4026   CPP=
   4027 fi
   4028 if test -z "$CPP"; then
   4029   if ${ac_cv_prog_CPP+:} false; then :
   4030   $as_echo_n "(cached) " >&6
   4031 else
   4032       # Double quotes because CPP needs to be expanded
   4033     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4034     do
   4035       ac_preproc_ok=false
   4036 for ac_c_preproc_warn_flag in '' yes
   4037 do
   4038   # Use a header file that comes with gcc, so configuring glibc
   4039   # with a fresh cross-compiler works.
   4040   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4041   # <limits.h> exists even on freestanding compilers.
   4042   # On the NeXT, cc -E runs the code through the compiler's parser,
   4043   # not just through cpp. "Syntax error" is here to catch this case.
   4044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4045 /* end confdefs.h.  */
   4046 #ifdef __STDC__
   4047 # include <limits.h>
   4048 #else
   4049 # include <assert.h>
   4050 #endif
   4051 		     Syntax error
   4052 _ACEOF
   4053 if ac_fn_c_try_cpp "$LINENO"; then :
   4054 
   4055 else
   4056   # Broken: fails on valid input.
   4057 continue
   4058 fi
   4059 rm -f conftest.err conftest.i conftest.$ac_ext
   4060 
   4061   # OK, works on sane cases.  Now check whether nonexistent headers
   4062   # can be detected and how.
   4063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4064 /* end confdefs.h.  */
   4065 #include <ac_nonexistent.h>
   4066 _ACEOF
   4067 if ac_fn_c_try_cpp "$LINENO"; then :
   4068   # Broken: success on invalid input.
   4069 continue
   4070 else
   4071   # Passes both tests.
   4072 ac_preproc_ok=:
   4073 break
   4074 fi
   4075 rm -f conftest.err conftest.i conftest.$ac_ext
   4076 
   4077 done
   4078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4079 rm -f conftest.i conftest.err conftest.$ac_ext
   4080 if $ac_preproc_ok; then :
   4081   break
   4082 fi
   4083 
   4084     done
   4085     ac_cv_prog_CPP=$CPP
   4086 
   4087 fi
   4088   CPP=$ac_cv_prog_CPP
   4089 else
   4090   ac_cv_prog_CPP=$CPP
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4093 $as_echo "$CPP" >&6; }
   4094 ac_preproc_ok=false
   4095 for ac_c_preproc_warn_flag in '' yes
   4096 do
   4097   # Use a header file that comes with gcc, so configuring glibc
   4098   # with a fresh cross-compiler works.
   4099   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4100   # <limits.h> exists even on freestanding compilers.
   4101   # On the NeXT, cc -E runs the code through the compiler's parser,
   4102   # not just through cpp. "Syntax error" is here to catch this case.
   4103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4104 /* end confdefs.h.  */
   4105 #ifdef __STDC__
   4106 # include <limits.h>
   4107 #else
   4108 # include <assert.h>
   4109 #endif
   4110 		     Syntax error
   4111 _ACEOF
   4112 if ac_fn_c_try_cpp "$LINENO"; then :
   4113 
   4114 else
   4115   # Broken: fails on valid input.
   4116 continue
   4117 fi
   4118 rm -f conftest.err conftest.i conftest.$ac_ext
   4119 
   4120   # OK, works on sane cases.  Now check whether nonexistent headers
   4121   # can be detected and how.
   4122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 #include <ac_nonexistent.h>
   4125 _ACEOF
   4126 if ac_fn_c_try_cpp "$LINENO"; then :
   4127   # Broken: success on invalid input.
   4128 continue
   4129 else
   4130   # Passes both tests.
   4131 ac_preproc_ok=:
   4132 break
   4133 fi
   4134 rm -f conftest.err conftest.i conftest.$ac_ext
   4135 
   4136 done
   4137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4138 rm -f conftest.i conftest.err conftest.$ac_ext
   4139 if $ac_preproc_ok; then :
   4140 
   4141 else
   4142   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4144 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4145 See \`config.log' for more details" "$LINENO" 5; }
   4146 fi
   4147 
   4148 ac_ext=c
   4149 ac_cpp='$CPP $CPPFLAGS'
   4150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4153 
   4154 
   4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4156 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4157 if ${ac_cv_path_GREP+:} false; then :
   4158   $as_echo_n "(cached) " >&6
   4159 else
   4160   if test -z "$GREP"; then
   4161   ac_path_GREP_found=false
   4162   # Loop through the user's path and test for each of PROGNAME-LIST
   4163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4165 do
   4166   IFS=$as_save_IFS
   4167   test -z "$as_dir" && as_dir=.
   4168     for ac_prog in grep ggrep; do
   4169     for ac_exec_ext in '' $ac_executable_extensions; do
   4170       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4171       as_fn_executable_p "$ac_path_GREP" || continue
   4172 # Check for GNU ac_path_GREP and select it if it is found.
   4173   # Check for GNU $ac_path_GREP
   4174 case `"$ac_path_GREP" --version 2>&1` in
   4175 *GNU*)
   4176   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4177 *)
   4178   ac_count=0
   4179   $as_echo_n 0123456789 >"conftest.in"
   4180   while :
   4181   do
   4182     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4183     mv "conftest.tmp" "conftest.in"
   4184     cp "conftest.in" "conftest.nl"
   4185     $as_echo 'GREP' >> "conftest.nl"
   4186     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4188     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4189     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4190       # Best one so far, save it but keep looking for a better one
   4191       ac_cv_path_GREP="$ac_path_GREP"
   4192       ac_path_GREP_max=$ac_count
   4193     fi
   4194     # 10*(2^10) chars as input seems more than enough
   4195     test $ac_count -gt 10 && break
   4196   done
   4197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4198 esac
   4199 
   4200       $ac_path_GREP_found && break 3
   4201     done
   4202   done
   4203   done
   4204 IFS=$as_save_IFS
   4205   if test -z "$ac_cv_path_GREP"; then
   4206     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4207   fi
   4208 else
   4209   ac_cv_path_GREP=$GREP
   4210 fi
   4211 
   4212 fi
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4214 $as_echo "$ac_cv_path_GREP" >&6; }
   4215  GREP="$ac_cv_path_GREP"
   4216 
   4217 
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4219 $as_echo_n "checking for egrep... " >&6; }
   4220 if ${ac_cv_path_EGREP+:} false; then :
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4224    then ac_cv_path_EGREP="$GREP -E"
   4225    else
   4226      if test -z "$EGREP"; then
   4227   ac_path_EGREP_found=false
   4228   # Loop through the user's path and test for each of PROGNAME-LIST
   4229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4231 do
   4232   IFS=$as_save_IFS
   4233   test -z "$as_dir" && as_dir=.
   4234     for ac_prog in egrep; do
   4235     for ac_exec_ext in '' $ac_executable_extensions; do
   4236       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4237       as_fn_executable_p "$ac_path_EGREP" || continue
   4238 # Check for GNU ac_path_EGREP and select it if it is found.
   4239   # Check for GNU $ac_path_EGREP
   4240 case `"$ac_path_EGREP" --version 2>&1` in
   4241 *GNU*)
   4242   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4243 *)
   4244   ac_count=0
   4245   $as_echo_n 0123456789 >"conftest.in"
   4246   while :
   4247   do
   4248     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4249     mv "conftest.tmp" "conftest.in"
   4250     cp "conftest.in" "conftest.nl"
   4251     $as_echo 'EGREP' >> "conftest.nl"
   4252     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4254     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4255     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4256       # Best one so far, save it but keep looking for a better one
   4257       ac_cv_path_EGREP="$ac_path_EGREP"
   4258       ac_path_EGREP_max=$ac_count
   4259     fi
   4260     # 10*(2^10) chars as input seems more than enough
   4261     test $ac_count -gt 10 && break
   4262   done
   4263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4264 esac
   4265 
   4266       $ac_path_EGREP_found && break 3
   4267     done
   4268   done
   4269   done
   4270 IFS=$as_save_IFS
   4271   if test -z "$ac_cv_path_EGREP"; then
   4272     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4273   fi
   4274 else
   4275   ac_cv_path_EGREP=$EGREP
   4276 fi
   4277 
   4278    fi
   4279 fi
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4281 $as_echo "$ac_cv_path_EGREP" >&6; }
   4282  EGREP="$ac_cv_path_EGREP"
   4283 
   4284 
   4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4286 $as_echo_n "checking for ANSI C header files... " >&6; }
   4287 if ${ac_cv_header_stdc+:} false; then :
   4288   $as_echo_n "(cached) " >&6
   4289 else
   4290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4291 /* end confdefs.h.  */
   4292 #include <stdlib.h>
   4293 #include <stdarg.h>
   4294 #include <string.h>
   4295 #include <float.h>
   4296 
   4297 int
   4298 main ()
   4299 {
   4300 
   4301   ;
   4302   return 0;
   4303 }
   4304 _ACEOF
   4305 if ac_fn_c_try_compile "$LINENO"; then :
   4306   ac_cv_header_stdc=yes
   4307 else
   4308   ac_cv_header_stdc=no
   4309 fi
   4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4311 
   4312 if test $ac_cv_header_stdc = yes; then
   4313   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4315 /* end confdefs.h.  */
   4316 #include <string.h>
   4317 
   4318 _ACEOF
   4319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4320   $EGREP "memchr" >/dev/null 2>&1; then :
   4321 
   4322 else
   4323   ac_cv_header_stdc=no
   4324 fi
   4325 rm -f conftest*
   4326 
   4327 fi
   4328 
   4329 if test $ac_cv_header_stdc = yes; then
   4330   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4332 /* end confdefs.h.  */
   4333 #include <stdlib.h>
   4334 
   4335 _ACEOF
   4336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4337   $EGREP "free" >/dev/null 2>&1; then :
   4338 
   4339 else
   4340   ac_cv_header_stdc=no
   4341 fi
   4342 rm -f conftest*
   4343 
   4344 fi
   4345 
   4346 if test $ac_cv_header_stdc = yes; then
   4347   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4348   if test "$cross_compiling" = yes; then :
   4349   :
   4350 else
   4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4352 /* end confdefs.h.  */
   4353 #include <ctype.h>
   4354 #include <stdlib.h>
   4355 #if ((' ' & 0x0FF) == 0x020)
   4356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4358 #else
   4359 # define ISLOWER(c) \
   4360 		   (('a' <= (c) && (c) <= 'i') \
   4361 		     || ('j' <= (c) && (c) <= 'r') \
   4362 		     || ('s' <= (c) && (c) <= 'z'))
   4363 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4364 #endif
   4365 
   4366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4367 int
   4368 main ()
   4369 {
   4370   int i;
   4371   for (i = 0; i < 256; i++)
   4372     if (XOR (islower (i), ISLOWER (i))
   4373 	|| toupper (i) != TOUPPER (i))
   4374       return 2;
   4375   return 0;
   4376 }
   4377 _ACEOF
   4378 if ac_fn_c_try_run "$LINENO"; then :
   4379 
   4380 else
   4381   ac_cv_header_stdc=no
   4382 fi
   4383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4384   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4385 fi
   4386 
   4387 fi
   4388 fi
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4390 $as_echo "$ac_cv_header_stdc" >&6; }
   4391 if test $ac_cv_header_stdc = yes; then
   4392 
   4393 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4394 
   4395 fi
   4396 
   4397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4398 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4399 		  inttypes.h stdint.h unistd.h
   4400 do :
   4401   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4403 "
   4404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4405   cat >>confdefs.h <<_ACEOF
   4406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4407 _ACEOF
   4408 
   4409 fi
   4410 
   4411 done
   4412 
   4413 
   4414 
   4415 
   4416 
   4417 
   4418 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4419 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4420   CLANGCC="yes"
   4421 else
   4422   CLANGCC="no"
   4423 fi
   4424 
   4425 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4426 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4427   INTELCC="yes"
   4428 else
   4429   INTELCC="no"
   4430 fi
   4431 
   4432 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4433 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4434   SUNCC="yes"
   4435 else
   4436   SUNCC="no"
   4437 fi
   4438 
   4439 
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4448 	if test -n "$ac_tool_prefix"; then
   4449   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4450 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4452 $as_echo_n "checking for $ac_word... " >&6; }
   4453 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   case $PKG_CONFIG in
   4457   [\\/]* | ?:[\\/]*)
   4458   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4459   ;;
   4460   *)
   4461   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4462 for as_dir in $PATH
   4463 do
   4464   IFS=$as_save_IFS
   4465   test -z "$as_dir" && as_dir=.
   4466     for ac_exec_ext in '' $ac_executable_extensions; do
   4467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4468     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4470     break 2
   4471   fi
   4472 done
   4473   done
   4474 IFS=$as_save_IFS
   4475 
   4476   ;;
   4477 esac
   4478 fi
   4479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4480 if test -n "$PKG_CONFIG"; then
   4481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4482 $as_echo "$PKG_CONFIG" >&6; }
   4483 else
   4484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4485 $as_echo "no" >&6; }
   4486 fi
   4487 
   4488 
   4489 fi
   4490 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4491   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4492   # Extract the first word of "pkg-config", so it can be a program name with args.
   4493 set dummy pkg-config; ac_word=$2
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4495 $as_echo_n "checking for $ac_word... " >&6; }
   4496 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4497   $as_echo_n "(cached) " >&6
   4498 else
   4499   case $ac_pt_PKG_CONFIG in
   4500   [\\/]* | ?:[\\/]*)
   4501   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4502   ;;
   4503   *)
   4504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4505 for as_dir in $PATH
   4506 do
   4507   IFS=$as_save_IFS
   4508   test -z "$as_dir" && as_dir=.
   4509     for ac_exec_ext in '' $ac_executable_extensions; do
   4510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4511     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4513     break 2
   4514   fi
   4515 done
   4516   done
   4517 IFS=$as_save_IFS
   4518 
   4519   ;;
   4520 esac
   4521 fi
   4522 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4523 if test -n "$ac_pt_PKG_CONFIG"; then
   4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4525 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4526 else
   4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4528 $as_echo "no" >&6; }
   4529 fi
   4530 
   4531   if test "x$ac_pt_PKG_CONFIG" = x; then
   4532     PKG_CONFIG=""
   4533   else
   4534     case $cross_compiling:$ac_tool_warned in
   4535 yes:)
   4536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4538 ac_tool_warned=yes ;;
   4539 esac
   4540     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4541   fi
   4542 else
   4543   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4544 fi
   4545 
   4546 fi
   4547 if test -n "$PKG_CONFIG"; then
   4548 	_pkg_min_version=0.9.0
   4549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4550 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4551 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4553 $as_echo "yes" >&6; }
   4554 	else
   4555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4556 $as_echo "no" >&6; }
   4557 		PKG_CONFIG=""
   4558 	fi
   4559 fi
   4560 # Make sure we can run config.sub.
   4561 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4562   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4563 
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4565 $as_echo_n "checking build system type... " >&6; }
   4566 if ${ac_cv_build+:} false; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   ac_build_alias=$build_alias
   4570 test "x$ac_build_alias" = x &&
   4571   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4572 test "x$ac_build_alias" = x &&
   4573   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4574 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4575   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4576 
   4577 fi
   4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4579 $as_echo "$ac_cv_build" >&6; }
   4580 case $ac_cv_build in
   4581 *-*-*) ;;
   4582 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4583 esac
   4584 build=$ac_cv_build
   4585 ac_save_IFS=$IFS; IFS='-'
   4586 set x $ac_cv_build
   4587 shift
   4588 build_cpu=$1
   4589 build_vendor=$2
   4590 shift; shift
   4591 # Remember, the first character of IFS is used to create $*,
   4592 # except with old shells:
   4593 build_os=$*
   4594 IFS=$ac_save_IFS
   4595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4596 
   4597 
   4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4599 $as_echo_n "checking host system type... " >&6; }
   4600 if ${ac_cv_host+:} false; then :
   4601   $as_echo_n "(cached) " >&6
   4602 else
   4603   if test "x$host_alias" = x; then
   4604   ac_cv_host=$ac_cv_build
   4605 else
   4606   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4607     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4608 fi
   4609 
   4610 fi
   4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4612 $as_echo "$ac_cv_host" >&6; }
   4613 case $ac_cv_host in
   4614 *-*-*) ;;
   4615 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4616 esac
   4617 host=$ac_cv_host
   4618 ac_save_IFS=$IFS; IFS='-'
   4619 set x $ac_cv_host
   4620 shift
   4621 host_cpu=$1
   4622 host_vendor=$2
   4623 shift; shift
   4624 # Remember, the first character of IFS is used to create $*,
   4625 # except with old shells:
   4626 host_os=$*
   4627 IFS=$ac_save_IFS
   4628 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4629 
   4630 
   4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4632 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4633 if ${ac_cv_path_SED+:} false; then :
   4634   $as_echo_n "(cached) " >&6
   4635 else
   4636             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4637      for ac_i in 1 2 3 4 5 6 7; do
   4638        ac_script="$ac_script$as_nl$ac_script"
   4639      done
   4640      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4641      { ac_script=; unset ac_script;}
   4642      if test -z "$SED"; then
   4643   ac_path_SED_found=false
   4644   # Loop through the user's path and test for each of PROGNAME-LIST
   4645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4646 for as_dir in $PATH
   4647 do
   4648   IFS=$as_save_IFS
   4649   test -z "$as_dir" && as_dir=.
   4650     for ac_prog in sed gsed; do
   4651     for ac_exec_ext in '' $ac_executable_extensions; do
   4652       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4653       as_fn_executable_p "$ac_path_SED" || continue
   4654 # Check for GNU ac_path_SED and select it if it is found.
   4655   # Check for GNU $ac_path_SED
   4656 case `"$ac_path_SED" --version 2>&1` in
   4657 *GNU*)
   4658   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4659 *)
   4660   ac_count=0
   4661   $as_echo_n 0123456789 >"conftest.in"
   4662   while :
   4663   do
   4664     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4665     mv "conftest.tmp" "conftest.in"
   4666     cp "conftest.in" "conftest.nl"
   4667     $as_echo '' >> "conftest.nl"
   4668     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4669     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4670     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4671     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4672       # Best one so far, save it but keep looking for a better one
   4673       ac_cv_path_SED="$ac_path_SED"
   4674       ac_path_SED_max=$ac_count
   4675     fi
   4676     # 10*(2^10) chars as input seems more than enough
   4677     test $ac_count -gt 10 && break
   4678   done
   4679   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4680 esac
   4681 
   4682       $ac_path_SED_found && break 3
   4683     done
   4684   done
   4685   done
   4686 IFS=$as_save_IFS
   4687   if test -z "$ac_cv_path_SED"; then
   4688     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4689   fi
   4690 else
   4691   ac_cv_path_SED=$SED
   4692 fi
   4693 
   4694 fi
   4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4696 $as_echo "$ac_cv_path_SED" >&6; }
   4697  SED="$ac_cv_path_SED"
   4698   rm -f conftest.sed
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 # Check whether --enable-selective-werror was given.
   4706 if test "${enable_selective_werror+set}" = set; then :
   4707   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4708 else
   4709   SELECTIVE_WERROR=yes
   4710 fi
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4717 if test "x$SUNCC" = "xyes"; then
   4718     BASE_CFLAGS="-v"
   4719 else
   4720     BASE_CFLAGS=""
   4721 fi
   4722 
   4723 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 xorg_testset_save_CFLAGS="$CFLAGS"
   4738 
   4739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4747 /* end confdefs.h.  */
   4748 int i;
   4749 _ACEOF
   4750 if ac_fn_c_try_compile "$LINENO"; then :
   4751   xorg_cv_cc_flag_unknown_warning_option=yes
   4752 else
   4753   xorg_cv_cc_flag_unknown_warning_option=no
   4754 fi
   4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4756 fi
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4760 	CFLAGS="$xorg_testset_save_CFLAGS"
   4761 fi
   4762 
   4763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4766 	fi
   4767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4771   $as_echo_n "(cached) " >&6
   4772 else
   4773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4774 /* end confdefs.h.  */
   4775 int i;
   4776 _ACEOF
   4777 if ac_fn_c_try_compile "$LINENO"; then :
   4778   xorg_cv_cc_flag_unused_command_line_argument=yes
   4779 else
   4780   xorg_cv_cc_flag_unused_command_line_argument=no
   4781 fi
   4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4783 fi
   4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4787 	CFLAGS="$xorg_testset_save_CFLAGS"
   4788 fi
   4789 
   4790 found="no"
   4791 
   4792 	if test $found = "no" ; then
   4793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4795 		fi
   4796 
   4797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4799 		fi
   4800 
   4801 		CFLAGS="$CFLAGS -Wall"
   4802 
   4803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4804 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4805 		cacheid=xorg_cv_cc_flag__Wall
   4806 		if eval \${$cacheid+:} false; then :
   4807   $as_echo_n "(cached) " >&6
   4808 else
   4809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4810 /* end confdefs.h.  */
   4811 int i;
   4812 int
   4813 main ()
   4814 {
   4815 
   4816   ;
   4817   return 0;
   4818 }
   4819 _ACEOF
   4820 if ac_fn_c_try_link "$LINENO"; then :
   4821   eval $cacheid=yes
   4822 else
   4823   eval $cacheid=no
   4824 fi
   4825 rm -f core conftest.err conftest.$ac_objext \
   4826     conftest$ac_exeext conftest.$ac_ext
   4827 fi
   4828 
   4829 
   4830 		CFLAGS="$xorg_testset_save_CFLAGS"
   4831 
   4832 		eval supported=\$$cacheid
   4833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4834 $as_echo "$supported" >&6; }
   4835 		if test "$supported" = "yes" ; then
   4836 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4837 			found="yes"
   4838 		fi
   4839 	fi
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 xorg_testset_save_CFLAGS="$CFLAGS"
   4856 
   4857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865 /* end confdefs.h.  */
   4866 int i;
   4867 _ACEOF
   4868 if ac_fn_c_try_compile "$LINENO"; then :
   4869   xorg_cv_cc_flag_unknown_warning_option=yes
   4870 else
   4871   xorg_cv_cc_flag_unknown_warning_option=no
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4874 fi
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4878 	CFLAGS="$xorg_testset_save_CFLAGS"
   4879 fi
   4880 
   4881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4884 	fi
   4885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4889   $as_echo_n "(cached) " >&6
   4890 else
   4891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4892 /* end confdefs.h.  */
   4893 int i;
   4894 _ACEOF
   4895 if ac_fn_c_try_compile "$LINENO"; then :
   4896   xorg_cv_cc_flag_unused_command_line_argument=yes
   4897 else
   4898   xorg_cv_cc_flag_unused_command_line_argument=no
   4899 fi
   4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4901 fi
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4905 	CFLAGS="$xorg_testset_save_CFLAGS"
   4906 fi
   4907 
   4908 found="no"
   4909 
   4910 	if test $found = "no" ; then
   4911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4913 		fi
   4914 
   4915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4917 		fi
   4918 
   4919 		CFLAGS="$CFLAGS -Wpointer-arith"
   4920 
   4921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4922 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4923 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4924 		if eval \${$cacheid+:} false; then :
   4925   $as_echo_n "(cached) " >&6
   4926 else
   4927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4928 /* end confdefs.h.  */
   4929 int i;
   4930 int
   4931 main ()
   4932 {
   4933 
   4934   ;
   4935   return 0;
   4936 }
   4937 _ACEOF
   4938 if ac_fn_c_try_link "$LINENO"; then :
   4939   eval $cacheid=yes
   4940 else
   4941   eval $cacheid=no
   4942 fi
   4943 rm -f core conftest.err conftest.$ac_objext \
   4944     conftest$ac_exeext conftest.$ac_ext
   4945 fi
   4946 
   4947 
   4948 		CFLAGS="$xorg_testset_save_CFLAGS"
   4949 
   4950 		eval supported=\$$cacheid
   4951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4952 $as_echo "$supported" >&6; }
   4953 		if test "$supported" = "yes" ; then
   4954 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4955 			found="yes"
   4956 		fi
   4957 	fi
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 xorg_testset_save_CFLAGS="$CFLAGS"
   4974 
   4975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 int i;
   4985 _ACEOF
   4986 if ac_fn_c_try_compile "$LINENO"; then :
   4987   xorg_cv_cc_flag_unknown_warning_option=yes
   4988 else
   4989   xorg_cv_cc_flag_unknown_warning_option=no
   4990 fi
   4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4992 fi
   4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4996 	CFLAGS="$xorg_testset_save_CFLAGS"
   4997 fi
   4998 
   4999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5002 	fi
   5003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5007   $as_echo_n "(cached) " >&6
   5008 else
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 _ACEOF
   5013 if ac_fn_c_try_compile "$LINENO"; then :
   5014   xorg_cv_cc_flag_unused_command_line_argument=yes
   5015 else
   5016   xorg_cv_cc_flag_unused_command_line_argument=no
   5017 fi
   5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5019 fi
   5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5023 	CFLAGS="$xorg_testset_save_CFLAGS"
   5024 fi
   5025 
   5026 found="no"
   5027 
   5028 	if test $found = "no" ; then
   5029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5031 		fi
   5032 
   5033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5035 		fi
   5036 
   5037 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5038 
   5039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5040 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5041 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5042 		if eval \${$cacheid+:} false; then :
   5043   $as_echo_n "(cached) " >&6
   5044 else
   5045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5046 /* end confdefs.h.  */
   5047 int i;
   5048 int
   5049 main ()
   5050 {
   5051 
   5052   ;
   5053   return 0;
   5054 }
   5055 _ACEOF
   5056 if ac_fn_c_try_link "$LINENO"; then :
   5057   eval $cacheid=yes
   5058 else
   5059   eval $cacheid=no
   5060 fi
   5061 rm -f core conftest.err conftest.$ac_objext \
   5062     conftest$ac_exeext conftest.$ac_ext
   5063 fi
   5064 
   5065 
   5066 		CFLAGS="$xorg_testset_save_CFLAGS"
   5067 
   5068 		eval supported=\$$cacheid
   5069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5070 $as_echo "$supported" >&6; }
   5071 		if test "$supported" = "yes" ; then
   5072 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5073 			found="yes"
   5074 		fi
   5075 	fi
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 xorg_testset_save_CFLAGS="$CFLAGS"
   5092 
   5093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 int i;
   5103 _ACEOF
   5104 if ac_fn_c_try_compile "$LINENO"; then :
   5105   xorg_cv_cc_flag_unknown_warning_option=yes
   5106 else
   5107   xorg_cv_cc_flag_unknown_warning_option=no
   5108 fi
   5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5110 fi
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5114 	CFLAGS="$xorg_testset_save_CFLAGS"
   5115 fi
   5116 
   5117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5120 	fi
   5121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 int i;
   5130 _ACEOF
   5131 if ac_fn_c_try_compile "$LINENO"; then :
   5132   xorg_cv_cc_flag_unused_command_line_argument=yes
   5133 else
   5134   xorg_cv_cc_flag_unused_command_line_argument=no
   5135 fi
   5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5137 fi
   5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5141 	CFLAGS="$xorg_testset_save_CFLAGS"
   5142 fi
   5143 
   5144 found="no"
   5145 
   5146 	if test $found = "no" ; then
   5147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5149 		fi
   5150 
   5151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5153 		fi
   5154 
   5155 		CFLAGS="$CFLAGS -Wformat=2"
   5156 
   5157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5158 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5159 		cacheid=xorg_cv_cc_flag__Wformat_2
   5160 		if eval \${$cacheid+:} false; then :
   5161   $as_echo_n "(cached) " >&6
   5162 else
   5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5164 /* end confdefs.h.  */
   5165 int i;
   5166 int
   5167 main ()
   5168 {
   5169 
   5170   ;
   5171   return 0;
   5172 }
   5173 _ACEOF
   5174 if ac_fn_c_try_link "$LINENO"; then :
   5175   eval $cacheid=yes
   5176 else
   5177   eval $cacheid=no
   5178 fi
   5179 rm -f core conftest.err conftest.$ac_objext \
   5180     conftest$ac_exeext conftest.$ac_ext
   5181 fi
   5182 
   5183 
   5184 		CFLAGS="$xorg_testset_save_CFLAGS"
   5185 
   5186 		eval supported=\$$cacheid
   5187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5188 $as_echo "$supported" >&6; }
   5189 		if test "$supported" = "yes" ; then
   5190 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5191 			found="yes"
   5192 		fi
   5193 	fi
   5194 
   5195 	if test $found = "no" ; then
   5196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5198 		fi
   5199 
   5200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5202 		fi
   5203 
   5204 		CFLAGS="$CFLAGS -Wformat"
   5205 
   5206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5207 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5208 		cacheid=xorg_cv_cc_flag__Wformat
   5209 		if eval \${$cacheid+:} false; then :
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5213 /* end confdefs.h.  */
   5214 int i;
   5215 int
   5216 main ()
   5217 {
   5218 
   5219   ;
   5220   return 0;
   5221 }
   5222 _ACEOF
   5223 if ac_fn_c_try_link "$LINENO"; then :
   5224   eval $cacheid=yes
   5225 else
   5226   eval $cacheid=no
   5227 fi
   5228 rm -f core conftest.err conftest.$ac_objext \
   5229     conftest$ac_exeext conftest.$ac_ext
   5230 fi
   5231 
   5232 
   5233 		CFLAGS="$xorg_testset_save_CFLAGS"
   5234 
   5235 		eval supported=\$$cacheid
   5236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5237 $as_echo "$supported" >&6; }
   5238 		if test "$supported" = "yes" ; then
   5239 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5240 			found="yes"
   5241 		fi
   5242 	fi
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 xorg_testset_save_CFLAGS="$CFLAGS"
   5261 
   5262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 int i;
   5272 _ACEOF
   5273 if ac_fn_c_try_compile "$LINENO"; then :
   5274   xorg_cv_cc_flag_unknown_warning_option=yes
   5275 else
   5276   xorg_cv_cc_flag_unknown_warning_option=no
   5277 fi
   5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5279 fi
   5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5283 	CFLAGS="$xorg_testset_save_CFLAGS"
   5284 fi
   5285 
   5286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5289 	fi
   5290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5294   $as_echo_n "(cached) " >&6
   5295 else
   5296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5297 /* end confdefs.h.  */
   5298 int i;
   5299 _ACEOF
   5300 if ac_fn_c_try_compile "$LINENO"; then :
   5301   xorg_cv_cc_flag_unused_command_line_argument=yes
   5302 else
   5303   xorg_cv_cc_flag_unused_command_line_argument=no
   5304 fi
   5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5306 fi
   5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5310 	CFLAGS="$xorg_testset_save_CFLAGS"
   5311 fi
   5312 
   5313 found="no"
   5314 
   5315 	if test $found = "no" ; then
   5316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5318 		fi
   5319 
   5320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5322 		fi
   5323 
   5324 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5325 
   5326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5327 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5328 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5329 		if eval \${$cacheid+:} false; then :
   5330   $as_echo_n "(cached) " >&6
   5331 else
   5332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5333 /* end confdefs.h.  */
   5334 int i;
   5335 int
   5336 main ()
   5337 {
   5338 
   5339   ;
   5340   return 0;
   5341 }
   5342 _ACEOF
   5343 if ac_fn_c_try_link "$LINENO"; then :
   5344   eval $cacheid=yes
   5345 else
   5346   eval $cacheid=no
   5347 fi
   5348 rm -f core conftest.err conftest.$ac_objext \
   5349     conftest$ac_exeext conftest.$ac_ext
   5350 fi
   5351 
   5352 
   5353 		CFLAGS="$xorg_testset_save_CFLAGS"
   5354 
   5355 		eval supported=\$$cacheid
   5356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5357 $as_echo "$supported" >&6; }
   5358 		if test "$supported" = "yes" ; then
   5359 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5360 			found="yes"
   5361 		fi
   5362 	fi
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 xorg_testset_save_CFLAGS="$CFLAGS"
   5379 
   5380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 _ACEOF
   5391 if ac_fn_c_try_compile "$LINENO"; then :
   5392   xorg_cv_cc_flag_unknown_warning_option=yes
   5393 else
   5394   xorg_cv_cc_flag_unknown_warning_option=no
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5397 fi
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5401 	CFLAGS="$xorg_testset_save_CFLAGS"
   5402 fi
   5403 
   5404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5407 	fi
   5408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5415 /* end confdefs.h.  */
   5416 int i;
   5417 _ACEOF
   5418 if ac_fn_c_try_compile "$LINENO"; then :
   5419   xorg_cv_cc_flag_unused_command_line_argument=yes
   5420 else
   5421   xorg_cv_cc_flag_unused_command_line_argument=no
   5422 fi
   5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5424 fi
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5428 	CFLAGS="$xorg_testset_save_CFLAGS"
   5429 fi
   5430 
   5431 found="no"
   5432 
   5433 	if test $found = "no" ; then
   5434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 		fi
   5437 
   5438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5440 		fi
   5441 
   5442 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5443 
   5444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5445 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5446 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5447 		if eval \${$cacheid+:} false; then :
   5448   $as_echo_n "(cached) " >&6
   5449 else
   5450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5451 /* end confdefs.h.  */
   5452 int i;
   5453 int
   5454 main ()
   5455 {
   5456 
   5457   ;
   5458   return 0;
   5459 }
   5460 _ACEOF
   5461 if ac_fn_c_try_link "$LINENO"; then :
   5462   eval $cacheid=yes
   5463 else
   5464   eval $cacheid=no
   5465 fi
   5466 rm -f core conftest.err conftest.$ac_objext \
   5467     conftest$ac_exeext conftest.$ac_ext
   5468 fi
   5469 
   5470 
   5471 		CFLAGS="$xorg_testset_save_CFLAGS"
   5472 
   5473 		eval supported=\$$cacheid
   5474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5475 $as_echo "$supported" >&6; }
   5476 		if test "$supported" = "yes" ; then
   5477 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5478 			found="yes"
   5479 		fi
   5480 	fi
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 xorg_testset_save_CFLAGS="$CFLAGS"
   5497 
   5498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 _ACEOF
   5509 if ac_fn_c_try_compile "$LINENO"; then :
   5510   xorg_cv_cc_flag_unknown_warning_option=yes
   5511 else
   5512   xorg_cv_cc_flag_unknown_warning_option=no
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5515 fi
   5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5519 	CFLAGS="$xorg_testset_save_CFLAGS"
   5520 fi
   5521 
   5522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5525 	fi
   5526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5530   $as_echo_n "(cached) " >&6
   5531 else
   5532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5533 /* end confdefs.h.  */
   5534 int i;
   5535 _ACEOF
   5536 if ac_fn_c_try_compile "$LINENO"; then :
   5537   xorg_cv_cc_flag_unused_command_line_argument=yes
   5538 else
   5539   xorg_cv_cc_flag_unused_command_line_argument=no
   5540 fi
   5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5542 fi
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5546 	CFLAGS="$xorg_testset_save_CFLAGS"
   5547 fi
   5548 
   5549 found="no"
   5550 
   5551 	if test $found = "no" ; then
   5552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5554 		fi
   5555 
   5556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5558 		fi
   5559 
   5560 		CFLAGS="$CFLAGS -Wnested-externs"
   5561 
   5562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5563 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5564 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5565 		if eval \${$cacheid+:} false; then :
   5566   $as_echo_n "(cached) " >&6
   5567 else
   5568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5569 /* end confdefs.h.  */
   5570 int i;
   5571 int
   5572 main ()
   5573 {
   5574 
   5575   ;
   5576   return 0;
   5577 }
   5578 _ACEOF
   5579 if ac_fn_c_try_link "$LINENO"; then :
   5580   eval $cacheid=yes
   5581 else
   5582   eval $cacheid=no
   5583 fi
   5584 rm -f core conftest.err conftest.$ac_objext \
   5585     conftest$ac_exeext conftest.$ac_ext
   5586 fi
   5587 
   5588 
   5589 		CFLAGS="$xorg_testset_save_CFLAGS"
   5590 
   5591 		eval supported=\$$cacheid
   5592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5593 $as_echo "$supported" >&6; }
   5594 		if test "$supported" = "yes" ; then
   5595 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5596 			found="yes"
   5597 		fi
   5598 	fi
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 xorg_testset_save_CFLAGS="$CFLAGS"
   5615 
   5616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5624 /* end confdefs.h.  */
   5625 int i;
   5626 _ACEOF
   5627 if ac_fn_c_try_compile "$LINENO"; then :
   5628   xorg_cv_cc_flag_unknown_warning_option=yes
   5629 else
   5630   xorg_cv_cc_flag_unknown_warning_option=no
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5633 fi
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5643 	fi
   5644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5651 /* end confdefs.h.  */
   5652 int i;
   5653 _ACEOF
   5654 if ac_fn_c_try_compile "$LINENO"; then :
   5655   xorg_cv_cc_flag_unused_command_line_argument=yes
   5656 else
   5657   xorg_cv_cc_flag_unused_command_line_argument=no
   5658 fi
   5659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5660 fi
   5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5664 	CFLAGS="$xorg_testset_save_CFLAGS"
   5665 fi
   5666 
   5667 found="no"
   5668 
   5669 	if test $found = "no" ; then
   5670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 		fi
   5673 
   5674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 		fi
   5677 
   5678 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5679 
   5680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5681 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5682 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5683 		if eval \${$cacheid+:} false; then :
   5684   $as_echo_n "(cached) " >&6
   5685 else
   5686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5687 /* end confdefs.h.  */
   5688 int i;
   5689 int
   5690 main ()
   5691 {
   5692 
   5693   ;
   5694   return 0;
   5695 }
   5696 _ACEOF
   5697 if ac_fn_c_try_link "$LINENO"; then :
   5698   eval $cacheid=yes
   5699 else
   5700   eval $cacheid=no
   5701 fi
   5702 rm -f core conftest.err conftest.$ac_objext \
   5703     conftest$ac_exeext conftest.$ac_ext
   5704 fi
   5705 
   5706 
   5707 		CFLAGS="$xorg_testset_save_CFLAGS"
   5708 
   5709 		eval supported=\$$cacheid
   5710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5711 $as_echo "$supported" >&6; }
   5712 		if test "$supported" = "yes" ; then
   5713 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5714 			found="yes"
   5715 		fi
   5716 	fi
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 xorg_testset_save_CFLAGS="$CFLAGS"
   5733 
   5734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5739   $as_echo_n "(cached) " >&6
   5740 else
   5741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5742 /* end confdefs.h.  */
   5743 int i;
   5744 _ACEOF
   5745 if ac_fn_c_try_compile "$LINENO"; then :
   5746   xorg_cv_cc_flag_unknown_warning_option=yes
   5747 else
   5748   xorg_cv_cc_flag_unknown_warning_option=no
   5749 fi
   5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5751 fi
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5755 	CFLAGS="$xorg_testset_save_CFLAGS"
   5756 fi
   5757 
   5758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5761 	fi
   5762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5766   $as_echo_n "(cached) " >&6
   5767 else
   5768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5769 /* end confdefs.h.  */
   5770 int i;
   5771 _ACEOF
   5772 if ac_fn_c_try_compile "$LINENO"; then :
   5773   xorg_cv_cc_flag_unused_command_line_argument=yes
   5774 else
   5775   xorg_cv_cc_flag_unused_command_line_argument=no
   5776 fi
   5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5778 fi
   5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5782 	CFLAGS="$xorg_testset_save_CFLAGS"
   5783 fi
   5784 
   5785 found="no"
   5786 
   5787 	if test $found = "no" ; then
   5788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 		fi
   5791 
   5792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5794 		fi
   5795 
   5796 		CFLAGS="$CFLAGS -Wold-style-definition"
   5797 
   5798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5799 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5800 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5801 		if eval \${$cacheid+:} false; then :
   5802   $as_echo_n "(cached) " >&6
   5803 else
   5804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5805 /* end confdefs.h.  */
   5806 int i;
   5807 int
   5808 main ()
   5809 {
   5810 
   5811   ;
   5812   return 0;
   5813 }
   5814 _ACEOF
   5815 if ac_fn_c_try_link "$LINENO"; then :
   5816   eval $cacheid=yes
   5817 else
   5818   eval $cacheid=no
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext \
   5821     conftest$ac_exeext conftest.$ac_ext
   5822 fi
   5823 
   5824 
   5825 		CFLAGS="$xorg_testset_save_CFLAGS"
   5826 
   5827 		eval supported=\$$cacheid
   5828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5829 $as_echo "$supported" >&6; }
   5830 		if test "$supported" = "yes" ; then
   5831 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5832 			found="yes"
   5833 		fi
   5834 	fi
   5835 
   5836 	if test $found = "no" ; then
   5837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5839 		fi
   5840 
   5841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5843 		fi
   5844 
   5845 		CFLAGS="$CFLAGS -fd"
   5846 
   5847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5848 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5849 		cacheid=xorg_cv_cc_flag__fd
   5850 		if eval \${$cacheid+:} false; then :
   5851   $as_echo_n "(cached) " >&6
   5852 else
   5853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5854 /* end confdefs.h.  */
   5855 int i;
   5856 int
   5857 main ()
   5858 {
   5859 
   5860   ;
   5861   return 0;
   5862 }
   5863 _ACEOF
   5864 if ac_fn_c_try_link "$LINENO"; then :
   5865   eval $cacheid=yes
   5866 else
   5867   eval $cacheid=no
   5868 fi
   5869 rm -f core conftest.err conftest.$ac_objext \
   5870     conftest$ac_exeext conftest.$ac_ext
   5871 fi
   5872 
   5873 
   5874 		CFLAGS="$xorg_testset_save_CFLAGS"
   5875 
   5876 		eval supported=\$$cacheid
   5877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5878 $as_echo "$supported" >&6; }
   5879 		if test "$supported" = "yes" ; then
   5880 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5881 			found="yes"
   5882 		fi
   5883 	fi
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 xorg_testset_save_CFLAGS="$CFLAGS"
   5900 
   5901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 _ACEOF
   5912 if ac_fn_c_try_compile "$LINENO"; then :
   5913   xorg_cv_cc_flag_unknown_warning_option=yes
   5914 else
   5915   xorg_cv_cc_flag_unknown_warning_option=no
   5916 fi
   5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5918 fi
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5922 	CFLAGS="$xorg_testset_save_CFLAGS"
   5923 fi
   5924 
   5925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5928 	fi
   5929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5933   $as_echo_n "(cached) " >&6
   5934 else
   5935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5936 /* end confdefs.h.  */
   5937 int i;
   5938 _ACEOF
   5939 if ac_fn_c_try_compile "$LINENO"; then :
   5940   xorg_cv_cc_flag_unused_command_line_argument=yes
   5941 else
   5942   xorg_cv_cc_flag_unused_command_line_argument=no
   5943 fi
   5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5945 fi
   5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5949 	CFLAGS="$xorg_testset_save_CFLAGS"
   5950 fi
   5951 
   5952 found="no"
   5953 
   5954 	if test $found = "no" ; then
   5955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5957 		fi
   5958 
   5959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5961 		fi
   5962 
   5963 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5964 
   5965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5966 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5967 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5968 		if eval \${$cacheid+:} false; then :
   5969   $as_echo_n "(cached) " >&6
   5970 else
   5971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5972 /* end confdefs.h.  */
   5973 int i;
   5974 int
   5975 main ()
   5976 {
   5977 
   5978   ;
   5979   return 0;
   5980 }
   5981 _ACEOF
   5982 if ac_fn_c_try_link "$LINENO"; then :
   5983   eval $cacheid=yes
   5984 else
   5985   eval $cacheid=no
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext \
   5988     conftest$ac_exeext conftest.$ac_ext
   5989 fi
   5990 
   5991 
   5992 		CFLAGS="$xorg_testset_save_CFLAGS"
   5993 
   5994 		eval supported=\$$cacheid
   5995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5996 $as_echo "$supported" >&6; }
   5997 		if test "$supported" = "yes" ; then
   5998 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5999 			found="yes"
   6000 		fi
   6001 	fi
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 # This chunk adds additional warnings that could catch undesired effects.
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 xorg_testset_save_CFLAGS="$CFLAGS"
   6022 
   6023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6028   $as_echo_n "(cached) " >&6
   6029 else
   6030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6031 /* end confdefs.h.  */
   6032 int i;
   6033 _ACEOF
   6034 if ac_fn_c_try_compile "$LINENO"; then :
   6035   xorg_cv_cc_flag_unknown_warning_option=yes
   6036 else
   6037   xorg_cv_cc_flag_unknown_warning_option=no
   6038 fi
   6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6040 fi
   6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6044 	CFLAGS="$xorg_testset_save_CFLAGS"
   6045 fi
   6046 
   6047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6050 	fi
   6051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6058 /* end confdefs.h.  */
   6059 int i;
   6060 _ACEOF
   6061 if ac_fn_c_try_compile "$LINENO"; then :
   6062   xorg_cv_cc_flag_unused_command_line_argument=yes
   6063 else
   6064   xorg_cv_cc_flag_unused_command_line_argument=no
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6067 fi
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6071 	CFLAGS="$xorg_testset_save_CFLAGS"
   6072 fi
   6073 
   6074 found="no"
   6075 
   6076 	if test $found = "no" ; then
   6077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 		fi
   6080 
   6081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6083 		fi
   6084 
   6085 		CFLAGS="$CFLAGS -Wunused"
   6086 
   6087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6088 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6089 		cacheid=xorg_cv_cc_flag__Wunused
   6090 		if eval \${$cacheid+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6094 /* end confdefs.h.  */
   6095 int i;
   6096 int
   6097 main ()
   6098 {
   6099 
   6100   ;
   6101   return 0;
   6102 }
   6103 _ACEOF
   6104 if ac_fn_c_try_link "$LINENO"; then :
   6105   eval $cacheid=yes
   6106 else
   6107   eval $cacheid=no
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext \
   6110     conftest$ac_exeext conftest.$ac_ext
   6111 fi
   6112 
   6113 
   6114 		CFLAGS="$xorg_testset_save_CFLAGS"
   6115 
   6116 		eval supported=\$$cacheid
   6117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6118 $as_echo "$supported" >&6; }
   6119 		if test "$supported" = "yes" ; then
   6120 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6121 			found="yes"
   6122 		fi
   6123 	fi
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 xorg_testset_save_CFLAGS="$CFLAGS"
   6140 
   6141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6146   $as_echo_n "(cached) " >&6
   6147 else
   6148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 _ACEOF
   6152 if ac_fn_c_try_compile "$LINENO"; then :
   6153   xorg_cv_cc_flag_unknown_warning_option=yes
   6154 else
   6155   xorg_cv_cc_flag_unknown_warning_option=no
   6156 fi
   6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6158 fi
   6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6162 	CFLAGS="$xorg_testset_save_CFLAGS"
   6163 fi
   6164 
   6165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6168 	fi
   6169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6173   $as_echo_n "(cached) " >&6
   6174 else
   6175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 _ACEOF
   6179 if ac_fn_c_try_compile "$LINENO"; then :
   6180   xorg_cv_cc_flag_unused_command_line_argument=yes
   6181 else
   6182   xorg_cv_cc_flag_unused_command_line_argument=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6185 fi
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6189 	CFLAGS="$xorg_testset_save_CFLAGS"
   6190 fi
   6191 
   6192 found="no"
   6193 
   6194 	if test $found = "no" ; then
   6195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6197 		fi
   6198 
   6199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 		fi
   6202 
   6203 		CFLAGS="$CFLAGS -Wuninitialized"
   6204 
   6205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6206 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6207 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6208 		if eval \${$cacheid+:} false; then :
   6209   $as_echo_n "(cached) " >&6
   6210 else
   6211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6212 /* end confdefs.h.  */
   6213 int i;
   6214 int
   6215 main ()
   6216 {
   6217 
   6218   ;
   6219   return 0;
   6220 }
   6221 _ACEOF
   6222 if ac_fn_c_try_link "$LINENO"; then :
   6223   eval $cacheid=yes
   6224 else
   6225   eval $cacheid=no
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext \
   6228     conftest$ac_exeext conftest.$ac_ext
   6229 fi
   6230 
   6231 
   6232 		CFLAGS="$xorg_testset_save_CFLAGS"
   6233 
   6234 		eval supported=\$$cacheid
   6235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6236 $as_echo "$supported" >&6; }
   6237 		if test "$supported" = "yes" ; then
   6238 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6239 			found="yes"
   6240 		fi
   6241 	fi
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 xorg_testset_save_CFLAGS="$CFLAGS"
   6258 
   6259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6262 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6263 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6264   $as_echo_n "(cached) " >&6
   6265 else
   6266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 _ACEOF
   6270 if ac_fn_c_try_compile "$LINENO"; then :
   6271   xorg_cv_cc_flag_unknown_warning_option=yes
   6272 else
   6273   xorg_cv_cc_flag_unknown_warning_option=no
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6276 fi
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6278 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6280 	CFLAGS="$xorg_testset_save_CFLAGS"
   6281 fi
   6282 
   6283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6286 	fi
   6287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6289 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6290 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6291   $as_echo_n "(cached) " >&6
   6292 else
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 _ACEOF
   6297 if ac_fn_c_try_compile "$LINENO"; then :
   6298   xorg_cv_cc_flag_unused_command_line_argument=yes
   6299 else
   6300   xorg_cv_cc_flag_unused_command_line_argument=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6303 fi
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6305 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6307 	CFLAGS="$xorg_testset_save_CFLAGS"
   6308 fi
   6309 
   6310 found="no"
   6311 
   6312 	if test $found = "no" ; then
   6313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 		fi
   6316 
   6317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 		fi
   6320 
   6321 		CFLAGS="$CFLAGS -Wshadow"
   6322 
   6323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6324 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6325 		cacheid=xorg_cv_cc_flag__Wshadow
   6326 		if eval \${$cacheid+:} false; then :
   6327   $as_echo_n "(cached) " >&6
   6328 else
   6329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6330 /* end confdefs.h.  */
   6331 int i;
   6332 int
   6333 main ()
   6334 {
   6335 
   6336   ;
   6337   return 0;
   6338 }
   6339 _ACEOF
   6340 if ac_fn_c_try_link "$LINENO"; then :
   6341   eval $cacheid=yes
   6342 else
   6343   eval $cacheid=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext \
   6346     conftest$ac_exeext conftest.$ac_ext
   6347 fi
   6348 
   6349 
   6350 		CFLAGS="$xorg_testset_save_CFLAGS"
   6351 
   6352 		eval supported=\$$cacheid
   6353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6354 $as_echo "$supported" >&6; }
   6355 		if test "$supported" = "yes" ; then
   6356 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6357 			found="yes"
   6358 		fi
   6359 	fi
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 xorg_testset_save_CFLAGS="$CFLAGS"
   6376 
   6377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6380 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6381 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6382   $as_echo_n "(cached) " >&6
   6383 else
   6384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6385 /* end confdefs.h.  */
   6386 int i;
   6387 _ACEOF
   6388 if ac_fn_c_try_compile "$LINENO"; then :
   6389   xorg_cv_cc_flag_unknown_warning_option=yes
   6390 else
   6391   xorg_cv_cc_flag_unknown_warning_option=no
   6392 fi
   6393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6394 fi
   6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6396 $as_echo "$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 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6407 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6408 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   6411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6412 /* end confdefs.h.  */
   6413 int i;
   6414 _ACEOF
   6415 if ac_fn_c_try_compile "$LINENO"; then :
   6416   xorg_cv_cc_flag_unused_command_line_argument=yes
   6417 else
   6418   xorg_cv_cc_flag_unused_command_line_argument=no
   6419 fi
   6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6421 fi
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6423 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6425 	CFLAGS="$xorg_testset_save_CFLAGS"
   6426 fi
   6427 
   6428 found="no"
   6429 
   6430 	if test $found = "no" ; then
   6431 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6433 		fi
   6434 
   6435 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6437 		fi
   6438 
   6439 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6440 
   6441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6442 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6443 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6444 		if eval \${$cacheid+:} false; then :
   6445   $as_echo_n "(cached) " >&6
   6446 else
   6447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6448 /* end confdefs.h.  */
   6449 int i;
   6450 int
   6451 main ()
   6452 {
   6453 
   6454   ;
   6455   return 0;
   6456 }
   6457 _ACEOF
   6458 if ac_fn_c_try_link "$LINENO"; then :
   6459   eval $cacheid=yes
   6460 else
   6461   eval $cacheid=no
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext \
   6464     conftest$ac_exeext conftest.$ac_ext
   6465 fi
   6466 
   6467 
   6468 		CFLAGS="$xorg_testset_save_CFLAGS"
   6469 
   6470 		eval supported=\$$cacheid
   6471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6472 $as_echo "$supported" >&6; }
   6473 		if test "$supported" = "yes" ; then
   6474 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6475 			found="yes"
   6476 		fi
   6477 	fi
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 xorg_testset_save_CFLAGS="$CFLAGS"
   6494 
   6495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6498 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6499 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6500   $as_echo_n "(cached) " >&6
   6501 else
   6502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6503 /* end confdefs.h.  */
   6504 int i;
   6505 _ACEOF
   6506 if ac_fn_c_try_compile "$LINENO"; then :
   6507   xorg_cv_cc_flag_unknown_warning_option=yes
   6508 else
   6509   xorg_cv_cc_flag_unknown_warning_option=no
   6510 fi
   6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6512 fi
   6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6514 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6516 	CFLAGS="$xorg_testset_save_CFLAGS"
   6517 fi
   6518 
   6519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6522 	fi
   6523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6525 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6526 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6530 /* end confdefs.h.  */
   6531 int i;
   6532 _ACEOF
   6533 if ac_fn_c_try_compile "$LINENO"; then :
   6534   xorg_cv_cc_flag_unused_command_line_argument=yes
   6535 else
   6536   xorg_cv_cc_flag_unused_command_line_argument=no
   6537 fi
   6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6539 fi
   6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6541 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6543 	CFLAGS="$xorg_testset_save_CFLAGS"
   6544 fi
   6545 
   6546 found="no"
   6547 
   6548 	if test $found = "no" ; then
   6549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6551 		fi
   6552 
   6553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6555 		fi
   6556 
   6557 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6558 
   6559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6560 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6561 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6562 		if eval \${$cacheid+:} false; then :
   6563   $as_echo_n "(cached) " >&6
   6564 else
   6565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6566 /* end confdefs.h.  */
   6567 int i;
   6568 int
   6569 main ()
   6570 {
   6571 
   6572   ;
   6573   return 0;
   6574 }
   6575 _ACEOF
   6576 if ac_fn_c_try_link "$LINENO"; then :
   6577   eval $cacheid=yes
   6578 else
   6579   eval $cacheid=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext \
   6582     conftest$ac_exeext conftest.$ac_ext
   6583 fi
   6584 
   6585 
   6586 		CFLAGS="$xorg_testset_save_CFLAGS"
   6587 
   6588 		eval supported=\$$cacheid
   6589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6590 $as_echo "$supported" >&6; }
   6591 		if test "$supported" = "yes" ; then
   6592 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6593 			found="yes"
   6594 		fi
   6595 	fi
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 xorg_testset_save_CFLAGS="$CFLAGS"
   6612 
   6613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6616 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6617 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6618   $as_echo_n "(cached) " >&6
   6619 else
   6620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6621 /* end confdefs.h.  */
   6622 int i;
   6623 _ACEOF
   6624 if ac_fn_c_try_compile "$LINENO"; then :
   6625   xorg_cv_cc_flag_unknown_warning_option=yes
   6626 else
   6627   xorg_cv_cc_flag_unknown_warning_option=no
   6628 fi
   6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6630 fi
   6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6632 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6634 	CFLAGS="$xorg_testset_save_CFLAGS"
   6635 fi
   6636 
   6637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6640 	fi
   6641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6643 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6644 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6645   $as_echo_n "(cached) " >&6
   6646 else
   6647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6648 /* end confdefs.h.  */
   6649 int i;
   6650 _ACEOF
   6651 if ac_fn_c_try_compile "$LINENO"; then :
   6652   xorg_cv_cc_flag_unused_command_line_argument=yes
   6653 else
   6654   xorg_cv_cc_flag_unused_command_line_argument=no
   6655 fi
   6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6657 fi
   6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6659 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6661 	CFLAGS="$xorg_testset_save_CFLAGS"
   6662 fi
   6663 
   6664 found="no"
   6665 
   6666 	if test $found = "no" ; then
   6667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6669 		fi
   6670 
   6671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6673 		fi
   6674 
   6675 		CFLAGS="$CFLAGS -Wredundant-decls"
   6676 
   6677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6678 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6679 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6680 		if eval \${$cacheid+:} false; then :
   6681   $as_echo_n "(cached) " >&6
   6682 else
   6683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 int i;
   6686 int
   6687 main ()
   6688 {
   6689 
   6690   ;
   6691   return 0;
   6692 }
   6693 _ACEOF
   6694 if ac_fn_c_try_link "$LINENO"; then :
   6695   eval $cacheid=yes
   6696 else
   6697   eval $cacheid=no
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext \
   6700     conftest$ac_exeext conftest.$ac_ext
   6701 fi
   6702 
   6703 
   6704 		CFLAGS="$xorg_testset_save_CFLAGS"
   6705 
   6706 		eval supported=\$$cacheid
   6707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6708 $as_echo "$supported" >&6; }
   6709 		if test "$supported" = "yes" ; then
   6710 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6711 			found="yes"
   6712 		fi
   6713 	fi
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 xorg_testset_save_CFLAGS="$CFLAGS"
   6730 
   6731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6732 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6734 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6735 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6736   $as_echo_n "(cached) " >&6
   6737 else
   6738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6739 /* end confdefs.h.  */
   6740 int i;
   6741 _ACEOF
   6742 if ac_fn_c_try_compile "$LINENO"; then :
   6743   xorg_cv_cc_flag_unknown_warning_option=yes
   6744 else
   6745   xorg_cv_cc_flag_unknown_warning_option=no
   6746 fi
   6747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6748 fi
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6750 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6752 	CFLAGS="$xorg_testset_save_CFLAGS"
   6753 fi
   6754 
   6755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	fi
   6759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6761 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6762 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6766 /* end confdefs.h.  */
   6767 int i;
   6768 _ACEOF
   6769 if ac_fn_c_try_compile "$LINENO"; then :
   6770   xorg_cv_cc_flag_unused_command_line_argument=yes
   6771 else
   6772   xorg_cv_cc_flag_unused_command_line_argument=no
   6773 fi
   6774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6775 fi
   6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6777 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6779 	CFLAGS="$xorg_testset_save_CFLAGS"
   6780 fi
   6781 
   6782 found="no"
   6783 
   6784 	if test $found = "no" ; then
   6785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6787 		fi
   6788 
   6789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6791 		fi
   6792 
   6793 		CFLAGS="$CFLAGS -Wlogical-op"
   6794 
   6795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6796 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6797 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6798 		if eval \${$cacheid+:} false; then :
   6799   $as_echo_n "(cached) " >&6
   6800 else
   6801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6802 /* end confdefs.h.  */
   6803 int i;
   6804 int
   6805 main ()
   6806 {
   6807 
   6808   ;
   6809   return 0;
   6810 }
   6811 _ACEOF
   6812 if ac_fn_c_try_link "$LINENO"; then :
   6813   eval $cacheid=yes
   6814 else
   6815   eval $cacheid=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext \
   6818     conftest$ac_exeext conftest.$ac_ext
   6819 fi
   6820 
   6821 
   6822 		CFLAGS="$xorg_testset_save_CFLAGS"
   6823 
   6824 		eval supported=\$$cacheid
   6825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6826 $as_echo "$supported" >&6; }
   6827 		if test "$supported" = "yes" ; then
   6828 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6829 			found="yes"
   6830 		fi
   6831 	fi
   6832 
   6833 
   6834 
   6835 # These are currently disabled because they are noisy.  They will be enabled
   6836 # in the future once the codebase is sufficiently modernized to silence
   6837 # them.  For now, I don't want them to drown out the other warnings.
   6838 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6839 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6840 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6841 
   6842 # Turn some warnings into errors, so we don't accidently get successful builds
   6843 # when there are problems that should be fixed.
   6844 
   6845 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 xorg_testset_save_CFLAGS="$CFLAGS"
   6860 
   6861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6866   $as_echo_n "(cached) " >&6
   6867 else
   6868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6869 /* end confdefs.h.  */
   6870 int i;
   6871 _ACEOF
   6872 if ac_fn_c_try_compile "$LINENO"; then :
   6873   xorg_cv_cc_flag_unknown_warning_option=yes
   6874 else
   6875   xorg_cv_cc_flag_unknown_warning_option=no
   6876 fi
   6877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6878 fi
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6882 	CFLAGS="$xorg_testset_save_CFLAGS"
   6883 fi
   6884 
   6885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	fi
   6889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6896 /* end confdefs.h.  */
   6897 int i;
   6898 _ACEOF
   6899 if ac_fn_c_try_compile "$LINENO"; then :
   6900   xorg_cv_cc_flag_unused_command_line_argument=yes
   6901 else
   6902   xorg_cv_cc_flag_unused_command_line_argument=no
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6905 fi
   6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6909 	CFLAGS="$xorg_testset_save_CFLAGS"
   6910 fi
   6911 
   6912 found="no"
   6913 
   6914 	if test $found = "no" ; then
   6915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 		fi
   6918 
   6919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6921 		fi
   6922 
   6923 		CFLAGS="$CFLAGS -Werror=implicit"
   6924 
   6925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6926 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6927 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6928 		if eval \${$cacheid+:} false; then :
   6929   $as_echo_n "(cached) " >&6
   6930 else
   6931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6932 /* end confdefs.h.  */
   6933 int i;
   6934 int
   6935 main ()
   6936 {
   6937 
   6938   ;
   6939   return 0;
   6940 }
   6941 _ACEOF
   6942 if ac_fn_c_try_link "$LINENO"; then :
   6943   eval $cacheid=yes
   6944 else
   6945   eval $cacheid=no
   6946 fi
   6947 rm -f core conftest.err conftest.$ac_objext \
   6948     conftest$ac_exeext conftest.$ac_ext
   6949 fi
   6950 
   6951 
   6952 		CFLAGS="$xorg_testset_save_CFLAGS"
   6953 
   6954 		eval supported=\$$cacheid
   6955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6956 $as_echo "$supported" >&6; }
   6957 		if test "$supported" = "yes" ; then
   6958 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6959 			found="yes"
   6960 		fi
   6961 	fi
   6962 
   6963 	if test $found = "no" ; then
   6964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6966 		fi
   6967 
   6968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6970 		fi
   6971 
   6972 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6973 
   6974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6975 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6976 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6977 		if eval \${$cacheid+:} false; then :
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6981 /* end confdefs.h.  */
   6982 int i;
   6983 int
   6984 main ()
   6985 {
   6986 
   6987   ;
   6988   return 0;
   6989 }
   6990 _ACEOF
   6991 if ac_fn_c_try_link "$LINENO"; then :
   6992   eval $cacheid=yes
   6993 else
   6994   eval $cacheid=no
   6995 fi
   6996 rm -f core conftest.err conftest.$ac_objext \
   6997     conftest$ac_exeext conftest.$ac_ext
   6998 fi
   6999 
   7000 
   7001 		CFLAGS="$xorg_testset_save_CFLAGS"
   7002 
   7003 		eval supported=\$$cacheid
   7004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7005 $as_echo "$supported" >&6; }
   7006 		if test "$supported" = "yes" ; then
   7007 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7008 			found="yes"
   7009 		fi
   7010 	fi
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 xorg_testset_save_CFLAGS="$CFLAGS"
   7027 
   7028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7033   $as_echo_n "(cached) " >&6
   7034 else
   7035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7036 /* end confdefs.h.  */
   7037 int i;
   7038 _ACEOF
   7039 if ac_fn_c_try_compile "$LINENO"; then :
   7040   xorg_cv_cc_flag_unknown_warning_option=yes
   7041 else
   7042   xorg_cv_cc_flag_unknown_warning_option=no
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7045 fi
   7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7049 	CFLAGS="$xorg_testset_save_CFLAGS"
   7050 fi
   7051 
   7052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7055 	fi
   7056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7060   $as_echo_n "(cached) " >&6
   7061 else
   7062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 int i;
   7065 _ACEOF
   7066 if ac_fn_c_try_compile "$LINENO"; then :
   7067   xorg_cv_cc_flag_unused_command_line_argument=yes
   7068 else
   7069   xorg_cv_cc_flag_unused_command_line_argument=no
   7070 fi
   7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7072 fi
   7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7076 	CFLAGS="$xorg_testset_save_CFLAGS"
   7077 fi
   7078 
   7079 found="no"
   7080 
   7081 	if test $found = "no" ; then
   7082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7084 		fi
   7085 
   7086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7088 		fi
   7089 
   7090 		CFLAGS="$CFLAGS -Werror=nonnull"
   7091 
   7092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7093 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7094 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7095 		if eval \${$cacheid+:} false; then :
   7096   $as_echo_n "(cached) " >&6
   7097 else
   7098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7099 /* end confdefs.h.  */
   7100 int i;
   7101 int
   7102 main ()
   7103 {
   7104 
   7105   ;
   7106   return 0;
   7107 }
   7108 _ACEOF
   7109 if ac_fn_c_try_link "$LINENO"; then :
   7110   eval $cacheid=yes
   7111 else
   7112   eval $cacheid=no
   7113 fi
   7114 rm -f core conftest.err conftest.$ac_objext \
   7115     conftest$ac_exeext conftest.$ac_ext
   7116 fi
   7117 
   7118 
   7119 		CFLAGS="$xorg_testset_save_CFLAGS"
   7120 
   7121 		eval supported=\$$cacheid
   7122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7123 $as_echo "$supported" >&6; }
   7124 		if test "$supported" = "yes" ; then
   7125 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7126 			found="yes"
   7127 		fi
   7128 	fi
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 xorg_testset_save_CFLAGS="$CFLAGS"
   7145 
   7146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7151   $as_echo_n "(cached) " >&6
   7152 else
   7153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 int i;
   7156 _ACEOF
   7157 if ac_fn_c_try_compile "$LINENO"; then :
   7158   xorg_cv_cc_flag_unknown_warning_option=yes
   7159 else
   7160   xorg_cv_cc_flag_unknown_warning_option=no
   7161 fi
   7162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7163 fi
   7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7167 	CFLAGS="$xorg_testset_save_CFLAGS"
   7168 fi
   7169 
   7170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7173 	fi
   7174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 _ACEOF
   7184 if ac_fn_c_try_compile "$LINENO"; then :
   7185   xorg_cv_cc_flag_unused_command_line_argument=yes
   7186 else
   7187   xorg_cv_cc_flag_unused_command_line_argument=no
   7188 fi
   7189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7190 fi
   7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7194 	CFLAGS="$xorg_testset_save_CFLAGS"
   7195 fi
   7196 
   7197 found="no"
   7198 
   7199 	if test $found = "no" ; then
   7200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7202 		fi
   7203 
   7204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7206 		fi
   7207 
   7208 		CFLAGS="$CFLAGS -Werror=init-self"
   7209 
   7210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7211 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7212 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7213 		if eval \${$cacheid+:} false; then :
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7217 /* end confdefs.h.  */
   7218 int i;
   7219 int
   7220 main ()
   7221 {
   7222 
   7223   ;
   7224   return 0;
   7225 }
   7226 _ACEOF
   7227 if ac_fn_c_try_link "$LINENO"; then :
   7228   eval $cacheid=yes
   7229 else
   7230   eval $cacheid=no
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext \
   7233     conftest$ac_exeext conftest.$ac_ext
   7234 fi
   7235 
   7236 
   7237 		CFLAGS="$xorg_testset_save_CFLAGS"
   7238 
   7239 		eval supported=\$$cacheid
   7240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7241 $as_echo "$supported" >&6; }
   7242 		if test "$supported" = "yes" ; then
   7243 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7244 			found="yes"
   7245 		fi
   7246 	fi
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 xorg_testset_save_CFLAGS="$CFLAGS"
   7263 
   7264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7269   $as_echo_n "(cached) " >&6
   7270 else
   7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 int i;
   7274 _ACEOF
   7275 if ac_fn_c_try_compile "$LINENO"; then :
   7276   xorg_cv_cc_flag_unknown_warning_option=yes
   7277 else
   7278   xorg_cv_cc_flag_unknown_warning_option=no
   7279 fi
   7280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7281 fi
   7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7285 	CFLAGS="$xorg_testset_save_CFLAGS"
   7286 fi
   7287 
   7288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7291 	fi
   7292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7296   $as_echo_n "(cached) " >&6
   7297 else
   7298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7299 /* end confdefs.h.  */
   7300 int i;
   7301 _ACEOF
   7302 if ac_fn_c_try_compile "$LINENO"; then :
   7303   xorg_cv_cc_flag_unused_command_line_argument=yes
   7304 else
   7305   xorg_cv_cc_flag_unused_command_line_argument=no
   7306 fi
   7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7308 fi
   7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7312 	CFLAGS="$xorg_testset_save_CFLAGS"
   7313 fi
   7314 
   7315 found="no"
   7316 
   7317 	if test $found = "no" ; then
   7318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7320 		fi
   7321 
   7322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7324 		fi
   7325 
   7326 		CFLAGS="$CFLAGS -Werror=main"
   7327 
   7328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7330 		cacheid=xorg_cv_cc_flag__Werror_main
   7331 		if eval \${$cacheid+:} false; then :
   7332   $as_echo_n "(cached) " >&6
   7333 else
   7334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7335 /* end confdefs.h.  */
   7336 int i;
   7337 int
   7338 main ()
   7339 {
   7340 
   7341   ;
   7342   return 0;
   7343 }
   7344 _ACEOF
   7345 if ac_fn_c_try_link "$LINENO"; then :
   7346   eval $cacheid=yes
   7347 else
   7348   eval $cacheid=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext \
   7351     conftest$ac_exeext conftest.$ac_ext
   7352 fi
   7353 
   7354 
   7355 		CFLAGS="$xorg_testset_save_CFLAGS"
   7356 
   7357 		eval supported=\$$cacheid
   7358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7359 $as_echo "$supported" >&6; }
   7360 		if test "$supported" = "yes" ; then
   7361 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7362 			found="yes"
   7363 		fi
   7364 	fi
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 xorg_testset_save_CFLAGS="$CFLAGS"
   7381 
   7382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7385 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7386 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7387   $as_echo_n "(cached) " >&6
   7388 else
   7389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7390 /* end confdefs.h.  */
   7391 int i;
   7392 _ACEOF
   7393 if ac_fn_c_try_compile "$LINENO"; then :
   7394   xorg_cv_cc_flag_unknown_warning_option=yes
   7395 else
   7396   xorg_cv_cc_flag_unknown_warning_option=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7399 fi
   7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7401 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7403 	CFLAGS="$xorg_testset_save_CFLAGS"
   7404 fi
   7405 
   7406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7409 	fi
   7410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7412 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7413 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7414   $as_echo_n "(cached) " >&6
   7415 else
   7416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7417 /* end confdefs.h.  */
   7418 int i;
   7419 _ACEOF
   7420 if ac_fn_c_try_compile "$LINENO"; then :
   7421   xorg_cv_cc_flag_unused_command_line_argument=yes
   7422 else
   7423   xorg_cv_cc_flag_unused_command_line_argument=no
   7424 fi
   7425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7426 fi
   7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7428 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7429 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7430 	CFLAGS="$xorg_testset_save_CFLAGS"
   7431 fi
   7432 
   7433 found="no"
   7434 
   7435 	if test $found = "no" ; then
   7436 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7438 		fi
   7439 
   7440 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7442 		fi
   7443 
   7444 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7445 
   7446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7448 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7449 		if eval \${$cacheid+:} false; then :
   7450   $as_echo_n "(cached) " >&6
   7451 else
   7452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7453 /* end confdefs.h.  */
   7454 int i;
   7455 int
   7456 main ()
   7457 {
   7458 
   7459   ;
   7460   return 0;
   7461 }
   7462 _ACEOF
   7463 if ac_fn_c_try_link "$LINENO"; then :
   7464   eval $cacheid=yes
   7465 else
   7466   eval $cacheid=no
   7467 fi
   7468 rm -f core conftest.err conftest.$ac_objext \
   7469     conftest$ac_exeext conftest.$ac_ext
   7470 fi
   7471 
   7472 
   7473 		CFLAGS="$xorg_testset_save_CFLAGS"
   7474 
   7475 		eval supported=\$$cacheid
   7476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7477 $as_echo "$supported" >&6; }
   7478 		if test "$supported" = "yes" ; then
   7479 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7480 			found="yes"
   7481 		fi
   7482 	fi
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 xorg_testset_save_CFLAGS="$CFLAGS"
   7499 
   7500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7505   $as_echo_n "(cached) " >&6
   7506 else
   7507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 _ACEOF
   7511 if ac_fn_c_try_compile "$LINENO"; then :
   7512   xorg_cv_cc_flag_unknown_warning_option=yes
   7513 else
   7514   xorg_cv_cc_flag_unknown_warning_option=no
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7517 fi
   7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7521 	CFLAGS="$xorg_testset_save_CFLAGS"
   7522 fi
   7523 
   7524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7527 	fi
   7528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7532   $as_echo_n "(cached) " >&6
   7533 else
   7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 int i;
   7537 _ACEOF
   7538 if ac_fn_c_try_compile "$LINENO"; then :
   7539   xorg_cv_cc_flag_unused_command_line_argument=yes
   7540 else
   7541   xorg_cv_cc_flag_unused_command_line_argument=no
   7542 fi
   7543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7544 fi
   7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7548 	CFLAGS="$xorg_testset_save_CFLAGS"
   7549 fi
   7550 
   7551 found="no"
   7552 
   7553 	if test $found = "no" ; then
   7554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7556 		fi
   7557 
   7558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7560 		fi
   7561 
   7562 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7563 
   7564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7566 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7567 		if eval \${$cacheid+:} false; then :
   7568   $as_echo_n "(cached) " >&6
   7569 else
   7570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7571 /* end confdefs.h.  */
   7572 int i;
   7573 int
   7574 main ()
   7575 {
   7576 
   7577   ;
   7578   return 0;
   7579 }
   7580 _ACEOF
   7581 if ac_fn_c_try_link "$LINENO"; then :
   7582   eval $cacheid=yes
   7583 else
   7584   eval $cacheid=no
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext \
   7587     conftest$ac_exeext conftest.$ac_ext
   7588 fi
   7589 
   7590 
   7591 		CFLAGS="$xorg_testset_save_CFLAGS"
   7592 
   7593 		eval supported=\$$cacheid
   7594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7595 $as_echo "$supported" >&6; }
   7596 		if test "$supported" = "yes" ; then
   7597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7598 			found="yes"
   7599 		fi
   7600 	fi
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 xorg_testset_save_CFLAGS="$CFLAGS"
   7617 
   7618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7621 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7622 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7623   $as_echo_n "(cached) " >&6
   7624 else
   7625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7626 /* end confdefs.h.  */
   7627 int i;
   7628 _ACEOF
   7629 if ac_fn_c_try_compile "$LINENO"; then :
   7630   xorg_cv_cc_flag_unknown_warning_option=yes
   7631 else
   7632   xorg_cv_cc_flag_unknown_warning_option=no
   7633 fi
   7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7635 fi
   7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7637 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7639 	CFLAGS="$xorg_testset_save_CFLAGS"
   7640 fi
   7641 
   7642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7645 	fi
   7646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7648 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7649 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7650   $as_echo_n "(cached) " >&6
   7651 else
   7652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 _ACEOF
   7656 if ac_fn_c_try_compile "$LINENO"; then :
   7657   xorg_cv_cc_flag_unused_command_line_argument=yes
   7658 else
   7659   xorg_cv_cc_flag_unused_command_line_argument=no
   7660 fi
   7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7662 fi
   7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7664 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7666 	CFLAGS="$xorg_testset_save_CFLAGS"
   7667 fi
   7668 
   7669 found="no"
   7670 
   7671 	if test $found = "no" ; then
   7672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7674 		fi
   7675 
   7676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7678 		fi
   7679 
   7680 		CFLAGS="$CFLAGS -Werror=return-type"
   7681 
   7682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7684 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7685 		if eval \${$cacheid+:} false; then :
   7686   $as_echo_n "(cached) " >&6
   7687 else
   7688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7689 /* end confdefs.h.  */
   7690 int i;
   7691 int
   7692 main ()
   7693 {
   7694 
   7695   ;
   7696   return 0;
   7697 }
   7698 _ACEOF
   7699 if ac_fn_c_try_link "$LINENO"; then :
   7700   eval $cacheid=yes
   7701 else
   7702   eval $cacheid=no
   7703 fi
   7704 rm -f core conftest.err conftest.$ac_objext \
   7705     conftest$ac_exeext conftest.$ac_ext
   7706 fi
   7707 
   7708 
   7709 		CFLAGS="$xorg_testset_save_CFLAGS"
   7710 
   7711 		eval supported=\$$cacheid
   7712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7713 $as_echo "$supported" >&6; }
   7714 		if test "$supported" = "yes" ; then
   7715 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7716 			found="yes"
   7717 		fi
   7718 	fi
   7719 
   7720 	if test $found = "no" ; then
   7721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7723 		fi
   7724 
   7725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 		fi
   7728 
   7729 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7730 
   7731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7732 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7733 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7734 		if eval \${$cacheid+:} false; then :
   7735   $as_echo_n "(cached) " >&6
   7736 else
   7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7738 /* end confdefs.h.  */
   7739 int i;
   7740 int
   7741 main ()
   7742 {
   7743 
   7744   ;
   7745   return 0;
   7746 }
   7747 _ACEOF
   7748 if ac_fn_c_try_link "$LINENO"; then :
   7749   eval $cacheid=yes
   7750 else
   7751   eval $cacheid=no
   7752 fi
   7753 rm -f core conftest.err conftest.$ac_objext \
   7754     conftest$ac_exeext conftest.$ac_ext
   7755 fi
   7756 
   7757 
   7758 		CFLAGS="$xorg_testset_save_CFLAGS"
   7759 
   7760 		eval supported=\$$cacheid
   7761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7762 $as_echo "$supported" >&6; }
   7763 		if test "$supported" = "yes" ; then
   7764 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7765 			found="yes"
   7766 		fi
   7767 	fi
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 xorg_testset_save_CFLAGS="$CFLAGS"
   7784 
   7785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 int i;
   7795 _ACEOF
   7796 if ac_fn_c_try_compile "$LINENO"; then :
   7797   xorg_cv_cc_flag_unknown_warning_option=yes
   7798 else
   7799   xorg_cv_cc_flag_unknown_warning_option=no
   7800 fi
   7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7802 fi
   7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7806 	CFLAGS="$xorg_testset_save_CFLAGS"
   7807 fi
   7808 
   7809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7812 	fi
   7813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7817   $as_echo_n "(cached) " >&6
   7818 else
   7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 _ACEOF
   7823 if ac_fn_c_try_compile "$LINENO"; then :
   7824   xorg_cv_cc_flag_unused_command_line_argument=yes
   7825 else
   7826   xorg_cv_cc_flag_unused_command_line_argument=no
   7827 fi
   7828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7829 fi
   7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7833 	CFLAGS="$xorg_testset_save_CFLAGS"
   7834 fi
   7835 
   7836 found="no"
   7837 
   7838 	if test $found = "no" ; then
   7839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7841 		fi
   7842 
   7843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7845 		fi
   7846 
   7847 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7848 
   7849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7850 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7851 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7852 		if eval \${$cacheid+:} false; then :
   7853   $as_echo_n "(cached) " >&6
   7854 else
   7855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 int i;
   7858 int
   7859 main ()
   7860 {
   7861 
   7862   ;
   7863   return 0;
   7864 }
   7865 _ACEOF
   7866 if ac_fn_c_try_link "$LINENO"; then :
   7867   eval $cacheid=yes
   7868 else
   7869   eval $cacheid=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext \
   7872     conftest$ac_exeext conftest.$ac_ext
   7873 fi
   7874 
   7875 
   7876 		CFLAGS="$xorg_testset_save_CFLAGS"
   7877 
   7878 		eval supported=\$$cacheid
   7879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7880 $as_echo "$supported" >&6; }
   7881 		if test "$supported" = "yes" ; then
   7882 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7883 			found="yes"
   7884 		fi
   7885 	fi
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 xorg_testset_save_CFLAGS="$CFLAGS"
   7902 
   7903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7911 /* end confdefs.h.  */
   7912 int i;
   7913 _ACEOF
   7914 if ac_fn_c_try_compile "$LINENO"; then :
   7915   xorg_cv_cc_flag_unknown_warning_option=yes
   7916 else
   7917   xorg_cv_cc_flag_unknown_warning_option=no
   7918 fi
   7919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7920 fi
   7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7924 	CFLAGS="$xorg_testset_save_CFLAGS"
   7925 fi
   7926 
   7927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7930 	fi
   7931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 _ACEOF
   7941 if ac_fn_c_try_compile "$LINENO"; then :
   7942   xorg_cv_cc_flag_unused_command_line_argument=yes
   7943 else
   7944   xorg_cv_cc_flag_unused_command_line_argument=no
   7945 fi
   7946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7947 fi
   7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7951 	CFLAGS="$xorg_testset_save_CFLAGS"
   7952 fi
   7953 
   7954 found="no"
   7955 
   7956 	if test $found = "no" ; then
   7957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7959 		fi
   7960 
   7961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7963 		fi
   7964 
   7965 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7966 
   7967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7968 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7969 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7970 		if eval \${$cacheid+:} false; then :
   7971   $as_echo_n "(cached) " >&6
   7972 else
   7973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7974 /* end confdefs.h.  */
   7975 int i;
   7976 int
   7977 main ()
   7978 {
   7979 
   7980   ;
   7981   return 0;
   7982 }
   7983 _ACEOF
   7984 if ac_fn_c_try_link "$LINENO"; then :
   7985   eval $cacheid=yes
   7986 else
   7987   eval $cacheid=no
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext \
   7990     conftest$ac_exeext conftest.$ac_ext
   7991 fi
   7992 
   7993 
   7994 		CFLAGS="$xorg_testset_save_CFLAGS"
   7995 
   7996 		eval supported=\$$cacheid
   7997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7998 $as_echo "$supported" >&6; }
   7999 		if test "$supported" = "yes" ; then
   8000 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8001 			found="yes"
   8002 		fi
   8003 	fi
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 xorg_testset_save_CFLAGS="$CFLAGS"
   8020 
   8021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8026   $as_echo_n "(cached) " >&6
   8027 else
   8028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8029 /* end confdefs.h.  */
   8030 int i;
   8031 _ACEOF
   8032 if ac_fn_c_try_compile "$LINENO"; then :
   8033   xorg_cv_cc_flag_unknown_warning_option=yes
   8034 else
   8035   xorg_cv_cc_flag_unknown_warning_option=no
   8036 fi
   8037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8038 fi
   8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8042 	CFLAGS="$xorg_testset_save_CFLAGS"
   8043 fi
   8044 
   8045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	fi
   8049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8053   $as_echo_n "(cached) " >&6
   8054 else
   8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8056 /* end confdefs.h.  */
   8057 int i;
   8058 _ACEOF
   8059 if ac_fn_c_try_compile "$LINENO"; then :
   8060   xorg_cv_cc_flag_unused_command_line_argument=yes
   8061 else
   8062   xorg_cv_cc_flag_unused_command_line_argument=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8065 fi
   8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8069 	CFLAGS="$xorg_testset_save_CFLAGS"
   8070 fi
   8071 
   8072 found="no"
   8073 
   8074 	if test $found = "no" ; then
   8075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8077 		fi
   8078 
   8079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8081 		fi
   8082 
   8083 		CFLAGS="$CFLAGS -Werror=write-strings"
   8084 
   8085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8087 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8088 		if eval \${$cacheid+:} false; then :
   8089   $as_echo_n "(cached) " >&6
   8090 else
   8091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8092 /* end confdefs.h.  */
   8093 int i;
   8094 int
   8095 main ()
   8096 {
   8097 
   8098   ;
   8099   return 0;
   8100 }
   8101 _ACEOF
   8102 if ac_fn_c_try_link "$LINENO"; then :
   8103   eval $cacheid=yes
   8104 else
   8105   eval $cacheid=no
   8106 fi
   8107 rm -f core conftest.err conftest.$ac_objext \
   8108     conftest$ac_exeext conftest.$ac_ext
   8109 fi
   8110 
   8111 
   8112 		CFLAGS="$xorg_testset_save_CFLAGS"
   8113 
   8114 		eval supported=\$$cacheid
   8115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8116 $as_echo "$supported" >&6; }
   8117 		if test "$supported" = "yes" ; then
   8118 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8119 			found="yes"
   8120 		fi
   8121 	fi
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 xorg_testset_save_CFLAGS="$CFLAGS"
   8138 
   8139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8144   $as_echo_n "(cached) " >&6
   8145 else
   8146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8147 /* end confdefs.h.  */
   8148 int i;
   8149 _ACEOF
   8150 if ac_fn_c_try_compile "$LINENO"; then :
   8151   xorg_cv_cc_flag_unknown_warning_option=yes
   8152 else
   8153   xorg_cv_cc_flag_unknown_warning_option=no
   8154 fi
   8155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8156 fi
   8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8160 	CFLAGS="$xorg_testset_save_CFLAGS"
   8161 fi
   8162 
   8163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8166 	fi
   8167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8171   $as_echo_n "(cached) " >&6
   8172 else
   8173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8174 /* end confdefs.h.  */
   8175 int i;
   8176 _ACEOF
   8177 if ac_fn_c_try_compile "$LINENO"; then :
   8178   xorg_cv_cc_flag_unused_command_line_argument=yes
   8179 else
   8180   xorg_cv_cc_flag_unused_command_line_argument=no
   8181 fi
   8182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8183 fi
   8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8187 	CFLAGS="$xorg_testset_save_CFLAGS"
   8188 fi
   8189 
   8190 found="no"
   8191 
   8192 	if test $found = "no" ; then
   8193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 		fi
   8196 
   8197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8199 		fi
   8200 
   8201 		CFLAGS="$CFLAGS -Werror=address"
   8202 
   8203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8205 		cacheid=xorg_cv_cc_flag__Werror_address
   8206 		if eval \${$cacheid+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8210 /* end confdefs.h.  */
   8211 int i;
   8212 int
   8213 main ()
   8214 {
   8215 
   8216   ;
   8217   return 0;
   8218 }
   8219 _ACEOF
   8220 if ac_fn_c_try_link "$LINENO"; then :
   8221   eval $cacheid=yes
   8222 else
   8223   eval $cacheid=no
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext \
   8226     conftest$ac_exeext conftest.$ac_ext
   8227 fi
   8228 
   8229 
   8230 		CFLAGS="$xorg_testset_save_CFLAGS"
   8231 
   8232 		eval supported=\$$cacheid
   8233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8234 $as_echo "$supported" >&6; }
   8235 		if test "$supported" = "yes" ; then
   8236 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8237 			found="yes"
   8238 		fi
   8239 	fi
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 xorg_testset_save_CFLAGS="$CFLAGS"
   8256 
   8257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8262   $as_echo_n "(cached) " >&6
   8263 else
   8264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8265 /* end confdefs.h.  */
   8266 int i;
   8267 _ACEOF
   8268 if ac_fn_c_try_compile "$LINENO"; then :
   8269   xorg_cv_cc_flag_unknown_warning_option=yes
   8270 else
   8271   xorg_cv_cc_flag_unknown_warning_option=no
   8272 fi
   8273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8274 fi
   8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8278 	CFLAGS="$xorg_testset_save_CFLAGS"
   8279 fi
   8280 
   8281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8284 	fi
   8285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8289   $as_echo_n "(cached) " >&6
   8290 else
   8291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8292 /* end confdefs.h.  */
   8293 int i;
   8294 _ACEOF
   8295 if ac_fn_c_try_compile "$LINENO"; then :
   8296   xorg_cv_cc_flag_unused_command_line_argument=yes
   8297 else
   8298   xorg_cv_cc_flag_unused_command_line_argument=no
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8301 fi
   8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8305 	CFLAGS="$xorg_testset_save_CFLAGS"
   8306 fi
   8307 
   8308 found="no"
   8309 
   8310 	if test $found = "no" ; then
   8311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8313 		fi
   8314 
   8315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8317 		fi
   8318 
   8319 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8320 
   8321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8323 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8324 		if eval \${$cacheid+:} false; then :
   8325   $as_echo_n "(cached) " >&6
   8326 else
   8327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8328 /* end confdefs.h.  */
   8329 int i;
   8330 int
   8331 main ()
   8332 {
   8333 
   8334   ;
   8335   return 0;
   8336 }
   8337 _ACEOF
   8338 if ac_fn_c_try_link "$LINENO"; then :
   8339   eval $cacheid=yes
   8340 else
   8341   eval $cacheid=no
   8342 fi
   8343 rm -f core conftest.err conftest.$ac_objext \
   8344     conftest$ac_exeext conftest.$ac_ext
   8345 fi
   8346 
   8347 
   8348 		CFLAGS="$xorg_testset_save_CFLAGS"
   8349 
   8350 		eval supported=\$$cacheid
   8351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8352 $as_echo "$supported" >&6; }
   8353 		if test "$supported" = "yes" ; then
   8354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8355 			found="yes"
   8356 		fi
   8357 	fi
   8358 
   8359 	if test $found = "no" ; then
   8360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8362 		fi
   8363 
   8364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 		fi
   8367 
   8368 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8369 
   8370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8371 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8372 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8373 		if eval \${$cacheid+:} false; then :
   8374   $as_echo_n "(cached) " >&6
   8375 else
   8376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8377 /* end confdefs.h.  */
   8378 int i;
   8379 int
   8380 main ()
   8381 {
   8382 
   8383   ;
   8384   return 0;
   8385 }
   8386 _ACEOF
   8387 if ac_fn_c_try_link "$LINENO"; then :
   8388   eval $cacheid=yes
   8389 else
   8390   eval $cacheid=no
   8391 fi
   8392 rm -f core conftest.err conftest.$ac_objext \
   8393     conftest$ac_exeext conftest.$ac_ext
   8394 fi
   8395 
   8396 
   8397 		CFLAGS="$xorg_testset_save_CFLAGS"
   8398 
   8399 		eval supported=\$$cacheid
   8400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8401 $as_echo "$supported" >&6; }
   8402 		if test "$supported" = "yes" ; then
   8403 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8404 			found="yes"
   8405 		fi
   8406 	fi
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 xorg_testset_save_CFLAGS="$CFLAGS"
   8423 
   8424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8427 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8428 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8429   $as_echo_n "(cached) " >&6
   8430 else
   8431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8432 /* end confdefs.h.  */
   8433 int i;
   8434 _ACEOF
   8435 if ac_fn_c_try_compile "$LINENO"; then :
   8436   xorg_cv_cc_flag_unknown_warning_option=yes
   8437 else
   8438   xorg_cv_cc_flag_unknown_warning_option=no
   8439 fi
   8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8441 fi
   8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8443 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8445 	CFLAGS="$xorg_testset_save_CFLAGS"
   8446 fi
   8447 
   8448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8451 	fi
   8452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8454 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8455 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8456   $as_echo_n "(cached) " >&6
   8457 else
   8458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8459 /* end confdefs.h.  */
   8460 int i;
   8461 _ACEOF
   8462 if ac_fn_c_try_compile "$LINENO"; then :
   8463   xorg_cv_cc_flag_unused_command_line_argument=yes
   8464 else
   8465   xorg_cv_cc_flag_unused_command_line_argument=no
   8466 fi
   8467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8468 fi
   8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8470 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8472 	CFLAGS="$xorg_testset_save_CFLAGS"
   8473 fi
   8474 
   8475 found="no"
   8476 
   8477 	if test $found = "no" ; then
   8478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8480 		fi
   8481 
   8482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8484 		fi
   8485 
   8486 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8487 
   8488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8489 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8490 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8491 		if eval \${$cacheid+:} false; then :
   8492   $as_echo_n "(cached) " >&6
   8493 else
   8494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8495 /* end confdefs.h.  */
   8496 int i;
   8497 int
   8498 main ()
   8499 {
   8500 
   8501   ;
   8502   return 0;
   8503 }
   8504 _ACEOF
   8505 if ac_fn_c_try_link "$LINENO"; then :
   8506   eval $cacheid=yes
   8507 else
   8508   eval $cacheid=no
   8509 fi
   8510 rm -f core conftest.err conftest.$ac_objext \
   8511     conftest$ac_exeext conftest.$ac_ext
   8512 fi
   8513 
   8514 
   8515 		CFLAGS="$xorg_testset_save_CFLAGS"
   8516 
   8517 		eval supported=\$$cacheid
   8518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8519 $as_echo "$supported" >&6; }
   8520 		if test "$supported" = "yes" ; then
   8521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8522 			found="yes"
   8523 		fi
   8524 	fi
   8525 
   8526  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8527 else
   8528 { $as_echo "$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
   8529 $as_echo "$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;}
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 xorg_testset_save_CFLAGS="$CFLAGS"
   8544 
   8545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8550   $as_echo_n "(cached) " >&6
   8551 else
   8552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8553 /* end confdefs.h.  */
   8554 int i;
   8555 _ACEOF
   8556 if ac_fn_c_try_compile "$LINENO"; then :
   8557   xorg_cv_cc_flag_unknown_warning_option=yes
   8558 else
   8559   xorg_cv_cc_flag_unknown_warning_option=no
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8562 fi
   8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8566 	CFLAGS="$xorg_testset_save_CFLAGS"
   8567 fi
   8568 
   8569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8572 	fi
   8573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8577   $as_echo_n "(cached) " >&6
   8578 else
   8579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8580 /* end confdefs.h.  */
   8581 int i;
   8582 _ACEOF
   8583 if ac_fn_c_try_compile "$LINENO"; then :
   8584   xorg_cv_cc_flag_unused_command_line_argument=yes
   8585 else
   8586   xorg_cv_cc_flag_unused_command_line_argument=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8589 fi
   8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8593 	CFLAGS="$xorg_testset_save_CFLAGS"
   8594 fi
   8595 
   8596 found="no"
   8597 
   8598 	if test $found = "no" ; then
   8599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8601 		fi
   8602 
   8603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8605 		fi
   8606 
   8607 		CFLAGS="$CFLAGS -Wimplicit"
   8608 
   8609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8610 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8611 		cacheid=xorg_cv_cc_flag__Wimplicit
   8612 		if eval \${$cacheid+:} false; then :
   8613   $as_echo_n "(cached) " >&6
   8614 else
   8615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8616 /* end confdefs.h.  */
   8617 int i;
   8618 int
   8619 main ()
   8620 {
   8621 
   8622   ;
   8623   return 0;
   8624 }
   8625 _ACEOF
   8626 if ac_fn_c_try_link "$LINENO"; then :
   8627   eval $cacheid=yes
   8628 else
   8629   eval $cacheid=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext \
   8632     conftest$ac_exeext conftest.$ac_ext
   8633 fi
   8634 
   8635 
   8636 		CFLAGS="$xorg_testset_save_CFLAGS"
   8637 
   8638 		eval supported=\$$cacheid
   8639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8640 $as_echo "$supported" >&6; }
   8641 		if test "$supported" = "yes" ; then
   8642 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8643 			found="yes"
   8644 		fi
   8645 	fi
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 xorg_testset_save_CFLAGS="$CFLAGS"
   8662 
   8663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8668   $as_echo_n "(cached) " >&6
   8669 else
   8670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8671 /* end confdefs.h.  */
   8672 int i;
   8673 _ACEOF
   8674 if ac_fn_c_try_compile "$LINENO"; then :
   8675   xorg_cv_cc_flag_unknown_warning_option=yes
   8676 else
   8677   xorg_cv_cc_flag_unknown_warning_option=no
   8678 fi
   8679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8680 fi
   8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8684 	CFLAGS="$xorg_testset_save_CFLAGS"
   8685 fi
   8686 
   8687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8690 	fi
   8691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8695   $as_echo_n "(cached) " >&6
   8696 else
   8697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8698 /* end confdefs.h.  */
   8699 int i;
   8700 _ACEOF
   8701 if ac_fn_c_try_compile "$LINENO"; then :
   8702   xorg_cv_cc_flag_unused_command_line_argument=yes
   8703 else
   8704   xorg_cv_cc_flag_unused_command_line_argument=no
   8705 fi
   8706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8707 fi
   8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8711 	CFLAGS="$xorg_testset_save_CFLAGS"
   8712 fi
   8713 
   8714 found="no"
   8715 
   8716 	if test $found = "no" ; then
   8717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 		fi
   8720 
   8721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8723 		fi
   8724 
   8725 		CFLAGS="$CFLAGS -Wnonnull"
   8726 
   8727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8728 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8729 		cacheid=xorg_cv_cc_flag__Wnonnull
   8730 		if eval \${$cacheid+:} false; then :
   8731   $as_echo_n "(cached) " >&6
   8732 else
   8733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8734 /* end confdefs.h.  */
   8735 int i;
   8736 int
   8737 main ()
   8738 {
   8739 
   8740   ;
   8741   return 0;
   8742 }
   8743 _ACEOF
   8744 if ac_fn_c_try_link "$LINENO"; then :
   8745   eval $cacheid=yes
   8746 else
   8747   eval $cacheid=no
   8748 fi
   8749 rm -f core conftest.err conftest.$ac_objext \
   8750     conftest$ac_exeext conftest.$ac_ext
   8751 fi
   8752 
   8753 
   8754 		CFLAGS="$xorg_testset_save_CFLAGS"
   8755 
   8756 		eval supported=\$$cacheid
   8757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8758 $as_echo "$supported" >&6; }
   8759 		if test "$supported" = "yes" ; then
   8760 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8761 			found="yes"
   8762 		fi
   8763 	fi
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 xorg_testset_save_CFLAGS="$CFLAGS"
   8780 
   8781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8785 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8786   $as_echo_n "(cached) " >&6
   8787 else
   8788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8789 /* end confdefs.h.  */
   8790 int i;
   8791 _ACEOF
   8792 if ac_fn_c_try_compile "$LINENO"; then :
   8793   xorg_cv_cc_flag_unknown_warning_option=yes
   8794 else
   8795   xorg_cv_cc_flag_unknown_warning_option=no
   8796 fi
   8797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8798 fi
   8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8800 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8802 	CFLAGS="$xorg_testset_save_CFLAGS"
   8803 fi
   8804 
   8805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8808 	fi
   8809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8811 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8812 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8813   $as_echo_n "(cached) " >&6
   8814 else
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 int i;
   8818 _ACEOF
   8819 if ac_fn_c_try_compile "$LINENO"; then :
   8820   xorg_cv_cc_flag_unused_command_line_argument=yes
   8821 else
   8822   xorg_cv_cc_flag_unused_command_line_argument=no
   8823 fi
   8824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8825 fi
   8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8827 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8829 	CFLAGS="$xorg_testset_save_CFLAGS"
   8830 fi
   8831 
   8832 found="no"
   8833 
   8834 	if test $found = "no" ; then
   8835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8837 		fi
   8838 
   8839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8841 		fi
   8842 
   8843 		CFLAGS="$CFLAGS -Winit-self"
   8844 
   8845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8846 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8847 		cacheid=xorg_cv_cc_flag__Winit_self
   8848 		if eval \${$cacheid+:} false; then :
   8849   $as_echo_n "(cached) " >&6
   8850 else
   8851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8852 /* end confdefs.h.  */
   8853 int i;
   8854 int
   8855 main ()
   8856 {
   8857 
   8858   ;
   8859   return 0;
   8860 }
   8861 _ACEOF
   8862 if ac_fn_c_try_link "$LINENO"; then :
   8863   eval $cacheid=yes
   8864 else
   8865   eval $cacheid=no
   8866 fi
   8867 rm -f core conftest.err conftest.$ac_objext \
   8868     conftest$ac_exeext conftest.$ac_ext
   8869 fi
   8870 
   8871 
   8872 		CFLAGS="$xorg_testset_save_CFLAGS"
   8873 
   8874 		eval supported=\$$cacheid
   8875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8876 $as_echo "$supported" >&6; }
   8877 		if test "$supported" = "yes" ; then
   8878 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8879 			found="yes"
   8880 		fi
   8881 	fi
   8882 
   8883 
   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 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8902 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8903 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8904   $as_echo_n "(cached) " >&6
   8905 else
   8906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8907 /* end confdefs.h.  */
   8908 int i;
   8909 _ACEOF
   8910 if ac_fn_c_try_compile "$LINENO"; then :
   8911   xorg_cv_cc_flag_unknown_warning_option=yes
   8912 else
   8913   xorg_cv_cc_flag_unknown_warning_option=no
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8916 fi
   8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8918 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8920 	CFLAGS="$xorg_testset_save_CFLAGS"
   8921 fi
   8922 
   8923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8926 	fi
   8927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8929 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8930 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8931   $as_echo_n "(cached) " >&6
   8932 else
   8933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8934 /* end confdefs.h.  */
   8935 int i;
   8936 _ACEOF
   8937 if ac_fn_c_try_compile "$LINENO"; then :
   8938   xorg_cv_cc_flag_unused_command_line_argument=yes
   8939 else
   8940   xorg_cv_cc_flag_unused_command_line_argument=no
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8943 fi
   8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8945 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8947 	CFLAGS="$xorg_testset_save_CFLAGS"
   8948 fi
   8949 
   8950 found="no"
   8951 
   8952 	if test $found = "no" ; then
   8953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8955 		fi
   8956 
   8957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8959 		fi
   8960 
   8961 		CFLAGS="$CFLAGS -Wmain"
   8962 
   8963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8964 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8965 		cacheid=xorg_cv_cc_flag__Wmain
   8966 		if eval \${$cacheid+:} false; then :
   8967   $as_echo_n "(cached) " >&6
   8968 else
   8969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8970 /* end confdefs.h.  */
   8971 int i;
   8972 int
   8973 main ()
   8974 {
   8975 
   8976   ;
   8977   return 0;
   8978 }
   8979 _ACEOF
   8980 if ac_fn_c_try_link "$LINENO"; then :
   8981   eval $cacheid=yes
   8982 else
   8983   eval $cacheid=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext \
   8986     conftest$ac_exeext conftest.$ac_ext
   8987 fi
   8988 
   8989 
   8990 		CFLAGS="$xorg_testset_save_CFLAGS"
   8991 
   8992 		eval supported=\$$cacheid
   8993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8994 $as_echo "$supported" >&6; }
   8995 		if test "$supported" = "yes" ; then
   8996 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8997 			found="yes"
   8998 		fi
   8999 	fi
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 xorg_testset_save_CFLAGS="$CFLAGS"
   9016 
   9017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9020 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9021 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9022   $as_echo_n "(cached) " >&6
   9023 else
   9024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9025 /* end confdefs.h.  */
   9026 int i;
   9027 _ACEOF
   9028 if ac_fn_c_try_compile "$LINENO"; then :
   9029   xorg_cv_cc_flag_unknown_warning_option=yes
   9030 else
   9031   xorg_cv_cc_flag_unknown_warning_option=no
   9032 fi
   9033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9034 fi
   9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9036 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9038 	CFLAGS="$xorg_testset_save_CFLAGS"
   9039 fi
   9040 
   9041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9044 	fi
   9045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9047 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9048 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9049   $as_echo_n "(cached) " >&6
   9050 else
   9051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 _ACEOF
   9055 if ac_fn_c_try_compile "$LINENO"; then :
   9056   xorg_cv_cc_flag_unused_command_line_argument=yes
   9057 else
   9058   xorg_cv_cc_flag_unused_command_line_argument=no
   9059 fi
   9060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9061 fi
   9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9063 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9065 	CFLAGS="$xorg_testset_save_CFLAGS"
   9066 fi
   9067 
   9068 found="no"
   9069 
   9070 	if test $found = "no" ; then
   9071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9073 		fi
   9074 
   9075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9077 		fi
   9078 
   9079 		CFLAGS="$CFLAGS -Wmissing-braces"
   9080 
   9081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9082 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9083 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9084 		if eval \${$cacheid+:} false; then :
   9085   $as_echo_n "(cached) " >&6
   9086 else
   9087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9088 /* end confdefs.h.  */
   9089 int i;
   9090 int
   9091 main ()
   9092 {
   9093 
   9094   ;
   9095   return 0;
   9096 }
   9097 _ACEOF
   9098 if ac_fn_c_try_link "$LINENO"; then :
   9099   eval $cacheid=yes
   9100 else
   9101   eval $cacheid=no
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext \
   9104     conftest$ac_exeext conftest.$ac_ext
   9105 fi
   9106 
   9107 
   9108 		CFLAGS="$xorg_testset_save_CFLAGS"
   9109 
   9110 		eval supported=\$$cacheid
   9111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9112 $as_echo "$supported" >&6; }
   9113 		if test "$supported" = "yes" ; then
   9114 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9115 			found="yes"
   9116 		fi
   9117 	fi
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 xorg_testset_save_CFLAGS="$CFLAGS"
   9134 
   9135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9140   $as_echo_n "(cached) " >&6
   9141 else
   9142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9143 /* end confdefs.h.  */
   9144 int i;
   9145 _ACEOF
   9146 if ac_fn_c_try_compile "$LINENO"; then :
   9147   xorg_cv_cc_flag_unknown_warning_option=yes
   9148 else
   9149   xorg_cv_cc_flag_unknown_warning_option=no
   9150 fi
   9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9152 fi
   9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9156 	CFLAGS="$xorg_testset_save_CFLAGS"
   9157 fi
   9158 
   9159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9162 	fi
   9163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9167   $as_echo_n "(cached) " >&6
   9168 else
   9169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9170 /* end confdefs.h.  */
   9171 int i;
   9172 _ACEOF
   9173 if ac_fn_c_try_compile "$LINENO"; then :
   9174   xorg_cv_cc_flag_unused_command_line_argument=yes
   9175 else
   9176   xorg_cv_cc_flag_unused_command_line_argument=no
   9177 fi
   9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9179 fi
   9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9183 	CFLAGS="$xorg_testset_save_CFLAGS"
   9184 fi
   9185 
   9186 found="no"
   9187 
   9188 	if test $found = "no" ; then
   9189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9191 		fi
   9192 
   9193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9195 		fi
   9196 
   9197 		CFLAGS="$CFLAGS -Wsequence-point"
   9198 
   9199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9200 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9201 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9202 		if eval \${$cacheid+:} false; then :
   9203   $as_echo_n "(cached) " >&6
   9204 else
   9205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9206 /* end confdefs.h.  */
   9207 int i;
   9208 int
   9209 main ()
   9210 {
   9211 
   9212   ;
   9213   return 0;
   9214 }
   9215 _ACEOF
   9216 if ac_fn_c_try_link "$LINENO"; then :
   9217   eval $cacheid=yes
   9218 else
   9219   eval $cacheid=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext \
   9222     conftest$ac_exeext conftest.$ac_ext
   9223 fi
   9224 
   9225 
   9226 		CFLAGS="$xorg_testset_save_CFLAGS"
   9227 
   9228 		eval supported=\$$cacheid
   9229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9230 $as_echo "$supported" >&6; }
   9231 		if test "$supported" = "yes" ; then
   9232 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9233 			found="yes"
   9234 		fi
   9235 	fi
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 xorg_testset_save_CFLAGS="$CFLAGS"
   9252 
   9253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9256 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9257 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9258   $as_echo_n "(cached) " >&6
   9259 else
   9260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9261 /* end confdefs.h.  */
   9262 int i;
   9263 _ACEOF
   9264 if ac_fn_c_try_compile "$LINENO"; then :
   9265   xorg_cv_cc_flag_unknown_warning_option=yes
   9266 else
   9267   xorg_cv_cc_flag_unknown_warning_option=no
   9268 fi
   9269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9270 fi
   9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9272 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9274 	CFLAGS="$xorg_testset_save_CFLAGS"
   9275 fi
   9276 
   9277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9280 	fi
   9281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9283 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9284 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9285   $as_echo_n "(cached) " >&6
   9286 else
   9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 _ACEOF
   9291 if ac_fn_c_try_compile "$LINENO"; then :
   9292   xorg_cv_cc_flag_unused_command_line_argument=yes
   9293 else
   9294   xorg_cv_cc_flag_unused_command_line_argument=no
   9295 fi
   9296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9297 fi
   9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9299 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9301 	CFLAGS="$xorg_testset_save_CFLAGS"
   9302 fi
   9303 
   9304 found="no"
   9305 
   9306 	if test $found = "no" ; then
   9307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9309 		fi
   9310 
   9311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9313 		fi
   9314 
   9315 		CFLAGS="$CFLAGS -Wreturn-type"
   9316 
   9317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9318 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9319 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9320 		if eval \${$cacheid+:} false; then :
   9321   $as_echo_n "(cached) " >&6
   9322 else
   9323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9324 /* end confdefs.h.  */
   9325 int i;
   9326 int
   9327 main ()
   9328 {
   9329 
   9330   ;
   9331   return 0;
   9332 }
   9333 _ACEOF
   9334 if ac_fn_c_try_link "$LINENO"; then :
   9335   eval $cacheid=yes
   9336 else
   9337   eval $cacheid=no
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext \
   9340     conftest$ac_exeext conftest.$ac_ext
   9341 fi
   9342 
   9343 
   9344 		CFLAGS="$xorg_testset_save_CFLAGS"
   9345 
   9346 		eval supported=\$$cacheid
   9347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9348 $as_echo "$supported" >&6; }
   9349 		if test "$supported" = "yes" ; then
   9350 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9351 			found="yes"
   9352 		fi
   9353 	fi
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 xorg_testset_save_CFLAGS="$CFLAGS"
   9370 
   9371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9376   $as_echo_n "(cached) " >&6
   9377 else
   9378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9379 /* end confdefs.h.  */
   9380 int i;
   9381 _ACEOF
   9382 if ac_fn_c_try_compile "$LINENO"; then :
   9383   xorg_cv_cc_flag_unknown_warning_option=yes
   9384 else
   9385   xorg_cv_cc_flag_unknown_warning_option=no
   9386 fi
   9387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9388 fi
   9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9392 	CFLAGS="$xorg_testset_save_CFLAGS"
   9393 fi
   9394 
   9395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9398 	fi
   9399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9403   $as_echo_n "(cached) " >&6
   9404 else
   9405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9406 /* end confdefs.h.  */
   9407 int i;
   9408 _ACEOF
   9409 if ac_fn_c_try_compile "$LINENO"; then :
   9410   xorg_cv_cc_flag_unused_command_line_argument=yes
   9411 else
   9412   xorg_cv_cc_flag_unused_command_line_argument=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9415 fi
   9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9419 	CFLAGS="$xorg_testset_save_CFLAGS"
   9420 fi
   9421 
   9422 found="no"
   9423 
   9424 	if test $found = "no" ; then
   9425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9427 		fi
   9428 
   9429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9431 		fi
   9432 
   9433 		CFLAGS="$CFLAGS -Wtrigraphs"
   9434 
   9435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9436 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9437 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9438 		if eval \${$cacheid+:} false; then :
   9439   $as_echo_n "(cached) " >&6
   9440 else
   9441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9442 /* end confdefs.h.  */
   9443 int i;
   9444 int
   9445 main ()
   9446 {
   9447 
   9448   ;
   9449   return 0;
   9450 }
   9451 _ACEOF
   9452 if ac_fn_c_try_link "$LINENO"; then :
   9453   eval $cacheid=yes
   9454 else
   9455   eval $cacheid=no
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext \
   9458     conftest$ac_exeext conftest.$ac_ext
   9459 fi
   9460 
   9461 
   9462 		CFLAGS="$xorg_testset_save_CFLAGS"
   9463 
   9464 		eval supported=\$$cacheid
   9465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9466 $as_echo "$supported" >&6; }
   9467 		if test "$supported" = "yes" ; then
   9468 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9469 			found="yes"
   9470 		fi
   9471 	fi
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 xorg_testset_save_CFLAGS="$CFLAGS"
   9488 
   9489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9494   $as_echo_n "(cached) " >&6
   9495 else
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 int i;
   9499 _ACEOF
   9500 if ac_fn_c_try_compile "$LINENO"; then :
   9501   xorg_cv_cc_flag_unknown_warning_option=yes
   9502 else
   9503   xorg_cv_cc_flag_unknown_warning_option=no
   9504 fi
   9505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9506 fi
   9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9510 	CFLAGS="$xorg_testset_save_CFLAGS"
   9511 fi
   9512 
   9513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 	fi
   9517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9521   $as_echo_n "(cached) " >&6
   9522 else
   9523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9524 /* end confdefs.h.  */
   9525 int i;
   9526 _ACEOF
   9527 if ac_fn_c_try_compile "$LINENO"; then :
   9528   xorg_cv_cc_flag_unused_command_line_argument=yes
   9529 else
   9530   xorg_cv_cc_flag_unused_command_line_argument=no
   9531 fi
   9532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9533 fi
   9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9537 	CFLAGS="$xorg_testset_save_CFLAGS"
   9538 fi
   9539 
   9540 found="no"
   9541 
   9542 	if test $found = "no" ; then
   9543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9545 		fi
   9546 
   9547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9549 		fi
   9550 
   9551 		CFLAGS="$CFLAGS -Warray-bounds"
   9552 
   9553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9554 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9555 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9556 		if eval \${$cacheid+:} false; then :
   9557   $as_echo_n "(cached) " >&6
   9558 else
   9559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9560 /* end confdefs.h.  */
   9561 int i;
   9562 int
   9563 main ()
   9564 {
   9565 
   9566   ;
   9567   return 0;
   9568 }
   9569 _ACEOF
   9570 if ac_fn_c_try_link "$LINENO"; then :
   9571   eval $cacheid=yes
   9572 else
   9573   eval $cacheid=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext \
   9576     conftest$ac_exeext conftest.$ac_ext
   9577 fi
   9578 
   9579 
   9580 		CFLAGS="$xorg_testset_save_CFLAGS"
   9581 
   9582 		eval supported=\$$cacheid
   9583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9584 $as_echo "$supported" >&6; }
   9585 		if test "$supported" = "yes" ; then
   9586 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9587 			found="yes"
   9588 		fi
   9589 	fi
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 xorg_testset_save_CFLAGS="$CFLAGS"
   9606 
   9607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9612   $as_echo_n "(cached) " >&6
   9613 else
   9614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9615 /* end confdefs.h.  */
   9616 int i;
   9617 _ACEOF
   9618 if ac_fn_c_try_compile "$LINENO"; then :
   9619   xorg_cv_cc_flag_unknown_warning_option=yes
   9620 else
   9621   xorg_cv_cc_flag_unknown_warning_option=no
   9622 fi
   9623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9624 fi
   9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9628 	CFLAGS="$xorg_testset_save_CFLAGS"
   9629 fi
   9630 
   9631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9634 	fi
   9635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9639   $as_echo_n "(cached) " >&6
   9640 else
   9641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9642 /* end confdefs.h.  */
   9643 int i;
   9644 _ACEOF
   9645 if ac_fn_c_try_compile "$LINENO"; then :
   9646   xorg_cv_cc_flag_unused_command_line_argument=yes
   9647 else
   9648   xorg_cv_cc_flag_unused_command_line_argument=no
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9651 fi
   9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9655 	CFLAGS="$xorg_testset_save_CFLAGS"
   9656 fi
   9657 
   9658 found="no"
   9659 
   9660 	if test $found = "no" ; then
   9661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9663 		fi
   9664 
   9665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9667 		fi
   9668 
   9669 		CFLAGS="$CFLAGS -Wwrite-strings"
   9670 
   9671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9672 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9673 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9674 		if eval \${$cacheid+:} false; then :
   9675   $as_echo_n "(cached) " >&6
   9676 else
   9677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9678 /* end confdefs.h.  */
   9679 int i;
   9680 int
   9681 main ()
   9682 {
   9683 
   9684   ;
   9685   return 0;
   9686 }
   9687 _ACEOF
   9688 if ac_fn_c_try_link "$LINENO"; then :
   9689   eval $cacheid=yes
   9690 else
   9691   eval $cacheid=no
   9692 fi
   9693 rm -f core conftest.err conftest.$ac_objext \
   9694     conftest$ac_exeext conftest.$ac_ext
   9695 fi
   9696 
   9697 
   9698 		CFLAGS="$xorg_testset_save_CFLAGS"
   9699 
   9700 		eval supported=\$$cacheid
   9701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9702 $as_echo "$supported" >&6; }
   9703 		if test "$supported" = "yes" ; then
   9704 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9705 			found="yes"
   9706 		fi
   9707 	fi
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 xorg_testset_save_CFLAGS="$CFLAGS"
   9724 
   9725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9730   $as_echo_n "(cached) " >&6
   9731 else
   9732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9733 /* end confdefs.h.  */
   9734 int i;
   9735 _ACEOF
   9736 if ac_fn_c_try_compile "$LINENO"; then :
   9737   xorg_cv_cc_flag_unknown_warning_option=yes
   9738 else
   9739   xorg_cv_cc_flag_unknown_warning_option=no
   9740 fi
   9741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9742 fi
   9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9746 	CFLAGS="$xorg_testset_save_CFLAGS"
   9747 fi
   9748 
   9749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9752 	fi
   9753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 int i;
   9762 _ACEOF
   9763 if ac_fn_c_try_compile "$LINENO"; then :
   9764   xorg_cv_cc_flag_unused_command_line_argument=yes
   9765 else
   9766   xorg_cv_cc_flag_unused_command_line_argument=no
   9767 fi
   9768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9769 fi
   9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9773 	CFLAGS="$xorg_testset_save_CFLAGS"
   9774 fi
   9775 
   9776 found="no"
   9777 
   9778 	if test $found = "no" ; then
   9779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9781 		fi
   9782 
   9783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9785 		fi
   9786 
   9787 		CFLAGS="$CFLAGS -Waddress"
   9788 
   9789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9790 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9791 		cacheid=xorg_cv_cc_flag__Waddress
   9792 		if eval \${$cacheid+:} false; then :
   9793   $as_echo_n "(cached) " >&6
   9794 else
   9795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9796 /* end confdefs.h.  */
   9797 int i;
   9798 int
   9799 main ()
   9800 {
   9801 
   9802   ;
   9803   return 0;
   9804 }
   9805 _ACEOF
   9806 if ac_fn_c_try_link "$LINENO"; then :
   9807   eval $cacheid=yes
   9808 else
   9809   eval $cacheid=no
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext \
   9812     conftest$ac_exeext conftest.$ac_ext
   9813 fi
   9814 
   9815 
   9816 		CFLAGS="$xorg_testset_save_CFLAGS"
   9817 
   9818 		eval supported=\$$cacheid
   9819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9820 $as_echo "$supported" >&6; }
   9821 		if test "$supported" = "yes" ; then
   9822 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9823 			found="yes"
   9824 		fi
   9825 	fi
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 xorg_testset_save_CFLAGS="$CFLAGS"
   9842 
   9843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9848   $as_echo_n "(cached) " >&6
   9849 else
   9850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9851 /* end confdefs.h.  */
   9852 int i;
   9853 _ACEOF
   9854 if ac_fn_c_try_compile "$LINENO"; then :
   9855   xorg_cv_cc_flag_unknown_warning_option=yes
   9856 else
   9857   xorg_cv_cc_flag_unknown_warning_option=no
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9860 fi
   9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9864 	CFLAGS="$xorg_testset_save_CFLAGS"
   9865 fi
   9866 
   9867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 	fi
   9871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9875   $as_echo_n "(cached) " >&6
   9876 else
   9877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9878 /* end confdefs.h.  */
   9879 int i;
   9880 _ACEOF
   9881 if ac_fn_c_try_compile "$LINENO"; then :
   9882   xorg_cv_cc_flag_unused_command_line_argument=yes
   9883 else
   9884   xorg_cv_cc_flag_unused_command_line_argument=no
   9885 fi
   9886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9887 fi
   9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9891 	CFLAGS="$xorg_testset_save_CFLAGS"
   9892 fi
   9893 
   9894 found="no"
   9895 
   9896 	if test $found = "no" ; then
   9897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9899 		fi
   9900 
   9901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9903 		fi
   9904 
   9905 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9906 
   9907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9908 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9909 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9910 		if eval \${$cacheid+:} false; then :
   9911   $as_echo_n "(cached) " >&6
   9912 else
   9913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9914 /* end confdefs.h.  */
   9915 int i;
   9916 int
   9917 main ()
   9918 {
   9919 
   9920   ;
   9921   return 0;
   9922 }
   9923 _ACEOF
   9924 if ac_fn_c_try_link "$LINENO"; then :
   9925   eval $cacheid=yes
   9926 else
   9927   eval $cacheid=no
   9928 fi
   9929 rm -f core conftest.err conftest.$ac_objext \
   9930     conftest$ac_exeext conftest.$ac_ext
   9931 fi
   9932 
   9933 
   9934 		CFLAGS="$xorg_testset_save_CFLAGS"
   9935 
   9936 		eval supported=\$$cacheid
   9937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9938 $as_echo "$supported" >&6; }
   9939 		if test "$supported" = "yes" ; then
   9940 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9941 			found="yes"
   9942 		fi
   9943 	fi
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 xorg_testset_save_CFLAGS="$CFLAGS"
   9960 
   9961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9966   $as_echo_n "(cached) " >&6
   9967 else
   9968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9969 /* end confdefs.h.  */
   9970 int i;
   9971 _ACEOF
   9972 if ac_fn_c_try_compile "$LINENO"; then :
   9973   xorg_cv_cc_flag_unknown_warning_option=yes
   9974 else
   9975   xorg_cv_cc_flag_unknown_warning_option=no
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9978 fi
   9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9982 	CFLAGS="$xorg_testset_save_CFLAGS"
   9983 fi
   9984 
   9985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9988 	fi
   9989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9993   $as_echo_n "(cached) " >&6
   9994 else
   9995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9996 /* end confdefs.h.  */
   9997 int i;
   9998 _ACEOF
   9999 if ac_fn_c_try_compile "$LINENO"; then :
   10000   xorg_cv_cc_flag_unused_command_line_argument=yes
   10001 else
   10002   xorg_cv_cc_flag_unused_command_line_argument=no
   10003 fi
   10004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10005 fi
   10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10009 	CFLAGS="$xorg_testset_save_CFLAGS"
   10010 fi
   10011 
   10012 found="no"
   10013 
   10014 	if test $found = "no" ; then
   10015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10017 		fi
   10018 
   10019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10021 		fi
   10022 
   10023 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10024 
   10025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10026 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10027 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10028 		if eval \${$cacheid+:} false; then :
   10029   $as_echo_n "(cached) " >&6
   10030 else
   10031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10032 /* end confdefs.h.  */
   10033 int i;
   10034 int
   10035 main ()
   10036 {
   10037 
   10038   ;
   10039   return 0;
   10040 }
   10041 _ACEOF
   10042 if ac_fn_c_try_link "$LINENO"; then :
   10043   eval $cacheid=yes
   10044 else
   10045   eval $cacheid=no
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext \
   10048     conftest$ac_exeext conftest.$ac_ext
   10049 fi
   10050 
   10051 
   10052 		CFLAGS="$xorg_testset_save_CFLAGS"
   10053 
   10054 		eval supported=\$$cacheid
   10055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10056 $as_echo "$supported" >&6; }
   10057 		if test "$supported" = "yes" ; then
   10058 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10059 			found="yes"
   10060 		fi
   10061 	fi
   10062 
   10063 
   10064 fi
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 		CWARNFLAGS="$BASE_CFLAGS"
   10073 		if  test "x$GCC" = xyes ; then
   10074 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10075 		fi
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 # Check whether --enable-strict-compilation was given.
   10085 if test "${enable_strict_compilation+set}" = set; then :
   10086   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10087 else
   10088   STRICT_COMPILE=no
   10089 fi
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 STRICT_CFLAGS=""
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 xorg_testset_save_CFLAGS="$CFLAGS"
   10111 
   10112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10116 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10117   $as_echo_n "(cached) " >&6
   10118 else
   10119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10120 /* end confdefs.h.  */
   10121 int i;
   10122 _ACEOF
   10123 if ac_fn_c_try_compile "$LINENO"; then :
   10124   xorg_cv_cc_flag_unknown_warning_option=yes
   10125 else
   10126   xorg_cv_cc_flag_unknown_warning_option=no
   10127 fi
   10128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10129 fi
   10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10131 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10133 	CFLAGS="$xorg_testset_save_CFLAGS"
   10134 fi
   10135 
   10136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 	fi
   10140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10142 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10143 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10144   $as_echo_n "(cached) " >&6
   10145 else
   10146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10147 /* end confdefs.h.  */
   10148 int i;
   10149 _ACEOF
   10150 if ac_fn_c_try_compile "$LINENO"; then :
   10151   xorg_cv_cc_flag_unused_command_line_argument=yes
   10152 else
   10153   xorg_cv_cc_flag_unused_command_line_argument=no
   10154 fi
   10155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10156 fi
   10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10158 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10160 	CFLAGS="$xorg_testset_save_CFLAGS"
   10161 fi
   10162 
   10163 found="no"
   10164 
   10165 	if test $found = "no" ; then
   10166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 		fi
   10169 
   10170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10172 		fi
   10173 
   10174 		CFLAGS="$CFLAGS -pedantic"
   10175 
   10176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10177 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10178 		cacheid=xorg_cv_cc_flag__pedantic
   10179 		if eval \${$cacheid+:} false; then :
   10180   $as_echo_n "(cached) " >&6
   10181 else
   10182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10183 /* end confdefs.h.  */
   10184 int i;
   10185 int
   10186 main ()
   10187 {
   10188 
   10189   ;
   10190   return 0;
   10191 }
   10192 _ACEOF
   10193 if ac_fn_c_try_link "$LINENO"; then :
   10194   eval $cacheid=yes
   10195 else
   10196   eval $cacheid=no
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext \
   10199     conftest$ac_exeext conftest.$ac_ext
   10200 fi
   10201 
   10202 
   10203 		CFLAGS="$xorg_testset_save_CFLAGS"
   10204 
   10205 		eval supported=\$$cacheid
   10206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10207 $as_echo "$supported" >&6; }
   10208 		if test "$supported" = "yes" ; then
   10209 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10210 			found="yes"
   10211 		fi
   10212 	fi
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 xorg_testset_save_CFLAGS="$CFLAGS"
   10229 
   10230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10233 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10234 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10235   $as_echo_n "(cached) " >&6
   10236 else
   10237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 _ACEOF
   10241 if ac_fn_c_try_compile "$LINENO"; then :
   10242   xorg_cv_cc_flag_unknown_warning_option=yes
   10243 else
   10244   xorg_cv_cc_flag_unknown_warning_option=no
   10245 fi
   10246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10247 fi
   10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10249 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10251 	CFLAGS="$xorg_testset_save_CFLAGS"
   10252 fi
   10253 
   10254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10257 	fi
   10258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10260 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10261 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10262   $as_echo_n "(cached) " >&6
   10263 else
   10264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10265 /* end confdefs.h.  */
   10266 int i;
   10267 _ACEOF
   10268 if ac_fn_c_try_compile "$LINENO"; then :
   10269   xorg_cv_cc_flag_unused_command_line_argument=yes
   10270 else
   10271   xorg_cv_cc_flag_unused_command_line_argument=no
   10272 fi
   10273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10274 fi
   10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10276 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10278 	CFLAGS="$xorg_testset_save_CFLAGS"
   10279 fi
   10280 
   10281 found="no"
   10282 
   10283 	if test $found = "no" ; then
   10284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10286 		fi
   10287 
   10288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10290 		fi
   10291 
   10292 		CFLAGS="$CFLAGS -Werror"
   10293 
   10294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10295 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10296 		cacheid=xorg_cv_cc_flag__Werror
   10297 		if eval \${$cacheid+:} false; then :
   10298   $as_echo_n "(cached) " >&6
   10299 else
   10300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 int i;
   10303 int
   10304 main ()
   10305 {
   10306 
   10307   ;
   10308   return 0;
   10309 }
   10310 _ACEOF
   10311 if ac_fn_c_try_link "$LINENO"; then :
   10312   eval $cacheid=yes
   10313 else
   10314   eval $cacheid=no
   10315 fi
   10316 rm -f core conftest.err conftest.$ac_objext \
   10317     conftest$ac_exeext conftest.$ac_ext
   10318 fi
   10319 
   10320 
   10321 		CFLAGS="$xorg_testset_save_CFLAGS"
   10322 
   10323 		eval supported=\$$cacheid
   10324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10325 $as_echo "$supported" >&6; }
   10326 		if test "$supported" = "yes" ; then
   10327 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10328 			found="yes"
   10329 		fi
   10330 	fi
   10331 
   10332 	if test $found = "no" ; then
   10333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10335 		fi
   10336 
   10337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10339 		fi
   10340 
   10341 		CFLAGS="$CFLAGS -errwarn"
   10342 
   10343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10344 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10345 		cacheid=xorg_cv_cc_flag__errwarn
   10346 		if eval \${$cacheid+:} false; then :
   10347   $as_echo_n "(cached) " >&6
   10348 else
   10349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10350 /* end confdefs.h.  */
   10351 int i;
   10352 int
   10353 main ()
   10354 {
   10355 
   10356   ;
   10357   return 0;
   10358 }
   10359 _ACEOF
   10360 if ac_fn_c_try_link "$LINENO"; then :
   10361   eval $cacheid=yes
   10362 else
   10363   eval $cacheid=no
   10364 fi
   10365 rm -f core conftest.err conftest.$ac_objext \
   10366     conftest$ac_exeext conftest.$ac_ext
   10367 fi
   10368 
   10369 
   10370 		CFLAGS="$xorg_testset_save_CFLAGS"
   10371 
   10372 		eval supported=\$$cacheid
   10373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10374 $as_echo "$supported" >&6; }
   10375 		if test "$supported" = "yes" ; then
   10376 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10377 			found="yes"
   10378 		fi
   10379 	fi
   10380 
   10381 
   10382 
   10383 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10384 # activate it with -Werror, so we add it here explicitly.
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 xorg_testset_save_CFLAGS="$CFLAGS"
   10399 
   10400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10405   $as_echo_n "(cached) " >&6
   10406 else
   10407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 _ACEOF
   10411 if ac_fn_c_try_compile "$LINENO"; then :
   10412   xorg_cv_cc_flag_unknown_warning_option=yes
   10413 else
   10414   xorg_cv_cc_flag_unknown_warning_option=no
   10415 fi
   10416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10417 fi
   10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10421 	CFLAGS="$xorg_testset_save_CFLAGS"
   10422 fi
   10423 
   10424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10427 	fi
   10428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10432   $as_echo_n "(cached) " >&6
   10433 else
   10434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10435 /* end confdefs.h.  */
   10436 int i;
   10437 _ACEOF
   10438 if ac_fn_c_try_compile "$LINENO"; then :
   10439   xorg_cv_cc_flag_unused_command_line_argument=yes
   10440 else
   10441   xorg_cv_cc_flag_unused_command_line_argument=no
   10442 fi
   10443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10444 fi
   10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10448 	CFLAGS="$xorg_testset_save_CFLAGS"
   10449 fi
   10450 
   10451 found="no"
   10452 
   10453 	if test $found = "no" ; then
   10454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10456 		fi
   10457 
   10458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10460 		fi
   10461 
   10462 		CFLAGS="$CFLAGS -Werror=attributes"
   10463 
   10464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10465 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10466 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10467 		if eval \${$cacheid+:} false; then :
   10468   $as_echo_n "(cached) " >&6
   10469 else
   10470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 int i;
   10473 int
   10474 main ()
   10475 {
   10476 
   10477   ;
   10478   return 0;
   10479 }
   10480 _ACEOF
   10481 if ac_fn_c_try_link "$LINENO"; then :
   10482   eval $cacheid=yes
   10483 else
   10484   eval $cacheid=no
   10485 fi
   10486 rm -f core conftest.err conftest.$ac_objext \
   10487     conftest$ac_exeext conftest.$ac_ext
   10488 fi
   10489 
   10490 
   10491 		CFLAGS="$xorg_testset_save_CFLAGS"
   10492 
   10493 		eval supported=\$$cacheid
   10494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10495 $as_echo "$supported" >&6; }
   10496 		if test "$supported" = "yes" ; then
   10497 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10498 			found="yes"
   10499 		fi
   10500 	fi
   10501 
   10502 
   10503 
   10504 if test "x$STRICT_COMPILE" = "xyes"; then
   10505     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10506     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10507 fi
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 cat >>confdefs.h <<_ACEOF
   10515 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10516 _ACEOF
   10517 
   10518 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10519 	if test "x$PVM" = "x"; then
   10520 		PVM="0"
   10521 	fi
   10522 
   10523 cat >>confdefs.h <<_ACEOF
   10524 #define PACKAGE_VERSION_MINOR $PVM
   10525 _ACEOF
   10526 
   10527 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10528 	if test "x$PVP" = "x"; then
   10529 		PVP="0"
   10530 	fi
   10531 
   10532 cat >>confdefs.h <<_ACEOF
   10533 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10534 _ACEOF
   10535 
   10536 
   10537 
   10538 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10539 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10540 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10541 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10542 
   10543 
   10544 
   10545 
   10546 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10547 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10548 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10549 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10550 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 if test x$APP_MAN_SUFFIX = x    ; then
   10558     APP_MAN_SUFFIX=1
   10559 fi
   10560 if test x$APP_MAN_DIR = x    ; then
   10561     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10562 fi
   10563 
   10564 if test x$LIB_MAN_SUFFIX = x    ; then
   10565     LIB_MAN_SUFFIX=3
   10566 fi
   10567 if test x$LIB_MAN_DIR = x    ; then
   10568     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10569 fi
   10570 
   10571 if test x$FILE_MAN_SUFFIX = x    ; then
   10572     case $host_os in
   10573 	# Solaris 2.0 - 11 use SysV man page sections
   10574 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10575 	*)				FILE_MAN_SUFFIX=5  ;;
   10576     esac
   10577 fi
   10578 if test x$FILE_MAN_DIR = x    ; then
   10579     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10580 fi
   10581 
   10582 if test x$MISC_MAN_SUFFIX = x    ; then
   10583     case $host_os in
   10584 	# Solaris 2.0 - 11 use SysV man page sections
   10585 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10586 	*)				MISC_MAN_SUFFIX=7  ;;
   10587     esac
   10588 fi
   10589 if test x$MISC_MAN_DIR = x    ; then
   10590     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10591 fi
   10592 
   10593 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10594     case $host_os in
   10595 	# Solaris 2.0 - 11 use SysV man page sections
   10596 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10597 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10598     esac
   10599 fi
   10600 if test x$DRIVER_MAN_DIR = x    ; then
   10601     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10602 fi
   10603 
   10604 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10605     case $host_os in
   10606 	# Solaris 2.0 - 11 use SysV man page sections
   10607 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10608 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10609     esac
   10610 fi
   10611 if test x$ADMIN_MAN_DIR = x    ; then
   10612     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10613 fi
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 XORG_MAN_PAGE="X Version 11"
   10630 
   10631 MAN_SUBSTS="\
   10632 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10633 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10634 	-e 's|__xservername__|Xorg|g' \
   10635 	-e 's|__xconfigfile__|xorg.conf|g' \
   10636 	-e 's|__projectroot__|\$(prefix)|g' \
   10637 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10638 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10639 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10640 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10641 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10642 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10643 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10644 
   10645 
   10646 
   10647 # Check whether --enable-silent-rules was given.
   10648 if test "${enable_silent_rules+set}" = set; then :
   10649   enableval=$enable_silent_rules;
   10650 fi
   10651 
   10652 case $enable_silent_rules in # (((
   10653   yes) AM_DEFAULT_VERBOSITY=0;;
   10654    no) AM_DEFAULT_VERBOSITY=1;;
   10655     *) AM_DEFAULT_VERBOSITY=0;;
   10656 esac
   10657 am_make=${MAKE-make}
   10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10659 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10660 if ${am_cv_make_support_nested_variables+:} false; then :
   10661   $as_echo_n "(cached) " >&6
   10662 else
   10663   if $as_echo 'TRUE=$(BAR$(V))
   10664 BAR0=false
   10665 BAR1=true
   10666 V=1
   10667 am__doit:
   10668 	@$(TRUE)
   10669 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10670   am_cv_make_support_nested_variables=yes
   10671 else
   10672   am_cv_make_support_nested_variables=no
   10673 fi
   10674 fi
   10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10676 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10677 if test $am_cv_make_support_nested_variables = yes; then
   10678     AM_V='$(V)'
   10679   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10680 else
   10681   AM_V=$AM_DEFAULT_VERBOSITY
   10682   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10683 fi
   10684 AM_BACKSLASH='\'
   10685 
   10686 
   10687 
   10688 for ac_func in strlcpy
   10689 do :
   10690   ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   10691 if test "x$ac_cv_func_strlcpy" = xyes; then :
   10692   cat >>confdefs.h <<_ACEOF
   10693 #define HAVE_STRLCPY 1
   10694 _ACEOF
   10695 
   10696 fi
   10697 done
   10698 
   10699 
   10700 # Checks for pkg-config packages
   10701 
   10702 pkg_failed=no
   10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCALC" >&5
   10704 $as_echo_n "checking for XCALC... " >&6; }
   10705 
   10706 if test -n "$XCALC_CFLAGS"; then
   10707     pkg_cv_XCALC_CFLAGS="$XCALC_CFLAGS"
   10708  elif test -n "$PKG_CONFIG"; then
   10709     if test -n "$PKG_CONFIG" && \
   10710     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   10711   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   10712   ac_status=$?
   10713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10714   test $ac_status = 0; }; then
   10715   pkg_cv_XCALC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   10716 		      test "x$?" != "x0" && pkg_failed=yes
   10717 else
   10718   pkg_failed=yes
   10719 fi
   10720  else
   10721     pkg_failed=untried
   10722 fi
   10723 if test -n "$XCALC_LIBS"; then
   10724     pkg_cv_XCALC_LIBS="$XCALC_LIBS"
   10725  elif test -n "$PKG_CONFIG"; then
   10726     if test -n "$PKG_CONFIG" && \
   10727     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt x11 xproto >= 7.0.17\""; } >&5
   10728   ($PKG_CONFIG --exists --print-errors "xaw7 xt x11 xproto >= 7.0.17") 2>&5
   10729   ac_status=$?
   10730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10731   test $ac_status = 0; }; then
   10732   pkg_cv_XCALC_LIBS=`$PKG_CONFIG --libs "xaw7 xt x11 xproto >= 7.0.17" 2>/dev/null`
   10733 		      test "x$?" != "x0" && pkg_failed=yes
   10734 else
   10735   pkg_failed=yes
   10736 fi
   10737  else
   10738     pkg_failed=untried
   10739 fi
   10740 
   10741 
   10742 
   10743 if test $pkg_failed = yes; then
   10744    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10745 $as_echo "no" >&6; }
   10746 
   10747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10748         _pkg_short_errors_supported=yes
   10749 else
   10750         _pkg_short_errors_supported=no
   10751 fi
   10752         if test $_pkg_short_errors_supported = yes; then
   10753 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   10754         else
   10755 	        XCALC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt x11 xproto >= 7.0.17" 2>&1`
   10756         fi
   10757 	# Put the nasty error message in config.log where it belongs
   10758 	echo "$XCALC_PKG_ERRORS" >&5
   10759 
   10760 	as_fn_error $? "Package requirements (xaw7 xt x11 xproto >= 7.0.17) were not met:
   10761 
   10762 $XCALC_PKG_ERRORS
   10763 
   10764 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10765 installed software in a non-standard prefix.
   10766 
   10767 Alternatively, you may set the environment variables XCALC_CFLAGS
   10768 and XCALC_LIBS to avoid the need to call pkg-config.
   10769 See the pkg-config man page for more details." "$LINENO" 5
   10770 elif test $pkg_failed = untried; then
   10771      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10772 $as_echo "no" >&6; }
   10773 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10775 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10776 is in your PATH or set the PKG_CONFIG environment variable to the full
   10777 path to pkg-config.
   10778 
   10779 Alternatively, you may set the environment variables XCALC_CFLAGS
   10780 and XCALC_LIBS to avoid the need to call pkg-config.
   10781 See the pkg-config man page for more details.
   10782 
   10783 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10784 See \`config.log' for more details" "$LINENO" 5; }
   10785 else
   10786 	XCALC_CFLAGS=$pkg_cv_XCALC_CFLAGS
   10787 	XCALC_LIBS=$pkg_cv_XCALC_LIBS
   10788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10789 $as_echo "yes" >&6; }
   10790 
   10791 fi
   10792 
   10793 
   10794 pkg_failed=no
   10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10796 $as_echo_n "checking for APPDEFS... " >&6; }
   10797 
   10798 if test -n "$APPDEFS_CFLAGS"; then
   10799     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10800  elif test -n "$PKG_CONFIG"; then
   10801     if test -n "$PKG_CONFIG" && \
   10802     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10803   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10804   ac_status=$?
   10805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10806   test $ac_status = 0; }; then
   10807   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10808 		      test "x$?" != "x0" && pkg_failed=yes
   10809 else
   10810   pkg_failed=yes
   10811 fi
   10812  else
   10813     pkg_failed=untried
   10814 fi
   10815 if test -n "$APPDEFS_LIBS"; then
   10816     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10817  elif test -n "$PKG_CONFIG"; then
   10818     if test -n "$PKG_CONFIG" && \
   10819     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10820   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10821   ac_status=$?
   10822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10823   test $ac_status = 0; }; then
   10824   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10825 		      test "x$?" != "x0" && pkg_failed=yes
   10826 else
   10827   pkg_failed=yes
   10828 fi
   10829  else
   10830     pkg_failed=untried
   10831 fi
   10832 
   10833 
   10834 
   10835 if test $pkg_failed = yes; then
   10836    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10837 $as_echo "no" >&6; }
   10838 
   10839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10840         _pkg_short_errors_supported=yes
   10841 else
   10842         _pkg_short_errors_supported=no
   10843 fi
   10844         if test $_pkg_short_errors_supported = yes; then
   10845 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   10846         else
   10847 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   10848         fi
   10849 	# Put the nasty error message in config.log where it belongs
   10850 	echo "$APPDEFS_PKG_ERRORS" >&5
   10851 
   10852 	as_fn_error $? "Package requirements (xt) were not met:
   10853 
   10854 $APPDEFS_PKG_ERRORS
   10855 
   10856 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10857 installed software in a non-standard prefix.
   10858 
   10859 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10860 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10861 See the pkg-config man page for more details." "$LINENO" 5
   10862 elif test $pkg_failed = untried; then
   10863      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10864 $as_echo "no" >&6; }
   10865 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10867 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10868 is in your PATH or set the PKG_CONFIG environment variable to the full
   10869 path to pkg-config.
   10870 
   10871 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10872 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10873 See the pkg-config man page for more details.
   10874 
   10875 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10876 See \`config.log' for more details" "$LINENO" 5; }
   10877 else
   10878 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10879 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10880         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10881 $as_echo "yes" >&6; }
   10882 
   10883 fi
   10884 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10885 
   10886 # Check whether --with-appdefaultdir was given.
   10887 if test "${with_appdefaultdir+set}" = set; then :
   10888   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10889 else
   10890   appdefaultdir="${xt_appdefaultdir}"
   10891 fi
   10892 
   10893 
   10894 
   10895 
   10896 ac_config_files="$ac_config_files Makefile man/Makefile"
   10897 
   10898 cat >confcache <<\_ACEOF
   10899 # This file is a shell script that caches the results of configure
   10900 # tests run on this system so they can be shared between configure
   10901 # scripts and configure runs, see configure's option --config-cache.
   10902 # It is not useful on other systems.  If it contains results you don't
   10903 # want to keep, you may remove or edit it.
   10904 #
   10905 # config.status only pays attention to the cache file if you give it
   10906 # the --recheck option to rerun configure.
   10907 #
   10908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10910 # following values.
   10911 
   10912 _ACEOF
   10913 
   10914 # The following way of writing the cache mishandles newlines in values,
   10915 # but we know of no workaround that is simple, portable, and efficient.
   10916 # So, we kill variables containing newlines.
   10917 # Ultrix sh set writes to stderr and can't be redirected directly,
   10918 # and sets the high bit in the cache file unless we assign to the vars.
   10919 (
   10920   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10921     eval ac_val=\$$ac_var
   10922     case $ac_val in #(
   10923     *${as_nl}*)
   10924       case $ac_var in #(
   10925       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10927       esac
   10928       case $ac_var in #(
   10929       _ | IFS | as_nl) ;; #(
   10930       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10931       *) { eval $ac_var=; unset $ac_var;} ;;
   10932       esac ;;
   10933     esac
   10934   done
   10935 
   10936   (set) 2>&1 |
   10937     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10938     *${as_nl}ac_space=\ *)
   10939       # `set' does not quote correctly, so add quotes: double-quote
   10940       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10941       sed -n \
   10942 	"s/'/'\\\\''/g;
   10943 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10944       ;; #(
   10945     *)
   10946       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10947       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10948       ;;
   10949     esac |
   10950     sort
   10951 ) |
   10952   sed '
   10953      /^ac_cv_env_/b end
   10954      t clear
   10955      :clear
   10956      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10957      t end
   10958      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10959      :end' >>confcache
   10960 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10961   if test -w "$cache_file"; then
   10962     if test "x$cache_file" != "x/dev/null"; then
   10963       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10964 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10965       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10966 	cat confcache >"$cache_file"
   10967       else
   10968         case $cache_file in #(
   10969         */* | ?:*)
   10970 	  mv -f confcache "$cache_file"$$ &&
   10971 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10972         *)
   10973 	  mv -f confcache "$cache_file" ;;
   10974 	esac
   10975       fi
   10976     fi
   10977   else
   10978     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10979 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10980   fi
   10981 fi
   10982 rm -f confcache
   10983 
   10984 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10985 # Let make expand exec_prefix.
   10986 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10987 
   10988 DEFS=-DHAVE_CONFIG_H
   10989 
   10990 ac_libobjs=
   10991 ac_ltlibobjs=
   10992 U=
   10993 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10994   # 1. Remove the extension, and $U if already installed.
   10995   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10996   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10997   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10998   #    will be set to the directory where LIBOBJS objects are built.
   10999   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11000   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11001 done
   11002 LIBOBJS=$ac_libobjs
   11003 
   11004 LTLIBOBJS=$ac_ltlibobjs
   11005 
   11006 
   11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11008 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11009    if test -n "$am_sleep_pid"; then
   11010      # Hide warnings about reused PIDs.
   11011      wait $am_sleep_pid 2>/dev/null
   11012    fi
   11013    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11014 $as_echo "done" >&6; }
   11015  if test -n "$EXEEXT"; then
   11016   am__EXEEXT_TRUE=
   11017   am__EXEEXT_FALSE='#'
   11018 else
   11019   am__EXEEXT_TRUE='#'
   11020   am__EXEEXT_FALSE=
   11021 fi
   11022 
   11023 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11024   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11026 fi
   11027 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11028   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11030 fi
   11031 
   11032 : "${CONFIG_STATUS=./config.status}"
   11033 ac_write_fail=0
   11034 ac_clean_files_save=$ac_clean_files
   11035 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11037 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11038 as_write_fail=0
   11039 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11040 #! $SHELL
   11041 # Generated by $as_me.
   11042 # Run this file to recreate the current configuration.
   11043 # Compiler output produced by configure, useful for debugging
   11044 # configure, is in config.log if it exists.
   11045 
   11046 debug=false
   11047 ac_cs_recheck=false
   11048 ac_cs_silent=false
   11049 
   11050 SHELL=\${CONFIG_SHELL-$SHELL}
   11051 export SHELL
   11052 _ASEOF
   11053 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11054 ## -------------------- ##
   11055 ## M4sh Initialization. ##
   11056 ## -------------------- ##
   11057 
   11058 # Be more Bourne compatible
   11059 DUALCASE=1; export DUALCASE # for MKS sh
   11060 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11061   emulate sh
   11062   NULLCMD=:
   11063   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11064   # is contrary to our usage.  Disable this feature.
   11065   alias -g '${1+"$@"}'='"$@"'
   11066   setopt NO_GLOB_SUBST
   11067 else
   11068   case `(set -o) 2>/dev/null` in #(
   11069   *posix*) :
   11070     set -o posix ;; #(
   11071   *) :
   11072      ;;
   11073 esac
   11074 fi
   11075 
   11076 
   11077 as_nl='
   11078 '
   11079 export as_nl
   11080 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11081 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11083 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11084 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11085 # but without wasting forks for bash or zsh.
   11086 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11087     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11088   as_echo='print -r --'
   11089   as_echo_n='print -rn --'
   11090 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11091   as_echo='printf %s\n'
   11092   as_echo_n='printf %s'
   11093 else
   11094   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11095     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11096     as_echo_n='/usr/ucb/echo -n'
   11097   else
   11098     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11099     as_echo_n_body='eval
   11100       arg=$1;
   11101       case $arg in #(
   11102       *"$as_nl"*)
   11103 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11104 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11105       esac;
   11106       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11107     '
   11108     export as_echo_n_body
   11109     as_echo_n='sh -c $as_echo_n_body as_echo'
   11110   fi
   11111   export as_echo_body
   11112   as_echo='sh -c $as_echo_body as_echo'
   11113 fi
   11114 
   11115 # The user is always right.
   11116 if test "${PATH_SEPARATOR+set}" != set; then
   11117   PATH_SEPARATOR=:
   11118   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11119     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11120       PATH_SEPARATOR=';'
   11121   }
   11122 fi
   11123 
   11124 
   11125 # IFS
   11126 # We need space, tab and new line, in precisely that order.  Quoting is
   11127 # there to prevent editors from complaining about space-tab.
   11128 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11129 # splitting by setting IFS to empty value.)
   11130 IFS=" ""	$as_nl"
   11131 
   11132 # Find who we are.  Look in the path if we contain no directory separator.
   11133 as_myself=
   11134 case $0 in #((
   11135   *[\\/]* ) as_myself=$0 ;;
   11136   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11137 for as_dir in $PATH
   11138 do
   11139   IFS=$as_save_IFS
   11140   test -z "$as_dir" && as_dir=.
   11141     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11142   done
   11143 IFS=$as_save_IFS
   11144 
   11145      ;;
   11146 esac
   11147 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11148 # in which case we are not to be found in the path.
   11149 if test "x$as_myself" = x; then
   11150   as_myself=$0
   11151 fi
   11152 if test ! -f "$as_myself"; then
   11153   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11154   exit 1
   11155 fi
   11156 
   11157 # Unset variables that we do not need and which cause bugs (e.g. in
   11158 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11159 # suppresses any "Segmentation fault" message there.  '((' could
   11160 # trigger a bug in pdksh 5.2.14.
   11161 for as_var in BASH_ENV ENV MAIL MAILPATH
   11162 do eval test x\${$as_var+set} = xset \
   11163   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11164 done
   11165 PS1='$ '
   11166 PS2='> '
   11167 PS4='+ '
   11168 
   11169 # NLS nuisances.
   11170 LC_ALL=C
   11171 export LC_ALL
   11172 LANGUAGE=C
   11173 export LANGUAGE
   11174 
   11175 # CDPATH.
   11176 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11177 
   11178 
   11179 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11180 # ----------------------------------------
   11181 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11182 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11183 # script with STATUS, using 1 if that was 0.
   11184 as_fn_error ()
   11185 {
   11186   as_status=$1; test $as_status -eq 0 && as_status=1
   11187   if test "$4"; then
   11188     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11189     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11190   fi
   11191   $as_echo "$as_me: error: $2" >&2
   11192   as_fn_exit $as_status
   11193 } # as_fn_error
   11194 
   11195 
   11196 # as_fn_set_status STATUS
   11197 # -----------------------
   11198 # Set $? to STATUS, without forking.
   11199 as_fn_set_status ()
   11200 {
   11201   return $1
   11202 } # as_fn_set_status
   11203 
   11204 # as_fn_exit STATUS
   11205 # -----------------
   11206 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11207 as_fn_exit ()
   11208 {
   11209   set +e
   11210   as_fn_set_status $1
   11211   exit $1
   11212 } # as_fn_exit
   11213 
   11214 # as_fn_unset VAR
   11215 # ---------------
   11216 # Portably unset VAR.
   11217 as_fn_unset ()
   11218 {
   11219   { eval $1=; unset $1;}
   11220 }
   11221 as_unset=as_fn_unset
   11222 # as_fn_append VAR VALUE
   11223 # ----------------------
   11224 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11225 # advantage of any shell optimizations that allow amortized linear growth over
   11226 # repeated appends, instead of the typical quadratic growth present in naive
   11227 # implementations.
   11228 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11229   eval 'as_fn_append ()
   11230   {
   11231     eval $1+=\$2
   11232   }'
   11233 else
   11234   as_fn_append ()
   11235   {
   11236     eval $1=\$$1\$2
   11237   }
   11238 fi # as_fn_append
   11239 
   11240 # as_fn_arith ARG...
   11241 # ------------------
   11242 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11243 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11244 # must be portable across $(()) and expr.
   11245 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11246   eval 'as_fn_arith ()
   11247   {
   11248     as_val=$(( $* ))
   11249   }'
   11250 else
   11251   as_fn_arith ()
   11252   {
   11253     as_val=`expr "$@" || test $? -eq 1`
   11254   }
   11255 fi # as_fn_arith
   11256 
   11257 
   11258 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11259    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11260   as_expr=expr
   11261 else
   11262   as_expr=false
   11263 fi
   11264 
   11265 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11266   as_basename=basename
   11267 else
   11268   as_basename=false
   11269 fi
   11270 
   11271 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11272   as_dirname=dirname
   11273 else
   11274   as_dirname=false
   11275 fi
   11276 
   11277 as_me=`$as_basename -- "$0" ||
   11278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11279 	 X"$0" : 'X\(//\)$' \| \
   11280 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11281 $as_echo X/"$0" |
   11282     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11283 	    s//\1/
   11284 	    q
   11285 	  }
   11286 	  /^X\/\(\/\/\)$/{
   11287 	    s//\1/
   11288 	    q
   11289 	  }
   11290 	  /^X\/\(\/\).*/{
   11291 	    s//\1/
   11292 	    q
   11293 	  }
   11294 	  s/.*/./; q'`
   11295 
   11296 # Avoid depending upon Character Ranges.
   11297 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11298 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11299 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11300 as_cr_digits='0123456789'
   11301 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11302 
   11303 ECHO_C= ECHO_N= ECHO_T=
   11304 case `echo -n x` in #(((((
   11305 -n*)
   11306   case `echo 'xy\c'` in
   11307   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11308   xy)  ECHO_C='\c';;
   11309   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11310        ECHO_T='	';;
   11311   esac;;
   11312 *)
   11313   ECHO_N='-n';;
   11314 esac
   11315 
   11316 rm -f conf$$ conf$$.exe conf$$.file
   11317 if test -d conf$$.dir; then
   11318   rm -f conf$$.dir/conf$$.file
   11319 else
   11320   rm -f conf$$.dir
   11321   mkdir conf$$.dir 2>/dev/null
   11322 fi
   11323 if (echo >conf$$.file) 2>/dev/null; then
   11324   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11325     as_ln_s='ln -s'
   11326     # ... but there are two gotchas:
   11327     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11328     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11329     # In both cases, we have to default to `cp -pR'.
   11330     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11331       as_ln_s='cp -pR'
   11332   elif ln conf$$.file conf$$ 2>/dev/null; then
   11333     as_ln_s=ln
   11334   else
   11335     as_ln_s='cp -pR'
   11336   fi
   11337 else
   11338   as_ln_s='cp -pR'
   11339 fi
   11340 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11341 rmdir conf$$.dir 2>/dev/null
   11342 
   11343 
   11344 # as_fn_mkdir_p
   11345 # -------------
   11346 # Create "$as_dir" as a directory, including parents if necessary.
   11347 as_fn_mkdir_p ()
   11348 {
   11349 
   11350   case $as_dir in #(
   11351   -*) as_dir=./$as_dir;;
   11352   esac
   11353   test -d "$as_dir" || eval $as_mkdir_p || {
   11354     as_dirs=
   11355     while :; do
   11356       case $as_dir in #(
   11357       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11358       *) as_qdir=$as_dir;;
   11359       esac
   11360       as_dirs="'$as_qdir' $as_dirs"
   11361       as_dir=`$as_dirname -- "$as_dir" ||
   11362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11363 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11364 	 X"$as_dir" : 'X\(//\)$' \| \
   11365 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11366 $as_echo X"$as_dir" |
   11367     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11368 	    s//\1/
   11369 	    q
   11370 	  }
   11371 	  /^X\(\/\/\)[^/].*/{
   11372 	    s//\1/
   11373 	    q
   11374 	  }
   11375 	  /^X\(\/\/\)$/{
   11376 	    s//\1/
   11377 	    q
   11378 	  }
   11379 	  /^X\(\/\).*/{
   11380 	    s//\1/
   11381 	    q
   11382 	  }
   11383 	  s/.*/./; q'`
   11384       test -d "$as_dir" && break
   11385     done
   11386     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11387   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11388 
   11389 
   11390 } # as_fn_mkdir_p
   11391 if mkdir -p . 2>/dev/null; then
   11392   as_mkdir_p='mkdir -p "$as_dir"'
   11393 else
   11394   test -d ./-p && rmdir ./-p
   11395   as_mkdir_p=false
   11396 fi
   11397 
   11398 
   11399 # as_fn_executable_p FILE
   11400 # -----------------------
   11401 # Test if FILE is an executable regular file.
   11402 as_fn_executable_p ()
   11403 {
   11404   test -f "$1" && test -x "$1"
   11405 } # as_fn_executable_p
   11406 as_test_x='test -x'
   11407 as_executable_p=as_fn_executable_p
   11408 
   11409 # Sed expression to map a string onto a valid CPP name.
   11410 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11411 
   11412 # Sed expression to map a string onto a valid variable name.
   11413 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11414 
   11415 
   11416 exec 6>&1
   11417 ## ----------------------------------- ##
   11418 ## Main body of $CONFIG_STATUS script. ##
   11419 ## ----------------------------------- ##
   11420 _ASEOF
   11421 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11422 
   11423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11424 # Save the log message, to keep $0 and so on meaningful, and to
   11425 # report actual input values of CONFIG_FILES etc. instead of their
   11426 # values after options handling.
   11427 ac_log="
   11428 This file was extended by xcalc $as_me 1.0.7, which was
   11429 generated by GNU Autoconf 2.69.  Invocation command line was
   11430 
   11431   CONFIG_FILES    = $CONFIG_FILES
   11432   CONFIG_HEADERS  = $CONFIG_HEADERS
   11433   CONFIG_LINKS    = $CONFIG_LINKS
   11434   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11435   $ $0 $@
   11436 
   11437 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11438 "
   11439 
   11440 _ACEOF
   11441 
   11442 case $ac_config_files in *"
   11443 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11444 esac
   11445 
   11446 case $ac_config_headers in *"
   11447 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11448 esac
   11449 
   11450 
   11451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11452 # Files that config.status was made for.
   11453 config_files="$ac_config_files"
   11454 config_headers="$ac_config_headers"
   11455 config_commands="$ac_config_commands"
   11456 
   11457 _ACEOF
   11458 
   11459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11460 ac_cs_usage="\
   11461 \`$as_me' instantiates files and other configuration actions
   11462 from templates according to the current configuration.  Unless the files
   11463 and actions are specified as TAGs, all are instantiated by default.
   11464 
   11465 Usage: $0 [OPTION]... [TAG]...
   11466 
   11467   -h, --help       print this help, then exit
   11468   -V, --version    print version number and configuration settings, then exit
   11469       --config     print configuration, then exit
   11470   -q, --quiet, --silent
   11471                    do not print progress messages
   11472   -d, --debug      don't remove temporary files
   11473       --recheck    update $as_me by reconfiguring in the same conditions
   11474       --file=FILE[:TEMPLATE]
   11475                    instantiate the configuration file FILE
   11476       --header=FILE[:TEMPLATE]
   11477                    instantiate the configuration header FILE
   11478 
   11479 Configuration files:
   11480 $config_files
   11481 
   11482 Configuration headers:
   11483 $config_headers
   11484 
   11485 Configuration commands:
   11486 $config_commands
   11487 
   11488 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcalc/issues>."
   11489 
   11490 _ACEOF
   11491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11492 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11493 ac_cs_version="\\
   11494 xcalc config.status 1.0.7
   11495 configured by $0, generated by GNU Autoconf 2.69,
   11496   with options \\"\$ac_cs_config\\"
   11497 
   11498 Copyright (C) 2012 Free Software Foundation, Inc.
   11499 This config.status script is free software; the Free Software Foundation
   11500 gives unlimited permission to copy, distribute and modify it."
   11501 
   11502 ac_pwd='$ac_pwd'
   11503 srcdir='$srcdir'
   11504 INSTALL='$INSTALL'
   11505 MKDIR_P='$MKDIR_P'
   11506 AWK='$AWK'
   11507 test -n "\$AWK" || AWK=awk
   11508 _ACEOF
   11509 
   11510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11511 # The default lists apply if the user does not specify any file.
   11512 ac_need_defaults=:
   11513 while test $# != 0
   11514 do
   11515   case $1 in
   11516   --*=?*)
   11517     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11518     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11519     ac_shift=:
   11520     ;;
   11521   --*=)
   11522     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11523     ac_optarg=
   11524     ac_shift=:
   11525     ;;
   11526   *)
   11527     ac_option=$1
   11528     ac_optarg=$2
   11529     ac_shift=shift
   11530     ;;
   11531   esac
   11532 
   11533   case $ac_option in
   11534   # Handling of the options.
   11535   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11536     ac_cs_recheck=: ;;
   11537   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11538     $as_echo "$ac_cs_version"; exit ;;
   11539   --config | --confi | --conf | --con | --co | --c )
   11540     $as_echo "$ac_cs_config"; exit ;;
   11541   --debug | --debu | --deb | --de | --d | -d )
   11542     debug=: ;;
   11543   --file | --fil | --fi | --f )
   11544     $ac_shift
   11545     case $ac_optarg in
   11546     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11547     '') as_fn_error $? "missing file argument" ;;
   11548     esac
   11549     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11550     ac_need_defaults=false;;
   11551   --header | --heade | --head | --hea )
   11552     $ac_shift
   11553     case $ac_optarg in
   11554     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11555     esac
   11556     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11557     ac_need_defaults=false;;
   11558   --he | --h)
   11559     # Conflict between --help and --header
   11560     as_fn_error $? "ambiguous option: \`$1'
   11561 Try \`$0 --help' for more information.";;
   11562   --help | --hel | -h )
   11563     $as_echo "$ac_cs_usage"; exit ;;
   11564   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11565   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11566     ac_cs_silent=: ;;
   11567 
   11568   # This is an error.
   11569   -*) as_fn_error $? "unrecognized option: \`$1'
   11570 Try \`$0 --help' for more information." ;;
   11571 
   11572   *) as_fn_append ac_config_targets " $1"
   11573      ac_need_defaults=false ;;
   11574 
   11575   esac
   11576   shift
   11577 done
   11578 
   11579 ac_configure_extra_args=
   11580 
   11581 if $ac_cs_silent; then
   11582   exec 6>/dev/null
   11583   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11584 fi
   11585 
   11586 _ACEOF
   11587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11588 if \$ac_cs_recheck; then
   11589   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11590   shift
   11591   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11592   CONFIG_SHELL='$SHELL'
   11593   export CONFIG_SHELL
   11594   exec "\$@"
   11595 fi
   11596 
   11597 _ACEOF
   11598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11599 exec 5>>config.log
   11600 {
   11601   echo
   11602   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11603 ## Running $as_me. ##
   11604 _ASBOX
   11605   $as_echo "$ac_log"
   11606 } >&5
   11607 
   11608 _ACEOF
   11609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11610 #
   11611 # INIT-COMMANDS
   11612 #
   11613 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11614 
   11615 _ACEOF
   11616 
   11617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11618 
   11619 # Handling of arguments.
   11620 for ac_config_target in $ac_config_targets
   11621 do
   11622   case $ac_config_target in
   11623     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11624     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11625     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11626     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11627 
   11628   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11629   esac
   11630 done
   11631 
   11632 
   11633 # If the user did not use the arguments to specify the items to instantiate,
   11634 # then the envvar interface is used.  Set only those that are not.
   11635 # We use the long form for the default assignment because of an extremely
   11636 # bizarre bug on SunOS 4.1.3.
   11637 if $ac_need_defaults; then
   11638   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11639   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11640   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11641 fi
   11642 
   11643 # Have a temporary directory for convenience.  Make it in the build tree
   11644 # simply because there is no reason against having it here, and in addition,
   11645 # creating and moving files from /tmp can sometimes cause problems.
   11646 # Hook for its removal unless debugging.
   11647 # Note that there is a small window in which the directory will not be cleaned:
   11648 # after its creation but before its name has been assigned to `$tmp'.
   11649 $debug ||
   11650 {
   11651   tmp= ac_tmp=
   11652   trap 'exit_status=$?
   11653   : "${ac_tmp:=$tmp}"
   11654   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11655 ' 0
   11656   trap 'as_fn_exit 1' 1 2 13 15
   11657 }
   11658 # Create a (secure) tmp directory for tmp files.
   11659 
   11660 {
   11661   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11662   test -d "$tmp"
   11663 }  ||
   11664 {
   11665   tmp=./conf$$-$RANDOM
   11666   (umask 077 && mkdir "$tmp")
   11667 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11668 ac_tmp=$tmp
   11669 
   11670 # Set up the scripts for CONFIG_FILES section.
   11671 # No need to generate them if there are no CONFIG_FILES.
   11672 # This happens for instance with `./config.status config.h'.
   11673 if test -n "$CONFIG_FILES"; then
   11674 
   11675 
   11676 ac_cr=`echo X | tr X '\015'`
   11677 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11678 # But we know of no other shell where ac_cr would be empty at this
   11679 # point, so we can use a bashism as a fallback.
   11680 if test "x$ac_cr" = x; then
   11681   eval ac_cr=\$\'\\r\'
   11682 fi
   11683 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11684 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11685   ac_cs_awk_cr='\\r'
   11686 else
   11687   ac_cs_awk_cr=$ac_cr
   11688 fi
   11689 
   11690 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11691 _ACEOF
   11692 
   11693 
   11694 {
   11695   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11696   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11697   echo "_ACEOF"
   11698 } >conf$$subs.sh ||
   11699   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11700 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11701 ac_delim='%!_!# '
   11702 for ac_last_try in false false false false false :; do
   11703   . ./conf$$subs.sh ||
   11704     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11705 
   11706   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11707   if test $ac_delim_n = $ac_delim_num; then
   11708     break
   11709   elif $ac_last_try; then
   11710     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11711   else
   11712     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11713   fi
   11714 done
   11715 rm -f conf$$subs.sh
   11716 
   11717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11718 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11719 _ACEOF
   11720 sed -n '
   11721 h
   11722 s/^/S["/; s/!.*/"]=/
   11723 p
   11724 g
   11725 s/^[^!]*!//
   11726 :repl
   11727 t repl
   11728 s/'"$ac_delim"'$//
   11729 t delim
   11730 :nl
   11731 h
   11732 s/\(.\{148\}\)..*/\1/
   11733 t more1
   11734 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11735 p
   11736 n
   11737 b repl
   11738 :more1
   11739 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11740 p
   11741 g
   11742 s/.\{148\}//
   11743 t nl
   11744 :delim
   11745 h
   11746 s/\(.\{148\}\)..*/\1/
   11747 t more2
   11748 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11749 p
   11750 b
   11751 :more2
   11752 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11753 p
   11754 g
   11755 s/.\{148\}//
   11756 t delim
   11757 ' <conf$$subs.awk | sed '
   11758 /^[^""]/{
   11759   N
   11760   s/\n//
   11761 }
   11762 ' >>$CONFIG_STATUS || ac_write_fail=1
   11763 rm -f conf$$subs.awk
   11764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11765 _ACAWK
   11766 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11767   for (key in S) S_is_set[key] = 1
   11768   FS = ""
   11769 
   11770 }
   11771 {
   11772   line = $ 0
   11773   nfields = split(line, field, "@")
   11774   substed = 0
   11775   len = length(field[1])
   11776   for (i = 2; i < nfields; i++) {
   11777     key = field[i]
   11778     keylen = length(key)
   11779     if (S_is_set[key]) {
   11780       value = S[key]
   11781       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11782       len += length(value) + length(field[++i])
   11783       substed = 1
   11784     } else
   11785       len += 1 + keylen
   11786   }
   11787 
   11788   print line
   11789 }
   11790 
   11791 _ACAWK
   11792 _ACEOF
   11793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11794 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11795   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11796 else
   11797   cat
   11798 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11799   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11800 _ACEOF
   11801 
   11802 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11803 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11804 # trailing colons and then remove the whole line if VPATH becomes empty
   11805 # (actually we leave an empty line to preserve line numbers).
   11806 if test "x$srcdir" = x.; then
   11807   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11808 h
   11809 s///
   11810 s/^/:/
   11811 s/[	 ]*$/:/
   11812 s/:\$(srcdir):/:/g
   11813 s/:\${srcdir}:/:/g
   11814 s/:@srcdir@:/:/g
   11815 s/^:*//
   11816 s/:*$//
   11817 x
   11818 s/\(=[	 ]*\).*/\1/
   11819 G
   11820 s/\n//
   11821 s/^[^=]*=[	 ]*$//
   11822 }'
   11823 fi
   11824 
   11825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11826 fi # test -n "$CONFIG_FILES"
   11827 
   11828 # Set up the scripts for CONFIG_HEADERS section.
   11829 # No need to generate them if there are no CONFIG_HEADERS.
   11830 # This happens for instance with `./config.status Makefile'.
   11831 if test -n "$CONFIG_HEADERS"; then
   11832 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11833 BEGIN {
   11834 _ACEOF
   11835 
   11836 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11837 # here-document in config.status, that substitutes the proper values into
   11838 # config.h.in to produce config.h.
   11839 
   11840 # Create a delimiter string that does not exist in confdefs.h, to ease
   11841 # handling of long lines.
   11842 ac_delim='%!_!# '
   11843 for ac_last_try in false false :; do
   11844   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11845   if test -z "$ac_tt"; then
   11846     break
   11847   elif $ac_last_try; then
   11848     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11849   else
   11850     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11851   fi
   11852 done
   11853 
   11854 # For the awk script, D is an array of macro values keyed by name,
   11855 # likewise P contains macro parameters if any.  Preserve backslash
   11856 # newline sequences.
   11857 
   11858 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11859 sed -n '
   11860 s/.\{148\}/&'"$ac_delim"'/g
   11861 t rset
   11862 :rset
   11863 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11864 t def
   11865 d
   11866 :def
   11867 s/\\$//
   11868 t bsnl
   11869 s/["\\]/\\&/g
   11870 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11871 D["\1"]=" \3"/p
   11872 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11873 d
   11874 :bsnl
   11875 s/["\\]/\\&/g
   11876 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11877 D["\1"]=" \3\\\\\\n"\\/p
   11878 t cont
   11879 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11880 t cont
   11881 d
   11882 :cont
   11883 n
   11884 s/.\{148\}/&'"$ac_delim"'/g
   11885 t clear
   11886 :clear
   11887 s/\\$//
   11888 t bsnlc
   11889 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11890 d
   11891 :bsnlc
   11892 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11893 b cont
   11894 ' <confdefs.h | sed '
   11895 s/'"$ac_delim"'/"\\\
   11896 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11897 
   11898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11899   for (key in D) D_is_set[key] = 1
   11900   FS = ""
   11901 }
   11902 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11903   line = \$ 0
   11904   split(line, arg, " ")
   11905   if (arg[1] == "#") {
   11906     defundef = arg[2]
   11907     mac1 = arg[3]
   11908   } else {
   11909     defundef = substr(arg[1], 2)
   11910     mac1 = arg[2]
   11911   }
   11912   split(mac1, mac2, "(") #)
   11913   macro = mac2[1]
   11914   prefix = substr(line, 1, index(line, defundef) - 1)
   11915   if (D_is_set[macro]) {
   11916     # Preserve the white space surrounding the "#".
   11917     print prefix "define", macro P[macro] D[macro]
   11918     next
   11919   } else {
   11920     # Replace #undef with comments.  This is necessary, for example,
   11921     # in the case of _POSIX_SOURCE, which is predefined and required
   11922     # on some systems where configure will not decide to define it.
   11923     if (defundef == "undef") {
   11924       print "/*", prefix defundef, macro, "*/"
   11925       next
   11926     }
   11927   }
   11928 }
   11929 { print }
   11930 _ACAWK
   11931 _ACEOF
   11932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11933   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11934 fi # test -n "$CONFIG_HEADERS"
   11935 
   11936 
   11937 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11938 shift
   11939 for ac_tag
   11940 do
   11941   case $ac_tag in
   11942   :[FHLC]) ac_mode=$ac_tag; continue;;
   11943   esac
   11944   case $ac_mode$ac_tag in
   11945   :[FHL]*:*);;
   11946   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11947   :[FH]-) ac_tag=-:-;;
   11948   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11949   esac
   11950   ac_save_IFS=$IFS
   11951   IFS=:
   11952   set x $ac_tag
   11953   IFS=$ac_save_IFS
   11954   shift
   11955   ac_file=$1
   11956   shift
   11957 
   11958   case $ac_mode in
   11959   :L) ac_source=$1;;
   11960   :[FH])
   11961     ac_file_inputs=
   11962     for ac_f
   11963     do
   11964       case $ac_f in
   11965       -) ac_f="$ac_tmp/stdin";;
   11966       *) # Look for the file first in the build tree, then in the source tree
   11967 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11968 	 # because $ac_f cannot contain `:'.
   11969 	 test -f "$ac_f" ||
   11970 	   case $ac_f in
   11971 	   [\\/$]*) false;;
   11972 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11973 	   esac ||
   11974 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11975       esac
   11976       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11977       as_fn_append ac_file_inputs " '$ac_f'"
   11978     done
   11979 
   11980     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11981     # use $as_me), people would be surprised to read:
   11982     #    /* config.h.  Generated by config.status.  */
   11983     configure_input='Generated from '`
   11984 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11985 	`' by configure.'
   11986     if test x"$ac_file" != x-; then
   11987       configure_input="$ac_file.  $configure_input"
   11988       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11989 $as_echo "$as_me: creating $ac_file" >&6;}
   11990     fi
   11991     # Neutralize special characters interpreted by sed in replacement strings.
   11992     case $configure_input in #(
   11993     *\&* | *\|* | *\\* )
   11994        ac_sed_conf_input=`$as_echo "$configure_input" |
   11995        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11996     *) ac_sed_conf_input=$configure_input;;
   11997     esac
   11998 
   11999     case $ac_tag in
   12000     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12001       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12002     esac
   12003     ;;
   12004   esac
   12005 
   12006   ac_dir=`$as_dirname -- "$ac_file" ||
   12007 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12008 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12009 	 X"$ac_file" : 'X\(//\)$' \| \
   12010 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12011 $as_echo X"$ac_file" |
   12012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12013 	    s//\1/
   12014 	    q
   12015 	  }
   12016 	  /^X\(\/\/\)[^/].*/{
   12017 	    s//\1/
   12018 	    q
   12019 	  }
   12020 	  /^X\(\/\/\)$/{
   12021 	    s//\1/
   12022 	    q
   12023 	  }
   12024 	  /^X\(\/\).*/{
   12025 	    s//\1/
   12026 	    q
   12027 	  }
   12028 	  s/.*/./; q'`
   12029   as_dir="$ac_dir"; as_fn_mkdir_p
   12030   ac_builddir=.
   12031 
   12032 case "$ac_dir" in
   12033 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12034 *)
   12035   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12036   # A ".." for each directory in $ac_dir_suffix.
   12037   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12038   case $ac_top_builddir_sub in
   12039   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12040   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12041   esac ;;
   12042 esac
   12043 ac_abs_top_builddir=$ac_pwd
   12044 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12045 # for backward compatibility:
   12046 ac_top_builddir=$ac_top_build_prefix
   12047 
   12048 case $srcdir in
   12049   .)  # We are building in place.
   12050     ac_srcdir=.
   12051     ac_top_srcdir=$ac_top_builddir_sub
   12052     ac_abs_top_srcdir=$ac_pwd ;;
   12053   [\\/]* | ?:[\\/]* )  # Absolute name.
   12054     ac_srcdir=$srcdir$ac_dir_suffix;
   12055     ac_top_srcdir=$srcdir
   12056     ac_abs_top_srcdir=$srcdir ;;
   12057   *) # Relative name.
   12058     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12059     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12060     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12061 esac
   12062 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12063 
   12064 
   12065   case $ac_mode in
   12066   :F)
   12067   #
   12068   # CONFIG_FILE
   12069   #
   12070 
   12071   case $INSTALL in
   12072   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12073   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12074   esac
   12075   ac_MKDIR_P=$MKDIR_P
   12076   case $MKDIR_P in
   12077   [\\/$]* | ?:[\\/]* ) ;;
   12078   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12079   esac
   12080 _ACEOF
   12081 
   12082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12083 # If the template does not know about datarootdir, expand it.
   12084 # FIXME: This hack should be removed a few years after 2.60.
   12085 ac_datarootdir_hack=; ac_datarootdir_seen=
   12086 ac_sed_dataroot='
   12087 /datarootdir/ {
   12088   p
   12089   q
   12090 }
   12091 /@datadir@/p
   12092 /@docdir@/p
   12093 /@infodir@/p
   12094 /@localedir@/p
   12095 /@mandir@/p'
   12096 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12097 *datarootdir*) ac_datarootdir_seen=yes;;
   12098 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12099   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12100 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12101 _ACEOF
   12102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12103   ac_datarootdir_hack='
   12104   s&@datadir@&$datadir&g
   12105   s&@docdir@&$docdir&g
   12106   s&@infodir@&$infodir&g
   12107   s&@localedir@&$localedir&g
   12108   s&@mandir@&$mandir&g
   12109   s&\\\${datarootdir}&$datarootdir&g' ;;
   12110 esac
   12111 _ACEOF
   12112 
   12113 # Neutralize VPATH when `$srcdir' = `.'.
   12114 # Shell code in configure.ac might set extrasub.
   12115 # FIXME: do we really want to maintain this feature?
   12116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12117 ac_sed_extra="$ac_vpsub
   12118 $extrasub
   12119 _ACEOF
   12120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12121 :t
   12122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12123 s|@configure_input@|$ac_sed_conf_input|;t t
   12124 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12125 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12126 s&@srcdir@&$ac_srcdir&;t t
   12127 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12128 s&@top_srcdir@&$ac_top_srcdir&;t t
   12129 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12130 s&@builddir@&$ac_builddir&;t t
   12131 s&@abs_builddir@&$ac_abs_builddir&;t t
   12132 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12133 s&@INSTALL@&$ac_INSTALL&;t t
   12134 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12135 $ac_datarootdir_hack
   12136 "
   12137 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12138   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12139 
   12140 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12141   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12142   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12143       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12144   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12145 which seems to be undefined.  Please make sure it is defined" >&5
   12146 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12147 which seems to be undefined.  Please make sure it is defined" >&2;}
   12148 
   12149   rm -f "$ac_tmp/stdin"
   12150   case $ac_file in
   12151   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12152   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12153   esac \
   12154   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12155  ;;
   12156   :H)
   12157   #
   12158   # CONFIG_HEADER
   12159   #
   12160   if test x"$ac_file" != x-; then
   12161     {
   12162       $as_echo "/* $configure_input  */" \
   12163       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12164     } >"$ac_tmp/config.h" \
   12165       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12166     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12167       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12168 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12169     else
   12170       rm -f "$ac_file"
   12171       mv "$ac_tmp/config.h" "$ac_file" \
   12172 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12173     fi
   12174   else
   12175     $as_echo "/* $configure_input  */" \
   12176       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12177       || as_fn_error $? "could not create -" "$LINENO" 5
   12178   fi
   12179 # Compute "$ac_file"'s index in $config_headers.
   12180 _am_arg="$ac_file"
   12181 _am_stamp_count=1
   12182 for _am_header in $config_headers :; do
   12183   case $_am_header in
   12184     $_am_arg | $_am_arg:* )
   12185       break ;;
   12186     * )
   12187       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12188   esac
   12189 done
   12190 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12191 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12192 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12193 	 X"$_am_arg" : 'X\(//\)$' \| \
   12194 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12195 $as_echo X"$_am_arg" |
   12196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12197 	    s//\1/
   12198 	    q
   12199 	  }
   12200 	  /^X\(\/\/\)[^/].*/{
   12201 	    s//\1/
   12202 	    q
   12203 	  }
   12204 	  /^X\(\/\/\)$/{
   12205 	    s//\1/
   12206 	    q
   12207 	  }
   12208 	  /^X\(\/\).*/{
   12209 	    s//\1/
   12210 	    q
   12211 	  }
   12212 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12213  ;;
   12214 
   12215   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12216 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12217  ;;
   12218   esac
   12219 
   12220 
   12221   case $ac_file$ac_mode in
   12222     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12223   # Older Autoconf quotes --file arguments for eval, but not when files
   12224   # are listed without --file.  Let's play safe and only enable the eval
   12225   # if we detect the quoting.
   12226   case $CONFIG_FILES in
   12227   *\'*) eval set x "$CONFIG_FILES" ;;
   12228   *)   set x $CONFIG_FILES ;;
   12229   esac
   12230   shift
   12231   for mf
   12232   do
   12233     # Strip MF so we end up with the name of the file.
   12234     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12235     # Check whether this is an Automake generated Makefile or not.
   12236     # We used to match only the files named 'Makefile.in', but
   12237     # some people rename them; so instead we look at the file content.
   12238     # Grep'ing the first line is not enough: some people post-process
   12239     # each Makefile.in and add a new line on top of each file to say so.
   12240     # Grep'ing the whole file is not good either: AIX grep has a line
   12241     # limit of 2048, but all sed's we know have understand at least 4000.
   12242     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12243       dirpart=`$as_dirname -- "$mf" ||
   12244 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12245 	 X"$mf" : 'X\(//\)[^/]' \| \
   12246 	 X"$mf" : 'X\(//\)$' \| \
   12247 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12248 $as_echo X"$mf" |
   12249     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12250 	    s//\1/
   12251 	    q
   12252 	  }
   12253 	  /^X\(\/\/\)[^/].*/{
   12254 	    s//\1/
   12255 	    q
   12256 	  }
   12257 	  /^X\(\/\/\)$/{
   12258 	    s//\1/
   12259 	    q
   12260 	  }
   12261 	  /^X\(\/\).*/{
   12262 	    s//\1/
   12263 	    q
   12264 	  }
   12265 	  s/.*/./; q'`
   12266     else
   12267       continue
   12268     fi
   12269     # Extract the definition of DEPDIR, am__include, and am__quote
   12270     # from the Makefile without running 'make'.
   12271     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12272     test -z "$DEPDIR" && continue
   12273     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12274     test -z "$am__include" && continue
   12275     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12276     # Find all dependency output files, they are included files with
   12277     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12278     # simplest approach to changing $(DEPDIR) to its actual value in the
   12279     # expansion.
   12280     for file in `sed -n "
   12281       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12282 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12283       # Make sure the directory exists.
   12284       test -f "$dirpart/$file" && continue
   12285       fdir=`$as_dirname -- "$file" ||
   12286 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12287 	 X"$file" : 'X\(//\)[^/]' \| \
   12288 	 X"$file" : 'X\(//\)$' \| \
   12289 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12290 $as_echo X"$file" |
   12291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12292 	    s//\1/
   12293 	    q
   12294 	  }
   12295 	  /^X\(\/\/\)[^/].*/{
   12296 	    s//\1/
   12297 	    q
   12298 	  }
   12299 	  /^X\(\/\/\)$/{
   12300 	    s//\1/
   12301 	    q
   12302 	  }
   12303 	  /^X\(\/\).*/{
   12304 	    s//\1/
   12305 	    q
   12306 	  }
   12307 	  s/.*/./; q'`
   12308       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12309       # echo "creating $dirpart/$file"
   12310       echo '# dummy' > "$dirpart/$file"
   12311     done
   12312   done
   12313 }
   12314  ;;
   12315 
   12316   esac
   12317 done # for ac_tag
   12318 
   12319 
   12320 as_fn_exit 0
   12321 _ACEOF
   12322 ac_clean_files=$ac_clean_files_save
   12323 
   12324 test $ac_write_fail = 0 ||
   12325   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12326 
   12327 
   12328 # configure is writing to config.log, and then calls config.status.
   12329 # config.status does its own redirection, appending to config.log.
   12330 # Unfortunately, on DOS this fails, as config.log is still kept open
   12331 # by configure, so config.status won't be able to write to it; its
   12332 # output is simply discarded.  So we exec the FD to /dev/null,
   12333 # effectively closing config.log, so it can be properly (re)opened and
   12334 # appended to by config.status.  When coming back to configure, we
   12335 # need to make the FD available again.
   12336 if test "$no_create" != yes; then
   12337   ac_cs_success=:
   12338   ac_config_status_args=
   12339   test "$silent" = yes &&
   12340     ac_config_status_args="$ac_config_status_args --quiet"
   12341   exec 5>/dev/null
   12342   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12343   exec 5>>config.log
   12344   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12345   # would make configure fail if this is the last instruction.
   12346   $ac_cs_success || as_fn_exit 1
   12347 fi
   12348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12349   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12351 fi
   12352 
   12353