1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68	 X"$0" : 'X\(//\)$' \| \
69	 X"$0" : 'X\(/\)$' \| \
70	 .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74  	  /^X\/\(\/\).*/{ s//\1/; q; }
75  	  s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136	 case $as_dir in
137	 /*)
138	   if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146	     CONFIG_SHELL=$as_dir/$as_base
147	     export CONFIG_SHELL
148	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149	   fi;;
150	 esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='	' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" 	$as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="src/replace.c"
275ac_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 SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LIBOBJS LTLIBOBJS'
276ac_subst_files=''
277
278# Initialize some variables set by options.
279ac_init_help=
280ac_init_version=false
281# The variables have the same names as the options, with
282# dashes changed to underlines.
283cache_file=/dev/null
284exec_prefix=NONE
285no_create=
286no_recursion=
287prefix=NONE
288program_prefix=NONE
289program_suffix=NONE
290program_transform_name=s,x,x,
291silent=
292site=
293srcdir=
294verbose=
295x_includes=NONE
296x_libraries=NONE
297
298# Installation directory options.
299# These are left unexpanded so users can "make install exec_prefix=/foo"
300# and all the variables that are supposed to be based on exec_prefix
301# by default will actually change.
302# Use braces instead of parens because sh, perl, etc. also accept them.
303bindir='${exec_prefix}/bin'
304sbindir='${exec_prefix}/sbin'
305libexecdir='${exec_prefix}/libexec'
306datadir='${prefix}/share'
307sysconfdir='${prefix}/etc'
308sharedstatedir='${prefix}/com'
309localstatedir='${prefix}/var'
310libdir='${exec_prefix}/lib'
311includedir='${prefix}/include'
312oldincludedir='/usr/include'
313infodir='${prefix}/info'
314mandir='${prefix}/man'
315
316ac_prev=
317for ac_option
318do
319  # If the previous option needs an argument, assign it.
320  if test -n "$ac_prev"; then
321    eval "$ac_prev=\$ac_option"
322    ac_prev=
323    continue
324  fi
325
326  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328  # Accept the important Cygnus configure options, so we can diagnose typos.
329
330  case $ac_option in
331
332  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333    ac_prev=bindir ;;
334  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335    bindir=$ac_optarg ;;
336
337  -build | --build | --buil | --bui | --bu)
338    ac_prev=build_alias ;;
339  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340    build_alias=$ac_optarg ;;
341
342  -cache-file | --cache-file | --cache-fil | --cache-fi \
343  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344    ac_prev=cache_file ;;
345  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347    cache_file=$ac_optarg ;;
348
349  --config-cache | -C)
350    cache_file=config.cache ;;
351
352  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353    ac_prev=datadir ;;
354  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355  | --da=*)
356    datadir=$ac_optarg ;;
357
358  -disable-* | --disable-*)
359    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360    # Reject names that are not valid shell variable names.
361    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363   { (exit 1); exit 1; }; }
364    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365    eval "enable_$ac_feature=no" ;;
366
367  -enable-* | --enable-*)
368    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369    # Reject names that are not valid shell variable names.
370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372   { (exit 1); exit 1; }; }
373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374    case $ac_option in
375      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376      *) ac_optarg=yes ;;
377    esac
378    eval "enable_$ac_feature='$ac_optarg'" ;;
379
380  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382  | --exec | --exe | --ex)
383    ac_prev=exec_prefix ;;
384  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386  | --exec=* | --exe=* | --ex=*)
387    exec_prefix=$ac_optarg ;;
388
389  -gas | --gas | --ga | --g)
390    # Obsolete; use --with-gas.
391    with_gas=yes ;;
392
393  -help | --help | --hel | --he | -h)
394    ac_init_help=long ;;
395  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396    ac_init_help=recursive ;;
397  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398    ac_init_help=short ;;
399
400  -host | --host | --hos | --ho)
401    ac_prev=host_alias ;;
402  -host=* | --host=* | --hos=* | --ho=*)
403    host_alias=$ac_optarg ;;
404
405  -includedir | --includedir | --includedi | --included | --include \
406  | --includ | --inclu | --incl | --inc)
407    ac_prev=includedir ;;
408  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409  | --includ=* | --inclu=* | --incl=* | --inc=*)
410    includedir=$ac_optarg ;;
411
412  -infodir | --infodir | --infodi | --infod | --info | --inf)
413    ac_prev=infodir ;;
414  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415    infodir=$ac_optarg ;;
416
417  -libdir | --libdir | --libdi | --libd)
418    ac_prev=libdir ;;
419  -libdir=* | --libdir=* | --libdi=* | --libd=*)
420    libdir=$ac_optarg ;;
421
422  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423  | --libexe | --libex | --libe)
424    ac_prev=libexecdir ;;
425  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426  | --libexe=* | --libex=* | --libe=*)
427    libexecdir=$ac_optarg ;;
428
429  -localstatedir | --localstatedir | --localstatedi | --localstated \
430  | --localstate | --localstat | --localsta | --localst \
431  | --locals | --local | --loca | --loc | --lo)
432    ac_prev=localstatedir ;;
433  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436    localstatedir=$ac_optarg ;;
437
438  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439    ac_prev=mandir ;;
440  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441    mandir=$ac_optarg ;;
442
443  -nfp | --nfp | --nf)
444    # Obsolete; use --without-fp.
445    with_fp=no ;;
446
447  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448  | --no-cr | --no-c | -n)
449    no_create=yes ;;
450
451  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453    no_recursion=yes ;;
454
455  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457  | --oldin | --oldi | --old | --ol | --o)
458    ac_prev=oldincludedir ;;
459  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462    oldincludedir=$ac_optarg ;;
463
464  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465    ac_prev=prefix ;;
466  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467    prefix=$ac_optarg ;;
468
469  -program-prefix | --program-prefix | --program-prefi | --program-pref \
470  | --program-pre | --program-pr | --program-p)
471    ac_prev=program_prefix ;;
472  -program-prefix=* | --program-prefix=* | --program-prefi=* \
473  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474    program_prefix=$ac_optarg ;;
475
476  -program-suffix | --program-suffix | --program-suffi | --program-suff \
477  | --program-suf | --program-su | --program-s)
478    ac_prev=program_suffix ;;
479  -program-suffix=* | --program-suffix=* | --program-suffi=* \
480  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481    program_suffix=$ac_optarg ;;
482
483  -program-transform-name | --program-transform-name \
484  | --program-transform-nam | --program-transform-na \
485  | --program-transform-n | --program-transform- \
486  | --program-transform | --program-transfor \
487  | --program-transfo | --program-transf \
488  | --program-trans | --program-tran \
489  | --progr-tra | --program-tr | --program-t)
490    ac_prev=program_transform_name ;;
491  -program-transform-name=* | --program-transform-name=* \
492  | --program-transform-nam=* | --program-transform-na=* \
493  | --program-transform-n=* | --program-transform-=* \
494  | --program-transform=* | --program-transfor=* \
495  | --program-transfo=* | --program-transf=* \
496  | --program-trans=* | --program-tran=* \
497  | --progr-tra=* | --program-tr=* | --program-t=*)
498    program_transform_name=$ac_optarg ;;
499
500  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501  | -silent | --silent | --silen | --sile | --sil)
502    silent=yes ;;
503
504  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505    ac_prev=sbindir ;;
506  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507  | --sbi=* | --sb=*)
508    sbindir=$ac_optarg ;;
509
510  -sharedstatedir | --sharedstatedir | --sharedstatedi \
511  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512  | --sharedst | --shareds | --shared | --share | --shar \
513  | --sha | --sh)
514    ac_prev=sharedstatedir ;;
515  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518  | --sha=* | --sh=*)
519    sharedstatedir=$ac_optarg ;;
520
521  -site | --site | --sit)
522    ac_prev=site ;;
523  -site=* | --site=* | --sit=*)
524    site=$ac_optarg ;;
525
526  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527    ac_prev=srcdir ;;
528  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529    srcdir=$ac_optarg ;;
530
531  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532  | --syscon | --sysco | --sysc | --sys | --sy)
533    ac_prev=sysconfdir ;;
534  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536    sysconfdir=$ac_optarg ;;
537
538  -target | --target | --targe | --targ | --tar | --ta | --t)
539    ac_prev=target_alias ;;
540  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541    target_alias=$ac_optarg ;;
542
543  -v | -verbose | --verbose | --verbos | --verbo | --verb)
544    verbose=yes ;;
545
546  -version | --version | --versio | --versi | --vers | -V)
547    ac_init_version=: ;;
548
549  -with-* | --with-*)
550    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551    # Reject names that are not valid shell variable names.
552    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553      { echo "$as_me: error: invalid package name: $ac_package" >&2
554   { (exit 1); exit 1; }; }
555    ac_package=`echo $ac_package| sed 's/-/_/g'`
556    case $ac_option in
557      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558      *) ac_optarg=yes ;;
559    esac
560    eval "with_$ac_package='$ac_optarg'" ;;
561
562  -without-* | --without-*)
563    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564    # Reject names that are not valid shell variable names.
565    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566      { echo "$as_me: error: invalid package name: $ac_package" >&2
567   { (exit 1); exit 1; }; }
568    ac_package=`echo $ac_package | sed 's/-/_/g'`
569    eval "with_$ac_package=no" ;;
570
571  --x)
572    # Obsolete; use --with-x.
573    with_x=yes ;;
574
575  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576  | --x-incl | --x-inc | --x-in | --x-i)
577    ac_prev=x_includes ;;
578  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580    x_includes=$ac_optarg ;;
581
582  -x-libraries | --x-libraries | --x-librarie | --x-librari \
583  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584    ac_prev=x_libraries ;;
585  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587    x_libraries=$ac_optarg ;;
588
589  -*) { echo "$as_me: error: unrecognized option: $ac_option
590Try \`$0 --help' for more information." >&2
591   { (exit 1); exit 1; }; }
592    ;;
593
594  *=*)
595    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596    # Reject names that are not valid shell variable names.
597    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599   { (exit 1); exit 1; }; }
600    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601    eval "$ac_envvar='$ac_optarg'"
602    export $ac_envvar ;;
603
604  *)
605    # FIXME: should be removed in autoconf 3.0.
606    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610    ;;
611
612  esac
613done
614
615if test -n "$ac_prev"; then
616  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617  { echo "$as_me: error: missing argument to $ac_option" >&2
618   { (exit 1); exit 1; }; }
619fi
620
621# Be sure to have absolute paths.
622for ac_var in exec_prefix prefix
623do
624  eval ac_val=$`echo $ac_var`
625  case $ac_val in
626    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628   { (exit 1); exit 1; }; };;
629  esac
630done
631
632# Be sure to have absolute paths.
633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634	      localstatedir libdir includedir oldincludedir infodir mandir
635do
636  eval ac_val=$`echo $ac_var`
637  case $ac_val in
638    [\\/$]* | ?:[\\/]* ) ;;
639    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640   { (exit 1); exit 1; }; };;
641  esac
642done
643
644# There might be people who depend on the old broken behavior: `$host'
645# used to hold the argument of --host etc.
646# FIXME: To remove some day.
647build=$build_alias
648host=$host_alias
649target=$target_alias
650
651# FIXME: To remove some day.
652if test "x$host_alias" != x; then
653  if test "x$build_alias" = x; then
654    cross_compiling=maybe
655    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656    If a cross compiler is detected then cross compile mode will be used." >&2
657  elif test "x$build_alias" != "x$host_alias"; then
658    cross_compiling=yes
659  fi
660fi
661
662ac_tool_prefix=
663test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665test "$silent" = yes && exec 6>/dev/null
666
667
668# Find the source files, if location was not specified.
669if test -z "$srcdir"; then
670  ac_srcdir_defaulted=yes
671  # Try the directory containing this script, then its parent.
672  ac_confdir=`(dirname "$0") 2>/dev/null ||
673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674	 X"$0" : 'X\(//\)[^/]' \| \
675	 X"$0" : 'X\(//\)$' \| \
676	 X"$0" : 'X\(/\)' \| \
677	 .     : '\(.\)' 2>/dev/null ||
678echo X"$0" |
679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681  	  /^X\(\/\/\)$/{ s//\1/; q; }
682  	  /^X\(\/\).*/{ s//\1/; q; }
683  	  s/.*/./; q'`
684  srcdir=$ac_confdir
685  if test ! -r $srcdir/$ac_unique_file; then
686    srcdir=..
687  fi
688else
689  ac_srcdir_defaulted=no
690fi
691if test ! -r $srcdir/$ac_unique_file; then
692  if test "$ac_srcdir_defaulted" = yes; then
693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694   { (exit 1); exit 1; }; }
695  else
696    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697   { (exit 1); exit 1; }; }
698  fi
699fi
700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702   { (exit 1); exit 1; }; }
703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704ac_env_build_alias_set=${build_alias+set}
705ac_env_build_alias_value=$build_alias
706ac_cv_env_build_alias_set=${build_alias+set}
707ac_cv_env_build_alias_value=$build_alias
708ac_env_host_alias_set=${host_alias+set}
709ac_env_host_alias_value=$host_alias
710ac_cv_env_host_alias_set=${host_alias+set}
711ac_cv_env_host_alias_value=$host_alias
712ac_env_target_alias_set=${target_alias+set}
713ac_env_target_alias_value=$target_alias
714ac_cv_env_target_alias_set=${target_alias+set}
715ac_cv_env_target_alias_value=$target_alias
716ac_env_CC_set=${CC+set}
717ac_env_CC_value=$CC
718ac_cv_env_CC_set=${CC+set}
719ac_cv_env_CC_value=$CC
720ac_env_CFLAGS_set=${CFLAGS+set}
721ac_env_CFLAGS_value=$CFLAGS
722ac_cv_env_CFLAGS_set=${CFLAGS+set}
723ac_cv_env_CFLAGS_value=$CFLAGS
724ac_env_LDFLAGS_set=${LDFLAGS+set}
725ac_env_LDFLAGS_value=$LDFLAGS
726ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727ac_cv_env_LDFLAGS_value=$LDFLAGS
728ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729ac_env_CPPFLAGS_value=$CPPFLAGS
730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733#
734# Report the --help message.
735#
736if test "$ac_init_help" = "long"; then
737  # Omit some internal or obsolete options to make the list less imposing.
738  # This message is too long to be a string in the A/UX 3.1 sh.
739  cat <<_ACEOF
740\`configure' configures this package to adapt to many kinds of systems.
741
742Usage: $0 [OPTION]... [VAR=VALUE]...
743
744To assign environment variables (e.g., CC, CFLAGS...), specify them as
745VAR=VALUE.  See below for descriptions of some of the useful variables.
746
747Defaults for the options are specified in brackets.
748
749Configuration:
750  -h, --help              display this help and exit
751      --help=short        display options specific to this package
752      --help=recursive    display the short help of all the included packages
753  -V, --version           display version information and exit
754  -q, --quiet, --silent   do not print \`checking...' messages
755      --cache-file=FILE   cache test results in FILE [disabled]
756  -C, --config-cache      alias for \`--cache-file=config.cache'
757  -n, --no-create         do not create output files
758      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
759
760_ACEOF
761
762  cat <<_ACEOF
763Installation directories:
764  --prefix=PREFIX         install architecture-independent files in PREFIX
765			  [$ac_default_prefix]
766  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
767			  [PREFIX]
768
769By default, \`make install' will install all the files in
770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
771an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772for instance \`--prefix=\$HOME'.
773
774For better control, use the options below.
775
776Fine tuning of the installation directories:
777  --bindir=DIR           user executables [EPREFIX/bin]
778  --sbindir=DIR          system admin executables [EPREFIX/sbin]
779  --libexecdir=DIR       program executables [EPREFIX/libexec]
780  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
781  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
782  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
783  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
784  --libdir=DIR           object code libraries [EPREFIX/lib]
785  --includedir=DIR       C header files [PREFIX/include]
786  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
787  --infodir=DIR          info documentation [PREFIX/info]
788  --mandir=DIR           man documentation [PREFIX/man]
789_ACEOF
790
791  cat <<\_ACEOF
792
793Program names:
794  --program-prefix=PREFIX            prepend PREFIX to installed program names
795  --program-suffix=SUFFIX            append SUFFIX to installed program names
796  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
797_ACEOF
798fi
799
800if test -n "$ac_init_help"; then
801
802  cat <<\_ACEOF
803
804Optional Packages:
805  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
806  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
807  --with-dmalloc          use dmalloc, as in
808                          ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
809
810Some influential environment variables:
811  CC          C compiler command
812  CFLAGS      C compiler flags
813  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
814              nonstandard directory <lib dir>
815  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
816              headers in a nonstandard directory <include dir>
817
818Use these variables to override the choices made by `configure' or to help
819it to find libraries and programs with nonstandard names/locations.
820
821_ACEOF
822fi
823
824if test "$ac_init_help" = "recursive"; then
825  # If there are subdirs, report their specific --help.
826  ac_popdir=`pwd`
827  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
828    test -d $ac_dir || continue
829    ac_builddir=.
830
831if test "$ac_dir" != .; then
832  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
833  # A "../" for each directory in $ac_dir_suffix.
834  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
835else
836  ac_dir_suffix= ac_top_builddir=
837fi
838
839case $srcdir in
840  .)  # No --srcdir option.  We are building in place.
841    ac_srcdir=.
842    if test -z "$ac_top_builddir"; then
843       ac_top_srcdir=.
844    else
845       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
846    fi ;;
847  [\\/]* | ?:[\\/]* )  # Absolute path.
848    ac_srcdir=$srcdir$ac_dir_suffix;
849    ac_top_srcdir=$srcdir ;;
850  *) # Relative path.
851    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
852    ac_top_srcdir=$ac_top_builddir$srcdir ;;
853esac
854
855# Do not use `cd foo && pwd` to compute absolute paths, because
856# the directories may not exist.
857case `pwd` in
858.) ac_abs_builddir="$ac_dir";;
859*)
860  case "$ac_dir" in
861  .) ac_abs_builddir=`pwd`;;
862  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
863  *) ac_abs_builddir=`pwd`/"$ac_dir";;
864  esac;;
865esac
866case $ac_abs_builddir in
867.) ac_abs_top_builddir=${ac_top_builddir}.;;
868*)
869  case ${ac_top_builddir}. in
870  .) ac_abs_top_builddir=$ac_abs_builddir;;
871  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
872  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
873  esac;;
874esac
875case $ac_abs_builddir in
876.) ac_abs_srcdir=$ac_srcdir;;
877*)
878  case $ac_srcdir in
879  .) ac_abs_srcdir=$ac_abs_builddir;;
880  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
881  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
882  esac;;
883esac
884case $ac_abs_builddir in
885.) ac_abs_top_srcdir=$ac_top_srcdir;;
886*)
887  case $ac_top_srcdir in
888  .) ac_abs_top_srcdir=$ac_abs_builddir;;
889  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
890  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
891  esac;;
892esac
893
894    cd $ac_dir
895    # Check for guested configure; otherwise get Cygnus style configure.
896    if test -f $ac_srcdir/configure.gnu; then
897      echo
898      $SHELL $ac_srcdir/configure.gnu  --help=recursive
899    elif test -f $ac_srcdir/configure; then
900      echo
901      $SHELL $ac_srcdir/configure  --help=recursive
902    elif test -f $ac_srcdir/configure.ac ||
903	   test -f $ac_srcdir/configure.in; then
904      echo
905      $ac_configure --help
906    else
907      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
908    fi
909    cd "$ac_popdir"
910  done
911fi
912
913test -n "$ac_init_help" && exit 0
914if $ac_init_version; then
915  cat <<\_ACEOF
916
917Copyright (C) 2003 Free Software Foundation, Inc.
918This configure script is free software; the Free Software Foundation
919gives unlimited permission to copy, distribute and modify it.
920_ACEOF
921  exit 0
922fi
923exec 5>config.log
924cat >&5 <<_ACEOF
925This file contains any messages produced by compilers while
926running configure, to aid debugging if configure makes a mistake.
927
928It was created by $as_me, which was
929generated by GNU Autoconf 2.59.  Invocation command line was
930
931  $ $0 $@
932
933_ACEOF
934{
935cat <<_ASUNAME
936## --------- ##
937## Platform. ##
938## --------- ##
939
940hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
941uname -m = `(uname -m) 2>/dev/null || echo unknown`
942uname -r = `(uname -r) 2>/dev/null || echo unknown`
943uname -s = `(uname -s) 2>/dev/null || echo unknown`
944uname -v = `(uname -v) 2>/dev/null || echo unknown`
945
946/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
947/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
948
949/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
950/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
951/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
952hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
953/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
954/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
955/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
956
957_ASUNAME
958
959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
960for as_dir in $PATH
961do
962  IFS=$as_save_IFS
963  test -z "$as_dir" && as_dir=.
964  echo "PATH: $as_dir"
965done
966
967} >&5
968
969cat >&5 <<_ACEOF
970
971
972## ----------- ##
973## Core tests. ##
974## ----------- ##
975
976_ACEOF
977
978
979# Keep a trace of the command line.
980# Strip out --no-create and --no-recursion so they do not pile up.
981# Strip out --silent because we don't want to record it for future runs.
982# Also quote any args containing shell meta-characters.
983# Make two passes to allow for proper duplicate-argument suppression.
984ac_configure_args=
985ac_configure_args0=
986ac_configure_args1=
987ac_sep=
988ac_must_keep_next=false
989for ac_pass in 1 2
990do
991  for ac_arg
992  do
993    case $ac_arg in
994    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
995    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996    | -silent | --silent | --silen | --sile | --sil)
997      continue ;;
998    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000    esac
1001    case $ac_pass in
1002    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1003    2)
1004      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1005      if test $ac_must_keep_next = true; then
1006	ac_must_keep_next=false # Got value, back to normal.
1007      else
1008	case $ac_arg in
1009	  *=* | --config-cache | -C | -disable-* | --disable-* \
1010	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1011	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1012	  | -with-* | --with-* | -without-* | --without-* | --x)
1013	    case "$ac_configure_args0 " in
1014	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015	    esac
1016	    ;;
1017	  -* ) ac_must_keep_next=true ;;
1018	esac
1019      fi
1020      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1021      # Get rid of the leading space.
1022      ac_sep=" "
1023      ;;
1024    esac
1025  done
1026done
1027$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1028$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1029
1030# When interrupted or exit'd, cleanup temporary files, and complete
1031# config.log.  We remove comments because anyway the quotes in there
1032# would cause problems or look ugly.
1033# WARNING: Be sure not to use single quotes in there, as some shells,
1034# such as our DU 5.0 friend, will then `close' the trap.
1035trap 'exit_status=$?
1036  # Save into config.log some information that might help in debugging.
1037  {
1038    echo
1039
1040    cat <<\_ASBOX
1041## ---------------- ##
1042## Cache variables. ##
1043## ---------------- ##
1044_ASBOX
1045    echo
1046    # The following way of writing the cache mishandles newlines in values,
1047{
1048  (set) 2>&1 |
1049    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050    *ac_space=\ *)
1051      sed -n \
1052	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1053	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1054      ;;
1055    *)
1056      sed -n \
1057	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1058      ;;
1059    esac;
1060}
1061    echo
1062
1063    cat <<\_ASBOX
1064## ----------------- ##
1065## Output variables. ##
1066## ----------------- ##
1067_ASBOX
1068    echo
1069    for ac_var in $ac_subst_vars
1070    do
1071      eval ac_val=$`echo $ac_var`
1072      echo "$ac_var='"'"'$ac_val'"'"'"
1073    done | sort
1074    echo
1075
1076    if test -n "$ac_subst_files"; then
1077      cat <<\_ASBOX
1078## ------------- ##
1079## Output files. ##
1080## ------------- ##
1081_ASBOX
1082      echo
1083      for ac_var in $ac_subst_files
1084      do
1085	eval ac_val=$`echo $ac_var`
1086	echo "$ac_var='"'"'$ac_val'"'"'"
1087      done | sort
1088      echo
1089    fi
1090
1091    if test -s confdefs.h; then
1092      cat <<\_ASBOX
1093## ----------- ##
1094## confdefs.h. ##
1095## ----------- ##
1096_ASBOX
1097      echo
1098      sed "/^$/d" confdefs.h | sort
1099      echo
1100    fi
1101    test "$ac_signal" != 0 &&
1102      echo "$as_me: caught signal $ac_signal"
1103    echo "$as_me: exit $exit_status"
1104  } >&5
1105  rm -f core *.core &&
1106  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107    exit $exit_status
1108     ' 0
1109for ac_signal in 1 2 13 15; do
1110  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1111done
1112ac_signal=0
1113
1114# confdefs.h avoids OS command line length limits that DEFS can exceed.
1115rm -rf conftest* confdefs.h
1116# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117echo >confdefs.h
1118
1119# Predefined preprocessor variables.
1120
1121cat >>confdefs.h <<_ACEOF
1122#define PACKAGE_NAME "$PACKAGE_NAME"
1123_ACEOF
1124
1125
1126cat >>confdefs.h <<_ACEOF
1127#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1128_ACEOF
1129
1130
1131cat >>confdefs.h <<_ACEOF
1132#define PACKAGE_VERSION "$PACKAGE_VERSION"
1133_ACEOF
1134
1135
1136cat >>confdefs.h <<_ACEOF
1137#define PACKAGE_STRING "$PACKAGE_STRING"
1138_ACEOF
1139
1140
1141cat >>confdefs.h <<_ACEOF
1142#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1143_ACEOF
1144
1145
1146# Let the site file select an alternate cache file if it wants to.
1147# Prefer explicitly selected file to automatically selected ones.
1148if test -z "$CONFIG_SITE"; then
1149  if test "x$prefix" != xNONE; then
1150    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1151  else
1152    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153  fi
1154fi
1155for ac_site_file in $CONFIG_SITE; do
1156  if test -r "$ac_site_file"; then
1157    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1158echo "$as_me: loading site script $ac_site_file" >&6;}
1159    sed 's/^/| /' "$ac_site_file" >&5
1160    . "$ac_site_file"
1161  fi
1162done
1163
1164if test -r "$cache_file"; then
1165  # Some versions of bash will fail to source /dev/null (special
1166  # files actually), so we avoid doing that.
1167  if test -f "$cache_file"; then
1168    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1169echo "$as_me: loading cache $cache_file" >&6;}
1170    case $cache_file in
1171      [\\/]* | ?:[\\/]* ) . $cache_file;;
1172      *)                      . ./$cache_file;;
1173    esac
1174  fi
1175else
1176  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1177echo "$as_me: creating cache $cache_file" >&6;}
1178  >$cache_file
1179fi
1180
1181# Check that the precious variables saved in the cache have kept the same
1182# value.
1183ac_cache_corrupted=false
1184for ac_var in `(set) 2>&1 |
1185	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1186  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1187  eval ac_new_set=\$ac_env_${ac_var}_set
1188  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1189  eval ac_new_val="\$ac_env_${ac_var}_value"
1190  case $ac_old_set,$ac_new_set in
1191    set,)
1192      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1193echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1194      ac_cache_corrupted=: ;;
1195    ,set)
1196      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1197echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1198      ac_cache_corrupted=: ;;
1199    ,);;
1200    *)
1201      if test "x$ac_old_val" != "x$ac_new_val"; then
1202	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1203echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1204	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1205echo "$as_me:   former value:  $ac_old_val" >&2;}
1206	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1207echo "$as_me:   current value: $ac_new_val" >&2;}
1208	ac_cache_corrupted=:
1209      fi;;
1210  esac
1211  # Pass precious variables to config.status.
1212  if test "$ac_new_set" = set; then
1213    case $ac_new_val in
1214    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1216    *) ac_arg=$ac_var=$ac_new_val ;;
1217    esac
1218    case " $ac_configure_args " in
1219      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1220      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1221    esac
1222  fi
1223done
1224if $ac_cache_corrupted; then
1225  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1226echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1227  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1228echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1229   { (exit 1); exit 1; }; }
1230fi
1231
1232ac_ext=c
1233ac_cpp='$CPP $CPPFLAGS'
1234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1236ac_compiler_gnu=$ac_cv_c_compiler_gnu
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256am__api_version="1.4"
1257ac_aux_dir=
1258for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1259  if test -f $ac_dir/install-sh; then
1260    ac_aux_dir=$ac_dir
1261    ac_install_sh="$ac_aux_dir/install-sh -c"
1262    break
1263  elif test -f $ac_dir/install.sh; then
1264    ac_aux_dir=$ac_dir
1265    ac_install_sh="$ac_aux_dir/install.sh -c"
1266    break
1267  elif test -f $ac_dir/shtool; then
1268    ac_aux_dir=$ac_dir
1269    ac_install_sh="$ac_aux_dir/shtool install -c"
1270    break
1271  fi
1272done
1273if test -z "$ac_aux_dir"; then
1274  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1275echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1276   { (exit 1); exit 1; }; }
1277fi
1278ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1279ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1280ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1281
1282# Find a good install program.  We prefer a C program (faster),
1283# so one script is as good as another.  But avoid the broken or
1284# incompatible versions:
1285# SysV /etc/install, /usr/sbin/install
1286# SunOS /usr/etc/install
1287# IRIX /sbin/install
1288# AIX /bin/install
1289# AmigaOS /C/install, which installs bootblocks on floppy discs
1290# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1291# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1292# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1293# OS/2's system install, which has a completely different semantic
1294# ./install, which can be erroneously created by make from ./install.sh.
1295echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1296echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1297if test -z "$INSTALL"; then
1298if test "${ac_cv_path_install+set}" = set; then
1299  echo $ECHO_N "(cached) $ECHO_C" >&6
1300else
1301  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1302for as_dir in $PATH
1303do
1304  IFS=$as_save_IFS
1305  test -z "$as_dir" && as_dir=.
1306  # Account for people who put trailing slashes in PATH elements.
1307case $as_dir/ in
1308  ./ | .// | /cC/* | \
1309  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1310  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1311  /usr/ucb/* ) ;;
1312  *)
1313    # OSF1 and SCO ODT 3.0 have their own names for install.
1314    # Don't use installbsd from OSF since it installs stuff as root
1315    # by default.
1316    for ac_prog in ginstall scoinst install; do
1317      for ac_exec_ext in '' $ac_executable_extensions; do
1318	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1319	  if test $ac_prog = install &&
1320	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1321	    # AIX install.  It has an incompatible calling convention.
1322	    :
1323	  elif test $ac_prog = install &&
1324	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1325	    # program-specific install script used by HP pwplus--don't use.
1326	    :
1327	  else
1328	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1329	    break 3
1330	  fi
1331	fi
1332      done
1333    done
1334    ;;
1335esac
1336done
1337
1338
1339fi
1340  if test "${ac_cv_path_install+set}" = set; then
1341    INSTALL=$ac_cv_path_install
1342  else
1343    # As a last resort, use the slow shell script.  We don't cache a
1344    # path for INSTALL within a source directory, because that will
1345    # break other packages using the cache if that directory is
1346    # removed, or if the path is relative.
1347    INSTALL=$ac_install_sh
1348  fi
1349fi
1350echo "$as_me:$LINENO: result: $INSTALL" >&5
1351echo "${ECHO_T}$INSTALL" >&6
1352
1353# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1354# It thinks the first close brace ends the variable substitution.
1355test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1356
1357test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1358
1359test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1360
1361echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1362echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1363# Just in case
1364sleep 1
1365echo timestamp > conftestfile
1366# Do `set' in a subshell so we don't clobber the current shell's
1367# arguments.  Must try -L first in case configure is actually a
1368# symlink; some systems play weird games with the mod time of symlinks
1369# (eg FreeBSD returns the mod time of the symlink's containing
1370# directory).
1371if (
1372   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1373   if test "$*" = "X"; then
1374      # -L didn't work.
1375      set X `ls -t $srcdir/configure conftestfile`
1376   fi
1377   if test "$*" != "X $srcdir/configure conftestfile" \
1378      && test "$*" != "X conftestfile $srcdir/configure"; then
1379
1380      # If neither matched, then we have a broken ls.  This can happen
1381      # if, for instance, CONFIG_SHELL is bash and it inherits a
1382      # broken ls alias from the environment.  This has actually
1383      # happened.  Such a system could not be considered "sane".
1384      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1385alias in your environment" >&5
1386echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1387alias in your environment" >&2;}
1388   { (exit 1); exit 1; }; }
1389   fi
1390
1391   test "$2" = conftestfile
1392   )
1393then
1394   # Ok.
1395   :
1396else
1397   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1398Check your system clock" >&5
1399echo "$as_me: error: newly created file is older than distributed files!
1400Check your system clock" >&2;}
1401   { (exit 1); exit 1; }; }
1402fi
1403rm -f conftest*
1404echo "$as_me:$LINENO: result: yes" >&5
1405echo "${ECHO_T}yes" >&6
1406test "$program_prefix" != NONE &&
1407  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1408# Use a double $ so make ignores it.
1409test "$program_suffix" != NONE &&
1410  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1411# Double any \ or $.  echo might interpret backslashes.
1412# By default was `s,x,x', remove it if useless.
1413cat <<\_ACEOF >conftest.sed
1414s/[\\$]/&&/g;s/;s,x,x,$//
1415_ACEOF
1416program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1417rm conftest.sed
1418
1419echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1420echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1421set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1422if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1423  echo $ECHO_N "(cached) $ECHO_C" >&6
1424else
1425  cat >conftest.make <<\_ACEOF
1426all:
1427	@echo 'ac_maketemp="$(MAKE)"'
1428_ACEOF
1429# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1430eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1431if test -n "$ac_maketemp"; then
1432  eval ac_cv_prog_make_${ac_make}_set=yes
1433else
1434  eval ac_cv_prog_make_${ac_make}_set=no
1435fi
1436rm -f conftest.make
1437fi
1438if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1439  echo "$as_me:$LINENO: result: yes" >&5
1440echo "${ECHO_T}yes" >&6
1441  SET_MAKE=
1442else
1443  echo "$as_me:$LINENO: result: no" >&5
1444echo "${ECHO_T}no" >&6
1445  SET_MAKE="MAKE=${MAKE-make}"
1446fi
1447
1448
1449PACKAGE=rpl
1450
1451VERSION=1.4.1
1452
1453if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1454  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1455echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1456   { (exit 1); exit 1; }; }
1457fi
1458
1459cat >>confdefs.h <<_ACEOF
1460#define PACKAGE "$PACKAGE"
1461_ACEOF
1462
1463
1464cat >>confdefs.h <<_ACEOF
1465#define VERSION "$VERSION"
1466_ACEOF
1467
1468
1469
1470missing_dir=`cd $ac_aux_dir && pwd`
1471echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1472echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1473# Run test in a subshell; some versions of sh will print an error if
1474# an executable is not found, even if stderr is redirected.
1475# Redirect stdin to placate older versions of autoconf.  Sigh.
1476if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1477   ACLOCAL=aclocal-${am__api_version}
1478   echo "$as_me:$LINENO: result: found" >&5
1479echo "${ECHO_T}found" >&6
1480else
1481   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1482   echo "$as_me:$LINENO: result: missing" >&5
1483echo "${ECHO_T}missing" >&6
1484fi
1485
1486echo "$as_me:$LINENO: checking for working autoconf" >&5
1487echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1488# Run test in a subshell; some versions of sh will print an error if
1489# an executable is not found, even if stderr is redirected.
1490# Redirect stdin to placate older versions of autoconf.  Sigh.
1491if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1492   AUTOCONF=autoconf
1493   echo "$as_me:$LINENO: result: found" >&5
1494echo "${ECHO_T}found" >&6
1495else
1496   AUTOCONF="$missing_dir/missing autoconf"
1497   echo "$as_me:$LINENO: result: missing" >&5
1498echo "${ECHO_T}missing" >&6
1499fi
1500
1501echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1502echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1503# Run test in a subshell; some versions of sh will print an error if
1504# an executable is not found, even if stderr is redirected.
1505# Redirect stdin to placate older versions of autoconf.  Sigh.
1506if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1507   AUTOMAKE=automake-${am__api_version}
1508   echo "$as_me:$LINENO: result: found" >&5
1509echo "${ECHO_T}found" >&6
1510else
1511   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1512   echo "$as_me:$LINENO: result: missing" >&5
1513echo "${ECHO_T}missing" >&6
1514fi
1515
1516echo "$as_me:$LINENO: checking for working autoheader" >&5
1517echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1518# Run test in a subshell; some versions of sh will print an error if
1519# an executable is not found, even if stderr is redirected.
1520# Redirect stdin to placate older versions of autoconf.  Sigh.
1521if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1522   AUTOHEADER=autoheader
1523   echo "$as_me:$LINENO: result: found" >&5
1524echo "${ECHO_T}found" >&6
1525else
1526   AUTOHEADER="$missing_dir/missing autoheader"
1527   echo "$as_me:$LINENO: result: missing" >&5
1528echo "${ECHO_T}missing" >&6
1529fi
1530
1531echo "$as_me:$LINENO: checking for working makeinfo" >&5
1532echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1533# Run test in a subshell; some versions of sh will print an error if
1534# an executable is not found, even if stderr is redirected.
1535# Redirect stdin to placate older versions of autoconf.  Sigh.
1536if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1537   MAKEINFO=makeinfo
1538   echo "$as_me:$LINENO: result: found" >&5
1539echo "${ECHO_T}found" >&6
1540else
1541   MAKEINFO="$missing_dir/missing makeinfo"
1542   echo "$as_me:$LINENO: result: missing" >&5
1543echo "${ECHO_T}missing" >&6
1544fi
1545
1546
1547
1548
1549ac_ext=c
1550ac_cpp='$CPP $CPPFLAGS'
1551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1553ac_compiler_gnu=$ac_cv_c_compiler_gnu
1554if test -n "$ac_tool_prefix"; then
1555  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1556set dummy ${ac_tool_prefix}gcc; ac_word=$2
1557echo "$as_me:$LINENO: checking for $ac_word" >&5
1558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559if test "${ac_cv_prog_CC+set}" = set; then
1560  echo $ECHO_N "(cached) $ECHO_C" >&6
1561else
1562  if test -n "$CC"; then
1563  ac_cv_prog_CC="$CC" # Let the user override the test.
1564else
1565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566for as_dir in $PATH
1567do
1568  IFS=$as_save_IFS
1569  test -z "$as_dir" && as_dir=.
1570  for ac_exec_ext in '' $ac_executable_extensions; do
1571  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1573    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574    break 2
1575  fi
1576done
1577done
1578
1579fi
1580fi
1581CC=$ac_cv_prog_CC
1582if test -n "$CC"; then
1583  echo "$as_me:$LINENO: result: $CC" >&5
1584echo "${ECHO_T}$CC" >&6
1585else
1586  echo "$as_me:$LINENO: result: no" >&5
1587echo "${ECHO_T}no" >&6
1588fi
1589
1590fi
1591if test -z "$ac_cv_prog_CC"; then
1592  ac_ct_CC=$CC
1593  # Extract the first word of "gcc", so it can be a program name with args.
1594set dummy gcc; ac_word=$2
1595echo "$as_me:$LINENO: checking for $ac_word" >&5
1596echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1598  echo $ECHO_N "(cached) $ECHO_C" >&6
1599else
1600  if test -n "$ac_ct_CC"; then
1601  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1602else
1603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604for as_dir in $PATH
1605do
1606  IFS=$as_save_IFS
1607  test -z "$as_dir" && as_dir=.
1608  for ac_exec_ext in '' $ac_executable_extensions; do
1609  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610    ac_cv_prog_ac_ct_CC="gcc"
1611    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1612    break 2
1613  fi
1614done
1615done
1616
1617fi
1618fi
1619ac_ct_CC=$ac_cv_prog_ac_ct_CC
1620if test -n "$ac_ct_CC"; then
1621  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1622echo "${ECHO_T}$ac_ct_CC" >&6
1623else
1624  echo "$as_me:$LINENO: result: no" >&5
1625echo "${ECHO_T}no" >&6
1626fi
1627
1628  CC=$ac_ct_CC
1629else
1630  CC="$ac_cv_prog_CC"
1631fi
1632
1633if test -z "$CC"; then
1634  if test -n "$ac_tool_prefix"; then
1635  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1636set dummy ${ac_tool_prefix}cc; ac_word=$2
1637echo "$as_me:$LINENO: checking for $ac_word" >&5
1638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639if test "${ac_cv_prog_CC+set}" = set; then
1640  echo $ECHO_N "(cached) $ECHO_C" >&6
1641else
1642  if test -n "$CC"; then
1643  ac_cv_prog_CC="$CC" # Let the user override the test.
1644else
1645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646for as_dir in $PATH
1647do
1648  IFS=$as_save_IFS
1649  test -z "$as_dir" && as_dir=.
1650  for ac_exec_ext in '' $ac_executable_extensions; do
1651  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652    ac_cv_prog_CC="${ac_tool_prefix}cc"
1653    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654    break 2
1655  fi
1656done
1657done
1658
1659fi
1660fi
1661CC=$ac_cv_prog_CC
1662if test -n "$CC"; then
1663  echo "$as_me:$LINENO: result: $CC" >&5
1664echo "${ECHO_T}$CC" >&6
1665else
1666  echo "$as_me:$LINENO: result: no" >&5
1667echo "${ECHO_T}no" >&6
1668fi
1669
1670fi
1671if test -z "$ac_cv_prog_CC"; then
1672  ac_ct_CC=$CC
1673  # Extract the first word of "cc", so it can be a program name with args.
1674set dummy cc; ac_word=$2
1675echo "$as_me:$LINENO: checking for $ac_word" >&5
1676echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1677if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1678  echo $ECHO_N "(cached) $ECHO_C" >&6
1679else
1680  if test -n "$ac_ct_CC"; then
1681  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1682else
1683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684for as_dir in $PATH
1685do
1686  IFS=$as_save_IFS
1687  test -z "$as_dir" && as_dir=.
1688  for ac_exec_ext in '' $ac_executable_extensions; do
1689  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1690    ac_cv_prog_ac_ct_CC="cc"
1691    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692    break 2
1693  fi
1694done
1695done
1696
1697fi
1698fi
1699ac_ct_CC=$ac_cv_prog_ac_ct_CC
1700if test -n "$ac_ct_CC"; then
1701  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1702echo "${ECHO_T}$ac_ct_CC" >&6
1703else
1704  echo "$as_me:$LINENO: result: no" >&5
1705echo "${ECHO_T}no" >&6
1706fi
1707
1708  CC=$ac_ct_CC
1709else
1710  CC="$ac_cv_prog_CC"
1711fi
1712
1713fi
1714if test -z "$CC"; then
1715  # Extract the first word of "cc", so it can be a program name with args.
1716set dummy cc; ac_word=$2
1717echo "$as_me:$LINENO: checking for $ac_word" >&5
1718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719if test "${ac_cv_prog_CC+set}" = set; then
1720  echo $ECHO_N "(cached) $ECHO_C" >&6
1721else
1722  if test -n "$CC"; then
1723  ac_cv_prog_CC="$CC" # Let the user override the test.
1724else
1725  ac_prog_rejected=no
1726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1727for as_dir in $PATH
1728do
1729  IFS=$as_save_IFS
1730  test -z "$as_dir" && as_dir=.
1731  for ac_exec_ext in '' $ac_executable_extensions; do
1732  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1734       ac_prog_rejected=yes
1735       continue
1736     fi
1737    ac_cv_prog_CC="cc"
1738    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739    break 2
1740  fi
1741done
1742done
1743
1744if test $ac_prog_rejected = yes; then
1745  # We found a bogon in the path, so make sure we never use it.
1746  set dummy $ac_cv_prog_CC
1747  shift
1748  if test $# != 0; then
1749    # We chose a different compiler from the bogus one.
1750    # However, it has the same basename, so the bogon will be chosen
1751    # first if we set CC to just the basename; use the full file name.
1752    shift
1753    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1754  fi
1755fi
1756fi
1757fi
1758CC=$ac_cv_prog_CC
1759if test -n "$CC"; then
1760  echo "$as_me:$LINENO: result: $CC" >&5
1761echo "${ECHO_T}$CC" >&6
1762else
1763  echo "$as_me:$LINENO: result: no" >&5
1764echo "${ECHO_T}no" >&6
1765fi
1766
1767fi
1768if test -z "$CC"; then
1769  if test -n "$ac_tool_prefix"; then
1770  for ac_prog in cl
1771  do
1772    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1773set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1774echo "$as_me:$LINENO: checking for $ac_word" >&5
1775echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1776if test "${ac_cv_prog_CC+set}" = set; then
1777  echo $ECHO_N "(cached) $ECHO_C" >&6
1778else
1779  if test -n "$CC"; then
1780  ac_cv_prog_CC="$CC" # Let the user override the test.
1781else
1782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783for as_dir in $PATH
1784do
1785  IFS=$as_save_IFS
1786  test -z "$as_dir" && as_dir=.
1787  for ac_exec_ext in '' $ac_executable_extensions; do
1788  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1790    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791    break 2
1792  fi
1793done
1794done
1795
1796fi
1797fi
1798CC=$ac_cv_prog_CC
1799if test -n "$CC"; then
1800  echo "$as_me:$LINENO: result: $CC" >&5
1801echo "${ECHO_T}$CC" >&6
1802else
1803  echo "$as_me:$LINENO: result: no" >&5
1804echo "${ECHO_T}no" >&6
1805fi
1806
1807    test -n "$CC" && break
1808  done
1809fi
1810if test -z "$CC"; then
1811  ac_ct_CC=$CC
1812  for ac_prog in cl
1813do
1814  # Extract the first word of "$ac_prog", so it can be a program name with args.
1815set dummy $ac_prog; ac_word=$2
1816echo "$as_me:$LINENO: checking for $ac_word" >&5
1817echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1818if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1819  echo $ECHO_N "(cached) $ECHO_C" >&6
1820else
1821  if test -n "$ac_ct_CC"; then
1822  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1823else
1824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825for as_dir in $PATH
1826do
1827  IFS=$as_save_IFS
1828  test -z "$as_dir" && as_dir=.
1829  for ac_exec_ext in '' $ac_executable_extensions; do
1830  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1831    ac_cv_prog_ac_ct_CC="$ac_prog"
1832    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833    break 2
1834  fi
1835done
1836done
1837
1838fi
1839fi
1840ac_ct_CC=$ac_cv_prog_ac_ct_CC
1841if test -n "$ac_ct_CC"; then
1842  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1843echo "${ECHO_T}$ac_ct_CC" >&6
1844else
1845  echo "$as_me:$LINENO: result: no" >&5
1846echo "${ECHO_T}no" >&6
1847fi
1848
1849  test -n "$ac_ct_CC" && break
1850done
1851
1852  CC=$ac_ct_CC
1853fi
1854
1855fi
1856
1857
1858test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1859See \`config.log' for more details." >&5
1860echo "$as_me: error: no acceptable C compiler found in \$PATH
1861See \`config.log' for more details." >&2;}
1862   { (exit 1); exit 1; }; }
1863
1864# Provide some information about the compiler.
1865echo "$as_me:$LINENO:" \
1866     "checking for C compiler version" >&5
1867ac_compiler=`set X $ac_compile; echo $2`
1868{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1869  (eval $ac_compiler --version </dev/null >&5) 2>&5
1870  ac_status=$?
1871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872  (exit $ac_status); }
1873{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1874  (eval $ac_compiler -v </dev/null >&5) 2>&5
1875  ac_status=$?
1876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877  (exit $ac_status); }
1878{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1879  (eval $ac_compiler -V </dev/null >&5) 2>&5
1880  ac_status=$?
1881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882  (exit $ac_status); }
1883
1884cat >conftest.$ac_ext <<_ACEOF
1885/* confdefs.h.  */
1886_ACEOF
1887cat confdefs.h >>conftest.$ac_ext
1888cat >>conftest.$ac_ext <<_ACEOF
1889/* end confdefs.h.  */
1890
1891int
1892main ()
1893{
1894
1895  ;
1896  return 0;
1897}
1898_ACEOF
1899ac_clean_files_save=$ac_clean_files
1900ac_clean_files="$ac_clean_files a.out a.exe b.out"
1901# Try to create an executable without -o first, disregard a.out.
1902# It will help us diagnose broken compilers, and finding out an intuition
1903# of exeext.
1904echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1905echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1906ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1907if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1908  (eval $ac_link_default) 2>&5
1909  ac_status=$?
1910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911  (exit $ac_status); }; then
1912  # Find the output, starting from the most likely.  This scheme is
1913# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1914# resort.
1915
1916# Be careful to initialize this variable, since it used to be cached.
1917# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1918ac_cv_exeext=
1919# b.out is created by i960 compilers.
1920for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1921do
1922  test -f "$ac_file" || continue
1923  case $ac_file in
1924    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1925	;;
1926    conftest.$ac_ext )
1927	# This is the source file.
1928	;;
1929    [ab].out )
1930	# We found the default executable, but exeext='' is most
1931	# certainly right.
1932	break;;
1933    *.* )
1934	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1935	# FIXME: I believe we export ac_cv_exeext for Libtool,
1936	# but it would be cool to find out if it's true.  Does anybody
1937	# maintain Libtool? --akim.
1938	export ac_cv_exeext
1939	break;;
1940    * )
1941	break;;
1942  esac
1943done
1944else
1945  echo "$as_me: failed program was:" >&5
1946sed 's/^/| /' conftest.$ac_ext >&5
1947
1948{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1949See \`config.log' for more details." >&5
1950echo "$as_me: error: C compiler cannot create executables
1951See \`config.log' for more details." >&2;}
1952   { (exit 77); exit 77; }; }
1953fi
1954
1955ac_exeext=$ac_cv_exeext
1956echo "$as_me:$LINENO: result: $ac_file" >&5
1957echo "${ECHO_T}$ac_file" >&6
1958
1959# Check the compiler produces executables we can run.  If not, either
1960# the compiler is broken, or we cross compile.
1961echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1962echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1963# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1964# If not cross compiling, check that we can run a simple program.
1965if test "$cross_compiling" != yes; then
1966  if { ac_try='./$ac_file'
1967  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968  (eval $ac_try) 2>&5
1969  ac_status=$?
1970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971  (exit $ac_status); }; }; then
1972    cross_compiling=no
1973  else
1974    if test "$cross_compiling" = maybe; then
1975	cross_compiling=yes
1976    else
1977	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1978If you meant to cross compile, use \`--host'.
1979See \`config.log' for more details." >&5
1980echo "$as_me: error: cannot run C compiled programs.
1981If you meant to cross compile, use \`--host'.
1982See \`config.log' for more details." >&2;}
1983   { (exit 1); exit 1; }; }
1984    fi
1985  fi
1986fi
1987echo "$as_me:$LINENO: result: yes" >&5
1988echo "${ECHO_T}yes" >&6
1989
1990rm -f a.out a.exe conftest$ac_cv_exeext b.out
1991ac_clean_files=$ac_clean_files_save
1992# Check the compiler produces executables we can run.  If not, either
1993# the compiler is broken, or we cross compile.
1994echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1995echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1996echo "$as_me:$LINENO: result: $cross_compiling" >&5
1997echo "${ECHO_T}$cross_compiling" >&6
1998
1999echo "$as_me:$LINENO: checking for suffix of executables" >&5
2000echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2002  (eval $ac_link) 2>&5
2003  ac_status=$?
2004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005  (exit $ac_status); }; then
2006  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2007# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2008# work properly (i.e., refer to `conftest.exe'), while it won't with
2009# `rm'.
2010for ac_file in conftest.exe conftest conftest.*; do
2011  test -f "$ac_file" || continue
2012  case $ac_file in
2013    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2014    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2015	  export ac_cv_exeext
2016	  break;;
2017    * ) break;;
2018  esac
2019done
2020else
2021  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2022See \`config.log' for more details." >&5
2023echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2024See \`config.log' for more details." >&2;}
2025   { (exit 1); exit 1; }; }
2026fi
2027
2028rm -f conftest$ac_cv_exeext
2029echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2030echo "${ECHO_T}$ac_cv_exeext" >&6
2031
2032rm -f conftest.$ac_ext
2033EXEEXT=$ac_cv_exeext
2034ac_exeext=$EXEEXT
2035echo "$as_me:$LINENO: checking for suffix of object files" >&5
2036echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2037if test "${ac_cv_objext+set}" = set; then
2038  echo $ECHO_N "(cached) $ECHO_C" >&6
2039else
2040  cat >conftest.$ac_ext <<_ACEOF
2041/* confdefs.h.  */
2042_ACEOF
2043cat confdefs.h >>conftest.$ac_ext
2044cat >>conftest.$ac_ext <<_ACEOF
2045/* end confdefs.h.  */
2046
2047int
2048main ()
2049{
2050
2051  ;
2052  return 0;
2053}
2054_ACEOF
2055rm -f conftest.o conftest.obj
2056if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057  (eval $ac_compile) 2>&5
2058  ac_status=$?
2059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060  (exit $ac_status); }; then
2061  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2062  case $ac_file in
2063    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2064    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2065       break;;
2066  esac
2067done
2068else
2069  echo "$as_me: failed program was:" >&5
2070sed 's/^/| /' conftest.$ac_ext >&5
2071
2072{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2073See \`config.log' for more details." >&5
2074echo "$as_me: error: cannot compute suffix of object files: cannot compile
2075See \`config.log' for more details." >&2;}
2076   { (exit 1); exit 1; }; }
2077fi
2078
2079rm -f conftest.$ac_cv_objext conftest.$ac_ext
2080fi
2081echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2082echo "${ECHO_T}$ac_cv_objext" >&6
2083OBJEXT=$ac_cv_objext
2084ac_objext=$OBJEXT
2085echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2086echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2087if test "${ac_cv_c_compiler_gnu+set}" = set; then
2088  echo $ECHO_N "(cached) $ECHO_C" >&6
2089else
2090  cat >conftest.$ac_ext <<_ACEOF
2091/* confdefs.h.  */
2092_ACEOF
2093cat confdefs.h >>conftest.$ac_ext
2094cat >>conftest.$ac_ext <<_ACEOF
2095/* end confdefs.h.  */
2096
2097int
2098main ()
2099{
2100#ifndef __GNUC__
2101       choke me
2102#endif
2103
2104  ;
2105  return 0;
2106}
2107_ACEOF
2108rm -f conftest.$ac_objext
2109if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110  (eval $ac_compile) 2>conftest.er1
2111  ac_status=$?
2112  grep -v '^ *+' conftest.er1 >conftest.err
2113  rm -f conftest.er1
2114  cat conftest.err >&5
2115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116  (exit $ac_status); } &&
2117	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119  (eval $ac_try) 2>&5
2120  ac_status=$?
2121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122  (exit $ac_status); }; } &&
2123	 { ac_try='test -s conftest.$ac_objext'
2124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125  (eval $ac_try) 2>&5
2126  ac_status=$?
2127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128  (exit $ac_status); }; }; then
2129  ac_compiler_gnu=yes
2130else
2131  echo "$as_me: failed program was:" >&5
2132sed 's/^/| /' conftest.$ac_ext >&5
2133
2134ac_compiler_gnu=no
2135fi
2136rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2137ac_cv_c_compiler_gnu=$ac_compiler_gnu
2138
2139fi
2140echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2141echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2142GCC=`test $ac_compiler_gnu = yes && echo yes`
2143ac_test_CFLAGS=${CFLAGS+set}
2144ac_save_CFLAGS=$CFLAGS
2145CFLAGS="-g"
2146echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2147echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2148if test "${ac_cv_prog_cc_g+set}" = set; then
2149  echo $ECHO_N "(cached) $ECHO_C" >&6
2150else
2151  cat >conftest.$ac_ext <<_ACEOF
2152/* confdefs.h.  */
2153_ACEOF
2154cat confdefs.h >>conftest.$ac_ext
2155cat >>conftest.$ac_ext <<_ACEOF
2156/* end confdefs.h.  */
2157
2158int
2159main ()
2160{
2161
2162  ;
2163  return 0;
2164}
2165_ACEOF
2166rm -f conftest.$ac_objext
2167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168  (eval $ac_compile) 2>conftest.er1
2169  ac_status=$?
2170  grep -v '^ *+' conftest.er1 >conftest.err
2171  rm -f conftest.er1
2172  cat conftest.err >&5
2173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174  (exit $ac_status); } &&
2175	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177  (eval $ac_try) 2>&5
2178  ac_status=$?
2179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180  (exit $ac_status); }; } &&
2181	 { ac_try='test -s conftest.$ac_objext'
2182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183  (eval $ac_try) 2>&5
2184  ac_status=$?
2185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186  (exit $ac_status); }; }; then
2187  ac_cv_prog_cc_g=yes
2188else
2189  echo "$as_me: failed program was:" >&5
2190sed 's/^/| /' conftest.$ac_ext >&5
2191
2192ac_cv_prog_cc_g=no
2193fi
2194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2195fi
2196echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2197echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2198if test "$ac_test_CFLAGS" = set; then
2199  CFLAGS=$ac_save_CFLAGS
2200elif test $ac_cv_prog_cc_g = yes; then
2201  if test "$GCC" = yes; then
2202    CFLAGS="-g -O2"
2203  else
2204    CFLAGS="-g"
2205  fi
2206else
2207  if test "$GCC" = yes; then
2208    CFLAGS="-O2"
2209  else
2210    CFLAGS=
2211  fi
2212fi
2213echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2214echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2215if test "${ac_cv_prog_cc_stdc+set}" = set; then
2216  echo $ECHO_N "(cached) $ECHO_C" >&6
2217else
2218  ac_cv_prog_cc_stdc=no
2219ac_save_CC=$CC
2220cat >conftest.$ac_ext <<_ACEOF
2221/* confdefs.h.  */
2222_ACEOF
2223cat confdefs.h >>conftest.$ac_ext
2224cat >>conftest.$ac_ext <<_ACEOF
2225/* end confdefs.h.  */
2226#include <stdarg.h>
2227#include <stdio.h>
2228#include <sys/types.h>
2229#include <sys/stat.h>
2230/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2231struct buf { int x; };
2232FILE * (*rcsopen) (struct buf *, struct stat *, int);
2233static char *e (p, i)
2234     char **p;
2235     int i;
2236{
2237  return p[i];
2238}
2239static char *f (char * (*g) (char **, int), char **p, ...)
2240{
2241  char *s;
2242  va_list v;
2243  va_start (v,p);
2244  s = g (p, va_arg (v,int));
2245  va_end (v);
2246  return s;
2247}
2248
2249/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2250   function prototypes and stuff, but not '\xHH' hex character constants.
2251   These don't provoke an error unfortunately, instead are silently treated
2252   as 'x'.  The following induces an error, until -std1 is added to get
2253   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2254   array size at least.  It's necessary to write '\x00'==0 to get something
2255   that's true only with -std1.  */
2256int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2257
2258int test (int i, double x);
2259struct s1 {int (*f) (int a);};
2260struct s2 {int (*f) (double a);};
2261int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2262int argc;
2263char **argv;
2264int
2265main ()
2266{
2267return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2268  ;
2269  return 0;
2270}
2271_ACEOF
2272# Don't try gcc -ansi; that turns off useful extensions and
2273# breaks some systems' header files.
2274# AIX			-qlanglvl=ansi
2275# Ultrix and OSF/1	-std1
2276# HP-UX 10.20 and later	-Ae
2277# HP-UX older versions	-Aa -D_HPUX_SOURCE
2278# SVR4			-Xc -D__EXTENSIONS__
2279for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2280do
2281  CC="$ac_save_CC $ac_arg"
2282  rm -f conftest.$ac_objext
2283if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2284  (eval $ac_compile) 2>conftest.er1
2285  ac_status=$?
2286  grep -v '^ *+' conftest.er1 >conftest.err
2287  rm -f conftest.er1
2288  cat conftest.err >&5
2289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290  (exit $ac_status); } &&
2291	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293  (eval $ac_try) 2>&5
2294  ac_status=$?
2295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296  (exit $ac_status); }; } &&
2297	 { ac_try='test -s conftest.$ac_objext'
2298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299  (eval $ac_try) 2>&5
2300  ac_status=$?
2301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302  (exit $ac_status); }; }; then
2303  ac_cv_prog_cc_stdc=$ac_arg
2304break
2305else
2306  echo "$as_me: failed program was:" >&5
2307sed 's/^/| /' conftest.$ac_ext >&5
2308
2309fi
2310rm -f conftest.err conftest.$ac_objext
2311done
2312rm -f conftest.$ac_ext conftest.$ac_objext
2313CC=$ac_save_CC
2314
2315fi
2316
2317case "x$ac_cv_prog_cc_stdc" in
2318  x|xno)
2319    echo "$as_me:$LINENO: result: none needed" >&5
2320echo "${ECHO_T}none needed" >&6 ;;
2321  *)
2322    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2323echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2324    CC="$CC $ac_cv_prog_cc_stdc" ;;
2325esac
2326
2327# Some people use a C++ compiler to compile C.  Since we use `exit',
2328# in C++ we need to declare it.  In case someone uses the same compiler
2329# for both compiling C and C++ we need to have the C++ compiler decide
2330# the declaration of exit, since it's the most demanding environment.
2331cat >conftest.$ac_ext <<_ACEOF
2332#ifndef __cplusplus
2333  choke me
2334#endif
2335_ACEOF
2336rm -f conftest.$ac_objext
2337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2338  (eval $ac_compile) 2>conftest.er1
2339  ac_status=$?
2340  grep -v '^ *+' conftest.er1 >conftest.err
2341  rm -f conftest.er1
2342  cat conftest.err >&5
2343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344  (exit $ac_status); } &&
2345	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347  (eval $ac_try) 2>&5
2348  ac_status=$?
2349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350  (exit $ac_status); }; } &&
2351	 { ac_try='test -s conftest.$ac_objext'
2352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353  (eval $ac_try) 2>&5
2354  ac_status=$?
2355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356  (exit $ac_status); }; }; then
2357  for ac_declaration in \
2358   '' \
2359   'extern "C" void std::exit (int) throw (); using std::exit;' \
2360   'extern "C" void std::exit (int); using std::exit;' \
2361   'extern "C" void exit (int) throw ();' \
2362   'extern "C" void exit (int);' \
2363   'void exit (int);'
2364do
2365  cat >conftest.$ac_ext <<_ACEOF
2366/* confdefs.h.  */
2367_ACEOF
2368cat confdefs.h >>conftest.$ac_ext
2369cat >>conftest.$ac_ext <<_ACEOF
2370/* end confdefs.h.  */
2371$ac_declaration
2372#include <stdlib.h>
2373int
2374main ()
2375{
2376exit (42);
2377  ;
2378  return 0;
2379}
2380_ACEOF
2381rm -f conftest.$ac_objext
2382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383  (eval $ac_compile) 2>conftest.er1
2384  ac_status=$?
2385  grep -v '^ *+' conftest.er1 >conftest.err
2386  rm -f conftest.er1
2387  cat conftest.err >&5
2388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389  (exit $ac_status); } &&
2390	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2391  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392  (eval $ac_try) 2>&5
2393  ac_status=$?
2394  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395  (exit $ac_status); }; } &&
2396	 { ac_try='test -s conftest.$ac_objext'
2397  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398  (eval $ac_try) 2>&5
2399  ac_status=$?
2400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401  (exit $ac_status); }; }; then
2402  :
2403else
2404  echo "$as_me: failed program was:" >&5
2405sed 's/^/| /' conftest.$ac_ext >&5
2406
2407continue
2408fi
2409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2410  cat >conftest.$ac_ext <<_ACEOF
2411/* confdefs.h.  */
2412_ACEOF
2413cat confdefs.h >>conftest.$ac_ext
2414cat >>conftest.$ac_ext <<_ACEOF
2415/* end confdefs.h.  */
2416$ac_declaration
2417int
2418main ()
2419{
2420exit (42);
2421  ;
2422  return 0;
2423}
2424_ACEOF
2425rm -f conftest.$ac_objext
2426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427  (eval $ac_compile) 2>conftest.er1
2428  ac_status=$?
2429  grep -v '^ *+' conftest.er1 >conftest.err
2430  rm -f conftest.er1
2431  cat conftest.err >&5
2432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433  (exit $ac_status); } &&
2434	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2435  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436  (eval $ac_try) 2>&5
2437  ac_status=$?
2438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439  (exit $ac_status); }; } &&
2440	 { ac_try='test -s conftest.$ac_objext'
2441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442  (eval $ac_try) 2>&5
2443  ac_status=$?
2444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445  (exit $ac_status); }; }; then
2446  break
2447else
2448  echo "$as_me: failed program was:" >&5
2449sed 's/^/| /' conftest.$ac_ext >&5
2450
2451fi
2452rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2453done
2454rm -f conftest*
2455if test -n "$ac_declaration"; then
2456  echo '#ifdef __cplusplus' >>confdefs.h
2457  echo $ac_declaration      >>confdefs.h
2458  echo '#endif'             >>confdefs.h
2459fi
2460
2461else
2462  echo "$as_me: failed program was:" >&5
2463sed 's/^/| /' conftest.$ac_ext >&5
2464
2465fi
2466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2467ac_ext=c
2468ac_cpp='$CPP $CPPFLAGS'
2469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2471ac_compiler_gnu=$ac_cv_c_compiler_gnu
2472
2473# Find a good install program.  We prefer a C program (faster),
2474# so one script is as good as another.  But avoid the broken or
2475# incompatible versions:
2476# SysV /etc/install, /usr/sbin/install
2477# SunOS /usr/etc/install
2478# IRIX /sbin/install
2479# AIX /bin/install
2480# AmigaOS /C/install, which installs bootblocks on floppy discs
2481# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2482# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2483# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2484# OS/2's system install, which has a completely different semantic
2485# ./install, which can be erroneously created by make from ./install.sh.
2486echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2487echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2488if test -z "$INSTALL"; then
2489if test "${ac_cv_path_install+set}" = set; then
2490  echo $ECHO_N "(cached) $ECHO_C" >&6
2491else
2492  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493for as_dir in $PATH
2494do
2495  IFS=$as_save_IFS
2496  test -z "$as_dir" && as_dir=.
2497  # Account for people who put trailing slashes in PATH elements.
2498case $as_dir/ in
2499  ./ | .// | /cC/* | \
2500  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2501  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2502  /usr/ucb/* ) ;;
2503  *)
2504    # OSF1 and SCO ODT 3.0 have their own names for install.
2505    # Don't use installbsd from OSF since it installs stuff as root
2506    # by default.
2507    for ac_prog in ginstall scoinst install; do
2508      for ac_exec_ext in '' $ac_executable_extensions; do
2509	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2510	  if test $ac_prog = install &&
2511	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2512	    # AIX install.  It has an incompatible calling convention.
2513	    :
2514	  elif test $ac_prog = install &&
2515	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2516	    # program-specific install script used by HP pwplus--don't use.
2517	    :
2518	  else
2519	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2520	    break 3
2521	  fi
2522	fi
2523      done
2524    done
2525    ;;
2526esac
2527done
2528
2529
2530fi
2531  if test "${ac_cv_path_install+set}" = set; then
2532    INSTALL=$ac_cv_path_install
2533  else
2534    # As a last resort, use the slow shell script.  We don't cache a
2535    # path for INSTALL within a source directory, because that will
2536    # break other packages using the cache if that directory is
2537    # removed, or if the path is relative.
2538    INSTALL=$ac_install_sh
2539  fi
2540fi
2541echo "$as_me:$LINENO: result: $INSTALL" >&5
2542echo "${ECHO_T}$INSTALL" >&6
2543
2544# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2545# It thinks the first close brace ends the variable substitution.
2546test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2547
2548test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2549
2550test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2551
2552
2553echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
2554echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
2555
2556# Check whether --with-dmalloc or --without-dmalloc was given.
2557if test "${with_dmalloc+set}" = set; then
2558  withval="$with_dmalloc"
2559  if test "$withval" = yes; then
2560  echo "$as_me:$LINENO: result: yes" >&5
2561echo "${ECHO_T}yes" >&6
2562
2563cat >>confdefs.h <<\_ACEOF
2564#define WITH_DMALLOC 1
2565_ACEOF
2566
2567  LIBS="$LIBS -ldmalloc"
2568  LDFLAGS="$LDFLAGS -g"
2569else
2570  echo "$as_me:$LINENO: result: no" >&5
2571echo "${ECHO_T}no" >&6
2572fi
2573else
2574  echo "$as_me:$LINENO: result: no" >&5
2575echo "${ECHO_T}no" >&6
2576fi;
2577
2578
2579                              ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
2580cat >confcache <<\_ACEOF
2581# This file is a shell script that caches the results of configure
2582# tests run on this system so they can be shared between configure
2583# scripts and configure runs, see configure's option --config-cache.
2584# It is not useful on other systems.  If it contains results you don't
2585# want to keep, you may remove or edit it.
2586#
2587# config.status only pays attention to the cache file if you give it
2588# the --recheck option to rerun configure.
2589#
2590# `ac_cv_env_foo' variables (set or unset) will be overridden when
2591# loading this file, other *unset* `ac_cv_foo' will be assigned the
2592# following values.
2593
2594_ACEOF
2595
2596# The following way of writing the cache mishandles newlines in values,
2597# but we know of no workaround that is simple, portable, and efficient.
2598# So, don't put newlines in cache variables' values.
2599# Ultrix sh set writes to stderr and can't be redirected directly,
2600# and sets the high bit in the cache file unless we assign to the vars.
2601{
2602  (set) 2>&1 |
2603    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2604    *ac_space=\ *)
2605      # `set' does not quote correctly, so add quotes (double-quote
2606      # substitution turns \\\\ into \\, and sed turns \\ into \).
2607      sed -n \
2608	"s/'/'\\\\''/g;
2609	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2610      ;;
2611    *)
2612      # `set' quotes correctly as required by POSIX, so do not add quotes.
2613      sed -n \
2614	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2615      ;;
2616    esac;
2617} |
2618  sed '
2619     t clear
2620     : clear
2621     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2622     t end
2623     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2624     : end' >>confcache
2625if diff $cache_file confcache >/dev/null 2>&1; then :; else
2626  if test -w $cache_file; then
2627    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2628    cat confcache >$cache_file
2629  else
2630    echo "not updating unwritable cache $cache_file"
2631  fi
2632fi
2633rm -f confcache
2634
2635test "x$prefix" = xNONE && prefix=$ac_default_prefix
2636# Let make expand exec_prefix.
2637test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2638
2639# VPATH may cause trouble with some makes, so we remove $(srcdir),
2640# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2641# trailing colons and then remove the whole line if VPATH becomes empty
2642# (actually we leave an empty line to preserve line numbers).
2643if test "x$srcdir" = x.; then
2644  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2645s/:*\$(srcdir):*/:/;
2646s/:*\${srcdir}:*/:/;
2647s/:*@srcdir@:*/:/;
2648s/^\([^=]*=[	 ]*\):*/\1/;
2649s/:*$//;
2650s/^[^=]*=[	 ]*$//;
2651}'
2652fi
2653
2654# Transform confdefs.h into DEFS.
2655# Protect against shell expansion while executing Makefile rules.
2656# Protect against Makefile macro expansion.
2657#
2658# If the first sed substitution is executed (which looks for macros that
2659# take arguments), then we branch to the quote section.  Otherwise,
2660# look for a macro that doesn't take arguments.
2661cat >confdef2opt.sed <<\_ACEOF
2662t clear
2663: clear
2664s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
2665t quote
2666s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
2667t quote
2668d
2669: quote
2670s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
2671s,\[,\\&,g
2672s,\],\\&,g
2673s,\$,$$,g
2674p
2675_ACEOF
2676# We use echo to avoid assuming a particular line-breaking character.
2677# The extra dot is to prevent the shell from consuming trailing
2678# line-breaks from the sub-command output.  A line-break within
2679# single-quotes doesn't work because, if this script is created in a
2680# platform that uses two characters for line-breaks (e.g., DOS), tr
2681# would break.
2682ac_LF_and_DOT=`echo; echo .`
2683DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2684rm -f confdef2opt.sed
2685
2686
2687ac_libobjs=
2688ac_ltlibobjs=
2689for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2690  # 1. Remove the extension, and $U if already installed.
2691  ac_i=`echo "$ac_i" |
2692	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2693  # 2. Add them.
2694  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2695  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2696done
2697LIBOBJS=$ac_libobjs
2698
2699LTLIBOBJS=$ac_ltlibobjs
2700
2701
2702
2703: ${CONFIG_STATUS=./config.status}
2704ac_clean_files_save=$ac_clean_files
2705ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2706{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2707echo "$as_me: creating $CONFIG_STATUS" >&6;}
2708cat >$CONFIG_STATUS <<_ACEOF
2709#! $SHELL
2710# Generated by $as_me.
2711# Run this file to recreate the current configuration.
2712# Compiler output produced by configure, useful for debugging
2713# configure, is in config.log if it exists.
2714
2715debug=false
2716ac_cs_recheck=false
2717ac_cs_silent=false
2718SHELL=\${CONFIG_SHELL-$SHELL}
2719_ACEOF
2720
2721cat >>$CONFIG_STATUS <<\_ACEOF
2722## --------------------- ##
2723## M4sh Initialization.  ##
2724## --------------------- ##
2725
2726# Be Bourne compatible
2727if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2728  emulate sh
2729  NULLCMD=:
2730  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2731  # is contrary to our usage.  Disable this feature.
2732  alias -g '${1+"$@"}'='"$@"'
2733elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2734  set -o posix
2735fi
2736DUALCASE=1; export DUALCASE # for MKS sh
2737
2738# Support unset when possible.
2739if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2740  as_unset=unset
2741else
2742  as_unset=false
2743fi
2744
2745
2746# Work around bugs in pre-3.0 UWIN ksh.
2747$as_unset ENV MAIL MAILPATH
2748PS1='$ '
2749PS2='> '
2750PS4='+ '
2751
2752# NLS nuisances.
2753for as_var in \
2754  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2755  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2756  LC_TELEPHONE LC_TIME
2757do
2758  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2759    eval $as_var=C; export $as_var
2760  else
2761    $as_unset $as_var
2762  fi
2763done
2764
2765# Required to use basename.
2766if expr a : '\(a\)' >/dev/null 2>&1; then
2767  as_expr=expr
2768else
2769  as_expr=false
2770fi
2771
2772if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2773  as_basename=basename
2774else
2775  as_basename=false
2776fi
2777
2778
2779# Name of the executable.
2780as_me=`$as_basename "$0" ||
2781$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2782	 X"$0" : 'X\(//\)$' \| \
2783	 X"$0" : 'X\(/\)$' \| \
2784	 .     : '\(.\)' 2>/dev/null ||
2785echo X/"$0" |
2786    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2787  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
2788  	  /^X\/\(\/\).*/{ s//\1/; q; }
2789  	  s/.*/./; q'`
2790
2791
2792# PATH needs CR, and LINENO needs CR and PATH.
2793# Avoid depending upon Character Ranges.
2794as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2795as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2796as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2797as_cr_digits='0123456789'
2798as_cr_alnum=$as_cr_Letters$as_cr_digits
2799
2800# The user is always right.
2801if test "${PATH_SEPARATOR+set}" != set; then
2802  echo "#! /bin/sh" >conf$$.sh
2803  echo  "exit 0"   >>conf$$.sh
2804  chmod +x conf$$.sh
2805  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2806    PATH_SEPARATOR=';'
2807  else
2808    PATH_SEPARATOR=:
2809  fi
2810  rm -f conf$$.sh
2811fi
2812
2813
2814  as_lineno_1=$LINENO
2815  as_lineno_2=$LINENO
2816  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2817  test "x$as_lineno_1" != "x$as_lineno_2" &&
2818  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2819  # Find who we are.  Look in the path if we contain no path at all
2820  # relative or not.
2821  case $0 in
2822    *[\\/]* ) as_myself=$0 ;;
2823    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824for as_dir in $PATH
2825do
2826  IFS=$as_save_IFS
2827  test -z "$as_dir" && as_dir=.
2828  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2829done
2830
2831       ;;
2832  esac
2833  # We did not find ourselves, most probably we were run as `sh COMMAND'
2834  # in which case we are not to be found in the path.
2835  if test "x$as_myself" = x; then
2836    as_myself=$0
2837  fi
2838  if test ! -f "$as_myself"; then
2839    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2840echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2841   { (exit 1); exit 1; }; }
2842  fi
2843  case $CONFIG_SHELL in
2844  '')
2845    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2847do
2848  IFS=$as_save_IFS
2849  test -z "$as_dir" && as_dir=.
2850  for as_base in sh bash ksh sh5; do
2851	 case $as_dir in
2852	 /*)
2853	   if ("$as_dir/$as_base" -c '
2854  as_lineno_1=$LINENO
2855  as_lineno_2=$LINENO
2856  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2857  test "x$as_lineno_1" != "x$as_lineno_2" &&
2858  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2859	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2860	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2861	     CONFIG_SHELL=$as_dir/$as_base
2862	     export CONFIG_SHELL
2863	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2864	   fi;;
2865	 esac
2866       done
2867done
2868;;
2869  esac
2870
2871  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2872  # uniformly replaced by the line number.  The first 'sed' inserts a
2873  # line-number line before each line; the second 'sed' does the real
2874  # work.  The second script uses 'N' to pair each line-number line
2875  # with the numbered line, and appends trailing '-' during
2876  # substitution so that $LINENO is not a special case at line end.
2877  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2878  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2879  sed '=' <$as_myself |
2880    sed '
2881      N
2882      s,$,-,
2883      : loop
2884      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2885      t loop
2886      s,-$,,
2887      s,^['$as_cr_digits']*\n,,
2888    ' >$as_me.lineno &&
2889  chmod +x $as_me.lineno ||
2890    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2891echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2892   { (exit 1); exit 1; }; }
2893
2894  # Don't try to exec as it changes $[0], causing all sort of problems
2895  # (the dirname of $[0] is not the place where we might find the
2896  # original and so on.  Autoconf is especially sensible to this).
2897  . ./$as_me.lineno
2898  # Exit status is that of the last command.
2899  exit
2900}
2901
2902
2903case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2904  *c*,-n*) ECHO_N= ECHO_C='
2905' ECHO_T='	' ;;
2906  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2907  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2908esac
2909
2910if expr a : '\(a\)' >/dev/null 2>&1; then
2911  as_expr=expr
2912else
2913  as_expr=false
2914fi
2915
2916rm -f conf$$ conf$$.exe conf$$.file
2917echo >conf$$.file
2918if ln -s conf$$.file conf$$ 2>/dev/null; then
2919  # We could just check for DJGPP; but this test a) works b) is more generic
2920  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2921  if test -f conf$$.exe; then
2922    # Don't use ln at all; we don't have any links
2923    as_ln_s='cp -p'
2924  else
2925    as_ln_s='ln -s'
2926  fi
2927elif ln conf$$.file conf$$ 2>/dev/null; then
2928  as_ln_s=ln
2929else
2930  as_ln_s='cp -p'
2931fi
2932rm -f conf$$ conf$$.exe conf$$.file
2933
2934if mkdir -p . 2>/dev/null; then
2935  as_mkdir_p=:
2936else
2937  test -d ./-p && rmdir ./-p
2938  as_mkdir_p=false
2939fi
2940
2941as_executable_p="test -f"
2942
2943# Sed expression to map a string onto a valid CPP name.
2944as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2945
2946# Sed expression to map a string onto a valid variable name.
2947as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2948
2949
2950# IFS
2951# We need space, tab and new line, in precisely that order.
2952as_nl='
2953'
2954IFS=" 	$as_nl"
2955
2956# CDPATH.
2957$as_unset CDPATH
2958
2959exec 6>&1
2960
2961# Open the log real soon, to keep \$[0] and so on meaningful, and to
2962# report actual input values of CONFIG_FILES etc. instead of their
2963# values after options handling.  Logging --version etc. is OK.
2964exec 5>>config.log
2965{
2966  echo
2967  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2968## Running $as_me. ##
2969_ASBOX
2970} >&5
2971cat >&5 <<_CSEOF
2972
2973This file was extended by $as_me, which was
2974generated by GNU Autoconf 2.59.  Invocation command line was
2975
2976  CONFIG_FILES    = $CONFIG_FILES
2977  CONFIG_HEADERS  = $CONFIG_HEADERS
2978  CONFIG_LINKS    = $CONFIG_LINKS
2979  CONFIG_COMMANDS = $CONFIG_COMMANDS
2980  $ $0 $@
2981
2982_CSEOF
2983echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2984echo >&5
2985_ACEOF
2986
2987# Files that config.status was made for.
2988if test -n "$ac_config_files"; then
2989  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2990fi
2991
2992if test -n "$ac_config_headers"; then
2993  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2994fi
2995
2996if test -n "$ac_config_links"; then
2997  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2998fi
2999
3000if test -n "$ac_config_commands"; then
3001  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3002fi
3003
3004cat >>$CONFIG_STATUS <<\_ACEOF
3005
3006ac_cs_usage="\
3007\`$as_me' instantiates files from templates according to the
3008current configuration.
3009
3010Usage: $0 [OPTIONS] [FILE]...
3011
3012  -h, --help       print this help, then exit
3013  -V, --version    print version number, then exit
3014  -q, --quiet      do not print progress messages
3015  -d, --debug      don't remove temporary files
3016      --recheck    update $as_me by reconfiguring in the same conditions
3017  --file=FILE[:TEMPLATE]
3018		   instantiate the configuration file FILE
3019
3020Configuration files:
3021$config_files
3022
3023Report bugs to <bug-autoconf@gnu.org>."
3024_ACEOF
3025
3026cat >>$CONFIG_STATUS <<_ACEOF
3027ac_cs_version="\\
3028config.status
3029configured by $0, generated by GNU Autoconf 2.59,
3030  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3031
3032Copyright (C) 2003 Free Software Foundation, Inc.
3033This config.status script is free software; the Free Software Foundation
3034gives unlimited permission to copy, distribute and modify it."
3035srcdir=$srcdir
3036INSTALL="$INSTALL"
3037_ACEOF
3038
3039cat >>$CONFIG_STATUS <<\_ACEOF
3040# If no file are specified by the user, then we need to provide default
3041# value.  By we need to know if files were specified by the user.
3042ac_need_defaults=:
3043while test $# != 0
3044do
3045  case $1 in
3046  --*=*)
3047    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3048    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3049    ac_shift=:
3050    ;;
3051  -*)
3052    ac_option=$1
3053    ac_optarg=$2
3054    ac_shift=shift
3055    ;;
3056  *) # This is not an option, so the user has probably given explicit
3057     # arguments.
3058     ac_option=$1
3059     ac_need_defaults=false;;
3060  esac
3061
3062  case $ac_option in
3063  # Handling of the options.
3064_ACEOF
3065cat >>$CONFIG_STATUS <<\_ACEOF
3066  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3067    ac_cs_recheck=: ;;
3068  --version | --vers* | -V )
3069    echo "$ac_cs_version"; exit 0 ;;
3070  --he | --h)
3071    # Conflict between --help and --header
3072    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3073Try \`$0 --help' for more information." >&5
3074echo "$as_me: error: ambiguous option: $1
3075Try \`$0 --help' for more information." >&2;}
3076   { (exit 1); exit 1; }; };;
3077  --help | --hel | -h )
3078    echo "$ac_cs_usage"; exit 0 ;;
3079  --debug | --d* | -d )
3080    debug=: ;;
3081  --file | --fil | --fi | --f )
3082    $ac_shift
3083    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3084    ac_need_defaults=false;;
3085  --header | --heade | --head | --hea )
3086    $ac_shift
3087    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3088    ac_need_defaults=false;;
3089  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3090  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3091    ac_cs_silent=: ;;
3092
3093  # This is an error.
3094  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3095Try \`$0 --help' for more information." >&5
3096echo "$as_me: error: unrecognized option: $1
3097Try \`$0 --help' for more information." >&2;}
3098   { (exit 1); exit 1; }; } ;;
3099
3100  *) ac_config_targets="$ac_config_targets $1" ;;
3101
3102  esac
3103  shift
3104done
3105
3106ac_configure_extra_args=
3107
3108if $ac_cs_silent; then
3109  exec 6>/dev/null
3110  ac_configure_extra_args="$ac_configure_extra_args --silent"
3111fi
3112
3113_ACEOF
3114cat >>$CONFIG_STATUS <<_ACEOF
3115if \$ac_cs_recheck; then
3116  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3117  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3118fi
3119
3120_ACEOF
3121
3122
3123
3124
3125
3126cat >>$CONFIG_STATUS <<\_ACEOF
3127for ac_config_target in $ac_config_targets
3128do
3129  case "$ac_config_target" in
3130  # Handling of arguments.
3131  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3132  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3133  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3134  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3135echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3136   { (exit 1); exit 1; }; };;
3137  esac
3138done
3139
3140# If the user did not use the arguments to specify the items to instantiate,
3141# then the envvar interface is used.  Set only those that are not.
3142# We use the long form for the default assignment because of an extremely
3143# bizarre bug on SunOS 4.1.3.
3144if $ac_need_defaults; then
3145  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3146fi
3147
3148# Have a temporary directory for convenience.  Make it in the build tree
3149# simply because there is no reason to put it here, and in addition,
3150# creating and moving files from /tmp can sometimes cause problems.
3151# Create a temporary directory, and hook for its removal unless debugging.
3152$debug ||
3153{
3154  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3155  trap '{ (exit 1); exit 1; }' 1 2 13 15
3156}
3157
3158# Create a (secure) tmp directory for tmp files.
3159
3160{
3161  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3162  test -n "$tmp" && test -d "$tmp"
3163}  ||
3164{
3165  tmp=./confstat$$-$RANDOM
3166  (umask 077 && mkdir $tmp)
3167} ||
3168{
3169   echo "$me: cannot create a temporary directory in ." >&2
3170   { (exit 1); exit 1; }
3171}
3172
3173_ACEOF
3174
3175cat >>$CONFIG_STATUS <<_ACEOF
3176
3177#
3178# CONFIG_FILES section.
3179#
3180
3181# No need to generate the scripts if there are no CONFIG_FILES.
3182# This happens for instance when ./config.status config.h
3183if test -n "\$CONFIG_FILES"; then
3184  # Protect against being on the right side of a sed subst in config.status.
3185  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3186   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3187s,@SHELL@,$SHELL,;t t
3188s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3189s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3190s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3191s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3192s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3193s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3194s,@exec_prefix@,$exec_prefix,;t t
3195s,@prefix@,$prefix,;t t
3196s,@program_transform_name@,$program_transform_name,;t t
3197s,@bindir@,$bindir,;t t
3198s,@sbindir@,$sbindir,;t t
3199s,@libexecdir@,$libexecdir,;t t
3200s,@datadir@,$datadir,;t t
3201s,@sysconfdir@,$sysconfdir,;t t
3202s,@sharedstatedir@,$sharedstatedir,;t t
3203s,@localstatedir@,$localstatedir,;t t
3204s,@libdir@,$libdir,;t t
3205s,@includedir@,$includedir,;t t
3206s,@oldincludedir@,$oldincludedir,;t t
3207s,@infodir@,$infodir,;t t
3208s,@mandir@,$mandir,;t t
3209s,@build_alias@,$build_alias,;t t
3210s,@host_alias@,$host_alias,;t t
3211s,@target_alias@,$target_alias,;t t
3212s,@DEFS@,$DEFS,;t t
3213s,@ECHO_C@,$ECHO_C,;t t
3214s,@ECHO_N@,$ECHO_N,;t t
3215s,@ECHO_T@,$ECHO_T,;t t
3216s,@LIBS@,$LIBS,;t t
3217s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3218s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3219s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3220s,@PACKAGE@,$PACKAGE,;t t
3221s,@VERSION@,$VERSION,;t t
3222s,@ACLOCAL@,$ACLOCAL,;t t
3223s,@AUTOCONF@,$AUTOCONF,;t t
3224s,@AUTOMAKE@,$AUTOMAKE,;t t
3225s,@AUTOHEADER@,$AUTOHEADER,;t t
3226s,@MAKEINFO@,$MAKEINFO,;t t
3227s,@SET_MAKE@,$SET_MAKE,;t t
3228s,@CC@,$CC,;t t
3229s,@CFLAGS@,$CFLAGS,;t t
3230s,@LDFLAGS@,$LDFLAGS,;t t
3231s,@CPPFLAGS@,$CPPFLAGS,;t t
3232s,@ac_ct_CC@,$ac_ct_CC,;t t
3233s,@EXEEXT@,$EXEEXT,;t t
3234s,@OBJEXT@,$OBJEXT,;t t
3235s,@LIBOBJS@,$LIBOBJS,;t t
3236s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3237CEOF
3238
3239_ACEOF
3240
3241  cat >>$CONFIG_STATUS <<\_ACEOF
3242  # Split the substitutions into bite-sized pieces for seds with
3243  # small command number limits, like on Digital OSF/1 and HP-UX.
3244  ac_max_sed_lines=48
3245  ac_sed_frag=1 # Number of current file.
3246  ac_beg=1 # First line for current file.
3247  ac_end=$ac_max_sed_lines # Line after last line for current file.
3248  ac_more_lines=:
3249  ac_sed_cmds=
3250  while $ac_more_lines; do
3251    if test $ac_beg -gt 1; then
3252      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3253    else
3254      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3255    fi
3256    if test ! -s $tmp/subs.frag; then
3257      ac_more_lines=false
3258    else
3259      # The purpose of the label and of the branching condition is to
3260      # speed up the sed processing (if there are no `@' at all, there
3261      # is no need to browse any of the substitutions).
3262      # These are the two extra sed commands mentioned above.
3263      (echo ':t
3264  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3265      if test -z "$ac_sed_cmds"; then
3266	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3267      else
3268	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3269      fi
3270      ac_sed_frag=`expr $ac_sed_frag + 1`
3271      ac_beg=$ac_end
3272      ac_end=`expr $ac_end + $ac_max_sed_lines`
3273    fi
3274  done
3275  if test -z "$ac_sed_cmds"; then
3276    ac_sed_cmds=cat
3277  fi
3278fi # test -n "$CONFIG_FILES"
3279
3280_ACEOF
3281cat >>$CONFIG_STATUS <<\_ACEOF
3282for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3283  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3284  case $ac_file in
3285  - | *:- | *:-:* ) # input from stdin
3286	cat >$tmp/stdin
3287	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3288	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3289  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3290	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3291  * )   ac_file_in=$ac_file.in ;;
3292  esac
3293
3294  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3295  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3296$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3297	 X"$ac_file" : 'X\(//\)[^/]' \| \
3298	 X"$ac_file" : 'X\(//\)$' \| \
3299	 X"$ac_file" : 'X\(/\)' \| \
3300	 .     : '\(.\)' 2>/dev/null ||
3301echo X"$ac_file" |
3302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3303  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3304  	  /^X\(\/\/\)$/{ s//\1/; q; }
3305  	  /^X\(\/\).*/{ s//\1/; q; }
3306  	  s/.*/./; q'`
3307  { if $as_mkdir_p; then
3308    mkdir -p "$ac_dir"
3309  else
3310    as_dir="$ac_dir"
3311    as_dirs=
3312    while test ! -d "$as_dir"; do
3313      as_dirs="$as_dir $as_dirs"
3314      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3315$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3316	 X"$as_dir" : 'X\(//\)[^/]' \| \
3317	 X"$as_dir" : 'X\(//\)$' \| \
3318	 X"$as_dir" : 'X\(/\)' \| \
3319	 .     : '\(.\)' 2>/dev/null ||
3320echo X"$as_dir" |
3321    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3322  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3323  	  /^X\(\/\/\)$/{ s//\1/; q; }
3324  	  /^X\(\/\).*/{ s//\1/; q; }
3325  	  s/.*/./; q'`
3326    done
3327    test ! -n "$as_dirs" || mkdir $as_dirs
3328  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3329echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3330   { (exit 1); exit 1; }; }; }
3331
3332  ac_builddir=.
3333
3334if test "$ac_dir" != .; then
3335  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3336  # A "../" for each directory in $ac_dir_suffix.
3337  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3338else
3339  ac_dir_suffix= ac_top_builddir=
3340fi
3341
3342case $srcdir in
3343  .)  # No --srcdir option.  We are building in place.
3344    ac_srcdir=.
3345    if test -z "$ac_top_builddir"; then
3346       ac_top_srcdir=.
3347    else
3348       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3349    fi ;;
3350  [\\/]* | ?:[\\/]* )  # Absolute path.
3351    ac_srcdir=$srcdir$ac_dir_suffix;
3352    ac_top_srcdir=$srcdir ;;
3353  *) # Relative path.
3354    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3355    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3356esac
3357
3358# Do not use `cd foo && pwd` to compute absolute paths, because
3359# the directories may not exist.
3360case `pwd` in
3361.) ac_abs_builddir="$ac_dir";;
3362*)
3363  case "$ac_dir" in
3364  .) ac_abs_builddir=`pwd`;;
3365  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3366  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3367  esac;;
3368esac
3369case $ac_abs_builddir in
3370.) ac_abs_top_builddir=${ac_top_builddir}.;;
3371*)
3372  case ${ac_top_builddir}. in
3373  .) ac_abs_top_builddir=$ac_abs_builddir;;
3374  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3375  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3376  esac;;
3377esac
3378case $ac_abs_builddir in
3379.) ac_abs_srcdir=$ac_srcdir;;
3380*)
3381  case $ac_srcdir in
3382  .) ac_abs_srcdir=$ac_abs_builddir;;
3383  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3384  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3385  esac;;
3386esac
3387case $ac_abs_builddir in
3388.) ac_abs_top_srcdir=$ac_top_srcdir;;
3389*)
3390  case $ac_top_srcdir in
3391  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3392  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3393  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3394  esac;;
3395esac
3396
3397
3398  case $INSTALL in
3399  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3400  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3401  esac
3402
3403  # Let's still pretend it is `configure' which instantiates (i.e., don't
3404  # use $as_me), people would be surprised to read:
3405  #    /* config.h.  Generated by config.status.  */
3406  if test x"$ac_file" = x-; then
3407    configure_input=
3408  else
3409    configure_input="$ac_file.  "
3410  fi
3411  configure_input=$configure_input"Generated from `echo $ac_file_in |
3412				     sed 's,.*/,,'` by configure."
3413
3414  # First look for the input files in the build tree, otherwise in the
3415  # src tree.
3416  ac_file_inputs=`IFS=:
3417    for f in $ac_file_in; do
3418      case $f in
3419      -) echo $tmp/stdin ;;
3420      [\\/$]*)
3421	 # Absolute (can't be DOS-style, as IFS=:)
3422	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3423echo "$as_me: error: cannot find input file: $f" >&2;}
3424   { (exit 1); exit 1; }; }
3425	 echo "$f";;
3426      *) # Relative
3427	 if test -f "$f"; then
3428	   # Build tree
3429	   echo "$f"
3430	 elif test -f "$srcdir/$f"; then
3431	   # Source tree
3432	   echo "$srcdir/$f"
3433	 else
3434	   # /dev/null tree
3435	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3436echo "$as_me: error: cannot find input file: $f" >&2;}
3437   { (exit 1); exit 1; }; }
3438	 fi;;
3439      esac
3440    done` || { (exit 1); exit 1; }
3441
3442  if test x"$ac_file" != x-; then
3443    { echo "$as_me:$LINENO: creating $ac_file" >&5
3444echo "$as_me: creating $ac_file" >&6;}
3445    rm -f "$ac_file"
3446  fi
3447_ACEOF
3448cat >>$CONFIG_STATUS <<_ACEOF
3449  sed "$ac_vpsub
3450$extrasub
3451_ACEOF
3452cat >>$CONFIG_STATUS <<\_ACEOF
3453:t
3454/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3455s,@configure_input@,$configure_input,;t t
3456s,@srcdir@,$ac_srcdir,;t t
3457s,@abs_srcdir@,$ac_abs_srcdir,;t t
3458s,@top_srcdir@,$ac_top_srcdir,;t t
3459s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3460s,@builddir@,$ac_builddir,;t t
3461s,@abs_builddir@,$ac_abs_builddir,;t t
3462s,@top_builddir@,$ac_top_builddir,;t t
3463s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3464s,@INSTALL@,$ac_INSTALL,;t t
3465" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3466  rm -f $tmp/stdin
3467  if test x"$ac_file" != x-; then
3468    mv $tmp/out $ac_file
3469  else
3470    cat $tmp/out
3471    rm -f $tmp/out
3472  fi
3473
3474done
3475_ACEOF
3476
3477cat >>$CONFIG_STATUS <<\_ACEOF
3478
3479{ (exit 0); exit 0; }
3480_ACEOF
3481chmod +x $CONFIG_STATUS
3482ac_clean_files=$ac_clean_files_save
3483
3484
3485# configure is writing to config.log, and then calls config.status.
3486# config.status does its own redirection, appending to config.log.
3487# Unfortunately, on DOS this fails, as config.log is still kept open
3488# by configure, so config.status won't be able to write to it; its
3489# output is simply discarded.  So we exec the FD to /dev/null,
3490# effectively closing config.log, so it can be properly (re)opened and
3491# appended to by config.status.  When coming back to configure, we
3492# need to make the FD available again.
3493if test "$no_create" != yes; then
3494  ac_cs_success=:
3495  ac_config_status_args=
3496  test "$silent" = yes &&
3497    ac_config_status_args="$ac_config_status_args --quiet"
3498  exec 5>/dev/null
3499  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3500  exec 5>>config.log
3501  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3502  # would make configure fail if this is the last instruction.
3503  $ac_cs_success || { (exit 1); exit 1; }
3504fi
3505
3506
3507