configure revision 4d9b34d9
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for xcalc 1.0.2.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='xcalc'
576PACKAGE_TARNAME='xcalc'
577PACKAGE_VERSION='1.0.2'
578PACKAGE_STRING='xcalc 1.0.2'
579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581ac_subst_vars='SHELL
582PATH_SEPARATOR
583PACKAGE_NAME
584PACKAGE_TARNAME
585PACKAGE_VERSION
586PACKAGE_STRING
587PACKAGE_BUGREPORT
588exec_prefix
589prefix
590program_transform_name
591bindir
592sbindir
593libexecdir
594datarootdir
595datadir
596sysconfdir
597sharedstatedir
598localstatedir
599includedir
600oldincludedir
601docdir
602infodir
603htmldir
604dvidir
605pdfdir
606psdir
607libdir
608localedir
609mandir
610DEFS
611ECHO_C
612ECHO_N
613ECHO_T
614LIBS
615build_alias
616host_alias
617target_alias
618INSTALL_PROGRAM
619INSTALL_SCRIPT
620INSTALL_DATA
621am__isrc
622CYGPATH_W
623PACKAGE
624VERSION
625ACLOCAL
626AUTOCONF
627AUTOMAKE
628AUTOHEADER
629MAKEINFO
630install_sh
631STRIP
632INSTALL_STRIP_PROGRAM
633mkdir_p
634AWK
635SET_MAKE
636am__leading_dot
637AMTAR
638am__tar
639am__untar
640MAINTAINER_MODE_TRUE
641MAINTAINER_MODE_FALSE
642MAINT
643CC
644CFLAGS
645LDFLAGS
646CPPFLAGS
647ac_ct_CC
648EXEEXT
649OBJEXT
650DEPDIR
651am__include
652am__quote
653AMDEP_TRUE
654AMDEP_FALSE
655AMDEPBACKSLASH
656CCDEPMODE
657am__fastdepCC_TRUE
658am__fastdepCC_FALSE
659PKG_CONFIG
660TMP_XAW_CFLAGS
661TMP_XAW_LIBS
662XAW_USE_XPRINT_TRUE
663XAW_USE_XPRINT_FALSE
664XCALC_CFLAGS
665XCALC_LIBS
666APPDEFS_CFLAGS
667APPDEFS_LIBS
668appdefaultdir
669build
670build_cpu
671build_vendor
672build_os
673host
674host_cpu
675host_vendor
676host_os
677APP_MAN_SUFFIX
678LIB_MAN_SUFFIX
679FILE_MAN_SUFFIX
680MISC_MAN_SUFFIX
681DRIVER_MAN_SUFFIX
682ADMIN_MAN_SUFFIX
683APP_MAN_DIR
684LIB_MAN_DIR
685FILE_MAN_DIR
686MISC_MAN_DIR
687DRIVER_MAN_DIR
688ADMIN_MAN_DIR
689LIBOBJS
690LTLIBOBJS'
691ac_subst_files=''
692      ac_precious_vars='build_alias
693host_alias
694target_alias
695CC
696CFLAGS
697LDFLAGS
698LIBS
699CPPFLAGS
700PKG_CONFIG
701TMP_XAW_CFLAGS
702TMP_XAW_LIBS
703APPDEFS_CFLAGS
704APPDEFS_LIBS'
705
706
707# Initialize some variables set by options.
708ac_init_help=
709ac_init_version=false
710# The variables have the same names as the options, with
711# dashes changed to underlines.
712cache_file=/dev/null
713exec_prefix=NONE
714no_create=
715no_recursion=
716prefix=NONE
717program_prefix=NONE
718program_suffix=NONE
719program_transform_name=s,x,x,
720silent=
721site=
722srcdir=
723verbose=
724x_includes=NONE
725x_libraries=NONE
726
727# Installation directory options.
728# These are left unexpanded so users can "make install exec_prefix=/foo"
729# and all the variables that are supposed to be based on exec_prefix
730# by default will actually change.
731# Use braces instead of parens because sh, perl, etc. also accept them.
732# (The list follows the same order as the GNU Coding Standards.)
733bindir='${exec_prefix}/bin'
734sbindir='${exec_prefix}/sbin'
735libexecdir='${exec_prefix}/libexec'
736datarootdir='${prefix}/share'
737datadir='${datarootdir}'
738sysconfdir='${prefix}/etc'
739sharedstatedir='${prefix}/com'
740localstatedir='${prefix}/var'
741includedir='${prefix}/include'
742oldincludedir='/usr/include'
743docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744infodir='${datarootdir}/info'
745htmldir='${docdir}'
746dvidir='${docdir}'
747pdfdir='${docdir}'
748psdir='${docdir}'
749libdir='${exec_prefix}/lib'
750localedir='${datarootdir}/locale'
751mandir='${datarootdir}/man'
752
753ac_prev=
754ac_dashdash=
755for ac_option
756do
757  # If the previous option needs an argument, assign it.
758  if test -n "$ac_prev"; then
759    eval $ac_prev=\$ac_option
760    ac_prev=
761    continue
762  fi
763
764  case $ac_option in
765  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766  *)	ac_optarg=yes ;;
767  esac
768
769  # Accept the important Cygnus configure options, so we can diagnose typos.
770
771  case $ac_dashdash$ac_option in
772  --)
773    ac_dashdash=yes ;;
774
775  -bindir | --bindir | --bindi | --bind | --bin | --bi)
776    ac_prev=bindir ;;
777  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
778    bindir=$ac_optarg ;;
779
780  -build | --build | --buil | --bui | --bu)
781    ac_prev=build_alias ;;
782  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783    build_alias=$ac_optarg ;;
784
785  -cache-file | --cache-file | --cache-fil | --cache-fi \
786  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787    ac_prev=cache_file ;;
788  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790    cache_file=$ac_optarg ;;
791
792  --config-cache | -C)
793    cache_file=config.cache ;;
794
795  -datadir | --datadir | --datadi | --datad)
796    ac_prev=datadir ;;
797  -datadir=* | --datadir=* | --datadi=* | --datad=*)
798    datadir=$ac_optarg ;;
799
800  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801  | --dataroo | --dataro | --datar)
802    ac_prev=datarootdir ;;
803  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805    datarootdir=$ac_optarg ;;
806
807  -disable-* | --disable-*)
808    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809    # Reject names that are not valid shell variable names.
810    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
811      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
812   { (exit 1); exit 1; }; }
813    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
814    eval enable_$ac_feature=no ;;
815
816  -docdir | --docdir | --docdi | --doc | --do)
817    ac_prev=docdir ;;
818  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819    docdir=$ac_optarg ;;
820
821  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822    ac_prev=dvidir ;;
823  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824    dvidir=$ac_optarg ;;
825
826  -enable-* | --enable-*)
827    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828    # Reject names that are not valid shell variable names.
829    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831   { (exit 1); exit 1; }; }
832    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833    eval enable_$ac_feature=\$ac_optarg ;;
834
835  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837  | --exec | --exe | --ex)
838    ac_prev=exec_prefix ;;
839  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841  | --exec=* | --exe=* | --ex=*)
842    exec_prefix=$ac_optarg ;;
843
844  -gas | --gas | --ga | --g)
845    # Obsolete; use --with-gas.
846    with_gas=yes ;;
847
848  -help | --help | --hel | --he | -h)
849    ac_init_help=long ;;
850  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851    ac_init_help=recursive ;;
852  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853    ac_init_help=short ;;
854
855  -host | --host | --hos | --ho)
856    ac_prev=host_alias ;;
857  -host=* | --host=* | --hos=* | --ho=*)
858    host_alias=$ac_optarg ;;
859
860  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861    ac_prev=htmldir ;;
862  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863  | --ht=*)
864    htmldir=$ac_optarg ;;
865
866  -includedir | --includedir | --includedi | --included | --include \
867  | --includ | --inclu | --incl | --inc)
868    ac_prev=includedir ;;
869  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870  | --includ=* | --inclu=* | --incl=* | --inc=*)
871    includedir=$ac_optarg ;;
872
873  -infodir | --infodir | --infodi | --infod | --info | --inf)
874    ac_prev=infodir ;;
875  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876    infodir=$ac_optarg ;;
877
878  -libdir | --libdir | --libdi | --libd)
879    ac_prev=libdir ;;
880  -libdir=* | --libdir=* | --libdi=* | --libd=*)
881    libdir=$ac_optarg ;;
882
883  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884  | --libexe | --libex | --libe)
885    ac_prev=libexecdir ;;
886  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887  | --libexe=* | --libex=* | --libe=*)
888    libexecdir=$ac_optarg ;;
889
890  -localedir | --localedir | --localedi | --localed | --locale)
891    ac_prev=localedir ;;
892  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893    localedir=$ac_optarg ;;
894
895  -localstatedir | --localstatedir | --localstatedi | --localstated \
896  | --localstate | --localstat | --localsta | --localst | --locals)
897    ac_prev=localstatedir ;;
898  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900    localstatedir=$ac_optarg ;;
901
902  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903    ac_prev=mandir ;;
904  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905    mandir=$ac_optarg ;;
906
907  -nfp | --nfp | --nf)
908    # Obsolete; use --without-fp.
909    with_fp=no ;;
910
911  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912  | --no-cr | --no-c | -n)
913    no_create=yes ;;
914
915  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917    no_recursion=yes ;;
918
919  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921  | --oldin | --oldi | --old | --ol | --o)
922    ac_prev=oldincludedir ;;
923  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926    oldincludedir=$ac_optarg ;;
927
928  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929    ac_prev=prefix ;;
930  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931    prefix=$ac_optarg ;;
932
933  -program-prefix | --program-prefix | --program-prefi | --program-pref \
934  | --program-pre | --program-pr | --program-p)
935    ac_prev=program_prefix ;;
936  -program-prefix=* | --program-prefix=* | --program-prefi=* \
937  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938    program_prefix=$ac_optarg ;;
939
940  -program-suffix | --program-suffix | --program-suffi | --program-suff \
941  | --program-suf | --program-su | --program-s)
942    ac_prev=program_suffix ;;
943  -program-suffix=* | --program-suffix=* | --program-suffi=* \
944  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945    program_suffix=$ac_optarg ;;
946
947  -program-transform-name | --program-transform-name \
948  | --program-transform-nam | --program-transform-na \
949  | --program-transform-n | --program-transform- \
950  | --program-transform | --program-transfor \
951  | --program-transfo | --program-transf \
952  | --program-trans | --program-tran \
953  | --progr-tra | --program-tr | --program-t)
954    ac_prev=program_transform_name ;;
955  -program-transform-name=* | --program-transform-name=* \
956  | --program-transform-nam=* | --program-transform-na=* \
957  | --program-transform-n=* | --program-transform-=* \
958  | --program-transform=* | --program-transfor=* \
959  | --program-transfo=* | --program-transf=* \
960  | --program-trans=* | --program-tran=* \
961  | --progr-tra=* | --program-tr=* | --program-t=*)
962    program_transform_name=$ac_optarg ;;
963
964  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965    ac_prev=pdfdir ;;
966  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967    pdfdir=$ac_optarg ;;
968
969  -psdir | --psdir | --psdi | --psd | --ps)
970    ac_prev=psdir ;;
971  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972    psdir=$ac_optarg ;;
973
974  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975  | -silent | --silent | --silen | --sile | --sil)
976    silent=yes ;;
977
978  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979    ac_prev=sbindir ;;
980  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981  | --sbi=* | --sb=*)
982    sbindir=$ac_optarg ;;
983
984  -sharedstatedir | --sharedstatedir | --sharedstatedi \
985  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986  | --sharedst | --shareds | --shared | --share | --shar \
987  | --sha | --sh)
988    ac_prev=sharedstatedir ;;
989  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992  | --sha=* | --sh=*)
993    sharedstatedir=$ac_optarg ;;
994
995  -site | --site | --sit)
996    ac_prev=site ;;
997  -site=* | --site=* | --sit=*)
998    site=$ac_optarg ;;
999
1000  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001    ac_prev=srcdir ;;
1002  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003    srcdir=$ac_optarg ;;
1004
1005  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006  | --syscon | --sysco | --sysc | --sys | --sy)
1007    ac_prev=sysconfdir ;;
1008  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010    sysconfdir=$ac_optarg ;;
1011
1012  -target | --target | --targe | --targ | --tar | --ta | --t)
1013    ac_prev=target_alias ;;
1014  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015    target_alias=$ac_optarg ;;
1016
1017  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018    verbose=yes ;;
1019
1020  -version | --version | --versio | --versi | --vers | -V)
1021    ac_init_version=: ;;
1022
1023  -with-* | --with-*)
1024    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027      { echo "$as_me: error: invalid package name: $ac_package" >&2
1028   { (exit 1); exit 1; }; }
1029    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1030    eval with_$ac_package=\$ac_optarg ;;
1031
1032  -without-* | --without-*)
1033    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034    # Reject names that are not valid shell variable names.
1035    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036      { echo "$as_me: error: invalid package name: $ac_package" >&2
1037   { (exit 1); exit 1; }; }
1038    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1039    eval with_$ac_package=no ;;
1040
1041  --x)
1042    # Obsolete; use --with-x.
1043    with_x=yes ;;
1044
1045  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046  | --x-incl | --x-inc | --x-in | --x-i)
1047    ac_prev=x_includes ;;
1048  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1050    x_includes=$ac_optarg ;;
1051
1052  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1054    ac_prev=x_libraries ;;
1055  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1057    x_libraries=$ac_optarg ;;
1058
1059  -*) { echo "$as_me: error: unrecognized option: $ac_option
1060Try \`$0 --help' for more information." >&2
1061   { (exit 1); exit 1; }; }
1062    ;;
1063
1064  *=*)
1065    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1066    # Reject names that are not valid shell variable names.
1067    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1068      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1069   { (exit 1); exit 1; }; }
1070    eval $ac_envvar=\$ac_optarg
1071    export $ac_envvar ;;
1072
1073  *)
1074    # FIXME: should be removed in autoconf 3.0.
1075    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1078    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1079    ;;
1080
1081  esac
1082done
1083
1084if test -n "$ac_prev"; then
1085  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1086  { echo "$as_me: error: missing argument to $ac_option" >&2
1087   { (exit 1); exit 1; }; }
1088fi
1089
1090# Be sure to have absolute directory names.
1091for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1092		datadir sysconfdir sharedstatedir localstatedir includedir \
1093		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1094		libdir localedir mandir
1095do
1096  eval ac_val=\$$ac_var
1097  case $ac_val in
1098    [\\/$]* | ?:[\\/]* )  continue;;
1099    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1100  esac
1101  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1102   { (exit 1); exit 1; }; }
1103done
1104
1105# There might be people who depend on the old broken behavior: `$host'
1106# used to hold the argument of --host etc.
1107# FIXME: To remove some day.
1108build=$build_alias
1109host=$host_alias
1110target=$target_alias
1111
1112# FIXME: To remove some day.
1113if test "x$host_alias" != x; then
1114  if test "x$build_alias" = x; then
1115    cross_compiling=maybe
1116    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1117    If a cross compiler is detected then cross compile mode will be used." >&2
1118  elif test "x$build_alias" != "x$host_alias"; then
1119    cross_compiling=yes
1120  fi
1121fi
1122
1123ac_tool_prefix=
1124test -n "$host_alias" && ac_tool_prefix=$host_alias-
1125
1126test "$silent" = yes && exec 6>/dev/null
1127
1128
1129ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130ac_ls_di=`ls -di .` &&
1131ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132  { echo "$as_me: error: Working directory cannot be determined" >&2
1133   { (exit 1); exit 1; }; }
1134test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1135  { echo "$as_me: error: pwd does not report name of working directory" >&2
1136   { (exit 1); exit 1; }; }
1137
1138
1139# Find the source files, if location was not specified.
1140if test -z "$srcdir"; then
1141  ac_srcdir_defaulted=yes
1142  # Try the directory containing this script, then the parent directory.
1143  ac_confdir=`$as_dirname -- "$0" ||
1144$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1145	 X"$0" : 'X\(//\)[^/]' \| \
1146	 X"$0" : 'X\(//\)$' \| \
1147	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1148echo X"$0" |
1149    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1150	    s//\1/
1151	    q
1152	  }
1153	  /^X\(\/\/\)[^/].*/{
1154	    s//\1/
1155	    q
1156	  }
1157	  /^X\(\/\/\)$/{
1158	    s//\1/
1159	    q
1160	  }
1161	  /^X\(\/\).*/{
1162	    s//\1/
1163	    q
1164	  }
1165	  s/.*/./; q'`
1166  srcdir=$ac_confdir
1167  if test ! -r "$srcdir/$ac_unique_file"; then
1168    srcdir=..
1169  fi
1170else
1171  ac_srcdir_defaulted=no
1172fi
1173if test ! -r "$srcdir/$ac_unique_file"; then
1174  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1175  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1176   { (exit 1); exit 1; }; }
1177fi
1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1179ac_abs_confdir=`(
1180	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1181   { (exit 1); exit 1; }; }
1182	pwd)`
1183# When building in place, set srcdir=.
1184if test "$ac_abs_confdir" = "$ac_pwd"; then
1185  srcdir=.
1186fi
1187# Remove unnecessary trailing slashes from srcdir.
1188# Double slashes in file names in object file debugging info
1189# mess up M-x gdb in Emacs.
1190case $srcdir in
1191*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1192esac
1193for ac_var in $ac_precious_vars; do
1194  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1195  eval ac_env_${ac_var}_value=\$${ac_var}
1196  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1197  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1198done
1199
1200#
1201# Report the --help message.
1202#
1203if test "$ac_init_help" = "long"; then
1204  # Omit some internal or obsolete options to make the list less imposing.
1205  # This message is too long to be a string in the A/UX 3.1 sh.
1206  cat <<_ACEOF
1207\`configure' configures xcalc 1.0.2 to adapt to many kinds of systems.
1208
1209Usage: $0 [OPTION]... [VAR=VALUE]...
1210
1211To assign environment variables (e.g., CC, CFLAGS...), specify them as
1212VAR=VALUE.  See below for descriptions of some of the useful variables.
1213
1214Defaults for the options are specified in brackets.
1215
1216Configuration:
1217  -h, --help              display this help and exit
1218      --help=short        display options specific to this package
1219      --help=recursive    display the short help of all the included packages
1220  -V, --version           display version information and exit
1221  -q, --quiet, --silent   do not print \`checking...' messages
1222      --cache-file=FILE   cache test results in FILE [disabled]
1223  -C, --config-cache      alias for \`--cache-file=config.cache'
1224  -n, --no-create         do not create output files
1225      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1226
1227Installation directories:
1228  --prefix=PREFIX         install architecture-independent files in PREFIX
1229			  [$ac_default_prefix]
1230  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1231			  [PREFIX]
1232
1233By default, \`make install' will install all the files in
1234\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1235an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1236for instance \`--prefix=\$HOME'.
1237
1238For better control, use the options below.
1239
1240Fine tuning of the installation directories:
1241  --bindir=DIR           user executables [EPREFIX/bin]
1242  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1243  --libexecdir=DIR       program executables [EPREFIX/libexec]
1244  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1245  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1246  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1247  --libdir=DIR           object code libraries [EPREFIX/lib]
1248  --includedir=DIR       C header files [PREFIX/include]
1249  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1250  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1251  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1252  --infodir=DIR          info documentation [DATAROOTDIR/info]
1253  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1254  --mandir=DIR           man documentation [DATAROOTDIR/man]
1255  --docdir=DIR           documentation root [DATAROOTDIR/doc/xcalc]
1256  --htmldir=DIR          html documentation [DOCDIR]
1257  --dvidir=DIR           dvi documentation [DOCDIR]
1258  --pdfdir=DIR           pdf documentation [DOCDIR]
1259  --psdir=DIR            ps documentation [DOCDIR]
1260_ACEOF
1261
1262  cat <<\_ACEOF
1263
1264Program names:
1265  --program-prefix=PREFIX            prepend PREFIX to installed program names
1266  --program-suffix=SUFFIX            append SUFFIX to installed program names
1267  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1268
1269System types:
1270  --build=BUILD     configure for building on BUILD [guessed]
1271  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1272_ACEOF
1273fi
1274
1275if test -n "$ac_init_help"; then
1276  case $ac_init_help in
1277     short | recursive ) echo "Configuration of xcalc 1.0.2:";;
1278   esac
1279  cat <<\_ACEOF
1280
1281Optional Features:
1282  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1283  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1284  --enable-maintainer-mode  enable make rules and dependencies not useful
1285			  (and sometimes confusing) to the casual installer
1286  --disable-dependency-tracking  speeds up one-time build
1287  --enable-dependency-tracking   do not reject slow dependency extractors
1288  --enable-xprint         Enable XPrint support
1289
1290Optional Packages:
1291  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1292  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1293  --with-release-version=STRING
1294                          Use release version string in package name
1295
1296Some influential environment variables:
1297  CC          C compiler command
1298  CFLAGS      C compiler flags
1299  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1300              nonstandard directory <lib dir>
1301  LIBS        libraries to pass to the linker, e.g. -l<library>
1302  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1303              you have headers in a nonstandard directory <include dir>
1304  PKG_CONFIG  path to pkg-config utility
1305  TMP_XAW_CFLAGS
1306              C compiler flags for TMP_XAW, overriding pkg-config
1307  TMP_XAW_LIBS
1308              linker flags for TMP_XAW, overriding pkg-config
1309  APPDEFS_CFLAGS
1310              C compiler flags for APPDEFS, overriding pkg-config
1311  APPDEFS_LIBS
1312              linker flags for APPDEFS, overriding pkg-config
1313
1314Use these variables to override the choices made by `configure' or to help
1315it to find libraries and programs with nonstandard names/locations.
1316
1317Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1318_ACEOF
1319ac_status=$?
1320fi
1321
1322if test "$ac_init_help" = "recursive"; then
1323  # If there are subdirs, report their specific --help.
1324  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325    test -d "$ac_dir" || continue
1326    ac_builddir=.
1327
1328case "$ac_dir" in
1329.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330*)
1331  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1332  # A ".." for each directory in $ac_dir_suffix.
1333  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1334  case $ac_top_builddir_sub in
1335  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1337  esac ;;
1338esac
1339ac_abs_top_builddir=$ac_pwd
1340ac_abs_builddir=$ac_pwd$ac_dir_suffix
1341# for backward compatibility:
1342ac_top_builddir=$ac_top_build_prefix
1343
1344case $srcdir in
1345  .)  # We are building in place.
1346    ac_srcdir=.
1347    ac_top_srcdir=$ac_top_builddir_sub
1348    ac_abs_top_srcdir=$ac_pwd ;;
1349  [\\/]* | ?:[\\/]* )  # Absolute name.
1350    ac_srcdir=$srcdir$ac_dir_suffix;
1351    ac_top_srcdir=$srcdir
1352    ac_abs_top_srcdir=$srcdir ;;
1353  *) # Relative name.
1354    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1355    ac_top_srcdir=$ac_top_build_prefix$srcdir
1356    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357esac
1358ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359
1360    cd "$ac_dir" || { ac_status=$?; continue; }
1361    # Check for guested configure.
1362    if test -f "$ac_srcdir/configure.gnu"; then
1363      echo &&
1364      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1365    elif test -f "$ac_srcdir/configure"; then
1366      echo &&
1367      $SHELL "$ac_srcdir/configure" --help=recursive
1368    else
1369      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370    fi || ac_status=$?
1371    cd "$ac_pwd" || { ac_status=$?; break; }
1372  done
1373fi
1374
1375test -n "$ac_init_help" && exit $ac_status
1376if $ac_init_version; then
1377  cat <<\_ACEOF
1378xcalc configure 1.0.2
1379generated by GNU Autoconf 2.61
1380
1381Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13822002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1383This configure script is free software; the Free Software Foundation
1384gives unlimited permission to copy, distribute and modify it.
1385_ACEOF
1386  exit
1387fi
1388cat >config.log <<_ACEOF
1389This file contains any messages produced by compilers while
1390running configure, to aid debugging if configure makes a mistake.
1391
1392It was created by xcalc $as_me 1.0.2, which was
1393generated by GNU Autoconf 2.61.  Invocation command line was
1394
1395  $ $0 $@
1396
1397_ACEOF
1398exec 5>>config.log
1399{
1400cat <<_ASUNAME
1401## --------- ##
1402## Platform. ##
1403## --------- ##
1404
1405hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1406uname -m = `(uname -m) 2>/dev/null || echo unknown`
1407uname -r = `(uname -r) 2>/dev/null || echo unknown`
1408uname -s = `(uname -s) 2>/dev/null || echo unknown`
1409uname -v = `(uname -v) 2>/dev/null || echo unknown`
1410
1411/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1412/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1413
1414/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1415/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1416/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1417/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1418/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1419/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1420/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1421
1422_ASUNAME
1423
1424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425for as_dir in $PATH
1426do
1427  IFS=$as_save_IFS
1428  test -z "$as_dir" && as_dir=.
1429  echo "PATH: $as_dir"
1430done
1431IFS=$as_save_IFS
1432
1433} >&5
1434
1435cat >&5 <<_ACEOF
1436
1437
1438## ----------- ##
1439## Core tests. ##
1440## ----------- ##
1441
1442_ACEOF
1443
1444
1445# Keep a trace of the command line.
1446# Strip out --no-create and --no-recursion so they do not pile up.
1447# Strip out --silent because we don't want to record it for future runs.
1448# Also quote any args containing shell meta-characters.
1449# Make two passes to allow for proper duplicate-argument suppression.
1450ac_configure_args=
1451ac_configure_args0=
1452ac_configure_args1=
1453ac_must_keep_next=false
1454for ac_pass in 1 2
1455do
1456  for ac_arg
1457  do
1458    case $ac_arg in
1459    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1460    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1461    | -silent | --silent | --silen | --sile | --sil)
1462      continue ;;
1463    *\'*)
1464      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1465    esac
1466    case $ac_pass in
1467    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1468    2)
1469      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1470      if test $ac_must_keep_next = true; then
1471	ac_must_keep_next=false # Got value, back to normal.
1472      else
1473	case $ac_arg in
1474	  *=* | --config-cache | -C | -disable-* | --disable-* \
1475	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1476	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1477	  | -with-* | --with-* | -without-* | --without-* | --x)
1478	    case "$ac_configure_args0 " in
1479	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1480	    esac
1481	    ;;
1482	  -* ) ac_must_keep_next=true ;;
1483	esac
1484      fi
1485      ac_configure_args="$ac_configure_args '$ac_arg'"
1486      ;;
1487    esac
1488  done
1489done
1490$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1491$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1492
1493# When interrupted or exit'd, cleanup temporary files, and complete
1494# config.log.  We remove comments because anyway the quotes in there
1495# would cause problems or look ugly.
1496# WARNING: Use '\'' to represent an apostrophe within the trap.
1497# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1498trap 'exit_status=$?
1499  # Save into config.log some information that might help in debugging.
1500  {
1501    echo
1502
1503    cat <<\_ASBOX
1504## ---------------- ##
1505## Cache variables. ##
1506## ---------------- ##
1507_ASBOX
1508    echo
1509    # The following way of writing the cache mishandles newlines in values,
1510(
1511  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1512    eval ac_val=\$$ac_var
1513    case $ac_val in #(
1514    *${as_nl}*)
1515      case $ac_var in #(
1516      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1517echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1518      esac
1519      case $ac_var in #(
1520      _ | IFS | as_nl) ;; #(
1521      *) $as_unset $ac_var ;;
1522      esac ;;
1523    esac
1524  done
1525  (set) 2>&1 |
1526    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1527    *${as_nl}ac_space=\ *)
1528      sed -n \
1529	"s/'\''/'\''\\\\'\'''\''/g;
1530	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1531      ;; #(
1532    *)
1533      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1534      ;;
1535    esac |
1536    sort
1537)
1538    echo
1539
1540    cat <<\_ASBOX
1541## ----------------- ##
1542## Output variables. ##
1543## ----------------- ##
1544_ASBOX
1545    echo
1546    for ac_var in $ac_subst_vars
1547    do
1548      eval ac_val=\$$ac_var
1549      case $ac_val in
1550      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551      esac
1552      echo "$ac_var='\''$ac_val'\''"
1553    done | sort
1554    echo
1555
1556    if test -n "$ac_subst_files"; then
1557      cat <<\_ASBOX
1558## ------------------- ##
1559## File substitutions. ##
1560## ------------------- ##
1561_ASBOX
1562      echo
1563      for ac_var in $ac_subst_files
1564      do
1565	eval ac_val=\$$ac_var
1566	case $ac_val in
1567	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568	esac
1569	echo "$ac_var='\''$ac_val'\''"
1570      done | sort
1571      echo
1572    fi
1573
1574    if test -s confdefs.h; then
1575      cat <<\_ASBOX
1576## ----------- ##
1577## confdefs.h. ##
1578## ----------- ##
1579_ASBOX
1580      echo
1581      cat confdefs.h
1582      echo
1583    fi
1584    test "$ac_signal" != 0 &&
1585      echo "$as_me: caught signal $ac_signal"
1586    echo "$as_me: exit $exit_status"
1587  } >&5
1588  rm -f core *.core core.conftest.* &&
1589    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1590    exit $exit_status
1591' 0
1592for ac_signal in 1 2 13 15; do
1593  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1594done
1595ac_signal=0
1596
1597# confdefs.h avoids OS command line length limits that DEFS can exceed.
1598rm -f -r conftest* confdefs.h
1599
1600# Predefined preprocessor variables.
1601
1602cat >>confdefs.h <<_ACEOF
1603#define PACKAGE_NAME "$PACKAGE_NAME"
1604_ACEOF
1605
1606
1607cat >>confdefs.h <<_ACEOF
1608#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1609_ACEOF
1610
1611
1612cat >>confdefs.h <<_ACEOF
1613#define PACKAGE_VERSION "$PACKAGE_VERSION"
1614_ACEOF
1615
1616
1617cat >>confdefs.h <<_ACEOF
1618#define PACKAGE_STRING "$PACKAGE_STRING"
1619_ACEOF
1620
1621
1622cat >>confdefs.h <<_ACEOF
1623#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1624_ACEOF
1625
1626
1627# Let the site file select an alternate cache file if it wants to.
1628# Prefer explicitly selected file to automatically selected ones.
1629if test -n "$CONFIG_SITE"; then
1630  set x "$CONFIG_SITE"
1631elif test "x$prefix" != xNONE; then
1632  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1633else
1634  set x "$ac_default_prefix/share/config.site" \
1635	"$ac_default_prefix/etc/config.site"
1636fi
1637shift
1638for ac_site_file
1639do
1640  if test -r "$ac_site_file"; then
1641    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1642echo "$as_me: loading site script $ac_site_file" >&6;}
1643    sed 's/^/| /' "$ac_site_file" >&5
1644    . "$ac_site_file"
1645  fi
1646done
1647
1648if test -r "$cache_file"; then
1649  # Some versions of bash will fail to source /dev/null (special
1650  # files actually), so we avoid doing that.
1651  if test -f "$cache_file"; then
1652    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1653echo "$as_me: loading cache $cache_file" >&6;}
1654    case $cache_file in
1655      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1656      *)                      . "./$cache_file";;
1657    esac
1658  fi
1659else
1660  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1661echo "$as_me: creating cache $cache_file" >&6;}
1662  >$cache_file
1663fi
1664
1665# Check that the precious variables saved in the cache have kept the same
1666# value.
1667ac_cache_corrupted=false
1668for ac_var in $ac_precious_vars; do
1669  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1670  eval ac_new_set=\$ac_env_${ac_var}_set
1671  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1672  eval ac_new_val=\$ac_env_${ac_var}_value
1673  case $ac_old_set,$ac_new_set in
1674    set,)
1675      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1676echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1677      ac_cache_corrupted=: ;;
1678    ,set)
1679      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1680echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1681      ac_cache_corrupted=: ;;
1682    ,);;
1683    *)
1684      if test "x$ac_old_val" != "x$ac_new_val"; then
1685	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1686echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1687	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1688echo "$as_me:   former value:  $ac_old_val" >&2;}
1689	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1690echo "$as_me:   current value: $ac_new_val" >&2;}
1691	ac_cache_corrupted=:
1692      fi;;
1693  esac
1694  # Pass precious variables to config.status.
1695  if test "$ac_new_set" = set; then
1696    case $ac_new_val in
1697    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1698    *) ac_arg=$ac_var=$ac_new_val ;;
1699    esac
1700    case " $ac_configure_args " in
1701      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1702      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1703    esac
1704  fi
1705done
1706if $ac_cache_corrupted; then
1707  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1708echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1709  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1710echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1711   { (exit 1); exit 1; }; }
1712fi
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738ac_ext=c
1739ac_cpp='$CPP $CPPFLAGS'
1740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1742ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743
1744
1745am__api_version='1.10'
1746
1747ac_aux_dir=
1748for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1749  if test -f "$ac_dir/install-sh"; then
1750    ac_aux_dir=$ac_dir
1751    ac_install_sh="$ac_aux_dir/install-sh -c"
1752    break
1753  elif test -f "$ac_dir/install.sh"; then
1754    ac_aux_dir=$ac_dir
1755    ac_install_sh="$ac_aux_dir/install.sh -c"
1756    break
1757  elif test -f "$ac_dir/shtool"; then
1758    ac_aux_dir=$ac_dir
1759    ac_install_sh="$ac_aux_dir/shtool install -c"
1760    break
1761  fi
1762done
1763if test -z "$ac_aux_dir"; then
1764  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1765echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1766   { (exit 1); exit 1; }; }
1767fi
1768
1769# These three variables are undocumented and unsupported,
1770# and are intended to be withdrawn in a future Autoconf release.
1771# They can cause serious problems if a builder's source tree is in a directory
1772# whose full name contains unusual characters.
1773ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1774ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1775ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1776
1777
1778# Find a good install program.  We prefer a C program (faster),
1779# so one script is as good as another.  But avoid the broken or
1780# incompatible versions:
1781# SysV /etc/install, /usr/sbin/install
1782# SunOS /usr/etc/install
1783# IRIX /sbin/install
1784# AIX /bin/install
1785# AmigaOS /C/install, which installs bootblocks on floppy discs
1786# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1787# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1788# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1789# OS/2's system install, which has a completely different semantic
1790# ./install, which can be erroneously created by make from ./install.sh.
1791{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1793if test -z "$INSTALL"; then
1794if test "${ac_cv_path_install+set}" = set; then
1795  echo $ECHO_N "(cached) $ECHO_C" >&6
1796else
1797  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798for as_dir in $PATH
1799do
1800  IFS=$as_save_IFS
1801  test -z "$as_dir" && as_dir=.
1802  # Account for people who put trailing slashes in PATH elements.
1803case $as_dir/ in
1804  ./ | .// | /cC/* | \
1805  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807  /usr/ucb/* ) ;;
1808  *)
1809    # OSF1 and SCO ODT 3.0 have their own names for install.
1810    # Don't use installbsd from OSF since it installs stuff as root
1811    # by default.
1812    for ac_prog in ginstall scoinst install; do
1813      for ac_exec_ext in '' $ac_executable_extensions; do
1814	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1815	  if test $ac_prog = install &&
1816	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817	    # AIX install.  It has an incompatible calling convention.
1818	    :
1819	  elif test $ac_prog = install &&
1820	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821	    # program-specific install script used by HP pwplus--don't use.
1822	    :
1823	  else
1824	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1825	    break 3
1826	  fi
1827	fi
1828      done
1829    done
1830    ;;
1831esac
1832done
1833IFS=$as_save_IFS
1834
1835
1836fi
1837  if test "${ac_cv_path_install+set}" = set; then
1838    INSTALL=$ac_cv_path_install
1839  else
1840    # As a last resort, use the slow shell script.  Don't cache a
1841    # value for INSTALL within a source directory, because that will
1842    # break other packages using the cache if that directory is
1843    # removed, or if the value is a relative name.
1844    INSTALL=$ac_install_sh
1845  fi
1846fi
1847{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1848echo "${ECHO_T}$INSTALL" >&6; }
1849
1850# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1851# It thinks the first close brace ends the variable substitution.
1852test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1853
1854test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1855
1856test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1857
1858{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1859echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1860# Just in case
1861sleep 1
1862echo timestamp > conftest.file
1863# Do `set' in a subshell so we don't clobber the current shell's
1864# arguments.  Must try -L first in case configure is actually a
1865# symlink; some systems play weird games with the mod time of symlinks
1866# (eg FreeBSD returns the mod time of the symlink's containing
1867# directory).
1868if (
1869   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1870   if test "$*" = "X"; then
1871      # -L didn't work.
1872      set X `ls -t $srcdir/configure conftest.file`
1873   fi
1874   rm -f conftest.file
1875   if test "$*" != "X $srcdir/configure conftest.file" \
1876      && test "$*" != "X conftest.file $srcdir/configure"; then
1877
1878      # If neither matched, then we have a broken ls.  This can happen
1879      # if, for instance, CONFIG_SHELL is bash and it inherits a
1880      # broken ls alias from the environment.  This has actually
1881      # happened.  Such a system could not be considered "sane".
1882      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1883alias in your environment" >&5
1884echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1885alias in your environment" >&2;}
1886   { (exit 1); exit 1; }; }
1887   fi
1888
1889   test "$2" = conftest.file
1890   )
1891then
1892   # Ok.
1893   :
1894else
1895   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1896Check your system clock" >&5
1897echo "$as_me: error: newly created file is older than distributed files!
1898Check your system clock" >&2;}
1899   { (exit 1); exit 1; }; }
1900fi
1901{ echo "$as_me:$LINENO: result: yes" >&5
1902echo "${ECHO_T}yes" >&6; }
1903test "$program_prefix" != NONE &&
1904  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1905# Use a double $ so make ignores it.
1906test "$program_suffix" != NONE &&
1907  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1908# Double any \ or $.  echo might interpret backslashes.
1909# By default was `s,x,x', remove it if useless.
1910cat <<\_ACEOF >conftest.sed
1911s/[\\$]/&&/g;s/;s,x,x,$//
1912_ACEOF
1913program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1914rm -f conftest.sed
1915
1916# expand $ac_aux_dir to an absolute path
1917am_aux_dir=`cd $ac_aux_dir && pwd`
1918
1919test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1920# Use eval to expand $SHELL
1921if eval "$MISSING --run true"; then
1922  am_missing_run="$MISSING --run "
1923else
1924  am_missing_run=
1925  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1926echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1927fi
1928
1929{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1930echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1931if test -z "$MKDIR_P"; then
1932  if test "${ac_cv_path_mkdir+set}" = set; then
1933  echo $ECHO_N "(cached) $ECHO_C" >&6
1934else
1935  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1937do
1938  IFS=$as_save_IFS
1939  test -z "$as_dir" && as_dir=.
1940  for ac_prog in mkdir gmkdir; do
1941	 for ac_exec_ext in '' $ac_executable_extensions; do
1942	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1943	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1944	     'mkdir (GNU coreutils) '* | \
1945	     'mkdir (coreutils) '* | \
1946	     'mkdir (fileutils) '4.1*)
1947	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1948	       break 3;;
1949	   esac
1950	 done
1951       done
1952done
1953IFS=$as_save_IFS
1954
1955fi
1956
1957  if test "${ac_cv_path_mkdir+set}" = set; then
1958    MKDIR_P="$ac_cv_path_mkdir -p"
1959  else
1960    # As a last resort, use the slow shell script.  Don't cache a
1961    # value for MKDIR_P within a source directory, because that will
1962    # break other packages using the cache if that directory is
1963    # removed, or if the value is a relative name.
1964    test -d ./--version && rmdir ./--version
1965    MKDIR_P="$ac_install_sh -d"
1966  fi
1967fi
1968{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1969echo "${ECHO_T}$MKDIR_P" >&6; }
1970
1971mkdir_p="$MKDIR_P"
1972case $mkdir_p in
1973  [\\/$]* | ?:[\\/]*) ;;
1974  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1975esac
1976
1977for ac_prog in gawk mawk nawk awk
1978do
1979  # Extract the first word of "$ac_prog", so it can be a program name with args.
1980set dummy $ac_prog; ac_word=$2
1981{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1982echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1983if test "${ac_cv_prog_AWK+set}" = set; then
1984  echo $ECHO_N "(cached) $ECHO_C" >&6
1985else
1986  if test -n "$AWK"; then
1987  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1988else
1989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990for as_dir in $PATH
1991do
1992  IFS=$as_save_IFS
1993  test -z "$as_dir" && as_dir=.
1994  for ac_exec_ext in '' $ac_executable_extensions; do
1995  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1996    ac_cv_prog_AWK="$ac_prog"
1997    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998    break 2
1999  fi
2000done
2001done
2002IFS=$as_save_IFS
2003
2004fi
2005fi
2006AWK=$ac_cv_prog_AWK
2007if test -n "$AWK"; then
2008  { echo "$as_me:$LINENO: result: $AWK" >&5
2009echo "${ECHO_T}$AWK" >&6; }
2010else
2011  { echo "$as_me:$LINENO: result: no" >&5
2012echo "${ECHO_T}no" >&6; }
2013fi
2014
2015
2016  test -n "$AWK" && break
2017done
2018
2019{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2020echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2021set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2022if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2023  echo $ECHO_N "(cached) $ECHO_C" >&6
2024else
2025  cat >conftest.make <<\_ACEOF
2026SHELL = /bin/sh
2027all:
2028	@echo '@@@%%%=$(MAKE)=@@@%%%'
2029_ACEOF
2030# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2031case `${MAKE-make} -f conftest.make 2>/dev/null` in
2032  *@@@%%%=?*=@@@%%%*)
2033    eval ac_cv_prog_make_${ac_make}_set=yes;;
2034  *)
2035    eval ac_cv_prog_make_${ac_make}_set=no;;
2036esac
2037rm -f conftest.make
2038fi
2039if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2040  { echo "$as_me:$LINENO: result: yes" >&5
2041echo "${ECHO_T}yes" >&6; }
2042  SET_MAKE=
2043else
2044  { echo "$as_me:$LINENO: result: no" >&5
2045echo "${ECHO_T}no" >&6; }
2046  SET_MAKE="MAKE=${MAKE-make}"
2047fi
2048
2049rm -rf .tst 2>/dev/null
2050mkdir .tst 2>/dev/null
2051if test -d .tst; then
2052  am__leading_dot=.
2053else
2054  am__leading_dot=_
2055fi
2056rmdir .tst 2>/dev/null
2057
2058if test "`cd $srcdir && pwd`" != "`pwd`"; then
2059  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2060  # is not polluted with repeated "-I."
2061  am__isrc=' -I$(srcdir)'
2062  # test to see if srcdir already configured
2063  if test -f $srcdir/config.status; then
2064    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2065echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2066   { (exit 1); exit 1; }; }
2067  fi
2068fi
2069
2070# test whether we have cygpath
2071if test -z "$CYGPATH_W"; then
2072  if (cygpath --version) >/dev/null 2>/dev/null; then
2073    CYGPATH_W='cygpath -w'
2074  else
2075    CYGPATH_W=echo
2076  fi
2077fi
2078
2079
2080# Define the identity of the package.
2081 PACKAGE='xcalc'
2082 VERSION='1.0.2'
2083
2084
2085cat >>confdefs.h <<_ACEOF
2086#define PACKAGE "$PACKAGE"
2087_ACEOF
2088
2089
2090cat >>confdefs.h <<_ACEOF
2091#define VERSION "$VERSION"
2092_ACEOF
2093
2094# Some tools Automake needs.
2095
2096ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097
2098
2099AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2100
2101
2102AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103
2104
2105AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2106
2107
2108MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2109
2110install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2111
2112# Installed binaries are usually stripped using `strip' when the user
2113# run `make install-strip'.  However `strip' might not be the right
2114# tool to use in cross-compilation environments, therefore Automake
2115# will honor the `STRIP' environment variable to overrule this program.
2116if test "$cross_compiling" != no; then
2117  if test -n "$ac_tool_prefix"; then
2118  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2119set dummy ${ac_tool_prefix}strip; ac_word=$2
2120{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2121echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122if test "${ac_cv_prog_STRIP+set}" = set; then
2123  echo $ECHO_N "(cached) $ECHO_C" >&6
2124else
2125  if test -n "$STRIP"; then
2126  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2127else
2128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129for as_dir in $PATH
2130do
2131  IFS=$as_save_IFS
2132  test -z "$as_dir" && as_dir=.
2133  for ac_exec_ext in '' $ac_executable_extensions; do
2134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2136    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137    break 2
2138  fi
2139done
2140done
2141IFS=$as_save_IFS
2142
2143fi
2144fi
2145STRIP=$ac_cv_prog_STRIP
2146if test -n "$STRIP"; then
2147  { echo "$as_me:$LINENO: result: $STRIP" >&5
2148echo "${ECHO_T}$STRIP" >&6; }
2149else
2150  { echo "$as_me:$LINENO: result: no" >&5
2151echo "${ECHO_T}no" >&6; }
2152fi
2153
2154
2155fi
2156if test -z "$ac_cv_prog_STRIP"; then
2157  ac_ct_STRIP=$STRIP
2158  # Extract the first word of "strip", so it can be a program name with args.
2159set dummy strip; ac_word=$2
2160{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2163  echo $ECHO_N "(cached) $ECHO_C" >&6
2164else
2165  if test -n "$ac_ct_STRIP"; then
2166  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2167else
2168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169for as_dir in $PATH
2170do
2171  IFS=$as_save_IFS
2172  test -z "$as_dir" && as_dir=.
2173  for ac_exec_ext in '' $ac_executable_extensions; do
2174  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175    ac_cv_prog_ac_ct_STRIP="strip"
2176    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177    break 2
2178  fi
2179done
2180done
2181IFS=$as_save_IFS
2182
2183fi
2184fi
2185ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2186if test -n "$ac_ct_STRIP"; then
2187  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2188echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2189else
2190  { echo "$as_me:$LINENO: result: no" >&5
2191echo "${ECHO_T}no" >&6; }
2192fi
2193
2194  if test "x$ac_ct_STRIP" = x; then
2195    STRIP=":"
2196  else
2197    case $cross_compiling:$ac_tool_warned in
2198yes:)
2199{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2200whose name does not start with the host triplet.  If you think this
2201configuration is useful to you, please write to autoconf@gnu.org." >&5
2202echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2203whose name does not start with the host triplet.  If you think this
2204configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2205ac_tool_warned=yes ;;
2206esac
2207    STRIP=$ac_ct_STRIP
2208  fi
2209else
2210  STRIP="$ac_cv_prog_STRIP"
2211fi
2212
2213fi
2214INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2215
2216# We need awk for the "check" target.  The system "awk" is bad on
2217# some platforms.
2218# Always define AMTAR for backward compatibility.
2219
2220AMTAR=${AMTAR-"${am_missing_run}tar"}
2221
2222am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2223
2224
2225
2226
2227
2228{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2229echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2230    # Check whether --enable-maintainer-mode was given.
2231if test "${enable_maintainer_mode+set}" = set; then
2232  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2233else
2234  USE_MAINTAINER_MODE=no
2235fi
2236
2237  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2238echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2239   if test $USE_MAINTAINER_MODE = yes; then
2240  MAINTAINER_MODE_TRUE=
2241  MAINTAINER_MODE_FALSE='#'
2242else
2243  MAINTAINER_MODE_TRUE='#'
2244  MAINTAINER_MODE_FALSE=
2245fi
2246
2247  MAINT=$MAINTAINER_MODE_TRUE
2248
2249
2250
2251ac_config_headers="$ac_config_headers config.h"
2252
2253
2254ac_ext=c
2255ac_cpp='$CPP $CPPFLAGS'
2256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259if test -n "$ac_tool_prefix"; then
2260  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2261set dummy ${ac_tool_prefix}gcc; ac_word=$2
2262{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2263echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264if test "${ac_cv_prog_CC+set}" = set; then
2265  echo $ECHO_N "(cached) $ECHO_C" >&6
2266else
2267  if test -n "$CC"; then
2268  ac_cv_prog_CC="$CC" # Let the user override the test.
2269else
2270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271for as_dir in $PATH
2272do
2273  IFS=$as_save_IFS
2274  test -z "$as_dir" && as_dir=.
2275  for ac_exec_ext in '' $ac_executable_extensions; do
2276  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2278    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279    break 2
2280  fi
2281done
2282done
2283IFS=$as_save_IFS
2284
2285fi
2286fi
2287CC=$ac_cv_prog_CC
2288if test -n "$CC"; then
2289  { echo "$as_me:$LINENO: result: $CC" >&5
2290echo "${ECHO_T}$CC" >&6; }
2291else
2292  { echo "$as_me:$LINENO: result: no" >&5
2293echo "${ECHO_T}no" >&6; }
2294fi
2295
2296
2297fi
2298if test -z "$ac_cv_prog_CC"; then
2299  ac_ct_CC=$CC
2300  # Extract the first word of "gcc", so it can be a program name with args.
2301set dummy gcc; ac_word=$2
2302{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2305  echo $ECHO_N "(cached) $ECHO_C" >&6
2306else
2307  if test -n "$ac_ct_CC"; then
2308  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2309else
2310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311for as_dir in $PATH
2312do
2313  IFS=$as_save_IFS
2314  test -z "$as_dir" && as_dir=.
2315  for ac_exec_ext in '' $ac_executable_extensions; do
2316  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317    ac_cv_prog_ac_ct_CC="gcc"
2318    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319    break 2
2320  fi
2321done
2322done
2323IFS=$as_save_IFS
2324
2325fi
2326fi
2327ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328if test -n "$ac_ct_CC"; then
2329  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330echo "${ECHO_T}$ac_ct_CC" >&6; }
2331else
2332  { echo "$as_me:$LINENO: result: no" >&5
2333echo "${ECHO_T}no" >&6; }
2334fi
2335
2336  if test "x$ac_ct_CC" = x; then
2337    CC=""
2338  else
2339    case $cross_compiling:$ac_tool_warned in
2340yes:)
2341{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2342whose name does not start with the host triplet.  If you think this
2343configuration is useful to you, please write to autoconf@gnu.org." >&5
2344echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2345whose name does not start with the host triplet.  If you think this
2346configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2347ac_tool_warned=yes ;;
2348esac
2349    CC=$ac_ct_CC
2350  fi
2351else
2352  CC="$ac_cv_prog_CC"
2353fi
2354
2355if test -z "$CC"; then
2356          if test -n "$ac_tool_prefix"; then
2357    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2358set dummy ${ac_tool_prefix}cc; ac_word=$2
2359{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2360echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2361if test "${ac_cv_prog_CC+set}" = set; then
2362  echo $ECHO_N "(cached) $ECHO_C" >&6
2363else
2364  if test -n "$CC"; then
2365  ac_cv_prog_CC="$CC" # Let the user override the test.
2366else
2367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2369do
2370  IFS=$as_save_IFS
2371  test -z "$as_dir" && as_dir=.
2372  for ac_exec_ext in '' $ac_executable_extensions; do
2373  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374    ac_cv_prog_CC="${ac_tool_prefix}cc"
2375    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376    break 2
2377  fi
2378done
2379done
2380IFS=$as_save_IFS
2381
2382fi
2383fi
2384CC=$ac_cv_prog_CC
2385if test -n "$CC"; then
2386  { echo "$as_me:$LINENO: result: $CC" >&5
2387echo "${ECHO_T}$CC" >&6; }
2388else
2389  { echo "$as_me:$LINENO: result: no" >&5
2390echo "${ECHO_T}no" >&6; }
2391fi
2392
2393
2394  fi
2395fi
2396if test -z "$CC"; then
2397  # Extract the first word of "cc", so it can be a program name with args.
2398set dummy cc; ac_word=$2
2399{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2400echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2401if test "${ac_cv_prog_CC+set}" = set; then
2402  echo $ECHO_N "(cached) $ECHO_C" >&6
2403else
2404  if test -n "$CC"; then
2405  ac_cv_prog_CC="$CC" # Let the user override the test.
2406else
2407  ac_prog_rejected=no
2408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409for as_dir in $PATH
2410do
2411  IFS=$as_save_IFS
2412  test -z "$as_dir" && as_dir=.
2413  for ac_exec_ext in '' $ac_executable_extensions; do
2414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2416       ac_prog_rejected=yes
2417       continue
2418     fi
2419    ac_cv_prog_CC="cc"
2420    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421    break 2
2422  fi
2423done
2424done
2425IFS=$as_save_IFS
2426
2427if test $ac_prog_rejected = yes; then
2428  # We found a bogon in the path, so make sure we never use it.
2429  set dummy $ac_cv_prog_CC
2430  shift
2431  if test $# != 0; then
2432    # We chose a different compiler from the bogus one.
2433    # However, it has the same basename, so the bogon will be chosen
2434    # first if we set CC to just the basename; use the full file name.
2435    shift
2436    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2437  fi
2438fi
2439fi
2440fi
2441CC=$ac_cv_prog_CC
2442if test -n "$CC"; then
2443  { echo "$as_me:$LINENO: result: $CC" >&5
2444echo "${ECHO_T}$CC" >&6; }
2445else
2446  { echo "$as_me:$LINENO: result: no" >&5
2447echo "${ECHO_T}no" >&6; }
2448fi
2449
2450
2451fi
2452if test -z "$CC"; then
2453  if test -n "$ac_tool_prefix"; then
2454  for ac_prog in cl.exe
2455  do
2456    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2458{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2459echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2460if test "${ac_cv_prog_CC+set}" = set; then
2461  echo $ECHO_N "(cached) $ECHO_C" >&6
2462else
2463  if test -n "$CC"; then
2464  ac_cv_prog_CC="$CC" # Let the user override the test.
2465else
2466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467for as_dir in $PATH
2468do
2469  IFS=$as_save_IFS
2470  test -z "$as_dir" && as_dir=.
2471  for ac_exec_ext in '' $ac_executable_extensions; do
2472  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2474    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475    break 2
2476  fi
2477done
2478done
2479IFS=$as_save_IFS
2480
2481fi
2482fi
2483CC=$ac_cv_prog_CC
2484if test -n "$CC"; then
2485  { echo "$as_me:$LINENO: result: $CC" >&5
2486echo "${ECHO_T}$CC" >&6; }
2487else
2488  { echo "$as_me:$LINENO: result: no" >&5
2489echo "${ECHO_T}no" >&6; }
2490fi
2491
2492
2493    test -n "$CC" && break
2494  done
2495fi
2496if test -z "$CC"; then
2497  ac_ct_CC=$CC
2498  for ac_prog in cl.exe
2499do
2500  # Extract the first word of "$ac_prog", so it can be a program name with args.
2501set dummy $ac_prog; ac_word=$2
2502{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2504if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2505  echo $ECHO_N "(cached) $ECHO_C" >&6
2506else
2507  if test -n "$ac_ct_CC"; then
2508  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2509else
2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511for as_dir in $PATH
2512do
2513  IFS=$as_save_IFS
2514  test -z "$as_dir" && as_dir=.
2515  for ac_exec_ext in '' $ac_executable_extensions; do
2516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517    ac_cv_prog_ac_ct_CC="$ac_prog"
2518    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519    break 2
2520  fi
2521done
2522done
2523IFS=$as_save_IFS
2524
2525fi
2526fi
2527ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528if test -n "$ac_ct_CC"; then
2529  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530echo "${ECHO_T}$ac_ct_CC" >&6; }
2531else
2532  { echo "$as_me:$LINENO: result: no" >&5
2533echo "${ECHO_T}no" >&6; }
2534fi
2535
2536
2537  test -n "$ac_ct_CC" && break
2538done
2539
2540  if test "x$ac_ct_CC" = x; then
2541    CC=""
2542  else
2543    case $cross_compiling:$ac_tool_warned in
2544yes:)
2545{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2546whose name does not start with the host triplet.  If you think this
2547configuration is useful to you, please write to autoconf@gnu.org." >&5
2548echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2549whose name does not start with the host triplet.  If you think this
2550configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2551ac_tool_warned=yes ;;
2552esac
2553    CC=$ac_ct_CC
2554  fi
2555fi
2556
2557fi
2558
2559
2560test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2561See \`config.log' for more details." >&5
2562echo "$as_me: error: no acceptable C compiler found in \$PATH
2563See \`config.log' for more details." >&2;}
2564   { (exit 1); exit 1; }; }
2565
2566# Provide some information about the compiler.
2567echo "$as_me:$LINENO: checking for C compiler version" >&5
2568ac_compiler=`set X $ac_compile; echo $2`
2569{ (ac_try="$ac_compiler --version >&5"
2570case "(($ac_try" in
2571  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572  *) ac_try_echo=$ac_try;;
2573esac
2574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575  (eval "$ac_compiler --version >&5") 2>&5
2576  ac_status=$?
2577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578  (exit $ac_status); }
2579{ (ac_try="$ac_compiler -v >&5"
2580case "(($ac_try" in
2581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582  *) ac_try_echo=$ac_try;;
2583esac
2584eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585  (eval "$ac_compiler -v >&5") 2>&5
2586  ac_status=$?
2587  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588  (exit $ac_status); }
2589{ (ac_try="$ac_compiler -V >&5"
2590case "(($ac_try" in
2591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592  *) ac_try_echo=$ac_try;;
2593esac
2594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595  (eval "$ac_compiler -V >&5") 2>&5
2596  ac_status=$?
2597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598  (exit $ac_status); }
2599
2600cat >conftest.$ac_ext <<_ACEOF
2601/* confdefs.h.  */
2602_ACEOF
2603cat confdefs.h >>conftest.$ac_ext
2604cat >>conftest.$ac_ext <<_ACEOF
2605/* end confdefs.h.  */
2606
2607int
2608main ()
2609{
2610
2611  ;
2612  return 0;
2613}
2614_ACEOF
2615ac_clean_files_save=$ac_clean_files
2616ac_clean_files="$ac_clean_files a.out a.exe b.out"
2617# Try to create an executable without -o first, disregard a.out.
2618# It will help us diagnose broken compilers, and finding out an intuition
2619# of exeext.
2620{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2621echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2622ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2623#
2624# List of possible output files, starting from the most likely.
2625# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2626# only as a last resort.  b.out is created by i960 compilers.
2627ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2628#
2629# The IRIX 6 linker writes into existing files which may not be
2630# executable, retaining their permissions.  Remove them first so a
2631# subsequent execution test works.
2632ac_rmfiles=
2633for ac_file in $ac_files
2634do
2635  case $ac_file in
2636    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2637    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2638  esac
2639done
2640rm -f $ac_rmfiles
2641
2642if { (ac_try="$ac_link_default"
2643case "(($ac_try" in
2644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645  *) ac_try_echo=$ac_try;;
2646esac
2647eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648  (eval "$ac_link_default") 2>&5
2649  ac_status=$?
2650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651  (exit $ac_status); }; then
2652  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2653# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2654# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2655# so that the user can short-circuit this test for compilers unknown to
2656# Autoconf.
2657for ac_file in $ac_files ''
2658do
2659  test -f "$ac_file" || continue
2660  case $ac_file in
2661    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2662	;;
2663    [ab].out )
2664	# We found the default executable, but exeext='' is most
2665	# certainly right.
2666	break;;
2667    *.* )
2668        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2669	then :; else
2670	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2671	fi
2672	# We set ac_cv_exeext here because the later test for it is not
2673	# safe: cross compilers may not add the suffix if given an `-o'
2674	# argument, so we may need to know it at that point already.
2675	# Even if this section looks crufty: it has the advantage of
2676	# actually working.
2677	break;;
2678    * )
2679	break;;
2680  esac
2681done
2682test "$ac_cv_exeext" = no && ac_cv_exeext=
2683
2684else
2685  ac_file=''
2686fi
2687
2688{ echo "$as_me:$LINENO: result: $ac_file" >&5
2689echo "${ECHO_T}$ac_file" >&6; }
2690if test -z "$ac_file"; then
2691  echo "$as_me: failed program was:" >&5
2692sed 's/^/| /' conftest.$ac_ext >&5
2693
2694{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2695See \`config.log' for more details." >&5
2696echo "$as_me: error: C compiler cannot create executables
2697See \`config.log' for more details." >&2;}
2698   { (exit 77); exit 77; }; }
2699fi
2700
2701ac_exeext=$ac_cv_exeext
2702
2703# Check that the compiler produces executables we can run.  If not, either
2704# the compiler is broken, or we cross compile.
2705{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2706echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2707# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2708# If not cross compiling, check that we can run a simple program.
2709if test "$cross_compiling" != yes; then
2710  if { ac_try='./$ac_file'
2711  { (case "(($ac_try" in
2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713  *) ac_try_echo=$ac_try;;
2714esac
2715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716  (eval "$ac_try") 2>&5
2717  ac_status=$?
2718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719  (exit $ac_status); }; }; then
2720    cross_compiling=no
2721  else
2722    if test "$cross_compiling" = maybe; then
2723	cross_compiling=yes
2724    else
2725	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2726If you meant to cross compile, use \`--host'.
2727See \`config.log' for more details." >&5
2728echo "$as_me: error: cannot run C compiled programs.
2729If you meant to cross compile, use \`--host'.
2730See \`config.log' for more details." >&2;}
2731   { (exit 1); exit 1; }; }
2732    fi
2733  fi
2734fi
2735{ echo "$as_me:$LINENO: result: yes" >&5
2736echo "${ECHO_T}yes" >&6; }
2737
2738rm -f a.out a.exe conftest$ac_cv_exeext b.out
2739ac_clean_files=$ac_clean_files_save
2740# Check that the compiler produces executables we can run.  If not, either
2741# the compiler is broken, or we cross compile.
2742{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2743echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2744{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2745echo "${ECHO_T}$cross_compiling" >&6; }
2746
2747{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2748echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2749if { (ac_try="$ac_link"
2750case "(($ac_try" in
2751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752  *) ac_try_echo=$ac_try;;
2753esac
2754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755  (eval "$ac_link") 2>&5
2756  ac_status=$?
2757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758  (exit $ac_status); }; then
2759  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2761# work properly (i.e., refer to `conftest.exe'), while it won't with
2762# `rm'.
2763for ac_file in conftest.exe conftest conftest.*; do
2764  test -f "$ac_file" || continue
2765  case $ac_file in
2766    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2767    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768	  break;;
2769    * ) break;;
2770  esac
2771done
2772else
2773  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2774See \`config.log' for more details." >&5
2775echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2776See \`config.log' for more details." >&2;}
2777   { (exit 1); exit 1; }; }
2778fi
2779
2780rm -f conftest$ac_cv_exeext
2781{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2782echo "${ECHO_T}$ac_cv_exeext" >&6; }
2783
2784rm -f conftest.$ac_ext
2785EXEEXT=$ac_cv_exeext
2786ac_exeext=$EXEEXT
2787{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2788echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2789if test "${ac_cv_objext+set}" = set; then
2790  echo $ECHO_N "(cached) $ECHO_C" >&6
2791else
2792  cat >conftest.$ac_ext <<_ACEOF
2793/* confdefs.h.  */
2794_ACEOF
2795cat confdefs.h >>conftest.$ac_ext
2796cat >>conftest.$ac_ext <<_ACEOF
2797/* end confdefs.h.  */
2798
2799int
2800main ()
2801{
2802
2803  ;
2804  return 0;
2805}
2806_ACEOF
2807rm -f conftest.o conftest.obj
2808if { (ac_try="$ac_compile"
2809case "(($ac_try" in
2810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811  *) ac_try_echo=$ac_try;;
2812esac
2813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814  (eval "$ac_compile") 2>&5
2815  ac_status=$?
2816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817  (exit $ac_status); }; then
2818  for ac_file in conftest.o conftest.obj conftest.*; do
2819  test -f "$ac_file" || continue;
2820  case $ac_file in
2821    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2822    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2823       break;;
2824  esac
2825done
2826else
2827  echo "$as_me: failed program was:" >&5
2828sed 's/^/| /' conftest.$ac_ext >&5
2829
2830{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831See \`config.log' for more details." >&5
2832echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833See \`config.log' for more details." >&2;}
2834   { (exit 1); exit 1; }; }
2835fi
2836
2837rm -f conftest.$ac_cv_objext conftest.$ac_ext
2838fi
2839{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840echo "${ECHO_T}$ac_cv_objext" >&6; }
2841OBJEXT=$ac_cv_objext
2842ac_objext=$OBJEXT
2843{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2845if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846  echo $ECHO_N "(cached) $ECHO_C" >&6
2847else
2848  cat >conftest.$ac_ext <<_ACEOF
2849/* confdefs.h.  */
2850_ACEOF
2851cat confdefs.h >>conftest.$ac_ext
2852cat >>conftest.$ac_ext <<_ACEOF
2853/* end confdefs.h.  */
2854
2855int
2856main ()
2857{
2858#ifndef __GNUC__
2859       choke me
2860#endif
2861
2862  ;
2863  return 0;
2864}
2865_ACEOF
2866rm -f conftest.$ac_objext
2867if { (ac_try="$ac_compile"
2868case "(($ac_try" in
2869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870  *) ac_try_echo=$ac_try;;
2871esac
2872eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873  (eval "$ac_compile") 2>conftest.er1
2874  ac_status=$?
2875  grep -v '^ *+' conftest.er1 >conftest.err
2876  rm -f conftest.er1
2877  cat conftest.err >&5
2878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879  (exit $ac_status); } && {
2880	 test -z "$ac_c_werror_flag" ||
2881	 test ! -s conftest.err
2882       } && test -s conftest.$ac_objext; then
2883  ac_compiler_gnu=yes
2884else
2885  echo "$as_me: failed program was:" >&5
2886sed 's/^/| /' conftest.$ac_ext >&5
2887
2888	ac_compiler_gnu=no
2889fi
2890
2891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892ac_cv_c_compiler_gnu=$ac_compiler_gnu
2893
2894fi
2895{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2896echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2897GCC=`test $ac_compiler_gnu = yes && echo yes`
2898ac_test_CFLAGS=${CFLAGS+set}
2899ac_save_CFLAGS=$CFLAGS
2900{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2901echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2902if test "${ac_cv_prog_cc_g+set}" = set; then
2903  echo $ECHO_N "(cached) $ECHO_C" >&6
2904else
2905  ac_save_c_werror_flag=$ac_c_werror_flag
2906   ac_c_werror_flag=yes
2907   ac_cv_prog_cc_g=no
2908   CFLAGS="-g"
2909   cat >conftest.$ac_ext <<_ACEOF
2910/* confdefs.h.  */
2911_ACEOF
2912cat confdefs.h >>conftest.$ac_ext
2913cat >>conftest.$ac_ext <<_ACEOF
2914/* end confdefs.h.  */
2915
2916int
2917main ()
2918{
2919
2920  ;
2921  return 0;
2922}
2923_ACEOF
2924rm -f conftest.$ac_objext
2925if { (ac_try="$ac_compile"
2926case "(($ac_try" in
2927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928  *) ac_try_echo=$ac_try;;
2929esac
2930eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931  (eval "$ac_compile") 2>conftest.er1
2932  ac_status=$?
2933  grep -v '^ *+' conftest.er1 >conftest.err
2934  rm -f conftest.er1
2935  cat conftest.err >&5
2936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937  (exit $ac_status); } && {
2938	 test -z "$ac_c_werror_flag" ||
2939	 test ! -s conftest.err
2940       } && test -s conftest.$ac_objext; then
2941  ac_cv_prog_cc_g=yes
2942else
2943  echo "$as_me: failed program was:" >&5
2944sed 's/^/| /' conftest.$ac_ext >&5
2945
2946	CFLAGS=""
2947      cat >conftest.$ac_ext <<_ACEOF
2948/* confdefs.h.  */
2949_ACEOF
2950cat confdefs.h >>conftest.$ac_ext
2951cat >>conftest.$ac_ext <<_ACEOF
2952/* end confdefs.h.  */
2953
2954int
2955main ()
2956{
2957
2958  ;
2959  return 0;
2960}
2961_ACEOF
2962rm -f conftest.$ac_objext
2963if { (ac_try="$ac_compile"
2964case "(($ac_try" in
2965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966  *) ac_try_echo=$ac_try;;
2967esac
2968eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969  (eval "$ac_compile") 2>conftest.er1
2970  ac_status=$?
2971  grep -v '^ *+' conftest.er1 >conftest.err
2972  rm -f conftest.er1
2973  cat conftest.err >&5
2974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975  (exit $ac_status); } && {
2976	 test -z "$ac_c_werror_flag" ||
2977	 test ! -s conftest.err
2978       } && test -s conftest.$ac_objext; then
2979  :
2980else
2981  echo "$as_me: failed program was:" >&5
2982sed 's/^/| /' conftest.$ac_ext >&5
2983
2984	ac_c_werror_flag=$ac_save_c_werror_flag
2985	 CFLAGS="-g"
2986	 cat >conftest.$ac_ext <<_ACEOF
2987/* confdefs.h.  */
2988_ACEOF
2989cat confdefs.h >>conftest.$ac_ext
2990cat >>conftest.$ac_ext <<_ACEOF
2991/* end confdefs.h.  */
2992
2993int
2994main ()
2995{
2996
2997  ;
2998  return 0;
2999}
3000_ACEOF
3001rm -f conftest.$ac_objext
3002if { (ac_try="$ac_compile"
3003case "(($ac_try" in
3004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005  *) ac_try_echo=$ac_try;;
3006esac
3007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008  (eval "$ac_compile") 2>conftest.er1
3009  ac_status=$?
3010  grep -v '^ *+' conftest.er1 >conftest.err
3011  rm -f conftest.er1
3012  cat conftest.err >&5
3013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014  (exit $ac_status); } && {
3015	 test -z "$ac_c_werror_flag" ||
3016	 test ! -s conftest.err
3017       } && test -s conftest.$ac_objext; then
3018  ac_cv_prog_cc_g=yes
3019else
3020  echo "$as_me: failed program was:" >&5
3021sed 's/^/| /' conftest.$ac_ext >&5
3022
3023
3024fi
3025
3026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027fi
3028
3029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030fi
3031
3032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033   ac_c_werror_flag=$ac_save_c_werror_flag
3034fi
3035{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3036echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3037if test "$ac_test_CFLAGS" = set; then
3038  CFLAGS=$ac_save_CFLAGS
3039elif test $ac_cv_prog_cc_g = yes; then
3040  if test "$GCC" = yes; then
3041    CFLAGS="-g -O2"
3042  else
3043    CFLAGS="-g"
3044  fi
3045else
3046  if test "$GCC" = yes; then
3047    CFLAGS="-O2"
3048  else
3049    CFLAGS=
3050  fi
3051fi
3052{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3053echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3054if test "${ac_cv_prog_cc_c89+set}" = set; then
3055  echo $ECHO_N "(cached) $ECHO_C" >&6
3056else
3057  ac_cv_prog_cc_c89=no
3058ac_save_CC=$CC
3059cat >conftest.$ac_ext <<_ACEOF
3060/* confdefs.h.  */
3061_ACEOF
3062cat confdefs.h >>conftest.$ac_ext
3063cat >>conftest.$ac_ext <<_ACEOF
3064/* end confdefs.h.  */
3065#include <stdarg.h>
3066#include <stdio.h>
3067#include <sys/types.h>
3068#include <sys/stat.h>
3069/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3070struct buf { int x; };
3071FILE * (*rcsopen) (struct buf *, struct stat *, int);
3072static char *e (p, i)
3073     char **p;
3074     int i;
3075{
3076  return p[i];
3077}
3078static char *f (char * (*g) (char **, int), char **p, ...)
3079{
3080  char *s;
3081  va_list v;
3082  va_start (v,p);
3083  s = g (p, va_arg (v,int));
3084  va_end (v);
3085  return s;
3086}
3087
3088/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3089   function prototypes and stuff, but not '\xHH' hex character constants.
3090   These don't provoke an error unfortunately, instead are silently treated
3091   as 'x'.  The following induces an error, until -std is added to get
3092   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3093   array size at least.  It's necessary to write '\x00'==0 to get something
3094   that's true only with -std.  */
3095int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3096
3097/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3098   inside strings and character constants.  */
3099#define FOO(x) 'x'
3100int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3101
3102int test (int i, double x);
3103struct s1 {int (*f) (int a);};
3104struct s2 {int (*f) (double a);};
3105int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3106int argc;
3107char **argv;
3108int
3109main ()
3110{
3111return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3112  ;
3113  return 0;
3114}
3115_ACEOF
3116for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3117	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3118do
3119  CC="$ac_save_CC $ac_arg"
3120  rm -f conftest.$ac_objext
3121if { (ac_try="$ac_compile"
3122case "(($ac_try" in
3123  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124  *) ac_try_echo=$ac_try;;
3125esac
3126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3127  (eval "$ac_compile") 2>conftest.er1
3128  ac_status=$?
3129  grep -v '^ *+' conftest.er1 >conftest.err
3130  rm -f conftest.er1
3131  cat conftest.err >&5
3132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133  (exit $ac_status); } && {
3134	 test -z "$ac_c_werror_flag" ||
3135	 test ! -s conftest.err
3136       } && test -s conftest.$ac_objext; then
3137  ac_cv_prog_cc_c89=$ac_arg
3138else
3139  echo "$as_me: failed program was:" >&5
3140sed 's/^/| /' conftest.$ac_ext >&5
3141
3142
3143fi
3144
3145rm -f core conftest.err conftest.$ac_objext
3146  test "x$ac_cv_prog_cc_c89" != "xno" && break
3147done
3148rm -f conftest.$ac_ext
3149CC=$ac_save_CC
3150
3151fi
3152# AC_CACHE_VAL
3153case "x$ac_cv_prog_cc_c89" in
3154  x)
3155    { echo "$as_me:$LINENO: result: none needed" >&5
3156echo "${ECHO_T}none needed" >&6; } ;;
3157  xno)
3158    { echo "$as_me:$LINENO: result: unsupported" >&5
3159echo "${ECHO_T}unsupported" >&6; } ;;
3160  *)
3161    CC="$CC $ac_cv_prog_cc_c89"
3162    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3163echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3164esac
3165
3166
3167ac_ext=c
3168ac_cpp='$CPP $CPPFLAGS'
3169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172DEPDIR="${am__leading_dot}deps"
3173
3174ac_config_commands="$ac_config_commands depfiles"
3175
3176
3177am_make=${MAKE-make}
3178cat > confinc << 'END'
3179am__doit:
3180	@echo done
3181.PHONY: am__doit
3182END
3183# If we don't find an include directive, just comment out the code.
3184{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3185echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3186am__include="#"
3187am__quote=
3188_am_result=none
3189# First try GNU make style include.
3190echo "include confinc" > confmf
3191# We grep out `Entering directory' and `Leaving directory'
3192# messages which can occur if `w' ends up in MAKEFLAGS.
3193# In particular we don't look at `^make:' because GNU make might
3194# be invoked under some other name (usually "gmake"), in which
3195# case it prints its new name instead of `make'.
3196if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3197   am__include=include
3198   am__quote=
3199   _am_result=GNU
3200fi
3201# Now try BSD make style include.
3202if test "$am__include" = "#"; then
3203   echo '.include "confinc"' > confmf
3204   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3205      am__include=.include
3206      am__quote="\""
3207      _am_result=BSD
3208   fi
3209fi
3210
3211
3212{ echo "$as_me:$LINENO: result: $_am_result" >&5
3213echo "${ECHO_T}$_am_result" >&6; }
3214rm -f confinc confmf
3215
3216# Check whether --enable-dependency-tracking was given.
3217if test "${enable_dependency_tracking+set}" = set; then
3218  enableval=$enable_dependency_tracking;
3219fi
3220
3221if test "x$enable_dependency_tracking" != xno; then
3222  am_depcomp="$ac_aux_dir/depcomp"
3223  AMDEPBACKSLASH='\'
3224fi
3225 if test "x$enable_dependency_tracking" != xno; then
3226  AMDEP_TRUE=
3227  AMDEP_FALSE='#'
3228else
3229  AMDEP_TRUE='#'
3230  AMDEP_FALSE=
3231fi
3232
3233
3234
3235depcc="$CC"   am_compiler_list=
3236
3237{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3238echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3239if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3240  echo $ECHO_N "(cached) $ECHO_C" >&6
3241else
3242  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3243  # We make a subdir and do the tests there.  Otherwise we can end up
3244  # making bogus files that we don't know about and never remove.  For
3245  # instance it was reported that on HP-UX the gcc test will end up
3246  # making a dummy file named `D' -- because `-MD' means `put the output
3247  # in D'.
3248  mkdir conftest.dir
3249  # Copy depcomp to subdir because otherwise we won't find it if we're
3250  # using a relative directory.
3251  cp "$am_depcomp" conftest.dir
3252  cd conftest.dir
3253  # We will build objects and dependencies in a subdirectory because
3254  # it helps to detect inapplicable dependency modes.  For instance
3255  # both Tru64's cc and ICC support -MD to output dependencies as a
3256  # side effect of compilation, but ICC will put the dependencies in
3257  # the current directory while Tru64 will put them in the object
3258  # directory.
3259  mkdir sub
3260
3261  am_cv_CC_dependencies_compiler_type=none
3262  if test "$am_compiler_list" = ""; then
3263     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3264  fi
3265  for depmode in $am_compiler_list; do
3266    # Setup a source with many dependencies, because some compilers
3267    # like to wrap large dependency lists on column 80 (with \), and
3268    # we should not choose a depcomp mode which is confused by this.
3269    #
3270    # We need to recreate these files for each test, as the compiler may
3271    # overwrite some of them when testing with obscure command lines.
3272    # This happens at least with the AIX C compiler.
3273    : > sub/conftest.c
3274    for i in 1 2 3 4 5 6; do
3275      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3276      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3277      # Solaris 8's {/usr,}/bin/sh.
3278      touch sub/conftst$i.h
3279    done
3280    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3281
3282    case $depmode in
3283    nosideeffect)
3284      # after this tag, mechanisms are not by side-effect, so they'll
3285      # only be used when explicitly requested
3286      if test "x$enable_dependency_tracking" = xyes; then
3287	continue
3288      else
3289	break
3290      fi
3291      ;;
3292    none) break ;;
3293    esac
3294    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3295    # mode.  It turns out that the SunPro C++ compiler does not properly
3296    # handle `-M -o', and we need to detect this.
3297    if depmode=$depmode \
3298       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3299       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3300       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3301         >/dev/null 2>conftest.err &&
3302       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3303       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3304       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3305       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3306      # icc doesn't choke on unknown options, it will just issue warnings
3307      # or remarks (even with -Werror).  So we grep stderr for any message
3308      # that says an option was ignored or not supported.
3309      # When given -MP, icc 7.0 and 7.1 complain thusly:
3310      #   icc: Command line warning: ignoring option '-M'; no argument required
3311      # The diagnosis changed in icc 8.0:
3312      #   icc: Command line remark: option '-MP' not supported
3313      if (grep 'ignoring option' conftest.err ||
3314          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3315        am_cv_CC_dependencies_compiler_type=$depmode
3316        break
3317      fi
3318    fi
3319  done
3320
3321  cd ..
3322  rm -rf conftest.dir
3323else
3324  am_cv_CC_dependencies_compiler_type=none
3325fi
3326
3327fi
3328{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3329echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3330CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3331
3332 if
3333  test "x$enable_dependency_tracking" != xno \
3334  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3335  am__fastdepCC_TRUE=
3336  am__fastdepCC_FALSE='#'
3337else
3338  am__fastdepCC_TRUE='#'
3339  am__fastdepCC_FALSE=
3340fi
3341
3342
3343# Find a good install program.  We prefer a C program (faster),
3344# so one script is as good as another.  But avoid the broken or
3345# incompatible versions:
3346# SysV /etc/install, /usr/sbin/install
3347# SunOS /usr/etc/install
3348# IRIX /sbin/install
3349# AIX /bin/install
3350# AmigaOS /C/install, which installs bootblocks on floppy discs
3351# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3352# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3353# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3354# OS/2's system install, which has a completely different semantic
3355# ./install, which can be erroneously created by make from ./install.sh.
3356{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3357echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3358if test -z "$INSTALL"; then
3359if test "${ac_cv_path_install+set}" = set; then
3360  echo $ECHO_N "(cached) $ECHO_C" >&6
3361else
3362  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363for as_dir in $PATH
3364do
3365  IFS=$as_save_IFS
3366  test -z "$as_dir" && as_dir=.
3367  # Account for people who put trailing slashes in PATH elements.
3368case $as_dir/ in
3369  ./ | .// | /cC/* | \
3370  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3371  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3372  /usr/ucb/* ) ;;
3373  *)
3374    # OSF1 and SCO ODT 3.0 have their own names for install.
3375    # Don't use installbsd from OSF since it installs stuff as root
3376    # by default.
3377    for ac_prog in ginstall scoinst install; do
3378      for ac_exec_ext in '' $ac_executable_extensions; do
3379	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3380	  if test $ac_prog = install &&
3381	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3382	    # AIX install.  It has an incompatible calling convention.
3383	    :
3384	  elif test $ac_prog = install &&
3385	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3386	    # program-specific install script used by HP pwplus--don't use.
3387	    :
3388	  else
3389	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3390	    break 3
3391	  fi
3392	fi
3393      done
3394    done
3395    ;;
3396esac
3397done
3398IFS=$as_save_IFS
3399
3400
3401fi
3402  if test "${ac_cv_path_install+set}" = set; then
3403    INSTALL=$ac_cv_path_install
3404  else
3405    # As a last resort, use the slow shell script.  Don't cache a
3406    # value for INSTALL within a source directory, because that will
3407    # break other packages using the cache if that directory is
3408    # removed, or if the value is a relative name.
3409    INSTALL=$ac_install_sh
3410  fi
3411fi
3412{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3413echo "${ECHO_T}$INSTALL" >&6; }
3414
3415# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3416# It thinks the first close brace ends the variable substitution.
3417test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3418
3419test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3420
3421test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3422
3423
3424
3425
3426if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3427	if test -n "$ac_tool_prefix"; then
3428  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3429set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3430{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3432if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3433  echo $ECHO_N "(cached) $ECHO_C" >&6
3434else
3435  case $PKG_CONFIG in
3436  [\\/]* | ?:[\\/]*)
3437  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3438  ;;
3439  *)
3440  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441for as_dir in $PATH
3442do
3443  IFS=$as_save_IFS
3444  test -z "$as_dir" && as_dir=.
3445  for ac_exec_ext in '' $ac_executable_extensions; do
3446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3448    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3449    break 2
3450  fi
3451done
3452done
3453IFS=$as_save_IFS
3454
3455  ;;
3456esac
3457fi
3458PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3459if test -n "$PKG_CONFIG"; then
3460  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3461echo "${ECHO_T}$PKG_CONFIG" >&6; }
3462else
3463  { echo "$as_me:$LINENO: result: no" >&5
3464echo "${ECHO_T}no" >&6; }
3465fi
3466
3467
3468fi
3469if test -z "$ac_cv_path_PKG_CONFIG"; then
3470  ac_pt_PKG_CONFIG=$PKG_CONFIG
3471  # Extract the first word of "pkg-config", so it can be a program name with args.
3472set dummy pkg-config; ac_word=$2
3473{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3474echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3475if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3476  echo $ECHO_N "(cached) $ECHO_C" >&6
3477else
3478  case $ac_pt_PKG_CONFIG in
3479  [\\/]* | ?:[\\/]*)
3480  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3481  ;;
3482  *)
3483  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484for as_dir in $PATH
3485do
3486  IFS=$as_save_IFS
3487  test -z "$as_dir" && as_dir=.
3488  for ac_exec_ext in '' $ac_executable_extensions; do
3489  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3490    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3491    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3492    break 2
3493  fi
3494done
3495done
3496IFS=$as_save_IFS
3497
3498  ;;
3499esac
3500fi
3501ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3502if test -n "$ac_pt_PKG_CONFIG"; then
3503  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3504echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3505else
3506  { echo "$as_me:$LINENO: result: no" >&5
3507echo "${ECHO_T}no" >&6; }
3508fi
3509
3510  if test "x$ac_pt_PKG_CONFIG" = x; then
3511    PKG_CONFIG=""
3512  else
3513    case $cross_compiling:$ac_tool_warned in
3514yes:)
3515{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3516whose name does not start with the host triplet.  If you think this
3517configuration is useful to you, please write to autoconf@gnu.org." >&5
3518echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3519whose name does not start with the host triplet.  If you think this
3520configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3521ac_tool_warned=yes ;;
3522esac
3523    PKG_CONFIG=$ac_pt_PKG_CONFIG
3524  fi
3525else
3526  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3527fi
3528
3529fi
3530if test -n "$PKG_CONFIG"; then
3531	_pkg_min_version=0.9.0
3532	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3533echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3534	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3535		{ echo "$as_me:$LINENO: result: yes" >&5
3536echo "${ECHO_T}yes" >&6; }
3537	else
3538		{ echo "$as_me:$LINENO: result: no" >&5
3539echo "${ECHO_T}no" >&6; }
3540		PKG_CONFIG=""
3541	fi
3542
3543fi
3544
3545	# Check whether --enable-xprint was given.
3546if test "${enable_xprint+set}" = set; then
3547  enableval=$enable_xprint; use_xprint=$enableval
3548else
3549  use_xprint=auto
3550fi
3551
3552	if test "x$use_xprint" = "xyes"; then
3553		TMP_CHECK1=xaw8
3554		TMP_CHECK2=
3555		xaw_use_xprint=yes
3556	elif test "x$use_xprint" = "xno"; then
3557		TMP_CHECK1=xaw7
3558		TMP_CHECK2=
3559		xaw_use_xprint=no
3560	else
3561		TMP_CHECK1=xaw8
3562		TMP_CHECK2=xaw7
3563		xaw_use_xprint=yes
3564	fi
3565
3566
3567pkg_failed=no
3568{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3569echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3570
3571if test -n "$PKG_CONFIG"; then
3572        if test -n "$PKG_CONFIG" && \
3573    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3574  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3575  ac_status=$?
3576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577  (exit $ac_status); }; then
3578  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
3579else
3580  pkg_failed=yes
3581fi
3582else
3583	pkg_failed=untried
3584fi
3585if test -n "$PKG_CONFIG"; then
3586        if test -n "$PKG_CONFIG" && \
3587    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3588  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3589  ac_status=$?
3590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591  (exit $ac_status); }; then
3592  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
3593else
3594  pkg_failed=yes
3595fi
3596else
3597	pkg_failed=untried
3598fi
3599
3600if test $pkg_failed = yes; then
3601	TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
3602	# Put the nasty error message in config.log where it belongs
3603	echo "$TMP_XAW_PKG_ERRORS" 1>&5
3604
3605	success=no
3606elif test $pkg_failed = untried; then
3607	success=no
3608else
3609	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3610	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3611        { echo "$as_me:$LINENO: result: yes" >&5
3612echo "${ECHO_T}yes" >&6; }
3613	success=yes
3614fi
3615	if [ ! -z $TMP_CHECK2 ] ; then
3616		if test $success = no ; then
3617
3618pkg_failed=no
3619{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3620echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3621
3622if test -n "$PKG_CONFIG"; then
3623        if test -n "$PKG_CONFIG" && \
3624    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3625  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3626  ac_status=$?
3627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628  (exit $ac_status); }; then
3629  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
3630else
3631  pkg_failed=yes
3632fi
3633else
3634	pkg_failed=untried
3635fi
3636if test -n "$PKG_CONFIG"; then
3637        if test -n "$PKG_CONFIG" && \
3638    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3639  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3640  ac_status=$?
3641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642  (exit $ac_status); }; then
3643  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
3644else
3645  pkg_failed=yes
3646fi
3647else
3648	pkg_failed=untried
3649fi
3650
3651if test $pkg_failed = yes; then
3652	TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
3653	# Put the nasty error message in config.log where it belongs
3654	echo "$TMP_XAW_PKG_ERRORS" 1>&5
3655
3656	success=no
3657elif test $pkg_failed = untried; then
3658	success=no
3659else
3660	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3661	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3662        { echo "$as_me:$LINENO: result: yes" >&5
3663echo "${ECHO_T}yes" >&6; }
3664	success=yes
3665fi
3666			xaw_use_xprint=no
3667		fi
3668	fi
3669
3670	if test "x$success" = "xyes"; then
3671		XCALC_CFLAGS=$TMP_XAW_CFLAGS
3672		XCALC_LIBS=$TMP_XAW_LIBS
3673
3674		 if test "x$xaw_use_xprint" = "xyes"; then
3675  XAW_USE_XPRINT_TRUE=
3676  XAW_USE_XPRINT_FALSE='#'
3677else
3678  XAW_USE_XPRINT_TRUE='#'
3679  XAW_USE_XPRINT_FALSE=
3680fi
3681
3682	else
3683		{ { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
3684echo "$as_me: error: No suitable version of Xaw found" >&2;}
3685   { (exit 1); exit 1; }; }
3686	fi
3687
3688
3689
3690
3691
3692
3693pkg_failed=no
3694{ echo "$as_me:$LINENO: checking for APPDEFS" >&5
3695echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
3696
3697if test -n "$PKG_CONFIG"; then
3698        if test -n "$PKG_CONFIG" && \
3699    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
3700  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3701  ac_status=$?
3702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703  (exit $ac_status); }; then
3704  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
3705else
3706  pkg_failed=yes
3707fi
3708else
3709	pkg_failed=untried
3710fi
3711if test -n "$PKG_CONFIG"; then
3712        if test -n "$PKG_CONFIG" && \
3713    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
3714  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3715  ac_status=$?
3716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717  (exit $ac_status); }; then
3718  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
3719else
3720  pkg_failed=yes
3721fi
3722else
3723	pkg_failed=untried
3724fi
3725
3726if test $pkg_failed = yes; then
3727	APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
3728	# Put the nasty error message in config.log where it belongs
3729	echo "$APPDEFS_PKG_ERRORS" 1>&5
3730
3731	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met.
3732Consider adjusting the PKG_CONFIG_PATH environment variable if you
3733installed software in a non-standard prefix.
3734
3735Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
3736to avoid the need to call pkg-config.  See the pkg-config man page for
3737more details." >&5
3738echo "$as_me: error: Package requirements (xt) were not met.
3739Consider adjusting the PKG_CONFIG_PATH environment variable if you
3740installed software in a non-standard prefix.
3741
3742Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
3743to avoid the need to call pkg-config.  See the pkg-config man page for
3744more details." >&2;}
3745   { (exit 1); exit 1; }; }
3746elif test $pkg_failed = untried; then
3747	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3748is in your PATH or set the PKG_CONFIG environment variable to the full
3749path to pkg-config.
3750
3751Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
3752to avoid the need to call pkg-config.  See the pkg-config man page for
3753more details.
3754
3755To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3756See \`config.log' for more details." >&5
3757echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3758is in your PATH or set the PKG_CONFIG environment variable to the full
3759path to pkg-config.
3760
3761Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
3762to avoid the need to call pkg-config.  See the pkg-config man page for
3763more details.
3764
3765To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3766See \`config.log' for more details." >&2;}
3767   { (exit 1); exit 1; }; }
3768else
3769	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
3770	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
3771        { echo "$as_me:$LINENO: result: yes" >&5
3772echo "${ECHO_T}yes" >&6; }
3773	:
3774fi
3775appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
3776
3777
3778# Make sure we can run config.sub.
3779$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3780  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3781echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3782   { (exit 1); exit 1; }; }
3783
3784{ echo "$as_me:$LINENO: checking build system type" >&5
3785echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3786if test "${ac_cv_build+set}" = set; then
3787  echo $ECHO_N "(cached) $ECHO_C" >&6
3788else
3789  ac_build_alias=$build_alias
3790test "x$ac_build_alias" = x &&
3791  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3792test "x$ac_build_alias" = x &&
3793  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3794echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3795   { (exit 1); exit 1; }; }
3796ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3797  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3798echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3799   { (exit 1); exit 1; }; }
3800
3801fi
3802{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3803echo "${ECHO_T}$ac_cv_build" >&6; }
3804case $ac_cv_build in
3805*-*-*) ;;
3806*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3807echo "$as_me: error: invalid value of canonical build" >&2;}
3808   { (exit 1); exit 1; }; };;
3809esac
3810build=$ac_cv_build
3811ac_save_IFS=$IFS; IFS='-'
3812set x $ac_cv_build
3813shift
3814build_cpu=$1
3815build_vendor=$2
3816shift; shift
3817# Remember, the first character of IFS is used to create $*,
3818# except with old shells:
3819build_os=$*
3820IFS=$ac_save_IFS
3821case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3822
3823
3824{ echo "$as_me:$LINENO: checking host system type" >&5
3825echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3826if test "${ac_cv_host+set}" = set; then
3827  echo $ECHO_N "(cached) $ECHO_C" >&6
3828else
3829  if test "x$host_alias" = x; then
3830  ac_cv_host=$ac_cv_build
3831else
3832  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3833    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3834echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3835   { (exit 1); exit 1; }; }
3836fi
3837
3838fi
3839{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3840echo "${ECHO_T}$ac_cv_host" >&6; }
3841case $ac_cv_host in
3842*-*-*) ;;
3843*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3844echo "$as_me: error: invalid value of canonical host" >&2;}
3845   { (exit 1); exit 1; }; };;
3846esac
3847host=$ac_cv_host
3848ac_save_IFS=$IFS; IFS='-'
3849set x $ac_cv_host
3850shift
3851host_cpu=$1
3852host_vendor=$2
3853shift; shift
3854# Remember, the first character of IFS is used to create $*,
3855# except with old shells:
3856host_os=$*
3857IFS=$ac_save_IFS
3858case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3859
3860
3861
3862
3863
3864if test x$APP_MAN_SUFFIX = x    ; then
3865    APP_MAN_SUFFIX=1
3866fi
3867if test x$APP_MAN_DIR = x    ; then
3868    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3869fi
3870
3871if test x$LIB_MAN_SUFFIX = x    ; then
3872    LIB_MAN_SUFFIX=3
3873fi
3874if test x$LIB_MAN_DIR = x    ; then
3875    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3876fi
3877
3878if test x$FILE_MAN_SUFFIX = x    ; then
3879    case $host_os in
3880	solaris*)	FILE_MAN_SUFFIX=4  ;;
3881	*)		FILE_MAN_SUFFIX=5  ;;
3882    esac
3883fi
3884if test x$FILE_MAN_DIR = x    ; then
3885    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3886fi
3887
3888if test x$MISC_MAN_SUFFIX = x    ; then
3889    case $host_os in
3890	solaris*)	MISC_MAN_SUFFIX=5  ;;
3891	*)		MISC_MAN_SUFFIX=7  ;;
3892    esac
3893fi
3894if test x$MISC_MAN_DIR = x    ; then
3895    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3896fi
3897
3898if test x$DRIVER_MAN_SUFFIX = x    ; then
3899    case $host_os in
3900	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3901	*)		DRIVER_MAN_SUFFIX=4  ;;
3902    esac
3903fi
3904if test x$DRIVER_MAN_DIR = x    ; then
3905    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3906fi
3907
3908if test x$ADMIN_MAN_SUFFIX = x    ; then
3909    case $host_os in
3910	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3911	*)		ADMIN_MAN_SUFFIX=8  ;;
3912    esac
3913fi
3914if test x$ADMIN_MAN_DIR = x    ; then
3915    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3916fi
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934# Check whether --with-release-version was given.
3935if test "${with_release_version+set}" = set; then
3936  withval=$with_release_version; RELEASE_VERSION="$withval"
3937else
3938  RELEASE_VERSION=""
3939fi
3940
3941	if test "x$RELEASE_VERSION" != "x"; then
3942		PACKAGE="$PACKAGE-$RELEASE_VERSION"
3943		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3944		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3945echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3946	fi
3947
3948cat >>confdefs.h <<_ACEOF
3949#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3950_ACEOF
3951
3952	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3953	if test "x$PVM" = "x"; then
3954		PVM="0"
3955	fi
3956
3957cat >>confdefs.h <<_ACEOF
3958#define PACKAGE_VERSION_MINOR $PVM
3959_ACEOF
3960
3961	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3962	if test "x$PVP" = "x"; then
3963		PVP="0"
3964	fi
3965
3966cat >>confdefs.h <<_ACEOF
3967#define PACKAGE_VERSION_PATCHLEVEL $PVP
3968_ACEOF
3969
3970
3971
3972ac_config_files="$ac_config_files Makefile"
3973
3974cat >confcache <<\_ACEOF
3975# This file is a shell script that caches the results of configure
3976# tests run on this system so they can be shared between configure
3977# scripts and configure runs, see configure's option --config-cache.
3978# It is not useful on other systems.  If it contains results you don't
3979# want to keep, you may remove or edit it.
3980#
3981# config.status only pays attention to the cache file if you give it
3982# the --recheck option to rerun configure.
3983#
3984# `ac_cv_env_foo' variables (set or unset) will be overridden when
3985# loading this file, other *unset* `ac_cv_foo' will be assigned the
3986# following values.
3987
3988_ACEOF
3989
3990# The following way of writing the cache mishandles newlines in values,
3991# but we know of no workaround that is simple, portable, and efficient.
3992# So, we kill variables containing newlines.
3993# Ultrix sh set writes to stderr and can't be redirected directly,
3994# and sets the high bit in the cache file unless we assign to the vars.
3995(
3996  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3997    eval ac_val=\$$ac_var
3998    case $ac_val in #(
3999    *${as_nl}*)
4000      case $ac_var in #(
4001      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4002echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4003      esac
4004      case $ac_var in #(
4005      _ | IFS | as_nl) ;; #(
4006      *) $as_unset $ac_var ;;
4007      esac ;;
4008    esac
4009  done
4010
4011  (set) 2>&1 |
4012    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4013    *${as_nl}ac_space=\ *)
4014      # `set' does not quote correctly, so add quotes (double-quote
4015      # substitution turns \\\\ into \\, and sed turns \\ into \).
4016      sed -n \
4017	"s/'/'\\\\''/g;
4018	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4019      ;; #(
4020    *)
4021      # `set' quotes correctly as required by POSIX, so do not add quotes.
4022      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4023      ;;
4024    esac |
4025    sort
4026) |
4027  sed '
4028     /^ac_cv_env_/b end
4029     t clear
4030     :clear
4031     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4032     t end
4033     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4034     :end' >>confcache
4035if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4036  if test -w "$cache_file"; then
4037    test "x$cache_file" != "x/dev/null" &&
4038      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4039echo "$as_me: updating cache $cache_file" >&6;}
4040    cat confcache >$cache_file
4041  else
4042    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4043echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4044  fi
4045fi
4046rm -f confcache
4047
4048test "x$prefix" = xNONE && prefix=$ac_default_prefix
4049# Let make expand exec_prefix.
4050test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4051
4052DEFS=-DHAVE_CONFIG_H
4053
4054ac_libobjs=
4055ac_ltlibobjs=
4056for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4057  # 1. Remove the extension, and $U if already installed.
4058  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4059  ac_i=`echo "$ac_i" | sed "$ac_script"`
4060  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4061  #    will be set to the directory where LIBOBJS objects are built.
4062  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4063  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4064done
4065LIBOBJS=$ac_libobjs
4066
4067LTLIBOBJS=$ac_ltlibobjs
4068
4069
4070if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4071  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4072Usually this means the macro was only invoked conditionally." >&5
4073echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4074Usually this means the macro was only invoked conditionally." >&2;}
4075   { (exit 1); exit 1; }; }
4076fi
4077if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4078  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4079Usually this means the macro was only invoked conditionally." >&5
4080echo "$as_me: error: conditional \"AMDEP\" was never defined.
4081Usually this means the macro was only invoked conditionally." >&2;}
4082   { (exit 1); exit 1; }; }
4083fi
4084if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4085  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4086Usually this means the macro was only invoked conditionally." >&5
4087echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4088Usually this means the macro was only invoked conditionally." >&2;}
4089   { (exit 1); exit 1; }; }
4090fi
4091if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
4092  { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
4093Usually this means the macro was only invoked conditionally." >&5
4094echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
4095Usually this means the macro was only invoked conditionally." >&2;}
4096   { (exit 1); exit 1; }; }
4097fi
4098
4099: ${CONFIG_STATUS=./config.status}
4100ac_clean_files_save=$ac_clean_files
4101ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4102{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4103echo "$as_me: creating $CONFIG_STATUS" >&6;}
4104cat >$CONFIG_STATUS <<_ACEOF
4105#! $SHELL
4106# Generated by $as_me.
4107# Run this file to recreate the current configuration.
4108# Compiler output produced by configure, useful for debugging
4109# configure, is in config.log if it exists.
4110
4111debug=false
4112ac_cs_recheck=false
4113ac_cs_silent=false
4114SHELL=\${CONFIG_SHELL-$SHELL}
4115_ACEOF
4116
4117cat >>$CONFIG_STATUS <<\_ACEOF
4118## --------------------- ##
4119## M4sh Initialization.  ##
4120## --------------------- ##
4121
4122# Be more Bourne compatible
4123DUALCASE=1; export DUALCASE # for MKS sh
4124if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4125  emulate sh
4126  NULLCMD=:
4127  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4128  # is contrary to our usage.  Disable this feature.
4129  alias -g '${1+"$@"}'='"$@"'
4130  setopt NO_GLOB_SUBST
4131else
4132  case `(set -o) 2>/dev/null` in
4133  *posix*) set -o posix ;;
4134esac
4135
4136fi
4137
4138
4139
4140
4141# PATH needs CR
4142# Avoid depending upon Character Ranges.
4143as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4144as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4145as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4146as_cr_digits='0123456789'
4147as_cr_alnum=$as_cr_Letters$as_cr_digits
4148
4149# The user is always right.
4150if test "${PATH_SEPARATOR+set}" != set; then
4151  echo "#! /bin/sh" >conf$$.sh
4152  echo  "exit 0"   >>conf$$.sh
4153  chmod +x conf$$.sh
4154  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4155    PATH_SEPARATOR=';'
4156  else
4157    PATH_SEPARATOR=:
4158  fi
4159  rm -f conf$$.sh
4160fi
4161
4162# Support unset when possible.
4163if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4164  as_unset=unset
4165else
4166  as_unset=false
4167fi
4168
4169
4170# IFS
4171# We need space, tab and new line, in precisely that order.  Quoting is
4172# there to prevent editors from complaining about space-tab.
4173# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4174# splitting by setting IFS to empty value.)
4175as_nl='
4176'
4177IFS=" ""	$as_nl"
4178
4179# Find who we are.  Look in the path if we contain no directory separator.
4180case $0 in
4181  *[\\/]* ) as_myself=$0 ;;
4182  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183for as_dir in $PATH
4184do
4185  IFS=$as_save_IFS
4186  test -z "$as_dir" && as_dir=.
4187  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4188done
4189IFS=$as_save_IFS
4190
4191     ;;
4192esac
4193# We did not find ourselves, most probably we were run as `sh COMMAND'
4194# in which case we are not to be found in the path.
4195if test "x$as_myself" = x; then
4196  as_myself=$0
4197fi
4198if test ! -f "$as_myself"; then
4199  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4200  { (exit 1); exit 1; }
4201fi
4202
4203# Work around bugs in pre-3.0 UWIN ksh.
4204for as_var in ENV MAIL MAILPATH
4205do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4206done
4207PS1='$ '
4208PS2='> '
4209PS4='+ '
4210
4211# NLS nuisances.
4212for as_var in \
4213  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4214  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4215  LC_TELEPHONE LC_TIME
4216do
4217  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4218    eval $as_var=C; export $as_var
4219  else
4220    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4221  fi
4222done
4223
4224# Required to use basename.
4225if expr a : '\(a\)' >/dev/null 2>&1 &&
4226   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4227  as_expr=expr
4228else
4229  as_expr=false
4230fi
4231
4232if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4233  as_basename=basename
4234else
4235  as_basename=false
4236fi
4237
4238
4239# Name of the executable.
4240as_me=`$as_basename -- "$0" ||
4241$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4242	 X"$0" : 'X\(//\)$' \| \
4243	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4244echo X/"$0" |
4245    sed '/^.*\/\([^/][^/]*\)\/*$/{
4246	    s//\1/
4247	    q
4248	  }
4249	  /^X\/\(\/\/\)$/{
4250	    s//\1/
4251	    q
4252	  }
4253	  /^X\/\(\/\).*/{
4254	    s//\1/
4255	    q
4256	  }
4257	  s/.*/./; q'`
4258
4259# CDPATH.
4260$as_unset CDPATH
4261
4262
4263
4264  as_lineno_1=$LINENO
4265  as_lineno_2=$LINENO
4266  test "x$as_lineno_1" != "x$as_lineno_2" &&
4267  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4268
4269  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4270  # uniformly replaced by the line number.  The first 'sed' inserts a
4271  # line-number line after each line using $LINENO; the second 'sed'
4272  # does the real work.  The second script uses 'N' to pair each
4273  # line-number line with the line containing $LINENO, and appends
4274  # trailing '-' during substitution so that $LINENO is not a special
4275  # case at line end.
4276  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4277  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4278  # E. McMahon (1931-1989) for sed's syntax.  :-)
4279  sed -n '
4280    p
4281    /[$]LINENO/=
4282  ' <$as_myself |
4283    sed '
4284      s/[$]LINENO.*/&-/
4285      t lineno
4286      b
4287      :lineno
4288      N
4289      :loop
4290      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4291      t loop
4292      s/-\n.*//
4293    ' >$as_me.lineno &&
4294  chmod +x "$as_me.lineno" ||
4295    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4296   { (exit 1); exit 1; }; }
4297
4298  # Don't try to exec as it changes $[0], causing all sort of problems
4299  # (the dirname of $[0] is not the place where we might find the
4300  # original and so on.  Autoconf is especially sensitive to this).
4301  . "./$as_me.lineno"
4302  # Exit status is that of the last command.
4303  exit
4304}
4305
4306
4307if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4308  as_dirname=dirname
4309else
4310  as_dirname=false
4311fi
4312
4313ECHO_C= ECHO_N= ECHO_T=
4314case `echo -n x` in
4315-n*)
4316  case `echo 'x\c'` in
4317  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4318  *)   ECHO_C='\c';;
4319  esac;;
4320*)
4321  ECHO_N='-n';;
4322esac
4323
4324if expr a : '\(a\)' >/dev/null 2>&1 &&
4325   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4326  as_expr=expr
4327else
4328  as_expr=false
4329fi
4330
4331rm -f conf$$ conf$$.exe conf$$.file
4332if test -d conf$$.dir; then
4333  rm -f conf$$.dir/conf$$.file
4334else
4335  rm -f conf$$.dir
4336  mkdir conf$$.dir
4337fi
4338echo >conf$$.file
4339if ln -s conf$$.file conf$$ 2>/dev/null; then
4340  as_ln_s='ln -s'
4341  # ... but there are two gotchas:
4342  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4343  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4344  # In both cases, we have to default to `cp -p'.
4345  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4346    as_ln_s='cp -p'
4347elif ln conf$$.file conf$$ 2>/dev/null; then
4348  as_ln_s=ln
4349else
4350  as_ln_s='cp -p'
4351fi
4352rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4353rmdir conf$$.dir 2>/dev/null
4354
4355if mkdir -p . 2>/dev/null; then
4356  as_mkdir_p=:
4357else
4358  test -d ./-p && rmdir ./-p
4359  as_mkdir_p=false
4360fi
4361
4362if test -x / >/dev/null 2>&1; then
4363  as_test_x='test -x'
4364else
4365  if ls -dL / >/dev/null 2>&1; then
4366    as_ls_L_option=L
4367  else
4368    as_ls_L_option=
4369  fi
4370  as_test_x='
4371    eval sh -c '\''
4372      if test -d "$1"; then
4373        test -d "$1/.";
4374      else
4375	case $1 in
4376        -*)set "./$1";;
4377	esac;
4378	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4379	???[sx]*):;;*)false;;esac;fi
4380    '\'' sh
4381  '
4382fi
4383as_executable_p=$as_test_x
4384
4385# Sed expression to map a string onto a valid CPP name.
4386as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4387
4388# Sed expression to map a string onto a valid variable name.
4389as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4390
4391
4392exec 6>&1
4393
4394# Save the log message, to keep $[0] and so on meaningful, and to
4395# report actual input values of CONFIG_FILES etc. instead of their
4396# values after options handling.
4397ac_log="
4398This file was extended by xcalc $as_me 1.0.2, which was
4399generated by GNU Autoconf 2.61.  Invocation command line was
4400
4401  CONFIG_FILES    = $CONFIG_FILES
4402  CONFIG_HEADERS  = $CONFIG_HEADERS
4403  CONFIG_LINKS    = $CONFIG_LINKS
4404  CONFIG_COMMANDS = $CONFIG_COMMANDS
4405  $ $0 $@
4406
4407on `(hostname || uname -n) 2>/dev/null | sed 1q`
4408"
4409
4410_ACEOF
4411
4412cat >>$CONFIG_STATUS <<_ACEOF
4413# Files that config.status was made for.
4414config_files="$ac_config_files"
4415config_headers="$ac_config_headers"
4416config_commands="$ac_config_commands"
4417
4418_ACEOF
4419
4420cat >>$CONFIG_STATUS <<\_ACEOF
4421ac_cs_usage="\
4422\`$as_me' instantiates files from templates according to the
4423current configuration.
4424
4425Usage: $0 [OPTIONS] [FILE]...
4426
4427  -h, --help       print this help, then exit
4428  -V, --version    print version number and configuration settings, then exit
4429  -q, --quiet      do not print progress messages
4430  -d, --debug      don't remove temporary files
4431      --recheck    update $as_me by reconfiguring in the same conditions
4432  --file=FILE[:TEMPLATE]
4433		   instantiate the configuration file FILE
4434  --header=FILE[:TEMPLATE]
4435		   instantiate the configuration header FILE
4436
4437Configuration files:
4438$config_files
4439
4440Configuration headers:
4441$config_headers
4442
4443Configuration commands:
4444$config_commands
4445
4446Report bugs to <bug-autoconf@gnu.org>."
4447
4448_ACEOF
4449cat >>$CONFIG_STATUS <<_ACEOF
4450ac_cs_version="\\
4451xcalc config.status 1.0.2
4452configured by $0, generated by GNU Autoconf 2.61,
4453  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4454
4455Copyright (C) 2006 Free Software Foundation, Inc.
4456This config.status script is free software; the Free Software Foundation
4457gives unlimited permission to copy, distribute and modify it."
4458
4459ac_pwd='$ac_pwd'
4460srcdir='$srcdir'
4461INSTALL='$INSTALL'
4462MKDIR_P='$MKDIR_P'
4463_ACEOF
4464
4465cat >>$CONFIG_STATUS <<\_ACEOF
4466# If no file are specified by the user, then we need to provide default
4467# value.  By we need to know if files were specified by the user.
4468ac_need_defaults=:
4469while test $# != 0
4470do
4471  case $1 in
4472  --*=*)
4473    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4474    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4475    ac_shift=:
4476    ;;
4477  *)
4478    ac_option=$1
4479    ac_optarg=$2
4480    ac_shift=shift
4481    ;;
4482  esac
4483
4484  case $ac_option in
4485  # Handling of the options.
4486  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4487    ac_cs_recheck=: ;;
4488  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4489    echo "$ac_cs_version"; exit ;;
4490  --debug | --debu | --deb | --de | --d | -d )
4491    debug=: ;;
4492  --file | --fil | --fi | --f )
4493    $ac_shift
4494    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4495    ac_need_defaults=false;;
4496  --header | --heade | --head | --hea )
4497    $ac_shift
4498    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4499    ac_need_defaults=false;;
4500  --he | --h)
4501    # Conflict between --help and --header
4502    { echo "$as_me: error: ambiguous option: $1
4503Try \`$0 --help' for more information." >&2
4504   { (exit 1); exit 1; }; };;
4505  --help | --hel | -h )
4506    echo "$ac_cs_usage"; exit ;;
4507  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4508  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4509    ac_cs_silent=: ;;
4510
4511  # This is an error.
4512  -*) { echo "$as_me: error: unrecognized option: $1
4513Try \`$0 --help' for more information." >&2
4514   { (exit 1); exit 1; }; } ;;
4515
4516  *) ac_config_targets="$ac_config_targets $1"
4517     ac_need_defaults=false ;;
4518
4519  esac
4520  shift
4521done
4522
4523ac_configure_extra_args=
4524
4525if $ac_cs_silent; then
4526  exec 6>/dev/null
4527  ac_configure_extra_args="$ac_configure_extra_args --silent"
4528fi
4529
4530_ACEOF
4531cat >>$CONFIG_STATUS <<_ACEOF
4532if \$ac_cs_recheck; then
4533  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4534  CONFIG_SHELL=$SHELL
4535  export CONFIG_SHELL
4536  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4537fi
4538
4539_ACEOF
4540cat >>$CONFIG_STATUS <<\_ACEOF
4541exec 5>>config.log
4542{
4543  echo
4544  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4545## Running $as_me. ##
4546_ASBOX
4547  echo "$ac_log"
4548} >&5
4549
4550_ACEOF
4551cat >>$CONFIG_STATUS <<_ACEOF
4552#
4553# INIT-COMMANDS
4554#
4555AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4556
4557_ACEOF
4558
4559cat >>$CONFIG_STATUS <<\_ACEOF
4560
4561# Handling of arguments.
4562for ac_config_target in $ac_config_targets
4563do
4564  case $ac_config_target in
4565    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4566    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4567    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4568
4569  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4570echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4571   { (exit 1); exit 1; }; };;
4572  esac
4573done
4574
4575
4576# If the user did not use the arguments to specify the items to instantiate,
4577# then the envvar interface is used.  Set only those that are not.
4578# We use the long form for the default assignment because of an extremely
4579# bizarre bug on SunOS 4.1.3.
4580if $ac_need_defaults; then
4581  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4582  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4583  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4584fi
4585
4586# Have a temporary directory for convenience.  Make it in the build tree
4587# simply because there is no reason against having it here, and in addition,
4588# creating and moving files from /tmp can sometimes cause problems.
4589# Hook for its removal unless debugging.
4590# Note that there is a small window in which the directory will not be cleaned:
4591# after its creation but before its name has been assigned to `$tmp'.
4592$debug ||
4593{
4594  tmp=
4595  trap 'exit_status=$?
4596  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4597' 0
4598  trap '{ (exit 1); exit 1; }' 1 2 13 15
4599}
4600# Create a (secure) tmp directory for tmp files.
4601
4602{
4603  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4604  test -n "$tmp" && test -d "$tmp"
4605}  ||
4606{
4607  tmp=./conf$$-$RANDOM
4608  (umask 077 && mkdir "$tmp")
4609} ||
4610{
4611   echo "$me: cannot create a temporary directory in ." >&2
4612   { (exit 1); exit 1; }
4613}
4614
4615#
4616# Set up the sed scripts for CONFIG_FILES section.
4617#
4618
4619# No need to generate the scripts if there are no CONFIG_FILES.
4620# This happens for instance when ./config.status config.h
4621if test -n "$CONFIG_FILES"; then
4622
4623_ACEOF
4624
4625
4626
4627ac_delim='%!_!# '
4628for ac_last_try in false false false false false :; do
4629  cat >conf$$subs.sed <<_ACEOF
4630SHELL!$SHELL$ac_delim
4631PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4632PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4633PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4634PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4635PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4636PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4637exec_prefix!$exec_prefix$ac_delim
4638prefix!$prefix$ac_delim
4639program_transform_name!$program_transform_name$ac_delim
4640bindir!$bindir$ac_delim
4641sbindir!$sbindir$ac_delim
4642libexecdir!$libexecdir$ac_delim
4643datarootdir!$datarootdir$ac_delim
4644datadir!$datadir$ac_delim
4645sysconfdir!$sysconfdir$ac_delim
4646sharedstatedir!$sharedstatedir$ac_delim
4647localstatedir!$localstatedir$ac_delim
4648includedir!$includedir$ac_delim
4649oldincludedir!$oldincludedir$ac_delim
4650docdir!$docdir$ac_delim
4651infodir!$infodir$ac_delim
4652htmldir!$htmldir$ac_delim
4653dvidir!$dvidir$ac_delim
4654pdfdir!$pdfdir$ac_delim
4655psdir!$psdir$ac_delim
4656libdir!$libdir$ac_delim
4657localedir!$localedir$ac_delim
4658mandir!$mandir$ac_delim
4659DEFS!$DEFS$ac_delim
4660ECHO_C!$ECHO_C$ac_delim
4661ECHO_N!$ECHO_N$ac_delim
4662ECHO_T!$ECHO_T$ac_delim
4663LIBS!$LIBS$ac_delim
4664build_alias!$build_alias$ac_delim
4665host_alias!$host_alias$ac_delim
4666target_alias!$target_alias$ac_delim
4667INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4668INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4669INSTALL_DATA!$INSTALL_DATA$ac_delim
4670am__isrc!$am__isrc$ac_delim
4671CYGPATH_W!$CYGPATH_W$ac_delim
4672PACKAGE!$PACKAGE$ac_delim
4673VERSION!$VERSION$ac_delim
4674ACLOCAL!$ACLOCAL$ac_delim
4675AUTOCONF!$AUTOCONF$ac_delim
4676AUTOMAKE!$AUTOMAKE$ac_delim
4677AUTOHEADER!$AUTOHEADER$ac_delim
4678MAKEINFO!$MAKEINFO$ac_delim
4679install_sh!$install_sh$ac_delim
4680STRIP!$STRIP$ac_delim
4681INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4682mkdir_p!$mkdir_p$ac_delim
4683AWK!$AWK$ac_delim
4684SET_MAKE!$SET_MAKE$ac_delim
4685am__leading_dot!$am__leading_dot$ac_delim
4686AMTAR!$AMTAR$ac_delim
4687am__tar!$am__tar$ac_delim
4688am__untar!$am__untar$ac_delim
4689MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4690MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4691MAINT!$MAINT$ac_delim
4692CC!$CC$ac_delim
4693CFLAGS!$CFLAGS$ac_delim
4694LDFLAGS!$LDFLAGS$ac_delim
4695CPPFLAGS!$CPPFLAGS$ac_delim
4696ac_ct_CC!$ac_ct_CC$ac_delim
4697EXEEXT!$EXEEXT$ac_delim
4698OBJEXT!$OBJEXT$ac_delim
4699DEPDIR!$DEPDIR$ac_delim
4700am__include!$am__include$ac_delim
4701am__quote!$am__quote$ac_delim
4702AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4703AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4704AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4705CCDEPMODE!$CCDEPMODE$ac_delim
4706am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4707am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4708PKG_CONFIG!$PKG_CONFIG$ac_delim
4709TMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim
4710TMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim
4711XAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim
4712XAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim
4713XCALC_CFLAGS!$XCALC_CFLAGS$ac_delim
4714XCALC_LIBS!$XCALC_LIBS$ac_delim
4715APPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
4716APPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
4717appdefaultdir!$appdefaultdir$ac_delim
4718build!$build$ac_delim
4719build_cpu!$build_cpu$ac_delim
4720build_vendor!$build_vendor$ac_delim
4721build_os!$build_os$ac_delim
4722host!$host$ac_delim
4723host_cpu!$host_cpu$ac_delim
4724host_vendor!$host_vendor$ac_delim
4725host_os!$host_os$ac_delim
4726APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4727_ACEOF
4728
4729  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4730    break
4731  elif $ac_last_try; then
4732    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4733echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4734   { (exit 1); exit 1; }; }
4735  else
4736    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4737  fi
4738done
4739
4740ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4741if test -n "$ac_eof"; then
4742  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4743  ac_eof=`expr $ac_eof + 1`
4744fi
4745
4746cat >>$CONFIG_STATUS <<_ACEOF
4747cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4748/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4749_ACEOF
4750sed '
4751s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4752s/^/s,@/; s/!/@,|#_!!_#|/
4753:n
4754t n
4755s/'"$ac_delim"'$/,g/; t
4756s/$/\\/; p
4757N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4758' >>$CONFIG_STATUS <conf$$subs.sed
4759rm -f conf$$subs.sed
4760cat >>$CONFIG_STATUS <<_ACEOF
4761CEOF$ac_eof
4762_ACEOF
4763
4764
4765ac_delim='%!_!# '
4766for ac_last_try in false false false false false :; do
4767  cat >conf$$subs.sed <<_ACEOF
4768LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4769FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4770MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4771DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4772ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4773APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4774LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4775FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4776MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4777DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4778ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4779LIBOBJS!$LIBOBJS$ac_delim
4780LTLIBOBJS!$LTLIBOBJS$ac_delim
4781_ACEOF
4782
4783  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
4784    break
4785  elif $ac_last_try; then
4786    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4787echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4788   { (exit 1); exit 1; }; }
4789  else
4790    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4791  fi
4792done
4793
4794ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4795if test -n "$ac_eof"; then
4796  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4797  ac_eof=`expr $ac_eof + 1`
4798fi
4799
4800cat >>$CONFIG_STATUS <<_ACEOF
4801cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4802/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4803_ACEOF
4804sed '
4805s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4806s/^/s,@/; s/!/@,|#_!!_#|/
4807:n
4808t n
4809s/'"$ac_delim"'$/,g/; t
4810s/$/\\/; p
4811N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4812' >>$CONFIG_STATUS <conf$$subs.sed
4813rm -f conf$$subs.sed
4814cat >>$CONFIG_STATUS <<_ACEOF
4815:end
4816s/|#_!!_#|//g
4817CEOF$ac_eof
4818_ACEOF
4819
4820
4821# VPATH may cause trouble with some makes, so we remove $(srcdir),
4822# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4823# trailing colons and then remove the whole line if VPATH becomes empty
4824# (actually we leave an empty line to preserve line numbers).
4825if test "x$srcdir" = x.; then
4826  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4827s/:*\$(srcdir):*/:/
4828s/:*\${srcdir}:*/:/
4829s/:*@srcdir@:*/:/
4830s/^\([^=]*=[	 ]*\):*/\1/
4831s/:*$//
4832s/^[^=]*=[	 ]*$//
4833}'
4834fi
4835
4836cat >>$CONFIG_STATUS <<\_ACEOF
4837fi # test -n "$CONFIG_FILES"
4838
4839
4840for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4841do
4842  case $ac_tag in
4843  :[FHLC]) ac_mode=$ac_tag; continue;;
4844  esac
4845  case $ac_mode$ac_tag in
4846  :[FHL]*:*);;
4847  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4848echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4849   { (exit 1); exit 1; }; };;
4850  :[FH]-) ac_tag=-:-;;
4851  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4852  esac
4853  ac_save_IFS=$IFS
4854  IFS=:
4855  set x $ac_tag
4856  IFS=$ac_save_IFS
4857  shift
4858  ac_file=$1
4859  shift
4860
4861  case $ac_mode in
4862  :L) ac_source=$1;;
4863  :[FH])
4864    ac_file_inputs=
4865    for ac_f
4866    do
4867      case $ac_f in
4868      -) ac_f="$tmp/stdin";;
4869      *) # Look for the file first in the build tree, then in the source tree
4870	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4871	 # because $ac_f cannot contain `:'.
4872	 test -f "$ac_f" ||
4873	   case $ac_f in
4874	   [\\/$]*) false;;
4875	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4876	   esac ||
4877	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4878echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4879   { (exit 1); exit 1; }; };;
4880      esac
4881      ac_file_inputs="$ac_file_inputs $ac_f"
4882    done
4883
4884    # Let's still pretend it is `configure' which instantiates (i.e., don't
4885    # use $as_me), people would be surprised to read:
4886    #    /* config.h.  Generated by config.status.  */
4887    configure_input="Generated from "`IFS=:
4888	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4889    if test x"$ac_file" != x-; then
4890      configure_input="$ac_file.  $configure_input"
4891      { echo "$as_me:$LINENO: creating $ac_file" >&5
4892echo "$as_me: creating $ac_file" >&6;}
4893    fi
4894
4895    case $ac_tag in
4896    *:-:* | *:-) cat >"$tmp/stdin";;
4897    esac
4898    ;;
4899  esac
4900
4901  ac_dir=`$as_dirname -- "$ac_file" ||
4902$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4903	 X"$ac_file" : 'X\(//\)[^/]' \| \
4904	 X"$ac_file" : 'X\(//\)$' \| \
4905	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4906echo X"$ac_file" |
4907    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4908	    s//\1/
4909	    q
4910	  }
4911	  /^X\(\/\/\)[^/].*/{
4912	    s//\1/
4913	    q
4914	  }
4915	  /^X\(\/\/\)$/{
4916	    s//\1/
4917	    q
4918	  }
4919	  /^X\(\/\).*/{
4920	    s//\1/
4921	    q
4922	  }
4923	  s/.*/./; q'`
4924  { as_dir="$ac_dir"
4925  case $as_dir in #(
4926  -*) as_dir=./$as_dir;;
4927  esac
4928  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4929    as_dirs=
4930    while :; do
4931      case $as_dir in #(
4932      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4933      *) as_qdir=$as_dir;;
4934      esac
4935      as_dirs="'$as_qdir' $as_dirs"
4936      as_dir=`$as_dirname -- "$as_dir" ||
4937$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4938	 X"$as_dir" : 'X\(//\)[^/]' \| \
4939	 X"$as_dir" : 'X\(//\)$' \| \
4940	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4941echo X"$as_dir" |
4942    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4943	    s//\1/
4944	    q
4945	  }
4946	  /^X\(\/\/\)[^/].*/{
4947	    s//\1/
4948	    q
4949	  }
4950	  /^X\(\/\/\)$/{
4951	    s//\1/
4952	    q
4953	  }
4954	  /^X\(\/\).*/{
4955	    s//\1/
4956	    q
4957	  }
4958	  s/.*/./; q'`
4959      test -d "$as_dir" && break
4960    done
4961    test -z "$as_dirs" || eval "mkdir $as_dirs"
4962  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4963echo "$as_me: error: cannot create directory $as_dir" >&2;}
4964   { (exit 1); exit 1; }; }; }
4965  ac_builddir=.
4966
4967case "$ac_dir" in
4968.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4969*)
4970  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4971  # A ".." for each directory in $ac_dir_suffix.
4972  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4973  case $ac_top_builddir_sub in
4974  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4975  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4976  esac ;;
4977esac
4978ac_abs_top_builddir=$ac_pwd
4979ac_abs_builddir=$ac_pwd$ac_dir_suffix
4980# for backward compatibility:
4981ac_top_builddir=$ac_top_build_prefix
4982
4983case $srcdir in
4984  .)  # We are building in place.
4985    ac_srcdir=.
4986    ac_top_srcdir=$ac_top_builddir_sub
4987    ac_abs_top_srcdir=$ac_pwd ;;
4988  [\\/]* | ?:[\\/]* )  # Absolute name.
4989    ac_srcdir=$srcdir$ac_dir_suffix;
4990    ac_top_srcdir=$srcdir
4991    ac_abs_top_srcdir=$srcdir ;;
4992  *) # Relative name.
4993    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4994    ac_top_srcdir=$ac_top_build_prefix$srcdir
4995    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4996esac
4997ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4998
4999
5000  case $ac_mode in
5001  :F)
5002  #
5003  # CONFIG_FILE
5004  #
5005
5006  case $INSTALL in
5007  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5008  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5009  esac
5010  ac_MKDIR_P=$MKDIR_P
5011  case $MKDIR_P in
5012  [\\/$]* | ?:[\\/]* ) ;;
5013  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5014  esac
5015_ACEOF
5016
5017cat >>$CONFIG_STATUS <<\_ACEOF
5018# If the template does not know about datarootdir, expand it.
5019# FIXME: This hack should be removed a few years after 2.60.
5020ac_datarootdir_hack=; ac_datarootdir_seen=
5021
5022case `sed -n '/datarootdir/ {
5023  p
5024  q
5025}
5026/@datadir@/p
5027/@docdir@/p
5028/@infodir@/p
5029/@localedir@/p
5030/@mandir@/p
5031' $ac_file_inputs` in
5032*datarootdir*) ac_datarootdir_seen=yes;;
5033*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5034  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5035echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5036_ACEOF
5037cat >>$CONFIG_STATUS <<_ACEOF
5038  ac_datarootdir_hack='
5039  s&@datadir@&$datadir&g
5040  s&@docdir@&$docdir&g
5041  s&@infodir@&$infodir&g
5042  s&@localedir@&$localedir&g
5043  s&@mandir@&$mandir&g
5044    s&\\\${datarootdir}&$datarootdir&g' ;;
5045esac
5046_ACEOF
5047
5048# Neutralize VPATH when `$srcdir' = `.'.
5049# Shell code in configure.ac might set extrasub.
5050# FIXME: do we really want to maintain this feature?
5051cat >>$CONFIG_STATUS <<_ACEOF
5052  sed "$ac_vpsub
5053$extrasub
5054_ACEOF
5055cat >>$CONFIG_STATUS <<\_ACEOF
5056:t
5057/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5058s&@configure_input@&$configure_input&;t t
5059s&@top_builddir@&$ac_top_builddir_sub&;t t
5060s&@srcdir@&$ac_srcdir&;t t
5061s&@abs_srcdir@&$ac_abs_srcdir&;t t
5062s&@top_srcdir@&$ac_top_srcdir&;t t
5063s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5064s&@builddir@&$ac_builddir&;t t
5065s&@abs_builddir@&$ac_abs_builddir&;t t
5066s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5067s&@INSTALL@&$ac_INSTALL&;t t
5068s&@MKDIR_P@&$ac_MKDIR_P&;t t
5069$ac_datarootdir_hack
5070" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5071
5072test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5073  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5074  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5075  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5076which seems to be undefined.  Please make sure it is defined." >&5
5077echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5078which seems to be undefined.  Please make sure it is defined." >&2;}
5079
5080  rm -f "$tmp/stdin"
5081  case $ac_file in
5082  -) cat "$tmp/out"; rm -f "$tmp/out";;
5083  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5084  esac
5085 ;;
5086  :H)
5087  #
5088  # CONFIG_HEADER
5089  #
5090_ACEOF
5091
5092# Transform confdefs.h into a sed script `conftest.defines', that
5093# substitutes the proper values into config.h.in to produce config.h.
5094rm -f conftest.defines conftest.tail
5095# First, append a space to every undef/define line, to ease matching.
5096echo 's/$/ /' >conftest.defines
5097# Then, protect against being on the right side of a sed subst, or in
5098# an unquoted here document, in config.status.  If some macros were
5099# called several times there might be several #defines for the same
5100# symbol, which is useless.  But do not sort them, since the last
5101# AC_DEFINE must be honored.
5102ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5103# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5104# NAME is the cpp macro being defined, VALUE is the value it is being given.
5105# PARAMS is the parameter list in the macro definition--in most cases, it's
5106# just an empty string.
5107ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
5108ac_dB='\\)[	 (].*,\\1define\\2'
5109ac_dC=' '
5110ac_dD=' ,'
5111
5112uniq confdefs.h |
5113  sed -n '
5114	t rset
5115	:rset
5116	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
5117	t ok
5118	d
5119	:ok
5120	s/[\\&,]/\\&/g
5121	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5122	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5123  ' >>conftest.defines
5124
5125# Remove the space that was appended to ease matching.
5126# Then replace #undef with comments.  This is necessary, for
5127# example, in the case of _POSIX_SOURCE, which is predefined and required
5128# on some systems where configure will not decide to define it.
5129# (The regexp can be short, since the line contains either #define or #undef.)
5130echo 's/ $//
5131s,^[	 #]*u.*,/* & */,' >>conftest.defines
5132
5133# Break up conftest.defines:
5134ac_max_sed_lines=50
5135
5136# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5137# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5138# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5139# et cetera.
5140ac_in='$ac_file_inputs'
5141ac_out='"$tmp/out1"'
5142ac_nxt='"$tmp/out2"'
5143
5144while :
5145do
5146  # Write a here document:
5147    cat >>$CONFIG_STATUS <<_ACEOF
5148    # First, check the format of the line:
5149    cat >"\$tmp/defines.sed" <<\\CEOF
5150/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
5151/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
5152b
5153:def
5154_ACEOF
5155  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5156  echo 'CEOF
5157    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5158  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5159  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5160  grep . conftest.tail >/dev/null || break
5161  rm -f conftest.defines
5162  mv conftest.tail conftest.defines
5163done
5164rm -f conftest.defines conftest.tail
5165
5166echo "ac_result=$ac_in" >>$CONFIG_STATUS
5167cat >>$CONFIG_STATUS <<\_ACEOF
5168  if test x"$ac_file" != x-; then
5169    echo "/* $configure_input  */" >"$tmp/config.h"
5170    cat "$ac_result" >>"$tmp/config.h"
5171    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5172      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5173echo "$as_me: $ac_file is unchanged" >&6;}
5174    else
5175      rm -f $ac_file
5176      mv "$tmp/config.h" $ac_file
5177    fi
5178  else
5179    echo "/* $configure_input  */"
5180    cat "$ac_result"
5181  fi
5182  rm -f "$tmp/out12"
5183# Compute $ac_file's index in $config_headers.
5184_am_stamp_count=1
5185for _am_header in $config_headers :; do
5186  case $_am_header in
5187    $ac_file | $ac_file:* )
5188      break ;;
5189    * )
5190      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5191  esac
5192done
5193echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5194$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5195	 X$ac_file : 'X\(//\)[^/]' \| \
5196	 X$ac_file : 'X\(//\)$' \| \
5197	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5198echo X$ac_file |
5199    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5200	    s//\1/
5201	    q
5202	  }
5203	  /^X\(\/\/\)[^/].*/{
5204	    s//\1/
5205	    q
5206	  }
5207	  /^X\(\/\/\)$/{
5208	    s//\1/
5209	    q
5210	  }
5211	  /^X\(\/\).*/{
5212	    s//\1/
5213	    q
5214	  }
5215	  s/.*/./; q'`/stamp-h$_am_stamp_count
5216 ;;
5217
5218  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5219echo "$as_me: executing $ac_file commands" >&6;}
5220 ;;
5221  esac
5222
5223
5224  case $ac_file$ac_mode in
5225    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5226  # Strip MF so we end up with the name of the file.
5227  mf=`echo "$mf" | sed -e 's/:.*$//'`
5228  # Check whether this is an Automake generated Makefile or not.
5229  # We used to match only the files named `Makefile.in', but
5230  # some people rename them; so instead we look at the file content.
5231  # Grep'ing the first line is not enough: some people post-process
5232  # each Makefile.in and add a new line on top of each file to say so.
5233  # Grep'ing the whole file is not good either: AIX grep has a line
5234  # limit of 2048, but all sed's we know have understand at least 4000.
5235  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5236    dirpart=`$as_dirname -- "$mf" ||
5237$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5238	 X"$mf" : 'X\(//\)[^/]' \| \
5239	 X"$mf" : 'X\(//\)$' \| \
5240	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5241echo X"$mf" |
5242    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5243	    s//\1/
5244	    q
5245	  }
5246	  /^X\(\/\/\)[^/].*/{
5247	    s//\1/
5248	    q
5249	  }
5250	  /^X\(\/\/\)$/{
5251	    s//\1/
5252	    q
5253	  }
5254	  /^X\(\/\).*/{
5255	    s//\1/
5256	    q
5257	  }
5258	  s/.*/./; q'`
5259  else
5260    continue
5261  fi
5262  # Extract the definition of DEPDIR, am__include, and am__quote
5263  # from the Makefile without running `make'.
5264  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5265  test -z "$DEPDIR" && continue
5266  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5267  test -z "am__include" && continue
5268  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5269  # When using ansi2knr, U may be empty or an underscore; expand it
5270  U=`sed -n 's/^U = //p' < "$mf"`
5271  # Find all dependency output files, they are included files with
5272  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5273  # simplest approach to changing $(DEPDIR) to its actual value in the
5274  # expansion.
5275  for file in `sed -n "
5276    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5277       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5278    # Make sure the directory exists.
5279    test -f "$dirpart/$file" && continue
5280    fdir=`$as_dirname -- "$file" ||
5281$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5282	 X"$file" : 'X\(//\)[^/]' \| \
5283	 X"$file" : 'X\(//\)$' \| \
5284	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5285echo X"$file" |
5286    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5287	    s//\1/
5288	    q
5289	  }
5290	  /^X\(\/\/\)[^/].*/{
5291	    s//\1/
5292	    q
5293	  }
5294	  /^X\(\/\/\)$/{
5295	    s//\1/
5296	    q
5297	  }
5298	  /^X\(\/\).*/{
5299	    s//\1/
5300	    q
5301	  }
5302	  s/.*/./; q'`
5303    { as_dir=$dirpart/$fdir
5304  case $as_dir in #(
5305  -*) as_dir=./$as_dir;;
5306  esac
5307  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5308    as_dirs=
5309    while :; do
5310      case $as_dir in #(
5311      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5312      *) as_qdir=$as_dir;;
5313      esac
5314      as_dirs="'$as_qdir' $as_dirs"
5315      as_dir=`$as_dirname -- "$as_dir" ||
5316$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5317	 X"$as_dir" : 'X\(//\)[^/]' \| \
5318	 X"$as_dir" : 'X\(//\)$' \| \
5319	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5320echo X"$as_dir" |
5321    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5322	    s//\1/
5323	    q
5324	  }
5325	  /^X\(\/\/\)[^/].*/{
5326	    s//\1/
5327	    q
5328	  }
5329	  /^X\(\/\/\)$/{
5330	    s//\1/
5331	    q
5332	  }
5333	  /^X\(\/\).*/{
5334	    s//\1/
5335	    q
5336	  }
5337	  s/.*/./; q'`
5338      test -d "$as_dir" && break
5339    done
5340    test -z "$as_dirs" || eval "mkdir $as_dirs"
5341  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5342echo "$as_me: error: cannot create directory $as_dir" >&2;}
5343   { (exit 1); exit 1; }; }; }
5344    # echo "creating $dirpart/$file"
5345    echo '# dummy' > "$dirpart/$file"
5346  done
5347done
5348 ;;
5349
5350  esac
5351done # for ac_tag
5352
5353
5354{ (exit 0); exit 0; }
5355_ACEOF
5356chmod +x $CONFIG_STATUS
5357ac_clean_files=$ac_clean_files_save
5358
5359
5360# configure is writing to config.log, and then calls config.status.
5361# config.status does its own redirection, appending to config.log.
5362# Unfortunately, on DOS this fails, as config.log is still kept open
5363# by configure, so config.status won't be able to write to it; its
5364# output is simply discarded.  So we exec the FD to /dev/null,
5365# effectively closing config.log, so it can be properly (re)opened and
5366# appended to by config.status.  When coming back to configure, we
5367# need to make the FD available again.
5368if test "$no_create" != yes; then
5369  ac_cs_success=:
5370  ac_config_status_args=
5371  test "$silent" = yes &&
5372    ac_config_status_args="$ac_config_status_args --quiet"
5373  exec 5>/dev/null
5374  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5375  exec 5>>config.log
5376  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5377  # would make configure fail if this is the last instruction.
5378  $ac_cs_success || { (exit 1); exit 1; }
5379fi
5380
5381