1#! /bin/sh
2# From configure.ac Id: configure.ac.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.53.
5#
6# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7# 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
11if expr a : '\(a\)' >/dev/null 2>&1; then
12  as_expr=expr
13else
14  as_expr=false
15fi
16
17
18## --------------------- ##
19## M4sh Initialization.  ##
20## --------------------- ##
21
22# Be Bourne compatible
23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24  emulate sh
25  NULLCMD=:
26elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27  set -o posix
28fi
29
30# NLS nuisances.
31# Support unset when possible.
32if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
33  as_unset=unset
34else
35  as_unset=false
36fi
37
38(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
39    { $as_unset LANG || test "${LANG+set}" != set; } ||
40      { LANG=C; export LANG; }
41(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
43      { LC_ALL=C; export LC_ALL; }
44(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
46      { LC_TIME=C; export LC_TIME; }
47(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
49      { LC_CTYPE=C; export LC_CTYPE; }
50(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
52      { LANGUAGE=C; export LANGUAGE; }
53(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
55      { LC_COLLATE=C; export LC_COLLATE; }
56(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
58      { LC_NUMERIC=C; export LC_NUMERIC; }
59(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
61      { LC_MESSAGES=C; export LC_MESSAGES; }
62
63
64# Name of the executable.
65as_me=`(basename "$0") 2>/dev/null ||
66$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67	 X"$0" : 'X\(//\)$' \| \
68	 X"$0" : 'X\(/\)$' \| \
69	 .     : '\(.\)' 2>/dev/null ||
70echo X/"$0" |
71    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
73  	  /^X\/\(\/\).*/{ s//\1/; q; }
74  	  s/.*/./; q'`
75
76# PATH needs CR, and LINENO needs CR and PATH.
77# Avoid depending upon Character Ranges.
78as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81as_cr_digits='0123456789'
82as_cr_alnum=$as_cr_Letters$as_cr_digits
83
84# The user is always right.
85if test "${PATH_SEPARATOR+set}" != set; then
86  echo "#! /bin/sh" >conftest.sh
87  echo  "exit 0"   >>conftest.sh
88  chmod +x conftest.sh
89  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
90    PATH_SEPARATOR=';'
91  else
92    PATH_SEPARATOR=:
93  fi
94  rm -f conftest.sh
95fi
96
97
98  as_lineno_1=$LINENO
99  as_lineno_2=$LINENO
100  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
101  test "x$as_lineno_1" != "x$as_lineno_2" &&
102  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
103  # Find who we are.  Look in the path if we contain no path at all
104  # relative or not.
105  case $0 in
106    *[\\/]* ) as_myself=$0 ;;
107    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
108for as_dir in $PATH
109do
110  IFS=$as_save_IFS
111  test -z "$as_dir" && as_dir=.
112  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113done
114
115       ;;
116  esac
117  # We did not find ourselves, most probably we were run as `sh COMMAND'
118  # in which case we are not to be found in the path.
119  if test "x$as_myself" = x; then
120    as_myself=$0
121  fi
122  if test ! -f "$as_myself"; then
123    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124   { (exit 1); exit 1; }; }
125  fi
126  case $CONFIG_SHELL in
127  '')
128    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
130do
131  IFS=$as_save_IFS
132  test -z "$as_dir" && as_dir=.
133  for as_base in sh bash ksh sh5; do
134	 case $as_dir in
135	 /*)
136	   if ("$as_dir/$as_base" -c '
137  as_lineno_1=$LINENO
138  as_lineno_2=$LINENO
139  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140  test "x$as_lineno_1" != "x$as_lineno_2" &&
141  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
142	     CONFIG_SHELL=$as_dir/$as_base
143	     export CONFIG_SHELL
144	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
145	   fi;;
146	 esac
147       done
148done
149;;
150  esac
151
152  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153  # uniformly replaced by the line number.  The first 'sed' inserts a
154  # line-number line before each line; the second 'sed' does the real
155  # work.  The second script uses 'N' to pair each line-number line
156  # with the numbered line, and appends trailing '-' during
157  # substitution so that $LINENO is not a special case at line end.
158  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
160  sed '=' <$as_myself |
161    sed '
162      N
163      s,$,-,
164      : loop
165      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
166      t loop
167      s,-$,,
168      s,^['$as_cr_digits']*\n,,
169    ' >$as_me.lineno &&
170  chmod +x $as_me.lineno ||
171    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172   { (exit 1); exit 1; }; }
173
174  # Don't try to exec as it changes $[0], causing all sort of problems
175  # (the dirname of $[0] is not the place where we might find the
176  # original and so on.  Autoconf is especially sensible to this).
177  . ./$as_me.lineno
178  # Exit status is that of the last command.
179  exit
180}
181
182
183case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184  *c*,-n*) ECHO_N= ECHO_C='
185' ECHO_T='	' ;;
186  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
188esac
189
190if expr a : '\(a\)' >/dev/null 2>&1; then
191  as_expr=expr
192else
193  as_expr=false
194fi
195
196rm -f conf$$ conf$$.exe conf$$.file
197echo >conf$$.file
198if ln -s conf$$.file conf$$ 2>/dev/null; then
199  # We could just check for DJGPP; but this test a) works b) is more generic
200  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201  if test -f conf$$.exe; then
202    # Don't use ln at all; we don't have any links
203    as_ln_s='cp -p'
204  else
205    as_ln_s='ln -s'
206  fi
207elif ln conf$$.file conf$$ 2>/dev/null; then
208  as_ln_s=ln
209else
210  as_ln_s='cp -p'
211fi
212rm -f conf$$ conf$$.exe conf$$.file
213
214as_executable_p="test -f"
215
216# Sed expression to map a string onto a valid CPP name.
217as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218
219# Sed expression to map a string onto a valid variable name.
220as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
221
222
223# IFS
224# We need space, tab and new line, in precisely that order.
225as_nl='
226'
227IFS=" 	$as_nl"
228
229# CDPATH.
230$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
231
232
233# Name of the host.
234# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235# so uname gets run too.
236ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
237
238exec 6>&1
239
240#
241# Initializations.
242#
243ac_default_prefix=/usr/local
244cross_compiling=no
245subdirs=
246MFLAGS=
247MAKEFLAGS=
248SHELL=${CONFIG_SHELL-/bin/sh}
249
250# Maximum number of lines to put in a shell here document.
251# This variable seems obsolete.  It should probably be removed, and
252# only ac_max_sed_lines should be used.
253: ${ac_max_here_lines=38}
254
255# Identity of this package.
256PACKAGE_NAME=
257PACKAGE_TARNAME=
258PACKAGE_VERSION=
259PACKAGE_STRING=
260PACKAGE_BUGREPORT=
261
262ac_unique_file="mknmz-wwwoffle.in"
263
264# Initialize some variables set by options.
265ac_init_help=
266ac_init_version=false
267# The variables have the same names as the options, with
268# dashes changed to underlines.
269cache_file=/dev/null
270exec_prefix=NONE
271no_create=
272no_recursion=
273prefix=NONE
274program_prefix=NONE
275program_suffix=NONE
276program_transform_name=s,x,x,
277silent=
278site=
279srcdir=
280verbose=
281x_includes=NONE
282x_libraries=NONE
283
284# Installation directory options.
285# These are left unexpanded so users can "make install exec_prefix=/foo"
286# and all the variables that are supposed to be based on exec_prefix
287# by default will actually change.
288# Use braces instead of parens because sh, perl, etc. also accept them.
289bindir='${exec_prefix}/bin'
290sbindir='${exec_prefix}/sbin'
291libexecdir='${exec_prefix}/libexec'
292datadir='${prefix}/share'
293sysconfdir='${prefix}/etc'
294sharedstatedir='${prefix}/com'
295localstatedir='${prefix}/var'
296libdir='${exec_prefix}/lib'
297includedir='${prefix}/include'
298oldincludedir='/usr/include'
299infodir='${prefix}/info'
300mandir='${prefix}/man'
301
302ac_prev=
303for ac_option
304do
305  # If the previous option needs an argument, assign it.
306  if test -n "$ac_prev"; then
307    eval "$ac_prev=\$ac_option"
308    ac_prev=
309    continue
310  fi
311
312  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
313
314  # Accept the important Cygnus configure options, so we can diagnose typos.
315
316  case $ac_option in
317
318  -bindir | --bindir | --bindi | --bind | --bin | --bi)
319    ac_prev=bindir ;;
320  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
321    bindir=$ac_optarg ;;
322
323  -build | --build | --buil | --bui | --bu)
324    ac_prev=build_alias ;;
325  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
326    build_alias=$ac_optarg ;;
327
328  -cache-file | --cache-file | --cache-fil | --cache-fi \
329  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
330    ac_prev=cache_file ;;
331  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
332  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
333    cache_file=$ac_optarg ;;
334
335  --config-cache | -C)
336    cache_file=config.cache ;;
337
338  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
339    ac_prev=datadir ;;
340  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
341  | --da=*)
342    datadir=$ac_optarg ;;
343
344  -disable-* | --disable-*)
345    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
346    # Reject names that are not valid shell variable names.
347    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
348      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
349   { (exit 1); exit 1; }; }
350    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
351    eval "enable_$ac_feature=no" ;;
352
353  -enable-* | --enable-*)
354    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
355    # Reject names that are not valid shell variable names.
356    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
357      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
358   { (exit 1); exit 1; }; }
359    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
360    case $ac_option in
361      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
362      *) ac_optarg=yes ;;
363    esac
364    eval "enable_$ac_feature='$ac_optarg'" ;;
365
366  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
367  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
368  | --exec | --exe | --ex)
369    ac_prev=exec_prefix ;;
370  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
371  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
372  | --exec=* | --exe=* | --ex=*)
373    exec_prefix=$ac_optarg ;;
374
375  -gas | --gas | --ga | --g)
376    # Obsolete; use --with-gas.
377    with_gas=yes ;;
378
379  -help | --help | --hel | --he | -h)
380    ac_init_help=long ;;
381  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
382    ac_init_help=recursive ;;
383  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
384    ac_init_help=short ;;
385
386  -host | --host | --hos | --ho)
387    ac_prev=host_alias ;;
388  -host=* | --host=* | --hos=* | --ho=*)
389    host_alias=$ac_optarg ;;
390
391  -includedir | --includedir | --includedi | --included | --include \
392  | --includ | --inclu | --incl | --inc)
393    ac_prev=includedir ;;
394  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
395  | --includ=* | --inclu=* | --incl=* | --inc=*)
396    includedir=$ac_optarg ;;
397
398  -infodir | --infodir | --infodi | --infod | --info | --inf)
399    ac_prev=infodir ;;
400  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
401    infodir=$ac_optarg ;;
402
403  -libdir | --libdir | --libdi | --libd)
404    ac_prev=libdir ;;
405  -libdir=* | --libdir=* | --libdi=* | --libd=*)
406    libdir=$ac_optarg ;;
407
408  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
409  | --libexe | --libex | --libe)
410    ac_prev=libexecdir ;;
411  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
412  | --libexe=* | --libex=* | --libe=*)
413    libexecdir=$ac_optarg ;;
414
415  -localstatedir | --localstatedir | --localstatedi | --localstated \
416  | --localstate | --localstat | --localsta | --localst \
417  | --locals | --local | --loca | --loc | --lo)
418    ac_prev=localstatedir ;;
419  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
420  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
421  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
422    localstatedir=$ac_optarg ;;
423
424  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
425    ac_prev=mandir ;;
426  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
427    mandir=$ac_optarg ;;
428
429  -nfp | --nfp | --nf)
430    # Obsolete; use --without-fp.
431    with_fp=no ;;
432
433  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
434  | --no-cr | --no-c | -n)
435    no_create=yes ;;
436
437  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
438  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
439    no_recursion=yes ;;
440
441  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
442  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
443  | --oldin | --oldi | --old | --ol | --o)
444    ac_prev=oldincludedir ;;
445  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
446  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
447  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
448    oldincludedir=$ac_optarg ;;
449
450  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
451    ac_prev=prefix ;;
452  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
453    prefix=$ac_optarg ;;
454
455  -program-prefix | --program-prefix | --program-prefi | --program-pref \
456  | --program-pre | --program-pr | --program-p)
457    ac_prev=program_prefix ;;
458  -program-prefix=* | --program-prefix=* | --program-prefi=* \
459  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
460    program_prefix=$ac_optarg ;;
461
462  -program-suffix | --program-suffix | --program-suffi | --program-suff \
463  | --program-suf | --program-su | --program-s)
464    ac_prev=program_suffix ;;
465  -program-suffix=* | --program-suffix=* | --program-suffi=* \
466  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
467    program_suffix=$ac_optarg ;;
468
469  -program-transform-name | --program-transform-name \
470  | --program-transform-nam | --program-transform-na \
471  | --program-transform-n | --program-transform- \
472  | --program-transform | --program-transfor \
473  | --program-transfo | --program-transf \
474  | --program-trans | --program-tran \
475  | --progr-tra | --program-tr | --program-t)
476    ac_prev=program_transform_name ;;
477  -program-transform-name=* | --program-transform-name=* \
478  | --program-transform-nam=* | --program-transform-na=* \
479  | --program-transform-n=* | --program-transform-=* \
480  | --program-transform=* | --program-transfor=* \
481  | --program-transfo=* | --program-transf=* \
482  | --program-trans=* | --program-tran=* \
483  | --progr-tra=* | --program-tr=* | --program-t=*)
484    program_transform_name=$ac_optarg ;;
485
486  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
487  | -silent | --silent | --silen | --sile | --sil)
488    silent=yes ;;
489
490  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
491    ac_prev=sbindir ;;
492  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
493  | --sbi=* | --sb=*)
494    sbindir=$ac_optarg ;;
495
496  -sharedstatedir | --sharedstatedir | --sharedstatedi \
497  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
498  | --sharedst | --shareds | --shared | --share | --shar \
499  | --sha | --sh)
500    ac_prev=sharedstatedir ;;
501  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
502  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
503  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
504  | --sha=* | --sh=*)
505    sharedstatedir=$ac_optarg ;;
506
507  -site | --site | --sit)
508    ac_prev=site ;;
509  -site=* | --site=* | --sit=*)
510    site=$ac_optarg ;;
511
512  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
513    ac_prev=srcdir ;;
514  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
515    srcdir=$ac_optarg ;;
516
517  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
518  | --syscon | --sysco | --sysc | --sys | --sy)
519    ac_prev=sysconfdir ;;
520  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
521  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
522    sysconfdir=$ac_optarg ;;
523
524  -target | --target | --targe | --targ | --tar | --ta | --t)
525    ac_prev=target_alias ;;
526  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
527    target_alias=$ac_optarg ;;
528
529  -v | -verbose | --verbose | --verbos | --verbo | --verb)
530    verbose=yes ;;
531
532  -version | --version | --versio | --versi | --vers | -V)
533    ac_init_version=: ;;
534
535  -with-* | --with-*)
536    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
537    # Reject names that are not valid shell variable names.
538    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
539      { echo "$as_me: error: invalid package name: $ac_package" >&2
540   { (exit 1); exit 1; }; }
541    ac_package=`echo $ac_package| sed 's/-/_/g'`
542    case $ac_option in
543      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
544      *) ac_optarg=yes ;;
545    esac
546    eval "with_$ac_package='$ac_optarg'" ;;
547
548  -without-* | --without-*)
549    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
550    # Reject names that are not valid shell variable names.
551    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552      { echo "$as_me: error: invalid package name: $ac_package" >&2
553   { (exit 1); exit 1; }; }
554    ac_package=`echo $ac_package | sed 's/-/_/g'`
555    eval "with_$ac_package=no" ;;
556
557  --x)
558    # Obsolete; use --with-x.
559    with_x=yes ;;
560
561  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
562  | --x-incl | --x-inc | --x-in | --x-i)
563    ac_prev=x_includes ;;
564  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
565  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
566    x_includes=$ac_optarg ;;
567
568  -x-libraries | --x-libraries | --x-librarie | --x-librari \
569  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
570    ac_prev=x_libraries ;;
571  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
572  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
573    x_libraries=$ac_optarg ;;
574
575  -*) { echo "$as_me: error: unrecognized option: $ac_option
576Try \`$0 --help' for more information." >&2
577   { (exit 1); exit 1; }; }
578    ;;
579
580  *=*)
581    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
582    # Reject names that are not valid shell variable names.
583    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
584      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
585   { (exit 1); exit 1; }; }
586    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
587    eval "$ac_envvar='$ac_optarg'"
588    export $ac_envvar ;;
589
590  *)
591    # FIXME: should be removed in autoconf 3.0.
592    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
593    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
594      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
595    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
596    ;;
597
598  esac
599done
600
601if test -n "$ac_prev"; then
602  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
603  { echo "$as_me: error: missing argument to $ac_option" >&2
604   { (exit 1); exit 1; }; }
605fi
606
607# Be sure to have absolute paths.
608for ac_var in exec_prefix prefix
609do
610  eval ac_val=$`echo $ac_var`
611  case $ac_val in
612    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
613    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
614   { (exit 1); exit 1; }; };;
615  esac
616done
617
618# Be sure to have absolute paths.
619for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
620              localstatedir libdir includedir oldincludedir infodir mandir
621do
622  eval ac_val=$`echo $ac_var`
623  case $ac_val in
624    [\\/$]* | ?:[\\/]* ) ;;
625    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
626   { (exit 1); exit 1; }; };;
627  esac
628done
629
630# There might be people who depend on the old broken behavior: `$host'
631# used to hold the argument of --host etc.
632# FIXME: To remove some day.
633build=$build_alias
634host=$host_alias
635target=$target_alias
636
637# FIXME: To remove some day.
638if test "x$host_alias" != x; then
639  if test "x$build_alias" = x; then
640    cross_compiling=maybe
641    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
642    If a cross compiler is detected then cross compile mode will be used." >&2
643  elif test "x$build_alias" != "x$host_alias"; then
644    cross_compiling=yes
645  fi
646fi
647
648ac_tool_prefix=
649test -n "$host_alias" && ac_tool_prefix=$host_alias-
650
651test "$silent" = yes && exec 6>/dev/null
652
653
654# Find the source files, if location was not specified.
655if test -z "$srcdir"; then
656  ac_srcdir_defaulted=yes
657  # Try the directory containing this script, then its parent.
658  ac_confdir=`(dirname "$0") 2>/dev/null ||
659$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
660         X"$0" : 'X\(//\)[^/]' \| \
661         X"$0" : 'X\(//\)$' \| \
662         X"$0" : 'X\(/\)' \| \
663         .     : '\(.\)' 2>/dev/null ||
664echo X"$0" |
665    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
666  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
667  	  /^X\(\/\/\)$/{ s//\1/; q; }
668  	  /^X\(\/\).*/{ s//\1/; q; }
669  	  s/.*/./; q'`
670  srcdir=$ac_confdir
671  if test ! -r $srcdir/$ac_unique_file; then
672    srcdir=..
673  fi
674else
675  ac_srcdir_defaulted=no
676fi
677if test ! -r $srcdir/$ac_unique_file; then
678  if test "$ac_srcdir_defaulted" = yes; then
679    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
680   { (exit 1); exit 1; }; }
681  else
682    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
683   { (exit 1); exit 1; }; }
684  fi
685fi
686srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
687ac_env_build_alias_set=${build_alias+set}
688ac_env_build_alias_value=$build_alias
689ac_cv_env_build_alias_set=${build_alias+set}
690ac_cv_env_build_alias_value=$build_alias
691ac_env_host_alias_set=${host_alias+set}
692ac_env_host_alias_value=$host_alias
693ac_cv_env_host_alias_set=${host_alias+set}
694ac_cv_env_host_alias_value=$host_alias
695ac_env_target_alias_set=${target_alias+set}
696ac_env_target_alias_value=$target_alias
697ac_cv_env_target_alias_set=${target_alias+set}
698ac_cv_env_target_alias_value=$target_alias
699
700#
701# Report the --help message.
702#
703if test "$ac_init_help" = "long"; then
704  # Omit some internal or obsolete options to make the list less imposing.
705  # This message is too long to be a string in the A/UX 3.1 sh.
706  cat <<_ACEOF
707\`configure' configures this package to adapt to many kinds of systems.
708
709Usage: $0 [OPTION]... [VAR=VALUE]...
710
711To assign environment variables (e.g., CC, CFLAGS...), specify them as
712VAR=VALUE.  See below for descriptions of some of the useful variables.
713
714Defaults for the options are specified in brackets.
715
716Configuration:
717  -h, --help              display this help and exit
718      --help=short        display options specific to this package
719      --help=recursive    display the short help of all the included packages
720  -V, --version           display version information and exit
721  -q, --quiet, --silent   do not print \`checking...' messages
722      --cache-file=FILE   cache test results in FILE [disabled]
723  -C, --config-cache      alias for \`--cache-file=config.cache'
724  -n, --no-create         do not create output files
725      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
726
727_ACEOF
728
729  cat <<_ACEOF
730Installation directories:
731  --prefix=PREFIX         install architecture-independent files in PREFIX
732                          [$ac_default_prefix]
733  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
734                          [PREFIX]
735
736By default, \`make install' will install all the files in
737\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
738an installation prefix other than \`$ac_default_prefix' using \`--prefix',
739for instance \`--prefix=\$HOME'.
740
741For better control, use the options below.
742
743Fine tuning of the installation directories:
744  --bindir=DIR           user executables [EPREFIX/bin]
745  --sbindir=DIR          system admin executables [EPREFIX/sbin]
746  --libexecdir=DIR       program executables [EPREFIX/libexec]
747  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
748  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
749  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
750  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
751  --libdir=DIR           object code libraries [EPREFIX/lib]
752  --includedir=DIR       C header files [PREFIX/include]
753  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
754  --infodir=DIR          info documentation [PREFIX/info]
755  --mandir=DIR           man documentation [PREFIX/man]
756_ACEOF
757
758  cat <<\_ACEOF
759
760Program names:
761  --program-prefix=PREFIX            prepend PREFIX to installed program names
762  --program-suffix=SUFFIX            append SUFFIX to installed program names
763  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
764_ACEOF
765fi
766
767if test -n "$ac_init_help"; then
768
769  cat <<\_ACEOF
770
771Optional Features:
772  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
773  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
774  --disable-dependency-tracking Speeds up one-time builds
775  --enable-dependency-tracking  Do not reject slow dependency extractors
776
777_ACEOF
778fi
779
780if test "$ac_init_help" = "recursive"; then
781  # If there are subdirs, report their specific --help.
782  ac_popdir=`pwd`
783  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
784    test -d $ac_dir || continue
785    ac_builddir=.
786
787if test "$ac_dir" != .; then
788  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
789  # A "../" for each directory in $ac_dir_suffix.
790  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
791else
792  ac_dir_suffix= ac_top_builddir=
793fi
794
795case $srcdir in
796  .)  # No --srcdir option.  We are building in place.
797    ac_srcdir=.
798    if test -z "$ac_top_builddir"; then
799       ac_top_srcdir=.
800    else
801       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
802    fi ;;
803  [\\/]* | ?:[\\/]* )  # Absolute path.
804    ac_srcdir=$srcdir$ac_dir_suffix;
805    ac_top_srcdir=$srcdir ;;
806  *) # Relative path.
807    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
808    ac_top_srcdir=$ac_top_builddir$srcdir ;;
809esac
810# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
811# absolute.
812ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
813ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
814ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
815ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
816
817    cd $ac_dir
818    # Check for guested configure; otherwise get Cygnus style configure.
819    if test -f $ac_srcdir/configure.gnu; then
820      echo
821      $SHELL $ac_srcdir/configure.gnu  --help=recursive
822    elif test -f $ac_srcdir/configure; then
823      echo
824      $SHELL $ac_srcdir/configure  --help=recursive
825    elif test -f $ac_srcdir/configure.ac ||
826           test -f $ac_srcdir/configure.in; then
827      echo
828      $ac_configure --help
829    else
830      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
831    fi
832    cd $ac_popdir
833  done
834fi
835
836test -n "$ac_init_help" && exit 0
837if $ac_init_version; then
838  cat <<\_ACEOF
839
840Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
841Free Software Foundation, Inc.
842This configure script is free software; the Free Software Foundation
843gives unlimited permission to copy, distribute and modify it.
844_ACEOF
845  exit 0
846fi
847exec 5>config.log
848cat >&5 <<_ACEOF
849This file contains any messages produced by compilers while
850running configure, to aid debugging if configure makes a mistake.
851
852It was created by $as_me, which was
853generated by GNU Autoconf 2.53.  Invocation command line was
854
855  $ $0 $@
856
857_ACEOF
858{
859cat <<_ASUNAME
860## --------- ##
861## Platform. ##
862## --------- ##
863
864hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
865uname -m = `(uname -m) 2>/dev/null || echo unknown`
866uname -r = `(uname -r) 2>/dev/null || echo unknown`
867uname -s = `(uname -s) 2>/dev/null || echo unknown`
868uname -v = `(uname -v) 2>/dev/null || echo unknown`
869
870/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
871/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
872
873/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
874/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
875/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
876hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
877/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
878/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
879/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
880
881_ASUNAME
882
883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
884for as_dir in $PATH
885do
886  IFS=$as_save_IFS
887  test -z "$as_dir" && as_dir=.
888  echo "PATH: $as_dir"
889done
890
891} >&5
892
893cat >&5 <<_ACEOF
894
895
896## ----------- ##
897## Core tests. ##
898## ----------- ##
899
900_ACEOF
901
902
903# Keep a trace of the command line.
904# Strip out --no-create and --no-recursion so they do not pile up.
905# Also quote any args containing shell meta-characters.
906ac_configure_args=
907ac_sep=
908for ac_arg
909do
910  case $ac_arg in
911  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912  | --no-cr | --no-c | -n ) continue ;;
913  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
914  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
915    continue ;;
916  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
917    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
918  esac
919  case " $ac_configure_args " in
920    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
921    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
922       ac_sep=" " ;;
923  esac
924  # Get rid of the leading space.
925done
926
927# When interrupted or exit'd, cleanup temporary files, and complete
928# config.log.  We remove comments because anyway the quotes in there
929# would cause problems or look ugly.
930# WARNING: Be sure not to use single quotes in there, as some shells,
931# such as our DU 5.0 friend, will then `close' the trap.
932trap 'exit_status=$?
933  # Save into config.log some information that might help in debugging.
934  {
935    echo
936    cat <<\_ASBOX
937## ---------------- ##
938## Cache variables. ##
939## ---------------- ##
940_ASBOX
941    echo
942    # The following way of writing the cache mishandles newlines in values,
943{
944  (set) 2>&1 |
945    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
946    *ac_space=\ *)
947      sed -n \
948        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
949    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
950      ;;
951    *)
952      sed -n \
953        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
954      ;;
955    esac;
956}
957    echo
958    if test -s confdefs.h; then
959      cat <<\_ASBOX
960## ----------- ##
961## confdefs.h. ##
962## ----------- ##
963_ASBOX
964      echo
965      sed "/^$/d" confdefs.h
966      echo
967    fi
968    test "$ac_signal" != 0 &&
969      echo "$as_me: caught signal $ac_signal"
970    echo "$as_me: exit $exit_status"
971  } >&5
972  rm -f core core.* *.core &&
973  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
974    exit $exit_status
975     ' 0
976for ac_signal in 1 2 13 15; do
977  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
978done
979ac_signal=0
980
981# confdefs.h avoids OS command line length limits that DEFS can exceed.
982rm -rf conftest* confdefs.h
983# AIX cpp loses on an empty file, so make sure it contains at least a newline.
984echo >confdefs.h
985
986# Predefined preprocessor variables.
987
988cat >>confdefs.h <<_ACEOF
989#define PACKAGE_NAME "$PACKAGE_NAME"
990_ACEOF
991
992
993cat >>confdefs.h <<_ACEOF
994#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
995_ACEOF
996
997
998cat >>confdefs.h <<_ACEOF
999#define PACKAGE_VERSION "$PACKAGE_VERSION"
1000_ACEOF
1001
1002
1003cat >>confdefs.h <<_ACEOF
1004#define PACKAGE_STRING "$PACKAGE_STRING"
1005_ACEOF
1006
1007
1008cat >>confdefs.h <<_ACEOF
1009#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1010_ACEOF
1011
1012
1013# Let the site file select an alternate cache file if it wants to.
1014# Prefer explicitly selected file to automatically selected ones.
1015if test -z "$CONFIG_SITE"; then
1016  if test "x$prefix" != xNONE; then
1017    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1018  else
1019    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1020  fi
1021fi
1022for ac_site_file in $CONFIG_SITE; do
1023  if test -r "$ac_site_file"; then
1024    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1025echo "$as_me: loading site script $ac_site_file" >&6;}
1026    sed 's/^/| /' "$ac_site_file" >&5
1027    . "$ac_site_file"
1028  fi
1029done
1030
1031if test -r "$cache_file"; then
1032  # Some versions of bash will fail to source /dev/null (special
1033  # files actually), so we avoid doing that.
1034  if test -f "$cache_file"; then
1035    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1036echo "$as_me: loading cache $cache_file" >&6;}
1037    case $cache_file in
1038      [\\/]* | ?:[\\/]* ) . $cache_file;;
1039      *)                      . ./$cache_file;;
1040    esac
1041  fi
1042else
1043  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1044echo "$as_me: creating cache $cache_file" >&6;}
1045  >$cache_file
1046fi
1047
1048# Check that the precious variables saved in the cache have kept the same
1049# value.
1050ac_cache_corrupted=false
1051for ac_var in `(set) 2>&1 |
1052               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1053  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1054  eval ac_new_set=\$ac_env_${ac_var}_set
1055  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1056  eval ac_new_val="\$ac_env_${ac_var}_value"
1057  case $ac_old_set,$ac_new_set in
1058    set,)
1059      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1060echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1061      ac_cache_corrupted=: ;;
1062    ,set)
1063      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1064echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1065      ac_cache_corrupted=: ;;
1066    ,);;
1067    *)
1068      if test "x$ac_old_val" != "x$ac_new_val"; then
1069        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1070echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1071        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1072echo "$as_me:   former value:  $ac_old_val" >&2;}
1073        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1074echo "$as_me:   current value: $ac_new_val" >&2;}
1075        ac_cache_corrupted=:
1076      fi;;
1077  esac
1078  # Pass precious variables to config.status.
1079  if test "$ac_new_set" = set; then
1080    case $ac_new_val in
1081    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1082      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1083    *) ac_arg=$ac_var=$ac_new_val ;;
1084    esac
1085    case " $ac_configure_args " in
1086      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1087      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1088    esac
1089  fi
1090done
1091if $ac_cache_corrupted; then
1092  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1093echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1094  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1095echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1096   { (exit 1); exit 1; }; }
1097fi
1098
1099ac_ext=c
1100ac_cpp='$CPP $CPPFLAGS'
1101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1103ac_compiler_gnu=$ac_cv_c_compiler_gnu
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124ac_aux_dir=
1125for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1126  if test -f $ac_dir/install-sh; then
1127    ac_aux_dir=$ac_dir
1128    ac_install_sh="$ac_aux_dir/install-sh -c"
1129    break
1130  elif test -f $ac_dir/install.sh; then
1131    ac_aux_dir=$ac_dir
1132    ac_install_sh="$ac_aux_dir/install.sh -c"
1133    break
1134  elif test -f $ac_dir/shtool; then
1135    ac_aux_dir=$ac_dir
1136    ac_install_sh="$ac_aux_dir/shtool install -c"
1137    break
1138  fi
1139done
1140if test -z "$ac_aux_dir"; then
1141  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1142echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1143   { (exit 1); exit 1; }; }
1144fi
1145ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1146ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1147ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1148
1149# Find a good install program.  We prefer a C program (faster),
1150# so one script is as good as another.  But avoid the broken or
1151# incompatible versions:
1152# SysV /etc/install, /usr/sbin/install
1153# SunOS /usr/etc/install
1154# IRIX /sbin/install
1155# AIX /bin/install
1156# AmigaOS /C/install, which installs bootblocks on floppy discs
1157# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1158# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1159# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1160# ./install, which can be erroneously created by make from ./install.sh.
1161echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1162echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1163if test -z "$INSTALL"; then
1164if test "${ac_cv_path_install+set}" = set; then
1165  echo $ECHO_N "(cached) $ECHO_C" >&6
1166else
1167  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1168for as_dir in $PATH
1169do
1170  IFS=$as_save_IFS
1171  test -z "$as_dir" && as_dir=.
1172  # Account for people who put trailing slashes in PATH elements.
1173case $as_dir/ in
1174  ./ | .// | /cC/* | \
1175  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1176  /usr/ucb/* ) ;;
1177  *)
1178    # OSF1 and SCO ODT 3.0 have their own names for install.
1179    # Don't use installbsd from OSF since it installs stuff as root
1180    # by default.
1181    for ac_prog in ginstall scoinst install; do
1182      for ac_exec_ext in '' $ac_executable_extensions; do
1183        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1184          if test $ac_prog = install &&
1185            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1186            # AIX install.  It has an incompatible calling convention.
1187            :
1188          elif test $ac_prog = install &&
1189            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1190            # program-specific install script used by HP pwplus--don't use.
1191            :
1192          else
1193            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1194            break 3
1195          fi
1196        fi
1197      done
1198    done
1199    ;;
1200esac
1201done
1202
1203
1204fi
1205  if test "${ac_cv_path_install+set}" = set; then
1206    INSTALL=$ac_cv_path_install
1207  else
1208    # As a last resort, use the slow shell script.  We don't cache a
1209    # path for INSTALL within a source directory, because that will
1210    # break other packages using the cache if that directory is
1211    # removed, or if the path is relative.
1212    INSTALL=$ac_install_sh
1213  fi
1214fi
1215echo "$as_me:$LINENO: result: $INSTALL" >&5
1216echo "${ECHO_T}$INSTALL" >&6
1217
1218# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1219# It thinks the first close brace ends the variable substitution.
1220test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1221
1222test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1223
1224test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1225
1226echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1227echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1228# Just in case
1229sleep 1
1230echo timestamp > conftest.file
1231# Do `set' in a subshell so we don't clobber the current shell's
1232# arguments.  Must try -L first in case configure is actually a
1233# symlink; some systems play weird games with the mod time of symlinks
1234# (eg FreeBSD returns the mod time of the symlink's containing
1235# directory).
1236if (
1237   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1238   if test "$*" = "X"; then
1239      # -L didn't work.
1240      set X `ls -t $srcdir/configure conftest.file`
1241   fi
1242   rm -f conftest.file
1243   if test "$*" != "X $srcdir/configure conftest.file" \
1244      && test "$*" != "X conftest.file $srcdir/configure"; then
1245
1246      # If neither matched, then we have a broken ls.  This can happen
1247      # if, for instance, CONFIG_SHELL is bash and it inherits a
1248      # broken ls alias from the environment.  This has actually
1249      # happened.  Such a system could not be considered "sane".
1250      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1251alias in your environment" >&5
1252echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1253alias in your environment" >&2;}
1254   { (exit 1); exit 1; }; }
1255   fi
1256
1257   test "$2" = conftest.file
1258   )
1259then
1260   # Ok.
1261   :
1262else
1263   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1264Check your system clock" >&5
1265echo "$as_me: error: newly created file is older than distributed files!
1266Check your system clock" >&2;}
1267   { (exit 1); exit 1; }; }
1268fi
1269echo "$as_me:$LINENO: result: yes" >&5
1270echo "${ECHO_T}yes" >&6
1271test "$program_prefix" != NONE &&
1272  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1273# Use a double $ so make ignores it.
1274test "$program_suffix" != NONE &&
1275  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1276# Double any \ or $.  echo might interpret backslashes.
1277# By default was `s,x,x', remove it if useless.
1278cat <<\_ACEOF >conftest.sed
1279s/[\\$]/&&/g;s/;s,x,x,$//
1280_ACEOF
1281program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1282rm conftest.sed
1283
1284
1285# expand $ac_aux_dir to an absolute path
1286am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1287
1288test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1289# Use eval to expand $SHELL
1290if eval "$MISSING --run true"; then
1291  am_missing_run="$MISSING --run "
1292else
1293  am_missing_run=
1294  am_backtick='`'
1295  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1296echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1297fi
1298
1299for ac_prog in gawk mawk nawk awk
1300do
1301  # Extract the first word of "$ac_prog", so it can be a program name with args.
1302set dummy $ac_prog; ac_word=$2
1303echo "$as_me:$LINENO: checking for $ac_word" >&5
1304echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1305if test "${ac_cv_prog_AWK+set}" = set; then
1306  echo $ECHO_N "(cached) $ECHO_C" >&6
1307else
1308  if test -n "$AWK"; then
1309  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1310else
1311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1312for as_dir in $PATH
1313do
1314  IFS=$as_save_IFS
1315  test -z "$as_dir" && as_dir=.
1316  for ac_exec_ext in '' $ac_executable_extensions; do
1317  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1318    ac_cv_prog_AWK="$ac_prog"
1319    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1320    break 2
1321  fi
1322done
1323done
1324
1325fi
1326fi
1327AWK=$ac_cv_prog_AWK
1328if test -n "$AWK"; then
1329  echo "$as_me:$LINENO: result: $AWK" >&5
1330echo "${ECHO_T}$AWK" >&6
1331else
1332  echo "$as_me:$LINENO: result: no" >&5
1333echo "${ECHO_T}no" >&6
1334fi
1335
1336  test -n "$AWK" && break
1337done
1338
1339echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1340echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1341set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1342if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1343  echo $ECHO_N "(cached) $ECHO_C" >&6
1344else
1345  cat >conftest.make <<\_ACEOF
1346all:
1347	@echo 'ac_maketemp="${MAKE}"'
1348_ACEOF
1349# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1350eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1351if test -n "$ac_maketemp"; then
1352  eval ac_cv_prog_make_${ac_make}_set=yes
1353else
1354  eval ac_cv_prog_make_${ac_make}_set=no
1355fi
1356rm -f conftest.make
1357fi
1358if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1359  echo "$as_me:$LINENO: result: yes" >&5
1360echo "${ECHO_T}yes" >&6
1361  SET_MAKE=
1362else
1363  echo "$as_me:$LINENO: result: no" >&5
1364echo "${ECHO_T}no" >&6
1365  SET_MAKE="MAKE=${MAKE-make}"
1366fi
1367
1368# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1369if test "${enable_dependency_tracking+set}" = set; then
1370  enableval="$enable_dependency_tracking"
1371
1372fi;
1373if test "x$enable_dependency_tracking" != xno; then
1374  am_depcomp="$ac_aux_dir/depcomp"
1375  AMDEPBACKSLASH='\'
1376fi
1377
1378
1379if test "x$enable_dependency_tracking" != xno; then
1380  AMDEP_TRUE=
1381  AMDEP_FALSE='#'
1382else
1383  AMDEP_TRUE='#'
1384  AMDEP_FALSE=
1385fi
1386
1387
1388
1389
1390rm -f .deps 2>/dev/null
1391mkdir .deps 2>/dev/null
1392if test -d .deps; then
1393  DEPDIR=.deps
1394else
1395  # MS-DOS does not allow filenames that begin with a dot.
1396  DEPDIR=_deps
1397fi
1398rmdir .deps 2>/dev/null
1399
1400
1401# test to see if srcdir already configured
1402if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1403   test -f $srcdir/config.status; then
1404  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1405echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1406   { (exit 1); exit 1; }; }
1407fi
1408
1409# Define the identity of the package.
1410PACKAGE=mknmz-wwwoffle
1411VERSION=0.7.2
1412
1413cat >>confdefs.h <<_ACEOF
1414#define PACKAGE "$PACKAGE"
1415_ACEOF
1416
1417
1418cat >>confdefs.h <<_ACEOF
1419#define VERSION "$VERSION"
1420_ACEOF
1421
1422
1423# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1424# the ones we care about.
1425
1426# Autoconf 2.50 always computes EXEEXT.  However we need to be
1427# compatible with 2.13, for now.  So we always define EXEEXT, but we
1428# don't compute it.
1429
1430# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1431# requests that it be used.  This is a bit dumb.
1432: ${OBJEXT=o}
1433
1434
1435# Some tools Automake needs.
1436
1437ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1438
1439
1440AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1441
1442
1443AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1444
1445
1446AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1447
1448
1449MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1450
1451
1452AMTAR=${AMTAR-"${am_missing_run}tar"}
1453
1454install_sh=${install_sh-"$am_aux_dir/install-sh"}
1455
1456INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1457
1458# We need awk for the "check" target.  The system "awk" is bad on
1459# some platforms.
1460
1461
1462
1463echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1464echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1465set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1466if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1467  echo $ECHO_N "(cached) $ECHO_C" >&6
1468else
1469  cat >conftest.make <<\_ACEOF
1470all:
1471	@echo 'ac_maketemp="${MAKE}"'
1472_ACEOF
1473# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1474eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1475if test -n "$ac_maketemp"; then
1476  eval ac_cv_prog_make_${ac_make}_set=yes
1477else
1478  eval ac_cv_prog_make_${ac_make}_set=no
1479fi
1480rm -f conftest.make
1481fi
1482if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1483  echo "$as_me:$LINENO: result: yes" >&5
1484echo "${ECHO_T}yes" >&6
1485  SET_MAKE=
1486else
1487  echo "$as_me:$LINENO: result: no" >&5
1488echo "${ECHO_T}no" >&6
1489  SET_MAKE="MAKE=${MAKE-make}"
1490fi
1491
1492# Find a good install program.  We prefer a C program (faster),
1493# so one script is as good as another.  But avoid the broken or
1494# incompatible versions:
1495# SysV /etc/install, /usr/sbin/install
1496# SunOS /usr/etc/install
1497# IRIX /sbin/install
1498# AIX /bin/install
1499# AmigaOS /C/install, which installs bootblocks on floppy discs
1500# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1501# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1502# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1503# ./install, which can be erroneously created by make from ./install.sh.
1504echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506if test -z "$INSTALL"; then
1507if test "${ac_cv_path_install+set}" = set; then
1508  echo $ECHO_N "(cached) $ECHO_C" >&6
1509else
1510  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511for as_dir in $PATH
1512do
1513  IFS=$as_save_IFS
1514  test -z "$as_dir" && as_dir=.
1515  # Account for people who put trailing slashes in PATH elements.
1516case $as_dir/ in
1517  ./ | .// | /cC/* | \
1518  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1519  /usr/ucb/* ) ;;
1520  *)
1521    # OSF1 and SCO ODT 3.0 have their own names for install.
1522    # Don't use installbsd from OSF since it installs stuff as root
1523    # by default.
1524    for ac_prog in ginstall scoinst install; do
1525      for ac_exec_ext in '' $ac_executable_extensions; do
1526        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1527          if test $ac_prog = install &&
1528            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1529            # AIX install.  It has an incompatible calling convention.
1530            :
1531          elif test $ac_prog = install &&
1532            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1533            # program-specific install script used by HP pwplus--don't use.
1534            :
1535          else
1536            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1537            break 3
1538          fi
1539        fi
1540      done
1541    done
1542    ;;
1543esac
1544done
1545
1546
1547fi
1548  if test "${ac_cv_path_install+set}" = set; then
1549    INSTALL=$ac_cv_path_install
1550  else
1551    # As a last resort, use the slow shell script.  We don't cache a
1552    # path for INSTALL within a source directory, because that will
1553    # break other packages using the cache if that directory is
1554    # removed, or if the path is relative.
1555    INSTALL=$ac_install_sh
1556  fi
1557fi
1558echo "$as_me:$LINENO: result: $INSTALL" >&5
1559echo "${ECHO_T}$INSTALL" >&6
1560
1561# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1562# It thinks the first close brace ends the variable substitution.
1563test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1564
1565test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1566
1567test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1568
1569# Extract the first word of "perl", so it can be a program name with args.
1570set dummy perl; ac_word=$2
1571echo "$as_me:$LINENO: checking for $ac_word" >&5
1572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1573if test "${ac_cv_path_PERL+set}" = set; then
1574  echo $ECHO_N "(cached) $ECHO_C" >&6
1575else
1576  case $PERL in
1577  [\\/]* | ?:[\\/]*)
1578  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1579  ;;
1580  *)
1581  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582for as_dir in $PATH
1583do
1584  IFS=$as_save_IFS
1585  test -z "$as_dir" && as_dir=.
1586  for ac_exec_ext in '' $ac_executable_extensions; do
1587  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1588    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1589    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1590    break 2
1591  fi
1592done
1593done
1594
1595  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
1596  ;;
1597esac
1598fi
1599PERL=$ac_cv_path_PERL
1600
1601if test -n "$PERL"; then
1602  echo "$as_me:$LINENO: result: $PERL" >&5
1603echo "${ECHO_T}$PERL" >&6
1604else
1605  echo "$as_me:$LINENO: result: no" >&5
1606echo "${ECHO_T}no" >&6
1607fi
1608
1609# Extract the first word of "mknmz", so it can be a program name with args.
1610set dummy mknmz; ac_word=$2
1611echo "$as_me:$LINENO: checking for $ac_word" >&5
1612echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613if test "${ac_cv_path_MKNMZ+set}" = set; then
1614  echo $ECHO_N "(cached) $ECHO_C" >&6
1615else
1616  case $MKNMZ in
1617  [\\/]* | ?:[\\/]*)
1618  ac_cv_path_MKNMZ="$MKNMZ" # Let the user override the test with a path.
1619  ;;
1620  *)
1621  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622for as_dir in $PATH
1623do
1624  IFS=$as_save_IFS
1625  test -z "$as_dir" && as_dir=.
1626  for ac_exec_ext in '' $ac_executable_extensions; do
1627  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628    ac_cv_path_MKNMZ="$as_dir/$ac_word$ac_exec_ext"
1629    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630    break 2
1631  fi
1632done
1633done
1634
1635  test -z "$ac_cv_path_MKNMZ" && ac_cv_path_MKNMZ="mknmz"
1636  ;;
1637esac
1638fi
1639MKNMZ=$ac_cv_path_MKNMZ
1640
1641if test -n "$MKNMZ"; then
1642  echo "$as_me:$LINENO: result: $MKNMZ" >&5
1643echo "${ECHO_T}$MKNMZ" >&6
1644else
1645  echo "$as_me:$LINENO: result: no" >&5
1646echo "${ECHO_T}no" >&6
1647fi
1648
1649
1650
1651echo "$as_me:$LINENO: checking for DB_File perl module" >&5
1652echo $ECHO_N "checking for DB_File perl module... $ECHO_C" >&6
1653if $PERL -e "use DB_File;" >/dev/null 2>&1; then
1654  ENABLE_DB=1
1655  echo "$as_me:$LINENO: result: yes" >&5
1656echo "${ECHO_T}yes" >&6
1657else
1658  ENABLE_DB=0
1659  echo "$as_me:$LINENO: result: no" >&5
1660echo "${ECHO_T}no" >&6
1661fi
1662
1663
1664
1665
1666
1667
1668ac_config_files="$ac_config_files Makefile wwwofflecache.pl mknmz-wwwoffle.1 test/Makefile debian/Makefile"
1669cat >confcache <<\_ACEOF
1670# This file is a shell script that caches the results of configure
1671# tests run on this system so they can be shared between configure
1672# scripts and configure runs, see configure's option --config-cache.
1673# It is not useful on other systems.  If it contains results you don't
1674# want to keep, you may remove or edit it.
1675#
1676# config.status only pays attention to the cache file if you give it
1677# the --recheck option to rerun configure.
1678#
1679# `ac_cv_env_foo' variables (set or unset) will be overriden when
1680# loading this file, other *unset* `ac_cv_foo' will be assigned the
1681# following values.
1682
1683_ACEOF
1684
1685# The following way of writing the cache mishandles newlines in values,
1686# but we know of no workaround that is simple, portable, and efficient.
1687# So, don't put newlines in cache variables' values.
1688# Ultrix sh set writes to stderr and can't be redirected directly,
1689# and sets the high bit in the cache file unless we assign to the vars.
1690{
1691  (set) 2>&1 |
1692    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1693    *ac_space=\ *)
1694      # `set' does not quote correctly, so add quotes (double-quote
1695      # substitution turns \\\\ into \\, and sed turns \\ into \).
1696      sed -n \
1697        "s/'/'\\\\''/g;
1698    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1699      ;;
1700    *)
1701      # `set' quotes correctly as required by POSIX, so do not add quotes.
1702      sed -n \
1703        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1704      ;;
1705    esac;
1706} |
1707  sed '
1708     t clear
1709     : clear
1710     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1711     t end
1712     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1713     : end' >>confcache
1714if cmp -s $cache_file confcache; then :; else
1715  if test -w $cache_file; then
1716    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1717    cat confcache >$cache_file
1718  else
1719    echo "not updating unwritable cache $cache_file"
1720  fi
1721fi
1722rm -f confcache
1723
1724test "x$prefix" = xNONE && prefix=$ac_default_prefix
1725# Let make expand exec_prefix.
1726test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1727
1728# VPATH may cause trouble with some makes, so we remove $(srcdir),
1729# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1730# trailing colons and then remove the whole line if VPATH becomes empty
1731# (actually we leave an empty line to preserve line numbers).
1732if test "x$srcdir" = x.; then
1733  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
1734s/:*\$(srcdir):*/:/;
1735s/:*\${srcdir}:*/:/;
1736s/:*@srcdir@:*/:/;
1737s/^\([^=]*=[ 	]*\):*/\1/;
1738s/:*$//;
1739s/^[^=]*=[ 	]*$//;
1740}'
1741fi
1742
1743# Transform confdefs.h into DEFS.
1744# Protect against shell expansion while executing Makefile rules.
1745# Protect against Makefile macro expansion.
1746#
1747# If the first sed substitution is executed (which looks for macros that
1748# take arguments), then we branch to the quote section.  Otherwise,
1749# look for a macro that doesn't take arguments.
1750cat >confdef2opt.sed <<\_ACEOF
1751t clear
1752: clear
1753s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
1754t quote
1755s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
1756t quote
1757d
1758: quote
1759s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
1760s,\[,\\&,g
1761s,\],\\&,g
1762s,\$,$$,g
1763p
1764_ACEOF
1765# We use echo to avoid assuming a particular line-breaking character.
1766# The extra dot is to prevent the shell from consuming trailing
1767# line-breaks from the sub-command output.  A line-break within
1768# single-quotes doesn't work because, if this script is created in a
1769# platform that uses two characters for line-breaks (e.g., DOS), tr
1770# would break.
1771ac_LF_and_DOT=`echo; echo .`
1772DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1773rm -f confdef2opt.sed
1774
1775
1776
1777: ${CONFIG_STATUS=./config.status}
1778ac_clean_files_save=$ac_clean_files
1779ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1780{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1781echo "$as_me: creating $CONFIG_STATUS" >&6;}
1782cat >$CONFIG_STATUS <<_ACEOF
1783#! $SHELL
1784# Generated by $as_me.
1785# Run this file to recreate the current configuration.
1786# Compiler output produced by configure, useful for debugging
1787# configure, is in config.log if it exists.
1788
1789debug=false
1790SHELL=\${CONFIG_SHELL-$SHELL}
1791_ACEOF
1792
1793cat >>$CONFIG_STATUS <<\_ACEOF
1794
1795## --------------------- ##
1796## M4sh Initialization.  ##
1797## --------------------- ##
1798
1799# Be Bourne compatible
1800if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1801  emulate sh
1802  NULLCMD=:
1803elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1804  set -o posix
1805fi
1806
1807# NLS nuisances.
1808# Support unset when possible.
1809if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1810  as_unset=unset
1811else
1812  as_unset=false
1813fi
1814
1815(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1816    { $as_unset LANG || test "${LANG+set}" != set; } ||
1817      { LANG=C; export LANG; }
1818(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1819    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1820      { LC_ALL=C; export LC_ALL; }
1821(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1822    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1823      { LC_TIME=C; export LC_TIME; }
1824(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1825    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1826      { LC_CTYPE=C; export LC_CTYPE; }
1827(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1828    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1829      { LANGUAGE=C; export LANGUAGE; }
1830(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1831    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1832      { LC_COLLATE=C; export LC_COLLATE; }
1833(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1834    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1835      { LC_NUMERIC=C; export LC_NUMERIC; }
1836(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1837    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1838      { LC_MESSAGES=C; export LC_MESSAGES; }
1839
1840
1841# Name of the executable.
1842as_me=`(basename "$0") 2>/dev/null ||
1843$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1844	 X"$0" : 'X\(//\)$' \| \
1845	 X"$0" : 'X\(/\)$' \| \
1846	 .     : '\(.\)' 2>/dev/null ||
1847echo X/"$0" |
1848    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1849  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
1850  	  /^X\/\(\/\).*/{ s//\1/; q; }
1851  	  s/.*/./; q'`
1852
1853# PATH needs CR, and LINENO needs CR and PATH.
1854# Avoid depending upon Character Ranges.
1855as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1856as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1857as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1858as_cr_digits='0123456789'
1859as_cr_alnum=$as_cr_Letters$as_cr_digits
1860
1861# The user is always right.
1862if test "${PATH_SEPARATOR+set}" != set; then
1863  echo "#! /bin/sh" >conftest.sh
1864  echo  "exit 0"   >>conftest.sh
1865  chmod +x conftest.sh
1866  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1867    PATH_SEPARATOR=';'
1868  else
1869    PATH_SEPARATOR=:
1870  fi
1871  rm -f conftest.sh
1872fi
1873
1874
1875  as_lineno_1=$LINENO
1876  as_lineno_2=$LINENO
1877  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1878  test "x$as_lineno_1" != "x$as_lineno_2" &&
1879  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1880  # Find who we are.  Look in the path if we contain no path at all
1881  # relative or not.
1882  case $0 in
1883    *[\\/]* ) as_myself=$0 ;;
1884    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885for as_dir in $PATH
1886do
1887  IFS=$as_save_IFS
1888  test -z "$as_dir" && as_dir=.
1889  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1890done
1891
1892       ;;
1893  esac
1894  # We did not find ourselves, most probably we were run as `sh COMMAND'
1895  # in which case we are not to be found in the path.
1896  if test "x$as_myself" = x; then
1897    as_myself=$0
1898  fi
1899  if test ! -f "$as_myself"; then
1900    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1901echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1902   { (exit 1); exit 1; }; }
1903  fi
1904  case $CONFIG_SHELL in
1905  '')
1906    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1908do
1909  IFS=$as_save_IFS
1910  test -z "$as_dir" && as_dir=.
1911  for as_base in sh bash ksh sh5; do
1912	 case $as_dir in
1913	 /*)
1914	   if ("$as_dir/$as_base" -c '
1915  as_lineno_1=$LINENO
1916  as_lineno_2=$LINENO
1917  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1918  test "x$as_lineno_1" != "x$as_lineno_2" &&
1919  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1920	     CONFIG_SHELL=$as_dir/$as_base
1921	     export CONFIG_SHELL
1922	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1923	   fi;;
1924	 esac
1925       done
1926done
1927;;
1928  esac
1929
1930  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1931  # uniformly replaced by the line number.  The first 'sed' inserts a
1932  # line-number line before each line; the second 'sed' does the real
1933  # work.  The second script uses 'N' to pair each line-number line
1934  # with the numbered line, and appends trailing '-' during
1935  # substitution so that $LINENO is not a special case at line end.
1936  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1937  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1938  sed '=' <$as_myself |
1939    sed '
1940      N
1941      s,$,-,
1942      : loop
1943      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1944      t loop
1945      s,-$,,
1946      s,^['$as_cr_digits']*\n,,
1947    ' >$as_me.lineno &&
1948  chmod +x $as_me.lineno ||
1949    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1950echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1951   { (exit 1); exit 1; }; }
1952
1953  # Don't try to exec as it changes $[0], causing all sort of problems
1954  # (the dirname of $[0] is not the place where we might find the
1955  # original and so on.  Autoconf is especially sensible to this).
1956  . ./$as_me.lineno
1957  # Exit status is that of the last command.
1958  exit
1959}
1960
1961
1962case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1963  *c*,-n*) ECHO_N= ECHO_C='
1964' ECHO_T='	' ;;
1965  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1966  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1967esac
1968
1969if expr a : '\(a\)' >/dev/null 2>&1; then
1970  as_expr=expr
1971else
1972  as_expr=false
1973fi
1974
1975rm -f conf$$ conf$$.exe conf$$.file
1976echo >conf$$.file
1977if ln -s conf$$.file conf$$ 2>/dev/null; then
1978  # We could just check for DJGPP; but this test a) works b) is more generic
1979  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1980  if test -f conf$$.exe; then
1981    # Don't use ln at all; we don't have any links
1982    as_ln_s='cp -p'
1983  else
1984    as_ln_s='ln -s'
1985  fi
1986elif ln conf$$.file conf$$ 2>/dev/null; then
1987  as_ln_s=ln
1988else
1989  as_ln_s='cp -p'
1990fi
1991rm -f conf$$ conf$$.exe conf$$.file
1992
1993as_executable_p="test -f"
1994
1995# Sed expression to map a string onto a valid CPP name.
1996as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1997
1998# Sed expression to map a string onto a valid variable name.
1999as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2000
2001
2002# IFS
2003# We need space, tab and new line, in precisely that order.
2004as_nl='
2005'
2006IFS=" 	$as_nl"
2007
2008# CDPATH.
2009$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2010
2011exec 6>&1
2012
2013# Open the log real soon, to keep \$[0] and so on meaningful, and to
2014# report actual input values of CONFIG_FILES etc. instead of their
2015# values after options handling.  Logging --version etc. is OK.
2016exec 5>>config.log
2017{
2018  echo
2019  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2020## Running $as_me. ##
2021_ASBOX
2022} >&5
2023cat >&5 <<_CSEOF
2024
2025This file was extended by $as_me, which was
2026generated by GNU Autoconf 2.53.  Invocation command line was
2027
2028  CONFIG_FILES    = $CONFIG_FILES
2029  CONFIG_HEADERS  = $CONFIG_HEADERS
2030  CONFIG_LINKS    = $CONFIG_LINKS
2031  CONFIG_COMMANDS = $CONFIG_COMMANDS
2032  $ $0 $@
2033
2034_CSEOF
2035echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2036echo >&5
2037_ACEOF
2038
2039# Files that config.status was made for.
2040if test -n "$ac_config_files"; then
2041  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2042fi
2043
2044if test -n "$ac_config_headers"; then
2045  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2046fi
2047
2048if test -n "$ac_config_links"; then
2049  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2050fi
2051
2052if test -n "$ac_config_commands"; then
2053  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2054fi
2055
2056cat >>$CONFIG_STATUS <<\_ACEOF
2057
2058ac_cs_usage="\
2059\`$as_me' instantiates files from templates according to the
2060current configuration.
2061
2062Usage: $0 [OPTIONS] [FILE]...
2063
2064  -h, --help       print this help, then exit
2065  -V, --version    print version number, then exit
2066  -d, --debug      don't remove temporary files
2067      --recheck    update $as_me by reconfiguring in the same conditions
2068  --file=FILE[:TEMPLATE]
2069                   instantiate the configuration file FILE
2070
2071Configuration files:
2072$config_files
2073
2074Report bugs to <bug-autoconf@gnu.org>."
2075_ACEOF
2076
2077cat >>$CONFIG_STATUS <<_ACEOF
2078ac_cs_version="\\
2079config.status
2080configured by $0, generated by GNU Autoconf 2.53,
2081  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2082
2083Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2084Free Software Foundation, Inc.
2085This config.status script is free software; the Free Software Foundation
2086gives unlimited permission to copy, distribute and modify it."
2087srcdir=$srcdir
2088INSTALL="$INSTALL"
2089_ACEOF
2090
2091cat >>$CONFIG_STATUS <<\_ACEOF
2092# If no file are specified by the user, then we need to provide default
2093# value.  By we need to know if files were specified by the user.
2094ac_need_defaults=:
2095while test $# != 0
2096do
2097  case $1 in
2098  --*=*)
2099    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2100    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2101    shift
2102    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2103    shift
2104    ;;
2105  -*);;
2106  *) # This is not an option, so the user has probably given explicit
2107     # arguments.
2108     ac_need_defaults=false;;
2109  esac
2110
2111  case $1 in
2112  # Handling of the options.
2113_ACEOF
2114cat >>$CONFIG_STATUS <<_ACEOF
2115  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2116    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2117    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2118_ACEOF
2119cat >>$CONFIG_STATUS <<\_ACEOF
2120  --version | --vers* | -V )
2121    echo "$ac_cs_version"; exit 0 ;;
2122  --he | --h)
2123    # Conflict between --help and --header
2124    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2125Try \`$0 --help' for more information." >&5
2126echo "$as_me: error: ambiguous option: $1
2127Try \`$0 --help' for more information." >&2;}
2128   { (exit 1); exit 1; }; };;
2129  --help | --hel | -h )
2130    echo "$ac_cs_usage"; exit 0 ;;
2131  --debug | --d* | -d )
2132    debug=: ;;
2133  --file | --fil | --fi | --f )
2134    shift
2135    CONFIG_FILES="$CONFIG_FILES $1"
2136    ac_need_defaults=false;;
2137  --header | --heade | --head | --hea )
2138    shift
2139    CONFIG_HEADERS="$CONFIG_HEADERS $1"
2140    ac_need_defaults=false;;
2141
2142  # This is an error.
2143  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2144Try \`$0 --help' for more information." >&5
2145echo "$as_me: error: unrecognized option: $1
2146Try \`$0 --help' for more information." >&2;}
2147   { (exit 1); exit 1; }; } ;;
2148
2149  *) ac_config_targets="$ac_config_targets $1" ;;
2150
2151  esac
2152  shift
2153done
2154
2155_ACEOF
2156
2157
2158
2159
2160
2161cat >>$CONFIG_STATUS <<\_ACEOF
2162for ac_config_target in $ac_config_targets
2163do
2164  case "$ac_config_target" in
2165  # Handling of arguments.
2166  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2167  "wwwofflecache.pl" ) CONFIG_FILES="$CONFIG_FILES wwwofflecache.pl" ;;
2168  "mknmz-wwwoffle.1" ) CONFIG_FILES="$CONFIG_FILES mknmz-wwwoffle.1" ;;
2169  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
2170  "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
2171  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2172echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2173   { (exit 1); exit 1; }; };;
2174  esac
2175done
2176
2177# If the user did not use the arguments to specify the items to instantiate,
2178# then the envvar interface is used.  Set only those that are not.
2179# We use the long form for the default assignment because of an extremely
2180# bizarre bug on SunOS 4.1.3.
2181if $ac_need_defaults; then
2182  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2183fi
2184
2185# Create a temporary directory, and hook for its removal unless debugging.
2186$debug ||
2187{
2188  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2189  trap '{ (exit 1); exit 1; }' 1 2 13 15
2190}
2191
2192# Create a (secure) tmp directory for tmp files.
2193: ${TMPDIR=/tmp}
2194{
2195  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2196  test -n "$tmp" && test -d "$tmp"
2197}  ||
2198{
2199  tmp=$TMPDIR/cs$$-$RANDOM
2200  (umask 077 && mkdir $tmp)
2201} ||
2202{
2203   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2204   { (exit 1); exit 1; }
2205}
2206
2207_ACEOF
2208
2209cat >>$CONFIG_STATUS <<_ACEOF
2210
2211#
2212# CONFIG_FILES section.
2213#
2214
2215# No need to generate the scripts if there are no CONFIG_FILES.
2216# This happens for instance when ./config.status config.h
2217if test -n "\$CONFIG_FILES"; then
2218  # Protect against being on the right side of a sed subst in config.status.
2219  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2220   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2221s,@SHELL@,$SHELL,;t t
2222s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2223s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2224s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2225s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2226s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2227s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2228s,@exec_prefix@,$exec_prefix,;t t
2229s,@prefix@,$prefix,;t t
2230s,@program_transform_name@,$program_transform_name,;t t
2231s,@bindir@,$bindir,;t t
2232s,@sbindir@,$sbindir,;t t
2233s,@libexecdir@,$libexecdir,;t t
2234s,@datadir@,$datadir,;t t
2235s,@sysconfdir@,$sysconfdir,;t t
2236s,@sharedstatedir@,$sharedstatedir,;t t
2237s,@localstatedir@,$localstatedir,;t t
2238s,@libdir@,$libdir,;t t
2239s,@includedir@,$includedir,;t t
2240s,@oldincludedir@,$oldincludedir,;t t
2241s,@infodir@,$infodir,;t t
2242s,@mandir@,$mandir,;t t
2243s,@build_alias@,$build_alias,;t t
2244s,@host_alias@,$host_alias,;t t
2245s,@target_alias@,$target_alias,;t t
2246s,@DEFS@,$DEFS,;t t
2247s,@ECHO_C@,$ECHO_C,;t t
2248s,@ECHO_N@,$ECHO_N,;t t
2249s,@ECHO_T@,$ECHO_T,;t t
2250s,@LIBS@,$LIBS,;t t
2251s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2252s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2253s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2254s,@PACKAGE@,$PACKAGE,;t t
2255s,@VERSION@,$VERSION,;t t
2256s,@EXEEXT@,$EXEEXT,;t t
2257s,@OBJEXT@,$OBJEXT,;t t
2258s,@ACLOCAL@,$ACLOCAL,;t t
2259s,@AUTOCONF@,$AUTOCONF,;t t
2260s,@AUTOMAKE@,$AUTOMAKE,;t t
2261s,@AUTOHEADER@,$AUTOHEADER,;t t
2262s,@MAKEINFO@,$MAKEINFO,;t t
2263s,@AMTAR@,$AMTAR,;t t
2264s,@install_sh@,$install_sh,;t t
2265s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2266s,@AWK@,$AWK,;t t
2267s,@SET_MAKE@,$SET_MAKE,;t t
2268s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
2269s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
2270s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
2271s,@DEPDIR@,$DEPDIR,;t t
2272s,@PERL@,$PERL,;t t
2273s,@MKNMZ@,$MKNMZ,;t t
2274s,@ENABLE_DB@,$ENABLE_DB,;t t
2275CEOF
2276
2277_ACEOF
2278
2279  cat >>$CONFIG_STATUS <<\_ACEOF
2280  # Split the substitutions into bite-sized pieces for seds with
2281  # small command number limits, like on Digital OSF/1 and HP-UX.
2282  ac_max_sed_lines=48
2283  ac_sed_frag=1 # Number of current file.
2284  ac_beg=1 # First line for current file.
2285  ac_end=$ac_max_sed_lines # Line after last line for current file.
2286  ac_more_lines=:
2287  ac_sed_cmds=
2288  while $ac_more_lines; do
2289    if test $ac_beg -gt 1; then
2290      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2291    else
2292      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2293    fi
2294    if test ! -s $tmp/subs.frag; then
2295      ac_more_lines=false
2296    else
2297      # The purpose of the label and of the branching condition is to
2298      # speed up the sed processing (if there are no `@' at all, there
2299      # is no need to browse any of the substitutions).
2300      # These are the two extra sed commands mentioned above.
2301      (echo ':t
2302  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2303      if test -z "$ac_sed_cmds"; then
2304  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2305      else
2306  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2307      fi
2308      ac_sed_frag=`expr $ac_sed_frag + 1`
2309      ac_beg=$ac_end
2310      ac_end=`expr $ac_end + $ac_max_sed_lines`
2311    fi
2312  done
2313  if test -z "$ac_sed_cmds"; then
2314    ac_sed_cmds=cat
2315  fi
2316fi # test -n "$CONFIG_FILES"
2317
2318_ACEOF
2319cat >>$CONFIG_STATUS <<\_ACEOF
2320for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2321  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2322  case $ac_file in
2323  - | *:- | *:-:* ) # input from stdin
2324        cat >$tmp/stdin
2325        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2326        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2327  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2328        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2329  * )   ac_file_in=$ac_file.in ;;
2330  esac
2331
2332  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2333  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2334$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2335         X"$ac_file" : 'X\(//\)[^/]' \| \
2336         X"$ac_file" : 'X\(//\)$' \| \
2337         X"$ac_file" : 'X\(/\)' \| \
2338         .     : '\(.\)' 2>/dev/null ||
2339echo X"$ac_file" |
2340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2341  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2342  	  /^X\(\/\/\)$/{ s//\1/; q; }
2343  	  /^X\(\/\).*/{ s//\1/; q; }
2344  	  s/.*/./; q'`
2345  { case "$ac_dir" in
2346  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2347  *)                      as_incr_dir=.;;
2348esac
2349as_dummy="$ac_dir"
2350for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2351  case $as_mkdir_dir in
2352    # Skip DOS drivespec
2353    ?:) as_incr_dir=$as_mkdir_dir ;;
2354    *)
2355      as_incr_dir=$as_incr_dir/$as_mkdir_dir
2356      test -d "$as_incr_dir" ||
2357        mkdir "$as_incr_dir" ||
2358	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2359echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2360   { (exit 1); exit 1; }; }
2361    ;;
2362  esac
2363done; }
2364
2365  ac_builddir=.
2366
2367if test "$ac_dir" != .; then
2368  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2369  # A "../" for each directory in $ac_dir_suffix.
2370  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2371else
2372  ac_dir_suffix= ac_top_builddir=
2373fi
2374
2375case $srcdir in
2376  .)  # No --srcdir option.  We are building in place.
2377    ac_srcdir=.
2378    if test -z "$ac_top_builddir"; then
2379       ac_top_srcdir=.
2380    else
2381       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2382    fi ;;
2383  [\\/]* | ?:[\\/]* )  # Absolute path.
2384    ac_srcdir=$srcdir$ac_dir_suffix;
2385    ac_top_srcdir=$srcdir ;;
2386  *) # Relative path.
2387    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2388    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2389esac
2390# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2391# absolute.
2392ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2393ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2394ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2395ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2396
2397
2398  case $INSTALL in
2399  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2400  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2401  esac
2402
2403  if test x"$ac_file" != x-; then
2404    { echo "$as_me:$LINENO: creating $ac_file" >&5
2405echo "$as_me: creating $ac_file" >&6;}
2406    rm -f "$ac_file"
2407  fi
2408  # Let's still pretend it is `configure' which instantiates (i.e., don't
2409  # use $as_me), people would be surprised to read:
2410  #    /* config.h.  Generated by config.status.  */
2411  if test x"$ac_file" = x-; then
2412    configure_input=
2413  else
2414    configure_input="$ac_file.  "
2415  fi
2416  configure_input=$configure_input"Generated from `echo $ac_file_in |
2417                                     sed 's,.*/,,'` by configure."
2418
2419  # First look for the input files in the build tree, otherwise in the
2420  # src tree.
2421  ac_file_inputs=`IFS=:
2422    for f in $ac_file_in; do
2423      case $f in
2424      -) echo $tmp/stdin ;;
2425      [\\/$]*)
2426         # Absolute (can't be DOS-style, as IFS=:)
2427         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2428echo "$as_me: error: cannot find input file: $f" >&2;}
2429   { (exit 1); exit 1; }; }
2430         echo $f;;
2431      *) # Relative
2432         if test -f "$f"; then
2433           # Build tree
2434           echo $f
2435         elif test -f "$srcdir/$f"; then
2436           # Source tree
2437           echo $srcdir/$f
2438         else
2439           # /dev/null tree
2440           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2441echo "$as_me: error: cannot find input file: $f" >&2;}
2442   { (exit 1); exit 1; }; }
2443         fi;;
2444      esac
2445    done` || { (exit 1); exit 1; }
2446_ACEOF
2447cat >>$CONFIG_STATUS <<_ACEOF
2448  sed "$ac_vpsub
2449$extrasub
2450_ACEOF
2451cat >>$CONFIG_STATUS <<\_ACEOF
2452:t
2453/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2454s,@configure_input@,$configure_input,;t t
2455s,@srcdir@,$ac_srcdir,;t t
2456s,@abs_srcdir@,$ac_abs_srcdir,;t t
2457s,@top_srcdir@,$ac_top_srcdir,;t t
2458s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2459s,@builddir@,$ac_builddir,;t t
2460s,@abs_builddir@,$ac_abs_builddir,;t t
2461s,@top_builddir@,$ac_top_builddir,;t t
2462s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2463s,@INSTALL@,$ac_INSTALL,;t t
2464" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2465  rm -f $tmp/stdin
2466  if test x"$ac_file" != x-; then
2467    mv $tmp/out $ac_file
2468  else
2469    cat $tmp/out
2470    rm -f $tmp/out
2471  fi
2472
2473done
2474_ACEOF
2475
2476cat >>$CONFIG_STATUS <<\_ACEOF
2477
2478{ (exit 0); exit 0; }
2479_ACEOF
2480chmod +x $CONFIG_STATUS
2481ac_clean_files=$ac_clean_files_save
2482
2483
2484# configure is writing to config.log, and then calls config.status.
2485# config.status does its own redirection, appending to config.log.
2486# Unfortunately, on DOS this fails, as config.log is still kept open
2487# by configure, so config.status won't be able to write to it; its
2488# output is simply discarded.  So we exec the FD to /dev/null,
2489# effectively closing config.log, so it can be properly (re)opened and
2490# appended to by config.status.  When coming back to configure, we
2491# need to make the FD available again.
2492if test "$no_create" != yes; then
2493  ac_cs_success=:
2494  exec 5>/dev/null
2495  $SHELL $CONFIG_STATUS || ac_cs_success=false
2496  exec 5>>config.log
2497  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2498  # would make configure fail if this is the last instruction.
2499  $ac_cs_success || { (exit 1); exit 1; }
2500fi
2501
2502
2503
2504