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