ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/configure
Revision: 1.1
Committed: Sat Jan 21 22:54:49 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.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
13     if 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+"$@"}'='"$@"'
19     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20     set -o posix
21     fi
22     DUALCASE=1; export DUALCASE # for MKS sh
23    
24     # Support unset when possible.
25     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26     as_unset=unset
27     else
28     as_unset=false
29     fi
30    
31    
32     # Work around bugs in pre-3.0 UWIN ksh.
33     $as_unset ENV MAIL MAILPATH
34     PS1='$ '
35     PS2='> '
36     PS4='+ '
37    
38     # NLS nuisances.
39     for 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
43     do
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
49     done
50    
51     # Required to use basename.
52     if expr a : '\(a\)' >/dev/null 2>&1; then
53     as_expr=expr
54     else
55     as_expr=false
56     fi
57    
58     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59     as_basename=basename
60     else
61     as_basename=false
62     fi
63    
64    
65     # Name of the executable.
66     as_me=`$as_basename "$0" ||
67     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68     X"$0" : 'X\(//\)$' \| \
69     X"$0" : 'X\(/\)$' \| \
70     . : '\(.\)' 2>/dev/null ||
71     echo 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.
80     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83     as_cr_digits='0123456789'
84     as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86     # The user is always right.
87     if 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
97     fi
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
110     for as_dir in $PATH
111     do
112     IFS=$as_save_IFS
113     test -z "$as_dir" && as_dir=.
114     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115     done
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
131     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132     do
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
152     done
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    
187     case `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= ;;
192     esac
193    
194     if expr a : '\(a\)' >/dev/null 2>&1; then
195     as_expr=expr
196     else
197     as_expr=false
198     fi
199    
200     rm -f conf$$ conf$$.exe conf$$.file
201     echo >conf$$.file
202     if 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
211     elif ln conf$$.file conf$$ 2>/dev/null; then
212     as_ln_s=ln
213     else
214     as_ln_s='cp -p'
215     fi
216     rm -f conf$$ conf$$.exe conf$$.file
217    
218     if mkdir -p . 2>/dev/null; then
219     as_mkdir_p=:
220     else
221     test -d ./-p && rmdir ./-p
222     as_mkdir_p=false
223     fi
224    
225     as_executable_p="test -f"
226    
227     # Sed expression to map a string onto a valid CPP name.
228     as_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.
231     as_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.
236     as_nl='
237     '
238     IFS=" $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.
247     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248    
249     exec 6>&1
250    
251     #
252     # Initializations.
253     #
254     ac_default_prefix=/usr/local
255     ac_config_libobj_dir=.
256     cross_compiling=no
257     subdirs=
258     MFLAGS=
259     MAKEFLAGS=
260     SHELL=${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.
268     PACKAGE_NAME=
269     PACKAGE_TARNAME=
270     PACKAGE_VERSION=
271     PACKAGE_STRING=
272     PACKAGE_BUGREPORT=
273    
274     ac_unique_file="src/logging.C"
275     ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
276     ac_subst_files=''
277    
278     # Initialize some variables set by options.
279     ac_init_help=
280     ac_init_version=false
281     # The variables have the same names as the options, with
282     # dashes changed to underlines.
283     cache_file=/dev/null
284     exec_prefix=NONE
285     no_create=
286     no_recursion=
287     prefix=NONE
288     program_prefix=NONE
289     program_suffix=NONE
290     program_transform_name=s,x,x,
291     silent=
292     site=
293     srcdir=
294     verbose=
295     x_includes=NONE
296     x_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.
303     bindir='${exec_prefix}/bin'
304     sbindir='${exec_prefix}/sbin'
305     libexecdir='${exec_prefix}/libexec'
306     datadir='${prefix}/share'
307     sysconfdir='${prefix}/etc'
308     sharedstatedir='${prefix}/com'
309     localstatedir='${prefix}/var'
310     libdir='${exec_prefix}/lib'
311     includedir='${prefix}/include'
312     oldincludedir='/usr/include'
313     infodir='${prefix}/info'
314     mandir='${prefix}/man'
315    
316     ac_prev=
317     for ac_option
318     do
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
590     Try \`$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
613     done
614    
615     if 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; }; }
619     fi
620    
621     # Be sure to have absolute paths.
622     for ac_var in exec_prefix prefix
623     do
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
630     done
631    
632     # Be sure to have absolute paths.
633     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634     localstatedir libdir includedir oldincludedir infodir mandir
635     do
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
642     done
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.
647     build=$build_alias
648     host=$host_alias
649     target=$target_alias
650    
651     # FIXME: To remove some day.
652     if 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
660     fi
661    
662     ac_tool_prefix=
663     test -n "$host_alias" && ac_tool_prefix=$host_alias-
664    
665     test "$silent" = yes && exec 6>/dev/null
666    
667    
668     # Find the source files, if location was not specified.
669     if 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 ||
678     echo 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
688     else
689     ac_srcdir_defaulted=no
690     fi
691     if 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
699     fi
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; }; }
703     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704     ac_env_build_alias_set=${build_alias+set}
705     ac_env_build_alias_value=$build_alias
706     ac_cv_env_build_alias_set=${build_alias+set}
707     ac_cv_env_build_alias_value=$build_alias
708     ac_env_host_alias_set=${host_alias+set}
709     ac_env_host_alias_value=$host_alias
710     ac_cv_env_host_alias_set=${host_alias+set}
711     ac_cv_env_host_alias_value=$host_alias
712     ac_env_target_alias_set=${target_alias+set}
713     ac_env_target_alias_value=$target_alias
714     ac_cv_env_target_alias_set=${target_alias+set}
715     ac_cv_env_target_alias_value=$target_alias
716     ac_env_CXX_set=${CXX+set}
717     ac_env_CXX_value=$CXX
718     ac_cv_env_CXX_set=${CXX+set}
719     ac_cv_env_CXX_value=$CXX
720     ac_env_CXXFLAGS_set=${CXXFLAGS+set}
721     ac_env_CXXFLAGS_value=$CXXFLAGS
722     ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
723     ac_cv_env_CXXFLAGS_value=$CXXFLAGS
724     ac_env_LDFLAGS_set=${LDFLAGS+set}
725     ac_env_LDFLAGS_value=$LDFLAGS
726     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727     ac_cv_env_LDFLAGS_value=$LDFLAGS
728     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729     ac_env_CPPFLAGS_value=$CPPFLAGS
730     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732    
733     #
734     # Report the --help message.
735     #
736     if 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    
742     Usage: $0 [OPTION]... [VAR=VALUE]...
743    
744     To assign environment variables (e.g., CC, CFLAGS...), specify them as
745     VAR=VALUE. See below for descriptions of some of the useful variables.
746    
747     Defaults for the options are specified in brackets.
748    
749     Configuration:
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
763     Installation 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    
769     By default, \`make install' will install all the files in
770     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772     for instance \`--prefix=\$HOME'.
773    
774     For better control, use the options below.
775    
776     Fine 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    
793     System types:
794     --build=BUILD configure for building on BUILD [guessed]
795     --host=HOST cross-compile to build programs to run on HOST [BUILD]
796     _ACEOF
797     fi
798    
799     if test -n "$ac_init_help"; then
800    
801     cat <<\_ACEOF
802    
803     Some influential environment variables:
804     CXX C++ compiler command
805     CXXFLAGS C++ compiler flags
806     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
807     nonstandard directory <lib dir>
808     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
809     headers in a nonstandard directory <include dir>
810    
811     Use these variables to override the choices made by `configure' or to help
812     it to find libraries and programs with nonstandard names/locations.
813    
814     _ACEOF
815     fi
816    
817     if test "$ac_init_help" = "recursive"; then
818     # If there are subdirs, report their specific --help.
819     ac_popdir=`pwd`
820     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821     test -d $ac_dir || continue
822     ac_builddir=.
823    
824     if test "$ac_dir" != .; then
825     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
826     # A "../" for each directory in $ac_dir_suffix.
827     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
828     else
829     ac_dir_suffix= ac_top_builddir=
830     fi
831    
832     case $srcdir in
833     .) # No --srcdir option. We are building in place.
834     ac_srcdir=.
835     if test -z "$ac_top_builddir"; then
836     ac_top_srcdir=.
837     else
838     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
839     fi ;;
840     [\\/]* | ?:[\\/]* ) # Absolute path.
841     ac_srcdir=$srcdir$ac_dir_suffix;
842     ac_top_srcdir=$srcdir ;;
843     *) # Relative path.
844     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845     ac_top_srcdir=$ac_top_builddir$srcdir ;;
846     esac
847    
848     # Do not use `cd foo && pwd` to compute absolute paths, because
849     # the directories may not exist.
850     case `pwd` in
851     .) ac_abs_builddir="$ac_dir";;
852     *)
853     case "$ac_dir" in
854     .) ac_abs_builddir=`pwd`;;
855     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
856     *) ac_abs_builddir=`pwd`/"$ac_dir";;
857     esac;;
858     esac
859     case $ac_abs_builddir in
860     .) ac_abs_top_builddir=${ac_top_builddir}.;;
861     *)
862     case ${ac_top_builddir}. in
863     .) ac_abs_top_builddir=$ac_abs_builddir;;
864     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
865     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
866     esac;;
867     esac
868     case $ac_abs_builddir in
869     .) ac_abs_srcdir=$ac_srcdir;;
870     *)
871     case $ac_srcdir in
872     .) ac_abs_srcdir=$ac_abs_builddir;;
873     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
874     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
875     esac;;
876     esac
877     case $ac_abs_builddir in
878     .) ac_abs_top_srcdir=$ac_top_srcdir;;
879     *)
880     case $ac_top_srcdir in
881     .) ac_abs_top_srcdir=$ac_abs_builddir;;
882     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
883     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
884     esac;;
885     esac
886    
887     cd $ac_dir
888     # Check for guested configure; otherwise get Cygnus style configure.
889     if test -f $ac_srcdir/configure.gnu; then
890     echo
891     $SHELL $ac_srcdir/configure.gnu --help=recursive
892     elif test -f $ac_srcdir/configure; then
893     echo
894     $SHELL $ac_srcdir/configure --help=recursive
895     elif test -f $ac_srcdir/configure.ac ||
896     test -f $ac_srcdir/configure.in; then
897     echo
898     $ac_configure --help
899     else
900     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
901     fi
902     cd "$ac_popdir"
903     done
904     fi
905    
906     test -n "$ac_init_help" && exit 0
907     if $ac_init_version; then
908     cat <<\_ACEOF
909    
910     Copyright (C) 2003 Free Software Foundation, Inc.
911     This configure script is free software; the Free Software Foundation
912     gives unlimited permission to copy, distribute and modify it.
913     _ACEOF
914     exit 0
915     fi
916     exec 5>config.log
917     cat >&5 <<_ACEOF
918     This file contains any messages produced by compilers while
919     running configure, to aid debugging if configure makes a mistake.
920    
921     It was created by $as_me, which was
922     generated by GNU Autoconf 2.59. Invocation command line was
923    
924     $ $0 $@
925    
926     _ACEOF
927     {
928     cat <<_ASUNAME
929     ## --------- ##
930     ## Platform. ##
931     ## --------- ##
932    
933     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
934     uname -m = `(uname -m) 2>/dev/null || echo unknown`
935     uname -r = `(uname -r) 2>/dev/null || echo unknown`
936     uname -s = `(uname -s) 2>/dev/null || echo unknown`
937     uname -v = `(uname -v) 2>/dev/null || echo unknown`
938    
939     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
940     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
941    
942     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
943     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
944     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
945     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
946     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
947     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
948     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
949    
950     _ASUNAME
951    
952     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
953     for as_dir in $PATH
954     do
955     IFS=$as_save_IFS
956     test -z "$as_dir" && as_dir=.
957     echo "PATH: $as_dir"
958     done
959    
960     } >&5
961    
962     cat >&5 <<_ACEOF
963    
964    
965     ## ----------- ##
966     ## Core tests. ##
967     ## ----------- ##
968    
969     _ACEOF
970    
971    
972     # Keep a trace of the command line.
973     # Strip out --no-create and --no-recursion so they do not pile up.
974     # Strip out --silent because we don't want to record it for future runs.
975     # Also quote any args containing shell meta-characters.
976     # Make two passes to allow for proper duplicate-argument suppression.
977     ac_configure_args=
978     ac_configure_args0=
979     ac_configure_args1=
980     ac_sep=
981     ac_must_keep_next=false
982     for ac_pass in 1 2
983     do
984     for ac_arg
985     do
986     case $ac_arg in
987     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
988     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989     | -silent | --silent | --silen | --sile | --sil)
990     continue ;;
991     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
992     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
993     esac
994     case $ac_pass in
995     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
996     2)
997     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
998     if test $ac_must_keep_next = true; then
999     ac_must_keep_next=false # Got value, back to normal.
1000     else
1001     case $ac_arg in
1002     *=* | --config-cache | -C | -disable-* | --disable-* \
1003     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1004     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1005     | -with-* | --with-* | -without-* | --without-* | --x)
1006     case "$ac_configure_args0 " in
1007     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1008     esac
1009     ;;
1010     -* ) ac_must_keep_next=true ;;
1011     esac
1012     fi
1013     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1014     # Get rid of the leading space.
1015     ac_sep=" "
1016     ;;
1017     esac
1018     done
1019     done
1020     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1021     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1022    
1023     # When interrupted or exit'd, cleanup temporary files, and complete
1024     # config.log. We remove comments because anyway the quotes in there
1025     # would cause problems or look ugly.
1026     # WARNING: Be sure not to use single quotes in there, as some shells,
1027     # such as our DU 5.0 friend, will then `close' the trap.
1028     trap 'exit_status=$?
1029     # Save into config.log some information that might help in debugging.
1030     {
1031     echo
1032    
1033     cat <<\_ASBOX
1034     ## ---------------- ##
1035     ## Cache variables. ##
1036     ## ---------------- ##
1037     _ASBOX
1038     echo
1039     # The following way of writing the cache mishandles newlines in values,
1040     {
1041     (set) 2>&1 |
1042     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1043     *ac_space=\ *)
1044     sed -n \
1045     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1046     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1047     ;;
1048     *)
1049     sed -n \
1050     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1051     ;;
1052     esac;
1053     }
1054     echo
1055    
1056     cat <<\_ASBOX
1057     ## ----------------- ##
1058     ## Output variables. ##
1059     ## ----------------- ##
1060     _ASBOX
1061     echo
1062     for ac_var in $ac_subst_vars
1063     do
1064     eval ac_val=$`echo $ac_var`
1065     echo "$ac_var='"'"'$ac_val'"'"'"
1066     done | sort
1067     echo
1068    
1069     if test -n "$ac_subst_files"; then
1070     cat <<\_ASBOX
1071     ## ------------- ##
1072     ## Output files. ##
1073     ## ------------- ##
1074     _ASBOX
1075     echo
1076     for ac_var in $ac_subst_files
1077     do
1078     eval ac_val=$`echo $ac_var`
1079     echo "$ac_var='"'"'$ac_val'"'"'"
1080     done | sort
1081     echo
1082     fi
1083    
1084     if test -s confdefs.h; then
1085     cat <<\_ASBOX
1086     ## ----------- ##
1087     ## confdefs.h. ##
1088     ## ----------- ##
1089     _ASBOX
1090     echo
1091     sed "/^$/d" confdefs.h | sort
1092     echo
1093     fi
1094     test "$ac_signal" != 0 &&
1095     echo "$as_me: caught signal $ac_signal"
1096     echo "$as_me: exit $exit_status"
1097     } >&5
1098     rm -f core *.core &&
1099     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1100     exit $exit_status
1101     ' 0
1102     for ac_signal in 1 2 13 15; do
1103     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1104     done
1105     ac_signal=0
1106    
1107     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1108     rm -rf conftest* confdefs.h
1109     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1110     echo >confdefs.h
1111    
1112     # Predefined preprocessor variables.
1113    
1114     cat >>confdefs.h <<_ACEOF
1115     #define PACKAGE_NAME "$PACKAGE_NAME"
1116     _ACEOF
1117    
1118    
1119     cat >>confdefs.h <<_ACEOF
1120     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1121     _ACEOF
1122    
1123    
1124     cat >>confdefs.h <<_ACEOF
1125     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1126     _ACEOF
1127    
1128    
1129     cat >>confdefs.h <<_ACEOF
1130     #define PACKAGE_STRING "$PACKAGE_STRING"
1131     _ACEOF
1132    
1133    
1134     cat >>confdefs.h <<_ACEOF
1135     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1136     _ACEOF
1137    
1138    
1139     # Let the site file select an alternate cache file if it wants to.
1140     # Prefer explicitly selected file to automatically selected ones.
1141     if test -z "$CONFIG_SITE"; then
1142     if test "x$prefix" != xNONE; then
1143     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1144     else
1145     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1146     fi
1147     fi
1148     for ac_site_file in $CONFIG_SITE; do
1149     if test -r "$ac_site_file"; then
1150     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1151     echo "$as_me: loading site script $ac_site_file" >&6;}
1152     sed 's/^/| /' "$ac_site_file" >&5
1153     . "$ac_site_file"
1154     fi
1155     done
1156    
1157     if test -r "$cache_file"; then
1158     # Some versions of bash will fail to source /dev/null (special
1159     # files actually), so we avoid doing that.
1160     if test -f "$cache_file"; then
1161     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1162     echo "$as_me: loading cache $cache_file" >&6;}
1163     case $cache_file in
1164     [\\/]* | ?:[\\/]* ) . $cache_file;;
1165     *) . ./$cache_file;;
1166     esac
1167     fi
1168     else
1169     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1170     echo "$as_me: creating cache $cache_file" >&6;}
1171     >$cache_file
1172     fi
1173    
1174     # Check that the precious variables saved in the cache have kept the same
1175     # value.
1176     ac_cache_corrupted=false
1177     for ac_var in `(set) 2>&1 |
1178     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1179     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1180     eval ac_new_set=\$ac_env_${ac_var}_set
1181     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1182     eval ac_new_val="\$ac_env_${ac_var}_value"
1183     case $ac_old_set,$ac_new_set in
1184     set,)
1185     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1186     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1187     ac_cache_corrupted=: ;;
1188     ,set)
1189     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1190     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1191     ac_cache_corrupted=: ;;
1192     ,);;
1193     *)
1194     if test "x$ac_old_val" != "x$ac_new_val"; then
1195     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1196     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1197     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1198     echo "$as_me: former value: $ac_old_val" >&2;}
1199     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1200     echo "$as_me: current value: $ac_new_val" >&2;}
1201     ac_cache_corrupted=:
1202     fi;;
1203     esac
1204     # Pass precious variables to config.status.
1205     if test "$ac_new_set" = set; then
1206     case $ac_new_val in
1207     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1208     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1209     *) ac_arg=$ac_var=$ac_new_val ;;
1210     esac
1211     case " $ac_configure_args " in
1212     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1213     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1214     esac
1215     fi
1216     done
1217     if $ac_cache_corrupted; then
1218     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1219     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1220     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1221     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1222     { (exit 1); exit 1; }; }
1223     fi
1224    
1225     ac_ext=c
1226     ac_cpp='$CPP $CPPFLAGS'
1227     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1228     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1229     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1230    
1231    
1232    
1233    
1234    
1235    
1236    
1237    
1238    
1239    
1240    
1241    
1242    
1243    
1244    
1245    
1246    
1247    
1248    
1249    
1250    
1251     ac_config_headers="$ac_config_headers config.h:config.h.in"
1252    
1253    
1254     ac_aux_dir=
1255     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1256     if test -f $ac_dir/install-sh; then
1257     ac_aux_dir=$ac_dir
1258     ac_install_sh="$ac_aux_dir/install-sh -c"
1259     break
1260     elif test -f $ac_dir/install.sh; then
1261     ac_aux_dir=$ac_dir
1262     ac_install_sh="$ac_aux_dir/install.sh -c"
1263     break
1264     elif test -f $ac_dir/shtool; then
1265     ac_aux_dir=$ac_dir
1266     ac_install_sh="$ac_aux_dir/shtool install -c"
1267     break
1268     fi
1269     done
1270     if test -z "$ac_aux_dir"; then
1271     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1272     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1273     { (exit 1); exit 1; }; }
1274     fi
1275     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1276     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1277     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1278    
1279     # Make sure we can run config.sub.
1280     $ac_config_sub sun4 >/dev/null 2>&1 ||
1281     { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1282     echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1283     { (exit 1); exit 1; }; }
1284    
1285     echo "$as_me:$LINENO: checking build system type" >&5
1286     echo $ECHO_N "checking build system type... $ECHO_C" >&6
1287     if test "${ac_cv_build+set}" = set; then
1288     echo $ECHO_N "(cached) $ECHO_C" >&6
1289     else
1290     ac_cv_build_alias=$build_alias
1291     test -z "$ac_cv_build_alias" &&
1292     ac_cv_build_alias=`$ac_config_guess`
1293     test -z "$ac_cv_build_alias" &&
1294     { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1295     echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1296     { (exit 1); exit 1; }; }
1297     ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1298     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1299     echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1300     { (exit 1); exit 1; }; }
1301    
1302     fi
1303     echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1304     echo "${ECHO_T}$ac_cv_build" >&6
1305     build=$ac_cv_build
1306     build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1307     build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1308     build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1309    
1310    
1311     echo "$as_me:$LINENO: checking host system type" >&5
1312     echo $ECHO_N "checking host system type... $ECHO_C" >&6
1313     if test "${ac_cv_host+set}" = set; then
1314     echo $ECHO_N "(cached) $ECHO_C" >&6
1315     else
1316     ac_cv_host_alias=$host_alias
1317     test -z "$ac_cv_host_alias" &&
1318     ac_cv_host_alias=$ac_cv_build_alias
1319     ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1320     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1321     echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1322     { (exit 1); exit 1; }; }
1323    
1324     fi
1325     echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1326     echo "${ECHO_T}$ac_cv_host" >&6
1327     host=$ac_cv_host
1328     host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1329     host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1330     host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1331    
1332    
1333    
1334     ac_ext=cc
1335     ac_cpp='$CXXCPP $CPPFLAGS'
1336     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1337     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1338     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1339     if test -n "$ac_tool_prefix"; then
1340     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1341     do
1342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1343     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1344     echo "$as_me:$LINENO: checking for $ac_word" >&5
1345     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346     if test "${ac_cv_prog_CXX+set}" = set; then
1347     echo $ECHO_N "(cached) $ECHO_C" >&6
1348     else
1349     if test -n "$CXX"; then
1350     ac_cv_prog_CXX="$CXX" # Let the user override the test.
1351     else
1352     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353     for as_dir in $PATH
1354     do
1355     IFS=$as_save_IFS
1356     test -z "$as_dir" && as_dir=.
1357     for ac_exec_ext in '' $ac_executable_extensions; do
1358     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1361     break 2
1362     fi
1363     done
1364     done
1365    
1366     fi
1367     fi
1368     CXX=$ac_cv_prog_CXX
1369     if test -n "$CXX"; then
1370     echo "$as_me:$LINENO: result: $CXX" >&5
1371     echo "${ECHO_T}$CXX" >&6
1372     else
1373     echo "$as_me:$LINENO: result: no" >&5
1374     echo "${ECHO_T}no" >&6
1375     fi
1376    
1377     test -n "$CXX" && break
1378     done
1379     fi
1380     if test -z "$CXX"; then
1381     ac_ct_CXX=$CXX
1382     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1383     do
1384     # Extract the first word of "$ac_prog", so it can be a program name with args.
1385     set dummy $ac_prog; ac_word=$2
1386     echo "$as_me:$LINENO: checking for $ac_word" >&5
1387     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1388     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1389     echo $ECHO_N "(cached) $ECHO_C" >&6
1390     else
1391     if test -n "$ac_ct_CXX"; then
1392     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1393     else
1394     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395     for as_dir in $PATH
1396     do
1397     IFS=$as_save_IFS
1398     test -z "$as_dir" && as_dir=.
1399     for ac_exec_ext in '' $ac_executable_extensions; do
1400     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1401     ac_cv_prog_ac_ct_CXX="$ac_prog"
1402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403     break 2
1404     fi
1405     done
1406     done
1407    
1408     fi
1409     fi
1410     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1411     if test -n "$ac_ct_CXX"; then
1412     echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1413     echo "${ECHO_T}$ac_ct_CXX" >&6
1414     else
1415     echo "$as_me:$LINENO: result: no" >&5
1416     echo "${ECHO_T}no" >&6
1417     fi
1418    
1419     test -n "$ac_ct_CXX" && break
1420     done
1421     test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1422    
1423     CXX=$ac_ct_CXX
1424     fi
1425    
1426    
1427     # Provide some information about the compiler.
1428     echo "$as_me:$LINENO:" \
1429     "checking for C++ compiler version" >&5
1430     ac_compiler=`set X $ac_compile; echo $2`
1431     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1432     (eval $ac_compiler --version </dev/null >&5) 2>&5
1433     ac_status=$?
1434     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1435     (exit $ac_status); }
1436     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1437     (eval $ac_compiler -v </dev/null >&5) 2>&5
1438     ac_status=$?
1439     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1440     (exit $ac_status); }
1441     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1442     (eval $ac_compiler -V </dev/null >&5) 2>&5
1443     ac_status=$?
1444     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1445     (exit $ac_status); }
1446    
1447     cat >conftest.$ac_ext <<_ACEOF
1448     /* confdefs.h. */
1449     _ACEOF
1450     cat confdefs.h >>conftest.$ac_ext
1451     cat >>conftest.$ac_ext <<_ACEOF
1452     /* end confdefs.h. */
1453    
1454     int
1455     main ()
1456     {
1457    
1458     ;
1459     return 0;
1460     }
1461     _ACEOF
1462     ac_clean_files_save=$ac_clean_files
1463     ac_clean_files="$ac_clean_files a.out a.exe b.out"
1464     # Try to create an executable without -o first, disregard a.out.
1465     # It will help us diagnose broken compilers, and finding out an intuition
1466     # of exeext.
1467     echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1468     echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1469     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1470     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1471     (eval $ac_link_default) 2>&5
1472     ac_status=$?
1473     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1474     (exit $ac_status); }; then
1475     # Find the output, starting from the most likely. This scheme is
1476     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1477     # resort.
1478    
1479     # Be careful to initialize this variable, since it used to be cached.
1480     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1481     ac_cv_exeext=
1482     # b.out is created by i960 compilers.
1483     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1484     do
1485     test -f "$ac_file" || continue
1486     case $ac_file in
1487     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1488     ;;
1489     conftest.$ac_ext )
1490     # This is the source file.
1491     ;;
1492     [ab].out )
1493     # We found the default executable, but exeext='' is most
1494     # certainly right.
1495     break;;
1496     *.* )
1497     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1498     # FIXME: I believe we export ac_cv_exeext for Libtool,
1499     # but it would be cool to find out if it's true. Does anybody
1500     # maintain Libtool? --akim.
1501     export ac_cv_exeext
1502     break;;
1503     * )
1504     break;;
1505     esac
1506     done
1507     else
1508     echo "$as_me: failed program was:" >&5
1509     sed 's/^/| /' conftest.$ac_ext >&5
1510    
1511     { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1512     See \`config.log' for more details." >&5
1513     echo "$as_me: error: C++ compiler cannot create executables
1514     See \`config.log' for more details." >&2;}
1515     { (exit 77); exit 77; }; }
1516     fi
1517    
1518     ac_exeext=$ac_cv_exeext
1519     echo "$as_me:$LINENO: result: $ac_file" >&5
1520     echo "${ECHO_T}$ac_file" >&6
1521    
1522     # Check the compiler produces executables we can run. If not, either
1523     # the compiler is broken, or we cross compile.
1524     echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1525     echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1526     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1527     # If not cross compiling, check that we can run a simple program.
1528     if test "$cross_compiling" != yes; then
1529     if { ac_try='./$ac_file'
1530     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1531     (eval $ac_try) 2>&5
1532     ac_status=$?
1533     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1534     (exit $ac_status); }; }; then
1535     cross_compiling=no
1536     else
1537     if test "$cross_compiling" = maybe; then
1538     cross_compiling=yes
1539     else
1540     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1541     If you meant to cross compile, use \`--host'.
1542     See \`config.log' for more details." >&5
1543     echo "$as_me: error: cannot run C++ compiled programs.
1544     If you meant to cross compile, use \`--host'.
1545     See \`config.log' for more details." >&2;}
1546     { (exit 1); exit 1; }; }
1547     fi
1548     fi
1549     fi
1550     echo "$as_me:$LINENO: result: yes" >&5
1551     echo "${ECHO_T}yes" >&6
1552    
1553     rm -f a.out a.exe conftest$ac_cv_exeext b.out
1554     ac_clean_files=$ac_clean_files_save
1555     # Check the compiler produces executables we can run. If not, either
1556     # the compiler is broken, or we cross compile.
1557     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1558     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1559     echo "$as_me:$LINENO: result: $cross_compiling" >&5
1560     echo "${ECHO_T}$cross_compiling" >&6
1561    
1562     echo "$as_me:$LINENO: checking for suffix of executables" >&5
1563     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1564     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1565     (eval $ac_link) 2>&5
1566     ac_status=$?
1567     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1568     (exit $ac_status); }; then
1569     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1570     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1571     # work properly (i.e., refer to `conftest.exe'), while it won't with
1572     # `rm'.
1573     for ac_file in conftest.exe conftest conftest.*; do
1574     test -f "$ac_file" || continue
1575     case $ac_file in
1576     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1577     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1578     export ac_cv_exeext
1579     break;;
1580     * ) break;;
1581     esac
1582     done
1583     else
1584     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1585     See \`config.log' for more details." >&5
1586     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1587     See \`config.log' for more details." >&2;}
1588     { (exit 1); exit 1; }; }
1589     fi
1590    
1591     rm -f conftest$ac_cv_exeext
1592     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1593     echo "${ECHO_T}$ac_cv_exeext" >&6
1594    
1595     rm -f conftest.$ac_ext
1596     EXEEXT=$ac_cv_exeext
1597     ac_exeext=$EXEEXT
1598     echo "$as_me:$LINENO: checking for suffix of object files" >&5
1599     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1600     if test "${ac_cv_objext+set}" = set; then
1601     echo $ECHO_N "(cached) $ECHO_C" >&6
1602     else
1603     cat >conftest.$ac_ext <<_ACEOF
1604     /* confdefs.h. */
1605     _ACEOF
1606     cat confdefs.h >>conftest.$ac_ext
1607     cat >>conftest.$ac_ext <<_ACEOF
1608     /* end confdefs.h. */
1609    
1610     int
1611     main ()
1612     {
1613    
1614     ;
1615     return 0;
1616     }
1617     _ACEOF
1618     rm -f conftest.o conftest.obj
1619     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1620     (eval $ac_compile) 2>&5
1621     ac_status=$?
1622     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623     (exit $ac_status); }; then
1624     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1625     case $ac_file in
1626     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1627     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1628     break;;
1629     esac
1630     done
1631     else
1632     echo "$as_me: failed program was:" >&5
1633     sed 's/^/| /' conftest.$ac_ext >&5
1634    
1635     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1636     See \`config.log' for more details." >&5
1637     echo "$as_me: error: cannot compute suffix of object files: cannot compile
1638     See \`config.log' for more details." >&2;}
1639     { (exit 1); exit 1; }; }
1640     fi
1641    
1642     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1643     fi
1644     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1645     echo "${ECHO_T}$ac_cv_objext" >&6
1646     OBJEXT=$ac_cv_objext
1647     ac_objext=$OBJEXT
1648     echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1649     echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1650     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1651     echo $ECHO_N "(cached) $ECHO_C" >&6
1652     else
1653     cat >conftest.$ac_ext <<_ACEOF
1654     /* confdefs.h. */
1655     _ACEOF
1656     cat confdefs.h >>conftest.$ac_ext
1657     cat >>conftest.$ac_ext <<_ACEOF
1658     /* end confdefs.h. */
1659    
1660     int
1661     main ()
1662     {
1663     #ifndef __GNUC__
1664     choke me
1665     #endif
1666    
1667     ;
1668     return 0;
1669     }
1670     _ACEOF
1671     rm -f conftest.$ac_objext
1672     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1673     (eval $ac_compile) 2>conftest.er1
1674     ac_status=$?
1675     grep -v '^ *+' conftest.er1 >conftest.err
1676     rm -f conftest.er1
1677     cat conftest.err >&5
1678     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679     (exit $ac_status); } &&
1680     { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1681     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1682     (eval $ac_try) 2>&5
1683     ac_status=$?
1684     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685     (exit $ac_status); }; } &&
1686     { ac_try='test -s conftest.$ac_objext'
1687     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1688     (eval $ac_try) 2>&5
1689     ac_status=$?
1690     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1691     (exit $ac_status); }; }; then
1692     ac_compiler_gnu=yes
1693     else
1694     echo "$as_me: failed program was:" >&5
1695     sed 's/^/| /' conftest.$ac_ext >&5
1696    
1697     ac_compiler_gnu=no
1698     fi
1699     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1700     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1701    
1702     fi
1703     echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1704     echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1705     GXX=`test $ac_compiler_gnu = yes && echo yes`
1706     ac_test_CXXFLAGS=${CXXFLAGS+set}
1707     ac_save_CXXFLAGS=$CXXFLAGS
1708     CXXFLAGS="-g"
1709     echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1710     echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1711     if test "${ac_cv_prog_cxx_g+set}" = set; then
1712     echo $ECHO_N "(cached) $ECHO_C" >&6
1713     else
1714     cat >conftest.$ac_ext <<_ACEOF
1715     /* confdefs.h. */
1716     _ACEOF
1717     cat confdefs.h >>conftest.$ac_ext
1718     cat >>conftest.$ac_ext <<_ACEOF
1719     /* end confdefs.h. */
1720    
1721     int
1722     main ()
1723     {
1724    
1725     ;
1726     return 0;
1727     }
1728     _ACEOF
1729     rm -f conftest.$ac_objext
1730     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1731     (eval $ac_compile) 2>conftest.er1
1732     ac_status=$?
1733     grep -v '^ *+' conftest.er1 >conftest.err
1734     rm -f conftest.er1
1735     cat conftest.err >&5
1736     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1737     (exit $ac_status); } &&
1738     { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1739     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1740     (eval $ac_try) 2>&5
1741     ac_status=$?
1742     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1743     (exit $ac_status); }; } &&
1744     { ac_try='test -s conftest.$ac_objext'
1745     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1746     (eval $ac_try) 2>&5
1747     ac_status=$?
1748     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1749     (exit $ac_status); }; }; then
1750     ac_cv_prog_cxx_g=yes
1751     else
1752     echo "$as_me: failed program was:" >&5
1753     sed 's/^/| /' conftest.$ac_ext >&5
1754    
1755     ac_cv_prog_cxx_g=no
1756     fi
1757     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1758     fi
1759     echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1760     echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1761     if test "$ac_test_CXXFLAGS" = set; then
1762     CXXFLAGS=$ac_save_CXXFLAGS
1763     elif test $ac_cv_prog_cxx_g = yes; then
1764     if test "$GXX" = yes; then
1765     CXXFLAGS="-g -O2"
1766     else
1767     CXXFLAGS="-g"
1768     fi
1769     else
1770     if test "$GXX" = yes; then
1771     CXXFLAGS="-O2"
1772     else
1773     CXXFLAGS=
1774     fi
1775     fi
1776     for ac_declaration in \
1777     '' \
1778     'extern "C" void std::exit (int) throw (); using std::exit;' \
1779     'extern "C" void std::exit (int); using std::exit;' \
1780     'extern "C" void exit (int) throw ();' \
1781     'extern "C" void exit (int);' \
1782     'void exit (int);'
1783     do
1784     cat >conftest.$ac_ext <<_ACEOF
1785     /* confdefs.h. */
1786     _ACEOF
1787     cat confdefs.h >>conftest.$ac_ext
1788     cat >>conftest.$ac_ext <<_ACEOF
1789     /* end confdefs.h. */
1790     $ac_declaration
1791     #include <stdlib.h>
1792     int
1793     main ()
1794     {
1795     exit (42);
1796     ;
1797     return 0;
1798     }
1799     _ACEOF
1800     rm -f conftest.$ac_objext
1801     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1802     (eval $ac_compile) 2>conftest.er1
1803     ac_status=$?
1804     grep -v '^ *+' conftest.er1 >conftest.err
1805     rm -f conftest.er1
1806     cat conftest.err >&5
1807     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1808     (exit $ac_status); } &&
1809     { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1810     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1811     (eval $ac_try) 2>&5
1812     ac_status=$?
1813     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814     (exit $ac_status); }; } &&
1815     { ac_try='test -s conftest.$ac_objext'
1816     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1817     (eval $ac_try) 2>&5
1818     ac_status=$?
1819     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820     (exit $ac_status); }; }; then
1821     :
1822     else
1823     echo "$as_me: failed program was:" >&5
1824     sed 's/^/| /' conftest.$ac_ext >&5
1825    
1826     continue
1827     fi
1828     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1829     cat >conftest.$ac_ext <<_ACEOF
1830     /* confdefs.h. */
1831     _ACEOF
1832     cat confdefs.h >>conftest.$ac_ext
1833     cat >>conftest.$ac_ext <<_ACEOF
1834     /* end confdefs.h. */
1835     $ac_declaration
1836     int
1837     main ()
1838     {
1839     exit (42);
1840     ;
1841     return 0;
1842     }
1843     _ACEOF
1844     rm -f conftest.$ac_objext
1845     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1846     (eval $ac_compile) 2>conftest.er1
1847     ac_status=$?
1848     grep -v '^ *+' conftest.er1 >conftest.err
1849     rm -f conftest.er1
1850     cat conftest.err >&5
1851     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852     (exit $ac_status); } &&
1853     { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1854     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855     (eval $ac_try) 2>&5
1856     ac_status=$?
1857     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858     (exit $ac_status); }; } &&
1859     { ac_try='test -s conftest.$ac_objext'
1860     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1861     (eval $ac_try) 2>&5
1862     ac_status=$?
1863     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864     (exit $ac_status); }; }; then
1865     break
1866     else
1867     echo "$as_me: failed program was:" >&5
1868     sed 's/^/| /' conftest.$ac_ext >&5
1869    
1870     fi
1871     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1872     done
1873     rm -f conftest*
1874     if test -n "$ac_declaration"; then
1875     echo '#ifdef __cplusplus' >>confdefs.h
1876     echo $ac_declaration >>confdefs.h
1877     echo '#endif' >>confdefs.h
1878     fi
1879    
1880     ac_ext=c
1881     ac_cpp='$CPP $CPPFLAGS'
1882     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1883     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1884     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1885    
1886     # Find a good install program. We prefer a C program (faster),
1887     # so one script is as good as another. But avoid the broken or
1888     # incompatible versions:
1889     # SysV /etc/install, /usr/sbin/install
1890     # SunOS /usr/etc/install
1891     # IRIX /sbin/install
1892     # AIX /bin/install
1893     # AmigaOS /C/install, which installs bootblocks on floppy discs
1894     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1895     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1896     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1897     # OS/2's system install, which has a completely different semantic
1898     # ./install, which can be erroneously created by make from ./install.sh.
1899     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1900     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1901     if test -z "$INSTALL"; then
1902     if test "${ac_cv_path_install+set}" = set; then
1903     echo $ECHO_N "(cached) $ECHO_C" >&6
1904     else
1905     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906     for as_dir in $PATH
1907     do
1908     IFS=$as_save_IFS
1909     test -z "$as_dir" && as_dir=.
1910     # Account for people who put trailing slashes in PATH elements.
1911     case $as_dir/ in
1912     ./ | .// | /cC/* | \
1913     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1914     ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1915     /usr/ucb/* ) ;;
1916     *)
1917     # OSF1 and SCO ODT 3.0 have their own names for install.
1918     # Don't use installbsd from OSF since it installs stuff as root
1919     # by default.
1920     for ac_prog in ginstall scoinst install; do
1921     for ac_exec_ext in '' $ac_executable_extensions; do
1922     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1923     if test $ac_prog = install &&
1924     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1925     # AIX install. It has an incompatible calling convention.
1926     :
1927     elif test $ac_prog = install &&
1928     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1929     # program-specific install script used by HP pwplus--don't use.
1930     :
1931     else
1932     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1933     break 3
1934     fi
1935     fi
1936     done
1937     done
1938     ;;
1939     esac
1940     done
1941    
1942    
1943     fi
1944     if test "${ac_cv_path_install+set}" = set; then
1945     INSTALL=$ac_cv_path_install
1946     else
1947     # As a last resort, use the slow shell script. We don't cache a
1948     # path for INSTALL within a source directory, because that will
1949     # break other packages using the cache if that directory is
1950     # removed, or if the path is relative.
1951     INSTALL=$ac_install_sh
1952     fi
1953     fi
1954     echo "$as_me:$LINENO: result: $INSTALL" >&5
1955     echo "${ECHO_T}$INSTALL" >&6
1956    
1957     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1958     # It thinks the first close brace ends the variable substitution.
1959     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1960    
1961     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1962    
1963     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1964    
1965    
1966     ac_ext=cc
1967     ac_cpp='$CXXCPP $CPPFLAGS'
1968     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1971    
1972    
1973     ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
1974    
1975     cat >confcache <<\_ACEOF
1976     # This file is a shell script that caches the results of configure
1977     # tests run on this system so they can be shared between configure
1978     # scripts and configure runs, see configure's option --config-cache.
1979     # It is not useful on other systems. If it contains results you don't
1980     # want to keep, you may remove or edit it.
1981     #
1982     # config.status only pays attention to the cache file if you give it
1983     # the --recheck option to rerun configure.
1984     #
1985     # `ac_cv_env_foo' variables (set or unset) will be overridden when
1986     # loading this file, other *unset* `ac_cv_foo' will be assigned the
1987     # following values.
1988    
1989     _ACEOF
1990    
1991     # The following way of writing the cache mishandles newlines in values,
1992     # but we know of no workaround that is simple, portable, and efficient.
1993     # So, don't put newlines in cache variables' values.
1994     # Ultrix sh set writes to stderr and can't be redirected directly,
1995     # and sets the high bit in the cache file unless we assign to the vars.
1996     {
1997     (set) 2>&1 |
1998     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1999     *ac_space=\ *)
2000     # `set' does not quote correctly, so add quotes (double-quote
2001     # substitution turns \\\\ into \\, and sed turns \\ into \).
2002     sed -n \
2003     "s/'/'\\\\''/g;
2004     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2005     ;;
2006     *)
2007     # `set' quotes correctly as required by POSIX, so do not add quotes.
2008     sed -n \
2009     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2010     ;;
2011     esac;
2012     } |
2013     sed '
2014     t clear
2015     : clear
2016     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2017     t end
2018     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2019     : end' >>confcache
2020     if diff $cache_file confcache >/dev/null 2>&1; then :; else
2021     if test -w $cache_file; then
2022     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2023     cat confcache >$cache_file
2024     else
2025     echo "not updating unwritable cache $cache_file"
2026     fi
2027     fi
2028     rm -f confcache
2029    
2030     test "x$prefix" = xNONE && prefix=$ac_default_prefix
2031     # Let make expand exec_prefix.
2032     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2033    
2034     # VPATH may cause trouble with some makes, so we remove $(srcdir),
2035     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2036     # trailing colons and then remove the whole line if VPATH becomes empty
2037     # (actually we leave an empty line to preserve line numbers).
2038     if test "x$srcdir" = x.; then
2039     ac_vpsub='/^[ ]*VPATH[ ]*=/{
2040     s/:*\$(srcdir):*/:/;
2041     s/:*\${srcdir}:*/:/;
2042     s/:*@srcdir@:*/:/;
2043     s/^\([^=]*=[ ]*\):*/\1/;
2044     s/:*$//;
2045     s/^[^=]*=[ ]*$//;
2046     }'
2047     fi
2048    
2049     DEFS=-DHAVE_CONFIG_H
2050    
2051     ac_libobjs=
2052     ac_ltlibobjs=
2053     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2054     # 1. Remove the extension, and $U if already installed.
2055     ac_i=`echo "$ac_i" |
2056     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2057     # 2. Add them.
2058     ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2059     ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2060     done
2061     LIBOBJS=$ac_libobjs
2062    
2063     LTLIBOBJS=$ac_ltlibobjs
2064    
2065    
2066    
2067     : ${CONFIG_STATUS=./config.status}
2068     ac_clean_files_save=$ac_clean_files
2069     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2070     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2071     echo "$as_me: creating $CONFIG_STATUS" >&6;}
2072     cat >$CONFIG_STATUS <<_ACEOF
2073     #! $SHELL
2074     # Generated by $as_me.
2075     # Run this file to recreate the current configuration.
2076     # Compiler output produced by configure, useful for debugging
2077     # configure, is in config.log if it exists.
2078    
2079     debug=false
2080     ac_cs_recheck=false
2081     ac_cs_silent=false
2082     SHELL=\${CONFIG_SHELL-$SHELL}
2083     _ACEOF
2084    
2085     cat >>$CONFIG_STATUS <<\_ACEOF
2086     ## --------------------- ##
2087     ## M4sh Initialization. ##
2088     ## --------------------- ##
2089    
2090     # Be Bourne compatible
2091     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2092     emulate sh
2093     NULLCMD=:
2094     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2095     # is contrary to our usage. Disable this feature.
2096     alias -g '${1+"$@"}'='"$@"'
2097     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2098     set -o posix
2099     fi
2100     DUALCASE=1; export DUALCASE # for MKS sh
2101    
2102     # Support unset when possible.
2103     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2104     as_unset=unset
2105     else
2106     as_unset=false
2107     fi
2108    
2109    
2110     # Work around bugs in pre-3.0 UWIN ksh.
2111     $as_unset ENV MAIL MAILPATH
2112     PS1='$ '
2113     PS2='> '
2114     PS4='+ '
2115    
2116     # NLS nuisances.
2117     for as_var in \
2118     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2119     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2120     LC_TELEPHONE LC_TIME
2121     do
2122     if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2123     eval $as_var=C; export $as_var
2124     else
2125     $as_unset $as_var
2126     fi
2127     done
2128    
2129     # Required to use basename.
2130     if expr a : '\(a\)' >/dev/null 2>&1; then
2131     as_expr=expr
2132     else
2133     as_expr=false
2134     fi
2135    
2136     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2137     as_basename=basename
2138     else
2139     as_basename=false
2140     fi
2141    
2142    
2143     # Name of the executable.
2144     as_me=`$as_basename "$0" ||
2145     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2146     X"$0" : 'X\(//\)$' \| \
2147     X"$0" : 'X\(/\)$' \| \
2148     . : '\(.\)' 2>/dev/null ||
2149     echo X/"$0" |
2150     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2151     /^X\/\(\/\/\)$/{ s//\1/; q; }
2152     /^X\/\(\/\).*/{ s//\1/; q; }
2153     s/.*/./; q'`
2154    
2155    
2156     # PATH needs CR, and LINENO needs CR and PATH.
2157     # Avoid depending upon Character Ranges.
2158     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2159     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2160     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2161     as_cr_digits='0123456789'
2162     as_cr_alnum=$as_cr_Letters$as_cr_digits
2163    
2164     # The user is always right.
2165     if test "${PATH_SEPARATOR+set}" != set; then
2166     echo "#! /bin/sh" >conf$$.sh
2167     echo "exit 0" >>conf$$.sh
2168     chmod +x conf$$.sh
2169     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2170     PATH_SEPARATOR=';'
2171     else
2172     PATH_SEPARATOR=:
2173     fi
2174     rm -f conf$$.sh
2175     fi
2176    
2177    
2178     as_lineno_1=$LINENO
2179     as_lineno_2=$LINENO
2180     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2181     test "x$as_lineno_1" != "x$as_lineno_2" &&
2182     test "x$as_lineno_3" = "x$as_lineno_2" || {
2183     # Find who we are. Look in the path if we contain no path at all
2184     # relative or not.
2185     case $0 in
2186     *[\\/]* ) as_myself=$0 ;;
2187     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188     for as_dir in $PATH
2189     do
2190     IFS=$as_save_IFS
2191     test -z "$as_dir" && as_dir=.
2192     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2193     done
2194    
2195     ;;
2196     esac
2197     # We did not find ourselves, most probably we were run as `sh COMMAND'
2198     # in which case we are not to be found in the path.
2199     if test "x$as_myself" = x; then
2200     as_myself=$0
2201     fi
2202     if test ! -f "$as_myself"; then
2203     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2204     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2205     { (exit 1); exit 1; }; }
2206     fi
2207     case $CONFIG_SHELL in
2208     '')
2209     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2211     do
2212     IFS=$as_save_IFS
2213     test -z "$as_dir" && as_dir=.
2214     for as_base in sh bash ksh sh5; do
2215     case $as_dir in
2216     /*)
2217     if ("$as_dir/$as_base" -c '
2218     as_lineno_1=$LINENO
2219     as_lineno_2=$LINENO
2220     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2221     test "x$as_lineno_1" != "x$as_lineno_2" &&
2222     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2223     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2224     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2225     CONFIG_SHELL=$as_dir/$as_base
2226     export CONFIG_SHELL
2227     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2228     fi;;
2229     esac
2230     done
2231     done
2232     ;;
2233     esac
2234    
2235     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2236     # uniformly replaced by the line number. The first 'sed' inserts a
2237     # line-number line before each line; the second 'sed' does the real
2238     # work. The second script uses 'N' to pair each line-number line
2239     # with the numbered line, and appends trailing '-' during
2240     # substitution so that $LINENO is not a special case at line end.
2241     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2242     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2243     sed '=' <$as_myself |
2244     sed '
2245     N
2246     s,$,-,
2247     : loop
2248     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2249     t loop
2250     s,-$,,
2251     s,^['$as_cr_digits']*\n,,
2252     ' >$as_me.lineno &&
2253     chmod +x $as_me.lineno ||
2254     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2255     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2256     { (exit 1); exit 1; }; }
2257    
2258     # Don't try to exec as it changes $[0], causing all sort of problems
2259     # (the dirname of $[0] is not the place where we might find the
2260     # original and so on. Autoconf is especially sensible to this).
2261     . ./$as_me.lineno
2262     # Exit status is that of the last command.
2263     exit
2264     }
2265    
2266    
2267     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2268     *c*,-n*) ECHO_N= ECHO_C='
2269     ' ECHO_T=' ' ;;
2270     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2271     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2272     esac
2273    
2274     if expr a : '\(a\)' >/dev/null 2>&1; then
2275     as_expr=expr
2276     else
2277     as_expr=false
2278     fi
2279    
2280     rm -f conf$$ conf$$.exe conf$$.file
2281     echo >conf$$.file
2282     if ln -s conf$$.file conf$$ 2>/dev/null; then
2283     # We could just check for DJGPP; but this test a) works b) is more generic
2284     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2285     if test -f conf$$.exe; then
2286     # Don't use ln at all; we don't have any links
2287     as_ln_s='cp -p'
2288     else
2289     as_ln_s='ln -s'
2290     fi
2291     elif ln conf$$.file conf$$ 2>/dev/null; then
2292     as_ln_s=ln
2293     else
2294     as_ln_s='cp -p'
2295     fi
2296     rm -f conf$$ conf$$.exe conf$$.file
2297    
2298     if mkdir -p . 2>/dev/null; then
2299     as_mkdir_p=:
2300     else
2301     test -d ./-p && rmdir ./-p
2302     as_mkdir_p=false
2303     fi
2304    
2305     as_executable_p="test -f"
2306    
2307     # Sed expression to map a string onto a valid CPP name.
2308     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2309    
2310     # Sed expression to map a string onto a valid variable name.
2311     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2312    
2313    
2314     # IFS
2315     # We need space, tab and new line, in precisely that order.
2316     as_nl='
2317     '
2318     IFS=" $as_nl"
2319    
2320     # CDPATH.
2321     $as_unset CDPATH
2322    
2323     exec 6>&1
2324    
2325     # Open the log real soon, to keep \$[0] and so on meaningful, and to
2326     # report actual input values of CONFIG_FILES etc. instead of their
2327     # values after options handling. Logging --version etc. is OK.
2328     exec 5>>config.log
2329     {
2330     echo
2331     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2332     ## Running $as_me. ##
2333     _ASBOX
2334     } >&5
2335     cat >&5 <<_CSEOF
2336    
2337     This file was extended by $as_me, which was
2338     generated by GNU Autoconf 2.59. Invocation command line was
2339    
2340     CONFIG_FILES = $CONFIG_FILES
2341     CONFIG_HEADERS = $CONFIG_HEADERS
2342     CONFIG_LINKS = $CONFIG_LINKS
2343     CONFIG_COMMANDS = $CONFIG_COMMANDS
2344     $ $0 $@
2345    
2346     _CSEOF
2347     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2348     echo >&5
2349     _ACEOF
2350    
2351     # Files that config.status was made for.
2352     if test -n "$ac_config_files"; then
2353     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2354     fi
2355    
2356     if test -n "$ac_config_headers"; then
2357     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2358     fi
2359    
2360     if test -n "$ac_config_links"; then
2361     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2362     fi
2363    
2364     if test -n "$ac_config_commands"; then
2365     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2366     fi
2367    
2368     cat >>$CONFIG_STATUS <<\_ACEOF
2369    
2370     ac_cs_usage="\
2371     \`$as_me' instantiates files from templates according to the
2372     current configuration.
2373    
2374     Usage: $0 [OPTIONS] [FILE]...
2375    
2376     -h, --help print this help, then exit
2377     -V, --version print version number, then exit
2378     -q, --quiet do not print progress messages
2379     -d, --debug don't remove temporary files
2380     --recheck update $as_me by reconfiguring in the same conditions
2381     --file=FILE[:TEMPLATE]
2382     instantiate the configuration file FILE
2383     --header=FILE[:TEMPLATE]
2384     instantiate the configuration header FILE
2385    
2386     Configuration files:
2387     $config_files
2388    
2389     Configuration headers:
2390     $config_headers
2391    
2392     Report bugs to <bug-autoconf@gnu.org>."
2393     _ACEOF
2394    
2395     cat >>$CONFIG_STATUS <<_ACEOF
2396     ac_cs_version="\\
2397     config.status
2398     configured by $0, generated by GNU Autoconf 2.59,
2399     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2400    
2401     Copyright (C) 2003 Free Software Foundation, Inc.
2402     This config.status script is free software; the Free Software Foundation
2403     gives unlimited permission to copy, distribute and modify it."
2404     srcdir=$srcdir
2405     INSTALL="$INSTALL"
2406     _ACEOF
2407    
2408     cat >>$CONFIG_STATUS <<\_ACEOF
2409     # If no file are specified by the user, then we need to provide default
2410     # value. By we need to know if files were specified by the user.
2411     ac_need_defaults=:
2412     while test $# != 0
2413     do
2414     case $1 in
2415     --*=*)
2416     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2417     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2418     ac_shift=:
2419     ;;
2420     -*)
2421     ac_option=$1
2422     ac_optarg=$2
2423     ac_shift=shift
2424     ;;
2425     *) # This is not an option, so the user has probably given explicit
2426     # arguments.
2427     ac_option=$1
2428     ac_need_defaults=false;;
2429     esac
2430    
2431     case $ac_option in
2432     # Handling of the options.
2433     _ACEOF
2434     cat >>$CONFIG_STATUS <<\_ACEOF
2435     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2436     ac_cs_recheck=: ;;
2437     --version | --vers* | -V )
2438     echo "$ac_cs_version"; exit 0 ;;
2439     --he | --h)
2440     # Conflict between --help and --header
2441     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2442     Try \`$0 --help' for more information." >&5
2443     echo "$as_me: error: ambiguous option: $1
2444     Try \`$0 --help' for more information." >&2;}
2445     { (exit 1); exit 1; }; };;
2446     --help | --hel | -h )
2447     echo "$ac_cs_usage"; exit 0 ;;
2448     --debug | --d* | -d )
2449     debug=: ;;
2450     --file | --fil | --fi | --f )
2451     $ac_shift
2452     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2453     ac_need_defaults=false;;
2454     --header | --heade | --head | --hea )
2455     $ac_shift
2456     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2457     ac_need_defaults=false;;
2458     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2459     | -silent | --silent | --silen | --sile | --sil | --si | --s)
2460     ac_cs_silent=: ;;
2461    
2462     # This is an error.
2463     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2464     Try \`$0 --help' for more information." >&5
2465     echo "$as_me: error: unrecognized option: $1
2466     Try \`$0 --help' for more information." >&2;}
2467     { (exit 1); exit 1; }; } ;;
2468    
2469     *) ac_config_targets="$ac_config_targets $1" ;;
2470    
2471     esac
2472     shift
2473     done
2474    
2475     ac_configure_extra_args=
2476    
2477     if $ac_cs_silent; then
2478     exec 6>/dev/null
2479     ac_configure_extra_args="$ac_configure_extra_args --silent"
2480     fi
2481    
2482     _ACEOF
2483     cat >>$CONFIG_STATUS <<_ACEOF
2484     if \$ac_cs_recheck; then
2485     echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2486     exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2487     fi
2488    
2489     _ACEOF
2490    
2491    
2492    
2493    
2494    
2495     cat >>$CONFIG_STATUS <<\_ACEOF
2496     for ac_config_target in $ac_config_targets
2497     do
2498     case "$ac_config_target" in
2499     # Handling of arguments.
2500     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2501     "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2502     "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2503     "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
2504     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2505     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2506     { (exit 1); exit 1; }; };;
2507     esac
2508     done
2509    
2510     # If the user did not use the arguments to specify the items to instantiate,
2511     # then the envvar interface is used. Set only those that are not.
2512     # We use the long form for the default assignment because of an extremely
2513     # bizarre bug on SunOS 4.1.3.
2514     if $ac_need_defaults; then
2515     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2516     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2517     fi
2518    
2519     # Have a temporary directory for convenience. Make it in the build tree
2520     # simply because there is no reason to put it here, and in addition,
2521     # creating and moving files from /tmp can sometimes cause problems.
2522     # Create a temporary directory, and hook for its removal unless debugging.
2523     $debug ||
2524     {
2525     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2526     trap '{ (exit 1); exit 1; }' 1 2 13 15
2527     }
2528    
2529     # Create a (secure) tmp directory for tmp files.
2530    
2531     {
2532     tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2533     test -n "$tmp" && test -d "$tmp"
2534     } ||
2535     {
2536     tmp=./confstat$$-$RANDOM
2537     (umask 077 && mkdir $tmp)
2538     } ||
2539     {
2540     echo "$me: cannot create a temporary directory in ." >&2
2541     { (exit 1); exit 1; }
2542     }
2543    
2544     _ACEOF
2545    
2546     cat >>$CONFIG_STATUS <<_ACEOF
2547    
2548     #
2549     # CONFIG_FILES section.
2550     #
2551    
2552     # No need to generate the scripts if there are no CONFIG_FILES.
2553     # This happens for instance when ./config.status config.h
2554     if test -n "\$CONFIG_FILES"; then
2555     # Protect against being on the right side of a sed subst in config.status.
2556     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2557     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2558     s,@SHELL@,$SHELL,;t t
2559     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2560     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2561     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2562     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2563     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2564     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2565     s,@exec_prefix@,$exec_prefix,;t t
2566     s,@prefix@,$prefix,;t t
2567     s,@program_transform_name@,$program_transform_name,;t t
2568     s,@bindir@,$bindir,;t t
2569     s,@sbindir@,$sbindir,;t t
2570     s,@libexecdir@,$libexecdir,;t t
2571     s,@datadir@,$datadir,;t t
2572     s,@sysconfdir@,$sysconfdir,;t t
2573     s,@sharedstatedir@,$sharedstatedir,;t t
2574     s,@localstatedir@,$localstatedir,;t t
2575     s,@libdir@,$libdir,;t t
2576     s,@includedir@,$includedir,;t t
2577     s,@oldincludedir@,$oldincludedir,;t t
2578     s,@infodir@,$infodir,;t t
2579     s,@mandir@,$mandir,;t t
2580     s,@build_alias@,$build_alias,;t t
2581     s,@host_alias@,$host_alias,;t t
2582     s,@target_alias@,$target_alias,;t t
2583     s,@DEFS@,$DEFS,;t t
2584     s,@ECHO_C@,$ECHO_C,;t t
2585     s,@ECHO_N@,$ECHO_N,;t t
2586     s,@ECHO_T@,$ECHO_T,;t t
2587     s,@LIBS@,$LIBS,;t t
2588     s,@build@,$build,;t t
2589     s,@build_cpu@,$build_cpu,;t t
2590     s,@build_vendor@,$build_vendor,;t t
2591     s,@build_os@,$build_os,;t t
2592     s,@host@,$host,;t t
2593     s,@host_cpu@,$host_cpu,;t t
2594     s,@host_vendor@,$host_vendor,;t t
2595     s,@host_os@,$host_os,;t t
2596     s,@CXX@,$CXX,;t t
2597     s,@CXXFLAGS@,$CXXFLAGS,;t t
2598     s,@LDFLAGS@,$LDFLAGS,;t t
2599     s,@CPPFLAGS@,$CPPFLAGS,;t t
2600     s,@ac_ct_CXX@,$ac_ct_CXX,;t t
2601     s,@EXEEXT@,$EXEEXT,;t t
2602     s,@OBJEXT@,$OBJEXT,;t t
2603     s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2604     s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2605     s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2606     s,@LIBOBJS@,$LIBOBJS,;t t
2607     s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2608     CEOF
2609    
2610     _ACEOF
2611    
2612     cat >>$CONFIG_STATUS <<\_ACEOF
2613     # Split the substitutions into bite-sized pieces for seds with
2614     # small command number limits, like on Digital OSF/1 and HP-UX.
2615     ac_max_sed_lines=48
2616     ac_sed_frag=1 # Number of current file.
2617     ac_beg=1 # First line for current file.
2618     ac_end=$ac_max_sed_lines # Line after last line for current file.
2619     ac_more_lines=:
2620     ac_sed_cmds=
2621     while $ac_more_lines; do
2622     if test $ac_beg -gt 1; then
2623     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2624     else
2625     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2626     fi
2627     if test ! -s $tmp/subs.frag; then
2628     ac_more_lines=false
2629     else
2630     # The purpose of the label and of the branching condition is to
2631     # speed up the sed processing (if there are no `@' at all, there
2632     # is no need to browse any of the substitutions).
2633     # These are the two extra sed commands mentioned above.
2634     (echo ':t
2635     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2636     if test -z "$ac_sed_cmds"; then
2637     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2638     else
2639     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2640     fi
2641     ac_sed_frag=`expr $ac_sed_frag + 1`
2642     ac_beg=$ac_end
2643     ac_end=`expr $ac_end + $ac_max_sed_lines`
2644     fi
2645     done
2646     if test -z "$ac_sed_cmds"; then
2647     ac_sed_cmds=cat
2648     fi
2649     fi # test -n "$CONFIG_FILES"
2650    
2651     _ACEOF
2652     cat >>$CONFIG_STATUS <<\_ACEOF
2653     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2654     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2655     case $ac_file in
2656     - | *:- | *:-:* ) # input from stdin
2657     cat >$tmp/stdin
2658     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2659     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2660     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2661     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2662     * ) ac_file_in=$ac_file.in ;;
2663     esac
2664    
2665     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2666     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2667     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2668     X"$ac_file" : 'X\(//\)[^/]' \| \
2669     X"$ac_file" : 'X\(//\)$' \| \
2670     X"$ac_file" : 'X\(/\)' \| \
2671     . : '\(.\)' 2>/dev/null ||
2672     echo X"$ac_file" |
2673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2674     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2675     /^X\(\/\/\)$/{ s//\1/; q; }
2676     /^X\(\/\).*/{ s//\1/; q; }
2677     s/.*/./; q'`
2678     { if $as_mkdir_p; then
2679     mkdir -p "$ac_dir"
2680     else
2681     as_dir="$ac_dir"
2682     as_dirs=
2683     while test ! -d "$as_dir"; do
2684     as_dirs="$as_dir $as_dirs"
2685     as_dir=`(dirname "$as_dir") 2>/dev/null ||
2686     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2687     X"$as_dir" : 'X\(//\)[^/]' \| \
2688     X"$as_dir" : 'X\(//\)$' \| \
2689     X"$as_dir" : 'X\(/\)' \| \
2690     . : '\(.\)' 2>/dev/null ||
2691     echo X"$as_dir" |
2692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2693     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2694     /^X\(\/\/\)$/{ s//\1/; q; }
2695     /^X\(\/\).*/{ s//\1/; q; }
2696     s/.*/./; q'`
2697     done
2698     test ! -n "$as_dirs" || mkdir $as_dirs
2699     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2700     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2701     { (exit 1); exit 1; }; }; }
2702    
2703     ac_builddir=.
2704    
2705     if test "$ac_dir" != .; then
2706     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2707     # A "../" for each directory in $ac_dir_suffix.
2708     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2709     else
2710     ac_dir_suffix= ac_top_builddir=
2711     fi
2712    
2713     case $srcdir in
2714     .) # No --srcdir option. We are building in place.
2715     ac_srcdir=.
2716     if test -z "$ac_top_builddir"; then
2717     ac_top_srcdir=.
2718     else
2719     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2720     fi ;;
2721     [\\/]* | ?:[\\/]* ) # Absolute path.
2722     ac_srcdir=$srcdir$ac_dir_suffix;
2723     ac_top_srcdir=$srcdir ;;
2724     *) # Relative path.
2725     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2726     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2727     esac
2728    
2729     # Do not use `cd foo && pwd` to compute absolute paths, because
2730     # the directories may not exist.
2731     case `pwd` in
2732     .) ac_abs_builddir="$ac_dir";;
2733     *)
2734     case "$ac_dir" in
2735     .) ac_abs_builddir=`pwd`;;
2736     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2737     *) ac_abs_builddir=`pwd`/"$ac_dir";;
2738     esac;;
2739     esac
2740     case $ac_abs_builddir in
2741     .) ac_abs_top_builddir=${ac_top_builddir}.;;
2742     *)
2743     case ${ac_top_builddir}. in
2744     .) ac_abs_top_builddir=$ac_abs_builddir;;
2745     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2746     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2747     esac;;
2748     esac
2749     case $ac_abs_builddir in
2750     .) ac_abs_srcdir=$ac_srcdir;;
2751     *)
2752     case $ac_srcdir in
2753     .) ac_abs_srcdir=$ac_abs_builddir;;
2754     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2755     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2756     esac;;
2757     esac
2758     case $ac_abs_builddir in
2759     .) ac_abs_top_srcdir=$ac_top_srcdir;;
2760     *)
2761     case $ac_top_srcdir in
2762     .) ac_abs_top_srcdir=$ac_abs_builddir;;
2763     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2764     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2765     esac;;
2766     esac
2767    
2768    
2769     case $INSTALL in
2770     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2771     *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2772     esac
2773    
2774     # Let's still pretend it is `configure' which instantiates (i.e., don't
2775     # use $as_me), people would be surprised to read:
2776     # /* config.h. Generated by config.status. */
2777     if test x"$ac_file" = x-; then
2778     configure_input=
2779     else
2780     configure_input="$ac_file. "
2781     fi
2782     configure_input=$configure_input"Generated from `echo $ac_file_in |
2783     sed 's,.*/,,'` by configure."
2784    
2785     # First look for the input files in the build tree, otherwise in the
2786     # src tree.
2787     ac_file_inputs=`IFS=:
2788     for f in $ac_file_in; do
2789     case $f in
2790     -) echo $tmp/stdin ;;
2791     [\\/$]*)
2792     # Absolute (can't be DOS-style, as IFS=:)
2793     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2794     echo "$as_me: error: cannot find input file: $f" >&2;}
2795     { (exit 1); exit 1; }; }
2796     echo "$f";;
2797     *) # Relative
2798     if test -f "$f"; then
2799     # Build tree
2800     echo "$f"
2801     elif test -f "$srcdir/$f"; then
2802     # Source tree
2803     echo "$srcdir/$f"
2804     else
2805     # /dev/null tree
2806     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2807     echo "$as_me: error: cannot find input file: $f" >&2;}
2808     { (exit 1); exit 1; }; }
2809     fi;;
2810     esac
2811     done` || { (exit 1); exit 1; }
2812    
2813     if test x"$ac_file" != x-; then
2814     { echo "$as_me:$LINENO: creating $ac_file" >&5
2815     echo "$as_me: creating $ac_file" >&6;}
2816     rm -f "$ac_file"
2817     fi
2818     _ACEOF
2819     cat >>$CONFIG_STATUS <<_ACEOF
2820     sed "$ac_vpsub
2821     $extrasub
2822     _ACEOF
2823     cat >>$CONFIG_STATUS <<\_ACEOF
2824     :t
2825     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2826     s,@configure_input@,$configure_input,;t t
2827     s,@srcdir@,$ac_srcdir,;t t
2828     s,@abs_srcdir@,$ac_abs_srcdir,;t t
2829     s,@top_srcdir@,$ac_top_srcdir,;t t
2830     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2831     s,@builddir@,$ac_builddir,;t t
2832     s,@abs_builddir@,$ac_abs_builddir,;t t
2833     s,@top_builddir@,$ac_top_builddir,;t t
2834     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2835     s,@INSTALL@,$ac_INSTALL,;t t
2836     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2837     rm -f $tmp/stdin
2838     if test x"$ac_file" != x-; then
2839     mv $tmp/out $ac_file
2840     else
2841     cat $tmp/out
2842     rm -f $tmp/out
2843     fi
2844    
2845     done
2846     _ACEOF
2847     cat >>$CONFIG_STATUS <<\_ACEOF
2848    
2849     #
2850     # CONFIG_HEADER section.
2851     #
2852    
2853     # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2854     # NAME is the cpp macro being defined and VALUE is the value it is being given.
2855     #
2856     # ac_d sets the value in "#define NAME VALUE" lines.
2857     ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2858     ac_dB='[ ].*$,\1#\2'
2859     ac_dC=' '
2860     ac_dD=',;t'
2861     # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2862     ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2863     ac_uB='$,\1#\2define\3'
2864     ac_uC=' '
2865     ac_uD=',;t'
2866    
2867     for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
2868     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2869     case $ac_file in
2870     - | *:- | *:-:* ) # input from stdin
2871     cat >$tmp/stdin
2872     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2873     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2874     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2875     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2876     * ) ac_file_in=$ac_file.in ;;
2877     esac
2878    
2879     test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
2880     echo "$as_me: creating $ac_file" >&6;}
2881    
2882     # First look for the input files in the build tree, otherwise in the
2883     # src tree.
2884     ac_file_inputs=`IFS=:
2885     for f in $ac_file_in; do
2886     case $f in
2887     -) echo $tmp/stdin ;;
2888     [\\/$]*)
2889     # Absolute (can't be DOS-style, as IFS=:)
2890     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2891     echo "$as_me: error: cannot find input file: $f" >&2;}
2892     { (exit 1); exit 1; }; }
2893     # Do quote $f, to prevent DOS paths from being IFS'd.
2894     echo "$f";;
2895     *) # Relative
2896     if test -f "$f"; then
2897     # Build tree
2898     echo "$f"
2899     elif test -f "$srcdir/$f"; then
2900     # Source tree
2901     echo "$srcdir/$f"
2902     else
2903     # /dev/null tree
2904     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2905     echo "$as_me: error: cannot find input file: $f" >&2;}
2906     { (exit 1); exit 1; }; }
2907     fi;;
2908     esac
2909     done` || { (exit 1); exit 1; }
2910     # Remove the trailing spaces.
2911     sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
2912    
2913     _ACEOF
2914    
2915     # Transform confdefs.h into two sed scripts, `conftest.defines' and
2916     # `conftest.undefs', that substitutes the proper values into
2917     # config.h.in to produce config.h. The first handles `#define'
2918     # templates, and the second `#undef' templates.
2919     # And first: Protect against being on the right side of a sed subst in
2920     # config.status. Protect against being in an unquoted here document
2921     # in config.status.
2922     rm -f conftest.defines conftest.undefs
2923     # Using a here document instead of a string reduces the quoting nightmare.
2924     # Putting comments in sed scripts is not portable.
2925     #
2926     # `end' is used to avoid that the second main sed command (meant for
2927     # 0-ary CPP macros) applies to n-ary macro definitions.
2928     # See the Autoconf documentation for `clear'.
2929     cat >confdef2sed.sed <<\_ACEOF
2930     s/[\\&,]/\\&/g
2931     s,[\\$`],\\&,g
2932     t clear
2933     : clear
2934     s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
2935     t end
2936     s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
2937     : end
2938     _ACEOF
2939     # If some macros were called several times there might be several times
2940     # the same #defines, which is useless. Nevertheless, we may not want to
2941     # sort them, since we want the *last* AC-DEFINE to be honored.
2942     uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
2943     sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
2944     rm -f confdef2sed.sed
2945    
2946     # This sed command replaces #undef with comments. This is necessary, for
2947     # example, in the case of _POSIX_SOURCE, which is predefined and required
2948     # on some systems where configure will not decide to define it.
2949     cat >>conftest.undefs <<\_ACEOF
2950     s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
2951     _ACEOF
2952    
2953     # Break up conftest.defines because some shells have a limit on the size
2954     # of here documents, and old seds have small limits too (100 cmds).
2955     echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
2956     echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
2957     echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
2958     echo ' :' >>$CONFIG_STATUS
2959     rm -f conftest.tail
2960     while grep . conftest.defines >/dev/null
2961     do
2962     # Write a limited-size here document to $tmp/defines.sed.
2963     echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
2964     # Speed up: don't consider the non `#define' lines.
2965     echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
2966     # Work around the forget-to-reset-the-flag bug.
2967     echo 't clr' >>$CONFIG_STATUS
2968     echo ': clr' >>$CONFIG_STATUS
2969     sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
2970     echo 'CEOF
2971     sed -f $tmp/defines.sed $tmp/in >$tmp/out
2972     rm -f $tmp/in
2973     mv $tmp/out $tmp/in
2974     ' >>$CONFIG_STATUS
2975     sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
2976     rm -f conftest.defines
2977     mv conftest.tail conftest.defines
2978     done
2979     rm -f conftest.defines
2980     echo ' fi # grep' >>$CONFIG_STATUS
2981     echo >>$CONFIG_STATUS
2982    
2983     # Break up conftest.undefs because some shells have a limit on the size
2984     # of here documents, and old seds have small limits too (100 cmds).
2985     echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
2986     rm -f conftest.tail
2987     while grep . conftest.undefs >/dev/null
2988     do
2989     # Write a limited-size here document to $tmp/undefs.sed.
2990     echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
2991     # Speed up: don't consider the non `#undef'
2992     echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
2993     # Work around the forget-to-reset-the-flag bug.
2994     echo 't clr' >>$CONFIG_STATUS
2995     echo ': clr' >>$CONFIG_STATUS
2996     sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
2997     echo 'CEOF
2998     sed -f $tmp/undefs.sed $tmp/in >$tmp/out
2999     rm -f $tmp/in
3000     mv $tmp/out $tmp/in
3001     ' >>$CONFIG_STATUS
3002     sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3003     rm -f conftest.undefs
3004     mv conftest.tail conftest.undefs
3005     done
3006     rm -f conftest.undefs
3007    
3008     cat >>$CONFIG_STATUS <<\_ACEOF
3009     # Let's still pretend it is `configure' which instantiates (i.e., don't
3010     # use $as_me), people would be surprised to read:
3011     # /* config.h. Generated by config.status. */
3012     if test x"$ac_file" = x-; then
3013     echo "/* Generated by configure. */" >$tmp/config.h
3014     else
3015     echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3016     fi
3017     cat $tmp/in >>$tmp/config.h
3018     rm -f $tmp/in
3019     if test x"$ac_file" != x-; then
3020     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3021     { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3022     echo "$as_me: $ac_file is unchanged" >&6;}
3023     else
3024     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3025     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3026     X"$ac_file" : 'X\(//\)[^/]' \| \
3027     X"$ac_file" : 'X\(//\)$' \| \
3028     X"$ac_file" : 'X\(/\)' \| \
3029     . : '\(.\)' 2>/dev/null ||
3030     echo X"$ac_file" |
3031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3032     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3033     /^X\(\/\/\)$/{ s//\1/; q; }
3034     /^X\(\/\).*/{ s//\1/; q; }
3035     s/.*/./; q'`
3036     { if $as_mkdir_p; then
3037     mkdir -p "$ac_dir"
3038     else
3039     as_dir="$ac_dir"
3040     as_dirs=
3041     while test ! -d "$as_dir"; do
3042     as_dirs="$as_dir $as_dirs"
3043     as_dir=`(dirname "$as_dir") 2>/dev/null ||
3044     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3045     X"$as_dir" : 'X\(//\)[^/]' \| \
3046     X"$as_dir" : 'X\(//\)$' \| \
3047     X"$as_dir" : 'X\(/\)' \| \
3048     . : '\(.\)' 2>/dev/null ||
3049     echo X"$as_dir" |
3050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3051     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3052     /^X\(\/\/\)$/{ s//\1/; q; }
3053     /^X\(\/\).*/{ s//\1/; q; }
3054     s/.*/./; q'`
3055     done
3056     test ! -n "$as_dirs" || mkdir $as_dirs
3057     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3058     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3059     { (exit 1); exit 1; }; }; }
3060    
3061     rm -f $ac_file
3062     mv $tmp/config.h $ac_file
3063     fi
3064     else
3065     cat $tmp/config.h
3066     rm -f $tmp/config.h
3067     fi
3068     done
3069     _ACEOF
3070    
3071     cat >>$CONFIG_STATUS <<\_ACEOF
3072    
3073     { (exit 0); exit 0; }
3074     _ACEOF
3075     chmod +x $CONFIG_STATUS
3076     ac_clean_files=$ac_clean_files_save
3077    
3078    
3079     # configure is writing to config.log, and then calls config.status.
3080     # config.status does its own redirection, appending to config.log.
3081     # Unfortunately, on DOS this fails, as config.log is still kept open
3082     # by configure, so config.status won't be able to write to it; its
3083     # output is simply discarded. So we exec the FD to /dev/null,
3084     # effectively closing config.log, so it can be properly (re)opened and
3085     # appended to by config.status. When coming back to configure, we
3086     # need to make the FD available again.
3087     if test "$no_create" != yes; then
3088     ac_cs_success=:
3089     ac_config_status_args=
3090     test "$silent" = yes &&
3091     ac_config_status_args="$ac_config_status_args --quiet"
3092     exec 5>/dev/null
3093     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3094     exec 5>>config.log
3095     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3096     # would make configure fail if this is the last instruction.
3097     $ac_cs_success || { (exit 1); exit 1; }
3098     fi
3099    
3100