Develop and Download Open Source Software

Browse CVS Repository

Annotation of /malonnote/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (hide annotations) (download)
Wed Dec 28 01:49:51 2005 UTC (18 years, 2 months ago) by maloninc
Branch: MAIN
CVS Tags: dev_1_6-0002
Changes since 1.13: +798 -3 lines
for WebKitCtrl

1 maloninc 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 maloninc 1.13 # Generated by GNU Autoconf 2.59 for mnote 1.6.
4 maloninc 1.1 #
5     # Report bugs to <hiroyuki@maloninc.com>.
6     #
7     # Copyright (C) 2003 Free Software Foundation, Inc.
8     # This configure script is free software; the Free Software Foundation
9     # gives unlimited permission to copy, distribute and modify it.
10     ## --------------------- ##
11     ## M4sh Initialization. ##
12     ## --------------------- ##
13    
14     # Be Bourne compatible
15     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16     emulate sh
17     NULLCMD=:
18     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19     # is contrary to our usage. Disable this feature.
20     alias -g '${1+"$@"}'='"$@"'
21     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22     set -o posix
23     fi
24     DUALCASE=1; export DUALCASE # for MKS sh
25    
26     # Support unset when possible.
27     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28     as_unset=unset
29     else
30     as_unset=false
31     fi
32    
33    
34     # Work around bugs in pre-3.0 UWIN ksh.
35     $as_unset ENV MAIL MAILPATH
36     PS1='$ '
37     PS2='> '
38     PS4='+ '
39    
40     # NLS nuisances.
41     for as_var in \
42     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44     LC_TELEPHONE LC_TIME
45     do
46     if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47     eval $as_var=C; export $as_var
48     else
49     $as_unset $as_var
50     fi
51     done
52    
53     # Required to use basename.
54     if expr a : '\(a\)' >/dev/null 2>&1; then
55     as_expr=expr
56     else
57     as_expr=false
58     fi
59    
60     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61     as_basename=basename
62     else
63     as_basename=false
64     fi
65    
66    
67     # Name of the executable.
68     as_me=`$as_basename "$0" ||
69     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70     X"$0" : 'X\(//\)$' \| \
71     X"$0" : 'X\(/\)$' \| \
72     . : '\(.\)' 2>/dev/null ||
73     echo X/"$0" |
74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75     /^X\/\(\/\/\)$/{ s//\1/; q; }
76     /^X\/\(\/\).*/{ s//\1/; q; }
77     s/.*/./; q'`
78    
79    
80     # PATH needs CR, and LINENO needs CR and PATH.
81     # Avoid depending upon Character Ranges.
82     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85     as_cr_digits='0123456789'
86     as_cr_alnum=$as_cr_Letters$as_cr_digits
87    
88     # The user is always right.
89     if test "${PATH_SEPARATOR+set}" != set; then
90     echo "#! /bin/sh" >conf$$.sh
91     echo "exit 0" >>conf$$.sh
92     chmod +x conf$$.sh
93     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94     PATH_SEPARATOR=';'
95     else
96     PATH_SEPARATOR=:
97     fi
98     rm -f conf$$.sh
99     fi
100    
101    
102     as_lineno_1=$LINENO
103     as_lineno_2=$LINENO
104     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105     test "x$as_lineno_1" != "x$as_lineno_2" &&
106     test "x$as_lineno_3" = "x$as_lineno_2" || {
107     # Find who we are. Look in the path if we contain no path at all
108     # relative or not.
109     case $0 in
110     *[\\/]* ) as_myself=$0 ;;
111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112     for as_dir in $PATH
113     do
114     IFS=$as_save_IFS
115     test -z "$as_dir" && as_dir=.
116     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117     done
118    
119     ;;
120     esac
121     # We did not find ourselves, most probably we were run as `sh COMMAND'
122     # in which case we are not to be found in the path.
123     if test "x$as_myself" = x; then
124     as_myself=$0
125     fi
126     if test ! -f "$as_myself"; then
127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128     { (exit 1); exit 1; }; }
129     fi
130     case $CONFIG_SHELL in
131     '')
132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134     do
135     IFS=$as_save_IFS
136     test -z "$as_dir" && as_dir=.
137     for as_base in sh bash ksh sh5; do
138     case $as_dir in
139     /*)
140     if ("$as_dir/$as_base" -c '
141     as_lineno_1=$LINENO
142     as_lineno_2=$LINENO
143     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144     test "x$as_lineno_1" != "x$as_lineno_2" &&
145     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148     CONFIG_SHELL=$as_dir/$as_base
149     export CONFIG_SHELL
150     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151     fi;;
152     esac
153     done
154     done
155     ;;
156     esac
157    
158     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159     # uniformly replaced by the line number. The first 'sed' inserts a
160     # line-number line before each line; the second 'sed' does the real
161     # work. The second script uses 'N' to pair each line-number line
162     # with the numbered line, and appends trailing '-' during
163     # substitution so that $LINENO is not a special case at line end.
164     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166     sed '=' <$as_myself |
167     sed '
168     N
169     s,$,-,
170     : loop
171     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172     t loop
173     s,-$,,
174     s,^['$as_cr_digits']*\n,,
175     ' >$as_me.lineno &&
176     chmod +x $as_me.lineno ||
177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178     { (exit 1); exit 1; }; }
179    
180     # Don't try to exec as it changes $[0], causing all sort of problems
181     # (the dirname of $[0] is not the place where we might find the
182     # original and so on. Autoconf is especially sensible to this).
183     . ./$as_me.lineno
184     # Exit status is that of the last command.
185     exit
186     }
187    
188    
189     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190     *c*,-n*) ECHO_N= ECHO_C='
191     ' ECHO_T=' ' ;;
192     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194     esac
195    
196     if expr a : '\(a\)' >/dev/null 2>&1; then
197     as_expr=expr
198     else
199     as_expr=false
200     fi
201    
202     rm -f conf$$ conf$$.exe conf$$.file
203     echo >conf$$.file
204     if ln -s conf$$.file conf$$ 2>/dev/null; then
205     # We could just check for DJGPP; but this test a) works b) is more generic
206     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207     if test -f conf$$.exe; then
208     # Don't use ln at all; we don't have any links
209     as_ln_s='cp -p'
210     else
211     as_ln_s='ln -s'
212     fi
213     elif ln conf$$.file conf$$ 2>/dev/null; then
214     as_ln_s=ln
215     else
216     as_ln_s='cp -p'
217     fi
218     rm -f conf$$ conf$$.exe conf$$.file
219    
220     if mkdir -p . 2>/dev/null; then
221     as_mkdir_p=:
222     else
223     test -d ./-p && rmdir ./-p
224     as_mkdir_p=false
225     fi
226    
227     as_executable_p="test -f"
228    
229     # Sed expression to map a string onto a valid CPP name.
230     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231    
232     # Sed expression to map a string onto a valid variable name.
233     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234    
235    
236     # IFS
237     # We need space, tab and new line, in precisely that order.
238     as_nl='
239     '
240     IFS=" $as_nl"
241    
242     # CDPATH.
243     $as_unset CDPATH
244    
245    
246     # Name of the host.
247     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248     # so uname gets run too.
249     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250    
251     exec 6>&1
252    
253     #
254     # Initializations.
255     #
256     ac_default_prefix=/usr/local
257     ac_config_libobj_dir=.
258     cross_compiling=no
259     subdirs=
260     MFLAGS=
261     MAKEFLAGS=
262     SHELL=${CONFIG_SHELL-/bin/sh}
263    
264     # Maximum number of lines to put in a shell here document.
265     # This variable seems obsolete. It should probably be removed, and
266     # only ac_max_sed_lines should be used.
267     : ${ac_max_here_lines=38}
268    
269     # Identity of this package.
270     PACKAGE_NAME='mnote'
271     PACKAGE_TARNAME='mnote'
272 maloninc 1.13 PACKAGE_VERSION='1.6'
273     PACKAGE_STRING='mnote 1.6'
274 maloninc 1.1 PACKAGE_BUGREPORT='hiroyuki@maloninc.com'
275    
276     ac_unique_file="acconfig.h"
277     # Factoring default headers for most tests.
278     ac_includes_default="\
279     #include <stdio.h>
280     #if HAVE_SYS_TYPES_H
281     # include <sys/types.h>
282     #endif
283     #if HAVE_SYS_STAT_H
284     # include <sys/stat.h>
285     #endif
286     #if STDC_HEADERS
287     # include <stdlib.h>
288     # include <stddef.h>
289     #else
290     # if HAVE_STDLIB_H
291     # include <stdlib.h>
292     # endif
293     #endif
294     #if HAVE_STRING_H
295     # if !STDC_HEADERS && HAVE_MEMORY_H
296     # include <memory.h>
297     # endif
298     # include <string.h>
299     #endif
300     #if HAVE_STRINGS_H
301     # include <strings.h>
302     #endif
303     #if HAVE_INTTYPES_H
304     # include <inttypes.h>
305     #else
306     # if HAVE_STDINT_H
307     # include <stdint.h>
308     # endif
309     #endif
310     #if HAVE_UNISTD_H
311     # include <unistd.h>
312     #endif"
313    
314 maloninc 1.14 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBICONV LTLIBICONV CPP EGREP LIBOBJS LTLIBOBJS'
315 maloninc 1.1 ac_subst_files=''
316    
317     # Initialize some variables set by options.
318     ac_init_help=
319     ac_init_version=false
320     # The variables have the same names as the options, with
321     # dashes changed to underlines.
322     cache_file=/dev/null
323     exec_prefix=NONE
324     no_create=
325     no_recursion=
326     prefix=NONE
327     program_prefix=NONE
328     program_suffix=NONE
329     program_transform_name=s,x,x,
330     silent=
331     site=
332     srcdir=
333     verbose=
334     x_includes=NONE
335     x_libraries=NONE
336    
337     # Installation directory options.
338     # These are left unexpanded so users can "make install exec_prefix=/foo"
339     # and all the variables that are supposed to be based on exec_prefix
340     # by default will actually change.
341     # Use braces instead of parens because sh, perl, etc. also accept them.
342     bindir='${exec_prefix}/bin'
343     sbindir='${exec_prefix}/sbin'
344     libexecdir='${exec_prefix}/libexec'
345     datadir='${prefix}/share'
346     sysconfdir='${prefix}/etc'
347     sharedstatedir='${prefix}/com'
348     localstatedir='${prefix}/var'
349     libdir='${exec_prefix}/lib'
350     includedir='${prefix}/include'
351     oldincludedir='/usr/include'
352     infodir='${prefix}/info'
353     mandir='${prefix}/man'
354    
355     ac_prev=
356     for ac_option
357     do
358     # If the previous option needs an argument, assign it.
359     if test -n "$ac_prev"; then
360     eval "$ac_prev=\$ac_option"
361     ac_prev=
362     continue
363     fi
364    
365     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366    
367     # Accept the important Cygnus configure options, so we can diagnose typos.
368    
369     case $ac_option in
370    
371     -bindir | --bindir | --bindi | --bind | --bin | --bi)
372     ac_prev=bindir ;;
373     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374     bindir=$ac_optarg ;;
375    
376     -build | --build | --buil | --bui | --bu)
377     ac_prev=build_alias ;;
378     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379     build_alias=$ac_optarg ;;
380    
381     -cache-file | --cache-file | --cache-fil | --cache-fi \
382     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383     ac_prev=cache_file ;;
384     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386     cache_file=$ac_optarg ;;
387    
388     --config-cache | -C)
389     cache_file=config.cache ;;
390    
391     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392     ac_prev=datadir ;;
393     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394     | --da=*)
395     datadir=$ac_optarg ;;
396    
397     -disable-* | --disable-*)
398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399     # Reject names that are not valid shell variable names.
400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402     { (exit 1); exit 1; }; }
403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404     eval "enable_$ac_feature=no" ;;
405    
406     -enable-* | --enable-*)
407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408     # Reject names that are not valid shell variable names.
409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411     { (exit 1); exit 1; }; }
412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413     case $ac_option in
414     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415     *) ac_optarg=yes ;;
416     esac
417     eval "enable_$ac_feature='$ac_optarg'" ;;
418    
419     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421     | --exec | --exe | --ex)
422     ac_prev=exec_prefix ;;
423     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425     | --exec=* | --exe=* | --ex=*)
426     exec_prefix=$ac_optarg ;;
427    
428     -gas | --gas | --ga | --g)
429     # Obsolete; use --with-gas.
430     with_gas=yes ;;
431    
432     -help | --help | --hel | --he | -h)
433     ac_init_help=long ;;
434     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435     ac_init_help=recursive ;;
436     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437     ac_init_help=short ;;
438    
439     -host | --host | --hos | --ho)
440     ac_prev=host_alias ;;
441     -host=* | --host=* | --hos=* | --ho=*)
442     host_alias=$ac_optarg ;;
443    
444     -includedir | --includedir | --includedi | --included | --include \
445     | --includ | --inclu | --incl | --inc)
446     ac_prev=includedir ;;
447     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448     | --includ=* | --inclu=* | --incl=* | --inc=*)
449     includedir=$ac_optarg ;;
450    
451     -infodir | --infodir | --infodi | --infod | --info | --inf)
452     ac_prev=infodir ;;
453     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454     infodir=$ac_optarg ;;
455    
456     -libdir | --libdir | --libdi | --libd)
457     ac_prev=libdir ;;
458     -libdir=* | --libdir=* | --libdi=* | --libd=*)
459     libdir=$ac_optarg ;;
460    
461     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462     | --libexe | --libex | --libe)
463     ac_prev=libexecdir ;;
464     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465     | --libexe=* | --libex=* | --libe=*)
466     libexecdir=$ac_optarg ;;
467    
468     -localstatedir | --localstatedir | --localstatedi | --localstated \
469     | --localstate | --localstat | --localsta | --localst \
470     | --locals | --local | --loca | --loc | --lo)
471     ac_prev=localstatedir ;;
472     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475     localstatedir=$ac_optarg ;;
476    
477     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478     ac_prev=mandir ;;
479     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480     mandir=$ac_optarg ;;
481    
482     -nfp | --nfp | --nf)
483     # Obsolete; use --without-fp.
484     with_fp=no ;;
485    
486     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487     | --no-cr | --no-c | -n)
488     no_create=yes ;;
489    
490     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492     no_recursion=yes ;;
493    
494     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496     | --oldin | --oldi | --old | --ol | --o)
497     ac_prev=oldincludedir ;;
498     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501     oldincludedir=$ac_optarg ;;
502    
503     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504     ac_prev=prefix ;;
505     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506     prefix=$ac_optarg ;;
507    
508     -program-prefix | --program-prefix | --program-prefi | --program-pref \
509     | --program-pre | --program-pr | --program-p)
510     ac_prev=program_prefix ;;
511     -program-prefix=* | --program-prefix=* | --program-prefi=* \
512     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513     program_prefix=$ac_optarg ;;
514    
515     -program-suffix | --program-suffix | --program-suffi | --program-suff \
516     | --program-suf | --program-su | --program-s)
517     ac_prev=program_suffix ;;
518     -program-suffix=* | --program-suffix=* | --program-suffi=* \
519     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520     program_suffix=$ac_optarg ;;
521    
522     -program-transform-name | --program-transform-name \
523     | --program-transform-nam | --program-transform-na \
524     | --program-transform-n | --program-transform- \
525     | --program-transform | --program-transfor \
526     | --program-transfo | --program-transf \
527     | --program-trans | --program-tran \
528     | --progr-tra | --program-tr | --program-t)
529     ac_prev=program_transform_name ;;
530     -program-transform-name=* | --program-transform-name=* \
531     | --program-transform-nam=* | --program-transform-na=* \
532     | --program-transform-n=* | --program-transform-=* \
533     | --program-transform=* | --program-transfor=* \
534     | --program-transfo=* | --program-transf=* \
535     | --program-trans=* | --program-tran=* \
536     | --progr-tra=* | --program-tr=* | --program-t=*)
537     program_transform_name=$ac_optarg ;;
538    
539     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540     | -silent | --silent | --silen | --sile | --sil)
541     silent=yes ;;
542    
543     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544     ac_prev=sbindir ;;
545     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546     | --sbi=* | --sb=*)
547     sbindir=$ac_optarg ;;
548    
549     -sharedstatedir | --sharedstatedir | --sharedstatedi \
550     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551     | --sharedst | --shareds | --shared | --share | --shar \
552     | --sha | --sh)
553     ac_prev=sharedstatedir ;;
554     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557     | --sha=* | --sh=*)
558     sharedstatedir=$ac_optarg ;;
559    
560     -site | --site | --sit)
561     ac_prev=site ;;
562     -site=* | --site=* | --sit=*)
563     site=$ac_optarg ;;
564    
565     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566     ac_prev=srcdir ;;
567     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568     srcdir=$ac_optarg ;;
569    
570     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571     | --syscon | --sysco | --sysc | --sys | --sy)
572     ac_prev=sysconfdir ;;
573     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575     sysconfdir=$ac_optarg ;;
576    
577     -target | --target | --targe | --targ | --tar | --ta | --t)
578     ac_prev=target_alias ;;
579     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580     target_alias=$ac_optarg ;;
581    
582     -v | -verbose | --verbose | --verbos | --verbo | --verb)
583     verbose=yes ;;
584    
585     -version | --version | --versio | --versi | --vers | -V)
586     ac_init_version=: ;;
587    
588     -with-* | --with-*)
589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590     # Reject names that are not valid shell variable names.
591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592     { echo "$as_me: error: invalid package name: $ac_package" >&2
593     { (exit 1); exit 1; }; }
594     ac_package=`echo $ac_package| sed 's/-/_/g'`
595     case $ac_option in
596     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597     *) ac_optarg=yes ;;
598     esac
599     eval "with_$ac_package='$ac_optarg'" ;;
600    
601     -without-* | --without-*)
602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603     # Reject names that are not valid shell variable names.
604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605     { echo "$as_me: error: invalid package name: $ac_package" >&2
606     { (exit 1); exit 1; }; }
607     ac_package=`echo $ac_package | sed 's/-/_/g'`
608     eval "with_$ac_package=no" ;;
609    
610     --x)
611     # Obsolete; use --with-x.
612     with_x=yes ;;
613    
614     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615     | --x-incl | --x-inc | --x-in | --x-i)
616     ac_prev=x_includes ;;
617     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619     x_includes=$ac_optarg ;;
620    
621     -x-libraries | --x-libraries | --x-librarie | --x-librari \
622     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623     ac_prev=x_libraries ;;
624     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626     x_libraries=$ac_optarg ;;
627    
628     -*) { echo "$as_me: error: unrecognized option: $ac_option
629     Try \`$0 --help' for more information." >&2
630     { (exit 1); exit 1; }; }
631     ;;
632    
633     *=*)
634     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635     # Reject names that are not valid shell variable names.
636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638     { (exit 1); exit 1; }; }
639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640     eval "$ac_envvar='$ac_optarg'"
641     export $ac_envvar ;;
642    
643     *)
644     # FIXME: should be removed in autoconf 3.0.
645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649     ;;
650    
651     esac
652     done
653    
654     if test -n "$ac_prev"; then
655     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656     { echo "$as_me: error: missing argument to $ac_option" >&2
657     { (exit 1); exit 1; }; }
658     fi
659    
660     # Be sure to have absolute paths.
661     for ac_var in exec_prefix prefix
662     do
663     eval ac_val=$`echo $ac_var`
664     case $ac_val in
665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667     { (exit 1); exit 1; }; };;
668     esac
669     done
670    
671     # Be sure to have absolute paths.
672     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673     localstatedir libdir includedir oldincludedir infodir mandir
674     do
675     eval ac_val=$`echo $ac_var`
676     case $ac_val in
677     [\\/$]* | ?:[\\/]* ) ;;
678     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679     { (exit 1); exit 1; }; };;
680     esac
681     done
682    
683     # There might be people who depend on the old broken behavior: `$host'
684     # used to hold the argument of --host etc.
685     # FIXME: To remove some day.
686     build=$build_alias
687     host=$host_alias
688     target=$target_alias
689    
690     # FIXME: To remove some day.
691     if test "x$host_alias" != x; then
692     if test "x$build_alias" = x; then
693     cross_compiling=maybe
694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695     If a cross compiler is detected then cross compile mode will be used." >&2
696     elif test "x$build_alias" != "x$host_alias"; then
697     cross_compiling=yes
698     fi
699     fi
700    
701     ac_tool_prefix=
702     test -n "$host_alias" && ac_tool_prefix=$host_alias-
703    
704     test "$silent" = yes && exec 6>/dev/null
705    
706    
707     # Find the source files, if location was not specified.
708     if test -z "$srcdir"; then
709     ac_srcdir_defaulted=yes
710     # Try the directory containing this script, then its parent.
711     ac_confdir=`(dirname "$0") 2>/dev/null ||
712     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713     X"$0" : 'X\(//\)[^/]' \| \
714     X"$0" : 'X\(//\)$' \| \
715     X"$0" : 'X\(/\)' \| \
716     . : '\(.\)' 2>/dev/null ||
717     echo X"$0" |
718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720     /^X\(\/\/\)$/{ s//\1/; q; }
721     /^X\(\/\).*/{ s//\1/; q; }
722     s/.*/./; q'`
723     srcdir=$ac_confdir
724     if test ! -r $srcdir/$ac_unique_file; then
725     srcdir=..
726     fi
727     else
728     ac_srcdir_defaulted=no
729     fi
730     if test ! -r $srcdir/$ac_unique_file; then
731     if test "$ac_srcdir_defaulted" = yes; then
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733     { (exit 1); exit 1; }; }
734     else
735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736     { (exit 1); exit 1; }; }
737     fi
738     fi
739     (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740     { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741     { (exit 1); exit 1; }; }
742     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743     ac_env_build_alias_set=${build_alias+set}
744     ac_env_build_alias_value=$build_alias
745     ac_cv_env_build_alias_set=${build_alias+set}
746     ac_cv_env_build_alias_value=$build_alias
747     ac_env_host_alias_set=${host_alias+set}
748     ac_env_host_alias_value=$host_alias
749     ac_cv_env_host_alias_set=${host_alias+set}
750     ac_cv_env_host_alias_value=$host_alias
751     ac_env_target_alias_set=${target_alias+set}
752     ac_env_target_alias_value=$target_alias
753     ac_cv_env_target_alias_set=${target_alias+set}
754     ac_cv_env_target_alias_value=$target_alias
755     ac_env_CXX_set=${CXX+set}
756     ac_env_CXX_value=$CXX
757     ac_cv_env_CXX_set=${CXX+set}
758     ac_cv_env_CXX_value=$CXX
759     ac_env_CXXFLAGS_set=${CXXFLAGS+set}
760     ac_env_CXXFLAGS_value=$CXXFLAGS
761     ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
762     ac_cv_env_CXXFLAGS_value=$CXXFLAGS
763     ac_env_LDFLAGS_set=${LDFLAGS+set}
764     ac_env_LDFLAGS_value=$LDFLAGS
765     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766     ac_cv_env_LDFLAGS_value=$LDFLAGS
767     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768     ac_env_CPPFLAGS_value=$CPPFLAGS
769     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771     ac_env_CC_set=${CC+set}
772     ac_env_CC_value=$CC
773     ac_cv_env_CC_set=${CC+set}
774     ac_cv_env_CC_value=$CC
775     ac_env_CFLAGS_set=${CFLAGS+set}
776     ac_env_CFLAGS_value=$CFLAGS
777     ac_cv_env_CFLAGS_set=${CFLAGS+set}
778     ac_cv_env_CFLAGS_value=$CFLAGS
779     ac_env_CPP_set=${CPP+set}
780     ac_env_CPP_value=$CPP
781     ac_cv_env_CPP_set=${CPP+set}
782     ac_cv_env_CPP_value=$CPP
783    
784     #
785     # Report the --help message.
786     #
787     if test "$ac_init_help" = "long"; then
788     # Omit some internal or obsolete options to make the list less imposing.
789     # This message is too long to be a string in the A/UX 3.1 sh.
790     cat <<_ACEOF
791 maloninc 1.13 \`configure' configures mnote 1.6 to adapt to many kinds of systems.
792 maloninc 1.1
793     Usage: $0 [OPTION]... [VAR=VALUE]...
794    
795     To assign environment variables (e.g., CC, CFLAGS...), specify them as
796     VAR=VALUE. See below for descriptions of some of the useful variables.
797    
798     Defaults for the options are specified in brackets.
799    
800     Configuration:
801     -h, --help display this help and exit
802     --help=short display options specific to this package
803     --help=recursive display the short help of all the included packages
804     -V, --version display version information and exit
805     -q, --quiet, --silent do not print \`checking...' messages
806     --cache-file=FILE cache test results in FILE [disabled]
807     -C, --config-cache alias for \`--cache-file=config.cache'
808     -n, --no-create do not create output files
809     --srcdir=DIR find the sources in DIR [configure dir or \`..']
810    
811     _ACEOF
812    
813     cat <<_ACEOF
814     Installation directories:
815     --prefix=PREFIX install architecture-independent files in PREFIX
816     [$ac_default_prefix]
817     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818     [PREFIX]
819    
820     By default, \`make install' will install all the files in
821     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823     for instance \`--prefix=\$HOME'.
824    
825     For better control, use the options below.
826    
827     Fine tuning of the installation directories:
828     --bindir=DIR user executables [EPREFIX/bin]
829     --sbindir=DIR system admin executables [EPREFIX/sbin]
830     --libexecdir=DIR program executables [EPREFIX/libexec]
831     --datadir=DIR read-only architecture-independent data [PREFIX/share]
832     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835     --libdir=DIR object code libraries [EPREFIX/lib]
836     --includedir=DIR C header files [PREFIX/include]
837     --oldincludedir=DIR C header files for non-gcc [/usr/include]
838     --infodir=DIR info documentation [PREFIX/info]
839     --mandir=DIR man documentation [PREFIX/man]
840     _ACEOF
841    
842     cat <<\_ACEOF
843    
844     Program names:
845     --program-prefix=PREFIX prepend PREFIX to installed program names
846     --program-suffix=SUFFIX append SUFFIX to installed program names
847     --program-transform-name=PROGRAM run sed PROGRAM on installed program names
848    
849     System types:
850     --build=BUILD configure for building on BUILD [guessed]
851     --host=HOST cross-compile to build programs to run on HOST [BUILD]
852     _ACEOF
853     fi
854    
855     if test -n "$ac_init_help"; then
856     case $ac_init_help in
857 maloninc 1.13 short | recursive ) echo "Configuration of mnote 1.6:";;
858 maloninc 1.1 esac
859     cat <<\_ACEOF
860    
861     Optional Features:
862     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
863     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
864     --disable-dependency-tracking speeds up one-time build
865     --enable-dependency-tracking do not reject slow dependency extractors
866 maloninc 1.14 --disable-rpath do not hardcode runtime library paths
867    
868     Optional Packages:
869     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
870     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
871     --with-gnu-ld assume the C compiler uses GNU ld default=no
872     --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
873     --without-libiconv-prefix don't search for libiconv in includedir and libdir
874 maloninc 1.1
875     Some influential environment variables:
876     CXX C++ compiler command
877     CXXFLAGS C++ compiler flags
878     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879     nonstandard directory <lib dir>
880     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881     headers in a nonstandard directory <include dir>
882     CC C compiler command
883     CFLAGS C compiler flags
884     CPP C preprocessor
885    
886     Use these variables to override the choices made by `configure' or to help
887     it to find libraries and programs with nonstandard names/locations.
888    
889     Report bugs to <hiroyuki@maloninc.com>.
890     _ACEOF
891     fi
892    
893     if test "$ac_init_help" = "recursive"; then
894     # If there are subdirs, report their specific --help.
895     ac_popdir=`pwd`
896     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897     test -d $ac_dir || continue
898     ac_builddir=.
899    
900     if test "$ac_dir" != .; then
901     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902     # A "../" for each directory in $ac_dir_suffix.
903     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
904     else
905     ac_dir_suffix= ac_top_builddir=
906     fi
907    
908     case $srcdir in
909     .) # No --srcdir option. We are building in place.
910     ac_srcdir=.
911     if test -z "$ac_top_builddir"; then
912     ac_top_srcdir=.
913     else
914     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
915     fi ;;
916     [\\/]* | ?:[\\/]* ) # Absolute path.
917     ac_srcdir=$srcdir$ac_dir_suffix;
918     ac_top_srcdir=$srcdir ;;
919     *) # Relative path.
920     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921     ac_top_srcdir=$ac_top_builddir$srcdir ;;
922     esac
923    
924     # Do not use `cd foo && pwd` to compute absolute paths, because
925     # the directories may not exist.
926     case `pwd` in
927     .) ac_abs_builddir="$ac_dir";;
928     *)
929     case "$ac_dir" in
930     .) ac_abs_builddir=`pwd`;;
931     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932     *) ac_abs_builddir=`pwd`/"$ac_dir";;
933     esac;;
934     esac
935     case $ac_abs_builddir in
936     .) ac_abs_top_builddir=${ac_top_builddir}.;;
937     *)
938     case ${ac_top_builddir}. in
939     .) ac_abs_top_builddir=$ac_abs_builddir;;
940     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942     esac;;
943     esac
944     case $ac_abs_builddir in
945     .) ac_abs_srcdir=$ac_srcdir;;
946     *)
947     case $ac_srcdir in
948     .) ac_abs_srcdir=$ac_abs_builddir;;
949     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951     esac;;
952     esac
953     case $ac_abs_builddir in
954     .) ac_abs_top_srcdir=$ac_top_srcdir;;
955     *)
956     case $ac_top_srcdir in
957     .) ac_abs_top_srcdir=$ac_abs_builddir;;
958     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960     esac;;
961     esac
962    
963     cd $ac_dir
964     # Check for guested configure; otherwise get Cygnus style configure.
965     if test -f $ac_srcdir/configure.gnu; then
966     echo
967     $SHELL $ac_srcdir/configure.gnu --help=recursive
968     elif test -f $ac_srcdir/configure; then
969     echo
970     $SHELL $ac_srcdir/configure --help=recursive
971     elif test -f $ac_srcdir/configure.ac ||
972     test -f $ac_srcdir/configure.in; then
973     echo
974     $ac_configure --help
975     else
976     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977     fi
978 maloninc 1.10 cd $ac_popdir
979 maloninc 1.1 done
980     fi
981    
982     test -n "$ac_init_help" && exit 0
983     if $ac_init_version; then
984     cat <<\_ACEOF
985 maloninc 1.13 mnote configure 1.6
986 maloninc 1.1 generated by GNU Autoconf 2.59
987    
988     Copyright (C) 2003 Free Software Foundation, Inc.
989     This configure script is free software; the Free Software Foundation
990     gives unlimited permission to copy, distribute and modify it.
991     _ACEOF
992     exit 0
993     fi
994     exec 5>config.log
995     cat >&5 <<_ACEOF
996     This file contains any messages produced by compilers while
997     running configure, to aid debugging if configure makes a mistake.
998    
999 maloninc 1.13 It was created by mnote $as_me 1.6, which was
1000 maloninc 1.1 generated by GNU Autoconf 2.59. Invocation command line was
1001    
1002     $ $0 $@
1003    
1004     _ACEOF
1005     {
1006     cat <<_ASUNAME
1007     ## --------- ##
1008     ## Platform. ##
1009     ## --------- ##
1010    
1011     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012     uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013     uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014     uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015     uname -v = `(uname -v) 2>/dev/null || echo unknown`
1016    
1017     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1019    
1020     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1027    
1028     _ASUNAME
1029    
1030     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031     for as_dir in $PATH
1032     do
1033     IFS=$as_save_IFS
1034     test -z "$as_dir" && as_dir=.
1035     echo "PATH: $as_dir"
1036     done
1037    
1038     } >&5
1039    
1040     cat >&5 <<_ACEOF
1041    
1042    
1043     ## ----------- ##
1044     ## Core tests. ##
1045     ## ----------- ##
1046    
1047     _ACEOF
1048    
1049    
1050     # Keep a trace of the command line.
1051     # Strip out --no-create and --no-recursion so they do not pile up.
1052     # Strip out --silent because we don't want to record it for future runs.
1053     # Also quote any args containing shell meta-characters.
1054     # Make two passes to allow for proper duplicate-argument suppression.
1055     ac_configure_args=
1056     ac_configure_args0=
1057     ac_configure_args1=
1058     ac_sep=
1059     ac_must_keep_next=false
1060     for ac_pass in 1 2
1061     do
1062     for ac_arg
1063     do
1064     case $ac_arg in
1065     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067     | -silent | --silent | --silen | --sile | --sil)
1068     continue ;;
1069     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1071     esac
1072     case $ac_pass in
1073     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1074     2)
1075     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076     if test $ac_must_keep_next = true; then
1077     ac_must_keep_next=false # Got value, back to normal.
1078     else
1079     case $ac_arg in
1080     *=* | --config-cache | -C | -disable-* | --disable-* \
1081     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083     | -with-* | --with-* | -without-* | --without-* | --x)
1084     case "$ac_configure_args0 " in
1085     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086     esac
1087     ;;
1088     -* ) ac_must_keep_next=true ;;
1089     esac
1090     fi
1091     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092     # Get rid of the leading space.
1093     ac_sep=" "
1094     ;;
1095     esac
1096     done
1097     done
1098     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1100    
1101     # When interrupted or exit'd, cleanup temporary files, and complete
1102     # config.log. We remove comments because anyway the quotes in there
1103     # would cause problems or look ugly.
1104     # WARNING: Be sure not to use single quotes in there, as some shells,
1105     # such as our DU 5.0 friend, will then `close' the trap.
1106     trap 'exit_status=$?
1107     # Save into config.log some information that might help in debugging.
1108     {
1109     echo
1110    
1111     cat <<\_ASBOX
1112     ## ---------------- ##
1113     ## Cache variables. ##
1114     ## ---------------- ##
1115     _ASBOX
1116     echo
1117     # The following way of writing the cache mishandles newlines in values,
1118     {
1119     (set) 2>&1 |
1120     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121     *ac_space=\ *)
1122     sed -n \
1123     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125     ;;
1126     *)
1127     sed -n \
1128     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129     ;;
1130     esac;
1131     }
1132     echo
1133    
1134     cat <<\_ASBOX
1135     ## ----------------- ##
1136     ## Output variables. ##
1137     ## ----------------- ##
1138     _ASBOX
1139     echo
1140     for ac_var in $ac_subst_vars
1141     do
1142     eval ac_val=$`echo $ac_var`
1143     echo "$ac_var='"'"'$ac_val'"'"'"
1144     done | sort
1145     echo
1146    
1147     if test -n "$ac_subst_files"; then
1148     cat <<\_ASBOX
1149     ## ------------- ##
1150     ## Output files. ##
1151     ## ------------- ##
1152     _ASBOX
1153     echo
1154     for ac_var in $ac_subst_files
1155     do
1156     eval ac_val=$`echo $ac_var`
1157     echo "$ac_var='"'"'$ac_val'"'"'"
1158     done | sort
1159     echo
1160     fi
1161    
1162     if test -s confdefs.h; then
1163     cat <<\_ASBOX
1164     ## ----------- ##
1165     ## confdefs.h. ##
1166     ## ----------- ##
1167     _ASBOX
1168     echo
1169     sed "/^$/d" confdefs.h | sort
1170     echo
1171     fi
1172     test "$ac_signal" != 0 &&
1173     echo "$as_me: caught signal $ac_signal"
1174     echo "$as_me: exit $exit_status"
1175     } >&5
1176     rm -f core *.core &&
1177     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1178     exit $exit_status
1179     ' 0
1180     for ac_signal in 1 2 13 15; do
1181     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182     done
1183     ac_signal=0
1184    
1185     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186     rm -rf conftest* confdefs.h
1187     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188     echo >confdefs.h
1189    
1190     # Predefined preprocessor variables.
1191    
1192     cat >>confdefs.h <<_ACEOF
1193     #define PACKAGE_NAME "$PACKAGE_NAME"
1194     _ACEOF
1195    
1196    
1197     cat >>confdefs.h <<_ACEOF
1198     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199     _ACEOF
1200    
1201    
1202     cat >>confdefs.h <<_ACEOF
1203     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204     _ACEOF
1205    
1206    
1207     cat >>confdefs.h <<_ACEOF
1208     #define PACKAGE_STRING "$PACKAGE_STRING"
1209     _ACEOF
1210    
1211    
1212     cat >>confdefs.h <<_ACEOF
1213     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214     _ACEOF
1215    
1216    
1217     # Let the site file select an alternate cache file if it wants to.
1218     # Prefer explicitly selected file to automatically selected ones.
1219     if test -z "$CONFIG_SITE"; then
1220     if test "x$prefix" != xNONE; then
1221     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1222     else
1223     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224     fi
1225     fi
1226     for ac_site_file in $CONFIG_SITE; do
1227     if test -r "$ac_site_file"; then
1228     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229     echo "$as_me: loading site script $ac_site_file" >&6;}
1230     sed 's/^/| /' "$ac_site_file" >&5
1231     . "$ac_site_file"
1232     fi
1233     done
1234    
1235     if test -r "$cache_file"; then
1236     # Some versions of bash will fail to source /dev/null (special
1237     # files actually), so we avoid doing that.
1238     if test -f "$cache_file"; then
1239     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240     echo "$as_me: loading cache $cache_file" >&6;}
1241     case $cache_file in
1242     [\\/]* | ?:[\\/]* ) . $cache_file;;
1243     *) . ./$cache_file;;
1244     esac
1245     fi
1246     else
1247     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248     echo "$as_me: creating cache $cache_file" >&6;}
1249     >$cache_file
1250     fi
1251    
1252     # Check that the precious variables saved in the cache have kept the same
1253     # value.
1254     ac_cache_corrupted=false
1255     for ac_var in `(set) 2>&1 |
1256     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258     eval ac_new_set=\$ac_env_${ac_var}_set
1259     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260     eval ac_new_val="\$ac_env_${ac_var}_value"
1261     case $ac_old_set,$ac_new_set in
1262     set,)
1263     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265     ac_cache_corrupted=: ;;
1266     ,set)
1267     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269     ac_cache_corrupted=: ;;
1270     ,);;
1271     *)
1272     if test "x$ac_old_val" != "x$ac_new_val"; then
1273     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276     echo "$as_me: former value: $ac_old_val" >&2;}
1277     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278     echo "$as_me: current value: $ac_new_val" >&2;}
1279     ac_cache_corrupted=:
1280     fi;;
1281     esac
1282     # Pass precious variables to config.status.
1283     if test "$ac_new_set" = set; then
1284     case $ac_new_val in
1285     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287     *) ac_arg=$ac_var=$ac_new_val ;;
1288     esac
1289     case " $ac_configure_args " in
1290     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292     esac
1293     fi
1294     done
1295     if $ac_cache_corrupted; then
1296     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300     { (exit 1); exit 1; }; }
1301     fi
1302    
1303     ac_ext=c
1304     ac_cpp='$CPP $CPPFLAGS'
1305     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308    
1309    
1310    
1311    
1312    
1313    
1314    
1315    
1316    
1317    
1318    
1319    
1320    
1321    
1322    
1323    
1324    
1325    
1326    
1327    
1328    
1329    
1330    
1331    
1332    
1333    
1334    
1335    
1336     am__api_version="1.9"
1337     ac_aux_dir=
1338     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1339     if test -f $ac_dir/install-sh; then
1340     ac_aux_dir=$ac_dir
1341     ac_install_sh="$ac_aux_dir/install-sh -c"
1342     break
1343     elif test -f $ac_dir/install.sh; then
1344     ac_aux_dir=$ac_dir
1345     ac_install_sh="$ac_aux_dir/install.sh -c"
1346     break
1347     elif test -f $ac_dir/shtool; then
1348     ac_aux_dir=$ac_dir
1349     ac_install_sh="$ac_aux_dir/shtool install -c"
1350     break
1351     fi
1352     done
1353     if test -z "$ac_aux_dir"; then
1354     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1355     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1356     { (exit 1); exit 1; }; }
1357     fi
1358     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1359     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1360     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1361    
1362     # Find a good install program. We prefer a C program (faster),
1363     # so one script is as good as another. But avoid the broken or
1364     # incompatible versions:
1365     # SysV /etc/install, /usr/sbin/install
1366     # SunOS /usr/etc/install
1367     # IRIX /sbin/install
1368     # AIX /bin/install
1369     # AmigaOS /C/install, which installs bootblocks on floppy discs
1370     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1371     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1372     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1373     # OS/2's system install, which has a completely different semantic
1374     # ./install, which can be erroneously created by make from ./install.sh.
1375     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1376     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1377     if test -z "$INSTALL"; then
1378     if test "${ac_cv_path_install+set}" = set; then
1379     echo $ECHO_N "(cached) $ECHO_C" >&6
1380     else
1381     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382     for as_dir in $PATH
1383     do
1384     IFS=$as_save_IFS
1385     test -z "$as_dir" && as_dir=.
1386     # Account for people who put trailing slashes in PATH elements.
1387     case $as_dir/ in
1388     ./ | .// | /cC/* | \
1389     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1390     ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1391     /usr/ucb/* ) ;;
1392     *)
1393     # OSF1 and SCO ODT 3.0 have their own names for install.
1394     # Don't use installbsd from OSF since it installs stuff as root
1395     # by default.
1396     for ac_prog in ginstall scoinst install; do
1397     for ac_exec_ext in '' $ac_executable_extensions; do
1398     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1399     if test $ac_prog = install &&
1400     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1401     # AIX install. It has an incompatible calling convention.
1402     :
1403     elif test $ac_prog = install &&
1404     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1405     # program-specific install script used by HP pwplus--don't use.
1406     :
1407     else
1408     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1409     break 3
1410     fi
1411     fi
1412     done
1413     done
1414     ;;
1415     esac
1416     done
1417    
1418    
1419     fi
1420     if test "${ac_cv_path_install+set}" = set; then
1421     INSTALL=$ac_cv_path_install
1422     else
1423     # As a last resort, use the slow shell script. We don't cache a
1424     # path for INSTALL within a source directory, because that will
1425     # break other packages using the cache if that directory is
1426     # removed, or if the path is relative.
1427     INSTALL=$ac_install_sh
1428     fi
1429     fi
1430     echo "$as_me:$LINENO: result: $INSTALL" >&5
1431     echo "${ECHO_T}$INSTALL" >&6
1432    
1433     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1434     # It thinks the first close brace ends the variable substitution.
1435     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1436    
1437     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1438    
1439     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1440    
1441     echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1442     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1443     # Just in case
1444     sleep 1
1445     echo timestamp > conftest.file
1446     # Do `set' in a subshell so we don't clobber the current shell's
1447     # arguments. Must try -L first in case configure is actually a
1448     # symlink; some systems play weird games with the mod time of symlinks
1449     # (eg FreeBSD returns the mod time of the symlink's containing
1450     # directory).
1451     if (
1452     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1453     if test "$*" = "X"; then
1454     # -L didn't work.
1455     set X `ls -t $srcdir/configure conftest.file`
1456     fi
1457     rm -f conftest.file
1458     if test "$*" != "X $srcdir/configure conftest.file" \
1459     && test "$*" != "X conftest.file $srcdir/configure"; then
1460    
1461     # If neither matched, then we have a broken ls. This can happen
1462     # if, for instance, CONFIG_SHELL is bash and it inherits a
1463     # broken ls alias from the environment. This has actually
1464     # happened. Such a system could not be considered "sane".
1465     { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1466     alias in your environment" >&5
1467     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1468     alias in your environment" >&2;}
1469     { (exit 1); exit 1; }; }
1470     fi
1471    
1472     test "$2" = conftest.file
1473     )
1474     then
1475     # Ok.
1476     :
1477     else
1478     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1479     Check your system clock" >&5
1480     echo "$as_me: error: newly created file is older than distributed files!
1481     Check your system clock" >&2;}
1482     { (exit 1); exit 1; }; }
1483     fi
1484     echo "$as_me:$LINENO: result: yes" >&5
1485     echo "${ECHO_T}yes" >&6
1486     test "$program_prefix" != NONE &&
1487     program_transform_name="s,^,$program_prefix,;$program_transform_name"
1488     # Use a double $ so make ignores it.
1489     test "$program_suffix" != NONE &&
1490     program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1491     # Double any \ or $. echo might interpret backslashes.
1492     # By default was `s,x,x', remove it if useless.
1493     cat <<\_ACEOF >conftest.sed
1494     s/[\\$]/&&/g;s/;s,x,x,$//
1495     _ACEOF
1496     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1497     rm conftest.sed
1498    
1499     # expand $ac_aux_dir to an absolute path
1500     am_aux_dir=`cd $ac_aux_dir && pwd`
1501    
1502     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1503     # Use eval to expand $SHELL
1504     if eval "$MISSING --run true"; then
1505     am_missing_run="$MISSING --run "
1506     else
1507     am_missing_run=
1508     { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1509     echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1510     fi
1511    
1512     if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1513     # We used to keeping the `.' as first argument, in order to
1514     # allow $(mkdir_p) to be used without argument. As in
1515     # $(mkdir_p) $(somedir)
1516     # where $(somedir) is conditionally defined. However this is wrong
1517     # for two reasons:
1518     # 1. if the package is installed by a user who cannot write `.'
1519     # make install will fail,
1520     # 2. the above comment should most certainly read
1521     # $(mkdir_p) $(DESTDIR)$(somedir)
1522     # so it does not work when $(somedir) is undefined and
1523     # $(DESTDIR) is not.
1524     # To support the latter case, we have to write
1525     # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1526     # so the `.' trick is pointless.
1527     mkdir_p='mkdir -p --'
1528     else
1529     # On NextStep and OpenStep, the `mkdir' command does not
1530     # recognize any option. It will interpret all options as
1531     # directories to create, and then abort because `.' already
1532     # exists.
1533     for d in ./-p ./--version;
1534     do
1535     test -d $d && rmdir $d
1536     done
1537     # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1538     if test -f "$ac_aux_dir/mkinstalldirs"; then
1539     mkdir_p='$(mkinstalldirs)'
1540     else
1541     mkdir_p='$(install_sh) -d'
1542     fi
1543     fi
1544    
1545     for ac_prog in gawk mawk nawk awk
1546     do
1547     # Extract the first word of "$ac_prog", so it can be a program name with args.
1548     set dummy $ac_prog; ac_word=$2
1549     echo "$as_me:$LINENO: checking for $ac_word" >&5
1550     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551     if test "${ac_cv_prog_AWK+set}" = set; then
1552     echo $ECHO_N "(cached) $ECHO_C" >&6
1553     else
1554     if test -n "$AWK"; then
1555     ac_cv_prog_AWK="$AWK" # Let the user override the test.
1556     else
1557     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558     for as_dir in $PATH
1559     do
1560     IFS=$as_save_IFS
1561     test -z "$as_dir" && as_dir=.
1562     for ac_exec_ext in '' $ac_executable_extensions; do
1563     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564     ac_cv_prog_AWK="$ac_prog"
1565     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566     break 2
1567     fi
1568     done
1569     done
1570    
1571     fi
1572     fi
1573     AWK=$ac_cv_prog_AWK
1574     if test -n "$AWK"; then
1575     echo "$as_me:$LINENO: result: $AWK" >&5
1576     echo "${ECHO_T}$AWK" >&6
1577     else
1578     echo "$as_me:$LINENO: result: no" >&5
1579     echo "${ECHO_T}no" >&6
1580     fi
1581    
1582     test -n "$AWK" && break
1583     done
1584    
1585     echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1586     echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1587     set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1588     if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1589     echo $ECHO_N "(cached) $ECHO_C" >&6
1590     else
1591     cat >conftest.make <<\_ACEOF
1592     all:
1593     @echo 'ac_maketemp="$(MAKE)"'
1594     _ACEOF
1595     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1596     eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1597     if test -n "$ac_maketemp"; then
1598     eval ac_cv_prog_make_${ac_make}_set=yes
1599     else
1600     eval ac_cv_prog_make_${ac_make}_set=no
1601     fi
1602     rm -f conftest.make
1603     fi
1604     if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1605     echo "$as_me:$LINENO: result: yes" >&5
1606     echo "${ECHO_T}yes" >&6
1607     SET_MAKE=
1608     else
1609     echo "$as_me:$LINENO: result: no" >&5
1610     echo "${ECHO_T}no" >&6
1611     SET_MAKE="MAKE=${MAKE-make}"
1612     fi
1613    
1614     rm -rf .tst 2>/dev/null
1615     mkdir .tst 2>/dev/null
1616     if test -d .tst; then
1617     am__leading_dot=.
1618     else
1619     am__leading_dot=_
1620     fi
1621     rmdir .tst 2>/dev/null
1622    
1623     # test to see if srcdir already configured
1624     if test "`cd $srcdir && pwd`" != "`pwd`" &&
1625     test -f $srcdir/config.status; then
1626     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1627     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1628     { (exit 1); exit 1; }; }
1629     fi
1630    
1631     # test whether we have cygpath
1632     if test -z "$CYGPATH_W"; then
1633     if (cygpath --version) >/dev/null 2>/dev/null; then
1634     CYGPATH_W='cygpath -w'
1635     else
1636     CYGPATH_W=echo
1637     fi
1638     fi
1639    
1640    
1641     # Define the identity of the package.
1642     PACKAGE=mnote
1643 maloninc 1.13 VERSION=1.6
1644 maloninc 1.1
1645    
1646     # Some tools Automake needs.
1647    
1648     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1649    
1650    
1651     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1652    
1653    
1654     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1655    
1656    
1657     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1658    
1659    
1660     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1661    
1662     install_sh=${install_sh-"$am_aux_dir/install-sh"}
1663    
1664     # Installed binaries are usually stripped using `strip' when the user
1665     # run `make install-strip'. However `strip' might not be the right
1666     # tool to use in cross-compilation environments, therefore Automake
1667     # will honor the `STRIP' environment variable to overrule this program.
1668     if test "$cross_compiling" != no; then
1669     if test -n "$ac_tool_prefix"; then
1670     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1671     set dummy ${ac_tool_prefix}strip; ac_word=$2
1672     echo "$as_me:$LINENO: checking for $ac_word" >&5
1673     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674     if test "${ac_cv_prog_STRIP+set}" = set; then
1675     echo $ECHO_N "(cached) $ECHO_C" >&6
1676     else
1677     if test -n "$STRIP"; then
1678     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1679     else
1680     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681     for as_dir in $PATH
1682     do
1683     IFS=$as_save_IFS
1684     test -z "$as_dir" && as_dir=.
1685     for ac_exec_ext in '' $ac_executable_extensions; do
1686     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689     break 2
1690     fi
1691     done
1692     done
1693    
1694     fi
1695     fi
1696     STRIP=$ac_cv_prog_STRIP
1697     if test -n "$STRIP"; then
1698     echo "$as_me:$LINENO: result: $STRIP" >&5
1699     echo "${ECHO_T}$STRIP" >&6
1700     else
1701     echo "$as_me:$LINENO: result: no" >&5
1702     echo "${ECHO_T}no" >&6
1703     fi
1704    
1705     fi
1706     if test -z "$ac_cv_prog_STRIP"; then
1707     ac_ct_STRIP=$STRIP
1708     # Extract the first word of "strip", so it can be a program name with args.
1709     set dummy strip; ac_word=$2
1710     echo "$as_me:$LINENO: checking for $ac_word" >&5
1711     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1713     echo $ECHO_N "(cached) $ECHO_C" >&6
1714     else
1715     if test -n "$ac_ct_STRIP"; then
1716     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1717     else
1718     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719     for as_dir in $PATH
1720     do
1721     IFS=$as_save_IFS
1722     test -z "$as_dir" && as_dir=.
1723     for ac_exec_ext in '' $ac_executable_extensions; do
1724     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725     ac_cv_prog_ac_ct_STRIP="strip"
1726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727     break 2
1728     fi
1729     done
1730     done
1731    
1732     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1733     fi
1734     fi
1735     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1736     if test -n "$ac_ct_STRIP"; then
1737     echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1738     echo "${ECHO_T}$ac_ct_STRIP" >&6
1739     else
1740     echo "$as_me:$LINENO: result: no" >&5
1741     echo "${ECHO_T}no" >&6
1742     fi
1743    
1744     STRIP=$ac_ct_STRIP
1745     else
1746     STRIP="$ac_cv_prog_STRIP"
1747     fi
1748    
1749     fi
1750     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1751    
1752     # We need awk for the "check" target. The system "awk" is bad on
1753     # some platforms.
1754     # Always define AMTAR for backward compatibility.
1755    
1756     AMTAR=${AMTAR-"${am_missing_run}tar"}
1757    
1758     am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1759    
1760    
1761    
1762    
1763    
1764     ac_config_headers="$ac_config_headers config.h"
1765    
1766    
1767     # Make sure we can run config.sub.
1768     $ac_config_sub sun4 >/dev/null 2>&1 ||
1769     { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1770     echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1771     { (exit 1); exit 1; }; }
1772    
1773     echo "$as_me:$LINENO: checking build system type" >&5
1774     echo $ECHO_N "checking build system type... $ECHO_C" >&6
1775     if test "${ac_cv_build+set}" = set; then
1776     echo $ECHO_N "(cached) $ECHO_C" >&6
1777     else
1778     ac_cv_build_alias=$build_alias
1779     test -z "$ac_cv_build_alias" &&
1780     ac_cv_build_alias=`$ac_config_guess`
1781     test -z "$ac_cv_build_alias" &&
1782     { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1783     echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1784     { (exit 1); exit 1; }; }
1785     ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1786     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1787     echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1788     { (exit 1); exit 1; }; }
1789    
1790     fi
1791     echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1792     echo "${ECHO_T}$ac_cv_build" >&6
1793     build=$ac_cv_build
1794     build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1795     build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1796     build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1797    
1798    
1799     echo "$as_me:$LINENO: checking host system type" >&5
1800     echo $ECHO_N "checking host system type... $ECHO_C" >&6
1801     if test "${ac_cv_host+set}" = set; then
1802     echo $ECHO_N "(cached) $ECHO_C" >&6
1803     else
1804     ac_cv_host_alias=$host_alias
1805     test -z "$ac_cv_host_alias" &&
1806     ac_cv_host_alias=$ac_cv_build_alias
1807     ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1808     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1809     echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1810     { (exit 1); exit 1; }; }
1811    
1812     fi
1813     echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1814     echo "${ECHO_T}$ac_cv_host" >&6
1815     host=$ac_cv_host
1816     host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1817     host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1818     host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1819    
1820    
1821    
1822    
1823     if echo "$host_os" | grep -i darwin; then
1824     IS_DARWIN_TRUE=
1825     IS_DARWIN_FALSE='#'
1826     else
1827     IS_DARWIN_TRUE='#'
1828     IS_DARWIN_FALSE=
1829     fi
1830    
1831    
1832    
1833     if echo "$host_os" | grep -i mingw; then
1834     IS_MINGW_TRUE=
1835     IS_MINGW_FALSE='#'
1836     else
1837     IS_MINGW_TRUE='#'
1838     IS_MINGW_FALSE=
1839     fi
1840    
1841    
1842     # Checks for programs.
1843     ac_ext=cc
1844     ac_cpp='$CXXCPP $CPPFLAGS'
1845     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1846     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1847     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1848     if test -n "$ac_tool_prefix"; then
1849     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1850     do
1851     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1852     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1853     echo "$as_me:$LINENO: checking for $ac_word" >&5
1854     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1855     if test "${ac_cv_prog_CXX+set}" = set; then
1856     echo $ECHO_N "(cached) $ECHO_C" >&6
1857     else
1858     if test -n "$CXX"; then
1859     ac_cv_prog_CXX="$CXX" # Let the user override the test.
1860     else
1861     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862     for as_dir in $PATH
1863     do
1864     IFS=$as_save_IFS
1865     test -z "$as_dir" && as_dir=.
1866     for ac_exec_ext in '' $ac_executable_extensions; do
1867     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1868     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1869     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870     break 2
1871     fi
1872     done
1873     done
1874    
1875     fi
1876     fi
1877     CXX=$ac_cv_prog_CXX
1878     if test -n "$CXX"; then
1879     echo "$as_me:$LINENO: result: $CXX" >&5
1880     echo "${ECHO_T}$CXX" >&6
1881     else
1882     echo "$as_me:$LINENO: result: no" >&5
1883     echo "${ECHO_T}no" >&6
1884     fi
1885    
1886     test -n "$CXX" && break
1887     done
1888     fi
1889     if test -z "$CXX"; then
1890     ac_ct_CXX=$CXX
1891     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1892     do
1893     # Extract the first word of "$ac_prog", so it can be a program name with args.
1894     set dummy $ac_prog; ac_word=$2
1895     echo "$as_me:$LINENO: checking for $ac_word" >&5
1896     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1898     echo $ECHO_N "(cached) $ECHO_C" >&6
1899     else
1900     if test -n "$ac_ct_CXX"; then
1901     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1902     else
1903     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904     for as_dir in $PATH
1905     do
1906     IFS=$as_save_IFS
1907     test -z "$as_dir" && as_dir=.
1908     for ac_exec_ext in '' $ac_executable_extensions; do
1909     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910     ac_cv_prog_ac_ct_CXX="$ac_prog"
1911     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912     break 2
1913     fi
1914     done
1915     done
1916    
1917     fi
1918     fi
1919     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1920     if test -n "$ac_ct_CXX"; then
1921     echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1922     echo "${ECHO_T}$ac_ct_CXX" >&6
1923     else
1924     echo "$as_me:$LINENO: result: no" >&5
1925     echo "${ECHO_T}no" >&6
1926     fi
1927    
1928     test -n "$ac_ct_CXX" && break
1929     done
1930     test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1931    
1932     CXX=$ac_ct_CXX
1933     fi
1934    
1935    
1936     # Provide some information about the compiler.
1937     echo "$as_me:$LINENO:" \
1938     "checking for C++ compiler version" >&5
1939     ac_compiler=`set X $ac_compile; echo $2`
1940     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1941     (eval $ac_compiler --version </dev/null >&5) 2>&5
1942     ac_status=$?
1943     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944     (exit $ac_status); }
1945     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1946     (eval $ac_compiler -v </dev/null >&5) 2>&5
1947     ac_status=$?
1948     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949     (exit $ac_status); }
1950     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1951     (eval $ac_compiler -V </dev/null >&5) 2>&5
1952     ac_status=$?
1953     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954     (exit $ac_status); }
1955    
1956     cat >conftest.$ac_ext <<_ACEOF
1957     /* confdefs.h. */
1958     _ACEOF
1959     cat confdefs.h >>conftest.$ac_ext
1960     cat >>conftest.$ac_ext <<_ACEOF
1961     /* end confdefs.h. */
1962    
1963     int
1964     main ()
1965     {
1966    
1967     ;
1968     return 0;
1969     }
1970     _ACEOF
1971     ac_clean_files_save=$ac_clean_files
1972     ac_clean_files="$ac_clean_files a.out a.exe b.out"
1973     # Try to create an executable without -o first, disregard a.out.
1974     # It will help us diagnose broken compilers, and finding out an intuition
1975     # of exeext.
1976     echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1977     echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1978     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1979     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1980     (eval $ac_link_default) 2>&5
1981     ac_status=$?
1982     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983     (exit $ac_status); }; then
1984     # Find the output, starting from the most likely. This scheme is
1985     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1986     # resort.
1987    
1988     # Be careful to initialize this variable, since it used to be cached.
1989     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1990     ac_cv_exeext=
1991     # b.out is created by i960 compilers.
1992     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1993     do
1994     test -f "$ac_file" || continue
1995     case $ac_file in
1996     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1997     ;;
1998     conftest.$ac_ext )
1999     # This is the source file.
2000     ;;
2001     [ab].out )
2002     # We found the default executable, but exeext='' is most
2003     # certainly right.
2004     break;;
2005     *.* )
2006     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2007     # FIXME: I believe we export ac_cv_exeext for Libtool,
2008     # but it would be cool to find out if it's true. Does anybody
2009     # maintain Libtool? --akim.
2010     export ac_cv_exeext
2011     break;;
2012     * )
2013     break;;
2014     esac
2015     done
2016     else
2017     echo "$as_me: failed program was:" >&5
2018     sed 's/^/| /' conftest.$ac_ext >&5
2019    
2020     { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2021     See \`config.log' for more details." >&5
2022     echo "$as_me: error: C++ compiler cannot create executables
2023     See \`config.log' for more details." >&2;}
2024     { (exit 77); exit 77; }; }
2025     fi
2026    
2027     ac_exeext=$ac_cv_exeext
2028     echo "$as_me:$LINENO: result: $ac_file" >&5
2029     echo "${ECHO_T}$ac_file" >&6
2030    
2031     # Check the compiler produces executables we can run. If not, either
2032     # the compiler is broken, or we cross compile.
2033     echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2034     echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2035     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2036     # If not cross compiling, check that we can run a simple program.
2037     if test "$cross_compiling" != yes; then
2038     if { ac_try='./$ac_file'
2039     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040     (eval $ac_try) 2>&5
2041     ac_status=$?
2042     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043     (exit $ac_status); }; }; then
2044     cross_compiling=no
2045     else
2046     if test "$cross_compiling" = maybe; then
2047     cross_compiling=yes
2048     else
2049     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2050     If you meant to cross compile, use \`--host'.
2051     See \`config.log' for more details." >&5
2052     echo "$as_me: error: cannot run C++ compiled programs.
2053     If you meant to cross compile, use \`--host'.
2054     See \`config.log' for more details." >&2;}
2055     { (exit 1); exit 1; }; }
2056     fi
2057     fi
2058     fi
2059     echo "$as_me:$LINENO: result: yes" >&5
2060     echo "${ECHO_T}yes" >&6
2061    
2062     rm -f a.out a.exe conftest$ac_cv_exeext b.out
2063     ac_clean_files=$ac_clean_files_save
2064     # Check the compiler produces executables we can run. If not, either
2065     # the compiler is broken, or we cross compile.
2066     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2067     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2068     echo "$as_me:$LINENO: result: $cross_compiling" >&5
2069     echo "${ECHO_T}$cross_compiling" >&6
2070    
2071     echo "$as_me:$LINENO: checking for suffix of executables" >&5
2072     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2073     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2074     (eval $ac_link) 2>&5
2075     ac_status=$?
2076     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077     (exit $ac_status); }; then
2078     # If both `conftest.exe' and `conftest' are `present' (well, observable)
2079     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2080     # work properly (i.e., refer to `conftest.exe'), while it won't with
2081     # `rm'.
2082     for ac_file in conftest.exe conftest conftest.*; do
2083     test -f "$ac_file" || continue
2084     case $ac_file in
2085     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2086     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2087     export ac_cv_exeext
2088     break;;
2089     * ) break;;
2090     esac
2091     done
2092     else
2093     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2094     See \`config.log' for more details." >&5
2095     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2096     See \`config.log' for more details." >&2;}
2097     { (exit 1); exit 1; }; }
2098     fi
2099    
2100     rm -f conftest$ac_cv_exeext
2101     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2102     echo "${ECHO_T}$ac_cv_exeext" >&6
2103    
2104     rm -f conftest.$ac_ext
2105     EXEEXT=$ac_cv_exeext
2106     ac_exeext=$EXEEXT
2107     echo "$as_me:$LINENO: checking for suffix of object files" >&5
2108     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2109     if test "${ac_cv_objext+set}" = set; then
2110     echo $ECHO_N "(cached) $ECHO_C" >&6
2111     else
2112     cat >conftest.$ac_ext <<_ACEOF
2113     /* confdefs.h. */
2114     _ACEOF
2115     cat confdefs.h >>conftest.$ac_ext
2116     cat >>conftest.$ac_ext <<_ACEOF
2117     /* end confdefs.h. */
2118    
2119     int
2120     main ()
2121     {
2122    
2123     ;
2124     return 0;
2125     }
2126     _ACEOF
2127     rm -f conftest.o conftest.obj
2128     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129     (eval $ac_compile) 2>&5
2130     ac_status=$?
2131     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132     (exit $ac_status); }; then
2133     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2134     case $ac_file in
2135     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2136     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2137     break;;
2138     esac
2139     done
2140     else
2141     echo "$as_me: failed program was:" >&5
2142     sed 's/^/| /' conftest.$ac_ext >&5
2143    
2144     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2145     See \`config.log' for more details." >&5
2146     echo "$as_me: error: cannot compute suffix of object files: cannot compile
2147     See \`config.log' for more details." >&2;}
2148     { (exit 1); exit 1; }; }
2149     fi
2150    
2151     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2152     fi
2153     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2154     echo "${ECHO_T}$ac_cv_objext" >&6
2155     OBJEXT=$ac_cv_objext
2156     ac_objext=$OBJEXT
2157     echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2158     echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2159     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2160     echo $ECHO_N "(cached) $ECHO_C" >&6
2161     else
2162     cat >conftest.$ac_ext <<_ACEOF
2163     /* confdefs.h. */
2164     _ACEOF
2165     cat confdefs.h >>conftest.$ac_ext
2166     cat >>conftest.$ac_ext <<_ACEOF
2167     /* end confdefs.h. */
2168    
2169     int
2170     main ()
2171     {
2172     #ifndef __GNUC__
2173     choke me
2174     #endif
2175    
2176     ;
2177     return 0;
2178     }
2179     _ACEOF
2180     rm -f conftest.$ac_objext
2181     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182     (eval $ac_compile) 2>conftest.er1
2183     ac_status=$?
2184     grep -v '^ *+' conftest.er1 >conftest.err
2185     rm -f conftest.er1
2186     cat conftest.err >&5
2187     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188     (exit $ac_status); } &&
2189 maloninc 1.10 { ac_try='test -z "$ac_cxx_werror_flag"
2190     || test ! -s conftest.err'
2191 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192     (eval $ac_try) 2>&5
2193     ac_status=$?
2194     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195     (exit $ac_status); }; } &&
2196     { ac_try='test -s conftest.$ac_objext'
2197     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2198     (eval $ac_try) 2>&5
2199     ac_status=$?
2200     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201     (exit $ac_status); }; }; then
2202     ac_compiler_gnu=yes
2203     else
2204     echo "$as_me: failed program was:" >&5
2205     sed 's/^/| /' conftest.$ac_ext >&5
2206    
2207     ac_compiler_gnu=no
2208     fi
2209     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2210     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2211    
2212     fi
2213     echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2214     echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2215     GXX=`test $ac_compiler_gnu = yes && echo yes`
2216     ac_test_CXXFLAGS=${CXXFLAGS+set}
2217     ac_save_CXXFLAGS=$CXXFLAGS
2218     CXXFLAGS="-g"
2219     echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2220     echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2221     if test "${ac_cv_prog_cxx_g+set}" = set; then
2222     echo $ECHO_N "(cached) $ECHO_C" >&6
2223     else
2224     cat >conftest.$ac_ext <<_ACEOF
2225     /* confdefs.h. */
2226     _ACEOF
2227     cat confdefs.h >>conftest.$ac_ext
2228     cat >>conftest.$ac_ext <<_ACEOF
2229     /* end confdefs.h. */
2230    
2231     int
2232     main ()
2233     {
2234    
2235     ;
2236     return 0;
2237     }
2238     _ACEOF
2239     rm -f conftest.$ac_objext
2240     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2241     (eval $ac_compile) 2>conftest.er1
2242     ac_status=$?
2243     grep -v '^ *+' conftest.er1 >conftest.err
2244     rm -f conftest.er1
2245     cat conftest.err >&5
2246     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247     (exit $ac_status); } &&
2248 maloninc 1.10 { ac_try='test -z "$ac_cxx_werror_flag"
2249     || test ! -s conftest.err'
2250 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251     (eval $ac_try) 2>&5
2252     ac_status=$?
2253     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254     (exit $ac_status); }; } &&
2255     { ac_try='test -s conftest.$ac_objext'
2256     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257     (eval $ac_try) 2>&5
2258     ac_status=$?
2259     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260     (exit $ac_status); }; }; then
2261     ac_cv_prog_cxx_g=yes
2262     else
2263     echo "$as_me: failed program was:" >&5
2264     sed 's/^/| /' conftest.$ac_ext >&5
2265    
2266     ac_cv_prog_cxx_g=no
2267     fi
2268     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2269     fi
2270     echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2271     echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2272     if test "$ac_test_CXXFLAGS" = set; then
2273     CXXFLAGS=$ac_save_CXXFLAGS
2274     elif test $ac_cv_prog_cxx_g = yes; then
2275     if test "$GXX" = yes; then
2276     CXXFLAGS="-g -O2"
2277     else
2278     CXXFLAGS="-g"
2279     fi
2280     else
2281     if test "$GXX" = yes; then
2282     CXXFLAGS="-O2"
2283     else
2284     CXXFLAGS=
2285     fi
2286     fi
2287     for ac_declaration in \
2288     '' \
2289     'extern "C" void std::exit (int) throw (); using std::exit;' \
2290     'extern "C" void std::exit (int); using std::exit;' \
2291     'extern "C" void exit (int) throw ();' \
2292     'extern "C" void exit (int);' \
2293     'void exit (int);'
2294     do
2295     cat >conftest.$ac_ext <<_ACEOF
2296     /* confdefs.h. */
2297     _ACEOF
2298     cat confdefs.h >>conftest.$ac_ext
2299     cat >>conftest.$ac_ext <<_ACEOF
2300     /* end confdefs.h. */
2301     $ac_declaration
2302     #include <stdlib.h>
2303     int
2304     main ()
2305     {
2306     exit (42);
2307     ;
2308     return 0;
2309     }
2310     _ACEOF
2311     rm -f conftest.$ac_objext
2312     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313     (eval $ac_compile) 2>conftest.er1
2314     ac_status=$?
2315     grep -v '^ *+' conftest.er1 >conftest.err
2316     rm -f conftest.er1
2317     cat conftest.err >&5
2318     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319     (exit $ac_status); } &&
2320 maloninc 1.10 { ac_try='test -z "$ac_cxx_werror_flag"
2321     || test ! -s conftest.err'
2322 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323     (eval $ac_try) 2>&5
2324     ac_status=$?
2325     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326     (exit $ac_status); }; } &&
2327     { ac_try='test -s conftest.$ac_objext'
2328     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329     (eval $ac_try) 2>&5
2330     ac_status=$?
2331     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332     (exit $ac_status); }; }; then
2333     :
2334     else
2335     echo "$as_me: failed program was:" >&5
2336     sed 's/^/| /' conftest.$ac_ext >&5
2337    
2338     continue
2339     fi
2340     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2341     cat >conftest.$ac_ext <<_ACEOF
2342     /* confdefs.h. */
2343     _ACEOF
2344     cat confdefs.h >>conftest.$ac_ext
2345     cat >>conftest.$ac_ext <<_ACEOF
2346     /* end confdefs.h. */
2347     $ac_declaration
2348     int
2349     main ()
2350     {
2351     exit (42);
2352     ;
2353     return 0;
2354     }
2355     _ACEOF
2356     rm -f conftest.$ac_objext
2357     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358     (eval $ac_compile) 2>conftest.er1
2359     ac_status=$?
2360     grep -v '^ *+' conftest.er1 >conftest.err
2361     rm -f conftest.er1
2362     cat conftest.err >&5
2363     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364     (exit $ac_status); } &&
2365 maloninc 1.10 { ac_try='test -z "$ac_cxx_werror_flag"
2366     || test ! -s conftest.err'
2367 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368     (eval $ac_try) 2>&5
2369     ac_status=$?
2370     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371     (exit $ac_status); }; } &&
2372     { ac_try='test -s conftest.$ac_objext'
2373     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374     (eval $ac_try) 2>&5
2375     ac_status=$?
2376     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377     (exit $ac_status); }; }; then
2378     break
2379     else
2380     echo "$as_me: failed program was:" >&5
2381     sed 's/^/| /' conftest.$ac_ext >&5
2382    
2383     fi
2384     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385     done
2386     rm -f conftest*
2387     if test -n "$ac_declaration"; then
2388     echo '#ifdef __cplusplus' >>confdefs.h
2389     echo $ac_declaration >>confdefs.h
2390     echo '#endif' >>confdefs.h
2391     fi
2392    
2393     ac_ext=c
2394     ac_cpp='$CPP $CPPFLAGS'
2395     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2398     DEPDIR="${am__leading_dot}deps"
2399    
2400     ac_config_commands="$ac_config_commands depfiles"
2401    
2402    
2403     am_make=${MAKE-make}
2404     cat > confinc << 'END'
2405     am__doit:
2406     @echo done
2407     .PHONY: am__doit
2408     END
2409     # If we don't find an include directive, just comment out the code.
2410     echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2411     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2412     am__include="#"
2413     am__quote=
2414     _am_result=none
2415     # First try GNU make style include.
2416     echo "include confinc" > confmf
2417     # We grep out `Entering directory' and `Leaving directory'
2418     # messages which can occur if `w' ends up in MAKEFLAGS.
2419     # In particular we don't look at `^make:' because GNU make might
2420     # be invoked under some other name (usually "gmake"), in which
2421     # case it prints its new name instead of `make'.
2422     if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2423     am__include=include
2424     am__quote=
2425     _am_result=GNU
2426     fi
2427     # Now try BSD make style include.
2428     if test "$am__include" = "#"; then
2429     echo '.include "confinc"' > confmf
2430     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2431     am__include=.include
2432     am__quote="\""
2433     _am_result=BSD
2434     fi
2435     fi
2436    
2437    
2438     echo "$as_me:$LINENO: result: $_am_result" >&5
2439     echo "${ECHO_T}$_am_result" >&6
2440     rm -f confinc confmf
2441    
2442     # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2443     if test "${enable_dependency_tracking+set}" = set; then
2444     enableval="$enable_dependency_tracking"
2445    
2446     fi;
2447     if test "x$enable_dependency_tracking" != xno; then
2448     am_depcomp="$ac_aux_dir/depcomp"
2449     AMDEPBACKSLASH='\'
2450     fi
2451    
2452    
2453     if test "x$enable_dependency_tracking" != xno; then
2454     AMDEP_TRUE=
2455     AMDEP_FALSE='#'
2456     else
2457     AMDEP_TRUE='#'
2458     AMDEP_FALSE=
2459     fi
2460    
2461    
2462    
2463    
2464     depcc="$CXX" am_compiler_list=
2465    
2466     echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2467     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2468     if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2469     echo $ECHO_N "(cached) $ECHO_C" >&6
2470     else
2471     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2472     # We make a subdir and do the tests there. Otherwise we can end up
2473     # making bogus files that we don't know about and never remove. For
2474     # instance it was reported that on HP-UX the gcc test will end up
2475     # making a dummy file named `D' -- because `-MD' means `put the output
2476     # in D'.
2477     mkdir conftest.dir
2478     # Copy depcomp to subdir because otherwise we won't find it if we're
2479     # using a relative directory.
2480     cp "$am_depcomp" conftest.dir
2481     cd conftest.dir
2482     # We will build objects and dependencies in a subdirectory because
2483     # it helps to detect inapplicable dependency modes. For instance
2484     # both Tru64's cc and ICC support -MD to output dependencies as a
2485     # side effect of compilation, but ICC will put the dependencies in
2486     # the current directory while Tru64 will put them in the object
2487     # directory.
2488     mkdir sub
2489    
2490     am_cv_CXX_dependencies_compiler_type=none
2491     if test "$am_compiler_list" = ""; then
2492     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2493     fi
2494     for depmode in $am_compiler_list; do
2495     # Setup a source with many dependencies, because some compilers
2496     # like to wrap large dependency lists on column 80 (with \), and
2497     # we should not choose a depcomp mode which is confused by this.
2498     #
2499     # We need to recreate these files for each test, as the compiler may
2500     # overwrite some of them when testing with obscure command lines.
2501     # This happens at least with the AIX C compiler.
2502     : > sub/conftest.c
2503     for i in 1 2 3 4 5 6; do
2504     echo '#include "conftst'$i'.h"' >> sub/conftest.c
2505     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2506     # Solaris 8's {/usr,}/bin/sh.
2507     touch sub/conftst$i.h
2508     done
2509     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2510    
2511     case $depmode in
2512     nosideeffect)
2513     # after this tag, mechanisms are not by side-effect, so they'll
2514     # only be used when explicitly requested
2515     if test "x$enable_dependency_tracking" = xyes; then
2516     continue
2517     else
2518     break
2519     fi
2520     ;;
2521     none) break ;;
2522     esac
2523     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2524     # mode. It turns out that the SunPro C++ compiler does not properly
2525     # handle `-M -o', and we need to detect this.
2526     if depmode=$depmode \
2527     source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2528     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2529     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2530     >/dev/null 2>conftest.err &&
2531     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2532     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2533     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2534     # icc doesn't choke on unknown options, it will just issue warnings
2535     # or remarks (even with -Werror). So we grep stderr for any message
2536     # that says an option was ignored or not supported.
2537     # When given -MP, icc 7.0 and 7.1 complain thusly:
2538     # icc: Command line warning: ignoring option '-M'; no argument required
2539     # The diagnosis changed in icc 8.0:
2540     # icc: Command line remark: option '-MP' not supported
2541     if (grep 'ignoring option' conftest.err ||
2542     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2543     am_cv_CXX_dependencies_compiler_type=$depmode
2544     break
2545     fi
2546     fi
2547     done
2548    
2549     cd ..
2550     rm -rf conftest.dir
2551     else
2552     am_cv_CXX_dependencies_compiler_type=none
2553     fi
2554    
2555     fi
2556     echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2557     echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2558     CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2559    
2560    
2561    
2562     if
2563     test "x$enable_dependency_tracking" != xno \
2564     && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2565     am__fastdepCXX_TRUE=
2566     am__fastdepCXX_FALSE='#'
2567     else
2568     am__fastdepCXX_TRUE='#'
2569     am__fastdepCXX_FALSE=
2570     fi
2571    
2572    
2573     ac_ext=c
2574     ac_cpp='$CPP $CPPFLAGS'
2575     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2576     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2577     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2578     if test -n "$ac_tool_prefix"; then
2579     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2580     set dummy ${ac_tool_prefix}gcc; ac_word=$2
2581     echo "$as_me:$LINENO: checking for $ac_word" >&5
2582     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2583     if test "${ac_cv_prog_CC+set}" = set; then
2584     echo $ECHO_N "(cached) $ECHO_C" >&6
2585     else
2586     if test -n "$CC"; then
2587     ac_cv_prog_CC="$CC" # Let the user override the test.
2588     else
2589     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590     for as_dir in $PATH
2591     do
2592     IFS=$as_save_IFS
2593     test -z "$as_dir" && as_dir=.
2594     for ac_exec_ext in '' $ac_executable_extensions; do
2595     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598     break 2
2599     fi
2600     done
2601     done
2602    
2603     fi
2604     fi
2605     CC=$ac_cv_prog_CC
2606     if test -n "$CC"; then
2607     echo "$as_me:$LINENO: result: $CC" >&5
2608     echo "${ECHO_T}$CC" >&6
2609     else
2610     echo "$as_me:$LINENO: result: no" >&5
2611     echo "${ECHO_T}no" >&6
2612     fi
2613    
2614     fi
2615     if test -z "$ac_cv_prog_CC"; then
2616     ac_ct_CC=$CC
2617     # Extract the first word of "gcc", so it can be a program name with args.
2618     set dummy gcc; ac_word=$2
2619     echo "$as_me:$LINENO: checking for $ac_word" >&5
2620     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2621     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2622     echo $ECHO_N "(cached) $ECHO_C" >&6
2623     else
2624     if test -n "$ac_ct_CC"; then
2625     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2626     else
2627     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628     for as_dir in $PATH
2629     do
2630     IFS=$as_save_IFS
2631     test -z "$as_dir" && as_dir=.
2632     for ac_exec_ext in '' $ac_executable_extensions; do
2633     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634     ac_cv_prog_ac_ct_CC="gcc"
2635     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636     break 2
2637     fi
2638     done
2639     done
2640    
2641     fi
2642     fi
2643     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2644     if test -n "$ac_ct_CC"; then
2645     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646     echo "${ECHO_T}$ac_ct_CC" >&6
2647     else
2648     echo "$as_me:$LINENO: result: no" >&5
2649     echo "${ECHO_T}no" >&6
2650     fi
2651    
2652     CC=$ac_ct_CC
2653     else
2654     CC="$ac_cv_prog_CC"
2655     fi
2656    
2657     if test -z "$CC"; then
2658     if test -n "$ac_tool_prefix"; then
2659     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2660     set dummy ${ac_tool_prefix}cc; ac_word=$2
2661     echo "$as_me:$LINENO: checking for $ac_word" >&5
2662     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2663     if test "${ac_cv_prog_CC+set}" = set; then
2664     echo $ECHO_N "(cached) $ECHO_C" >&6
2665     else
2666     if test -n "$CC"; then
2667     ac_cv_prog_CC="$CC" # Let the user override the test.
2668     else
2669     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670     for as_dir in $PATH
2671     do
2672     IFS=$as_save_IFS
2673     test -z "$as_dir" && as_dir=.
2674     for ac_exec_ext in '' $ac_executable_extensions; do
2675     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676     ac_cv_prog_CC="${ac_tool_prefix}cc"
2677     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2678     break 2
2679     fi
2680     done
2681     done
2682    
2683     fi
2684     fi
2685     CC=$ac_cv_prog_CC
2686     if test -n "$CC"; then
2687     echo "$as_me:$LINENO: result: $CC" >&5
2688     echo "${ECHO_T}$CC" >&6
2689     else
2690     echo "$as_me:$LINENO: result: no" >&5
2691     echo "${ECHO_T}no" >&6
2692     fi
2693    
2694     fi
2695     if test -z "$ac_cv_prog_CC"; then
2696     ac_ct_CC=$CC
2697     # Extract the first word of "cc", so it can be a program name with args.
2698     set dummy cc; ac_word=$2
2699     echo "$as_me:$LINENO: checking for $ac_word" >&5
2700     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2701     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702     echo $ECHO_N "(cached) $ECHO_C" >&6
2703     else
2704     if test -n "$ac_ct_CC"; then
2705     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2706     else
2707     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708     for as_dir in $PATH
2709     do
2710     IFS=$as_save_IFS
2711     test -z "$as_dir" && as_dir=.
2712     for ac_exec_ext in '' $ac_executable_extensions; do
2713     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714     ac_cv_prog_ac_ct_CC="cc"
2715     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716     break 2
2717     fi
2718     done
2719     done
2720    
2721     fi
2722     fi
2723     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2724     if test -n "$ac_ct_CC"; then
2725     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2726     echo "${ECHO_T}$ac_ct_CC" >&6
2727     else
2728     echo "$as_me:$LINENO: result: no" >&5
2729     echo "${ECHO_T}no" >&6
2730     fi
2731    
2732     CC=$ac_ct_CC
2733     else
2734     CC="$ac_cv_prog_CC"
2735     fi
2736    
2737     fi
2738     if test -z "$CC"; then
2739     # Extract the first word of "cc", so it can be a program name with args.
2740     set dummy cc; ac_word=$2
2741     echo "$as_me:$LINENO: checking for $ac_word" >&5
2742     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743     if test "${ac_cv_prog_CC+set}" = set; then
2744     echo $ECHO_N "(cached) $ECHO_C" >&6
2745     else
2746     if test -n "$CC"; then
2747     ac_cv_prog_CC="$CC" # Let the user override the test.
2748     else
2749     ac_prog_rejected=no
2750     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751     for as_dir in $PATH
2752     do
2753     IFS=$as_save_IFS
2754     test -z "$as_dir" &&