ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/configure
Revision: 366
Committed: 2008-08-23T02:30:47-07:00 (14 years, 3 months ago) by douglas
File size: 120499 byte(s)
Log Message:
Rearrange Search.

File Contents

# User Rev Content
1 Douglas Thrift 361 #! /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="Search.cpp"
275     ac_default_prefix=/usr/local/dtse
276     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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA ifGNUmake CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PERL which_perl CC CFLAGS ac_ct_CC ETR_SOCKET_LIBS OpenSSL urandomdev LIBOBJS LTLIBOBJS'
277     ac_subst_files=''
278    
279     # Initialize some variables set by options.
280     ac_init_help=
281     ac_init_version=false
282     # The variables have the same names as the options, with
283     # dashes changed to underlines.
284     cache_file=/dev/null
285     exec_prefix=NONE
286     no_create=
287     no_recursion=
288     prefix=NONE
289     program_prefix=NONE
290     program_suffix=NONE
291     program_transform_name=s,x,x,
292     silent=
293     site=
294     srcdir=
295     verbose=
296     x_includes=NONE
297     x_libraries=NONE
298    
299     # Installation directory options.
300     # These are left unexpanded so users can "make install exec_prefix=/foo"
301     # and all the variables that are supposed to be based on exec_prefix
302     # by default will actually change.
303     # Use braces instead of parens because sh, perl, etc. also accept them.
304     bindir='${exec_prefix}/bin'
305     sbindir='${exec_prefix}/sbin'
306     libexecdir='${exec_prefix}/libexec'
307     datadir='${prefix}/share'
308     sysconfdir='${prefix}/etc'
309     sharedstatedir='${prefix}/com'
310     localstatedir='${prefix}/var'
311     libdir='${exec_prefix}/lib'
312     includedir='${prefix}/include'
313     oldincludedir='/usr/include'
314     infodir='${prefix}/info'
315     mandir='${prefix}/man'
316    
317     ac_prev=
318     for ac_option
319     do
320     # If the previous option needs an argument, assign it.
321     if test -n "$ac_prev"; then
322     eval "$ac_prev=\$ac_option"
323     ac_prev=
324     continue
325     fi
326    
327     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328    
329     # Accept the important Cygnus configure options, so we can diagnose typos.
330    
331     case $ac_option in
332    
333     -bindir | --bindir | --bindi | --bind | --bin | --bi)
334     ac_prev=bindir ;;
335     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336     bindir=$ac_optarg ;;
337    
338     -build | --build | --buil | --bui | --bu)
339     ac_prev=build_alias ;;
340     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341     build_alias=$ac_optarg ;;
342    
343     -cache-file | --cache-file | --cache-fil | --cache-fi \
344     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345     ac_prev=cache_file ;;
346     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348     cache_file=$ac_optarg ;;
349    
350     --config-cache | -C)
351     cache_file=config.cache ;;
352    
353     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354     ac_prev=datadir ;;
355     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356     | --da=*)
357     datadir=$ac_optarg ;;
358    
359     -disable-* | --disable-*)
360     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361     # Reject names that are not valid shell variable names.
362     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364     { (exit 1); exit 1; }; }
365     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366     eval "enable_$ac_feature=no" ;;
367    
368     -enable-* | --enable-*)
369     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370     # Reject names that are not valid shell variable names.
371     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373     { (exit 1); exit 1; }; }
374     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375     case $ac_option in
376     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377     *) ac_optarg=yes ;;
378     esac
379     eval "enable_$ac_feature='$ac_optarg'" ;;
380    
381     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383     | --exec | --exe | --ex)
384     ac_prev=exec_prefix ;;
385     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387     | --exec=* | --exe=* | --ex=*)
388     exec_prefix=$ac_optarg ;;
389    
390     -gas | --gas | --ga | --g)
391     # Obsolete; use --with-gas.
392     with_gas=yes ;;
393    
394     -help | --help | --hel | --he | -h)
395     ac_init_help=long ;;
396     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397     ac_init_help=recursive ;;
398     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399     ac_init_help=short ;;
400    
401     -host | --host | --hos | --ho)
402     ac_prev=host_alias ;;
403     -host=* | --host=* | --hos=* | --ho=*)
404     host_alias=$ac_optarg ;;
405    
406     -includedir | --includedir | --includedi | --included | --include \
407     | --includ | --inclu | --incl | --inc)
408     ac_prev=includedir ;;
409     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410     | --includ=* | --inclu=* | --incl=* | --inc=*)
411     includedir=$ac_optarg ;;
412    
413     -infodir | --infodir | --infodi | --infod | --info | --inf)
414     ac_prev=infodir ;;
415     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416     infodir=$ac_optarg ;;
417    
418     -libdir | --libdir | --libdi | --libd)
419     ac_prev=libdir ;;
420     -libdir=* | --libdir=* | --libdi=* | --libd=*)
421     libdir=$ac_optarg ;;
422    
423     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424     | --libexe | --libex | --libe)
425     ac_prev=libexecdir ;;
426     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427     | --libexe=* | --libex=* | --libe=*)
428     libexecdir=$ac_optarg ;;
429    
430     -localstatedir | --localstatedir | --localstatedi | --localstated \
431     | --localstate | --localstat | --localsta | --localst \
432     | --locals | --local | --loca | --loc | --lo)
433     ac_prev=localstatedir ;;
434     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437     localstatedir=$ac_optarg ;;
438    
439     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440     ac_prev=mandir ;;
441     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442     mandir=$ac_optarg ;;
443    
444     -nfp | --nfp | --nf)
445     # Obsolete; use --without-fp.
446     with_fp=no ;;
447    
448     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449     | --no-cr | --no-c | -n)
450     no_create=yes ;;
451    
452     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454     no_recursion=yes ;;
455    
456     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458     | --oldin | --oldi | --old | --ol | --o)
459     ac_prev=oldincludedir ;;
460     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463     oldincludedir=$ac_optarg ;;
464    
465     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466     ac_prev=prefix ;;
467     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468     prefix=$ac_optarg ;;
469    
470     -program-prefix | --program-prefix | --program-prefi | --program-pref \
471     | --program-pre | --program-pr | --program-p)
472     ac_prev=program_prefix ;;
473     -program-prefix=* | --program-prefix=* | --program-prefi=* \
474     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475     program_prefix=$ac_optarg ;;
476    
477     -program-suffix | --program-suffix | --program-suffi | --program-suff \
478     | --program-suf | --program-su | --program-s)
479     ac_prev=program_suffix ;;
480     -program-suffix=* | --program-suffix=* | --program-suffi=* \
481     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482     program_suffix=$ac_optarg ;;
483    
484     -program-transform-name | --program-transform-name \
485     | --program-transform-nam | --program-transform-na \
486     | --program-transform-n | --program-transform- \
487     | --program-transform | --program-transfor \
488     | --program-transfo | --program-transf \
489     | --program-trans | --program-tran \
490     | --progr-tra | --program-tr | --program-t)
491     ac_prev=program_transform_name ;;
492     -program-transform-name=* | --program-transform-name=* \
493     | --program-transform-nam=* | --program-transform-na=* \
494     | --program-transform-n=* | --program-transform-=* \
495     | --program-transform=* | --program-transfor=* \
496     | --program-transfo=* | --program-transf=* \
497     | --program-trans=* | --program-tran=* \
498     | --progr-tra=* | --program-tr=* | --program-t=*)
499     program_transform_name=$ac_optarg ;;
500    
501     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502     | -silent | --silent | --silen | --sile | --sil)
503     silent=yes ;;
504    
505     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506     ac_prev=sbindir ;;
507     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508     | --sbi=* | --sb=*)
509     sbindir=$ac_optarg ;;
510    
511     -sharedstatedir | --sharedstatedir | --sharedstatedi \
512     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513     | --sharedst | --shareds | --shared | --share | --shar \
514     | --sha | --sh)
515     ac_prev=sharedstatedir ;;
516     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519     | --sha=* | --sh=*)
520     sharedstatedir=$ac_optarg ;;
521    
522     -site | --site | --sit)
523     ac_prev=site ;;
524     -site=* | --site=* | --sit=*)
525     site=$ac_optarg ;;
526    
527     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528     ac_prev=srcdir ;;
529     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530     srcdir=$ac_optarg ;;
531    
532     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533     | --syscon | --sysco | --sysc | --sys | --sy)
534     ac_prev=sysconfdir ;;
535     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537     sysconfdir=$ac_optarg ;;
538    
539     -target | --target | --targe | --targ | --tar | --ta | --t)
540     ac_prev=target_alias ;;
541     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542     target_alias=$ac_optarg ;;
543    
544     -v | -verbose | --verbose | --verbos | --verbo | --verb)
545     verbose=yes ;;
546    
547     -version | --version | --versio | --versi | --vers | -V)
548     ac_init_version=: ;;
549    
550     -with-* | --with-*)
551     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552     # Reject names that are not valid shell variable names.
553     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554     { echo "$as_me: error: invalid package name: $ac_package" >&2
555     { (exit 1); exit 1; }; }
556     ac_package=`echo $ac_package| sed 's/-/_/g'`
557     case $ac_option in
558     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559     *) ac_optarg=yes ;;
560     esac
561     eval "with_$ac_package='$ac_optarg'" ;;
562    
563     -without-* | --without-*)
564     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565     # Reject names that are not valid shell variable names.
566     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567     { echo "$as_me: error: invalid package name: $ac_package" >&2
568     { (exit 1); exit 1; }; }
569     ac_package=`echo $ac_package | sed 's/-/_/g'`
570     eval "with_$ac_package=no" ;;
571    
572     --x)
573     # Obsolete; use --with-x.
574     with_x=yes ;;
575    
576     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577     | --x-incl | --x-inc | --x-in | --x-i)
578     ac_prev=x_includes ;;
579     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581     x_includes=$ac_optarg ;;
582    
583     -x-libraries | --x-libraries | --x-librarie | --x-librari \
584     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585     ac_prev=x_libraries ;;
586     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588     x_libraries=$ac_optarg ;;
589    
590     -*) { echo "$as_me: error: unrecognized option: $ac_option
591     Try \`$0 --help' for more information." >&2
592     { (exit 1); exit 1; }; }
593     ;;
594    
595     *=*)
596     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597     # Reject names that are not valid shell variable names.
598     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600     { (exit 1); exit 1; }; }
601     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602     eval "$ac_envvar='$ac_optarg'"
603     export $ac_envvar ;;
604    
605     *)
606     # FIXME: should be removed in autoconf 3.0.
607     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611     ;;
612    
613     esac
614     done
615    
616     if test -n "$ac_prev"; then
617     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618     { echo "$as_me: error: missing argument to $ac_option" >&2
619     { (exit 1); exit 1; }; }
620     fi
621    
622     # Be sure to have absolute paths.
623     for ac_var in exec_prefix prefix
624     do
625     eval ac_val=$`echo $ac_var`
626     case $ac_val in
627     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629     { (exit 1); exit 1; }; };;
630     esac
631     done
632    
633     # Be sure to have absolute paths.
634     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635     localstatedir libdir includedir oldincludedir infodir mandir
636     do
637     eval ac_val=$`echo $ac_var`
638     case $ac_val in
639     [\\/$]* | ?:[\\/]* ) ;;
640     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641     { (exit 1); exit 1; }; };;
642     esac
643     done
644    
645     # There might be people who depend on the old broken behavior: `$host'
646     # used to hold the argument of --host etc.
647     # FIXME: To remove some day.
648     build=$build_alias
649     host=$host_alias
650     target=$target_alias
651    
652     # FIXME: To remove some day.
653     if test "x$host_alias" != x; then
654     if test "x$build_alias" = x; then
655     cross_compiling=maybe
656     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657     If a cross compiler is detected then cross compile mode will be used." >&2
658     elif test "x$build_alias" != "x$host_alias"; then
659     cross_compiling=yes
660     fi
661     fi
662    
663     ac_tool_prefix=
664     test -n "$host_alias" && ac_tool_prefix=$host_alias-
665    
666     test "$silent" = yes && exec 6>/dev/null
667    
668    
669     # Find the source files, if location was not specified.
670     if test -z "$srcdir"; then
671     ac_srcdir_defaulted=yes
672     # Try the directory containing this script, then its parent.
673     ac_confdir=`(dirname "$0") 2>/dev/null ||
674     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675     X"$0" : 'X\(//\)[^/]' \| \
676     X"$0" : 'X\(//\)$' \| \
677     X"$0" : 'X\(/\)' \| \
678     . : '\(.\)' 2>/dev/null ||
679     echo X"$0" |
680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682     /^X\(\/\/\)$/{ s//\1/; q; }
683     /^X\(\/\).*/{ s//\1/; q; }
684     s/.*/./; q'`
685     srcdir=$ac_confdir
686     if test ! -r $srcdir/$ac_unique_file; then
687     srcdir=..
688     fi
689     else
690     ac_srcdir_defaulted=no
691     fi
692     if test ! -r $srcdir/$ac_unique_file; then
693     if test "$ac_srcdir_defaulted" = yes; then
694     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695     { (exit 1); exit 1; }; }
696     else
697     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698     { (exit 1); exit 1; }; }
699     fi
700     fi
701     (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702     { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703     { (exit 1); exit 1; }; }
704     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705     ac_env_build_alias_set=${build_alias+set}
706     ac_env_build_alias_value=$build_alias
707     ac_cv_env_build_alias_set=${build_alias+set}
708     ac_cv_env_build_alias_value=$build_alias
709     ac_env_host_alias_set=${host_alias+set}
710     ac_env_host_alias_value=$host_alias
711     ac_cv_env_host_alias_set=${host_alias+set}
712     ac_cv_env_host_alias_value=$host_alias
713     ac_env_target_alias_set=${target_alias+set}
714     ac_env_target_alias_value=$target_alias
715     ac_cv_env_target_alias_set=${target_alias+set}
716     ac_cv_env_target_alias_value=$target_alias
717     ac_env_CXX_set=${CXX+set}
718     ac_env_CXX_value=$CXX
719     ac_cv_env_CXX_set=${CXX+set}
720     ac_cv_env_CXX_value=$CXX
721     ac_env_CXXFLAGS_set=${CXXFLAGS+set}
722     ac_env_CXXFLAGS_value=$CXXFLAGS
723     ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
724     ac_cv_env_CXXFLAGS_value=$CXXFLAGS
725     ac_env_LDFLAGS_set=${LDFLAGS+set}
726     ac_env_LDFLAGS_value=$LDFLAGS
727     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728     ac_cv_env_LDFLAGS_value=$LDFLAGS
729     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730     ac_env_CPPFLAGS_value=$CPPFLAGS
731     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733     ac_env_CC_set=${CC+set}
734     ac_env_CC_value=$CC
735     ac_cv_env_CC_set=${CC+set}
736     ac_cv_env_CC_value=$CC
737     ac_env_CFLAGS_set=${CFLAGS+set}
738     ac_env_CFLAGS_value=$CFLAGS
739     ac_cv_env_CFLAGS_set=${CFLAGS+set}
740     ac_cv_env_CFLAGS_value=$CFLAGS
741    
742     #
743     # Report the --help message.
744     #
745     if test "$ac_init_help" = "long"; then
746     # Omit some internal or obsolete options to make the list less imposing.
747     # This message is too long to be a string in the A/UX 3.1 sh.
748     cat <<_ACEOF
749     \`configure' configures this package to adapt to many kinds of systems.
750    
751     Usage: $0 [OPTION]... [VAR=VALUE]...
752    
753     To assign environment variables (e.g., CC, CFLAGS...), specify them as
754     VAR=VALUE. See below for descriptions of some of the useful variables.
755    
756     Defaults for the options are specified in brackets.
757    
758     Configuration:
759     -h, --help display this help and exit
760     --help=short display options specific to this package
761     --help=recursive display the short help of all the included packages
762     -V, --version display version information and exit
763     -q, --quiet, --silent do not print \`checking...' messages
764     --cache-file=FILE cache test results in FILE [disabled]
765     -C, --config-cache alias for \`--cache-file=config.cache'
766     -n, --no-create do not create output files
767     --srcdir=DIR find the sources in DIR [configure dir or \`..']
768    
769     _ACEOF
770    
771     cat <<_ACEOF
772     Installation directories:
773     --prefix=PREFIX install architecture-independent files in PREFIX
774     [$ac_default_prefix]
775     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
776     [PREFIX]
777    
778     By default, \`make install' will install all the files in
779     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
780     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
781     for instance \`--prefix=\$HOME'.
782    
783     For better control, use the options below.
784    
785     Fine tuning of the installation directories:
786     --bindir=DIR user executables [EPREFIX/bin]
787     --sbindir=DIR system admin executables [EPREFIX/sbin]
788     --libexecdir=DIR program executables [EPREFIX/libexec]
789     --datadir=DIR read-only architecture-independent data [PREFIX/share]
790     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
791     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
792     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
793     --libdir=DIR object code libraries [EPREFIX/lib]
794     --includedir=DIR C header files [PREFIX/include]
795     --oldincludedir=DIR C header files for non-gcc [/usr/include]
796     --infodir=DIR info documentation [PREFIX/info]
797     --mandir=DIR man documentation [PREFIX/man]
798     _ACEOF
799    
800     cat <<\_ACEOF
801     _ACEOF
802     fi
803    
804     if test -n "$ac_init_help"; then
805    
806     cat <<\_ACEOF
807    
808     Optional Packages:
809     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
810     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
811     --with-openssl[=DIR] enable OpenSSL [DIR=path]
812    
813    
814     Some influential environment variables:
815     CXX C++ compiler command
816     CXXFLAGS C++ compiler flags
817     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
818     nonstandard directory <lib dir>
819     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820     headers in a nonstandard directory <include dir>
821     CC C compiler command
822     CFLAGS C compiler flags
823    
824     Use these variables to override the choices made by `configure' or to help
825     it to find libraries and programs with nonstandard names/locations.
826    
827     _ACEOF
828     fi
829    
830     if test "$ac_init_help" = "recursive"; then
831     # If there are subdirs, report their specific --help.
832     ac_popdir=`pwd`
833     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834     test -d $ac_dir || continue
835     ac_builddir=.
836    
837     if test "$ac_dir" != .; then
838     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839     # A "../" for each directory in $ac_dir_suffix.
840     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
841     else
842     ac_dir_suffix= ac_top_builddir=
843     fi
844    
845     case $srcdir in
846     .) # No --srcdir option. We are building in place.
847     ac_srcdir=.
848     if test -z "$ac_top_builddir"; then
849     ac_top_srcdir=.
850     else
851     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
852     fi ;;
853     [\\/]* | ?:[\\/]* ) # Absolute path.
854     ac_srcdir=$srcdir$ac_dir_suffix;
855     ac_top_srcdir=$srcdir ;;
856     *) # Relative path.
857     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858     ac_top_srcdir=$ac_top_builddir$srcdir ;;
859     esac
860    
861     # Do not use `cd foo && pwd` to compute absolute paths, because
862     # the directories may not exist.
863     case `pwd` in
864     .) ac_abs_builddir="$ac_dir";;
865     *)
866     case "$ac_dir" in
867     .) ac_abs_builddir=`pwd`;;
868     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
869     *) ac_abs_builddir=`pwd`/"$ac_dir";;
870     esac;;
871     esac
872     case $ac_abs_builddir in
873     .) ac_abs_top_builddir=${ac_top_builddir}.;;
874     *)
875     case ${ac_top_builddir}. in
876     .) ac_abs_top_builddir=$ac_abs_builddir;;
877     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
878     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
879     esac;;
880     esac
881     case $ac_abs_builddir in
882     .) ac_abs_srcdir=$ac_srcdir;;
883     *)
884     case $ac_srcdir in
885     .) ac_abs_srcdir=$ac_abs_builddir;;
886     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
887     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
888     esac;;
889     esac
890     case $ac_abs_builddir in
891     .) ac_abs_top_srcdir=$ac_top_srcdir;;
892     *)
893     case $ac_top_srcdir in
894     .) ac_abs_top_srcdir=$ac_abs_builddir;;
895     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
896     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
897     esac;;
898     esac
899    
900     cd $ac_dir
901     # Check for guested configure; otherwise get Cygnus style configure.
902     if test -f $ac_srcdir/configure.gnu; then
903     echo
904     $SHELL $ac_srcdir/configure.gnu --help=recursive
905     elif test -f $ac_srcdir/configure; then
906     echo
907     $SHELL $ac_srcdir/configure --help=recursive
908     elif test -f $ac_srcdir/configure.ac ||
909     test -f $ac_srcdir/configure.in; then
910     echo
911     $ac_configure --help
912     else
913     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
914     fi
915     cd $ac_popdir
916     done
917     fi
918    
919     test -n "$ac_init_help" && exit 0
920     if $ac_init_version; then
921     cat <<\_ACEOF
922    
923     Copyright (C) 2003 Free Software Foundation, Inc.
924     This configure script is free software; the Free Software Foundation
925     gives unlimited permission to copy, distribute and modify it.
926     _ACEOF
927     exit 0
928     fi
929     exec 5>config.log
930     cat >&5 <<_ACEOF
931     This file contains any messages produced by compilers while
932     running configure, to aid debugging if configure makes a mistake.
933    
934     It was created by $as_me, which was
935     generated by GNU Autoconf 2.59. Invocation command line was
936    
937     $ $0 $@
938    
939     _ACEOF
940     {
941     cat <<_ASUNAME
942     ## --------- ##
943     ## Platform. ##
944     ## --------- ##
945    
946     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947     uname -m = `(uname -m) 2>/dev/null || echo unknown`
948     uname -r = `(uname -r) 2>/dev/null || echo unknown`
949     uname -s = `(uname -s) 2>/dev/null || echo unknown`
950     uname -v = `(uname -v) 2>/dev/null || echo unknown`
951    
952     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
954    
955     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
962    
963     _ASUNAME
964    
965     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
966     for as_dir in $PATH
967     do
968     IFS=$as_save_IFS
969     test -z "$as_dir" && as_dir=.
970     echo "PATH: $as_dir"
971     done
972    
973     } >&5
974    
975     cat >&5 <<_ACEOF
976    
977    
978     ## ----------- ##
979     ## Core tests. ##
980     ## ----------- ##
981    
982     _ACEOF
983    
984    
985     # Keep a trace of the command line.
986     # Strip out --no-create and --no-recursion so they do not pile up.
987     # Strip out --silent because we don't want to record it for future runs.
988     # Also quote any args containing shell meta-characters.
989     # Make two passes to allow for proper duplicate-argument suppression.
990     ac_configure_args=
991     ac_configure_args0=
992     ac_configure_args1=
993     ac_sep=
994     ac_must_keep_next=false
995     for ac_pass in 1 2
996     do
997     for ac_arg
998     do
999     case $ac_arg in
1000     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1001     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002     | -silent | --silent | --silen | --sile | --sil)
1003     continue ;;
1004     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1006     esac
1007     case $ac_pass in
1008     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1009     2)
1010     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1011     if test $ac_must_keep_next = true; then
1012     ac_must_keep_next=false # Got value, back to normal.
1013     else
1014     case $ac_arg in
1015     *=* | --config-cache | -C | -disable-* | --disable-* \
1016     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1017     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1018     | -with-* | --with-* | -without-* | --without-* | --x)
1019     case "$ac_configure_args0 " in
1020     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1021     esac
1022     ;;
1023     -* ) ac_must_keep_next=true ;;
1024     esac
1025     fi
1026     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027     # Get rid of the leading space.
1028     ac_sep=" "
1029     ;;
1030     esac
1031     done
1032     done
1033     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1034     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1035    
1036     # When interrupted or exit'd, cleanup temporary files, and complete
1037     # config.log. We remove comments because anyway the quotes in there
1038     # would cause problems or look ugly.
1039     # WARNING: Be sure not to use single quotes in there, as some shells,
1040     # such as our DU 5.0 friend, will then `close' the trap.
1041     trap 'exit_status=$?
1042     # Save into config.log some information that might help in debugging.
1043     {
1044     echo
1045    
1046     cat <<\_ASBOX
1047     ## ---------------- ##
1048     ## Cache variables. ##
1049     ## ---------------- ##
1050     _ASBOX
1051     echo
1052     # The following way of writing the cache mishandles newlines in values,
1053     {
1054     (set) 2>&1 |
1055     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1056     *ac_space=\ *)
1057     sed -n \
1058     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1059     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1060     ;;
1061     *)
1062     sed -n \
1063     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1064     ;;
1065     esac;
1066     }
1067     echo
1068    
1069     cat <<\_ASBOX
1070     ## ----------------- ##
1071     ## Output variables. ##
1072     ## ----------------- ##
1073     _ASBOX
1074     echo
1075     for ac_var in $ac_subst_vars
1076     do
1077     eval ac_val=$`echo $ac_var`
1078     echo "$ac_var='"'"'$ac_val'"'"'"
1079     done | sort
1080     echo
1081    
1082     if test -n "$ac_subst_files"; then
1083     cat <<\_ASBOX
1084     ## ------------- ##
1085     ## Output files. ##
1086     ## ------------- ##
1087     _ASBOX
1088     echo
1089     for ac_var in $ac_subst_files
1090     do
1091     eval ac_val=$`echo $ac_var`
1092     echo "$ac_var='"'"'$ac_val'"'"'"
1093     done | sort
1094     echo
1095     fi
1096    
1097     if test -s confdefs.h; then
1098     cat <<\_ASBOX
1099     ## ----------- ##
1100     ## confdefs.h. ##
1101     ## ----------- ##
1102     _ASBOX
1103     echo
1104     sed "/^$/d" confdefs.h | sort
1105     echo
1106     fi
1107     test "$ac_signal" != 0 &&
1108     echo "$as_me: caught signal $ac_signal"
1109     echo "$as_me: exit $exit_status"
1110     } >&5
1111     rm -f core *.core &&
1112     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1113     exit $exit_status
1114     ' 0
1115     for ac_signal in 1 2 13 15; do
1116     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1117     done
1118     ac_signal=0
1119    
1120     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1121     rm -rf conftest* confdefs.h
1122     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1123     echo >confdefs.h
1124    
1125     # Predefined preprocessor variables.
1126    
1127     cat >>confdefs.h <<_ACEOF
1128     #define PACKAGE_NAME "$PACKAGE_NAME"
1129     _ACEOF
1130    
1131    
1132     cat >>confdefs.h <<_ACEOF
1133     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1134     _ACEOF
1135    
1136    
1137     cat >>confdefs.h <<_ACEOF
1138     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1139     _ACEOF
1140    
1141    
1142     cat >>confdefs.h <<_ACEOF
1143     #define PACKAGE_STRING "$PACKAGE_STRING"
1144     _ACEOF
1145    
1146    
1147     cat >>confdefs.h <<_ACEOF
1148     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1149     _ACEOF
1150    
1151    
1152     # Let the site file select an alternate cache file if it wants to.
1153     # Prefer explicitly selected file to automatically selected ones.
1154     if test -z "$CONFIG_SITE"; then
1155     if test "x$prefix" != xNONE; then
1156     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1157     else
1158     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1159     fi
1160     fi
1161     for ac_site_file in $CONFIG_SITE; do
1162     if test -r "$ac_site_file"; then
1163     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1164     echo "$as_me: loading site script $ac_site_file" >&6;}
1165     sed 's/^/| /' "$ac_site_file" >&5
1166     . "$ac_site_file"
1167     fi
1168     done
1169    
1170     if test -r "$cache_file"; then
1171     # Some versions of bash will fail to source /dev/null (special
1172     # files actually), so we avoid doing that.
1173     if test -f "$cache_file"; then
1174     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1175     echo "$as_me: loading cache $cache_file" >&6;}
1176     case $cache_file in
1177     [\\/]* | ?:[\\/]* ) . $cache_file;;
1178     *) . ./$cache_file;;
1179     esac
1180     fi
1181     else
1182     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1183     echo "$as_me: creating cache $cache_file" >&6;}
1184     >$cache_file
1185     fi
1186    
1187     # Check that the precious variables saved in the cache have kept the same
1188     # value.
1189     ac_cache_corrupted=false
1190     for ac_var in `(set) 2>&1 |
1191     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1192     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1193     eval ac_new_set=\$ac_env_${ac_var}_set
1194     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1195     eval ac_new_val="\$ac_env_${ac_var}_value"
1196     case $ac_old_set,$ac_new_set in
1197     set,)
1198     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1199     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1200     ac_cache_corrupted=: ;;
1201     ,set)
1202     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1203     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1204     ac_cache_corrupted=: ;;
1205     ,);;
1206     *)
1207     if test "x$ac_old_val" != "x$ac_new_val"; then
1208     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1209     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1210     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1211     echo "$as_me: former value: $ac_old_val" >&2;}
1212     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1213     echo "$as_me: current value: $ac_new_val" >&2;}
1214     ac_cache_corrupted=:
1215     fi;;
1216     esac
1217     # Pass precious variables to config.status.
1218     if test "$ac_new_set" = set; then
1219     case $ac_new_val in
1220     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1222     *) ac_arg=$ac_var=$ac_new_val ;;
1223     esac
1224     case " $ac_configure_args " in
1225     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1226     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1227     esac
1228     fi
1229     done
1230     if $ac_cache_corrupted; then
1231     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1232     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1233     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1234     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1235     { (exit 1); exit 1; }; }
1236     fi
1237    
1238     ac_ext=c
1239     ac_cpp='$CPP $CPPFLAGS'
1240     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1243    
1244    
1245    
1246    
1247    
1248    
1249    
1250    
1251    
1252    
1253    
1254    
1255    
1256    
1257    
1258    
1259    
1260    
1261    
1262    
1263    
1264     ac_aux_dir=
1265     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1266     if test -f $ac_dir/install-sh; then
1267     ac_aux_dir=$ac_dir
1268     ac_install_sh="$ac_aux_dir/install-sh -c"
1269     break
1270     elif test -f $ac_dir/install.sh; then
1271     ac_aux_dir=$ac_dir
1272     ac_install_sh="$ac_aux_dir/install.sh -c"
1273     break
1274     elif test -f $ac_dir/shtool; then
1275     ac_aux_dir=$ac_dir
1276     ac_install_sh="$ac_aux_dir/shtool install -c"
1277     break
1278     fi
1279     done
1280     if test -z "$ac_aux_dir"; then
1281     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1282     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1283     { (exit 1); exit 1; }; }
1284     fi
1285     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1286     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1287     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1288    
1289     # Find a good install program. We prefer a C program (faster),
1290     # so one script is as good as another. But avoid the broken or
1291     # incompatible versions:
1292     # SysV /etc/install, /usr/sbin/install
1293     # SunOS /usr/etc/install
1294     # IRIX /sbin/install
1295     # AIX /bin/install
1296     # AmigaOS /C/install, which installs bootblocks on floppy discs
1297     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1298     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1299     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1300     # OS/2's system install, which has a completely different semantic
1301     # ./install, which can be erroneously created by make from ./install.sh.
1302     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1303     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1304     if test -z "$INSTALL"; then
1305     if test "${ac_cv_path_install+set}" = set; then
1306     echo $ECHO_N "(cached) $ECHO_C" >&6
1307     else
1308     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1309     for as_dir in $PATH
1310     do
1311     IFS=$as_save_IFS
1312     test -z "$as_dir" && as_dir=.
1313     # Account for people who put trailing slashes in PATH elements.
1314     case $as_dir/ in
1315     ./ | .// | /cC/* | \
1316     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1317     ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1318     /usr/ucb/* ) ;;
1319     *)
1320     # OSF1 and SCO ODT 3.0 have their own names for install.
1321     # Don't use installbsd from OSF since it installs stuff as root
1322     # by default.
1323     for ac_prog in ginstall scoinst install; do
1324     for ac_exec_ext in '' $ac_executable_extensions; do
1325     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1326     if test $ac_prog = install &&
1327     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1328     # AIX install. It has an incompatible calling convention.
1329     :
1330     elif test $ac_prog = install &&
1331     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1332     # program-specific install script used by HP pwplus--don't use.
1333     :
1334     else
1335     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1336     break 3
1337     fi
1338     fi
1339     done
1340     done
1341     ;;
1342     esac
1343     done
1344    
1345    
1346     fi
1347     if test "${ac_cv_path_install+set}" = set; then
1348     INSTALL=$ac_cv_path_install
1349     else
1350     # As a last resort, use the slow shell script. We don't cache a
1351     # path for INSTALL within a source directory, because that will
1352     # break other packages using the cache if that directory is
1353     # removed, or if the path is relative.
1354     INSTALL=$ac_install_sh
1355     fi
1356     fi
1357     echo "$as_me:$LINENO: result: $INSTALL" >&5
1358     echo "${ECHO_T}$INSTALL" >&6
1359    
1360     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1361     # It thinks the first close brace ends the variable substitution.
1362     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1363    
1364     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1365    
1366     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1367    
1368    
1369     echo "$as_me:$LINENO: checking for GNU make" >&5
1370     echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
1371     if test "${_cv_gnu_make_command+set}" = set; then
1372     echo $ECHO_N "(cached) $ECHO_C" >&6
1373     else
1374     _cv_gnu_make_command='' ;
1375     for a in "$MAKE" make gmake gnumake ; do
1376     if test -z "$a" ; then continue ; fi ;
1377     if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
1378     _cv_gnu_make_command=$a ;
1379     break;
1380     fi
1381     done ;
1382    
1383     fi
1384     echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
1385     echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
1386     if test "x$_cv_gnu_make_command" != "x" ; then
1387     ifGNUmake='' ;
1388     else
1389     ifGNUmake='#' ;
1390     echo "$as_me:$LINENO: result: \"Not found\"" >&5
1391     echo "${ECHO_T}\"Not found\"" >&6;
1392     fi
1393    
1394    
1395     if test x$_cv_gnu_make_command = x; then
1396     { { echo "$as_me:$LINENO: error: You need GNU Make." >&5
1397     echo "$as_me: error: You need GNU Make." >&2;}
1398     { (exit 1); exit 1; }; }
1399     fi
1400     ac_ext=cc
1401     ac_cpp='$CXXCPP $CPPFLAGS'
1402     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1403     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1404     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1405     if test -n "$ac_tool_prefix"; then
1406     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1407     do
1408     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1409     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1410     echo "$as_me:$LINENO: checking for $ac_word" >&5
1411     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412     if test "${ac_cv_prog_CXX+set}" = set; then
1413     echo $ECHO_N "(cached) $ECHO_C" >&6
1414     else
1415     if test -n "$CXX"; then
1416     ac_cv_prog_CXX="$CXX" # Let the user override the test.
1417     else
1418     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419     for as_dir in $PATH
1420     do
1421     IFS=$as_save_IFS
1422     test -z "$as_dir" && as_dir=.
1423     for ac_exec_ext in '' $ac_executable_extensions; do
1424     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1426     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427     break 2
1428     fi
1429     done
1430     done
1431    
1432     fi
1433     fi
1434     CXX=$ac_cv_prog_CXX
1435     if test -n "$CXX"; then
1436     echo "$as_me:$LINENO: result: $CXX" >&5
1437     echo "${ECHO_T}$CXX" >&6
1438     else
1439     echo "$as_me:$LINENO: result: no" >&5
1440     echo "${ECHO_T}no" >&6
1441     fi
1442    
1443     test -n "$CXX" && break
1444     done
1445     fi
1446     if test -z "$CXX"; then
1447     ac_ct_CXX=$CXX
1448     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1449     do
1450     # Extract the first word of "$ac_prog", so it can be a program name with args.
1451     set dummy $ac_prog; ac_word=$2
1452     echo "$as_me:$LINENO: checking for $ac_word" >&5
1453     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1455     echo $ECHO_N "(cached) $ECHO_C" >&6
1456     else
1457     if test -n "$ac_ct_CXX"; then
1458     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1459     else
1460     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461     for as_dir in $PATH
1462     do
1463     IFS=$as_save_IFS
1464     test -z "$as_dir" && as_dir=.
1465     for ac_exec_ext in '' $ac_executable_extensions; do
1466     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1467     ac_cv_prog_ac_ct_CXX="$ac_prog"
1468     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469     break 2
1470     fi
1471     done
1472     done
1473    
1474     fi
1475     fi
1476     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1477     if test -n "$ac_ct_CXX"; then
1478     echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1479     echo "${ECHO_T}$ac_ct_CXX" >&6
1480     else
1481     echo "$as_me:$LINENO: result: no" >&5
1482     echo "${ECHO_T}no" >&6
1483     fi
1484    
1485     test -n "$ac_ct_CXX" && break
1486     done
1487     test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1488    
1489     CXX=$ac_ct_CXX
1490     fi
1491    
1492    
1493     # Provide some information about the compiler.
1494     echo "$as_me:$LINENO:" \
1495     "checking for C++ compiler version" >&5
1496     ac_compiler=`set X $ac_compile; echo $2`
1497     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1498     (eval $ac_compiler --version </dev/null >&5) 2>&5
1499     ac_status=$?
1500     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1501     (exit $ac_status); }
1502     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1503     (eval $ac_compiler -v </dev/null >&5) 2>&5
1504     ac_status=$?
1505     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506     (exit $ac_status); }
1507     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1508     (eval $ac_compiler -V </dev/null >&5) 2>&5
1509     ac_status=$?
1510     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1511     (exit $ac_status); }
1512    
1513     cat >conftest.$ac_ext <<_ACEOF
1514     /* confdefs.h. */
1515     _ACEOF
1516     cat confdefs.h >>conftest.$ac_ext
1517     cat >>conftest.$ac_ext <<_ACEOF
1518     /* end confdefs.h. */
1519    
1520     int
1521     main ()
1522     {
1523    
1524     ;
1525     return 0;
1526     }
1527     _ACEOF
1528     ac_clean_files_save=$ac_clean_files
1529     ac_clean_files="$ac_clean_files a.out a.exe b.out"
1530     # Try to create an executable without -o first, disregard a.out.
1531     # It will help us diagnose broken compilers, and finding out an intuition
1532     # of exeext.
1533     echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1534     echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1535     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1536     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1537     (eval $ac_link_default) 2>&5
1538     ac_status=$?
1539     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1540     (exit $ac_status); }; then
1541     # Find the output, starting from the most likely. This scheme is
1542     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1543     # resort.
1544    
1545     # Be careful to initialize this variable, since it used to be cached.
1546     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1547     ac_cv_exeext=
1548     # b.out is created by i960 compilers.
1549     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1550     do
1551     test -f "$ac_file" || continue
1552     case $ac_file in
1553     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1554     ;;
1555     conftest.$ac_ext )
1556     # This is the source file.
1557     ;;
1558     [ab].out )
1559     # We found the default executable, but exeext='' is most
1560     # certainly right.
1561     break;;
1562     *.* )
1563     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1564     # FIXME: I believe we export ac_cv_exeext for Libtool,
1565     # but it would be cool to find out if it's true. Does anybody
1566     # maintain Libtool? --akim.
1567     export ac_cv_exeext
1568     break;;
1569     * )
1570     break;;
1571     esac
1572     done
1573     else
1574     echo "$as_me: failed program was:" >&5
1575     sed 's/^/| /' conftest.$ac_ext >&5
1576    
1577     { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1578     See \`config.log' for more details." >&5
1579     echo "$as_me: error: C++ compiler cannot create executables
1580     See \`config.log' for more details." >&2;}
1581     { (exit 77); exit 77; }; }
1582     fi
1583    
1584     ac_exeext=$ac_cv_exeext
1585     echo "$as_me:$LINENO: result: $ac_file" >&5
1586     echo "${ECHO_T}$ac_file" >&6
1587    
1588     # Check the compiler produces executables we can run. If not, either
1589     # the compiler is broken, or we cross compile.
1590     echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1591     echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1592     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1593     # If not cross compiling, check that we can run a simple program.
1594     if test "$cross_compiling" != yes; then
1595     if { ac_try='./$ac_file'
1596     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1597     (eval $ac_try) 2>&5
1598     ac_status=$?
1599     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1600     (exit $ac_status); }; }; then
1601     cross_compiling=no
1602     else
1603     if test "$cross_compiling" = maybe; then
1604     cross_compiling=yes
1605     else
1606     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1607     If you meant to cross compile, use \`--host'.
1608     See \`config.log' for more details." >&5
1609     echo "$as_me: error: cannot run C++ compiled programs.
1610     If you meant to cross compile, use \`--host'.
1611     See \`config.log' for more details." >&2;}
1612     { (exit 1); exit 1; }; }
1613     fi
1614     fi
1615     fi
1616     echo "$as_me:$LINENO: result: yes" >&5
1617     echo "${ECHO_T}yes" >&6
1618    
1619     rm -f a.out a.exe conftest$ac_cv_exeext b.out
1620     ac_clean_files=$ac_clean_files_save
1621     # Check the compiler produces executables we can run. If not, either
1622     # the compiler is broken, or we cross compile.
1623     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1624     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1625     echo "$as_me:$LINENO: result: $cross_compiling" >&5
1626     echo "${ECHO_T}$cross_compiling" >&6
1627    
1628     echo "$as_me:$LINENO: checking for suffix of executables" >&5
1629     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1630     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1631     (eval $ac_link) 2>&5
1632     ac_status=$?
1633     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634     (exit $ac_status); }; then
1635     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1636     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1637     # work properly (i.e., refer to `conftest.exe'), while it won't with
1638     # `rm'.
1639     for ac_file in conftest.exe conftest conftest.*; do
1640     test -f "$ac_file" || continue
1641     case $ac_file in
1642     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1643     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1644     export ac_cv_exeext
1645     break;;
1646     * ) break;;
1647     esac
1648     done
1649     else
1650     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1651     See \`config.log' for more details." >&5
1652     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1653     See \`config.log' for more details." >&2;}
1654     { (exit 1); exit 1; }; }
1655     fi
1656    
1657     rm -f conftest$ac_cv_exeext
1658     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1659     echo "${ECHO_T}$ac_cv_exeext" >&6
1660    
1661     rm -f conftest.$ac_ext
1662     EXEEXT=$ac_cv_exeext
1663     ac_exeext=$EXEEXT
1664     echo "$as_me:$LINENO: checking for suffix of object files" >&5
1665     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1666     if test "${ac_cv_objext+set}" = set; then
1667     echo $ECHO_N "(cached) $ECHO_C" >&6
1668     else
1669     cat >conftest.$ac_ext <<_ACEOF
1670     /* confdefs.h. */
1671     _ACEOF
1672     cat confdefs.h >>conftest.$ac_ext
1673     cat >>conftest.$ac_ext <<_ACEOF
1674     /* end confdefs.h. */
1675    
1676     int
1677     main ()
1678     {
1679    
1680     ;
1681     return 0;
1682     }
1683     _ACEOF
1684     rm -f conftest.o conftest.obj
1685     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1686     (eval $ac_compile) 2>&5
1687     ac_status=$?
1688     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689     (exit $ac_status); }; then
1690     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1691     case $ac_file in
1692     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1693     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1694     break;;
1695     esac
1696     done
1697     else
1698     echo "$as_me: failed program was:" >&5
1699     sed 's/^/| /' conftest.$ac_ext >&5
1700    
1701     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1702     See \`config.log' for more details." >&5
1703     echo "$as_me: error: cannot compute suffix of object files: cannot compile
1704     See \`config.log' for more details." >&2;}
1705     { (exit 1); exit 1; }; }
1706     fi
1707    
1708     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1709     fi
1710     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1711     echo "${ECHO_T}$ac_cv_objext" >&6
1712     OBJEXT=$ac_cv_objext
1713     ac_objext=$OBJEXT
1714     echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1715     echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1716     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1717     echo $ECHO_N "(cached) $ECHO_C" >&6
1718     else
1719     cat >conftest.$ac_ext <<_ACEOF
1720     /* confdefs.h. */
1721     _ACEOF
1722     cat confdefs.h >>conftest.$ac_ext
1723     cat >>conftest.$ac_ext <<_ACEOF
1724     /* end confdefs.h. */
1725    
1726     int
1727     main ()
1728     {
1729     #ifndef __GNUC__
1730     choke me
1731     #endif
1732    
1733     ;
1734     return 0;
1735     }
1736     _ACEOF
1737     rm -f conftest.$ac_objext
1738     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1739     (eval $ac_compile) 2>conftest.er1
1740     ac_status=$?
1741     grep -v '^ *+' conftest.er1 >conftest.err
1742     rm -f conftest.er1
1743     cat conftest.err >&5
1744     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745     (exit $ac_status); } &&
1746     { ac_try='test -z "$ac_cxx_werror_flag"
1747     || test ! -s conftest.err'
1748     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1749     (eval $ac_try) 2>&5
1750     ac_status=$?
1751     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752     (exit $ac_status); }; } &&
1753     { ac_try='test -s conftest.$ac_objext'
1754     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1755     (eval $ac_try) 2>&5
1756     ac_status=$?
1757     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758     (exit $ac_status); }; }; then
1759     ac_compiler_gnu=yes
1760     else
1761     echo "$as_me: failed program was:" >&5
1762     sed 's/^/| /' conftest.$ac_ext >&5
1763    
1764     ac_compiler_gnu=no
1765     fi
1766     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1767     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1768    
1769     fi
1770     echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1771     echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1772     GXX=`test $ac_compiler_gnu = yes && echo yes`
1773     ac_test_CXXFLAGS=${CXXFLAGS+set}
1774     ac_save_CXXFLAGS=$CXXFLAGS
1775     CXXFLAGS="-g"
1776     echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1777     echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1778     if test "${ac_cv_prog_cxx_g+set}" = set; then
1779     echo $ECHO_N "(cached) $ECHO_C" >&6
1780     else
1781     cat >conftest.$ac_ext <<_ACEOF
1782     /* confdefs.h. */
1783     _ACEOF
1784     cat confdefs.h >>conftest.$ac_ext
1785     cat >>conftest.$ac_ext <<_ACEOF
1786     /* end confdefs.h. */
1787    
1788     int
1789     main ()
1790     {
1791    
1792     ;
1793     return 0;
1794     }
1795     _ACEOF
1796     rm -f conftest.$ac_objext
1797     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1798     (eval $ac_compile) 2>conftest.er1
1799     ac_status=$?
1800     grep -v '^ *+' conftest.er1 >conftest.err
1801     rm -f conftest.er1
1802     cat conftest.err >&5
1803     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804     (exit $ac_status); } &&
1805     { ac_try='test -z "$ac_cxx_werror_flag"
1806     || test ! -s conftest.err'
1807     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1808     (eval $ac_try) 2>&5
1809     ac_status=$?
1810     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811     (exit $ac_status); }; } &&
1812     { ac_try='test -s conftest.$ac_objext'
1813     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1814     (eval $ac_try) 2>&5
1815     ac_status=$?
1816     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817     (exit $ac_status); }; }; then
1818     ac_cv_prog_cxx_g=yes
1819     else
1820     echo "$as_me: failed program was:" >&5
1821     sed 's/^/| /' conftest.$ac_ext >&5
1822    
1823     ac_cv_prog_cxx_g=no
1824     fi
1825     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1826     fi
1827     echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1828     echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1829     if test "$ac_test_CXXFLAGS" = set; then
1830     CXXFLAGS=$ac_save_CXXFLAGS
1831     elif test $ac_cv_prog_cxx_g = yes; then
1832     if test "$GXX" = yes; then
1833     CXXFLAGS="-g -O2"
1834     else
1835     CXXFLAGS="-g"
1836     fi
1837     else
1838     if test "$GXX" = yes; then
1839     CXXFLAGS="-O2"
1840     else
1841     CXXFLAGS=
1842     fi
1843     fi
1844     for ac_declaration in \
1845     '' \
1846     'extern "C" void std::exit (int) throw (); using std::exit;' \
1847     'extern "C" void std::exit (int); using std::exit;' \
1848     'extern "C" void exit (int) throw ();' \
1849     'extern "C" void exit (int);' \
1850     'void exit (int);'
1851     do
1852     cat >conftest.$ac_ext <<_ACEOF
1853     /* confdefs.h. */
1854     _ACEOF
1855     cat confdefs.h >>conftest.$ac_ext
1856     cat >>conftest.$ac_ext <<_ACEOF
1857     /* end confdefs.h. */
1858     $ac_declaration
1859     #include <stdlib.h>
1860     int
1861     main ()
1862     {
1863     exit (42);
1864     ;
1865     return 0;
1866     }
1867     _ACEOF
1868     rm -f conftest.$ac_objext
1869     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1870     (eval $ac_compile) 2>conftest.er1
1871     ac_status=$?
1872     grep -v '^ *+' conftest.er1 >conftest.err
1873     rm -f conftest.er1
1874     cat conftest.err >&5
1875     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876     (exit $ac_status); } &&
1877     { ac_try='test -z "$ac_cxx_werror_flag"
1878     || test ! -s conftest.err'
1879     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1880     (eval $ac_try) 2>&5
1881     ac_status=$?
1882     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883     (exit $ac_status); }; } &&
1884     { ac_try='test -s conftest.$ac_objext'
1885     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1886     (eval $ac_try) 2>&5
1887     ac_status=$?
1888     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889     (exit $ac_status); }; }; then
1890     :
1891     else
1892     echo "$as_me: failed program was:" >&5
1893     sed 's/^/| /' conftest.$ac_ext >&5
1894    
1895     continue
1896     fi
1897     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1898     cat >conftest.$ac_ext <<_ACEOF
1899     /* confdefs.h. */
1900     _ACEOF
1901     cat confdefs.h >>conftest.$ac_ext
1902     cat >>conftest.$ac_ext <<_ACEOF
1903     /* end confdefs.h. */
1904     $ac_declaration
1905     int
1906     main ()
1907     {
1908     exit (42);
1909     ;
1910     return 0;
1911     }
1912     _ACEOF
1913     rm -f conftest.$ac_objext
1914     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915     (eval $ac_compile) 2>conftest.er1
1916     ac_status=$?
1917     grep -v '^ *+' conftest.er1 >conftest.err
1918     rm -f conftest.er1
1919     cat conftest.err >&5
1920     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921     (exit $ac_status); } &&
1922     { ac_try='test -z "$ac_cxx_werror_flag"
1923     || test ! -s conftest.err'
1924     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1925     (eval $ac_try) 2>&5
1926     ac_status=$?
1927     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928     (exit $ac_status); }; } &&
1929     { ac_try='test -s conftest.$ac_objext'
1930     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931     (eval $ac_try) 2>&5
1932     ac_status=$?
1933     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934     (exit $ac_status); }; }; then
1935     break
1936     else
1937     echo "$as_me: failed program was:" >&5
1938     sed 's/^/| /' conftest.$ac_ext >&5
1939    
1940     fi
1941     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1942     done
1943     rm -f conftest*
1944     if test -n "$ac_declaration"; then
1945     echo '#ifdef __cplusplus' >>confdefs.h
1946     echo $ac_declaration >>confdefs.h
1947     echo '#endif' >>confdefs.h
1948     fi
1949    
1950     ac_ext=c
1951     ac_cpp='$CPP $CPPFLAGS'
1952     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1955    
1956     if ! test x$GXX = x; then
1957     echo "$as_me:$LINENO: checking if g++ is version 3.1 or higher" >&5
1958     echo $ECHO_N "checking if g++ is version 3.1 or higher... $ECHO_C" >&6
1959     dt_gxx_3_x=`$CXX --version 2>&1 | grep ^$CXX`
1960     if test "x$dt_gxx_3_x" = "x"; then
1961     echo "$as_me:$LINENO: result: no" >&5
1962     echo "${ECHO_T}no" >&6
1963     { { echo "$as_me:$LINENO: error: You need g++ 3.1 or higher." >&5
1964     echo "$as_me: error: You need g++ 3.1 or higher." >&2;}
1965     { (exit 1); exit 1; }; }
1966     else
1967     echo "$as_me:$LINENO: result: yes" >&5
1968     echo "${ECHO_T}yes" >&6
1969     fi
1970     fi
1971     # Make sure we have perl
1972     if test -z "$PERL"; then
1973     # Extract the first word of "perl", so it can be a program name with args.
1974     set dummy perl; ac_word=$2
1975     echo "$as_me:$LINENO: checking for $ac_word" >&5
1976     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1977     if test "${ac_cv_prog_PERL+set}" = set; then
1978     echo $ECHO_N "(cached) $ECHO_C" >&6
1979     else
1980     if test -n "$PERL"; then
1981     ac_cv_prog_PERL="$PERL" # Let the user override the test.
1982     else
1983     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984     for as_dir in $PATH
1985     do
1986     IFS=$as_save_IFS
1987     test -z "$as_dir" && as_dir=.
1988     for ac_exec_ext in '' $ac_executable_extensions; do
1989     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990     ac_cv_prog_PERL="perl"
1991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992     break 2
1993     fi
1994     done
1995     done
1996    
1997     fi
1998     fi
1999     PERL=$ac_cv_prog_PERL
2000     if test -n "$PERL"; then
2001     echo "$as_me:$LINENO: result: $PERL" >&5
2002     echo "${ECHO_T}$PERL" >&6
2003     else
2004     echo "$as_me:$LINENO: result: no" >&5
2005     echo "${ECHO_T}no" >&6
2006     fi
2007    
2008     fi
2009    
2010     # Check if version of Perl is sufficient
2011     ac_perl_version="5.00503"
2012    
2013     if test "x$PERL" != "x"; then
2014     echo "$as_me:$LINENO: checking for perl version greater than or equal to $ac_perl_version" >&5
2015     echo $ECHO_N "checking for perl version greater than or equal to $ac_perl_version... $ECHO_C" >&6
2016     # NB: It would be nice to log the error if there is one, but we cannot rely
2017     # on autoconf internals
2018     $PERL -e "use $ac_perl_version;" > /dev/null 2>&1
2019     if test $? -ne 0; then
2020     echo "$as_me:$LINENO: result: no" >&5
2021     echo "${ECHO_T}no" >&6;
2022     { { echo "$as_me:$LINENO: error: You need a Perl 5.6 or higher." >&5
2023     echo "$as_me: error: You need a Perl 5.6 or higher." >&2;}
2024     { (exit 1); exit 1; }; }
2025     else
2026     echo "$as_me:$LINENO: result: ok" >&5
2027     echo "${ECHO_T}ok" >&6;
2028    
2029     fi
2030     else
2031     { echo "$as_me:$LINENO: WARNING: could not find perl" >&5
2032     echo "$as_me: WARNING: could not find perl" >&2;}
2033     fi
2034    
2035     echo "$as_me:$LINENO: checking perl path" >&5
2036     echo $ECHO_N "checking perl path... $ECHO_C" >&6
2037     which_perl=`which $PERL`
2038    
2039     echo "$as_me:$LINENO: result: $which_perl" >&5
2040     echo "${ECHO_T}$which_perl" >&6
2041    
2042     ac_perl_modules="File::Temp"
2043     # Make sure we have perl
2044     if test -z "$PERL"; then
2045     # Extract the first word of "perl", so it can be a program name with args.
2046     set dummy perl; ac_word=$2
2047     echo "$as_me:$LINENO: checking for $ac_word" >&5
2048     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049     if test "${ac_cv_prog_PERL+set}" = set; then
2050     echo $ECHO_N "(cached) $ECHO_C" >&6
2051     else
2052     if test -n "$PERL"; then
2053     ac_cv_prog_PERL="$PERL" # Let the user override the test.
2054     else
2055     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056     for as_dir in $PATH
2057     do
2058     IFS=$as_save_IFS
2059     test -z "$as_dir" && as_dir=.
2060     for ac_exec_ext in '' $ac_executable_extensions; do
2061     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062     ac_cv_prog_PERL="perl"
2063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064     break 2
2065     fi
2066     done
2067     done
2068    
2069     fi
2070     fi
2071     PERL=$ac_cv_prog_PERL
2072     if test -n "$PERL"; then
2073     echo "$as_me:$LINENO: result: $PERL" >&5
2074     echo "${ECHO_T}$PERL" >&6
2075     else
2076     echo "$as_me:$LINENO: result: no" >&5
2077     echo "${ECHO_T}no" >&6
2078     fi
2079    
2080     fi
2081    
2082     if test "x$PERL" != x; then
2083     ac_perl_modules_failed=0
2084     for ac_perl_module in $ac_perl_modules; do
2085     echo "$as_me:$LINENO: checking for perl module $ac_perl_module" >&5
2086     echo $ECHO_N "checking for perl module $ac_perl_module... $ECHO_C" >&6
2087    
2088     # Would be nice to log result here, but can't rely on autoconf internals
2089     $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1
2090     if test $? -ne 0; then
2091     echo "$as_me:$LINENO: result: no" >&5
2092     echo "${ECHO_T}no" >&6;
2093     ac_perl_modules_failed=1
2094     else
2095     echo "$as_me:$LINENO: result: ok" >&5
2096     echo "${ECHO_T}ok" >&6;
2097     fi
2098     done
2099    
2100     # Run optional shell commands
2101     if test "$ac_perl_modules_failed" = 0; then
2102     :
2103    
2104     else
2105     :
2106     { { echo "$as_me:$LINENO: error: You need File::Temp." >&5
2107     echo "$as_me: error: You need File::Temp." >&2;}
2108     { (exit 1); exit 1; }; }
2109     fi
2110     else
2111     { echo "$as_me:$LINENO: WARNING: could not find perl" >&5
2112     echo "$as_me: WARNING: could not find perl" >&2;}
2113     fi
2114     mingw=`$CXX --version 2>&1 | grep mingw\ special`
2115     if test "x$mingw" = "x"; then
2116     ac_ext=c
2117     ac_cpp='$CPP $CPPFLAGS'
2118     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2119     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2120     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2121     if test -n "$ac_tool_prefix"; then
2122     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2123     set dummy ${ac_tool_prefix}gcc; ac_word=$2
2124     echo "$as_me:$LINENO: checking for $ac_word" >&5
2125     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126     if test "${ac_cv_prog_CC+set}" = set; then
2127     echo $ECHO_N "(cached) $ECHO_C" >&6
2128     else
2129     if test -n "$CC"; then
2130     ac_cv_prog_CC="$CC" # Let the user override the test.
2131     else
2132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133     for as_dir in $PATH
2134     do
2135     IFS=$as_save_IFS
2136     test -z "$as_dir" && as_dir=.
2137     for ac_exec_ext in '' $ac_executable_extensions; do
2138     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141     break 2
2142     fi
2143     done
2144     done
2145    
2146     fi
2147     fi
2148     CC=$ac_cv_prog_CC
2149     if test -n "$CC"; then
2150     echo "$as_me:$LINENO: result: $CC" >&5
2151     echo "${ECHO_T}$CC" >&6
2152     else
2153     echo "$as_me:$LINENO: result: no" >&5
2154     echo "${ECHO_T}no" >&6
2155     fi
2156    
2157     fi
2158     if test -z "$ac_cv_prog_CC"; then
2159     ac_ct_CC=$CC
2160     # Extract the first word of "gcc", so it can be a program name with args.
2161     set dummy gcc; ac_word=$2
2162     echo "$as_me:$LINENO: checking for $ac_word" >&5
2163     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165     echo $ECHO_N "(cached) $ECHO_C" >&6
2166     else
2167     if test -n "$ac_ct_CC"; then
2168     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169     else
2170     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171     for as_dir in $PATH
2172     do
2173     IFS=$as_save_IFS
2174     test -z "$as_dir" && as_dir=.
2175     for ac_exec_ext in '' $ac_executable_extensions; do
2176     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177     ac_cv_prog_ac_ct_CC="gcc"
2178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179     break 2
2180     fi
2181     done
2182     done
2183    
2184     fi
2185     fi
2186     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187     if test -n "$ac_ct_CC"; then
2188     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189     echo "${ECHO_T}$ac_ct_CC" >&6
2190     else
2191     echo "$as_me:$LINENO: result: no" >&5
2192     echo "${ECHO_T}no" >&6
2193     fi
2194    
2195     CC=$ac_ct_CC
2196     else
2197     CC="$ac_cv_prog_CC"
2198     fi
2199    
2200     if test -z "$CC"; then
2201     if test -n "$ac_tool_prefix"; then
2202     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2203     set dummy ${ac_tool_prefix}cc; ac_word=$2
2204     echo "$as_me:$LINENO: checking for $ac_word" >&5
2205     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206     if test "${ac_cv_prog_CC+set}" = set; then
2207     echo $ECHO_N "(cached) $ECHO_C" >&6
2208     else
2209     if test -n "$CC"; then
2210     ac_cv_prog_CC="$CC" # Let the user override the test.
2211     else
2212     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213     for as_dir in $PATH
2214     do
2215     IFS=$as_save_IFS
2216     test -z "$as_dir" && as_dir=.
2217     for ac_exec_ext in '' $ac_executable_extensions; do
2218     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219     ac_cv_prog_CC="${ac_tool_prefix}cc"
2220     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221     break 2
2222     fi
2223     done
2224     done
2225    
2226     fi
2227     fi
2228     CC=$ac_cv_prog_CC
2229     if test -n "$CC"; then
2230     echo "$as_me:$LINENO: result: $CC" >&5
2231     echo "${ECHO_T}$CC" >&6
2232     else
2233     echo "$as_me:$LINENO: result: no" >&5
2234     echo "${ECHO_T}no" >&6
2235     fi
2236    
2237     fi
2238     if test -z "$ac_cv_prog_CC"; then
2239     ac_ct_CC=$CC
2240     # Extract the first word of "cc", so it can be a program name with args.
2241     set dummy cc; ac_word=$2
2242     echo "$as_me:$LINENO: checking for $ac_word" >&5
2243     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2245     echo $ECHO_N "(cached) $ECHO_C" >&6
2246     else
2247     if test -n "$ac_ct_CC"; then
2248     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2249     else
2250     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251     for as_dir in $PATH
2252     do
2253     IFS=$as_save_IFS
2254     test -z "$as_dir" && as_dir=.
2255     for ac_exec_ext in '' $ac_executable_extensions; do
2256     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257     ac_cv_prog_ac_ct_CC="cc"
2258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259     break 2
2260     fi
2261     done
2262     done
2263    
2264     fi
2265     fi
2266     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2267     if test -n "$ac_ct_CC"; then
2268     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2269     echo "${ECHO_T}$ac_ct_CC" >&6
2270     else
2271     echo "$as_me:$LINENO: result: no" >&5
2272     echo "${ECHO_T}no" >&6
2273     fi
2274    
2275     CC=$ac_ct_CC
2276     else
2277     CC="$ac_cv_prog_CC"
2278     fi
2279    
2280     fi
2281     if test -z "$CC"; then
2282     # Extract the first word of "cc", so it can be a program name with args.
2283     set dummy cc; ac_word=$2
2284     echo "$as_me:$LINENO: checking for $ac_word" >&5
2285     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286     if test "${ac_cv_prog_CC+set}" = set; then
2287     echo $ECHO_N "(cached) $ECHO_C" >&6
2288     else
2289     if test -n "$CC"; then
2290     ac_cv_prog_CC="$CC" # Let the user override the test.
2291     else
2292     ac_prog_rejected=no
2293     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294     for as_dir in $PATH
2295     do
2296     IFS=$as_save_IFS
2297     test -z "$as_dir" && as_dir=.
2298     for ac_exec_ext in '' $ac_executable_extensions; do
2299     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2301     ac_prog_rejected=yes
2302     continue
2303     fi
2304     ac_cv_prog_CC="cc"
2305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306     break 2
2307     fi
2308     done
2309     done
2310    
2311     if test $ac_prog_rejected = yes; then
2312     # We found a bogon in the path, so make sure we never use it.
2313     set dummy $ac_cv_prog_CC
2314     shift
2315     if test $# != 0; then
2316     # We chose a different compiler from the bogus one.
2317     # However, it has the same basename, so the bogon will be chosen
2318     # first if we set CC to just the basename; use the full file name.
2319     shift
2320     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2321     fi
2322     fi
2323     fi
2324     fi
2325     CC=$ac_cv_prog_CC
2326     if test -n "$CC"; then
2327     echo "$as_me:$LINENO: result: $CC" >&5
2328     echo "${ECHO_T}$CC" >&6
2329     else
2330     echo "$as_me:$LINENO: result: no" >&5
2331     echo "${ECHO_T}no" >&6
2332     fi
2333    
2334     fi
2335     if test -z "$CC"; then
2336     if test -n "$ac_tool_prefix"; then
2337     for ac_prog in cl
2338     do
2339     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2340     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2341     echo "$as_me:$LINENO: checking for $ac_word" >&5
2342     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2343     if test "${ac_cv_prog_CC+set}" = set; then
2344     echo $ECHO_N "(cached) $ECHO_C" >&6
2345     else
2346     if test -n "$CC"; then
2347     ac_cv_prog_CC="$CC" # Let the user override the test.
2348     else
2349     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350     for as_dir in $PATH
2351     do
2352     IFS=$as_save_IFS
2353     test -z "$as_dir" && as_dir=.
2354     for ac_exec_ext in '' $ac_executable_extensions; do
2355     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358     break 2
2359     fi
2360     done
2361     done
2362    
2363     fi
2364     fi
2365     CC=$ac_cv_prog_CC
2366     if test -n "$CC"; then
2367     echo "$as_me:$LINENO: result: $CC" >&5
2368     echo "${ECHO_T}$CC" >&6
2369     else
2370     echo "$as_me:$LINENO: result: no" >&5
2371     echo "${ECHO_T}no" >&6
2372     fi
2373    
2374     test -n "$CC" && break
2375     done
2376     fi
2377     if test -z "$CC"; then
2378     ac_ct_CC=$CC
2379     for ac_prog in cl
2380     do
2381     # Extract the first word of "$ac_prog", so it can be a program name with args.
2382     set dummy $ac_prog; ac_word=$2
2383     echo "$as_me:$LINENO: checking for $ac_word" >&5
2384     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2386     echo $ECHO_N "(cached) $ECHO_C" >&6
2387     else
2388     if test -n "$ac_ct_CC"; then
2389     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2390     else
2391     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392     for as_dir in $PATH
2393     do
2394     IFS=$as_save_IFS
2395     test -z "$as_dir" && as_dir=.
2396     for ac_exec_ext in '' $ac_executable_extensions; do
2397     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398     ac_cv_prog_ac_ct_CC="$ac_prog"
2399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400     break 2
2401     fi
2402     done
2403     done
2404    
2405     fi
2406     fi
2407     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2408     if test -n "$ac_ct_CC"; then
2409     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2410     echo "${ECHO_T}$ac_ct_CC" >&6
2411     else
2412     echo "$as_me:$LINENO: result: no" >&5
2413     echo "${ECHO_T}no" >&6
2414     fi
2415    
2416     test -n "$ac_ct_CC" && break
2417     done
2418    
2419     CC=$ac_ct_CC
2420     fi
2421    
2422     fi
2423    
2424    
2425     test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2426     See \`config.log' for more details." >&5
2427     echo "$as_me: error: no acceptable C compiler found in \$PATH
2428     See \`config.log' for more details." >&2;}
2429     { (exit 1); exit 1; }; }
2430    
2431     # Provide some information about the compiler.
2432     echo "$as_me:$LINENO:" \
2433     "checking for C compiler version" >&5
2434     ac_compiler=`set X $ac_compile; echo $2`
2435     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2436     (eval $ac_compiler --version </dev/null >&5) 2>&5
2437     ac_status=$?
2438     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439     (exit $ac_status); }
2440     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2441     (eval $ac_compiler -v </dev/null >&5) 2>&5
2442     ac_status=$?
2443     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444     (exit $ac_status); }
2445     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2446     (eval $ac_compiler -V </dev/null >&5) 2>&5
2447     ac_status=$?
2448     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449     (exit $ac_status); }
2450    
2451     echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2452     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2453     if test "${ac_cv_c_compiler_gnu+set}" = set; then
2454     echo $ECHO_N "(cached) $ECHO_C" >&6
2455     else
2456     cat >conftest.$ac_ext <<_ACEOF
2457     /* confdefs.h. */
2458     _ACEOF
2459     cat confdefs.h >>conftest.$ac_ext
2460     cat >>conftest.$ac_ext <<_ACEOF
2461     /* end confdefs.h. */
2462    
2463     int
2464     main ()
2465     {
2466     #ifndef __GNUC__
2467     choke me
2468     #endif
2469    
2470     ;
2471     return 0;
2472     }
2473     _ACEOF
2474     rm -f conftest.$ac_objext
2475     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476     (eval $ac_compile) 2>conftest.er1
2477     ac_status=$?
2478     grep -v '^ *+' conftest.er1 >conftest.err
2479     rm -f conftest.er1
2480     cat conftest.err >&5
2481