configure revision 8512f934
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for xcalc 1.0.3.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10# Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
235$0: about your system, including any error possibly output
236$0: before this message. Then install a modern shell, or
237$0: manually run the script under such a shell if you do
238$0: have one."
239  fi
240  exit 1
241fi
242fi
243fi
244SHELL=${CONFIG_SHELL-/bin/sh}
245export SHELL
246# Unset more variables known to interfere with behavior of common tools.
247CLICOLOR_FORCE= GREP_OPTIONS=
248unset CLICOLOR_FORCE GREP_OPTIONS
249
250## --------------------- ##
251## M4sh Shell Functions. ##
252## --------------------- ##
253# as_fn_unset VAR
254# ---------------
255# Portably unset VAR.
256as_fn_unset ()
257{
258  { eval $1=; unset $1;}
259}
260as_unset=as_fn_unset
261
262# as_fn_set_status STATUS
263# -----------------------
264# Set $? to STATUS, without forking.
265as_fn_set_status ()
266{
267  return $1
268} # as_fn_set_status
269
270# as_fn_exit STATUS
271# -----------------
272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273as_fn_exit ()
274{
275  set +e
276  as_fn_set_status $1
277  exit $1
278} # as_fn_exit
279
280# as_fn_mkdir_p
281# -------------
282# Create "$as_dir" as a directory, including parents if necessary.
283as_fn_mkdir_p ()
284{
285
286  case $as_dir in #(
287  -*) as_dir=./$as_dir;;
288  esac
289  test -d "$as_dir" || eval $as_mkdir_p || {
290    as_dirs=
291    while :; do
292      case $as_dir in #(
293      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294      *) as_qdir=$as_dir;;
295      esac
296      as_dirs="'$as_qdir' $as_dirs"
297      as_dir=`$as_dirname -- "$as_dir" ||
298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299	 X"$as_dir" : 'X\(//\)[^/]' \| \
300	 X"$as_dir" : 'X\(//\)$' \| \
301	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302$as_echo X"$as_dir" |
303    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304	    s//\1/
305	    q
306	  }
307	  /^X\(\/\/\)[^/].*/{
308	    s//\1/
309	    q
310	  }
311	  /^X\(\/\/\)$/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\).*/{
316	    s//\1/
317	    q
318	  }
319	  s/.*/./; q'`
320      test -d "$as_dir" && break
321    done
322    test -z "$as_dirs" || eval "mkdir $as_dirs"
323  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
325
326} # as_fn_mkdir_p
327# as_fn_append VAR VALUE
328# ----------------------
329# Append the text in VALUE to the end of the definition contained in VAR. Take
330# advantage of any shell optimizations that allow amortized linear growth over
331# repeated appends, instead of the typical quadratic growth present in naive
332# implementations.
333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334  eval 'as_fn_append ()
335  {
336    eval $1+=\$2
337  }'
338else
339  as_fn_append ()
340  {
341    eval $1=\$$1\$2
342  }
343fi # as_fn_append
344
345# as_fn_arith ARG...
346# ------------------
347# Perform arithmetic evaluation on the ARGs, and store the result in the
348# global $as_val. Take advantage of shells that can avoid forks. The arguments
349# must be portable across $(()) and expr.
350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351  eval 'as_fn_arith ()
352  {
353    as_val=$(( $* ))
354  }'
355else
356  as_fn_arith ()
357  {
358    as_val=`expr "$@" || test $? -eq 1`
359  }
360fi # as_fn_arith
361
362
363# as_fn_error ERROR [LINENO LOG_FD]
364# ---------------------------------
365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367# script with status $?, using 1 if that was 0.
368as_fn_error ()
369{
370  as_status=$?; test $as_status -eq 0 && as_status=1
371  if test "$3"; then
372    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374  fi
375  $as_echo "$as_me: error: $1" >&2
376  as_fn_exit $as_status
377} # as_fn_error
378
379if expr a : '\(a\)' >/dev/null 2>&1 &&
380   test "X`expr 00001 : '.*\(...\)'`" = X001; then
381  as_expr=expr
382else
383  as_expr=false
384fi
385
386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387  as_basename=basename
388else
389  as_basename=false
390fi
391
392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393  as_dirname=dirname
394else
395  as_dirname=false
396fi
397
398as_me=`$as_basename -- "$0" ||
399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400	 X"$0" : 'X\(//\)$' \| \
401	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402$as_echo X/"$0" |
403    sed '/^.*\/\([^/][^/]*\)\/*$/{
404	    s//\1/
405	    q
406	  }
407	  /^X\/\(\/\/\)$/{
408	    s//\1/
409	    q
410	  }
411	  /^X\/\(\/\).*/{
412	    s//\1/
413	    q
414	  }
415	  s/.*/./; q'`
416
417# Avoid depending upon Character Ranges.
418as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421as_cr_digits='0123456789'
422as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425  as_lineno_1=$LINENO as_lineno_1a=$LINENO
426  as_lineno_2=$LINENO as_lineno_2a=$LINENO
427  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430  sed -n '
431    p
432    /[$]LINENO/=
433  ' <$as_myself |
434    sed '
435      s/[$]LINENO.*/&-/
436      t lineno
437      b
438      :lineno
439      N
440      :loop
441      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442      t loop
443      s/-\n.*//
444    ' >$as_me.lineno &&
445  chmod +x "$as_me.lineno" ||
446    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448  # Don't try to exec as it changes $[0], causing all sort of problems
449  # (the dirname of $[0] is not the place where we might find the
450  # original and so on.  Autoconf is especially sensitive to this).
451  . "./$as_me.lineno"
452  # Exit status is that of the last command.
453  exit
454}
455
456ECHO_C= ECHO_N= ECHO_T=
457case `echo -n x` in #(((((
458-n*)
459  case `echo 'xy\c'` in
460  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
461  xy)  ECHO_C='\c';;
462  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463       ECHO_T='	';;
464  esac;;
465*)
466  ECHO_N='-n';;
467esac
468
469rm -f conf$$ conf$$.exe conf$$.file
470if test -d conf$$.dir; then
471  rm -f conf$$.dir/conf$$.file
472else
473  rm -f conf$$.dir
474  mkdir conf$$.dir 2>/dev/null
475fi
476if (echo >conf$$.file) 2>/dev/null; then
477  if ln -s conf$$.file conf$$ 2>/dev/null; then
478    as_ln_s='ln -s'
479    # ... but there are two gotchas:
480    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482    # In both cases, we have to default to `cp -p'.
483    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484      as_ln_s='cp -p'
485  elif ln conf$$.file conf$$ 2>/dev/null; then
486    as_ln_s=ln
487  else
488    as_ln_s='cp -p'
489  fi
490else
491  as_ln_s='cp -p'
492fi
493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494rmdir conf$$.dir 2>/dev/null
495
496if mkdir -p . 2>/dev/null; then
497  as_mkdir_p='mkdir -p "$as_dir"'
498else
499  test -d ./-p && rmdir ./-p
500  as_mkdir_p=false
501fi
502
503if test -x / >/dev/null 2>&1; then
504  as_test_x='test -x'
505else
506  if ls -dL / >/dev/null 2>&1; then
507    as_ls_L_option=L
508  else
509    as_ls_L_option=
510  fi
511  as_test_x='
512    eval sh -c '\''
513      if test -d "$1"; then
514	test -d "$1/.";
515      else
516	case $1 in #(
517	-*)set "./$1";;
518	esac;
519	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520	???[sx]*):;;*)false;;esac;fi
521    '\'' sh
522  '
523fi
524as_executable_p=$as_test_x
525
526# Sed expression to map a string onto a valid CPP name.
527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529# Sed expression to map a string onto a valid variable name.
530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533test -n "$DJDIR" || exec 7<&0 </dev/null
534exec 6>&1
535
536# Name of the host.
537# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
538# so uname gets run too.
539ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541#
542# Initializations.
543#
544ac_default_prefix=/usr/local
545ac_clean_files=
546ac_config_libobj_dir=.
547LIBOBJS=
548cross_compiling=no
549subdirs=
550MFLAGS=
551MAKEFLAGS=
552
553# Identity of this package.
554PACKAGE_NAME='xcalc'
555PACKAGE_TARNAME='xcalc'
556PACKAGE_VERSION='1.0.3'
557PACKAGE_STRING='xcalc 1.0.3'
558PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
559PACKAGE_URL=''
560
561# Factoring default headers for most tests.
562ac_includes_default="\
563#include <stdio.h>
564#ifdef HAVE_SYS_TYPES_H
565# include <sys/types.h>
566#endif
567#ifdef HAVE_SYS_STAT_H
568# include <sys/stat.h>
569#endif
570#ifdef STDC_HEADERS
571# include <stdlib.h>
572# include <stddef.h>
573#else
574# ifdef HAVE_STDLIB_H
575#  include <stdlib.h>
576# endif
577#endif
578#ifdef HAVE_STRING_H
579# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580#  include <memory.h>
581# endif
582# include <string.h>
583#endif
584#ifdef HAVE_STRINGS_H
585# include <strings.h>
586#endif
587#ifdef HAVE_INTTYPES_H
588# include <inttypes.h>
589#endif
590#ifdef HAVE_STDINT_H
591# include <stdint.h>
592#endif
593#ifdef HAVE_UNISTD_H
594# include <unistd.h>
595#endif"
596
597ac_subst_vars='am__EXEEXT_FALSE
598am__EXEEXT_TRUE
599LTLIBOBJS
600LIBOBJS
601appdefaultdir
602APPDEFS_LIBS
603APPDEFS_CFLAGS
604XCALC_LIBS
605XCALC_CFLAGS
606ADMIN_MAN_DIR
607DRIVER_MAN_DIR
608MISC_MAN_DIR
609FILE_MAN_DIR
610LIB_MAN_DIR
611APP_MAN_DIR
612ADMIN_MAN_SUFFIX
613DRIVER_MAN_SUFFIX
614MISC_MAN_SUFFIX
615FILE_MAN_SUFFIX
616LIB_MAN_SUFFIX
617APP_MAN_SUFFIX
618host_os
619host_vendor
620host_cpu
621host
622build_os
623build_vendor
624build_cpu
625build
626INSTALL_CMD
627PKG_CONFIG
628CHANGELOG_CMD
629AM_BACKSLASH
630AM_DEFAULT_VERBOSITY
631CWARNFLAGS
632EGREP
633GREP
634CPP
635am__fastdepCC_FALSE
636am__fastdepCC_TRUE
637CCDEPMODE
638AMDEPBACKSLASH
639AMDEP_FALSE
640AMDEP_TRUE
641am__quote
642am__include
643DEPDIR
644OBJEXT
645EXEEXT
646ac_ct_CC
647CPPFLAGS
648LDFLAGS
649CFLAGS
650CC
651MAINT
652MAINTAINER_MODE_FALSE
653MAINTAINER_MODE_TRUE
654am__untar
655am__tar
656AMTAR
657am__leading_dot
658SET_MAKE
659AWK
660mkdir_p
661MKDIR_P
662INSTALL_STRIP_PROGRAM
663STRIP
664install_sh
665MAKEINFO
666AUTOHEADER
667AUTOMAKE
668AUTOCONF
669ACLOCAL
670VERSION
671PACKAGE
672CYGPATH_W
673am__isrc
674INSTALL_DATA
675INSTALL_SCRIPT
676INSTALL_PROGRAM
677target_alias
678host_alias
679build_alias
680LIBS
681ECHO_T
682ECHO_N
683ECHO_C
684DEFS
685mandir
686localedir
687libdir
688psdir
689pdfdir
690dvidir
691htmldir
692infodir
693docdir
694oldincludedir
695includedir
696localstatedir
697sharedstatedir
698sysconfdir
699datadir
700datarootdir
701libexecdir
702sbindir
703bindir
704program_transform_name
705prefix
706exec_prefix
707PACKAGE_URL
708PACKAGE_BUGREPORT
709PACKAGE_STRING
710PACKAGE_VERSION
711PACKAGE_TARNAME
712PACKAGE_NAME
713PATH_SEPARATOR
714SHELL'
715ac_subst_files=''
716ac_user_opts='
717enable_option_checking
718enable_maintainer_mode
719enable_dependency_tracking
720enable_silent_rules
721enable_strict_compilation
722with_release_version
723with_appdefaultdir
724'
725      ac_precious_vars='build_alias
726host_alias
727target_alias
728CC
729CFLAGS
730LDFLAGS
731LIBS
732CPPFLAGS
733CPP
734PKG_CONFIG
735XCALC_CFLAGS
736XCALC_LIBS
737APPDEFS_CFLAGS
738APPDEFS_LIBS'
739
740
741# Initialize some variables set by options.
742ac_init_help=
743ac_init_version=false
744ac_unrecognized_opts=
745ac_unrecognized_sep=
746# The variables have the same names as the options, with
747# dashes changed to underlines.
748cache_file=/dev/null
749exec_prefix=NONE
750no_create=
751no_recursion=
752prefix=NONE
753program_prefix=NONE
754program_suffix=NONE
755program_transform_name=s,x,x,
756silent=
757site=
758srcdir=
759verbose=
760x_includes=NONE
761x_libraries=NONE
762
763# Installation directory options.
764# These are left unexpanded so users can "make install exec_prefix=/foo"
765# and all the variables that are supposed to be based on exec_prefix
766# by default will actually change.
767# Use braces instead of parens because sh, perl, etc. also accept them.
768# (The list follows the same order as the GNU Coding Standards.)
769bindir='${exec_prefix}/bin'
770sbindir='${exec_prefix}/sbin'
771libexecdir='${exec_prefix}/libexec'
772datarootdir='${prefix}/share'
773datadir='${datarootdir}'
774sysconfdir='${prefix}/etc'
775sharedstatedir='${prefix}/com'
776localstatedir='${prefix}/var'
777includedir='${prefix}/include'
778oldincludedir='/usr/include'
779docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
780infodir='${datarootdir}/info'
781htmldir='${docdir}'
782dvidir='${docdir}'
783pdfdir='${docdir}'
784psdir='${docdir}'
785libdir='${exec_prefix}/lib'
786localedir='${datarootdir}/locale'
787mandir='${datarootdir}/man'
788
789ac_prev=
790ac_dashdash=
791for ac_option
792do
793  # If the previous option needs an argument, assign it.
794  if test -n "$ac_prev"; then
795    eval $ac_prev=\$ac_option
796    ac_prev=
797    continue
798  fi
799
800  case $ac_option in
801  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802  *)	ac_optarg=yes ;;
803  esac
804
805  # Accept the important Cygnus configure options, so we can diagnose typos.
806
807  case $ac_dashdash$ac_option in
808  --)
809    ac_dashdash=yes ;;
810
811  -bindir | --bindir | --bindi | --bind | --bin | --bi)
812    ac_prev=bindir ;;
813  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814    bindir=$ac_optarg ;;
815
816  -build | --build | --buil | --bui | --bu)
817    ac_prev=build_alias ;;
818  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
819    build_alias=$ac_optarg ;;
820
821  -cache-file | --cache-file | --cache-fil | --cache-fi \
822  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
823    ac_prev=cache_file ;;
824  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
825  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
826    cache_file=$ac_optarg ;;
827
828  --config-cache | -C)
829    cache_file=config.cache ;;
830
831  -datadir | --datadir | --datadi | --datad)
832    ac_prev=datadir ;;
833  -datadir=* | --datadir=* | --datadi=* | --datad=*)
834    datadir=$ac_optarg ;;
835
836  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
837  | --dataroo | --dataro | --datar)
838    ac_prev=datarootdir ;;
839  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
840  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
841    datarootdir=$ac_optarg ;;
842
843  -disable-* | --disable-*)
844    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
845    # Reject names that are not valid shell variable names.
846    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847      as_fn_error "invalid feature name: $ac_useropt"
848    ac_useropt_orig=$ac_useropt
849    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850    case $ac_user_opts in
851      *"
852"enable_$ac_useropt"
853"*) ;;
854      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
855	 ac_unrecognized_sep=', ';;
856    esac
857    eval enable_$ac_useropt=no ;;
858
859  -docdir | --docdir | --docdi | --doc | --do)
860    ac_prev=docdir ;;
861  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
862    docdir=$ac_optarg ;;
863
864  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
865    ac_prev=dvidir ;;
866  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
867    dvidir=$ac_optarg ;;
868
869  -enable-* | --enable-*)
870    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
871    # Reject names that are not valid shell variable names.
872    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873      as_fn_error "invalid feature name: $ac_useropt"
874    ac_useropt_orig=$ac_useropt
875    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876    case $ac_user_opts in
877      *"
878"enable_$ac_useropt"
879"*) ;;
880      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881	 ac_unrecognized_sep=', ';;
882    esac
883    eval enable_$ac_useropt=\$ac_optarg ;;
884
885  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
886  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
887  | --exec | --exe | --ex)
888    ac_prev=exec_prefix ;;
889  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
890  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
891  | --exec=* | --exe=* | --ex=*)
892    exec_prefix=$ac_optarg ;;
893
894  -gas | --gas | --ga | --g)
895    # Obsolete; use --with-gas.
896    with_gas=yes ;;
897
898  -help | --help | --hel | --he | -h)
899    ac_init_help=long ;;
900  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
901    ac_init_help=recursive ;;
902  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
903    ac_init_help=short ;;
904
905  -host | --host | --hos | --ho)
906    ac_prev=host_alias ;;
907  -host=* | --host=* | --hos=* | --ho=*)
908    host_alias=$ac_optarg ;;
909
910  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
911    ac_prev=htmldir ;;
912  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
913  | --ht=*)
914    htmldir=$ac_optarg ;;
915
916  -includedir | --includedir | --includedi | --included | --include \
917  | --includ | --inclu | --incl | --inc)
918    ac_prev=includedir ;;
919  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
920  | --includ=* | --inclu=* | --incl=* | --inc=*)
921    includedir=$ac_optarg ;;
922
923  -infodir | --infodir | --infodi | --infod | --info | --inf)
924    ac_prev=infodir ;;
925  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
926    infodir=$ac_optarg ;;
927
928  -libdir | --libdir | --libdi | --libd)
929    ac_prev=libdir ;;
930  -libdir=* | --libdir=* | --libdi=* | --libd=*)
931    libdir=$ac_optarg ;;
932
933  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
934  | --libexe | --libex | --libe)
935    ac_prev=libexecdir ;;
936  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
937  | --libexe=* | --libex=* | --libe=*)
938    libexecdir=$ac_optarg ;;
939
940  -localedir | --localedir | --localedi | --localed | --locale)
941    ac_prev=localedir ;;
942  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
943    localedir=$ac_optarg ;;
944
945  -localstatedir | --localstatedir | --localstatedi | --localstated \
946  | --localstate | --localstat | --localsta | --localst | --locals)
947    ac_prev=localstatedir ;;
948  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
949  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
950    localstatedir=$ac_optarg ;;
951
952  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
953    ac_prev=mandir ;;
954  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955    mandir=$ac_optarg ;;
956
957  -nfp | --nfp | --nf)
958    # Obsolete; use --without-fp.
959    with_fp=no ;;
960
961  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
962  | --no-cr | --no-c | -n)
963    no_create=yes ;;
964
965  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
966  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967    no_recursion=yes ;;
968
969  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
970  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
971  | --oldin | --oldi | --old | --ol | --o)
972    ac_prev=oldincludedir ;;
973  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
974  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
975  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
976    oldincludedir=$ac_optarg ;;
977
978  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
979    ac_prev=prefix ;;
980  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981    prefix=$ac_optarg ;;
982
983  -program-prefix | --program-prefix | --program-prefi | --program-pref \
984  | --program-pre | --program-pr | --program-p)
985    ac_prev=program_prefix ;;
986  -program-prefix=* | --program-prefix=* | --program-prefi=* \
987  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
988    program_prefix=$ac_optarg ;;
989
990  -program-suffix | --program-suffix | --program-suffi | --program-suff \
991  | --program-suf | --program-su | --program-s)
992    ac_prev=program_suffix ;;
993  -program-suffix=* | --program-suffix=* | --program-suffi=* \
994  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
995    program_suffix=$ac_optarg ;;
996
997  -program-transform-name | --program-transform-name \
998  | --program-transform-nam | --program-transform-na \
999  | --program-transform-n | --program-transform- \
1000  | --program-transform | --program-transfor \
1001  | --program-transfo | --program-transf \
1002  | --program-trans | --program-tran \
1003  | --progr-tra | --program-tr | --program-t)
1004    ac_prev=program_transform_name ;;
1005  -program-transform-name=* | --program-transform-name=* \
1006  | --program-transform-nam=* | --program-transform-na=* \
1007  | --program-transform-n=* | --program-transform-=* \
1008  | --program-transform=* | --program-transfor=* \
1009  | --program-transfo=* | --program-transf=* \
1010  | --program-trans=* | --program-tran=* \
1011  | --progr-tra=* | --program-tr=* | --program-t=*)
1012    program_transform_name=$ac_optarg ;;
1013
1014  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1015    ac_prev=pdfdir ;;
1016  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1017    pdfdir=$ac_optarg ;;
1018
1019  -psdir | --psdir | --psdi | --psd | --ps)
1020    ac_prev=psdir ;;
1021  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022    psdir=$ac_optarg ;;
1023
1024  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025  | -silent | --silent | --silen | --sile | --sil)
1026    silent=yes ;;
1027
1028  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1029    ac_prev=sbindir ;;
1030  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1031  | --sbi=* | --sb=*)
1032    sbindir=$ac_optarg ;;
1033
1034  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036  | --sharedst | --shareds | --shared | --share | --shar \
1037  | --sha | --sh)
1038    ac_prev=sharedstatedir ;;
1039  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1042  | --sha=* | --sh=*)
1043    sharedstatedir=$ac_optarg ;;
1044
1045  -site | --site | --sit)
1046    ac_prev=site ;;
1047  -site=* | --site=* | --sit=*)
1048    site=$ac_optarg ;;
1049
1050  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1051    ac_prev=srcdir ;;
1052  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053    srcdir=$ac_optarg ;;
1054
1055  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056  | --syscon | --sysco | --sysc | --sys | --sy)
1057    ac_prev=sysconfdir ;;
1058  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060    sysconfdir=$ac_optarg ;;
1061
1062  -target | --target | --targe | --targ | --tar | --ta | --t)
1063    ac_prev=target_alias ;;
1064  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065    target_alias=$ac_optarg ;;
1066
1067  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068    verbose=yes ;;
1069
1070  -version | --version | --versio | --versi | --vers | -V)
1071    ac_init_version=: ;;
1072
1073  -with-* | --with-*)
1074    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075    # Reject names that are not valid shell variable names.
1076    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077      as_fn_error "invalid package name: $ac_useropt"
1078    ac_useropt_orig=$ac_useropt
1079    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080    case $ac_user_opts in
1081      *"
1082"with_$ac_useropt"
1083"*) ;;
1084      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1085	 ac_unrecognized_sep=', ';;
1086    esac
1087    eval with_$ac_useropt=\$ac_optarg ;;
1088
1089  -without-* | --without-*)
1090    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1091    # Reject names that are not valid shell variable names.
1092    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093      as_fn_error "invalid package name: $ac_useropt"
1094    ac_useropt_orig=$ac_useropt
1095    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096    case $ac_user_opts in
1097      *"
1098"with_$ac_useropt"
1099"*) ;;
1100      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101	 ac_unrecognized_sep=', ';;
1102    esac
1103    eval with_$ac_useropt=no ;;
1104
1105  --x)
1106    # Obsolete; use --with-x.
1107    with_x=yes ;;
1108
1109  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1110  | --x-incl | --x-inc | --x-in | --x-i)
1111    ac_prev=x_includes ;;
1112  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1113  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1114    x_includes=$ac_optarg ;;
1115
1116  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1117  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1118    ac_prev=x_libraries ;;
1119  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1120  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1121    x_libraries=$ac_optarg ;;
1122
1123  -*) as_fn_error "unrecognized option: \`$ac_option'
1124Try \`$0 --help' for more information."
1125    ;;
1126
1127  *=*)
1128    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129    # Reject names that are not valid shell variable names.
1130    case $ac_envvar in #(
1131      '' | [0-9]* | *[!_$as_cr_alnum]* )
1132      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1133    esac
1134    eval $ac_envvar=\$ac_optarg
1135    export $ac_envvar ;;
1136
1137  *)
1138    # FIXME: should be removed in autoconf 3.0.
1139    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1143    ;;
1144
1145  esac
1146done
1147
1148if test -n "$ac_prev"; then
1149  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150  as_fn_error "missing argument to $ac_option"
1151fi
1152
1153if test -n "$ac_unrecognized_opts"; then
1154  case $enable_option_checking in
1155    no) ;;
1156    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1157    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158  esac
1159fi
1160
1161# Check all directory arguments for consistency.
1162for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163		datadir sysconfdir sharedstatedir localstatedir includedir \
1164		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165		libdir localedir mandir
1166do
1167  eval ac_val=\$$ac_var
1168  # Remove trailing slashes.
1169  case $ac_val in
1170    */ )
1171      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172      eval $ac_var=\$ac_val;;
1173  esac
1174  # Be sure to have absolute directory names.
1175  case $ac_val in
1176    [\\/$]* | ?:[\\/]* )  continue;;
1177    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1178  esac
1179  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1180done
1181
1182# There might be people who depend on the old broken behavior: `$host'
1183# used to hold the argument of --host etc.
1184# FIXME: To remove some day.
1185build=$build_alias
1186host=$host_alias
1187target=$target_alias
1188
1189# FIXME: To remove some day.
1190if test "x$host_alias" != x; then
1191  if test "x$build_alias" = x; then
1192    cross_compiling=maybe
1193    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1194    If a cross compiler is detected then cross compile mode will be used." >&2
1195  elif test "x$build_alias" != "x$host_alias"; then
1196    cross_compiling=yes
1197  fi
1198fi
1199
1200ac_tool_prefix=
1201test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202
1203test "$silent" = yes && exec 6>/dev/null
1204
1205
1206ac_pwd=`pwd` && test -n "$ac_pwd" &&
1207ac_ls_di=`ls -di .` &&
1208ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1209  as_fn_error "working directory cannot be determined"
1210test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211  as_fn_error "pwd does not report name of working directory"
1212
1213
1214# Find the source files, if location was not specified.
1215if test -z "$srcdir"; then
1216  ac_srcdir_defaulted=yes
1217  # Try the directory containing this script, then the parent directory.
1218  ac_confdir=`$as_dirname -- "$as_myself" ||
1219$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220	 X"$as_myself" : 'X\(//\)[^/]' \| \
1221	 X"$as_myself" : 'X\(//\)$' \| \
1222	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1223$as_echo X"$as_myself" |
1224    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225	    s//\1/
1226	    q
1227	  }
1228	  /^X\(\/\/\)[^/].*/{
1229	    s//\1/
1230	    q
1231	  }
1232	  /^X\(\/\/\)$/{
1233	    s//\1/
1234	    q
1235	  }
1236	  /^X\(\/\).*/{
1237	    s//\1/
1238	    q
1239	  }
1240	  s/.*/./; q'`
1241  srcdir=$ac_confdir
1242  if test ! -r "$srcdir/$ac_unique_file"; then
1243    srcdir=..
1244  fi
1245else
1246  ac_srcdir_defaulted=no
1247fi
1248if test ! -r "$srcdir/$ac_unique_file"; then
1249  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1251fi
1252ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253ac_abs_confdir=`(
1254	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1255	pwd)`
1256# When building in place, set srcdir=.
1257if test "$ac_abs_confdir" = "$ac_pwd"; then
1258  srcdir=.
1259fi
1260# Remove unnecessary trailing slashes from srcdir.
1261# Double slashes in file names in object file debugging info
1262# mess up M-x gdb in Emacs.
1263case $srcdir in
1264*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265esac
1266for ac_var in $ac_precious_vars; do
1267  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268  eval ac_env_${ac_var}_value=\$${ac_var}
1269  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271done
1272
1273#
1274# Report the --help message.
1275#
1276if test "$ac_init_help" = "long"; then
1277  # Omit some internal or obsolete options to make the list less imposing.
1278  # This message is too long to be a string in the A/UX 3.1 sh.
1279  cat <<_ACEOF
1280\`configure' configures xcalc 1.0.3 to adapt to many kinds of systems.
1281
1282Usage: $0 [OPTION]... [VAR=VALUE]...
1283
1284To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285VAR=VALUE.  See below for descriptions of some of the useful variables.
1286
1287Defaults for the options are specified in brackets.
1288
1289Configuration:
1290  -h, --help              display this help and exit
1291      --help=short        display options specific to this package
1292      --help=recursive    display the short help of all the included packages
1293  -V, --version           display version information and exit
1294  -q, --quiet, --silent   do not print \`checking...' messages
1295      --cache-file=FILE   cache test results in FILE [disabled]
1296  -C, --config-cache      alias for \`--cache-file=config.cache'
1297  -n, --no-create         do not create output files
1298      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1299
1300Installation directories:
1301  --prefix=PREFIX         install architecture-independent files in PREFIX
1302                          [$ac_default_prefix]
1303  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1304                          [PREFIX]
1305
1306By default, \`make install' will install all the files in
1307\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1308an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309for instance \`--prefix=\$HOME'.
1310
1311For better control, use the options below.
1312
1313Fine tuning of the installation directories:
1314  --bindir=DIR            user executables [EPREFIX/bin]
1315  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1316  --libexecdir=DIR        program executables [EPREFIX/libexec]
1317  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1318  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1319  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1320  --libdir=DIR            object code libraries [EPREFIX/lib]
1321  --includedir=DIR        C header files [PREFIX/include]
1322  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1323  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1324  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1325  --infodir=DIR           info documentation [DATAROOTDIR/info]
1326  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1327  --mandir=DIR            man documentation [DATAROOTDIR/man]
1328  --docdir=DIR            documentation root [DATAROOTDIR/doc/xcalc]
1329  --htmldir=DIR           html documentation [DOCDIR]
1330  --dvidir=DIR            dvi documentation [DOCDIR]
1331  --pdfdir=DIR            pdf documentation [DOCDIR]
1332  --psdir=DIR             ps documentation [DOCDIR]
1333_ACEOF
1334
1335  cat <<\_ACEOF
1336
1337Program names:
1338  --program-prefix=PREFIX            prepend PREFIX to installed program names
1339  --program-suffix=SUFFIX            append SUFFIX to installed program names
1340  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1341
1342System types:
1343  --build=BUILD     configure for building on BUILD [guessed]
1344  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1345_ACEOF
1346fi
1347
1348if test -n "$ac_init_help"; then
1349  case $ac_init_help in
1350     short | recursive ) echo "Configuration of xcalc 1.0.3:";;
1351   esac
1352  cat <<\_ACEOF
1353
1354Optional Features:
1355  --disable-option-checking  ignore unrecognized --enable/--with options
1356  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1357  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1358  --enable-maintainer-mode  enable make rules and dependencies not useful
1359			  (and sometimes confusing) to the casual installer
1360  --disable-dependency-tracking  speeds up one-time build
1361  --enable-dependency-tracking   do not reject slow dependency extractors
1362  --enable-silent-rules          less verbose build output (undo: `make V=1')
1363  --disable-silent-rules         verbose build output (undo: `make V=0')
1364  --enable-strict-compilation
1365                          Enable all warnings from compiler and make them
1366                          errors (default: disabled)
1367
1368Optional Packages:
1369  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1370  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1371  --with-release-version=STRING
1372                          Use release version string in package name
1373  --with-appdefaultdir=<pathname>
1374                          specify directory for app-defaults files (default is
1375                          autodetected)
1376
1377Some influential environment variables:
1378  CC          C compiler command
1379  CFLAGS      C compiler flags
1380  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1381              nonstandard directory <lib dir>
1382  LIBS        libraries to pass to the linker, e.g. -l<library>
1383  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1384              you have headers in a nonstandard directory <include dir>
1385  CPP         C preprocessor
1386  PKG_CONFIG  path to pkg-config utility
1387  XCALC_CFLAGS
1388              C compiler flags for XCALC, overriding pkg-config
1389  XCALC_LIBS  linker flags for XCALC, overriding pkg-config
1390  APPDEFS_CFLAGS
1391              C compiler flags for APPDEFS, overriding pkg-config
1392  APPDEFS_LIBS
1393              linker flags for APPDEFS, overriding pkg-config
1394
1395Use these variables to override the choices made by `configure' or to help
1396it to find libraries and programs with nonstandard names/locations.
1397
1398Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1399_ACEOF
1400ac_status=$?
1401fi
1402
1403if test "$ac_init_help" = "recursive"; then
1404  # If there are subdirs, report their specific --help.
1405  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406    test -d "$ac_dir" ||
1407      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408      continue
1409    ac_builddir=.
1410
1411case "$ac_dir" in
1412.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413*)
1414  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1415  # A ".." for each directory in $ac_dir_suffix.
1416  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1417  case $ac_top_builddir_sub in
1418  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1420  esac ;;
1421esac
1422ac_abs_top_builddir=$ac_pwd
1423ac_abs_builddir=$ac_pwd$ac_dir_suffix
1424# for backward compatibility:
1425ac_top_builddir=$ac_top_build_prefix
1426
1427case $srcdir in
1428  .)  # We are building in place.
1429    ac_srcdir=.
1430    ac_top_srcdir=$ac_top_builddir_sub
1431    ac_abs_top_srcdir=$ac_pwd ;;
1432  [\\/]* | ?:[\\/]* )  # Absolute name.
1433    ac_srcdir=$srcdir$ac_dir_suffix;
1434    ac_top_srcdir=$srcdir
1435    ac_abs_top_srcdir=$srcdir ;;
1436  *) # Relative name.
1437    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438    ac_top_srcdir=$ac_top_build_prefix$srcdir
1439    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1440esac
1441ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1442
1443    cd "$ac_dir" || { ac_status=$?; continue; }
1444    # Check for guested configure.
1445    if test -f "$ac_srcdir/configure.gnu"; then
1446      echo &&
1447      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448    elif test -f "$ac_srcdir/configure"; then
1449      echo &&
1450      $SHELL "$ac_srcdir/configure" --help=recursive
1451    else
1452      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453    fi || ac_status=$?
1454    cd "$ac_pwd" || { ac_status=$?; break; }
1455  done
1456fi
1457
1458test -n "$ac_init_help" && exit $ac_status
1459if $ac_init_version; then
1460  cat <<\_ACEOF
1461xcalc configure 1.0.3
1462generated by GNU Autoconf 2.65
1463
1464Copyright (C) 2009 Free Software Foundation, Inc.
1465This configure script is free software; the Free Software Foundation
1466gives unlimited permission to copy, distribute and modify it.
1467_ACEOF
1468  exit
1469fi
1470
1471## ------------------------ ##
1472## Autoconf initialization. ##
1473## ------------------------ ##
1474
1475# ac_fn_c_try_compile LINENO
1476# --------------------------
1477# Try to compile conftest.$ac_ext, and return whether this succeeded.
1478ac_fn_c_try_compile ()
1479{
1480  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481  rm -f conftest.$ac_objext
1482  if { { ac_try="$ac_compile"
1483case "(($ac_try" in
1484  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485  *) ac_try_echo=$ac_try;;
1486esac
1487eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488$as_echo "$ac_try_echo"; } >&5
1489  (eval "$ac_compile") 2>conftest.err
1490  ac_status=$?
1491  if test -s conftest.err; then
1492    grep -v '^ *+' conftest.err >conftest.er1
1493    cat conftest.er1 >&5
1494    mv -f conftest.er1 conftest.err
1495  fi
1496  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497  test $ac_status = 0; } && {
1498	 test -z "$ac_c_werror_flag" ||
1499	 test ! -s conftest.err
1500       } && test -s conftest.$ac_objext; then :
1501  ac_retval=0
1502else
1503  $as_echo "$as_me: failed program was:" >&5
1504sed 's/^/| /' conftest.$ac_ext >&5
1505
1506	ac_retval=1
1507fi
1508  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509  as_fn_set_status $ac_retval
1510
1511} # ac_fn_c_try_compile
1512
1513# ac_fn_c_check_decl LINENO SYMBOL VAR
1514# ------------------------------------
1515# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1516ac_fn_c_check_decl ()
1517{
1518  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1520$as_echo_n "checking whether $2 is declared... " >&6; }
1521if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1522  $as_echo_n "(cached) " >&6
1523else
1524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1525/* end confdefs.h.  */
1526$4
1527int
1528main ()
1529{
1530#ifndef $2
1531  (void) $2;
1532#endif
1533
1534  ;
1535  return 0;
1536}
1537_ACEOF
1538if ac_fn_c_try_compile "$LINENO"; then :
1539  eval "$3=yes"
1540else
1541  eval "$3=no"
1542fi
1543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1544fi
1545eval ac_res=\$$3
1546	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1547$as_echo "$ac_res" >&6; }
1548  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1549
1550} # ac_fn_c_check_decl
1551
1552# ac_fn_c_try_cpp LINENO
1553# ----------------------
1554# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1555ac_fn_c_try_cpp ()
1556{
1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558  if { { ac_try="$ac_cpp conftest.$ac_ext"
1559case "(($ac_try" in
1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561  *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1566  ac_status=$?
1567  if test -s conftest.err; then
1568    grep -v '^ *+' conftest.err >conftest.er1
1569    cat conftest.er1 >&5
1570    mv -f conftest.er1 conftest.err
1571  fi
1572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573  test $ac_status = 0; } >/dev/null && {
1574	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1575	 test ! -s conftest.err
1576       }; then :
1577  ac_retval=0
1578else
1579  $as_echo "$as_me: failed program was:" >&5
1580sed 's/^/| /' conftest.$ac_ext >&5
1581
1582    ac_retval=1
1583fi
1584  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1585  as_fn_set_status $ac_retval
1586
1587} # ac_fn_c_try_cpp
1588
1589# ac_fn_c_try_run LINENO
1590# ----------------------
1591# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1592# that executables *can* be run.
1593ac_fn_c_try_run ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  if { { ac_try="$ac_link"
1597case "(($ac_try" in
1598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599  *) ac_try_echo=$ac_try;;
1600esac
1601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602$as_echo "$ac_try_echo"; } >&5
1603  (eval "$ac_link") 2>&5
1604  ac_status=$?
1605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1607  { { case "(($ac_try" in
1608  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1609  *) ac_try_echo=$ac_try;;
1610esac
1611eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612$as_echo "$ac_try_echo"; } >&5
1613  (eval "$ac_try") 2>&5
1614  ac_status=$?
1615  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616  test $ac_status = 0; }; }; then :
1617  ac_retval=0
1618else
1619  $as_echo "$as_me: program exited with status $ac_status" >&5
1620       $as_echo "$as_me: failed program was:" >&5
1621sed 's/^/| /' conftest.$ac_ext >&5
1622
1623       ac_retval=$ac_status
1624fi
1625  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1626  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1627  as_fn_set_status $ac_retval
1628
1629} # ac_fn_c_try_run
1630
1631# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1632# -------------------------------------------------------
1633# Tests whether HEADER exists and can be compiled using the include files in
1634# INCLUDES, setting the cache variable VAR accordingly.
1635ac_fn_c_check_header_compile ()
1636{
1637  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639$as_echo_n "checking for $2... " >&6; }
1640if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1641  $as_echo_n "(cached) " >&6
1642else
1643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644/* end confdefs.h.  */
1645$4
1646#include <$2>
1647_ACEOF
1648if ac_fn_c_try_compile "$LINENO"; then :
1649  eval "$3=yes"
1650else
1651  eval "$3=no"
1652fi
1653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654fi
1655eval ac_res=\$$3
1656	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657$as_echo "$ac_res" >&6; }
1658  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659
1660} # ac_fn_c_check_header_compile
1661cat >config.log <<_ACEOF
1662This file contains any messages produced by compilers while
1663running configure, to aid debugging if configure makes a mistake.
1664
1665It was created by xcalc $as_me 1.0.3, which was
1666generated by GNU Autoconf 2.65.  Invocation command line was
1667
1668  $ $0 $@
1669
1670_ACEOF
1671exec 5>>config.log
1672{
1673cat <<_ASUNAME
1674## --------- ##
1675## Platform. ##
1676## --------- ##
1677
1678hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1679uname -m = `(uname -m) 2>/dev/null || echo unknown`
1680uname -r = `(uname -r) 2>/dev/null || echo unknown`
1681uname -s = `(uname -s) 2>/dev/null || echo unknown`
1682uname -v = `(uname -v) 2>/dev/null || echo unknown`
1683
1684/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1685/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1686
1687/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1688/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1689/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1690/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1691/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1692/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1693/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1694
1695_ASUNAME
1696
1697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698for as_dir in $PATH
1699do
1700  IFS=$as_save_IFS
1701  test -z "$as_dir" && as_dir=.
1702    $as_echo "PATH: $as_dir"
1703  done
1704IFS=$as_save_IFS
1705
1706} >&5
1707
1708cat >&5 <<_ACEOF
1709
1710
1711## ----------- ##
1712## Core tests. ##
1713## ----------- ##
1714
1715_ACEOF
1716
1717
1718# Keep a trace of the command line.
1719# Strip out --no-create and --no-recursion so they do not pile up.
1720# Strip out --silent because we don't want to record it for future runs.
1721# Also quote any args containing shell meta-characters.
1722# Make two passes to allow for proper duplicate-argument suppression.
1723ac_configure_args=
1724ac_configure_args0=
1725ac_configure_args1=
1726ac_must_keep_next=false
1727for ac_pass in 1 2
1728do
1729  for ac_arg
1730  do
1731    case $ac_arg in
1732    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1733    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734    | -silent | --silent | --silen | --sile | --sil)
1735      continue ;;
1736    *\'*)
1737      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1738    esac
1739    case $ac_pass in
1740    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1741    2)
1742      as_fn_append ac_configure_args1 " '$ac_arg'"
1743      if test $ac_must_keep_next = true; then
1744	ac_must_keep_next=false # Got value, back to normal.
1745      else
1746	case $ac_arg in
1747	  *=* | --config-cache | -C | -disable-* | --disable-* \
1748	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1749	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1750	  | -with-* | --with-* | -without-* | --without-* | --x)
1751	    case "$ac_configure_args0 " in
1752	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1753	    esac
1754	    ;;
1755	  -* ) ac_must_keep_next=true ;;
1756	esac
1757      fi
1758      as_fn_append ac_configure_args " '$ac_arg'"
1759      ;;
1760    esac
1761  done
1762done
1763{ ac_configure_args0=; unset ac_configure_args0;}
1764{ ac_configure_args1=; unset ac_configure_args1;}
1765
1766# When interrupted or exit'd, cleanup temporary files, and complete
1767# config.log.  We remove comments because anyway the quotes in there
1768# would cause problems or look ugly.
1769# WARNING: Use '\'' to represent an apostrophe within the trap.
1770# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1771trap 'exit_status=$?
1772  # Save into config.log some information that might help in debugging.
1773  {
1774    echo
1775
1776    cat <<\_ASBOX
1777## ---------------- ##
1778## Cache variables. ##
1779## ---------------- ##
1780_ASBOX
1781    echo
1782    # The following way of writing the cache mishandles newlines in values,
1783(
1784  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1785    eval ac_val=\$$ac_var
1786    case $ac_val in #(
1787    *${as_nl}*)
1788      case $ac_var in #(
1789      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1790$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1791      esac
1792      case $ac_var in #(
1793      _ | IFS | as_nl) ;; #(
1794      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1795      *) { eval $ac_var=; unset $ac_var;} ;;
1796      esac ;;
1797    esac
1798  done
1799  (set) 2>&1 |
1800    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1801    *${as_nl}ac_space=\ *)
1802      sed -n \
1803	"s/'\''/'\''\\\\'\'''\''/g;
1804	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1805      ;; #(
1806    *)
1807      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1808      ;;
1809    esac |
1810    sort
1811)
1812    echo
1813
1814    cat <<\_ASBOX
1815## ----------------- ##
1816## Output variables. ##
1817## ----------------- ##
1818_ASBOX
1819    echo
1820    for ac_var in $ac_subst_vars
1821    do
1822      eval ac_val=\$$ac_var
1823      case $ac_val in
1824      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825      esac
1826      $as_echo "$ac_var='\''$ac_val'\''"
1827    done | sort
1828    echo
1829
1830    if test -n "$ac_subst_files"; then
1831      cat <<\_ASBOX
1832## ------------------- ##
1833## File substitutions. ##
1834## ------------------- ##
1835_ASBOX
1836      echo
1837      for ac_var in $ac_subst_files
1838      do
1839	eval ac_val=\$$ac_var
1840	case $ac_val in
1841	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842	esac
1843	$as_echo "$ac_var='\''$ac_val'\''"
1844      done | sort
1845      echo
1846    fi
1847
1848    if test -s confdefs.h; then
1849      cat <<\_ASBOX
1850## ----------- ##
1851## confdefs.h. ##
1852## ----------- ##
1853_ASBOX
1854      echo
1855      cat confdefs.h
1856      echo
1857    fi
1858    test "$ac_signal" != 0 &&
1859      $as_echo "$as_me: caught signal $ac_signal"
1860    $as_echo "$as_me: exit $exit_status"
1861  } >&5
1862  rm -f core *.core core.conftest.* &&
1863    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1864    exit $exit_status
1865' 0
1866for ac_signal in 1 2 13 15; do
1867  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1868done
1869ac_signal=0
1870
1871# confdefs.h avoids OS command line length limits that DEFS can exceed.
1872rm -f -r conftest* confdefs.h
1873
1874$as_echo "/* confdefs.h */" > confdefs.h
1875
1876# Predefined preprocessor variables.
1877
1878cat >>confdefs.h <<_ACEOF
1879#define PACKAGE_NAME "$PACKAGE_NAME"
1880_ACEOF
1881
1882cat >>confdefs.h <<_ACEOF
1883#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1884_ACEOF
1885
1886cat >>confdefs.h <<_ACEOF
1887#define PACKAGE_VERSION "$PACKAGE_VERSION"
1888_ACEOF
1889
1890cat >>confdefs.h <<_ACEOF
1891#define PACKAGE_STRING "$PACKAGE_STRING"
1892_ACEOF
1893
1894cat >>confdefs.h <<_ACEOF
1895#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1896_ACEOF
1897
1898cat >>confdefs.h <<_ACEOF
1899#define PACKAGE_URL "$PACKAGE_URL"
1900_ACEOF
1901
1902
1903# Let the site file select an alternate cache file if it wants to.
1904# Prefer an explicitly selected file to automatically selected ones.
1905ac_site_file1=NONE
1906ac_site_file2=NONE
1907if test -n "$CONFIG_SITE"; then
1908  ac_site_file1=$CONFIG_SITE
1909elif test "x$prefix" != xNONE; then
1910  ac_site_file1=$prefix/share/config.site
1911  ac_site_file2=$prefix/etc/config.site
1912else
1913  ac_site_file1=$ac_default_prefix/share/config.site
1914  ac_site_file2=$ac_default_prefix/etc/config.site
1915fi
1916for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1917do
1918  test "x$ac_site_file" = xNONE && continue
1919  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1920    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1921$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1922    sed 's/^/| /' "$ac_site_file" >&5
1923    . "$ac_site_file"
1924  fi
1925done
1926
1927if test -r "$cache_file"; then
1928  # Some versions of bash will fail to source /dev/null (special files
1929  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1930  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1932$as_echo "$as_me: loading cache $cache_file" >&6;}
1933    case $cache_file in
1934      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1935      *)                      . "./$cache_file";;
1936    esac
1937  fi
1938else
1939  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1940$as_echo "$as_me: creating cache $cache_file" >&6;}
1941  >$cache_file
1942fi
1943
1944# Check that the precious variables saved in the cache have kept the same
1945# value.
1946ac_cache_corrupted=false
1947for ac_var in $ac_precious_vars; do
1948  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1949  eval ac_new_set=\$ac_env_${ac_var}_set
1950  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1951  eval ac_new_val=\$ac_env_${ac_var}_value
1952  case $ac_old_set,$ac_new_set in
1953    set,)
1954      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1955$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1956      ac_cache_corrupted=: ;;
1957    ,set)
1958      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1959$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1960      ac_cache_corrupted=: ;;
1961    ,);;
1962    *)
1963      if test "x$ac_old_val" != "x$ac_new_val"; then
1964	# differences in whitespace do not lead to failure.
1965	ac_old_val_w=`echo x $ac_old_val`
1966	ac_new_val_w=`echo x $ac_new_val`
1967	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1968	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1969$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1970	  ac_cache_corrupted=:
1971	else
1972	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1973$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1974	  eval $ac_var=\$ac_old_val
1975	fi
1976	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1977$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1978	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1979$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1980      fi;;
1981  esac
1982  # Pass precious variables to config.status.
1983  if test "$ac_new_set" = set; then
1984    case $ac_new_val in
1985    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1986    *) ac_arg=$ac_var=$ac_new_val ;;
1987    esac
1988    case " $ac_configure_args " in
1989      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1990      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1991    esac
1992  fi
1993done
1994if $ac_cache_corrupted; then
1995  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1998$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1999  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2000fi
2001## -------------------- ##
2002## Main body of script. ##
2003## -------------------- ##
2004
2005ac_ext=c
2006ac_cpp='$CPP $CPPFLAGS'
2007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2009ac_compiler_gnu=$ac_cv_c_compiler_gnu
2010
2011
2012am__api_version='1.11'
2013
2014ac_aux_dir=
2015for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2016  for ac_t in install-sh install.sh shtool; do
2017    if test -f "$ac_dir/$ac_t"; then
2018      ac_aux_dir=$ac_dir
2019      ac_install_sh="$ac_aux_dir/$ac_t -c"
2020      break 2
2021    fi
2022  done
2023done
2024if test -z "$ac_aux_dir"; then
2025  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2026fi
2027
2028# These three variables are undocumented and unsupported,
2029# and are intended to be withdrawn in a future Autoconf release.
2030# They can cause serious problems if a builder's source tree is in a directory
2031# whose full name contains unusual characters.
2032ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2033ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2034ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2035
2036
2037# Find a good install program.  We prefer a C program (faster),
2038# so one script is as good as another.  But avoid the broken or
2039# incompatible versions:
2040# SysV /etc/install, /usr/sbin/install
2041# SunOS /usr/etc/install
2042# IRIX /sbin/install
2043# AIX /bin/install
2044# AmigaOS /C/install, which installs bootblocks on floppy discs
2045# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2046# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2047# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2048# OS/2's system install, which has a completely different semantic
2049# ./install, which can be erroneously created by make from ./install.sh.
2050# Reject install programs that cannot install multiple files.
2051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2052$as_echo_n "checking for a BSD-compatible install... " >&6; }
2053if test -z "$INSTALL"; then
2054if test "${ac_cv_path_install+set}" = set; then :
2055  $as_echo_n "(cached) " >&6
2056else
2057  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058for as_dir in $PATH
2059do
2060  IFS=$as_save_IFS
2061  test -z "$as_dir" && as_dir=.
2062    # Account for people who put trailing slashes in PATH elements.
2063case $as_dir/ in #((
2064  ./ | .// | /[cC]/* | \
2065  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2066  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2067  /usr/ucb/* ) ;;
2068  *)
2069    # OSF1 and SCO ODT 3.0 have their own names for install.
2070    # Don't use installbsd from OSF since it installs stuff as root
2071    # by default.
2072    for ac_prog in ginstall scoinst install; do
2073      for ac_exec_ext in '' $ac_executable_extensions; do
2074	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2075	  if test $ac_prog = install &&
2076	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2077	    # AIX install.  It has an incompatible calling convention.
2078	    :
2079	  elif test $ac_prog = install &&
2080	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2081	    # program-specific install script used by HP pwplus--don't use.
2082	    :
2083	  else
2084	    rm -rf conftest.one conftest.two conftest.dir
2085	    echo one > conftest.one
2086	    echo two > conftest.two
2087	    mkdir conftest.dir
2088	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2089	      test -s conftest.one && test -s conftest.two &&
2090	      test -s conftest.dir/conftest.one &&
2091	      test -s conftest.dir/conftest.two
2092	    then
2093	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2094	      break 3
2095	    fi
2096	  fi
2097	fi
2098      done
2099    done
2100    ;;
2101esac
2102
2103  done
2104IFS=$as_save_IFS
2105
2106rm -rf conftest.one conftest.two conftest.dir
2107
2108fi
2109  if test "${ac_cv_path_install+set}" = set; then
2110    INSTALL=$ac_cv_path_install
2111  else
2112    # As a last resort, use the slow shell script.  Don't cache a
2113    # value for INSTALL within a source directory, because that will
2114    # break other packages using the cache if that directory is
2115    # removed, or if the value is a relative name.
2116    INSTALL=$ac_install_sh
2117  fi
2118fi
2119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2120$as_echo "$INSTALL" >&6; }
2121
2122# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2123# It thinks the first close brace ends the variable substitution.
2124test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2125
2126test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2127
2128test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2129
2130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2131$as_echo_n "checking whether build environment is sane... " >&6; }
2132# Just in case
2133sleep 1
2134echo timestamp > conftest.file
2135# Reject unsafe characters in $srcdir or the absolute working directory
2136# name.  Accept space and tab only in the latter.
2137am_lf='
2138'
2139case `pwd` in
2140  *[\\\"\#\$\&\'\`$am_lf]*)
2141    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2142esac
2143case $srcdir in
2144  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2145    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2146esac
2147
2148# Do `set' in a subshell so we don't clobber the current shell's
2149# arguments.  Must try -L first in case configure is actually a
2150# symlink; some systems play weird games with the mod time of symlinks
2151# (eg FreeBSD returns the mod time of the symlink's containing
2152# directory).
2153if (
2154   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2155   if test "$*" = "X"; then
2156      # -L didn't work.
2157      set X `ls -t "$srcdir/configure" conftest.file`
2158   fi
2159   rm -f conftest.file
2160   if test "$*" != "X $srcdir/configure conftest.file" \
2161      && test "$*" != "X conftest.file $srcdir/configure"; then
2162
2163      # If neither matched, then we have a broken ls.  This can happen
2164      # if, for instance, CONFIG_SHELL is bash and it inherits a
2165      # broken ls alias from the environment.  This has actually
2166      # happened.  Such a system could not be considered "sane".
2167      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2168alias in your environment" "$LINENO" 5
2169   fi
2170
2171   test "$2" = conftest.file
2172   )
2173then
2174   # Ok.
2175   :
2176else
2177   as_fn_error "newly created file is older than distributed files!
2178Check your system clock" "$LINENO" 5
2179fi
2180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2181$as_echo "yes" >&6; }
2182test "$program_prefix" != NONE &&
2183  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2184# Use a double $ so make ignores it.
2185test "$program_suffix" != NONE &&
2186  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2187# Double any \ or $.
2188# By default was `s,x,x', remove it if useless.
2189ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2190program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2191
2192# expand $ac_aux_dir to an absolute path
2193am_aux_dir=`cd $ac_aux_dir && pwd`
2194
2195if test x"${MISSING+set}" != xset; then
2196  case $am_aux_dir in
2197  *\ * | *\	*)
2198    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2199  *)
2200    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2201  esac
2202fi
2203# Use eval to expand $SHELL
2204if eval "$MISSING --run true"; then
2205  am_missing_run="$MISSING --run "
2206else
2207  am_missing_run=
2208  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2209$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2210fi
2211
2212if test x"${install_sh}" != xset; then
2213  case $am_aux_dir in
2214  *\ * | *\	*)
2215    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2216  *)
2217    install_sh="\${SHELL} $am_aux_dir/install-sh"
2218  esac
2219fi
2220
2221# Installed binaries are usually stripped using `strip' when the user
2222# run `make install-strip'.  However `strip' might not be the right
2223# tool to use in cross-compilation environments, therefore Automake
2224# will honor the `STRIP' environment variable to overrule this program.
2225if test "$cross_compiling" != no; then
2226  if test -n "$ac_tool_prefix"; then
2227  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2228set dummy ${ac_tool_prefix}strip; ac_word=$2
2229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2230$as_echo_n "checking for $ac_word... " >&6; }
2231if test "${ac_cv_prog_STRIP+set}" = set; then :
2232  $as_echo_n "(cached) " >&6
2233else
2234  if test -n "$STRIP"; then
2235  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2236else
2237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238for as_dir in $PATH
2239do
2240  IFS=$as_save_IFS
2241  test -z "$as_dir" && as_dir=.
2242    for ac_exec_ext in '' $ac_executable_extensions; do
2243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2244    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2246    break 2
2247  fi
2248done
2249  done
2250IFS=$as_save_IFS
2251
2252fi
2253fi
2254STRIP=$ac_cv_prog_STRIP
2255if test -n "$STRIP"; then
2256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2257$as_echo "$STRIP" >&6; }
2258else
2259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260$as_echo "no" >&6; }
2261fi
2262
2263
2264fi
2265if test -z "$ac_cv_prog_STRIP"; then
2266  ac_ct_STRIP=$STRIP
2267  # Extract the first word of "strip", so it can be a program name with args.
2268set dummy strip; ac_word=$2
2269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2270$as_echo_n "checking for $ac_word... " >&6; }
2271if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2272  $as_echo_n "(cached) " >&6
2273else
2274  if test -n "$ac_ct_STRIP"; then
2275  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2276else
2277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278for as_dir in $PATH
2279do
2280  IFS=$as_save_IFS
2281  test -z "$as_dir" && as_dir=.
2282    for ac_exec_ext in '' $ac_executable_extensions; do
2283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284    ac_cv_prog_ac_ct_STRIP="strip"
2285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2286    break 2
2287  fi
2288done
2289  done
2290IFS=$as_save_IFS
2291
2292fi
2293fi
2294ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2295if test -n "$ac_ct_STRIP"; then
2296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2297$as_echo "$ac_ct_STRIP" >&6; }
2298else
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300$as_echo "no" >&6; }
2301fi
2302
2303  if test "x$ac_ct_STRIP" = x; then
2304    STRIP=":"
2305  else
2306    case $cross_compiling:$ac_tool_warned in
2307yes:)
2308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2310ac_tool_warned=yes ;;
2311esac
2312    STRIP=$ac_ct_STRIP
2313  fi
2314else
2315  STRIP="$ac_cv_prog_STRIP"
2316fi
2317
2318fi
2319INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2320
2321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2322$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2323if test -z "$MKDIR_P"; then
2324  if test "${ac_cv_path_mkdir+set}" = set; then :
2325  $as_echo_n "(cached) " >&6
2326else
2327  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2329do
2330  IFS=$as_save_IFS
2331  test -z "$as_dir" && as_dir=.
2332    for ac_prog in mkdir gmkdir; do
2333	 for ac_exec_ext in '' $ac_executable_extensions; do
2334	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2335	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2336	     'mkdir (GNU coreutils) '* | \
2337	     'mkdir (coreutils) '* | \
2338	     'mkdir (fileutils) '4.1*)
2339	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2340	       break 3;;
2341	   esac
2342	 done
2343       done
2344  done
2345IFS=$as_save_IFS
2346
2347fi
2348
2349  test -d ./--version && rmdir ./--version
2350  if test "${ac_cv_path_mkdir+set}" = set; then
2351    MKDIR_P="$ac_cv_path_mkdir -p"
2352  else
2353    # As a last resort, use the slow shell script.  Don't cache a
2354    # value for MKDIR_P within a source directory, because that will
2355    # break other packages using the cache if that directory is
2356    # removed, or if the value is a relative name.
2357    MKDIR_P="$ac_install_sh -d"
2358  fi
2359fi
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2361$as_echo "$MKDIR_P" >&6; }
2362
2363mkdir_p="$MKDIR_P"
2364case $mkdir_p in
2365  [\\/$]* | ?:[\\/]*) ;;
2366  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2367esac
2368
2369for ac_prog in gawk mawk nawk awk
2370do
2371  # Extract the first word of "$ac_prog", so it can be a program name with args.
2372set dummy $ac_prog; ac_word=$2
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374$as_echo_n "checking for $ac_word... " >&6; }
2375if test "${ac_cv_prog_AWK+set}" = set; then :
2376  $as_echo_n "(cached) " >&6
2377else
2378  if test -n "$AWK"; then
2379  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2380else
2381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382for as_dir in $PATH
2383do
2384  IFS=$as_save_IFS
2385  test -z "$as_dir" && as_dir=.
2386    for ac_exec_ext in '' $ac_executable_extensions; do
2387  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388    ac_cv_prog_AWK="$ac_prog"
2389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390    break 2
2391  fi
2392done
2393  done
2394IFS=$as_save_IFS
2395
2396fi
2397fi
2398AWK=$ac_cv_prog_AWK
2399if test -n "$AWK"; then
2400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2401$as_echo "$AWK" >&6; }
2402else
2403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404$as_echo "no" >&6; }
2405fi
2406
2407
2408  test -n "$AWK" && break
2409done
2410
2411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2412$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2413set x ${MAKE-make}
2414ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2415if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2416  $as_echo_n "(cached) " >&6
2417else
2418  cat >conftest.make <<\_ACEOF
2419SHELL = /bin/sh
2420all:
2421	@echo '@@@%%%=$(MAKE)=@@@%%%'
2422_ACEOF
2423# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2424case `${MAKE-make} -f conftest.make 2>/dev/null` in
2425  *@@@%%%=?*=@@@%%%*)
2426    eval ac_cv_prog_make_${ac_make}_set=yes;;
2427  *)
2428    eval ac_cv_prog_make_${ac_make}_set=no;;
2429esac
2430rm -f conftest.make
2431fi
2432if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2434$as_echo "yes" >&6; }
2435  SET_MAKE=
2436else
2437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438$as_echo "no" >&6; }
2439  SET_MAKE="MAKE=${MAKE-make}"
2440fi
2441
2442rm -rf .tst 2>/dev/null
2443mkdir .tst 2>/dev/null
2444if test -d .tst; then
2445  am__leading_dot=.
2446else
2447  am__leading_dot=_
2448fi
2449rmdir .tst 2>/dev/null
2450
2451if test "`cd $srcdir && pwd`" != "`pwd`"; then
2452  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2453  # is not polluted with repeated "-I."
2454  am__isrc=' -I$(srcdir)'
2455  # test to see if srcdir already configured
2456  if test -f $srcdir/config.status; then
2457    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2458  fi
2459fi
2460
2461# test whether we have cygpath
2462if test -z "$CYGPATH_W"; then
2463  if (cygpath --version) >/dev/null 2>/dev/null; then
2464    CYGPATH_W='cygpath -w'
2465  else
2466    CYGPATH_W=echo
2467  fi
2468fi
2469
2470
2471# Define the identity of the package.
2472 PACKAGE='xcalc'
2473 VERSION='1.0.3'
2474
2475
2476cat >>confdefs.h <<_ACEOF
2477#define PACKAGE "$PACKAGE"
2478_ACEOF
2479
2480
2481cat >>confdefs.h <<_ACEOF
2482#define VERSION "$VERSION"
2483_ACEOF
2484
2485# Some tools Automake needs.
2486
2487ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2488
2489
2490AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2491
2492
2493AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2494
2495
2496AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2497
2498
2499MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2500
2501# We need awk for the "check" target.  The system "awk" is bad on
2502# some platforms.
2503# Always define AMTAR for backward compatibility.
2504
2505AMTAR=${AMTAR-"${am_missing_run}tar"}
2506
2507am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2508
2509
2510
2511
2512
2513
2514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2515$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2516    # Check whether --enable-maintainer-mode was given.
2517if test "${enable_maintainer_mode+set}" = set; then :
2518  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2519else
2520  USE_MAINTAINER_MODE=no
2521fi
2522
2523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2524$as_echo "$USE_MAINTAINER_MODE" >&6; }
2525   if test $USE_MAINTAINER_MODE = yes; then
2526  MAINTAINER_MODE_TRUE=
2527  MAINTAINER_MODE_FALSE='#'
2528else
2529  MAINTAINER_MODE_TRUE='#'
2530  MAINTAINER_MODE_FALSE=
2531fi
2532
2533  MAINT=$MAINTAINER_MODE_TRUE
2534
2535
2536
2537# Require xorg-macros: XORG_DEFAULT_OPTIONS
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549DEPDIR="${am__leading_dot}deps"
2550
2551ac_config_commands="$ac_config_commands depfiles"
2552
2553
2554am_make=${MAKE-make}
2555cat > confinc << 'END'
2556am__doit:
2557	@echo this is the am__doit target
2558.PHONY: am__doit
2559END
2560# If we don't find an include directive, just comment out the code.
2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2562$as_echo_n "checking for style of include used by $am_make... " >&6; }
2563am__include="#"
2564am__quote=
2565_am_result=none
2566# First try GNU make style include.
2567echo "include confinc" > confmf
2568# Ignore all kinds of additional output from `make'.
2569case `$am_make -s -f confmf 2> /dev/null` in #(
2570*the\ am__doit\ target*)
2571  am__include=include
2572  am__quote=
2573  _am_result=GNU
2574  ;;
2575esac
2576# Now try BSD make style include.
2577if test "$am__include" = "#"; then
2578   echo '.include "confinc"' > confmf
2579   case `$am_make -s -f confmf 2> /dev/null` in #(
2580   *the\ am__doit\ target*)
2581     am__include=.include
2582     am__quote="\""
2583     _am_result=BSD
2584     ;;
2585   esac
2586fi
2587
2588
2589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2590$as_echo "$_am_result" >&6; }
2591rm -f confinc confmf
2592
2593# Check whether --enable-dependency-tracking was given.
2594if test "${enable_dependency_tracking+set}" = set; then :
2595  enableval=$enable_dependency_tracking;
2596fi
2597
2598if test "x$enable_dependency_tracking" != xno; then
2599  am_depcomp="$ac_aux_dir/depcomp"
2600  AMDEPBACKSLASH='\'
2601fi
2602 if test "x$enable_dependency_tracking" != xno; then
2603  AMDEP_TRUE=
2604  AMDEP_FALSE='#'
2605else
2606  AMDEP_TRUE='#'
2607  AMDEP_FALSE=
2608fi
2609
2610
2611ac_ext=c
2612ac_cpp='$CPP $CPPFLAGS'
2613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2615ac_compiler_gnu=$ac_cv_c_compiler_gnu
2616if test -n "$ac_tool_prefix"; then
2617  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2618set dummy ${ac_tool_prefix}gcc; ac_word=$2
2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620$as_echo_n "checking for $ac_word... " >&6; }
2621if test "${ac_cv_prog_CC+set}" = set; then :
2622  $as_echo_n "(cached) " >&6
2623else
2624  if test -n "$CC"; then
2625  ac_cv_prog_CC="$CC" # Let the user override the test.
2626else
2627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628for as_dir in $PATH
2629do
2630  IFS=$as_save_IFS
2631  test -z "$as_dir" && as_dir=.
2632    for ac_exec_ext in '' $ac_executable_extensions; do
2633  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2635    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636    break 2
2637  fi
2638done
2639  done
2640IFS=$as_save_IFS
2641
2642fi
2643fi
2644CC=$ac_cv_prog_CC
2645if test -n "$CC"; then
2646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2647$as_echo "$CC" >&6; }
2648else
2649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650$as_echo "no" >&6; }
2651fi
2652
2653
2654fi
2655if test -z "$ac_cv_prog_CC"; then
2656  ac_ct_CC=$CC
2657  # Extract the first word of "gcc", so it can be a program name with args.
2658set dummy gcc; ac_word=$2
2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660$as_echo_n "checking for $ac_word... " >&6; }
2661if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2662  $as_echo_n "(cached) " >&6
2663else
2664  if test -n "$ac_ct_CC"; then
2665  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2666else
2667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668for as_dir in $PATH
2669do
2670  IFS=$as_save_IFS
2671  test -z "$as_dir" && as_dir=.
2672    for ac_exec_ext in '' $ac_executable_extensions; do
2673  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674    ac_cv_prog_ac_ct_CC="gcc"
2675    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676    break 2
2677  fi
2678done
2679  done
2680IFS=$as_save_IFS
2681
2682fi
2683fi
2684ac_ct_CC=$ac_cv_prog_ac_ct_CC
2685if test -n "$ac_ct_CC"; then
2686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2687$as_echo "$ac_ct_CC" >&6; }
2688else
2689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690$as_echo "no" >&6; }
2691fi
2692
2693  if test "x$ac_ct_CC" = x; then
2694    CC=""
2695  else
2696    case $cross_compiling:$ac_tool_warned in
2697yes:)
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2700ac_tool_warned=yes ;;
2701esac
2702    CC=$ac_ct_CC
2703  fi
2704else
2705  CC="$ac_cv_prog_CC"
2706fi
2707
2708if test -z "$CC"; then
2709          if test -n "$ac_tool_prefix"; then
2710    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2711set dummy ${ac_tool_prefix}cc; ac_word=$2
2712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713$as_echo_n "checking for $ac_word... " >&6; }
2714if test "${ac_cv_prog_CC+set}" = set; then :
2715  $as_echo_n "(cached) " >&6
2716else
2717  if test -n "$CC"; then
2718  ac_cv_prog_CC="$CC" # Let the user override the test.
2719else
2720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721for as_dir in $PATH
2722do
2723  IFS=$as_save_IFS
2724  test -z "$as_dir" && as_dir=.
2725    for ac_exec_ext in '' $ac_executable_extensions; do
2726  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727    ac_cv_prog_CC="${ac_tool_prefix}cc"
2728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729    break 2
2730  fi
2731done
2732  done
2733IFS=$as_save_IFS
2734
2735fi
2736fi
2737CC=$ac_cv_prog_CC
2738if test -n "$CC"; then
2739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2740$as_echo "$CC" >&6; }
2741else
2742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743$as_echo "no" >&6; }
2744fi
2745
2746
2747  fi
2748fi
2749if test -z "$CC"; then
2750  # Extract the first word of "cc", so it can be a program name with args.
2751set dummy cc; ac_word=$2
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753$as_echo_n "checking for $ac_word... " >&6; }
2754if test "${ac_cv_prog_CC+set}" = set; then :
2755  $as_echo_n "(cached) " >&6
2756else
2757  if test -n "$CC"; then
2758  ac_cv_prog_CC="$CC" # Let the user override the test.
2759else
2760  ac_prog_rejected=no
2761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH
2763do
2764  IFS=$as_save_IFS
2765  test -z "$as_dir" && as_dir=.
2766    for ac_exec_ext in '' $ac_executable_extensions; do
2767  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2768    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2769       ac_prog_rejected=yes
2770       continue
2771     fi
2772    ac_cv_prog_CC="cc"
2773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774    break 2
2775  fi
2776done
2777  done
2778IFS=$as_save_IFS
2779
2780if test $ac_prog_rejected = yes; then
2781  # We found a bogon in the path, so make sure we never use it.
2782  set dummy $ac_cv_prog_CC
2783  shift
2784  if test $# != 0; then
2785    # We chose a different compiler from the bogus one.
2786    # However, it has the same basename, so the bogon will be chosen
2787    # first if we set CC to just the basename; use the full file name.
2788    shift
2789    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2790  fi
2791fi
2792fi
2793fi
2794CC=$ac_cv_prog_CC
2795if test -n "$CC"; then
2796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2797$as_echo "$CC" >&6; }
2798else
2799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800$as_echo "no" >&6; }
2801fi
2802
2803
2804fi
2805if test -z "$CC"; then
2806  if test -n "$ac_tool_prefix"; then
2807  for ac_prog in cl.exe
2808  do
2809    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2810set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812$as_echo_n "checking for $ac_word... " >&6; }
2813if test "${ac_cv_prog_CC+set}" = set; then :
2814  $as_echo_n "(cached) " >&6
2815else
2816  if test -n "$CC"; then
2817  ac_cv_prog_CC="$CC" # Let the user override the test.
2818else
2819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820for as_dir in $PATH
2821do
2822  IFS=$as_save_IFS
2823  test -z "$as_dir" && as_dir=.
2824    for ac_exec_ext in '' $ac_executable_extensions; do
2825  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828    break 2
2829  fi
2830done
2831  done
2832IFS=$as_save_IFS
2833
2834fi
2835fi
2836CC=$ac_cv_prog_CC
2837if test -n "$CC"; then
2838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2839$as_echo "$CC" >&6; }
2840else
2841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842$as_echo "no" >&6; }
2843fi
2844
2845
2846    test -n "$CC" && break
2847  done
2848fi
2849if test -z "$CC"; then
2850  ac_ct_CC=$CC
2851  for ac_prog in cl.exe
2852do
2853  # Extract the first word of "$ac_prog", so it can be a program name with args.
2854set dummy $ac_prog; ac_word=$2
2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856$as_echo_n "checking for $ac_word... " >&6; }
2857if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2858  $as_echo_n "(cached) " >&6
2859else
2860  if test -n "$ac_ct_CC"; then
2861  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2862else
2863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864for as_dir in $PATH
2865do
2866  IFS=$as_save_IFS
2867  test -z "$as_dir" && as_dir=.
2868    for ac_exec_ext in '' $ac_executable_extensions; do
2869  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870    ac_cv_prog_ac_ct_CC="$ac_prog"
2871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872    break 2
2873  fi
2874done
2875  done
2876IFS=$as_save_IFS
2877
2878fi
2879fi
2880ac_ct_CC=$ac_cv_prog_ac_ct_CC
2881if test -n "$ac_ct_CC"; then
2882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2883$as_echo "$ac_ct_CC" >&6; }
2884else
2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886$as_echo "no" >&6; }
2887fi
2888
2889
2890  test -n "$ac_ct_CC" && break
2891done
2892
2893  if test "x$ac_ct_CC" = x; then
2894    CC=""
2895  else
2896    case $cross_compiling:$ac_tool_warned in
2897yes:)
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2899$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2900ac_tool_warned=yes ;;
2901esac
2902    CC=$ac_ct_CC
2903  fi
2904fi
2905
2906fi
2907
2908
2909test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2911as_fn_error "no acceptable C compiler found in \$PATH
2912See \`config.log' for more details." "$LINENO" 5; }
2913
2914# Provide some information about the compiler.
2915$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2916set X $ac_compile
2917ac_compiler=$2
2918for ac_option in --version -v -V -qversion; do
2919  { { ac_try="$ac_compiler $ac_option >&5"
2920case "(($ac_try" in
2921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922  *) ac_try_echo=$ac_try;;
2923esac
2924eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2925$as_echo "$ac_try_echo"; } >&5
2926  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2927  ac_status=$?
2928  if test -s conftest.err; then
2929    sed '10a\
2930... rest of stderr output deleted ...
2931         10q' conftest.err >conftest.er1
2932    cat conftest.er1 >&5
2933  fi
2934  rm -f conftest.er1 conftest.err
2935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936  test $ac_status = 0; }
2937done
2938
2939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940/* end confdefs.h.  */
2941
2942int
2943main ()
2944{
2945
2946  ;
2947  return 0;
2948}
2949_ACEOF
2950ac_clean_files_save=$ac_clean_files
2951ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2952# Try to create an executable without -o first, disregard a.out.
2953# It will help us diagnose broken compilers, and finding out an intuition
2954# of exeext.
2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2956$as_echo_n "checking whether the C compiler works... " >&6; }
2957ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2958
2959# The possible output files:
2960ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2961
2962ac_rmfiles=
2963for ac_file in $ac_files
2964do
2965  case $ac_file in
2966    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2968  esac
2969done
2970rm -f $ac_rmfiles
2971
2972if { { ac_try="$ac_link_default"
2973case "(($ac_try" in
2974  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975  *) ac_try_echo=$ac_try;;
2976esac
2977eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978$as_echo "$ac_try_echo"; } >&5
2979  (eval "$ac_link_default") 2>&5
2980  ac_status=$?
2981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2982  test $ac_status = 0; }; then :
2983  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2984# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2985# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2986# so that the user can short-circuit this test for compilers unknown to
2987# Autoconf.
2988for ac_file in $ac_files ''
2989do
2990  test -f "$ac_file" || continue
2991  case $ac_file in
2992    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2993	;;
2994    [ab].out )
2995	# We found the default executable, but exeext='' is most
2996	# certainly right.
2997	break;;
2998    *.* )
2999	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3000	then :; else
3001	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3002	fi
3003	# We set ac_cv_exeext here because the later test for it is not
3004	# safe: cross compilers may not add the suffix if given an `-o'
3005	# argument, so we may need to know it at that point already.
3006	# Even if this section looks crufty: it has the advantage of
3007	# actually working.
3008	break;;
3009    * )
3010	break;;
3011  esac
3012done
3013test "$ac_cv_exeext" = no && ac_cv_exeext=
3014
3015else
3016  ac_file=''
3017fi
3018if test -z "$ac_file"; then :
3019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020$as_echo "no" >&6; }
3021$as_echo "$as_me: failed program was:" >&5
3022sed 's/^/| /' conftest.$ac_ext >&5
3023
3024{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026{ as_fn_set_status 77
3027as_fn_error "C compiler cannot create executables
3028See \`config.log' for more details." "$LINENO" 5; }; }
3029else
3030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3031$as_echo "yes" >&6; }
3032fi
3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3034$as_echo_n "checking for C compiler default output file name... " >&6; }
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3036$as_echo "$ac_file" >&6; }
3037ac_exeext=$ac_cv_exeext
3038
3039rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3040ac_clean_files=$ac_clean_files_save
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3042$as_echo_n "checking for suffix of executables... " >&6; }
3043if { { ac_try="$ac_link"
3044case "(($ac_try" in
3045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046  *) ac_try_echo=$ac_try;;
3047esac
3048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049$as_echo "$ac_try_echo"; } >&5
3050  (eval "$ac_link") 2>&5
3051  ac_status=$?
3052  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053  test $ac_status = 0; }; then :
3054  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3055# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3056# work properly (i.e., refer to `conftest.exe'), while it won't with
3057# `rm'.
3058for ac_file in conftest.exe conftest conftest.*; do
3059  test -f "$ac_file" || continue
3060  case $ac_file in
3061    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3062    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3063	  break;;
3064    * ) break;;
3065  esac
3066done
3067else
3068  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070as_fn_error "cannot compute suffix of executables: cannot compile and link
3071See \`config.log' for more details." "$LINENO" 5; }
3072fi
3073rm -f conftest conftest$ac_cv_exeext
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3075$as_echo "$ac_cv_exeext" >&6; }
3076
3077rm -f conftest.$ac_ext
3078EXEEXT=$ac_cv_exeext
3079ac_exeext=$EXEEXT
3080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081/* end confdefs.h.  */
3082#include <stdio.h>
3083int
3084main ()
3085{
3086FILE *f = fopen ("conftest.out", "w");
3087 return ferror (f) || fclose (f) != 0;
3088
3089  ;
3090  return 0;
3091}
3092_ACEOF
3093ac_clean_files="$ac_clean_files conftest.out"
3094# Check that the compiler produces executables we can run.  If not, either
3095# the compiler is broken, or we cross compile.
3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3097$as_echo_n "checking whether we are cross compiling... " >&6; }
3098if test "$cross_compiling" != yes; then
3099  { { ac_try="$ac_link"
3100case "(($ac_try" in
3101  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102  *) ac_try_echo=$ac_try;;
3103esac
3104eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105$as_echo "$ac_try_echo"; } >&5
3106  (eval "$ac_link") 2>&5
3107  ac_status=$?
3108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109  test $ac_status = 0; }
3110  if { ac_try='./conftest$ac_cv_exeext'
3111  { { case "(($ac_try" in
3112  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113  *) ac_try_echo=$ac_try;;
3114esac
3115eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116$as_echo "$ac_try_echo"; } >&5
3117  (eval "$ac_try") 2>&5
3118  ac_status=$?
3119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120  test $ac_status = 0; }; }; then
3121    cross_compiling=no
3122  else
3123    if test "$cross_compiling" = maybe; then
3124	cross_compiling=yes
3125    else
3126	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128as_fn_error "cannot run C compiled programs.
3129If you meant to cross compile, use \`--host'.
3130See \`config.log' for more details." "$LINENO" 5; }
3131    fi
3132  fi
3133fi
3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3135$as_echo "$cross_compiling" >&6; }
3136
3137rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3138ac_clean_files=$ac_clean_files_save
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3140$as_echo_n "checking for suffix of object files... " >&6; }
3141if test "${ac_cv_objext+set}" = set; then :
3142  $as_echo_n "(cached) " >&6
3143else
3144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145/* end confdefs.h.  */
3146
3147int
3148main ()
3149{
3150
3151  ;
3152  return 0;
3153}
3154_ACEOF
3155rm -f conftest.o conftest.obj
3156if { { ac_try="$ac_compile"
3157case "(($ac_try" in
3158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159  *) ac_try_echo=$ac_try;;
3160esac
3161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162$as_echo "$ac_try_echo"; } >&5
3163  (eval "$ac_compile") 2>&5
3164  ac_status=$?
3165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166  test $ac_status = 0; }; then :
3167  for ac_file in conftest.o conftest.obj conftest.*; do
3168  test -f "$ac_file" || continue;
3169  case $ac_file in
3170    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3171    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3172       break;;
3173  esac
3174done
3175else
3176  $as_echo "$as_me: failed program was:" >&5
3177sed 's/^/| /' conftest.$ac_ext >&5
3178
3179{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181as_fn_error "cannot compute suffix of object files: cannot compile
3182See \`config.log' for more details." "$LINENO" 5; }
3183fi
3184rm -f conftest.$ac_cv_objext conftest.$ac_ext
3185fi
3186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3187$as_echo "$ac_cv_objext" >&6; }
3188OBJEXT=$ac_cv_objext
3189ac_objext=$OBJEXT
3190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3191$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3192if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3193  $as_echo_n "(cached) " >&6
3194else
3195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196/* end confdefs.h.  */
3197
3198int
3199main ()
3200{
3201#ifndef __GNUC__
3202       choke me
3203#endif
3204
3205  ;
3206  return 0;
3207}
3208_ACEOF
3209if ac_fn_c_try_compile "$LINENO"; then :
3210  ac_compiler_gnu=yes
3211else
3212  ac_compiler_gnu=no
3213fi
3214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3215ac_cv_c_compiler_gnu=$ac_compiler_gnu
3216
3217fi
3218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3219$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3220if test $ac_compiler_gnu = yes; then
3221  GCC=yes
3222else
3223  GCC=
3224fi
3225ac_test_CFLAGS=${CFLAGS+set}
3226ac_save_CFLAGS=$CFLAGS
3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3228$as_echo_n "checking whether $CC accepts -g... " >&6; }
3229if test "${ac_cv_prog_cc_g+set}" = set; then :
3230  $as_echo_n "(cached) " >&6
3231else
3232  ac_save_c_werror_flag=$ac_c_werror_flag
3233   ac_c_werror_flag=yes
3234   ac_cv_prog_cc_g=no
3235   CFLAGS="-g"
3236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237/* end confdefs.h.  */
3238
3239int
3240main ()
3241{
3242
3243  ;
3244  return 0;
3245}
3246_ACEOF
3247if ac_fn_c_try_compile "$LINENO"; then :
3248  ac_cv_prog_cc_g=yes
3249else
3250  CFLAGS=""
3251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252/* end confdefs.h.  */
3253
3254int
3255main ()
3256{
3257
3258  ;
3259  return 0;
3260}
3261_ACEOF
3262if ac_fn_c_try_compile "$LINENO"; then :
3263
3264else
3265  ac_c_werror_flag=$ac_save_c_werror_flag
3266	 CFLAGS="-g"
3267	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268/* end confdefs.h.  */
3269
3270int
3271main ()
3272{
3273
3274  ;
3275  return 0;
3276}
3277_ACEOF
3278if ac_fn_c_try_compile "$LINENO"; then :
3279  ac_cv_prog_cc_g=yes
3280fi
3281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282fi
3283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284fi
3285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286   ac_c_werror_flag=$ac_save_c_werror_flag
3287fi
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3289$as_echo "$ac_cv_prog_cc_g" >&6; }
3290if test "$ac_test_CFLAGS" = set; then
3291  CFLAGS=$ac_save_CFLAGS
3292elif test $ac_cv_prog_cc_g = yes; then
3293  if test "$GCC" = yes; then
3294    CFLAGS="-g -O2"
3295  else
3296    CFLAGS="-g"
3297  fi
3298else
3299  if test "$GCC" = yes; then
3300    CFLAGS="-O2"
3301  else
3302    CFLAGS=
3303  fi
3304fi
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3306$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3307if test "${ac_cv_prog_cc_c89+set}" = set; then :
3308  $as_echo_n "(cached) " >&6
3309else
3310  ac_cv_prog_cc_c89=no
3311ac_save_CC=$CC
3312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313/* end confdefs.h.  */
3314#include <stdarg.h>
3315#include <stdio.h>
3316#include <sys/types.h>
3317#include <sys/stat.h>
3318/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3319struct buf { int x; };
3320FILE * (*rcsopen) (struct buf *, struct stat *, int);
3321static char *e (p, i)
3322     char **p;
3323     int i;
3324{
3325  return p[i];
3326}
3327static char *f (char * (*g) (char **, int), char **p, ...)
3328{
3329  char *s;
3330  va_list v;
3331  va_start (v,p);
3332  s = g (p, va_arg (v,int));
3333  va_end (v);
3334  return s;
3335}
3336
3337/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3338   function prototypes and stuff, but not '\xHH' hex character constants.
3339   These don't provoke an error unfortunately, instead are silently treated
3340   as 'x'.  The following induces an error, until -std is added to get
3341   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3342   array size at least.  It's necessary to write '\x00'==0 to get something
3343   that's true only with -std.  */
3344int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3345
3346/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3347   inside strings and character constants.  */
3348#define FOO(x) 'x'
3349int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3350
3351int test (int i, double x);
3352struct s1 {int (*f) (int a);};
3353struct s2 {int (*f) (double a);};
3354int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3355int argc;
3356char **argv;
3357int
3358main ()
3359{
3360return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3361  ;
3362  return 0;
3363}
3364_ACEOF
3365for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3366	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3367do
3368  CC="$ac_save_CC $ac_arg"
3369  if ac_fn_c_try_compile "$LINENO"; then :
3370  ac_cv_prog_cc_c89=$ac_arg
3371fi
3372rm -f core conftest.err conftest.$ac_objext
3373  test "x$ac_cv_prog_cc_c89" != "xno" && break
3374done
3375rm -f conftest.$ac_ext
3376CC=$ac_save_CC
3377
3378fi
3379# AC_CACHE_VAL
3380case "x$ac_cv_prog_cc_c89" in
3381  x)
3382    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3383$as_echo "none needed" >&6; } ;;
3384  xno)
3385    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3386$as_echo "unsupported" >&6; } ;;
3387  *)
3388    CC="$CC $ac_cv_prog_cc_c89"
3389    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3390$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3391esac
3392if test "x$ac_cv_prog_cc_c89" != xno; then :
3393
3394fi
3395
3396ac_ext=c
3397ac_cpp='$CPP $CPPFLAGS'
3398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401
3402depcc="$CC"   am_compiler_list=
3403
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3405$as_echo_n "checking dependency style of $depcc... " >&6; }
3406if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3407  $as_echo_n "(cached) " >&6
3408else
3409  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3410  # We make a subdir and do the tests there.  Otherwise we can end up
3411  # making bogus files that we don't know about and never remove.  For
3412  # instance it was reported that on HP-UX the gcc test will end up
3413  # making a dummy file named `D' -- because `-MD' means `put the output
3414  # in D'.
3415  mkdir conftest.dir
3416  # Copy depcomp to subdir because otherwise we won't find it if we're
3417  # using a relative directory.
3418  cp "$am_depcomp" conftest.dir
3419  cd conftest.dir
3420  # We will build objects and dependencies in a subdirectory because
3421  # it helps to detect inapplicable dependency modes.  For instance
3422  # both Tru64's cc and ICC support -MD to output dependencies as a
3423  # side effect of compilation, but ICC will put the dependencies in
3424  # the current directory while Tru64 will put them in the object
3425  # directory.
3426  mkdir sub
3427
3428  am_cv_CC_dependencies_compiler_type=none
3429  if test "$am_compiler_list" = ""; then
3430     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431  fi
3432  am__universal=false
3433  case " $depcc " in #(
3434     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3435     esac
3436
3437  for depmode in $am_compiler_list; do
3438    # Setup a source with many dependencies, because some compilers
3439    # like to wrap large dependency lists on column 80 (with \), and
3440    # we should not choose a depcomp mode which is confused by this.
3441    #
3442    # We need to recreate these files for each test, as the compiler may
3443    # overwrite some of them when testing with obscure command lines.
3444    # This happens at least with the AIX C compiler.
3445    : > sub/conftest.c
3446    for i in 1 2 3 4 5 6; do
3447      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3448      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3449      # Solaris 8's {/usr,}/bin/sh.
3450      touch sub/conftst$i.h
3451    done
3452    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3453
3454    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3455    # mode.  It turns out that the SunPro C++ compiler does not properly
3456    # handle `-M -o', and we need to detect this.  Also, some Intel
3457    # versions had trouble with output in subdirs
3458    am__obj=sub/conftest.${OBJEXT-o}
3459    am__minus_obj="-o $am__obj"
3460    case $depmode in
3461    gcc)
3462      # This depmode causes a compiler race in universal mode.
3463      test "$am__universal" = false || continue
3464      ;;
3465    nosideeffect)
3466      # after this tag, mechanisms are not by side-effect, so they'll
3467      # only be used when explicitly requested
3468      if test "x$enable_dependency_tracking" = xyes; then
3469	continue
3470      else
3471	break
3472      fi
3473      ;;
3474    msvisualcpp | msvcmsys)
3475      # This compiler won't grok `-c -o', but also, the minuso test has
3476      # not run yet.  These depmodes are late enough in the game, and
3477      # so weak that their functioning should not be impacted.
3478      am__obj=conftest.${OBJEXT-o}
3479      am__minus_obj=
3480      ;;
3481    none) break ;;
3482    esac
3483    if depmode=$depmode \
3484       source=sub/conftest.c object=$am__obj \
3485       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3486       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3487         >/dev/null 2>conftest.err &&
3488       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3489       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3490       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3491       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3492      # icc doesn't choke on unknown options, it will just issue warnings
3493      # or remarks (even with -Werror).  So we grep stderr for any message
3494      # that says an option was ignored or not supported.
3495      # When given -MP, icc 7.0 and 7.1 complain thusly:
3496      #   icc: Command line warning: ignoring option '-M'; no argument required
3497      # The diagnosis changed in icc 8.0:
3498      #   icc: Command line remark: option '-MP' not supported
3499      if (grep 'ignoring option' conftest.err ||
3500          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3501        am_cv_CC_dependencies_compiler_type=$depmode
3502        break
3503      fi
3504    fi
3505  done
3506
3507  cd ..
3508  rm -rf conftest.dir
3509else
3510  am_cv_CC_dependencies_compiler_type=none
3511fi
3512
3513fi
3514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3515$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3516CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3517
3518 if
3519  test "x$enable_dependency_tracking" != xno \
3520  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3521  am__fastdepCC_TRUE=
3522  am__fastdepCC_FALSE='#'
3523else
3524  am__fastdepCC_TRUE='#'
3525  am__fastdepCC_FALSE=
3526fi
3527
3528
3529
3530ac_ext=c
3531ac_cpp='$CPP $CPPFLAGS'
3532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3536$as_echo_n "checking how to run the C preprocessor... " >&6; }
3537# On Suns, sometimes $CPP names a directory.
3538if test -n "$CPP" && test -d "$CPP"; then
3539  CPP=
3540fi
3541if test -z "$CPP"; then
3542  if test "${ac_cv_prog_CPP+set}" = set; then :
3543  $as_echo_n "(cached) " >&6
3544else
3545      # Double quotes because CPP needs to be expanded
3546    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3547    do
3548      ac_preproc_ok=false
3549for ac_c_preproc_warn_flag in '' yes
3550do
3551  # Use a header file that comes with gcc, so configuring glibc
3552  # with a fresh cross-compiler works.
3553  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3554  # <limits.h> exists even on freestanding compilers.
3555  # On the NeXT, cc -E runs the code through the compiler's parser,
3556  # not just through cpp. "Syntax error" is here to catch this case.
3557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558/* end confdefs.h.  */
3559#ifdef __STDC__
3560# include <limits.h>
3561#else
3562# include <assert.h>
3563#endif
3564		     Syntax error
3565_ACEOF
3566if ac_fn_c_try_cpp "$LINENO"; then :
3567
3568else
3569  # Broken: fails on valid input.
3570continue
3571fi
3572rm -f conftest.err conftest.$ac_ext
3573
3574  # OK, works on sane cases.  Now check whether nonexistent headers
3575  # can be detected and how.
3576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577/* end confdefs.h.  */
3578#include <ac_nonexistent.h>
3579_ACEOF
3580if ac_fn_c_try_cpp "$LINENO"; then :
3581  # Broken: success on invalid input.
3582continue
3583else
3584  # Passes both tests.
3585ac_preproc_ok=:
3586break
3587fi
3588rm -f conftest.err conftest.$ac_ext
3589
3590done
3591# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3592rm -f conftest.err conftest.$ac_ext
3593if $ac_preproc_ok; then :
3594  break
3595fi
3596
3597    done
3598    ac_cv_prog_CPP=$CPP
3599
3600fi
3601  CPP=$ac_cv_prog_CPP
3602else
3603  ac_cv_prog_CPP=$CPP
3604fi
3605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3606$as_echo "$CPP" >&6; }
3607ac_preproc_ok=false
3608for ac_c_preproc_warn_flag in '' yes
3609do
3610  # Use a header file that comes with gcc, so configuring glibc
3611  # with a fresh cross-compiler works.
3612  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3613  # <limits.h> exists even on freestanding compilers.
3614  # On the NeXT, cc -E runs the code through the compiler's parser,
3615  # not just through cpp. "Syntax error" is here to catch this case.
3616  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617/* end confdefs.h.  */
3618#ifdef __STDC__
3619# include <limits.h>
3620#else
3621# include <assert.h>
3622#endif
3623		     Syntax error
3624_ACEOF
3625if ac_fn_c_try_cpp "$LINENO"; then :
3626
3627else
3628  # Broken: fails on valid input.
3629continue
3630fi
3631rm -f conftest.err conftest.$ac_ext
3632
3633  # OK, works on sane cases.  Now check whether nonexistent headers
3634  # can be detected and how.
3635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636/* end confdefs.h.  */
3637#include <ac_nonexistent.h>
3638_ACEOF
3639if ac_fn_c_try_cpp "$LINENO"; then :
3640  # Broken: success on invalid input.
3641continue
3642else
3643  # Passes both tests.
3644ac_preproc_ok=:
3645break
3646fi
3647rm -f conftest.err conftest.$ac_ext
3648
3649done
3650# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3651rm -f conftest.err conftest.$ac_ext
3652if $ac_preproc_ok; then :
3653
3654else
3655  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657as_fn_error "C preprocessor \"$CPP\" fails sanity check
3658See \`config.log' for more details." "$LINENO" 5; }
3659fi
3660
3661ac_ext=c
3662ac_cpp='$CPP $CPPFLAGS'
3663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666
3667
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3669$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3670if test "${ac_cv_path_GREP+set}" = set; then :
3671  $as_echo_n "(cached) " >&6
3672else
3673  if test -z "$GREP"; then
3674  ac_path_GREP_found=false
3675  # Loop through the user's path and test for each of PROGNAME-LIST
3676  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3678do
3679  IFS=$as_save_IFS
3680  test -z "$as_dir" && as_dir=.
3681    for ac_prog in grep ggrep; do
3682    for ac_exec_ext in '' $ac_executable_extensions; do
3683      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3684      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3685# Check for GNU ac_path_GREP and select it if it is found.
3686  # Check for GNU $ac_path_GREP
3687case `"$ac_path_GREP" --version 2>&1` in
3688*GNU*)
3689  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3690*)
3691  ac_count=0
3692  $as_echo_n 0123456789 >"conftest.in"
3693  while :
3694  do
3695    cat "conftest.in" "conftest.in" >"conftest.tmp"
3696    mv "conftest.tmp" "conftest.in"
3697    cp "conftest.in" "conftest.nl"
3698    $as_echo 'GREP' >> "conftest.nl"
3699    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3700    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3701    as_fn_arith $ac_count + 1 && ac_count=$as_val
3702    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3703      # Best one so far, save it but keep looking for a better one
3704      ac_cv_path_GREP="$ac_path_GREP"
3705      ac_path_GREP_max=$ac_count
3706    fi
3707    # 10*(2^10) chars as input seems more than enough
3708    test $ac_count -gt 10 && break
3709  done
3710  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3711esac
3712
3713      $ac_path_GREP_found && break 3
3714    done
3715  done
3716  done
3717IFS=$as_save_IFS
3718  if test -z "$ac_cv_path_GREP"; then
3719    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3720  fi
3721else
3722  ac_cv_path_GREP=$GREP
3723fi
3724
3725fi
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3727$as_echo "$ac_cv_path_GREP" >&6; }
3728 GREP="$ac_cv_path_GREP"
3729
3730
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3732$as_echo_n "checking for egrep... " >&6; }
3733if test "${ac_cv_path_EGREP+set}" = set; then :
3734  $as_echo_n "(cached) " >&6
3735else
3736  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3737   then ac_cv_path_EGREP="$GREP -E"
3738   else
3739     if test -z "$EGREP"; then
3740  ac_path_EGREP_found=false
3741  # Loop through the user's path and test for each of PROGNAME-LIST
3742  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3744do
3745  IFS=$as_save_IFS
3746  test -z "$as_dir" && as_dir=.
3747    for ac_prog in egrep; do
3748    for ac_exec_ext in '' $ac_executable_extensions; do
3749      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3750      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3751# Check for GNU ac_path_EGREP and select it if it is found.
3752  # Check for GNU $ac_path_EGREP
3753case `"$ac_path_EGREP" --version 2>&1` in
3754*GNU*)
3755  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3756*)
3757  ac_count=0
3758  $as_echo_n 0123456789 >"conftest.in"
3759  while :
3760  do
3761    cat "conftest.in" "conftest.in" >"conftest.tmp"
3762    mv "conftest.tmp" "conftest.in"
3763    cp "conftest.in" "conftest.nl"
3764    $as_echo 'EGREP' >> "conftest.nl"
3765    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3766    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3767    as_fn_arith $ac_count + 1 && ac_count=$as_val
3768    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3769      # Best one so far, save it but keep looking for a better one
3770      ac_cv_path_EGREP="$ac_path_EGREP"
3771      ac_path_EGREP_max=$ac_count
3772    fi
3773    # 10*(2^10) chars as input seems more than enough
3774    test $ac_count -gt 10 && break
3775  done
3776  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3777esac
3778
3779      $ac_path_EGREP_found && break 3
3780    done
3781  done
3782  done
3783IFS=$as_save_IFS
3784  if test -z "$ac_cv_path_EGREP"; then
3785    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3786  fi
3787else
3788  ac_cv_path_EGREP=$EGREP
3789fi
3790
3791   fi
3792fi
3793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3794$as_echo "$ac_cv_path_EGREP" >&6; }
3795 EGREP="$ac_cv_path_EGREP"
3796
3797
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3799$as_echo_n "checking for ANSI C header files... " >&6; }
3800if test "${ac_cv_header_stdc+set}" = set; then :
3801  $as_echo_n "(cached) " >&6
3802else
3803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804/* end confdefs.h.  */
3805#include <stdlib.h>
3806#include <stdarg.h>
3807#include <string.h>
3808#include <float.h>
3809
3810int
3811main ()
3812{
3813
3814  ;
3815  return 0;
3816}
3817_ACEOF
3818if ac_fn_c_try_compile "$LINENO"; then :
3819  ac_cv_header_stdc=yes
3820else
3821  ac_cv_header_stdc=no
3822fi
3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824
3825if test $ac_cv_header_stdc = yes; then
3826  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828/* end confdefs.h.  */
3829#include <string.h>
3830
3831_ACEOF
3832if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3833  $EGREP "memchr" >/dev/null 2>&1; then :
3834
3835else
3836  ac_cv_header_stdc=no
3837fi
3838rm -f conftest*
3839
3840fi
3841
3842if test $ac_cv_header_stdc = yes; then
3843  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3844  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845/* end confdefs.h.  */
3846#include <stdlib.h>
3847
3848_ACEOF
3849if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3850  $EGREP "free" >/dev/null 2>&1; then :
3851
3852else
3853  ac_cv_header_stdc=no
3854fi
3855rm -f conftest*
3856
3857fi
3858
3859if test $ac_cv_header_stdc = yes; then
3860  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3861  if test "$cross_compiling" = yes; then :
3862  :
3863else
3864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865/* end confdefs.h.  */
3866#include <ctype.h>
3867#include <stdlib.h>
3868#if ((' ' & 0x0FF) == 0x020)
3869# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3870# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3871#else
3872# define ISLOWER(c) \
3873		   (('a' <= (c) && (c) <= 'i') \
3874		     || ('j' <= (c) && (c) <= 'r') \
3875		     || ('s' <= (c) && (c) <= 'z'))
3876# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3877#endif
3878
3879#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3880int
3881main ()
3882{
3883  int i;
3884  for (i = 0; i < 256; i++)
3885    if (XOR (islower (i), ISLOWER (i))
3886	|| toupper (i) != TOUPPER (i))
3887      return 2;
3888  return 0;
3889}
3890_ACEOF
3891if ac_fn_c_try_run "$LINENO"; then :
3892
3893else
3894  ac_cv_header_stdc=no
3895fi
3896rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3897  conftest.$ac_objext conftest.beam conftest.$ac_ext
3898fi
3899
3900fi
3901fi
3902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3903$as_echo "$ac_cv_header_stdc" >&6; }
3904if test $ac_cv_header_stdc = yes; then
3905
3906$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3907
3908fi
3909
3910# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3911for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3912		  inttypes.h stdint.h unistd.h
3913do :
3914  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3915ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3916"
3917eval as_val=\$$as_ac_Header
3918   if test "x$as_val" = x""yes; then :
3919  cat >>confdefs.h <<_ACEOF
3920#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3921_ACEOF
3922
3923fi
3924
3925done
3926
3927
3928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3929$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3930if test "${ac_cv_prog_cc_c99+set}" = set; then :
3931  $as_echo_n "(cached) " >&6
3932else
3933  ac_cv_prog_cc_c99=no
3934ac_save_CC=$CC
3935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936/* end confdefs.h.  */
3937#include <stdarg.h>
3938#include <stdbool.h>
3939#include <stdlib.h>
3940#include <wchar.h>
3941#include <stdio.h>
3942
3943// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3944#define debug(...) fprintf (stderr, __VA_ARGS__)
3945#define showlist(...) puts (#__VA_ARGS__)
3946#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3947static void
3948test_varargs_macros (void)
3949{
3950  int x = 1234;
3951  int y = 5678;
3952  debug ("Flag");
3953  debug ("X = %d\n", x);
3954  showlist (The first, second, and third items.);
3955  report (x>y, "x is %d but y is %d", x, y);
3956}
3957
3958// Check long long types.
3959#define BIG64 18446744073709551615ull
3960#define BIG32 4294967295ul
3961#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3962#if !BIG_OK
3963  your preprocessor is broken;
3964#endif
3965#if BIG_OK
3966#else
3967  your preprocessor is broken;
3968#endif
3969static long long int bignum = -9223372036854775807LL;
3970static unsigned long long int ubignum = BIG64;
3971
3972struct incomplete_array
3973{
3974  int datasize;
3975  double data[];
3976};
3977
3978struct named_init {
3979  int number;
3980  const wchar_t *name;
3981  double average;
3982};
3983
3984typedef const char *ccp;
3985
3986static inline int
3987test_restrict (ccp restrict text)
3988{
3989  // See if C++-style comments work.
3990  // Iterate through items via the restricted pointer.
3991  // Also check for declarations in for loops.
3992  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3993    continue;
3994  return 0;
3995}
3996
3997// Check varargs and va_copy.
3998static void
3999test_varargs (const char *format, ...)
4000{
4001  va_list args;
4002  va_start (args, format);
4003  va_list args_copy;
4004  va_copy (args_copy, args);
4005
4006  const char *str;
4007  int number;
4008  float fnumber;
4009
4010  while (*format)
4011    {
4012      switch (*format++)
4013	{
4014	case 's': // string
4015	  str = va_arg (args_copy, const char *);
4016	  break;
4017	case 'd': // int
4018	  number = va_arg (args_copy, int);
4019	  break;
4020	case 'f': // float
4021	  fnumber = va_arg (args_copy, double);
4022	  break;
4023	default:
4024	  break;
4025	}
4026    }
4027  va_end (args_copy);
4028  va_end (args);
4029}
4030
4031int
4032main ()
4033{
4034
4035  // Check bool.
4036  _Bool success = false;
4037
4038  // Check restrict.
4039  if (test_restrict ("String literal") == 0)
4040    success = true;
4041  char *restrict newvar = "Another string";
4042
4043  // Check varargs.
4044  test_varargs ("s, d' f .", "string", 65, 34.234);
4045  test_varargs_macros ();
4046
4047  // Check flexible array members.
4048  struct incomplete_array *ia =
4049    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4050  ia->datasize = 10;
4051  for (int i = 0; i < ia->datasize; ++i)
4052    ia->data[i] = i * 1.234;
4053
4054  // Check named initializers.
4055  struct named_init ni = {
4056    .number = 34,
4057    .name = L"Test wide string",
4058    .average = 543.34343,
4059  };
4060
4061  ni.number = 58;
4062
4063  int dynamic_array[ni.number];
4064  dynamic_array[ni.number - 1] = 543;
4065
4066  // work around unused variable warnings
4067  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4068	  || dynamic_array[ni.number - 1] != 543);
4069
4070  ;
4071  return 0;
4072}
4073_ACEOF
4074for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4075do
4076  CC="$ac_save_CC $ac_arg"
4077  if ac_fn_c_try_compile "$LINENO"; then :
4078  ac_cv_prog_cc_c99=$ac_arg
4079fi
4080rm -f core conftest.err conftest.$ac_objext
4081  test "x$ac_cv_prog_cc_c99" != "xno" && break
4082done
4083rm -f conftest.$ac_ext
4084CC=$ac_save_CC
4085
4086fi
4087# AC_CACHE_VAL
4088case "x$ac_cv_prog_cc_c99" in
4089  x)
4090    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4091$as_echo "none needed" >&6; } ;;
4092  xno)
4093    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4094$as_echo "unsupported" >&6; } ;;
4095  *)
4096    CC="$CC $ac_cv_prog_cc_c99"
4097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4098$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4099esac
4100if test "x$ac_cv_prog_cc_c99" != xno; then :
4101
4102fi
4103
4104
4105
4106
4107if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4108	if test -n "$ac_tool_prefix"; then
4109  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4110set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112$as_echo_n "checking for $ac_word... " >&6; }
4113if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4114  $as_echo_n "(cached) " >&6
4115else
4116  case $PKG_CONFIG in
4117  [\\/]* | ?:[\\/]*)
4118  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4119  ;;
4120  *)
4121  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122for as_dir in $PATH
4123do
4124  IFS=$as_save_IFS
4125  test -z "$as_dir" && as_dir=.
4126    for ac_exec_ext in '' $ac_executable_extensions; do
4127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4129    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130    break 2
4131  fi
4132done
4133  done
4134IFS=$as_save_IFS
4135
4136  ;;
4137esac
4138fi
4139PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4140if test -n "$PKG_CONFIG"; then
4141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4142$as_echo "$PKG_CONFIG" >&6; }
4143else
4144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145$as_echo "no" >&6; }
4146fi
4147
4148
4149fi
4150if test -z "$ac_cv_path_PKG_CONFIG"; then
4151  ac_pt_PKG_CONFIG=$PKG_CONFIG
4152  # Extract the first word of "pkg-config", so it can be a program name with args.
4153set dummy pkg-config; ac_word=$2
4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155$as_echo_n "checking for $ac_word... " >&6; }
4156if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4157  $as_echo_n "(cached) " >&6
4158else
4159  case $ac_pt_PKG_CONFIG in
4160  [\\/]* | ?:[\\/]*)
4161  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4162  ;;
4163  *)
4164  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165for as_dir in $PATH
4166do
4167  IFS=$as_save_IFS
4168  test -z "$as_dir" && as_dir=.
4169    for ac_exec_ext in '' $ac_executable_extensions; do
4170  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4172    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173    break 2
4174  fi
4175done
4176  done
4177IFS=$as_save_IFS
4178
4179  ;;
4180esac
4181fi
4182ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4183if test -n "$ac_pt_PKG_CONFIG"; then
4184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4185$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4186else
4187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188$as_echo "no" >&6; }
4189fi
4190
4191  if test "x$ac_pt_PKG_CONFIG" = x; then
4192    PKG_CONFIG=""
4193  else
4194    case $cross_compiling:$ac_tool_warned in
4195yes:)
4196{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198ac_tool_warned=yes ;;
4199esac
4200    PKG_CONFIG=$ac_pt_PKG_CONFIG
4201  fi
4202else
4203  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4204fi
4205
4206fi
4207if test -n "$PKG_CONFIG"; then
4208	_pkg_min_version=0.9.0
4209	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4210$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4211	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4212		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4213$as_echo "yes" >&6; }
4214	else
4215		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216$as_echo "no" >&6; }
4217		PKG_CONFIG=""
4218	fi
4219
4220fi
4221# Make sure we can run config.sub.
4222$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4223  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4224
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4226$as_echo_n "checking build system type... " >&6; }
4227if test "${ac_cv_build+set}" = set; then :
4228  $as_echo_n "(cached) " >&6
4229else
4230  ac_build_alias=$build_alias
4231test "x$ac_build_alias" = x &&
4232  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4233test "x$ac_build_alias" = x &&
4234  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4235ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4236  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4237
4238fi
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4240$as_echo "$ac_cv_build" >&6; }
4241case $ac_cv_build in
4242*-*-*) ;;
4243*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4244esac
4245build=$ac_cv_build
4246ac_save_IFS=$IFS; IFS='-'
4247set x $ac_cv_build
4248shift
4249build_cpu=$1
4250build_vendor=$2
4251shift; shift
4252# Remember, the first character of IFS is used to create $*,
4253# except with old shells:
4254build_os=$*
4255IFS=$ac_save_IFS
4256case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4257
4258
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4260$as_echo_n "checking host system type... " >&6; }
4261if test "${ac_cv_host+set}" = set; then :
4262  $as_echo_n "(cached) " >&6
4263else
4264  if test "x$host_alias" = x; then
4265  ac_cv_host=$ac_cv_build
4266else
4267  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4268    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4269fi
4270
4271fi
4272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4273$as_echo "$ac_cv_host" >&6; }
4274case $ac_cv_host in
4275*-*-*) ;;
4276*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4277esac
4278host=$ac_cv_host
4279ac_save_IFS=$IFS; IFS='-'
4280set x $ac_cv_host
4281shift
4282host_cpu=$1
4283host_vendor=$2
4284shift; shift
4285# Remember, the first character of IFS is used to create $*,
4286# except with old shells:
4287host_os=$*
4288IFS=$ac_save_IFS
4289case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4290
4291
4292
4293
4294
4295if  test "x$GCC" = xyes ; then
4296    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4297-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4298-Wbad-function-cast"
4299    case `$CC -dumpversion` in
4300    3.4.* | 4.*)
4301	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4302	;;
4303    esac
4304else
4305    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4306if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4307  SUNCC="yes"
4308else
4309  SUNCC="no"
4310fi
4311
4312    if test "x$SUNCC" = "xyes"; then
4313	CWARNFLAGS="-v"
4314    fi
4315fi
4316
4317# Check whether --enable-silent-rules was given.
4318if test "${enable_silent_rules+set}" = set; then :
4319  enableval=$enable_silent_rules;
4320fi
4321
4322case $enable_silent_rules in
4323yes) AM_DEFAULT_VERBOSITY=0;;
4324no)  AM_DEFAULT_VERBOSITY=1;;
4325*)   AM_DEFAULT_VERBOSITY=0;;
4326esac
4327AM_BACKSLASH='\'
4328
4329
4330
4331
4332
4333
4334
4335# Check whether --enable-strict-compilation was given.
4336if test "${enable_strict_compilation+set}" = set; then :
4337  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4338else
4339  STRICT_COMPILE=no
4340fi
4341
4342if test "x$STRICT_COMPILE" = "xyes"; then
4343	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4344if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4345  SUNCC="yes"
4346else
4347  SUNCC="no"
4348fi
4349
4350	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4351if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
4352  INTELCC="yes"
4353else
4354  INTELCC="no"
4355fi
4356
4357	if test "x$GCC" = xyes ; then
4358		STRICT_CFLAGS="-pedantic -Werror"
4359	elif test "x$SUNCC" = "xyes"; then
4360		STRICT_CFLAGS="-errwarn"
4361    elif test "x$INTELCC" = "xyes"; then
4362		STRICT_CFLAGS="-Werror"
4363	fi
4364fi
4365CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4366
4367
4368
4369
4370# Check whether --with-release-version was given.
4371if test "${with_release_version+set}" = set; then :
4372  withval=$with_release_version; RELEASE_VERSION="$withval"
4373else
4374  RELEASE_VERSION=""
4375fi
4376
4377	if test "x$RELEASE_VERSION" != "x"; then
4378		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4379		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4380		{ $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
4381$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4382	fi
4383
4384cat >>confdefs.h <<_ACEOF
4385#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4386_ACEOF
4387
4388	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4389	if test "x$PVM" = "x"; then
4390		PVM="0"
4391	fi
4392
4393cat >>confdefs.h <<_ACEOF
4394#define PACKAGE_VERSION_MINOR $PVM
4395_ACEOF
4396
4397	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4398	if test "x$PVP" = "x"; then
4399		PVP="0"
4400	fi
4401
4402cat >>confdefs.h <<_ACEOF
4403#define PACKAGE_VERSION_PATCHLEVEL $PVP
4404_ACEOF
4405
4406
4407
4408CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4409mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4410|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4411echo 'git directory not found: installing possibly empty changelog.' >&2)"
4412
4413
4414
4415
4416macros_docdir=$($PKG_CONFIG --print-errors --variable=docdir xorg-macros)
4417INSTALL_CMD="(cp -f "$macros_docdir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4418mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4419|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4420echo 'util-macros \"docdir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4421
4422
4423
4424
4425
4426if test x$APP_MAN_SUFFIX = x    ; then
4427    APP_MAN_SUFFIX=1
4428fi
4429if test x$APP_MAN_DIR = x    ; then
4430    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4431fi
4432
4433if test x$LIB_MAN_SUFFIX = x    ; then
4434    LIB_MAN_SUFFIX=3
4435fi
4436if test x$LIB_MAN_DIR = x    ; then
4437    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4438fi
4439
4440if test x$FILE_MAN_SUFFIX = x    ; then
4441    case $host_os in
4442	solaris*)	FILE_MAN_SUFFIX=4  ;;
4443	*)		FILE_MAN_SUFFIX=5  ;;
4444    esac
4445fi
4446if test x$FILE_MAN_DIR = x    ; then
4447    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4448fi
4449
4450if test x$MISC_MAN_SUFFIX = x    ; then
4451    case $host_os in
4452	solaris*)	MISC_MAN_SUFFIX=5  ;;
4453	*)		MISC_MAN_SUFFIX=7  ;;
4454    esac
4455fi
4456if test x$MISC_MAN_DIR = x    ; then
4457    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4458fi
4459
4460if test x$DRIVER_MAN_SUFFIX = x    ; then
4461    case $host_os in
4462	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4463	*)		DRIVER_MAN_SUFFIX=4  ;;
4464    esac
4465fi
4466if test x$DRIVER_MAN_DIR = x    ; then
4467    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4468fi
4469
4470if test x$ADMIN_MAN_SUFFIX = x    ; then
4471    case $host_os in
4472	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4473	*)		ADMIN_MAN_SUFFIX=8  ;;
4474    esac
4475fi
4476if test x$ADMIN_MAN_DIR = x    ; then
4477    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4478fi
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496ac_config_headers="$ac_config_headers config.h"
4497
4498
4499ac_ext=c
4500ac_cpp='$CPP $CPPFLAGS'
4501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4503ac_compiler_gnu=$ac_cv_c_compiler_gnu
4504if test -n "$ac_tool_prefix"; then
4505  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4506set dummy ${ac_tool_prefix}gcc; ac_word=$2
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508$as_echo_n "checking for $ac_word... " >&6; }
4509if test "${ac_cv_prog_CC+set}" = set; then :
4510  $as_echo_n "(cached) " >&6
4511else
4512  if test -n "$CC"; then
4513  ac_cv_prog_CC="$CC" # Let the user override the test.
4514else
4515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516for as_dir in $PATH
4517do
4518  IFS=$as_save_IFS
4519  test -z "$as_dir" && as_dir=.
4520    for ac_exec_ext in '' $ac_executable_extensions; do
4521  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4523    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524    break 2
4525  fi
4526done
4527  done
4528IFS=$as_save_IFS
4529
4530fi
4531fi
4532CC=$ac_cv_prog_CC
4533if test -n "$CC"; then
4534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4535$as_echo "$CC" >&6; }
4536else
4537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538$as_echo "no" >&6; }
4539fi
4540
4541
4542fi
4543if test -z "$ac_cv_prog_CC"; then
4544  ac_ct_CC=$CC
4545  # Extract the first word of "gcc", so it can be a program name with args.
4546set dummy gcc; ac_word=$2
4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548$as_echo_n "checking for $ac_word... " >&6; }
4549if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4550  $as_echo_n "(cached) " >&6
4551else
4552  if test -n "$ac_ct_CC"; then
4553  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4554else
4555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556for as_dir in $PATH
4557do
4558  IFS=$as_save_IFS
4559  test -z "$as_dir" && as_dir=.
4560    for ac_exec_ext in '' $ac_executable_extensions; do
4561  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4562    ac_cv_prog_ac_ct_CC="gcc"
4563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564    break 2
4565  fi
4566done
4567  done
4568IFS=$as_save_IFS
4569
4570fi
4571fi
4572ac_ct_CC=$ac_cv_prog_ac_ct_CC
4573if test -n "$ac_ct_CC"; then
4574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4575$as_echo "$ac_ct_CC" >&6; }
4576else
4577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578$as_echo "no" >&6; }
4579fi
4580
4581  if test "x$ac_ct_CC" = x; then
4582    CC=""
4583  else
4584    case $cross_compiling:$ac_tool_warned in
4585yes:)
4586{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4587$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4588ac_tool_warned=yes ;;
4589esac
4590    CC=$ac_ct_CC
4591  fi
4592else
4593  CC="$ac_cv_prog_CC"
4594fi
4595
4596if test -z "$CC"; then
4597          if test -n "$ac_tool_prefix"; then
4598    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4599set dummy ${ac_tool_prefix}cc; ac_word=$2
4600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601$as_echo_n "checking for $ac_word... " >&6; }
4602if test "${ac_cv_prog_CC+set}" = set; then :
4603  $as_echo_n "(cached) " >&6
4604else
4605  if test -n "$CC"; then
4606  ac_cv_prog_CC="$CC" # Let the user override the test.
4607else
4608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609for as_dir in $PATH
4610do
4611  IFS=$as_save_IFS
4612  test -z "$as_dir" && as_dir=.
4613    for ac_exec_ext in '' $ac_executable_extensions; do
4614  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615    ac_cv_prog_CC="${ac_tool_prefix}cc"
4616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617    break 2
4618  fi
4619done
4620  done
4621IFS=$as_save_IFS
4622
4623fi
4624fi
4625CC=$ac_cv_prog_CC
4626if test -n "$CC"; then
4627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4628$as_echo "$CC" >&6; }
4629else
4630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631$as_echo "no" >&6; }
4632fi
4633
4634
4635  fi
4636fi
4637if test -z "$CC"; then
4638  # Extract the first word of "cc", so it can be a program name with args.
4639set dummy cc; ac_word=$2
4640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641$as_echo_n "checking for $ac_word... " >&6; }
4642if test "${ac_cv_prog_CC+set}" = set; then :
4643  $as_echo_n "(cached) " >&6
4644else
4645  if test -n "$CC"; then
4646  ac_cv_prog_CC="$CC" # Let the user override the test.
4647else
4648  ac_prog_rejected=no
4649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650for as_dir in $PATH
4651do
4652  IFS=$as_save_IFS
4653  test -z "$as_dir" && as_dir=.
4654    for ac_exec_ext in '' $ac_executable_extensions; do
4655  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4657       ac_prog_rejected=yes
4658       continue
4659     fi
4660    ac_cv_prog_CC="cc"
4661    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662    break 2
4663  fi
4664done
4665  done
4666IFS=$as_save_IFS
4667
4668if test $ac_prog_rejected = yes; then
4669  # We found a bogon in the path, so make sure we never use it.
4670  set dummy $ac_cv_prog_CC
4671  shift
4672  if test $# != 0; then
4673    # We chose a different compiler from the bogus one.
4674    # However, it has the same basename, so the bogon will be chosen
4675    # first if we set CC to just the basename; use the full file name.
4676    shift
4677    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4678  fi
4679fi
4680fi
4681fi
4682CC=$ac_cv_prog_CC
4683if test -n "$CC"; then
4684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4685$as_echo "$CC" >&6; }
4686else
4687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688$as_echo "no" >&6; }
4689fi
4690
4691
4692fi
4693if test -z "$CC"; then
4694  if test -n "$ac_tool_prefix"; then
4695  for ac_prog in cl.exe
4696  do
4697    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4698set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700$as_echo_n "checking for $ac_word... " >&6; }
4701if test "${ac_cv_prog_CC+set}" = set; then :
4702  $as_echo_n "(cached) " >&6
4703else
4704  if test -n "$CC"; then
4705  ac_cv_prog_CC="$CC" # Let the user override the test.
4706else
4707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708for as_dir in $PATH
4709do
4710  IFS=$as_save_IFS
4711  test -z "$as_dir" && as_dir=.
4712    for ac_exec_ext in '' $ac_executable_extensions; do
4713  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716    break 2
4717  fi
4718done
4719  done
4720IFS=$as_save_IFS
4721
4722fi
4723fi
4724CC=$ac_cv_prog_CC
4725if test -n "$CC"; then
4726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4727$as_echo "$CC" >&6; }
4728else
4729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730$as_echo "no" >&6; }
4731fi
4732
4733
4734    test -n "$CC" && break
4735  done
4736fi
4737if test -z "$CC"; then
4738  ac_ct_CC=$CC
4739  for ac_prog in cl.exe
4740do
4741  # Extract the first word of "$ac_prog", so it can be a program name with args.
4742set dummy $ac_prog; ac_word=$2
4743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744$as_echo_n "checking for $ac_word... " >&6; }
4745if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4746  $as_echo_n "(cached) " >&6
4747else
4748  if test -n "$ac_ct_CC"; then
4749  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4750else
4751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752for as_dir in $PATH
4753do
4754  IFS=$as_save_IFS
4755  test -z "$as_dir" && as_dir=.
4756    for ac_exec_ext in '' $ac_executable_extensions; do
4757  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4758    ac_cv_prog_ac_ct_CC="$ac_prog"
4759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760    break 2
4761  fi
4762done
4763  done
4764IFS=$as_save_IFS
4765
4766fi
4767fi
4768ac_ct_CC=$ac_cv_prog_ac_ct_CC
4769if test -n "$ac_ct_CC"; then
4770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4771$as_echo "$ac_ct_CC" >&6; }
4772else
4773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774$as_echo "no" >&6; }
4775fi
4776
4777
4778  test -n "$ac_ct_CC" && break
4779done
4780
4781  if test "x$ac_ct_CC" = x; then
4782    CC=""
4783  else
4784    case $cross_compiling:$ac_tool_warned in
4785yes:)
4786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4788ac_tool_warned=yes ;;
4789esac
4790    CC=$ac_ct_CC
4791  fi
4792fi
4793
4794fi
4795
4796
4797test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4799as_fn_error "no acceptable C compiler found in \$PATH
4800See \`config.log' for more details." "$LINENO" 5; }
4801
4802# Provide some information about the compiler.
4803$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4804set X $ac_compile
4805ac_compiler=$2
4806for ac_option in --version -v -V -qversion; do
4807  { { ac_try="$ac_compiler $ac_option >&5"
4808case "(($ac_try" in
4809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810  *) ac_try_echo=$ac_try;;
4811esac
4812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4813$as_echo "$ac_try_echo"; } >&5
4814  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4815  ac_status=$?
4816  if test -s conftest.err; then
4817    sed '10a\
4818... rest of stderr output deleted ...
4819         10q' conftest.err >conftest.er1
4820    cat conftest.er1 >&5
4821  fi
4822  rm -f conftest.er1 conftest.err
4823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824  test $ac_status = 0; }
4825done
4826
4827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4828$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4829if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4830  $as_echo_n "(cached) " >&6
4831else
4832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833/* end confdefs.h.  */
4834
4835int
4836main ()
4837{
4838#ifndef __GNUC__
4839       choke me
4840#endif
4841
4842  ;
4843  return 0;
4844}
4845_ACEOF
4846if ac_fn_c_try_compile "$LINENO"; then :
4847  ac_compiler_gnu=yes
4848else
4849  ac_compiler_gnu=no
4850fi
4851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4852ac_cv_c_compiler_gnu=$ac_compiler_gnu
4853
4854fi
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4856$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4857if test $ac_compiler_gnu = yes; then
4858  GCC=yes
4859else
4860  GCC=
4861fi
4862ac_test_CFLAGS=${CFLAGS+set}
4863ac_save_CFLAGS=$CFLAGS
4864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4865$as_echo_n "checking whether $CC accepts -g... " >&6; }
4866if test "${ac_cv_prog_cc_g+set}" = set; then :
4867  $as_echo_n "(cached) " >&6
4868else
4869  ac_save_c_werror_flag=$ac_c_werror_flag
4870   ac_c_werror_flag=yes
4871   ac_cv_prog_cc_g=no
4872   CFLAGS="-g"
4873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874/* end confdefs.h.  */
4875
4876int
4877main ()
4878{
4879
4880  ;
4881  return 0;
4882}
4883_ACEOF
4884if ac_fn_c_try_compile "$LINENO"; then :
4885  ac_cv_prog_cc_g=yes
4886else
4887  CFLAGS=""
4888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889/* end confdefs.h.  */
4890
4891int
4892main ()
4893{
4894
4895  ;
4896  return 0;
4897}
4898_ACEOF
4899if ac_fn_c_try_compile "$LINENO"; then :
4900
4901else
4902  ac_c_werror_flag=$ac_save_c_werror_flag
4903	 CFLAGS="-g"
4904	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905/* end confdefs.h.  */
4906
4907int
4908main ()
4909{
4910
4911  ;
4912  return 0;
4913}
4914_ACEOF
4915if ac_fn_c_try_compile "$LINENO"; then :
4916  ac_cv_prog_cc_g=yes
4917fi
4918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919fi
4920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921fi
4922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4923   ac_c_werror_flag=$ac_save_c_werror_flag
4924fi
4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4926$as_echo "$ac_cv_prog_cc_g" >&6; }
4927if test "$ac_test_CFLAGS" = set; then
4928  CFLAGS=$ac_save_CFLAGS
4929elif test $ac_cv_prog_cc_g = yes; then
4930  if test "$GCC" = yes; then
4931    CFLAGS="-g -O2"
4932  else
4933    CFLAGS="-g"
4934  fi
4935else
4936  if test "$GCC" = yes; then
4937    CFLAGS="-O2"
4938  else
4939    CFLAGS=
4940  fi
4941fi
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4943$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4944if test "${ac_cv_prog_cc_c89+set}" = set; then :
4945  $as_echo_n "(cached) " >&6
4946else
4947  ac_cv_prog_cc_c89=no
4948ac_save_CC=$CC
4949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950/* end confdefs.h.  */
4951#include <stdarg.h>
4952#include <stdio.h>
4953#include <sys/types.h>
4954#include <sys/stat.h>
4955/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4956struct buf { int x; };
4957FILE * (*rcsopen) (struct buf *, struct stat *, int);
4958static char *e (p, i)
4959     char **p;
4960     int i;
4961{
4962  return p[i];
4963}
4964static char *f (char * (*g) (char **, int), char **p, ...)
4965{
4966  char *s;
4967  va_list v;
4968  va_start (v,p);
4969  s = g (p, va_arg (v,int));
4970  va_end (v);
4971  return s;
4972}
4973
4974/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4975   function prototypes and stuff, but not '\xHH' hex character constants.
4976   These don't provoke an error unfortunately, instead are silently treated
4977   as 'x'.  The following induces an error, until -std is added to get
4978   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4979   array size at least.  It's necessary to write '\x00'==0 to get something
4980   that's true only with -std.  */
4981int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4982
4983/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4984   inside strings and character constants.  */
4985#define FOO(x) 'x'
4986int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4987
4988int test (int i, double x);
4989struct s1 {int (*f) (int a);};
4990struct s2 {int (*f) (double a);};
4991int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4992int argc;
4993char **argv;
4994int
4995main ()
4996{
4997return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4998  ;
4999  return 0;
5000}
5001_ACEOF
5002for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5003	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5004do
5005  CC="$ac_save_CC $ac_arg"
5006  if ac_fn_c_try_compile "$LINENO"; then :
5007  ac_cv_prog_cc_c89=$ac_arg
5008fi
5009rm -f core conftest.err conftest.$ac_objext
5010  test "x$ac_cv_prog_cc_c89" != "xno" && break
5011done
5012rm -f conftest.$ac_ext
5013CC=$ac_save_CC
5014
5015fi
5016# AC_CACHE_VAL
5017case "x$ac_cv_prog_cc_c89" in
5018  x)
5019    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5020$as_echo "none needed" >&6; } ;;
5021  xno)
5022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5023$as_echo "unsupported" >&6; } ;;
5024  *)
5025    CC="$CC $ac_cv_prog_cc_c89"
5026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5027$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5028esac
5029if test "x$ac_cv_prog_cc_c89" != xno; then :
5030
5031fi
5032
5033ac_ext=c
5034ac_cpp='$CPP $CPPFLAGS'
5035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037ac_compiler_gnu=$ac_cv_c_compiler_gnu
5038
5039depcc="$CC"   am_compiler_list=
5040
5041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5042$as_echo_n "checking dependency style of $depcc... " >&6; }
5043if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5044  $as_echo_n "(cached) " >&6
5045else
5046  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5047  # We make a subdir and do the tests there.  Otherwise we can end up
5048  # making bogus files that we don't know about and never remove.  For
5049  # instance it was reported that on HP-UX the gcc test will end up
5050  # making a dummy file named `D' -- because `-MD' means `put the output
5051  # in D'.
5052  mkdir conftest.dir
5053  # Copy depcomp to subdir because otherwise we won't find it if we're
5054  # using a relative directory.
5055  cp "$am_depcomp" conftest.dir
5056  cd conftest.dir
5057  # We will build objects and dependencies in a subdirectory because
5058  # it helps to detect inapplicable dependency modes.  For instance
5059  # both Tru64's cc and ICC support -MD to output dependencies as a
5060  # side effect of compilation, but ICC will put the dependencies in
5061  # the current directory while Tru64 will put them in the object
5062  # directory.
5063  mkdir sub
5064
5065  am_cv_CC_dependencies_compiler_type=none
5066  if test "$am_compiler_list" = ""; then
5067     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5068  fi
5069  am__universal=false
5070  case " $depcc " in #(
5071     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5072     esac
5073
5074  for depmode in $am_compiler_list; do
5075    # Setup a source with many dependencies, because some compilers
5076    # like to wrap large dependency lists on column 80 (with \), and
5077    # we should not choose a depcomp mode which is confused by this.
5078    #
5079    # We need to recreate these files for each test, as the compiler may
5080    # overwrite some of them when testing with obscure command lines.
5081    # This happens at least with the AIX C compiler.
5082    : > sub/conftest.c
5083    for i in 1 2 3 4 5 6; do
5084      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5085      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5086      # Solaris 8's {/usr,}/bin/sh.
5087      touch sub/conftst$i.h
5088    done
5089    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5090
5091    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5092    # mode.  It turns out that the SunPro C++ compiler does not properly
5093    # handle `-M -o', and we need to detect this.  Also, some Intel
5094    # versions had trouble with output in subdirs
5095    am__obj=sub/conftest.${OBJEXT-o}
5096    am__minus_obj="-o $am__obj"
5097    case $depmode in
5098    gcc)
5099      # This depmode causes a compiler race in universal mode.
5100      test "$am__universal" = false || continue
5101      ;;
5102    nosideeffect)
5103      # after this tag, mechanisms are not by side-effect, so they'll
5104      # only be used when explicitly requested
5105      if test "x$enable_dependency_tracking" = xyes; then
5106	continue
5107      else
5108	break
5109      fi
5110      ;;
5111    msvisualcpp | msvcmsys)
5112      # This compiler won't grok `-c -o', but also, the minuso test has
5113      # not run yet.  These depmodes are late enough in the game, and
5114      # so weak that their functioning should not be impacted.
5115      am__obj=conftest.${OBJEXT-o}
5116      am__minus_obj=
5117      ;;
5118    none) break ;;
5119    esac
5120    if depmode=$depmode \
5121       source=sub/conftest.c object=$am__obj \
5122       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5123       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5124         >/dev/null 2>conftest.err &&
5125       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5126       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5127       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5128       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5129      # icc doesn't choke on unknown options, it will just issue warnings
5130      # or remarks (even with -Werror).  So we grep stderr for any message
5131      # that says an option was ignored or not supported.
5132      # When given -MP, icc 7.0 and 7.1 complain thusly:
5133      #   icc: Command line warning: ignoring option '-M'; no argument required
5134      # The diagnosis changed in icc 8.0:
5135      #   icc: Command line remark: option '-MP' not supported
5136      if (grep 'ignoring option' conftest.err ||
5137          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5138        am_cv_CC_dependencies_compiler_type=$depmode
5139        break
5140      fi
5141    fi
5142  done
5143
5144  cd ..
5145  rm -rf conftest.dir
5146else
5147  am_cv_CC_dependencies_compiler_type=none
5148fi
5149
5150fi
5151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5152$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5153CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5154
5155 if
5156  test "x$enable_dependency_tracking" != xno \
5157  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5158  am__fastdepCC_TRUE=
5159  am__fastdepCC_FALSE='#'
5160else
5161  am__fastdepCC_TRUE='#'
5162  am__fastdepCC_FALSE=
5163fi
5164
5165
5166
5167
5168
5169
5170pkg_failed=no
5171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCALC" >&5
5172$as_echo_n "checking for XCALC... " >&6; }
5173
5174if test -n "$XCALC_CFLAGS"; then
5175    pkg_cv_XCALC_CFLAGS="$XCALC_CFLAGS"
5176 elif test -n "$PKG_CONFIG"; then
5177    if test -n "$PKG_CONFIG" && \
5178    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
5179  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5180  ac_status=$?
5181  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5182  test $ac_status = 0; }; then
5183  pkg_cv_XCALC_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
5184else
5185  pkg_failed=yes
5186fi
5187 else
5188    pkg_failed=untried
5189fi
5190if test -n "$XCALC_LIBS"; then
5191    pkg_cv_XCALC_LIBS="$XCALC_LIBS"
5192 elif test -n "$PKG_CONFIG"; then
5193    if test -n "$PKG_CONFIG" && \
5194    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
5195  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5196  ac_status=$?
5197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5198  test $ac_status = 0; }; then
5199  pkg_cv_XCALC_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
5200else
5201  pkg_failed=yes
5202fi
5203 else
5204    pkg_failed=untried
5205fi
5206
5207
5208
5209if test $pkg_failed = yes; then
5210
5211if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5212        _pkg_short_errors_supported=yes
5213else
5214        _pkg_short_errors_supported=no
5215fi
5216        if test $_pkg_short_errors_supported = yes; then
5217	        XCALC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
5218        else
5219	        XCALC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
5220        fi
5221	# Put the nasty error message in config.log where it belongs
5222	echo "$XCALC_PKG_ERRORS" >&5
5223
5224	as_fn_error "Package requirements (xaw7) were not met:
5225
5226$XCALC_PKG_ERRORS
5227
5228Consider adjusting the PKG_CONFIG_PATH environment variable if you
5229installed software in a non-standard prefix.
5230
5231Alternatively, you may set the environment variables XCALC_CFLAGS
5232and XCALC_LIBS to avoid the need to call pkg-config.
5233See the pkg-config man page for more details.
5234" "$LINENO" 5
5235elif test $pkg_failed = untried; then
5236	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5238as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
5239is in your PATH or set the PKG_CONFIG environment variable to the full
5240path to pkg-config.
5241
5242Alternatively, you may set the environment variables XCALC_CFLAGS
5243and XCALC_LIBS to avoid the need to call pkg-config.
5244See the pkg-config man page for more details.
5245
5246To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5247See \`config.log' for more details." "$LINENO" 5; }
5248else
5249	XCALC_CFLAGS=$pkg_cv_XCALC_CFLAGS
5250	XCALC_LIBS=$pkg_cv_XCALC_LIBS
5251        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252$as_echo "yes" >&6; }
5253	:
5254fi
5255XCALC_CFLAGS="$CWARNFLAGS $XCALC_CFLAGS"
5256
5257
5258
5259
5260pkg_failed=no
5261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
5262$as_echo_n "checking for APPDEFS... " >&6; }
5263
5264if test -n "$APPDEFS_CFLAGS"; then
5265    pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
5266 elif test -n "$PKG_CONFIG"; then
5267    if test -n "$PKG_CONFIG" && \
5268    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
5269  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
5270  ac_status=$?
5271  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272  test $ac_status = 0; }; then
5273  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
5274else
5275  pkg_failed=yes
5276fi
5277 else
5278    pkg_failed=untried
5279fi
5280if test -n "$APPDEFS_LIBS"; then
5281    pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
5282 elif test -n "$PKG_CONFIG"; then
5283    if test -n "$PKG_CONFIG" && \
5284    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
5285  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
5286  ac_status=$?
5287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288  test $ac_status = 0; }; then
5289  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
5290else
5291  pkg_failed=yes
5292fi
5293 else
5294    pkg_failed=untried
5295fi
5296
5297
5298
5299if test $pkg_failed = yes; then
5300
5301if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5302        _pkg_short_errors_supported=yes
5303else
5304        _pkg_short_errors_supported=no
5305fi
5306        if test $_pkg_short_errors_supported = yes; then
5307	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
5308        else
5309	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
5310        fi
5311	# Put the nasty error message in config.log where it belongs
5312	echo "$APPDEFS_PKG_ERRORS" >&5
5313
5314	as_fn_error "Package requirements (xt) were not met:
5315
5316$APPDEFS_PKG_ERRORS
5317
5318Consider adjusting the PKG_CONFIG_PATH environment variable if you
5319installed software in a non-standard prefix.
5320
5321Alternatively, you may set the environment variables APPDEFS_CFLAGS
5322and APPDEFS_LIBS to avoid the need to call pkg-config.
5323See the pkg-config man page for more details.
5324" "$LINENO" 5
5325elif test $pkg_failed = untried; then
5326	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5328as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
5329is in your PATH or set the PKG_CONFIG environment variable to the full
5330path to pkg-config.
5331
5332Alternatively, you may set the environment variables APPDEFS_CFLAGS
5333and APPDEFS_LIBS to avoid the need to call pkg-config.
5334See the pkg-config man page for more details.
5335
5336To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5337See \`config.log' for more details." "$LINENO" 5; }
5338else
5339	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
5340	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
5341        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5342$as_echo "yes" >&6; }
5343	:
5344fi
5345xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
5346
5347# Check whether --with-appdefaultdir was given.
5348if test "${with_appdefaultdir+set}" = set; then :
5349  withval=$with_appdefaultdir; appdefaultdir="$withval"
5350else
5351  appdefaultdir="${xt_appdefaultdir}"
5352fi
5353
5354
5355
5356
5357ac_config_files="$ac_config_files Makefile"
5358
5359cat >confcache <<\_ACEOF
5360# This file is a shell script that caches the results of configure
5361# tests run on this system so they can be shared between configure
5362# scripts and configure runs, see configure's option --config-cache.
5363# It is not useful on other systems.  If it contains results you don't
5364# want to keep, you may remove or edit it.
5365#
5366# config.status only pays attention to the cache file if you give it
5367# the --recheck option to rerun configure.
5368#
5369# `ac_cv_env_foo' variables (set or unset) will be overridden when
5370# loading this file, other *unset* `ac_cv_foo' will be assigned the
5371# following values.
5372
5373_ACEOF
5374
5375# The following way of writing the cache mishandles newlines in values,
5376# but we know of no workaround that is simple, portable, and efficient.
5377# So, we kill variables containing newlines.
5378# Ultrix sh set writes to stderr and can't be redirected directly,
5379# and sets the high bit in the cache file unless we assign to the vars.
5380(
5381  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5382    eval ac_val=\$$ac_var
5383    case $ac_val in #(
5384    *${as_nl}*)
5385      case $ac_var in #(
5386      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5387$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5388      esac
5389      case $ac_var in #(
5390      _ | IFS | as_nl) ;; #(
5391      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5392      *) { eval $ac_var=; unset $ac_var;} ;;
5393      esac ;;
5394    esac
5395  done
5396
5397  (set) 2>&1 |
5398    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5399    *${as_nl}ac_space=\ *)
5400      # `set' does not quote correctly, so add quotes: double-quote
5401      # substitution turns \\\\ into \\, and sed turns \\ into \.
5402      sed -n \
5403	"s/'/'\\\\''/g;
5404	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5405      ;; #(
5406    *)
5407      # `set' quotes correctly as required by POSIX, so do not add quotes.
5408      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5409      ;;
5410    esac |
5411    sort
5412) |
5413  sed '
5414     /^ac_cv_env_/b end
5415     t clear
5416     :clear
5417     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5418     t end
5419     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5420     :end' >>confcache
5421if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5422  if test -w "$cache_file"; then
5423    test "x$cache_file" != "x/dev/null" &&
5424      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5425$as_echo "$as_me: updating cache $cache_file" >&6;}
5426    cat confcache >$cache_file
5427  else
5428    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5429$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5430  fi
5431fi
5432rm -f confcache
5433
5434test "x$prefix" = xNONE && prefix=$ac_default_prefix
5435# Let make expand exec_prefix.
5436test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5437
5438DEFS=-DHAVE_CONFIG_H
5439
5440ac_libobjs=
5441ac_ltlibobjs=
5442for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5443  # 1. Remove the extension, and $U if already installed.
5444  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5445  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5446  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5447  #    will be set to the directory where LIBOBJS objects are built.
5448  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5449  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5450done
5451LIBOBJS=$ac_libobjs
5452
5453LTLIBOBJS=$ac_ltlibobjs
5454
5455
5456 if test -n "$EXEEXT"; then
5457  am__EXEEXT_TRUE=
5458  am__EXEEXT_FALSE='#'
5459else
5460  am__EXEEXT_TRUE='#'
5461  am__EXEEXT_FALSE=
5462fi
5463
5464if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5465  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5466Usually this means the macro was only invoked conditionally." "$LINENO" 5
5467fi
5468if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5469  as_fn_error "conditional \"AMDEP\" was never defined.
5470Usually this means the macro was only invoked conditionally." "$LINENO" 5
5471fi
5472if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5473  as_fn_error "conditional \"am__fastdepCC\" was never defined.
5474Usually this means the macro was only invoked conditionally." "$LINENO" 5
5475fi
5476if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5477  as_fn_error "conditional \"am__fastdepCC\" was never defined.
5478Usually this means the macro was only invoked conditionally." "$LINENO" 5
5479fi
5480
5481: ${CONFIG_STATUS=./config.status}
5482ac_write_fail=0
5483ac_clean_files_save=$ac_clean_files
5484ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5485{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5486$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5487as_write_fail=0
5488cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5489#! $SHELL
5490# Generated by $as_me.
5491# Run this file to recreate the current configuration.
5492# Compiler output produced by configure, useful for debugging
5493# configure, is in config.log if it exists.
5494
5495debug=false
5496ac_cs_recheck=false
5497ac_cs_silent=false
5498
5499SHELL=\${CONFIG_SHELL-$SHELL}
5500export SHELL
5501_ASEOF
5502cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5503## -------------------- ##
5504## M4sh Initialization. ##
5505## -------------------- ##
5506
5507# Be more Bourne compatible
5508DUALCASE=1; export DUALCASE # for MKS sh
5509if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5510  emulate sh
5511  NULLCMD=:
5512  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5513  # is contrary to our usage.  Disable this feature.
5514  alias -g '${1+"$@"}'='"$@"'
5515  setopt NO_GLOB_SUBST
5516else
5517  case `(set -o) 2>/dev/null` in #(
5518  *posix*) :
5519    set -o posix ;; #(
5520  *) :
5521     ;;
5522esac
5523fi
5524
5525
5526as_nl='
5527'
5528export as_nl
5529# Printing a long string crashes Solaris 7 /usr/bin/printf.
5530as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5531as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5532as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5533# Prefer a ksh shell builtin over an external printf program on Solaris,
5534# but without wasting forks for bash or zsh.
5535if test -z "$BASH_VERSION$ZSH_VERSION" \
5536    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5537  as_echo='print -r --'
5538  as_echo_n='print -rn --'
5539elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5540  as_echo='printf %s\n'
5541  as_echo_n='printf %s'
5542else
5543  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5544    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5545    as_echo_n='/usr/ucb/echo -n'
5546  else
5547    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5548    as_echo_n_body='eval
5549      arg=$1;
5550      case $arg in #(
5551      *"$as_nl"*)
5552	expr "X$arg" : "X\\(.*\\)$as_nl";
5553	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5554      esac;
5555      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5556    '
5557    export as_echo_n_body
5558    as_echo_n='sh -c $as_echo_n_body as_echo'
5559  fi
5560  export as_echo_body
5561  as_echo='sh -c $as_echo_body as_echo'
5562fi
5563
5564# The user is always right.
5565if test "${PATH_SEPARATOR+set}" != set; then
5566  PATH_SEPARATOR=:
5567  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5568    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5569      PATH_SEPARATOR=';'
5570  }
5571fi
5572
5573
5574# IFS
5575# We need space, tab and new line, in precisely that order.  Quoting is
5576# there to prevent editors from complaining about space-tab.
5577# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5578# splitting by setting IFS to empty value.)
5579IFS=" ""	$as_nl"
5580
5581# Find who we are.  Look in the path if we contain no directory separator.
5582case $0 in #((
5583  *[\\/]* ) as_myself=$0 ;;
5584  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585for as_dir in $PATH
5586do
5587  IFS=$as_save_IFS
5588  test -z "$as_dir" && as_dir=.
5589    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5590  done
5591IFS=$as_save_IFS
5592
5593     ;;
5594esac
5595# We did not find ourselves, most probably we were run as `sh COMMAND'
5596# in which case we are not to be found in the path.
5597if test "x$as_myself" = x; then
5598  as_myself=$0
5599fi
5600if test ! -f "$as_myself"; then
5601  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5602  exit 1
5603fi
5604
5605# Unset variables that we do not need and which cause bugs (e.g. in
5606# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5607# suppresses any "Segmentation fault" message there.  '((' could
5608# trigger a bug in pdksh 5.2.14.
5609for as_var in BASH_ENV ENV MAIL MAILPATH
5610do eval test x\${$as_var+set} = xset \
5611  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5612done
5613PS1='$ '
5614PS2='> '
5615PS4='+ '
5616
5617# NLS nuisances.
5618LC_ALL=C
5619export LC_ALL
5620LANGUAGE=C
5621export LANGUAGE
5622
5623# CDPATH.
5624(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5625
5626
5627# as_fn_error ERROR [LINENO LOG_FD]
5628# ---------------------------------
5629# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5630# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5631# script with status $?, using 1 if that was 0.
5632as_fn_error ()
5633{
5634  as_status=$?; test $as_status -eq 0 && as_status=1
5635  if test "$3"; then
5636    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5637    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5638  fi
5639  $as_echo "$as_me: error: $1" >&2
5640  as_fn_exit $as_status
5641} # as_fn_error
5642
5643
5644# as_fn_set_status STATUS
5645# -----------------------
5646# Set $? to STATUS, without forking.
5647as_fn_set_status ()
5648{
5649  return $1
5650} # as_fn_set_status
5651
5652# as_fn_exit STATUS
5653# -----------------
5654# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5655as_fn_exit ()
5656{
5657  set +e
5658  as_fn_set_status $1
5659  exit $1
5660} # as_fn_exit
5661
5662# as_fn_unset VAR
5663# ---------------
5664# Portably unset VAR.
5665as_fn_unset ()
5666{
5667  { eval $1=; unset $1;}
5668}
5669as_unset=as_fn_unset
5670# as_fn_append VAR VALUE
5671# ----------------------
5672# Append the text in VALUE to the end of the definition contained in VAR. Take
5673# advantage of any shell optimizations that allow amortized linear growth over
5674# repeated appends, instead of the typical quadratic growth present in naive
5675# implementations.
5676if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5677  eval 'as_fn_append ()
5678  {
5679    eval $1+=\$2
5680  }'
5681else
5682  as_fn_append ()
5683  {
5684    eval $1=\$$1\$2
5685  }
5686fi # as_fn_append
5687
5688# as_fn_arith ARG...
5689# ------------------
5690# Perform arithmetic evaluation on the ARGs, and store the result in the
5691# global $as_val. Take advantage of shells that can avoid forks. The arguments
5692# must be portable across $(()) and expr.
5693if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5694  eval 'as_fn_arith ()
5695  {
5696    as_val=$(( $* ))
5697  }'
5698else
5699  as_fn_arith ()
5700  {
5701    as_val=`expr "$@" || test $? -eq 1`
5702  }
5703fi # as_fn_arith
5704
5705
5706if expr a : '\(a\)' >/dev/null 2>&1 &&
5707   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5708  as_expr=expr
5709else
5710  as_expr=false
5711fi
5712
5713if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5714  as_basename=basename
5715else
5716  as_basename=false
5717fi
5718
5719if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5720  as_dirname=dirname
5721else
5722  as_dirname=false
5723fi
5724
5725as_me=`$as_basename -- "$0" ||
5726$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5727	 X"$0" : 'X\(//\)$' \| \
5728	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5729$as_echo X/"$0" |
5730    sed '/^.*\/\([^/][^/]*\)\/*$/{
5731	    s//\1/
5732	    q
5733	  }
5734	  /^X\/\(\/\/\)$/{
5735	    s//\1/
5736	    q
5737	  }
5738	  /^X\/\(\/\).*/{
5739	    s//\1/
5740	    q
5741	  }
5742	  s/.*/./; q'`
5743
5744# Avoid depending upon Character Ranges.
5745as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5746as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5747as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5748as_cr_digits='0123456789'
5749as_cr_alnum=$as_cr_Letters$as_cr_digits
5750
5751ECHO_C= ECHO_N= ECHO_T=
5752case `echo -n x` in #(((((
5753-n*)
5754  case `echo 'xy\c'` in
5755  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5756  xy)  ECHO_C='\c';;
5757  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5758       ECHO_T='	';;
5759  esac;;
5760*)
5761  ECHO_N='-n';;
5762esac
5763
5764rm -f conf$$ conf$$.exe conf$$.file
5765if test -d conf$$.dir; then
5766  rm -f conf$$.dir/conf$$.file
5767else
5768  rm -f conf$$.dir
5769  mkdir conf$$.dir 2>/dev/null
5770fi
5771if (echo >conf$$.file) 2>/dev/null; then
5772  if ln -s conf$$.file conf$$ 2>/dev/null; then
5773    as_ln_s='ln -s'
5774    # ... but there are two gotchas:
5775    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5776    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5777    # In both cases, we have to default to `cp -p'.
5778    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5779      as_ln_s='cp -p'
5780  elif ln conf$$.file conf$$ 2>/dev/null; then
5781    as_ln_s=ln
5782  else
5783    as_ln_s='cp -p'
5784  fi
5785else
5786  as_ln_s='cp -p'
5787fi
5788rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5789rmdir conf$$.dir 2>/dev/null
5790
5791
5792# as_fn_mkdir_p
5793# -------------
5794# Create "$as_dir" as a directory, including parents if necessary.
5795as_fn_mkdir_p ()
5796{
5797
5798  case $as_dir in #(
5799  -*) as_dir=./$as_dir;;
5800  esac
5801  test -d "$as_dir" || eval $as_mkdir_p || {
5802    as_dirs=
5803    while :; do
5804      case $as_dir in #(
5805      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5806      *) as_qdir=$as_dir;;
5807      esac
5808      as_dirs="'$as_qdir' $as_dirs"
5809      as_dir=`$as_dirname -- "$as_dir" ||
5810$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5811	 X"$as_dir" : 'X\(//\)[^/]' \| \
5812	 X"$as_dir" : 'X\(//\)$' \| \
5813	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5814$as_echo X"$as_dir" |
5815    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5816	    s//\1/
5817	    q
5818	  }
5819	  /^X\(\/\/\)[^/].*/{
5820	    s//\1/
5821	    q
5822	  }
5823	  /^X\(\/\/\)$/{
5824	    s//\1/
5825	    q
5826	  }
5827	  /^X\(\/\).*/{
5828	    s//\1/
5829	    q
5830	  }
5831	  s/.*/./; q'`
5832      test -d "$as_dir" && break
5833    done
5834    test -z "$as_dirs" || eval "mkdir $as_dirs"
5835  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5836
5837
5838} # as_fn_mkdir_p
5839if mkdir -p . 2>/dev/null; then
5840  as_mkdir_p='mkdir -p "$as_dir"'
5841else
5842  test -d ./-p && rmdir ./-p
5843  as_mkdir_p=false
5844fi
5845
5846if test -x / >/dev/null 2>&1; then
5847  as_test_x='test -x'
5848else
5849  if ls -dL / >/dev/null 2>&1; then
5850    as_ls_L_option=L
5851  else
5852    as_ls_L_option=
5853  fi
5854  as_test_x='
5855    eval sh -c '\''
5856      if test -d "$1"; then
5857	test -d "$1/.";
5858      else
5859	case $1 in #(
5860	-*)set "./$1";;
5861	esac;
5862	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5863	???[sx]*):;;*)false;;esac;fi
5864    '\'' sh
5865  '
5866fi
5867as_executable_p=$as_test_x
5868
5869# Sed expression to map a string onto a valid CPP name.
5870as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5871
5872# Sed expression to map a string onto a valid variable name.
5873as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5874
5875
5876exec 6>&1
5877## ----------------------------------- ##
5878## Main body of $CONFIG_STATUS script. ##
5879## ----------------------------------- ##
5880_ASEOF
5881test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5882
5883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5884# Save the log message, to keep $0 and so on meaningful, and to
5885# report actual input values of CONFIG_FILES etc. instead of their
5886# values after options handling.
5887ac_log="
5888This file was extended by xcalc $as_me 1.0.3, which was
5889generated by GNU Autoconf 2.65.  Invocation command line was
5890
5891  CONFIG_FILES    = $CONFIG_FILES
5892  CONFIG_HEADERS  = $CONFIG_HEADERS
5893  CONFIG_LINKS    = $CONFIG_LINKS
5894  CONFIG_COMMANDS = $CONFIG_COMMANDS
5895  $ $0 $@
5896
5897on `(hostname || uname -n) 2>/dev/null | sed 1q`
5898"
5899
5900_ACEOF
5901
5902case $ac_config_files in *"
5903"*) set x $ac_config_files; shift; ac_config_files=$*;;
5904esac
5905
5906case $ac_config_headers in *"
5907"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5908esac
5909
5910
5911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5912# Files that config.status was made for.
5913config_files="$ac_config_files"
5914config_headers="$ac_config_headers"
5915config_commands="$ac_config_commands"
5916
5917_ACEOF
5918
5919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5920ac_cs_usage="\
5921\`$as_me' instantiates files and other configuration actions
5922from templates according to the current configuration.  Unless the files
5923and actions are specified as TAGs, all are instantiated by default.
5924
5925Usage: $0 [OPTION]... [TAG]...
5926
5927  -h, --help       print this help, then exit
5928  -V, --version    print version number and configuration settings, then exit
5929      --config     print configuration, then exit
5930  -q, --quiet, --silent
5931                   do not print progress messages
5932  -d, --debug      don't remove temporary files
5933      --recheck    update $as_me by reconfiguring in the same conditions
5934      --file=FILE[:TEMPLATE]
5935                   instantiate the configuration file FILE
5936      --header=FILE[:TEMPLATE]
5937                   instantiate the configuration header FILE
5938
5939Configuration files:
5940$config_files
5941
5942Configuration headers:
5943$config_headers
5944
5945Configuration commands:
5946$config_commands
5947
5948Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5949
5950_ACEOF
5951cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5952ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5953ac_cs_version="\\
5954xcalc config.status 1.0.3
5955configured by $0, generated by GNU Autoconf 2.65,
5956  with options \\"\$ac_cs_config\\"
5957
5958Copyright (C) 2009 Free Software Foundation, Inc.
5959This config.status script is free software; the Free Software Foundation
5960gives unlimited permission to copy, distribute and modify it."
5961
5962ac_pwd='$ac_pwd'
5963srcdir='$srcdir'
5964INSTALL='$INSTALL'
5965MKDIR_P='$MKDIR_P'
5966AWK='$AWK'
5967test -n "\$AWK" || AWK=awk
5968_ACEOF
5969
5970cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5971# The default lists apply if the user does not specify any file.
5972ac_need_defaults=:
5973while test $# != 0
5974do
5975  case $1 in
5976  --*=*)
5977    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5978    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5979    ac_shift=:
5980    ;;
5981  *)
5982    ac_option=$1
5983    ac_optarg=$2
5984    ac_shift=shift
5985    ;;
5986  esac
5987
5988  case $ac_option in
5989  # Handling of the options.
5990  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5991    ac_cs_recheck=: ;;
5992  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5993    $as_echo "$ac_cs_version"; exit ;;
5994  --config | --confi | --conf | --con | --co | --c )
5995    $as_echo "$ac_cs_config"; exit ;;
5996  --debug | --debu | --deb | --de | --d | -d )
5997    debug=: ;;
5998  --file | --fil | --fi | --f )
5999    $ac_shift
6000    case $ac_optarg in
6001    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6002    esac
6003    as_fn_append CONFIG_FILES " '$ac_optarg'"
6004    ac_need_defaults=false;;
6005  --header | --heade | --head | --hea )
6006    $ac_shift
6007    case $ac_optarg in
6008    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6009    esac
6010    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6011    ac_need_defaults=false;;
6012  --he | --h)
6013    # Conflict between --help and --header
6014    as_fn_error "ambiguous option: \`$1'
6015Try \`$0 --help' for more information.";;
6016  --help | --hel | -h )
6017    $as_echo "$ac_cs_usage"; exit ;;
6018  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6019  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6020    ac_cs_silent=: ;;
6021
6022  # This is an error.
6023  -*) as_fn_error "unrecognized option: \`$1'
6024Try \`$0 --help' for more information." ;;
6025
6026  *) as_fn_append ac_config_targets " $1"
6027     ac_need_defaults=false ;;
6028
6029  esac
6030  shift
6031done
6032
6033ac_configure_extra_args=
6034
6035if $ac_cs_silent; then
6036  exec 6>/dev/null
6037  ac_configure_extra_args="$ac_configure_extra_args --silent"
6038fi
6039
6040_ACEOF
6041cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6042if \$ac_cs_recheck; then
6043  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6044  shift
6045  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6046  CONFIG_SHELL='$SHELL'
6047  export CONFIG_SHELL
6048  exec "\$@"
6049fi
6050
6051_ACEOF
6052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6053exec 5>>config.log
6054{
6055  echo
6056  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6057## Running $as_me. ##
6058_ASBOX
6059  $as_echo "$ac_log"
6060} >&5
6061
6062_ACEOF
6063cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6064#
6065# INIT-COMMANDS
6066#
6067AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6068
6069_ACEOF
6070
6071cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6072
6073# Handling of arguments.
6074for ac_config_target in $ac_config_targets
6075do
6076  case $ac_config_target in
6077    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6078    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6079    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6080
6081  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6082  esac
6083done
6084
6085
6086# If the user did not use the arguments to specify the items to instantiate,
6087# then the envvar interface is used.  Set only those that are not.
6088# We use the long form for the default assignment because of an extremely
6089# bizarre bug on SunOS 4.1.3.
6090if $ac_need_defaults; then
6091  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6092  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6093  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6094fi
6095
6096# Have a temporary directory for convenience.  Make it in the build tree
6097# simply because there is no reason against having it here, and in addition,
6098# creating and moving files from /tmp can sometimes cause problems.
6099# Hook for its removal unless debugging.
6100# Note that there is a small window in which the directory will not be cleaned:
6101# after its creation but before its name has been assigned to `$tmp'.
6102$debug ||
6103{
6104  tmp=
6105  trap 'exit_status=$?
6106  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6107' 0
6108  trap 'as_fn_exit 1' 1 2 13 15
6109}
6110# Create a (secure) tmp directory for tmp files.
6111
6112{
6113  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6114  test -n "$tmp" && test -d "$tmp"
6115}  ||
6116{
6117  tmp=./conf$$-$RANDOM
6118  (umask 077 && mkdir "$tmp")
6119} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6120
6121# Set up the scripts for CONFIG_FILES section.
6122# No need to generate them if there are no CONFIG_FILES.
6123# This happens for instance with `./config.status config.h'.
6124if test -n "$CONFIG_FILES"; then
6125
6126
6127ac_cr=`echo X | tr X '\015'`
6128# On cygwin, bash can eat \r inside `` if the user requested igncr.
6129# But we know of no other shell where ac_cr would be empty at this
6130# point, so we can use a bashism as a fallback.
6131if test "x$ac_cr" = x; then
6132  eval ac_cr=\$\'\\r\'
6133fi
6134ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6135if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6136  ac_cs_awk_cr='\r'
6137else
6138  ac_cs_awk_cr=$ac_cr
6139fi
6140
6141echo 'BEGIN {' >"$tmp/subs1.awk" &&
6142_ACEOF
6143
6144
6145{
6146  echo "cat >conf$$subs.awk <<_ACEOF" &&
6147  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6148  echo "_ACEOF"
6149} >conf$$subs.sh ||
6150  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6151ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6152ac_delim='%!_!# '
6153for ac_last_try in false false false false false :; do
6154  . ./conf$$subs.sh ||
6155    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6156
6157  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6158  if test $ac_delim_n = $ac_delim_num; then
6159    break
6160  elif $ac_last_try; then
6161    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6162  else
6163    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6164  fi
6165done
6166rm -f conf$$subs.sh
6167
6168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6169cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6170_ACEOF
6171sed -n '
6172h
6173s/^/S["/; s/!.*/"]=/
6174p
6175g
6176s/^[^!]*!//
6177:repl
6178t repl
6179s/'"$ac_delim"'$//
6180t delim
6181:nl
6182h
6183s/\(.\{148\}\)..*/\1/
6184t more1
6185s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6186p
6187n
6188b repl
6189:more1
6190s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6191p
6192g
6193s/.\{148\}//
6194t nl
6195:delim
6196h
6197s/\(.\{148\}\)..*/\1/
6198t more2
6199s/["\\]/\\&/g; s/^/"/; s/$/"/
6200p
6201b
6202:more2
6203s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6204p
6205g
6206s/.\{148\}//
6207t delim
6208' <conf$$subs.awk | sed '
6209/^[^""]/{
6210  N
6211  s/\n//
6212}
6213' >>$CONFIG_STATUS || ac_write_fail=1
6214rm -f conf$$subs.awk
6215cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6216_ACAWK
6217cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6218  for (key in S) S_is_set[key] = 1
6219  FS = ""
6220
6221}
6222{
6223  line = $ 0
6224  nfields = split(line, field, "@")
6225  substed = 0
6226  len = length(field[1])
6227  for (i = 2; i < nfields; i++) {
6228    key = field[i]
6229    keylen = length(key)
6230    if (S_is_set[key]) {
6231      value = S[key]
6232      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6233      len += length(value) + length(field[++i])
6234      substed = 1
6235    } else
6236      len += 1 + keylen
6237  }
6238
6239  print line
6240}
6241
6242_ACAWK
6243_ACEOF
6244cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6245if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6246  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6247else
6248  cat
6249fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6250  || as_fn_error "could not setup config files machinery" "$LINENO" 5
6251_ACEOF
6252
6253# VPATH may cause trouble with some makes, so we remove $(srcdir),
6254# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6255# trailing colons and then remove the whole line if VPATH becomes empty
6256# (actually we leave an empty line to preserve line numbers).
6257if test "x$srcdir" = x.; then
6258  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6259s/:*\$(srcdir):*/:/
6260s/:*\${srcdir}:*/:/
6261s/:*@srcdir@:*/:/
6262s/^\([^=]*=[	 ]*\):*/\1/
6263s/:*$//
6264s/^[^=]*=[	 ]*$//
6265}'
6266fi
6267
6268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6269fi # test -n "$CONFIG_FILES"
6270
6271# Set up the scripts for CONFIG_HEADERS section.
6272# No need to generate them if there are no CONFIG_HEADERS.
6273# This happens for instance with `./config.status Makefile'.
6274if test -n "$CONFIG_HEADERS"; then
6275cat >"$tmp/defines.awk" <<\_ACAWK ||
6276BEGIN {
6277_ACEOF
6278
6279# Transform confdefs.h into an awk script `defines.awk', embedded as
6280# here-document in config.status, that substitutes the proper values into
6281# config.h.in to produce config.h.
6282
6283# Create a delimiter string that does not exist in confdefs.h, to ease
6284# handling of long lines.
6285ac_delim='%!_!# '
6286for ac_last_try in false false :; do
6287  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6288  if test -z "$ac_t"; then
6289    break
6290  elif $ac_last_try; then
6291    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6292  else
6293    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6294  fi
6295done
6296
6297# For the awk script, D is an array of macro values keyed by name,
6298# likewise P contains macro parameters if any.  Preserve backslash
6299# newline sequences.
6300
6301ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6302sed -n '
6303s/.\{148\}/&'"$ac_delim"'/g
6304t rset
6305:rset
6306s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6307t def
6308d
6309:def
6310s/\\$//
6311t bsnl
6312s/["\\]/\\&/g
6313s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6314D["\1"]=" \3"/p
6315s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6316d
6317:bsnl
6318s/["\\]/\\&/g
6319s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6320D["\1"]=" \3\\\\\\n"\\/p
6321t cont
6322s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6323t cont
6324d
6325:cont
6326n
6327s/.\{148\}/&'"$ac_delim"'/g
6328t clear
6329:clear
6330s/\\$//
6331t bsnlc
6332s/["\\]/\\&/g; s/^/"/; s/$/"/p
6333d
6334:bsnlc
6335s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6336b cont
6337' <confdefs.h | sed '
6338s/'"$ac_delim"'/"\\\
6339"/g' >>$CONFIG_STATUS || ac_write_fail=1
6340
6341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6342  for (key in D) D_is_set[key] = 1
6343  FS = ""
6344}
6345/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6346  line = \$ 0
6347  split(line, arg, " ")
6348  if (arg[1] == "#") {
6349    defundef = arg[2]
6350    mac1 = arg[3]
6351  } else {
6352    defundef = substr(arg[1], 2)
6353    mac1 = arg[2]
6354  }
6355  split(mac1, mac2, "(") #)
6356  macro = mac2[1]
6357  prefix = substr(line, 1, index(line, defundef) - 1)
6358  if (D_is_set[macro]) {
6359    # Preserve the white space surrounding the "#".
6360    print prefix "define", macro P[macro] D[macro]
6361    next
6362  } else {
6363    # Replace #undef with comments.  This is necessary, for example,
6364    # in the case of _POSIX_SOURCE, which is predefined and required
6365    # on some systems where configure will not decide to define it.
6366    if (defundef == "undef") {
6367      print "/*", prefix defundef, macro, "*/"
6368      next
6369    }
6370  }
6371}
6372{ print }
6373_ACAWK
6374_ACEOF
6375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6376  as_fn_error "could not setup config headers machinery" "$LINENO" 5
6377fi # test -n "$CONFIG_HEADERS"
6378
6379
6380eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6381shift
6382for ac_tag
6383do
6384  case $ac_tag in
6385  :[FHLC]) ac_mode=$ac_tag; continue;;
6386  esac
6387  case $ac_mode$ac_tag in
6388  :[FHL]*:*);;
6389  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6390  :[FH]-) ac_tag=-:-;;
6391  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6392  esac
6393  ac_save_IFS=$IFS
6394  IFS=:
6395  set x $ac_tag
6396  IFS=$ac_save_IFS
6397  shift
6398  ac_file=$1
6399  shift
6400
6401  case $ac_mode in
6402  :L) ac_source=$1;;
6403  :[FH])
6404    ac_file_inputs=
6405    for ac_f
6406    do
6407      case $ac_f in
6408      -) ac_f="$tmp/stdin";;
6409      *) # Look for the file first in the build tree, then in the source tree
6410	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6411	 # because $ac_f cannot contain `:'.
6412	 test -f "$ac_f" ||
6413	   case $ac_f in
6414	   [\\/$]*) false;;
6415	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6416	   esac ||
6417	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6418      esac
6419      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6420      as_fn_append ac_file_inputs " '$ac_f'"
6421    done
6422
6423    # Let's still pretend it is `configure' which instantiates (i.e., don't
6424    # use $as_me), people would be surprised to read:
6425    #    /* config.h.  Generated by config.status.  */
6426    configure_input='Generated from '`
6427	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6428	`' by configure.'
6429    if test x"$ac_file" != x-; then
6430      configure_input="$ac_file.  $configure_input"
6431      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6432$as_echo "$as_me: creating $ac_file" >&6;}
6433    fi
6434    # Neutralize special characters interpreted by sed in replacement strings.
6435    case $configure_input in #(
6436    *\&* | *\|* | *\\* )
6437       ac_sed_conf_input=`$as_echo "$configure_input" |
6438       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6439    *) ac_sed_conf_input=$configure_input;;
6440    esac
6441
6442    case $ac_tag in
6443    *:-:* | *:-) cat >"$tmp/stdin" \
6444      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6445    esac
6446    ;;
6447  esac
6448
6449  ac_dir=`$as_dirname -- "$ac_file" ||
6450$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451	 X"$ac_file" : 'X\(//\)[^/]' \| \
6452	 X"$ac_file" : 'X\(//\)$' \| \
6453	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6454$as_echo X"$ac_file" |
6455    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6456	    s//\1/
6457	    q
6458	  }
6459	  /^X\(\/\/\)[^/].*/{
6460	    s//\1/
6461	    q
6462	  }
6463	  /^X\(\/\/\)$/{
6464	    s//\1/
6465	    q
6466	  }
6467	  /^X\(\/\).*/{
6468	    s//\1/
6469	    q
6470	  }
6471	  s/.*/./; q'`
6472  as_dir="$ac_dir"; as_fn_mkdir_p
6473  ac_builddir=.
6474
6475case "$ac_dir" in
6476.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6477*)
6478  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6479  # A ".." for each directory in $ac_dir_suffix.
6480  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6481  case $ac_top_builddir_sub in
6482  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6483  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6484  esac ;;
6485esac
6486ac_abs_top_builddir=$ac_pwd
6487ac_abs_builddir=$ac_pwd$ac_dir_suffix
6488# for backward compatibility:
6489ac_top_builddir=$ac_top_build_prefix
6490
6491case $srcdir in
6492  .)  # We are building in place.
6493    ac_srcdir=.
6494    ac_top_srcdir=$ac_top_builddir_sub
6495    ac_abs_top_srcdir=$ac_pwd ;;
6496  [\\/]* | ?:[\\/]* )  # Absolute name.
6497    ac_srcdir=$srcdir$ac_dir_suffix;
6498    ac_top_srcdir=$srcdir
6499    ac_abs_top_srcdir=$srcdir ;;
6500  *) # Relative name.
6501    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6502    ac_top_srcdir=$ac_top_build_prefix$srcdir
6503    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6504esac
6505ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6506
6507
6508  case $ac_mode in
6509  :F)
6510  #
6511  # CONFIG_FILE
6512  #
6513
6514  case $INSTALL in
6515  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6516  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6517  esac
6518  ac_MKDIR_P=$MKDIR_P
6519  case $MKDIR_P in
6520  [\\/$]* | ?:[\\/]* ) ;;
6521  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6522  esac
6523_ACEOF
6524
6525cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6526# If the template does not know about datarootdir, expand it.
6527# FIXME: This hack should be removed a few years after 2.60.
6528ac_datarootdir_hack=; ac_datarootdir_seen=
6529ac_sed_dataroot='
6530/datarootdir/ {
6531  p
6532  q
6533}
6534/@datadir@/p
6535/@docdir@/p
6536/@infodir@/p
6537/@localedir@/p
6538/@mandir@/p'
6539case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6540*datarootdir*) ac_datarootdir_seen=yes;;
6541*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6542  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6543$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6544_ACEOF
6545cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6546  ac_datarootdir_hack='
6547  s&@datadir@&$datadir&g
6548  s&@docdir@&$docdir&g
6549  s&@infodir@&$infodir&g
6550  s&@localedir@&$localedir&g
6551  s&@mandir@&$mandir&g
6552  s&\\\${datarootdir}&$datarootdir&g' ;;
6553esac
6554_ACEOF
6555
6556# Neutralize VPATH when `$srcdir' = `.'.
6557# Shell code in configure.ac might set extrasub.
6558# FIXME: do we really want to maintain this feature?
6559cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6560ac_sed_extra="$ac_vpsub
6561$extrasub
6562_ACEOF
6563cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6564:t
6565/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6566s|@configure_input@|$ac_sed_conf_input|;t t
6567s&@top_builddir@&$ac_top_builddir_sub&;t t
6568s&@top_build_prefix@&$ac_top_build_prefix&;t t
6569s&@srcdir@&$ac_srcdir&;t t
6570s&@abs_srcdir@&$ac_abs_srcdir&;t t
6571s&@top_srcdir@&$ac_top_srcdir&;t t
6572s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6573s&@builddir@&$ac_builddir&;t t
6574s&@abs_builddir@&$ac_abs_builddir&;t t
6575s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6576s&@INSTALL@&$ac_INSTALL&;t t
6577s&@MKDIR_P@&$ac_MKDIR_P&;t t
6578$ac_datarootdir_hack
6579"
6580eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6581  || as_fn_error "could not create $ac_file" "$LINENO" 5
6582
6583test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6584  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6585  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6586  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6587which seems to be undefined.  Please make sure it is defined." >&5
6588$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6589which seems to be undefined.  Please make sure it is defined." >&2;}
6590
6591  rm -f "$tmp/stdin"
6592  case $ac_file in
6593  -) cat "$tmp/out" && rm -f "$tmp/out";;
6594  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6595  esac \
6596  || as_fn_error "could not create $ac_file" "$LINENO" 5
6597 ;;
6598  :H)
6599  #
6600  # CONFIG_HEADER
6601  #
6602  if test x"$ac_file" != x-; then
6603    {
6604      $as_echo "/* $configure_input  */" \
6605      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6606    } >"$tmp/config.h" \
6607      || as_fn_error "could not create $ac_file" "$LINENO" 5
6608    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6609      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6610$as_echo "$as_me: $ac_file is unchanged" >&6;}
6611    else
6612      rm -f "$ac_file"
6613      mv "$tmp/config.h" "$ac_file" \
6614	|| as_fn_error "could not create $ac_file" "$LINENO" 5
6615    fi
6616  else
6617    $as_echo "/* $configure_input  */" \
6618      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6619      || as_fn_error "could not create -" "$LINENO" 5
6620  fi
6621# Compute "$ac_file"'s index in $config_headers.
6622_am_arg="$ac_file"
6623_am_stamp_count=1
6624for _am_header in $config_headers :; do
6625  case $_am_header in
6626    $_am_arg | $_am_arg:* )
6627      break ;;
6628    * )
6629      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6630  esac
6631done
6632echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6633$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6634	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6635	 X"$_am_arg" : 'X\(//\)$' \| \
6636	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6637$as_echo X"$_am_arg" |
6638    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6639	    s//\1/
6640	    q
6641	  }
6642	  /^X\(\/\/\)[^/].*/{
6643	    s//\1/
6644	    q
6645	  }
6646	  /^X\(\/\/\)$/{
6647	    s//\1/
6648	    q
6649	  }
6650	  /^X\(\/\).*/{
6651	    s//\1/
6652	    q
6653	  }
6654	  s/.*/./; q'`/stamp-h$_am_stamp_count
6655 ;;
6656
6657  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6658$as_echo "$as_me: executing $ac_file commands" >&6;}
6659 ;;
6660  esac
6661
6662
6663  case $ac_file$ac_mode in
6664    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6665  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6666  # are listed without --file.  Let's play safe and only enable the eval
6667  # if we detect the quoting.
6668  case $CONFIG_FILES in
6669  *\'*) eval set x "$CONFIG_FILES" ;;
6670  *)   set x $CONFIG_FILES ;;
6671  esac
6672  shift
6673  for mf
6674  do
6675    # Strip MF so we end up with the name of the file.
6676    mf=`echo "$mf" | sed -e 's/:.*$//'`
6677    # Check whether this is an Automake generated Makefile or not.
6678    # We used to match only the files named `Makefile.in', but
6679    # some people rename them; so instead we look at the file content.
6680    # Grep'ing the first line is not enough: some people post-process
6681    # each Makefile.in and add a new line on top of each file to say so.
6682    # Grep'ing the whole file is not good either: AIX grep has a line
6683    # limit of 2048, but all sed's we know have understand at least 4000.
6684    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6685      dirpart=`$as_dirname -- "$mf" ||
6686$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6687	 X"$mf" : 'X\(//\)[^/]' \| \
6688	 X"$mf" : 'X\(//\)$' \| \
6689	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6690$as_echo X"$mf" |
6691    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6692	    s//\1/
6693	    q
6694	  }
6695	  /^X\(\/\/\)[^/].*/{
6696	    s//\1/
6697	    q
6698	  }
6699	  /^X\(\/\/\)$/{
6700	    s//\1/
6701	    q
6702	  }
6703	  /^X\(\/\).*/{
6704	    s//\1/
6705	    q
6706	  }
6707	  s/.*/./; q'`
6708    else
6709      continue
6710    fi
6711    # Extract the definition of DEPDIR, am__include, and am__quote
6712    # from the Makefile without running `make'.
6713    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6714    test -z "$DEPDIR" && continue
6715    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6716    test -z "am__include" && continue
6717    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6718    # When using ansi2knr, U may be empty or an underscore; expand it
6719    U=`sed -n 's/^U = //p' < "$mf"`
6720    # Find all dependency output files, they are included files with
6721    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6722    # simplest approach to changing $(DEPDIR) to its actual value in the
6723    # expansion.
6724    for file in `sed -n "
6725      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6726	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6727      # Make sure the directory exists.
6728      test -f "$dirpart/$file" && continue
6729      fdir=`$as_dirname -- "$file" ||
6730$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6731	 X"$file" : 'X\(//\)[^/]' \| \
6732	 X"$file" : 'X\(//\)$' \| \
6733	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6734$as_echo X"$file" |
6735    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6736	    s//\1/
6737	    q
6738	  }
6739	  /^X\(\/\/\)[^/].*/{
6740	    s//\1/
6741	    q
6742	  }
6743	  /^X\(\/\/\)$/{
6744	    s//\1/
6745	    q
6746	  }
6747	  /^X\(\/\).*/{
6748	    s//\1/
6749	    q
6750	  }
6751	  s/.*/./; q'`
6752      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6753      # echo "creating $dirpart/$file"
6754      echo '# dummy' > "$dirpart/$file"
6755    done
6756  done
6757}
6758 ;;
6759
6760  esac
6761done # for ac_tag
6762
6763
6764as_fn_exit 0
6765_ACEOF
6766ac_clean_files=$ac_clean_files_save
6767
6768test $ac_write_fail = 0 ||
6769  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6770
6771
6772# configure is writing to config.log, and then calls config.status.
6773# config.status does its own redirection, appending to config.log.
6774# Unfortunately, on DOS this fails, as config.log is still kept open
6775# by configure, so config.status won't be able to write to it; its
6776# output is simply discarded.  So we exec the FD to /dev/null,
6777# effectively closing config.log, so it can be properly (re)opened and
6778# appended to by config.status.  When coming back to configure, we
6779# need to make the FD available again.
6780if test "$no_create" != yes; then
6781  ac_cs_success=:
6782  ac_config_status_args=
6783  test "$silent" = yes &&
6784    ac_config_status_args="$ac_config_status_args --quiet"
6785  exec 5>/dev/null
6786  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6787  exec 5>>config.log
6788  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6789  # would make configure fail if this is the last instruction.
6790  $ac_cs_success || as_fn_exit $?
6791fi
6792if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6793  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6794$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6795fi
6796
6797