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.4 - (hide annotations) (download)
Fri Aug 5 00:16:39 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
Changes since 1.3: +24 -40 lines
for ICONV_CONST

1 maloninc 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 maloninc 1.3 # Generated by GNU Autoconf 2.59 for mnote 1.0.
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.3 PACKAGE_VERSION='1.0'
273     PACKAGE_STRING='mnote 1.0'
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     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 CPP EGREP LIBOBJS LTLIBOBJS'
315     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.3 \`configure' configures mnote 1.0 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.3 short | recursive ) echo "Configuration of mnote 1.0:";;
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    
867     Some influential environment variables:
868     CXX C++ compiler command
869     CXXFLAGS C++ compiler flags
870     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871     nonstandard directory <lib dir>
872     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873     headers in a nonstandard directory <include dir>
874     CC C compiler command
875     CFLAGS C compiler flags
876     CPP C preprocessor
877    
878     Use these variables to override the choices made by `configure' or to help
879     it to find libraries and programs with nonstandard names/locations.
880    
881     Report bugs to <hiroyuki@maloninc.com>.
882     _ACEOF
883     fi
884    
885     if test "$ac_init_help" = "recursive"; then
886     # If there are subdirs, report their specific --help.
887     ac_popdir=`pwd`
888     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889     test -d $ac_dir || continue
890     ac_builddir=.
891    
892     if test "$ac_dir" != .; then
893     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894     # A "../" for each directory in $ac_dir_suffix.
895     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896     else
897     ac_dir_suffix= ac_top_builddir=
898     fi
899    
900     case $srcdir in
901     .) # No --srcdir option. We are building in place.
902     ac_srcdir=.
903     if test -z "$ac_top_builddir"; then
904     ac_top_srcdir=.
905     else
906     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907     fi ;;
908     [\\/]* | ?:[\\/]* ) # Absolute path.
909     ac_srcdir=$srcdir$ac_dir_suffix;
910     ac_top_srcdir=$srcdir ;;
911     *) # Relative path.
912     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913     ac_top_srcdir=$ac_top_builddir$srcdir ;;
914     esac
915    
916     # Do not use `cd foo && pwd` to compute absolute paths, because
917     # the directories may not exist.
918     case `pwd` in
919     .) ac_abs_builddir="$ac_dir";;
920     *)
921     case "$ac_dir" in
922     .) ac_abs_builddir=`pwd`;;
923     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924     *) ac_abs_builddir=`pwd`/"$ac_dir";;
925     esac;;
926     esac
927     case $ac_abs_builddir in
928     .) ac_abs_top_builddir=${ac_top_builddir}.;;
929     *)
930     case ${ac_top_builddir}. in
931     .) ac_abs_top_builddir=$ac_abs_builddir;;
932     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934     esac;;
935     esac
936     case $ac_abs_builddir in
937     .) ac_abs_srcdir=$ac_srcdir;;
938     *)
939     case $ac_srcdir in
940     .) ac_abs_srcdir=$ac_abs_builddir;;
941     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943     esac;;
944     esac
945     case $ac_abs_builddir in
946     .) ac_abs_top_srcdir=$ac_top_srcdir;;
947     *)
948     case $ac_top_srcdir in
949     .) ac_abs_top_srcdir=$ac_abs_builddir;;
950     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952     esac;;
953     esac
954    
955     cd $ac_dir
956     # Check for guested configure; otherwise get Cygnus style configure.
957     if test -f $ac_srcdir/configure.gnu; then
958     echo
959     $SHELL $ac_srcdir/configure.gnu --help=recursive
960     elif test -f $ac_srcdir/configure; then
961     echo
962     $SHELL $ac_srcdir/configure --help=recursive
963     elif test -f $ac_srcdir/configure.ac ||
964     test -f $ac_srcdir/configure.in; then
965     echo
966     $ac_configure --help
967     else
968     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969     fi
970 maloninc 1.4 cd "$ac_popdir"
971 maloninc 1.1 done
972     fi
973    
974     test -n "$ac_init_help" && exit 0
975     if $ac_init_version; then
976     cat <<\_ACEOF
977 maloninc 1.3 mnote configure 1.0
978 maloninc 1.1 generated by GNU Autoconf 2.59
979    
980     Copyright (C) 2003 Free Software Foundation, Inc.
981     This configure script is free software; the Free Software Foundation
982     gives unlimited permission to copy, distribute and modify it.
983     _ACEOF
984     exit 0
985     fi
986     exec 5>config.log
987     cat >&5 <<_ACEOF
988     This file contains any messages produced by compilers while
989     running configure, to aid debugging if configure makes a mistake.
990    
991 maloninc 1.3 It was created by mnote $as_me 1.0, which was
992 maloninc 1.1 generated by GNU Autoconf 2.59. Invocation command line was
993    
994     $ $0 $@
995    
996     _ACEOF
997     {
998     cat <<_ASUNAME
999     ## --------- ##
1000     ## Platform. ##
1001     ## --------- ##
1002    
1003     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1004     uname -m = `(uname -m) 2>/dev/null || echo unknown`
1005     uname -r = `(uname -r) 2>/dev/null || echo unknown`
1006     uname -s = `(uname -s) 2>/dev/null || echo unknown`
1007     uname -v = `(uname -v) 2>/dev/null || echo unknown`
1008    
1009     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1010     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1011    
1012     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1013     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1014     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1015     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1016     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1017     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1018     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019    
1020     _ASUNAME
1021    
1022     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023     for as_dir in $PATH
1024     do
1025     IFS=$as_save_IFS
1026     test -z "$as_dir" && as_dir=.
1027     echo "PATH: $as_dir"
1028     done
1029    
1030     } >&5
1031    
1032     cat >&5 <<_ACEOF
1033    
1034    
1035     ## ----------- ##
1036     ## Core tests. ##
1037     ## ----------- ##
1038    
1039     _ACEOF
1040    
1041    
1042     # Keep a trace of the command line.
1043     # Strip out --no-create and --no-recursion so they do not pile up.
1044     # Strip out --silent because we don't want to record it for future runs.
1045     # Also quote any args containing shell meta-characters.
1046     # Make two passes to allow for proper duplicate-argument suppression.
1047     ac_configure_args=
1048     ac_configure_args0=
1049     ac_configure_args1=
1050     ac_sep=
1051     ac_must_keep_next=false
1052     for ac_pass in 1 2
1053     do
1054     for ac_arg
1055     do
1056     case $ac_arg in
1057     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059     | -silent | --silent | --silen | --sile | --sil)
1060     continue ;;
1061     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063     esac
1064     case $ac_pass in
1065     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066     2)
1067     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068     if test $ac_must_keep_next = true; then
1069     ac_must_keep_next=false # Got value, back to normal.
1070     else
1071     case $ac_arg in
1072     *=* | --config-cache | -C | -disable-* | --disable-* \
1073     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075     | -with-* | --with-* | -without-* | --without-* | --x)
1076     case "$ac_configure_args0 " in
1077     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078     esac
1079     ;;
1080     -* ) ac_must_keep_next=true ;;
1081     esac
1082     fi
1083     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084     # Get rid of the leading space.
1085     ac_sep=" "
1086     ;;
1087     esac
1088     done
1089     done
1090     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092    
1093     # When interrupted or exit'd, cleanup temporary files, and complete
1094     # config.log. We remove comments because anyway the quotes in there
1095     # would cause problems or look ugly.
1096     # WARNING: Be sure not to use single quotes in there, as some shells,
1097     # such as our DU 5.0 friend, will then `close' the trap.
1098     trap 'exit_status=$?
1099     # Save into config.log some information that might help in debugging.
1100     {
1101     echo
1102    
1103     cat <<\_ASBOX
1104     ## ---------------- ##
1105     ## Cache variables. ##
1106     ## ---------------- ##
1107     _ASBOX
1108     echo
1109     # The following way of writing the cache mishandles newlines in values,
1110     {
1111     (set) 2>&1 |
1112     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113     *ac_space=\ *)
1114     sed -n \
1115     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117     ;;
1118     *)
1119     sed -n \
1120     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121     ;;
1122     esac;
1123     }
1124     echo
1125    
1126     cat <<\_ASBOX
1127     ## ----------------- ##
1128     ## Output variables. ##
1129     ## ----------------- ##
1130     _ASBOX
1131     echo
1132     for ac_var in $ac_subst_vars
1133     do
1134     eval ac_val=$`echo $ac_var`
1135     echo "$ac_var='"'"'$ac_val'"'"'"
1136     done | sort
1137     echo
1138    
1139     if test -n "$ac_subst_files"; then
1140     cat <<\_ASBOX
1141     ## ------------- ##
1142     ## Output files. ##
1143     ## ------------- ##
1144     _ASBOX
1145     echo
1146     for ac_var in $ac_subst_files
1147     do
1148     eval ac_val=$`echo $ac_var`
1149     echo "$ac_var='"'"'$ac_val'"'"'"
1150     done | sort
1151     echo
1152     fi
1153    
1154     if test -s confdefs.h; then
1155     cat <<\_ASBOX
1156     ## ----------- ##
1157     ## confdefs.h. ##
1158     ## ----------- ##
1159     _ASBOX
1160     echo
1161     sed "/^$/d" confdefs.h | sort
1162     echo
1163     fi
1164     test "$ac_signal" != 0 &&
1165     echo "$as_me: caught signal $ac_signal"
1166     echo "$as_me: exit $exit_status"
1167     } >&5
1168     rm -f core *.core &&
1169     rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170     exit $exit_status
1171     ' 0
1172     for ac_signal in 1 2 13 15; do
1173     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174     done
1175     ac_signal=0
1176    
1177     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178     rm -rf conftest* confdefs.h
1179     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180     echo >confdefs.h
1181    
1182     # Predefined preprocessor variables.
1183    
1184     cat >>confdefs.h <<_ACEOF
1185     #define PACKAGE_NAME "$PACKAGE_NAME"
1186     _ACEOF
1187    
1188    
1189     cat >>confdefs.h <<_ACEOF
1190     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191     _ACEOF
1192    
1193    
1194     cat >>confdefs.h <<_ACEOF
1195     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196     _ACEOF
1197    
1198    
1199     cat >>confdefs.h <<_ACEOF
1200     #define PACKAGE_STRING "$PACKAGE_STRING"
1201     _ACEOF
1202    
1203    
1204     cat >>confdefs.h <<_ACEOF
1205     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206     _ACEOF
1207    
1208    
1209     # Let the site file select an alternate cache file if it wants to.
1210     # Prefer explicitly selected file to automatically selected ones.
1211     if test -z "$CONFIG_SITE"; then
1212     if test "x$prefix" != xNONE; then
1213     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214     else
1215     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216     fi
1217     fi
1218     for ac_site_file in $CONFIG_SITE; do
1219     if test -r "$ac_site_file"; then
1220     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221     echo "$as_me: loading site script $ac_site_file" >&6;}
1222     sed 's/^/| /' "$ac_site_file" >&5
1223     . "$ac_site_file"
1224     fi
1225     done
1226    
1227     if test -r "$cache_file"; then
1228     # Some versions of bash will fail to source /dev/null (special
1229     # files actually), so we avoid doing that.
1230     if test -f "$cache_file"; then
1231     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232     echo "$as_me: loading cache $cache_file" >&6;}
1233     case $cache_file in
1234     [\\/]* | ?:[\\/]* ) . $cache_file;;
1235     *) . ./$cache_file;;
1236     esac
1237     fi
1238     else
1239     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240     echo "$as_me: creating cache $cache_file" >&6;}
1241     >$cache_file
1242     fi
1243    
1244     # Check that the precious variables saved in the cache have kept the same
1245     # value.
1246     ac_cache_corrupted=false
1247     for ac_var in `(set) 2>&1 |
1248     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1249     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250     eval ac_new_set=\$ac_env_${ac_var}_set
1251     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252     eval ac_new_val="\$ac_env_${ac_var}_value"
1253     case $ac_old_set,$ac_new_set in
1254     set,)
1255     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1256     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1257     ac_cache_corrupted=: ;;
1258     ,set)
1259     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1260     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261     ac_cache_corrupted=: ;;
1262     ,);;
1263     *)
1264     if test "x$ac_old_val" != "x$ac_new_val"; then
1265     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1266     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268     echo "$as_me: former value: $ac_old_val" >&2;}
1269     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270     echo "$as_me: current value: $ac_new_val" >&2;}
1271     ac_cache_corrupted=:
1272     fi;;
1273     esac
1274     # Pass precious variables to config.status.
1275     if test "$ac_new_set" = set; then
1276     case $ac_new_val in
1277     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1279     *) ac_arg=$ac_var=$ac_new_val ;;
1280     esac
1281     case " $ac_configure_args " in
1282     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284     esac
1285     fi
1286     done
1287     if $ac_cache_corrupted; then
1288     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1291     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292     { (exit 1); exit 1; }; }
1293     fi
1294    
1295     ac_ext=c
1296     ac_cpp='$CPP $CPPFLAGS'
1297     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1300    
1301    
1302    
1303    
1304    
1305    
1306    
1307    
1308    
1309    
1310    
1311    
1312    
1313    
1314    
1315    
1316    
1317    
1318    
1319    
1320    
1321    
1322    
1323    
1324    
1325    
1326    
1327    
1328     am__api_version="1.9"
1329     ac_aux_dir=
1330     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1331     if test -f $ac_dir/install-sh; then
1332     ac_aux_dir=$ac_dir
1333     ac_install_sh="$ac_aux_dir/install-sh -c"
1334     break
1335     elif test -f $ac_dir/install.sh; then
1336     ac_aux_dir=$ac_dir
1337     ac_install_sh="$ac_aux_dir/install.sh -c"
1338     break
1339     elif test -f $ac_dir/shtool; then
1340     ac_aux_dir=$ac_dir
1341     ac_install_sh="$ac_aux_dir/shtool install -c"
1342     break
1343     fi
1344     done
1345     if test -z "$ac_aux_dir"; then
1346     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1347     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1348     { (exit 1); exit 1; }; }
1349     fi
1350     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1351     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1352     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1353    
1354     # Find a good install program. We prefer a C program (faster),
1355     # so one script is as good as another. But avoid the broken or
1356     # incompatible versions:
1357     # SysV /etc/install, /usr/sbin/install
1358     # SunOS /usr/etc/install
1359     # IRIX /sbin/install
1360     # AIX /bin/install
1361     # AmigaOS /C/install, which installs bootblocks on floppy discs
1362     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1363     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1364     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1365     # OS/2's system install, which has a completely different semantic
1366     # ./install, which can be erroneously created by make from ./install.sh.
1367     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1368     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1369     if test -z "$INSTALL"; then
1370     if test "${ac_cv_path_install+set}" = set; then
1371     echo $ECHO_N "(cached) $ECHO_C" >&6
1372     else
1373     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374     for as_dir in $PATH
1375     do
1376     IFS=$as_save_IFS
1377     test -z "$as_dir" && as_dir=.
1378     # Account for people who put trailing slashes in PATH elements.
1379     case $as_dir/ in
1380     ./ | .// | /cC/* | \
1381     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1382     ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1383     /usr/ucb/* ) ;;
1384     *)
1385     # OSF1 and SCO ODT 3.0 have their own names for install.
1386     # Don't use installbsd from OSF since it installs stuff as root
1387     # by default.
1388     for ac_prog in ginstall scoinst install; do
1389     for ac_exec_ext in '' $ac_executable_extensions; do
1390     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1391     if test $ac_prog = install &&
1392     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1393     # AIX install. It has an incompatible calling convention.
1394     :
1395     elif test $ac_prog = install &&
1396     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1397     # program-specific install script used by HP pwplus--don't use.
1398     :
1399     else
1400     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1401     break 3
1402     fi
1403     fi
1404     done
1405     done
1406     ;;
1407     esac
1408     done
1409    
1410    
1411     fi
1412     if test "${ac_cv_path_install+set}" = set; then
1413     INSTALL=$ac_cv_path_install
1414     else
1415     # As a last resort, use the slow shell script. We don't cache a
1416     # path for INSTALL within a source directory, because that will
1417     # break other packages using the cache if that directory is
1418     # removed, or if the path is relative.
1419     INSTALL=$ac_install_sh
1420     fi
1421     fi
1422     echo "$as_me:$LINENO: result: $INSTALL" >&5
1423     echo "${ECHO_T}$INSTALL" >&6
1424    
1425     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1426     # It thinks the first close brace ends the variable substitution.
1427     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1428    
1429     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1430    
1431     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1432    
1433     echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1434     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1435     # Just in case
1436     sleep 1
1437     echo timestamp > conftest.file
1438     # Do `set' in a subshell so we don't clobber the current shell's
1439     # arguments. Must try -L first in case configure is actually a
1440     # symlink; some systems play weird games with the mod time of symlinks
1441     # (eg FreeBSD returns the mod time of the symlink's containing
1442     # directory).
1443     if (
1444     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1445     if test "$*" = "X"; then
1446     # -L didn't work.
1447     set X `ls -t $srcdir/configure conftest.file`
1448     fi
1449     rm -f conftest.file
1450     if test "$*" != "X $srcdir/configure conftest.file" \
1451     && test "$*" != "X conftest.file $srcdir/configure"; then
1452    
1453     # If neither matched, then we have a broken ls. This can happen
1454     # if, for instance, CONFIG_SHELL is bash and it inherits a
1455     # broken ls alias from the environment. This has actually
1456     # happened. Such a system could not be considered "sane".
1457     { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1458     alias in your environment" >&5
1459     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1460     alias in your environment" >&2;}
1461     { (exit 1); exit 1; }; }
1462     fi
1463    
1464     test "$2" = conftest.file
1465     )
1466     then
1467     # Ok.
1468     :
1469     else
1470     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1471     Check your system clock" >&5
1472     echo "$as_me: error: newly created file is older than distributed files!
1473     Check your system clock" >&2;}
1474     { (exit 1); exit 1; }; }
1475     fi
1476     echo "$as_me:$LINENO: result: yes" >&5
1477     echo "${ECHO_T}yes" >&6
1478     test "$program_prefix" != NONE &&
1479     program_transform_name="s,^,$program_prefix,;$program_transform_name"
1480     # Use a double $ so make ignores it.
1481     test "$program_suffix" != NONE &&
1482     program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1483     # Double any \ or $. echo might interpret backslashes.
1484     # By default was `s,x,x', remove it if useless.
1485     cat <<\_ACEOF >conftest.sed
1486     s/[\\$]/&&/g;s/;s,x,x,$//
1487     _ACEOF
1488     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1489     rm conftest.sed
1490    
1491     # expand $ac_aux_dir to an absolute path
1492     am_aux_dir=`cd $ac_aux_dir && pwd`
1493    
1494     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1495     # Use eval to expand $SHELL
1496     if eval "$MISSING --run true"; then
1497     am_missing_run="$MISSING --run "
1498     else
1499     am_missing_run=
1500     { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1501     echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1502     fi
1503    
1504     if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1505     # We used to keeping the `.' as first argument, in order to
1506     # allow $(mkdir_p) to be used without argument. As in
1507     # $(mkdir_p) $(somedir)
1508     # where $(somedir) is conditionally defined. However this is wrong
1509     # for two reasons:
1510     # 1. if the package is installed by a user who cannot write `.'
1511     # make install will fail,
1512     # 2. the above comment should most certainly read
1513     # $(mkdir_p) $(DESTDIR)$(somedir)
1514     # so it does not work when $(somedir) is undefined and
1515     # $(DESTDIR) is not.
1516     # To support the latter case, we have to write
1517     # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1518     # so the `.' trick is pointless.
1519     mkdir_p='mkdir -p --'
1520     else
1521     # On NextStep and OpenStep, the `mkdir' command does not
1522     # recognize any option. It will interpret all options as
1523     # directories to create, and then abort because `.' already
1524     # exists.
1525     for d in ./-p ./--version;
1526     do
1527     test -d $d && rmdir $d
1528     done
1529     # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1530     if test -f "$ac_aux_dir/mkinstalldirs"; then
1531     mkdir_p='$(mkinstalldirs)'
1532     else
1533     mkdir_p='$(install_sh) -d'
1534     fi
1535     fi
1536    
1537     for ac_prog in gawk mawk nawk awk
1538     do
1539     # Extract the first word of "$ac_prog", so it can be a program name with args.
1540     set dummy $ac_prog; ac_word=$2
1541     echo "$as_me:$LINENO: checking for $ac_word" >&5
1542     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543     if test "${ac_cv_prog_AWK+set}" = set; then
1544     echo $ECHO_N "(cached) $ECHO_C" >&6
1545     else
1546     if test -n "$AWK"; then
1547     ac_cv_prog_AWK="$AWK" # Let the user override the test.
1548     else
1549     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550     for as_dir in $PATH
1551     do
1552     IFS=$as_save_IFS
1553     test -z "$as_dir" && as_dir=.
1554     for ac_exec_ext in '' $ac_executable_extensions; do
1555     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556     ac_cv_prog_AWK="$ac_prog"
1557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558     break 2
1559     fi
1560     done
1561     done
1562    
1563     fi
1564     fi
1565     AWK=$ac_cv_prog_AWK
1566     if test -n "$AWK"; then
1567     echo "$as_me:$LINENO: result: $AWK" >&5
1568     echo "${ECHO_T}$AWK" >&6
1569     else
1570     echo "$as_me:$LINENO: result: no" >&5
1571     echo "${ECHO_T}no" >&6
1572     fi
1573    
1574     test -n "$AWK" && break
1575     done
1576    
1577     echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1578     echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1579     set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1580     if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1581     echo $ECHO_N "(cached) $ECHO_C" >&6
1582     else
1583     cat >conftest.make <<\_ACEOF
1584     all:
1585     @echo 'ac_maketemp="$(MAKE)"'
1586     _ACEOF
1587     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1588     eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1589     if test -n "$ac_maketemp"; then
1590     eval ac_cv_prog_make_${ac_make}_set=yes
1591     else
1592     eval ac_cv_prog_make_${ac_make}_set=no
1593     fi
1594     rm -f conftest.make
1595     fi
1596     if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1597     echo "$as_me:$LINENO: result: yes" >&5
1598     echo "${ECHO_T}yes" >&6
1599     SET_MAKE=
1600     else
1601     echo "$as_me:$LINENO: result: no" >&5
1602     echo "${ECHO_T}no" >&6
1603     SET_MAKE="MAKE=${MAKE-make}"
1604     fi
1605    
1606     rm -rf .tst 2>/dev/null
1607     mkdir .tst 2>/dev/null
1608     if test -d .tst; then
1609     am__leading_dot=.
1610     else
1611     am__leading_dot=_
1612     fi
1613     rmdir .tst 2>/dev/null
1614    
1615     # test to see if srcdir already configured
1616     if test "`cd $srcdir && pwd`" != "`pwd`" &&
1617     test -f $srcdir/config.status; then
1618     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1619     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1620     { (exit 1); exit 1; }; }
1621     fi
1622    
1623     # test whether we have cygpath
1624     if test -z "$CYGPATH_W"; then
1625     if (cygpath --version) >/dev/null 2>/dev/null; then
1626     CYGPATH_W='cygpath -w'
1627     else
1628     CYGPATH_W=echo
1629     fi
1630     fi
1631    
1632    
1633     # Define the identity of the package.
1634     PACKAGE=mnote
1635 maloninc 1.3 VERSION=1.0
1636 maloninc 1.1
1637    
1638     # Some tools Automake needs.
1639    
1640     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1641    
1642    
1643     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1644    
1645    
1646     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1647    
1648    
1649     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1650    
1651    
1652     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1653    
1654     install_sh=${install_sh-"$am_aux_dir/install-sh"}
1655    
1656     # Installed binaries are usually stripped using `strip' when the user
1657     # run `make install-strip'. However `strip' might not be the right
1658     # tool to use in cross-compilation environments, therefore Automake
1659     # will honor the `STRIP' environment variable to overrule this program.
1660     if test "$cross_compiling" != no; then
1661     if test -n "$ac_tool_prefix"; then
1662     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1663     set dummy ${ac_tool_prefix}strip; ac_word=$2
1664     echo "$as_me:$LINENO: checking for $ac_word" >&5
1665     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666     if test "${ac_cv_prog_STRIP+set}" = set; then
1667     echo $ECHO_N "(cached) $ECHO_C" >&6
1668     else
1669     if test -n "$STRIP"; then
1670     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1671     else
1672     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673     for as_dir in $PATH
1674     do
1675     IFS=$as_save_IFS
1676     test -z "$as_dir" && as_dir=.
1677     for ac_exec_ext in '' $ac_executable_extensions; do
1678     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1680     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681     break 2
1682     fi
1683     done
1684     done
1685    
1686     fi
1687     fi
1688     STRIP=$ac_cv_prog_STRIP
1689     if test -n "$STRIP"; then
1690     echo "$as_me:$LINENO: result: $STRIP" >&5
1691     echo "${ECHO_T}$STRIP" >&6
1692     else
1693     echo "$as_me:$LINENO: result: no" >&5
1694     echo "${ECHO_T}no" >&6
1695     fi
1696    
1697     fi
1698     if test -z "$ac_cv_prog_STRIP"; then
1699     ac_ct_STRIP=$STRIP
1700     # Extract the first word of "strip", so it can be a program name with args.
1701     set dummy strip; ac_word=$2
1702     echo "$as_me:$LINENO: checking for $ac_word" >&5
1703     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1705     echo $ECHO_N "(cached) $ECHO_C" >&6
1706     else
1707     if test -n "$ac_ct_STRIP"; then
1708     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1709     else
1710     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711     for as_dir in $PATH
1712     do
1713     IFS=$as_save_IFS
1714     test -z "$as_dir" && as_dir=.
1715     for ac_exec_ext in '' $ac_executable_extensions; do
1716     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717     ac_cv_prog_ac_ct_STRIP="strip"
1718     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719     break 2
1720     fi
1721     done
1722     done
1723    
1724     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1725     fi
1726     fi
1727     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1728     if test -n "$ac_ct_STRIP"; then
1729     echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1730     echo "${ECHO_T}$ac_ct_STRIP" >&6
1731     else
1732     echo "$as_me:$LINENO: result: no" >&5
1733     echo "${ECHO_T}no" >&6
1734     fi
1735    
1736     STRIP=$ac_ct_STRIP
1737     else
1738     STRIP="$ac_cv_prog_STRIP"
1739     fi
1740    
1741     fi
1742     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1743    
1744     # We need awk for the "check" target. The system "awk" is bad on
1745     # some platforms.
1746     # Always define AMTAR for backward compatibility.
1747    
1748     AMTAR=${AMTAR-"${am_missing_run}tar"}
1749    
1750     am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1751    
1752    
1753    
1754    
1755    
1756     ac_config_headers="$ac_config_headers config.h"
1757    
1758    
1759     # Make sure we can run config.sub.
1760     $ac_config_sub sun4 >/dev/null 2>&1 ||
1761     { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1762     echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1763     { (exit 1); exit 1; }; }
1764    
1765     echo "$as_me:$LINENO: checking build system type" >&5
1766     echo $ECHO_N "checking build system type... $ECHO_C" >&6
1767     if test "${ac_cv_build+set}" = set; then
1768     echo $ECHO_N "(cached) $ECHO_C" >&6
1769     else
1770     ac_cv_build_alias=$build_alias
1771     test -z "$ac_cv_build_alias" &&
1772     ac_cv_build_alias=`$ac_config_guess`
1773     test -z "$ac_cv_build_alias" &&
1774     { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1775     echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1776     { (exit 1); exit 1; }; }
1777     ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1778     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1779     echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1780     { (exit 1); exit 1; }; }
1781    
1782     fi
1783     echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1784     echo "${ECHO_T}$ac_cv_build" >&6
1785     build=$ac_cv_build
1786     build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1787     build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1788     build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1789    
1790    
1791     echo "$as_me:$LINENO: checking host system type" >&5
1792     echo $ECHO_N "checking host system type... $ECHO_C" >&6
1793     if test "${ac_cv_host+set}" = set; then
1794     echo $ECHO_N "(cached) $ECHO_C" >&6
1795     else
1796     ac_cv_host_alias=$host_alias
1797     test -z "$ac_cv_host_alias" &&
1798     ac_cv_host_alias=$ac_cv_build_alias
1799     ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1800     { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1801     echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1802     { (exit 1); exit 1; }; }
1803    
1804     fi
1805     echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1806     echo "${ECHO_T}$ac_cv_host" >&6
1807     host=$ac_cv_host
1808     host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1809     host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1810     host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1811    
1812    
1813    
1814    
1815     if echo "$host_os" | grep -i darwin; then
1816     IS_DARWIN_TRUE=
1817     IS_DARWIN_FALSE='#'
1818     else
1819     IS_DARWIN_TRUE='#'
1820     IS_DARWIN_FALSE=
1821     fi
1822    
1823    
1824    
1825     if echo "$host_os" | grep -i mingw; then
1826     IS_MINGW_TRUE=
1827     IS_MINGW_FALSE='#'
1828     else
1829     IS_MINGW_TRUE='#'
1830     IS_MINGW_FALSE=
1831     fi
1832    
1833    
1834     # Checks for programs.
1835     ac_ext=cc
1836     ac_cpp='$CXXCPP $CPPFLAGS'
1837     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1840     if test -n "$ac_tool_prefix"; then
1841     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1842     do
1843     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1844     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1845     echo "$as_me:$LINENO: checking for $ac_word" >&5
1846     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847     if test "${ac_cv_prog_CXX+set}" = set; then
1848     echo $ECHO_N "(cached) $ECHO_C" >&6
1849     else
1850     if test -n "$CXX"; then
1851     ac_cv_prog_CXX="$CXX" # Let the user override the test.
1852     else
1853     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854     for as_dir in $PATH
1855     do
1856     IFS=$as_save_IFS
1857     test -z "$as_dir" && as_dir=.
1858     for ac_exec_ext in '' $ac_executable_extensions; do
1859     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1861     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862     break 2
1863     fi
1864     done
1865     done
1866    
1867     fi
1868     fi
1869     CXX=$ac_cv_prog_CXX
1870     if test -n "$CXX"; then
1871     echo "$as_me:$LINENO: result: $CXX" >&5
1872     echo "${ECHO_T}$CXX" >&6
1873     else
1874     echo "$as_me:$LINENO: result: no" >&5
1875     echo "${ECHO_T}no" >&6
1876     fi
1877    
1878     test -n "$CXX" && break
1879     done
1880     fi
1881     if test -z "$CXX"; then
1882     ac_ct_CXX=$CXX
1883     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1884     do
1885     # Extract the first word of "$ac_prog", so it can be a program name with args.
1886     set dummy $ac_prog; ac_word=$2
1887     echo "$as_me:$LINENO: checking for $ac_word" >&5
1888     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1890     echo $ECHO_N "(cached) $ECHO_C" >&6
1891     else
1892     if test -n "$ac_ct_CXX"; then
1893     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1894     else
1895     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896     for as_dir in $PATH
1897     do
1898     IFS=$as_save_IFS
1899     test -z "$as_dir" && as_dir=.
1900     for ac_exec_ext in '' $ac_executable_extensions; do
1901     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902     ac_cv_prog_ac_ct_CXX="$ac_prog"
1903     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904     break 2
1905     fi
1906     done
1907     done
1908    
1909     fi
1910     fi
1911     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1912     if test -n "$ac_ct_CXX"; then
1913     echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1914     echo "${ECHO_T}$ac_ct_CXX" >&6
1915     else
1916     echo "$as_me:$LINENO: result: no" >&5
1917     echo "${ECHO_T}no" >&6
1918     fi
1919    
1920     test -n "$ac_ct_CXX" && break
1921     done
1922     test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1923    
1924     CXX=$ac_ct_CXX
1925     fi
1926    
1927    
1928     # Provide some information about the compiler.
1929     echo "$as_me:$LINENO:" \
1930     "checking for C++ compiler version" >&5
1931     ac_compiler=`set X $ac_compile; echo $2`
1932     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1933     (eval $ac_compiler --version </dev/null >&5) 2>&5
1934     ac_status=$?
1935     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936     (exit $ac_status); }
1937     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1938     (eval $ac_compiler -v </dev/null >&5) 2>&5
1939     ac_status=$?
1940     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941     (exit $ac_status); }
1942     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1943     (eval $ac_compiler -V </dev/null >&5) 2>&5
1944     ac_status=$?
1945     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946     (exit $ac_status); }
1947    
1948     cat >conftest.$ac_ext <<_ACEOF
1949     /* confdefs.h. */
1950     _ACEOF
1951     cat confdefs.h >>conftest.$ac_ext
1952     cat >>conftest.$ac_ext <<_ACEOF
1953     /* end confdefs.h. */
1954    
1955     int
1956     main ()
1957     {
1958    
1959     ;
1960     return 0;
1961     }
1962     _ACEOF
1963     ac_clean_files_save=$ac_clean_files
1964     ac_clean_files="$ac_clean_files a.out a.exe b.out"
1965     # Try to create an executable without -o first, disregard a.out.
1966     # It will help us diagnose broken compilers, and finding out an intuition
1967     # of exeext.
1968     echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1969     echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1970     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1971     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1972     (eval $ac_link_default) 2>&5
1973     ac_status=$?
1974     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975     (exit $ac_status); }; then
1976     # Find the output, starting from the most likely. This scheme is
1977     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1978     # resort.
1979    
1980     # Be careful to initialize this variable, since it used to be cached.
1981     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1982     ac_cv_exeext=
1983     # b.out is created by i960 compilers.
1984     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1985     do
1986     test -f "$ac_file" || continue
1987     case $ac_file in
1988     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1989     ;;
1990     conftest.$ac_ext )
1991     # This is the source file.
1992     ;;
1993     [ab].out )
1994     # We found the default executable, but exeext='' is most
1995     # certainly right.
1996     break;;
1997     *.* )
1998     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1999     # FIXME: I believe we export ac_cv_exeext for Libtool,
2000     # but it would be cool to find out if it's true. Does anybody
2001     # maintain Libtool? --akim.
2002     export ac_cv_exeext
2003     break;;
2004     * )
2005     break;;
2006     esac
2007     done
2008     else
2009     echo "$as_me: failed program was:" >&5
2010     sed 's/^/| /' conftest.$ac_ext >&5
2011    
2012     { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2013     See \`config.log' for more details." >&5
2014     echo "$as_me: error: C++ compiler cannot create executables
2015     See \`config.log' for more details." >&2;}
2016     { (exit 77); exit 77; }; }
2017     fi
2018    
2019     ac_exeext=$ac_cv_exeext
2020     echo "$as_me:$LINENO: result: $ac_file" >&5
2021     echo "${ECHO_T}$ac_file" >&6
2022    
2023     # Check the compiler produces executables we can run. If not, either
2024     # the compiler is broken, or we cross compile.
2025     echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2026     echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2027     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2028     # If not cross compiling, check that we can run a simple program.
2029     if test "$cross_compiling" != yes; then
2030     if { ac_try='./$ac_file'
2031     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2032     (eval $ac_try) 2>&5
2033     ac_status=$?
2034     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035     (exit $ac_status); }; }; then
2036     cross_compiling=no
2037     else
2038     if test "$cross_compiling" = maybe; then
2039     cross_compiling=yes
2040     else
2041     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2042     If you meant to cross compile, use \`--host'.
2043     See \`config.log' for more details." >&5
2044     echo "$as_me: error: cannot run C++ compiled programs.
2045     If you meant to cross compile, use \`--host'.
2046     See \`config.log' for more details." >&2;}
2047     { (exit 1); exit 1; }; }
2048     fi
2049     fi
2050     fi
2051     echo "$as_me:$LINENO: result: yes" >&5
2052     echo "${ECHO_T}yes" >&6
2053    
2054     rm -f a.out a.exe conftest$ac_cv_exeext b.out
2055     ac_clean_files=$ac_clean_files_save
2056     # Check the compiler produces executables we can run. If not, either
2057     # the compiler is broken, or we cross compile.
2058     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2059     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2060     echo "$as_me:$LINENO: result: $cross_compiling" >&5
2061     echo "${ECHO_T}$cross_compiling" >&6
2062    
2063     echo "$as_me:$LINENO: checking for suffix of executables" >&5
2064     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2065     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2066     (eval $ac_link) 2>&5
2067     ac_status=$?
2068     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069     (exit $ac_status); }; then
2070     # If both `conftest.exe' and `conftest' are `present' (well, observable)
2071     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2072     # work properly (i.e., refer to `conftest.exe'), while it won't with
2073     # `rm'.
2074     for ac_file in conftest.exe conftest conftest.*; do
2075     test -f "$ac_file" || continue
2076     case $ac_file in
2077     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2078     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079     export ac_cv_exeext
2080     break;;
2081     * ) break;;
2082     esac
2083     done
2084     else
2085     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2086     See \`config.log' for more details." >&5
2087     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2088     See \`config.log' for more details." >&2;}
2089     { (exit 1); exit 1; }; }
2090     fi
2091    
2092     rm -f conftest$ac_cv_exeext
2093     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2094     echo "${ECHO_T}$ac_cv_exeext" >&6
2095    
2096     rm -f conftest.$ac_ext
2097     EXEEXT=$ac_cv_exeext
2098     ac_exeext=$EXEEXT
2099     echo "$as_me:$LINENO: checking for suffix of object files" >&5
2100     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2101     if test "${ac_cv_objext+set}" = set; then
2102     echo $ECHO_N "(cached) $ECHO_C" >&6
2103     else
2104     cat >conftest.$ac_ext <<_ACEOF
2105     /* confdefs.h. */
2106     _ACEOF
2107     cat confdefs.h >>conftest.$ac_ext
2108     cat >>conftest.$ac_ext <<_ACEOF
2109     /* end confdefs.h. */
2110    
2111     int
2112     main ()
2113     {
2114    
2115     ;
2116     return 0;
2117     }
2118     _ACEOF
2119     rm -f conftest.o conftest.obj
2120     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2121     (eval $ac_compile) 2>&5
2122     ac_status=$?
2123     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124     (exit $ac_status); }; then
2125     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2126     case $ac_file in
2127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2128     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2129     break;;
2130     esac
2131     done
2132     else
2133     echo "$as_me: failed program was:" >&5
2134     sed 's/^/| /' conftest.$ac_ext >&5
2135    
2136     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2137     See \`config.log' for more details." >&5
2138     echo "$as_me: error: cannot compute suffix of object files: cannot compile
2139     See \`config.log' for more details." >&2;}
2140     { (exit 1); exit 1; }; }
2141     fi
2142    
2143     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2144     fi
2145     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2146     echo "${ECHO_T}$ac_cv_objext" >&6
2147     OBJEXT=$ac_cv_objext
2148     ac_objext=$OBJEXT
2149     echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2150     echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2151     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2152     echo $ECHO_N "(cached) $ECHO_C" >&6
2153     else
2154     cat >conftest.$ac_ext <<_ACEOF
2155     /* confdefs.h. */
2156     _ACEOF
2157     cat confdefs.h >>conftest.$ac_ext
2158     cat >>conftest.$ac_ext <<_ACEOF
2159     /* end confdefs.h. */
2160    
2161     int
2162     main ()
2163     {
2164     #ifndef __GNUC__
2165     choke me
2166     #endif
2167    
2168     ;
2169     return 0;
2170     }
2171     _ACEOF
2172     rm -f conftest.$ac_objext
2173     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174     (eval $ac_compile) 2>conftest.er1
2175     ac_status=$?
2176     grep -v '^ *+' conftest.er1 >conftest.err
2177     rm -f conftest.er1
2178     cat conftest.err >&5
2179     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180     (exit $ac_status); } &&
2181 maloninc 1.4 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2182 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183     (eval $ac_try) 2>&5
2184     ac_status=$?
2185     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186     (exit $ac_status); }; } &&
2187     { ac_try='test -s conftest.$ac_objext'
2188     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189     (eval $ac_try) 2>&5
2190     ac_status=$?
2191     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192     (exit $ac_status); }; }; then
2193     ac_compiler_gnu=yes
2194     else
2195     echo "$as_me: failed program was:" >&5
2196     sed 's/^/| /' conftest.$ac_ext >&5
2197    
2198     ac_compiler_gnu=no
2199     fi
2200     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2201     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2202    
2203     fi
2204     echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2205     echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2206     GXX=`test $ac_compiler_gnu = yes && echo yes`
2207     ac_test_CXXFLAGS=${CXXFLAGS+set}
2208     ac_save_CXXFLAGS=$CXXFLAGS
2209     CXXFLAGS="-g"
2210     echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2211     echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2212     if test "${ac_cv_prog_cxx_g+set}" = set; then
2213     echo $ECHO_N "(cached) $ECHO_C" >&6
2214     else
2215     cat >conftest.$ac_ext <<_ACEOF
2216     /* confdefs.h. */
2217     _ACEOF
2218     cat confdefs.h >>conftest.$ac_ext
2219     cat >>conftest.$ac_ext <<_ACEOF
2220     /* end confdefs.h. */
2221    
2222     int
2223     main ()
2224     {
2225    
2226     ;
2227     return 0;
2228     }
2229     _ACEOF
2230     rm -f conftest.$ac_objext
2231     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2232     (eval $ac_compile) 2>conftest.er1
2233     ac_status=$?
2234     grep -v '^ *+' conftest.er1 >conftest.err
2235     rm -f conftest.er1
2236     cat conftest.err >&5
2237     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238     (exit $ac_status); } &&
2239 maloninc 1.4 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2240 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241     (eval $ac_try) 2>&5
2242     ac_status=$?
2243     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244     (exit $ac_status); }; } &&
2245     { ac_try='test -s conftest.$ac_objext'
2246     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247     (eval $ac_try) 2>&5
2248     ac_status=$?
2249     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250     (exit $ac_status); }; }; then
2251     ac_cv_prog_cxx_g=yes
2252     else
2253     echo "$as_me: failed program was:" >&5
2254     sed 's/^/| /' conftest.$ac_ext >&5
2255    
2256     ac_cv_prog_cxx_g=no
2257     fi
2258     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2259     fi
2260     echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2261     echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2262     if test "$ac_test_CXXFLAGS" = set; then
2263     CXXFLAGS=$ac_save_CXXFLAGS
2264     elif test $ac_cv_prog_cxx_g = yes; then
2265     if test "$GXX" = yes; then
2266     CXXFLAGS="-g -O2"
2267     else
2268     CXXFLAGS="-g"
2269     fi
2270     else
2271     if test "$GXX" = yes; then
2272     CXXFLAGS="-O2"
2273     else
2274     CXXFLAGS=
2275     fi
2276     fi
2277     for ac_declaration in \
2278     '' \
2279     'extern "C" void std::exit (int) throw (); using std::exit;' \
2280     'extern "C" void std::exit (int); using std::exit;' \
2281     'extern "C" void exit (int) throw ();' \
2282     'extern "C" void exit (int);' \
2283     'void exit (int);'
2284     do
2285     cat >conftest.$ac_ext <<_ACEOF
2286     /* confdefs.h. */
2287     _ACEOF
2288     cat confdefs.h >>conftest.$ac_ext
2289     cat >>conftest.$ac_ext <<_ACEOF
2290     /* end confdefs.h. */
2291     $ac_declaration
2292     #include <stdlib.h>
2293     int
2294     main ()
2295     {
2296     exit (42);
2297     ;
2298     return 0;
2299     }
2300     _ACEOF
2301     rm -f conftest.$ac_objext
2302     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303     (eval $ac_compile) 2>conftest.er1
2304     ac_status=$?
2305     grep -v '^ *+' conftest.er1 >conftest.err
2306     rm -f conftest.er1
2307     cat conftest.err >&5
2308     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309     (exit $ac_status); } &&
2310 maloninc 1.4 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2311 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312     (eval $ac_try) 2>&5
2313     ac_status=$?
2314     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315     (exit $ac_status); }; } &&
2316     { ac_try='test -s conftest.$ac_objext'
2317     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318     (eval $ac_try) 2>&5
2319     ac_status=$?
2320     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321     (exit $ac_status); }; }; then
2322     :
2323     else
2324     echo "$as_me: failed program was:" >&5
2325     sed 's/^/| /' conftest.$ac_ext >&5
2326    
2327     continue
2328     fi
2329     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2330     cat >conftest.$ac_ext <<_ACEOF
2331     /* confdefs.h. */
2332     _ACEOF
2333     cat confdefs.h >>conftest.$ac_ext
2334     cat >>conftest.$ac_ext <<_ACEOF
2335     /* end confdefs.h. */
2336     $ac_declaration
2337     int
2338     main ()
2339     {
2340     exit (42);
2341     ;
2342     return 0;
2343     }
2344     _ACEOF
2345     rm -f conftest.$ac_objext
2346     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347     (eval $ac_compile) 2>conftest.er1
2348     ac_status=$?
2349     grep -v '^ *+' conftest.er1 >conftest.err
2350     rm -f conftest.er1
2351     cat conftest.err >&5
2352     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353     (exit $ac_status); } &&
2354 maloninc 1.4 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2355 maloninc 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356     (eval $ac_try) 2>&5
2357     ac_status=$?
2358     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359     (exit $ac_status); }; } &&
2360     { ac_try='test -s conftest.$ac_objext'
2361     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362     (eval $ac_try) 2>&5
2363     ac_status=$?
2364     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365     (exit $ac_status); }; }; then
2366     break
2367     else
2368     echo "$as_me: failed program was:" >&5
2369     sed 's/^/| /' conftest.$ac_ext >&5
2370    
2371     fi
2372     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2373     done
2374     rm -f conftest*
2375     if test -n "$ac_declaration"; then
2376     echo '#ifdef __cplusplus' >>confdefs.h
2377     echo $ac_declaration >>confdefs.h
2378     echo '#endif' >>confdefs.h
2379     fi
2380    
2381     ac_ext=c
2382     ac_cpp='$CPP $CPPFLAGS'
2383     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386     DEPDIR="${am__leading_dot}deps"
2387    
2388     ac_config_commands="$ac_config_commands depfiles"
2389    
2390    
2391     am_make=${MAKE-make}
2392     cat > confinc << 'END'
2393     am__doit:
2394     @echo done
2395     .PHONY: am__doit
2396     END
2397     # If we don't find an include directive, just comment out the code.
2398     echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2399     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2400     am__include="#"
2401     am__quote=
2402     _am_result=none
2403     # First try GNU make style include.
2404     echo "include confinc" > confmf
2405     # We grep out `Entering directory' and `Leaving directory'
2406     # messages which can occur if `w' ends up in MAKEFLAGS.
2407     # In particular we don't look at `^make:' because GNU make might
2408     # be invoked under some other name (usually "gmake"), in which
2409     # case it prints its new name instead of `make'.
2410     if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2411     am__include=include
2412     am__quote=
2413     _am_result=GNU
2414     fi
2415     # Now try BSD make style include.
2416     if test "$am__include" = "#"; then
2417     echo '.include "confinc"' > confmf
2418     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2419     am__include=.include
2420     am__quote="\""
2421     _am_result=BSD
2422     fi
2423     fi
2424    
2425    
2426     echo "$as_me:$LINENO: result: $_am_result" >&5
2427     echo "${ECHO_T}$_am_result" >&6
2428     rm -f confinc confmf
2429    
2430     # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2431     if test "${enable_dependency_tracking+set}" = set; then
2432     enableval="$enable_dependency_tracking"
2433    
2434     fi;
2435     if test "x$enable_dependency_tracking" != xno; then
2436     am_depcomp="$ac_aux_dir/depcomp"
2437     AMDEPBACKSLASH='\'
2438     fi
2439    
2440    
2441     if test "x$enable_dependency_tracking" != xno; then
2442     AMDEP_TRUE=
2443     AMDEP_FALSE='#'
2444     else
2445     AMDEP_TRUE='#'
2446     AMDEP_FALSE=
2447     fi
2448    
2449    
2450    
2451    
2452     depcc="$CXX" am_compiler_list=
2453    
2454     echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2455     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2456     if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2457     echo $ECHO_N "(cached) $ECHO_C" >&6
2458     else
2459     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2460     # We make a subdir and do the tests there. Otherwise we can end up
2461     # making bogus files that we don't know about and never remove. For
2462     # instance it was reported that on HP-UX the gcc test will end up
2463     # making a dummy file named `D' -- because `-MD' means `put the output
2464     # in D'.
2465     mkdir conftest.dir
2466     # Copy depcomp to subdir because otherwise we won't find it if we're
2467     # using a relative directory.
2468     cp "$am_depcomp" conftest.dir
2469     cd conftest.dir
2470     # We will build objects and dependencies in a subdirectory because
2471     # it helps to detect inapplicable dependency modes. For instance
2472     # both Tru64's cc and ICC support -MD to output dependencies as a
2473     # side effect of compilation, but ICC will put the dependencies in
2474     # the current directory while Tru64 will put them in the object
2475     # directory.
2476     mkdir sub
2477    
2478     am_cv_CXX_dependencies_compiler_type=none
2479     if test "$am_compiler_list" = ""; then
2480     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2481     fi
2482     for depmode in $am_compiler_list; do
2483     # Setup a source with many dependencies, because some compilers
2484     # like to wrap large dependency lists on column 80 (with \), and
2485     # we should not choose a depcomp mode which is confused by this.
2486     #
2487     # We need to recreate these files for each test, as the compiler may
2488     # overwrite some of them when testing with obscure command lines.
2489     # This happens at least with the AIX C compiler.
2490     : > sub/conftest.c
2491     for i in 1 2 3 4 5 6; do
2492     echo '#include "conftst'$i'.h"' >> sub/conftest.c
2493     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2494     # Solaris 8's {/usr,}/bin/sh.
2495     touch sub/conftst$i.h
2496     done
2497     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2498    
2499     case $depmode in
2500     nosideeffect)
2501     # after this tag, mechanisms are not by side-effect, so they'll
2502     # only be used when explicitly requested
2503     if test "x$enable_dependency_tracking" = xyes; then
2504     continue
2505     else
2506     break
2507     fi
2508     ;;
2509     none) break ;;
2510     esac
2511     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2512     # mode. It turns out that the SunPro C++ compiler does not properly
2513     # handle `-M -o', and we need to detect this.
2514     if depmode=$depmode \
2515     source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2516     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2517     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2518     >/dev/null 2>conftest.err &&
2519     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2520     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2521     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2522     # icc doesn't choke on unknown options, it will just issue warnings
2523     # or remarks (even with -Werror). So we grep stderr for any message
2524     # that says an option was ignored or not supported.
2525     # When given -MP, icc 7.0 and 7.1 complain thusly:
2526     # icc: Command line warning: ignoring option '-M'; no argument required
2527     # The diagnosis changed in icc 8.0:
2528     # icc: Command line remark: option '-MP' not supported
2529     if (grep 'ignoring option' conftest.err ||
2530     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2531     am_cv_CXX_dependencies_compiler_type=$depmode
2532     break
2533     fi
2534     fi
2535     done
2536    
2537     cd ..
2538     rm -rf conftest.dir
2539     else
2540     am_cv_CXX_dependencies_compiler_type=none
2541     fi
2542    
2543     fi
2544     echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2545     echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2546     CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2547    
2548    
2549    
2550     if
2551     test "x$enable_dependency_tracking" != xno \
2552     && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2553     am__fastdepCXX_TRUE=
2554     am__fastdepCXX_FALSE='#'
2555     else
2556     am__fastdepCXX_TRUE='#'
2557     am__fastdepCXX_FALSE=
2558     fi
2559    
2560    
2561     ac_ext=c
2562     ac_cpp='$CPP $CPPFLAGS'
2563     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2566     if test -n "$ac_tool_prefix"; then
2567     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2568     set dummy ${ac_tool_prefix}gcc; ac_word=$2
2569     echo "$as_me:$LINENO: checking for $ac_word" >&5
2570     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571     if test "${ac_cv_prog_CC+set}" = set; then
2572     echo $ECHO_N "(cached) $ECHO_C" >&6
2573     else
2574     if test -n "$CC"; then
2575     ac_cv_prog_CC="$CC" # Let the user override the test.
2576     else
2577     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578     for as_dir in $PATH
2579     do
2580     IFS=$as_save_IFS
2581     test -z "$as_dir" && as_dir=.
2582     for ac_exec_ext in '' $ac_executable_extensions; do
2583     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586     break 2
2587     fi
2588     done
2589     done
2590    
2591     fi
2592     fi
2593     CC=$ac_cv_prog_CC
2594     if test -n "$CC"; then
2595     echo "$as_me:$LINENO: result: $CC" >&5
2596     echo "${ECHO_T}$CC" >&6
2597     else
2598     echo "$as_me:$LINENO: result: no" >&5
2599     echo "${ECHO_T}no" >&6
2600     fi
2601    
2602     fi
2603     if test -z "$ac_cv_prog_CC"; then
2604     ac_ct_CC=$CC
2605     # Extract the first word of "gcc", so it can be a program name with args.
2606     set dummy gcc; ac_word=$2
2607     echo "$as_me:$LINENO: checking for $ac_word" >&5
2608     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2610     echo $ECHO_N "(cached) $ECHO_C" >&6
2611     else
2612     if test -n "$ac_ct_CC"; then
2613     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2614     else
2615     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616     for as_dir in $PATH
2617     do
2618     IFS=$as_save_IFS
2619     test -z "$as_dir" && as_dir=.
2620     for ac_exec_ext in '' $ac_executable_extensions; do
2621     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622     ac_cv_prog_ac_ct_CC="gcc"
2623     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624     break 2
2625     fi
2626     done
2627     done
2628    
2629     fi
2630     fi
2631     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2632     if test -n "$ac_ct_CC"; then
2633     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2634     echo "${ECHO_T}$ac_ct_CC" >&6
2635     else
2636     echo "$as_me:$LINENO: result: no" >&5
2637     echo "${ECHO_T}no" >&6
2638     fi
2639    
2640     CC=$ac_ct_CC
2641     else
2642     CC="$ac_cv_prog_CC"
2643     fi
2644    
2645     if test -z "$CC"; then
2646     if test -n "$ac_tool_prefix"; then
2647     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2648     set dummy ${ac_tool_prefix}cc; ac_word=$2
2649     echo "$as_me:$LINENO: checking for $ac_word" >&5
2650     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2651     if test "${ac_cv_prog_CC+set}" = set; then
2652     echo $ECHO_N "(cached) $ECHO_C" >&6
2653     else
2654     if test -n "$CC"; then
2655     ac_cv_prog_CC="$CC" # Let the user override the test.
2656     else
2657     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658     for as_dir in $PATH
2659     do
2660     IFS=$as_save_IFS
2661     test -z "$as_dir" && as_dir=.
2662     for ac_exec_ext in '' $ac_executable_extensions; do
2663     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664     ac_cv_prog_CC="${ac_tool_prefix}cc"
2665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666     break 2
2667     fi
2668     done
2669     done
2670    
2671     fi
2672     fi
2673     CC=$ac_cv_prog_CC
2674     if test -n "$CC"; then
2675     echo "$as_me:$LINENO: result: $CC" >&5
2676     echo "${ECHO_T}$CC" >&6
2677     else
2678     echo "$as_me:$LINENO: result: no" >&5
2679     echo "${ECHO_T}no" >&6
2680     fi
2681    
2682     fi
2683     if test -z "$ac_cv_prog_CC"; then
2684     ac_ct_CC=$CC
2685     # Extract the first word of "cc", so it can be a program name with args.
2686     set dummy cc; ac_word=$2
2687     echo "$as_me:$LINENO: checking for $ac_word" >&5
2688     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2689     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2690     echo $ECHO_N "(cached) $ECHO_C" >&6
2691     else
2692     if test -n "$ac_ct_CC"; then
2693     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2694     else
2695     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696     for as_dir in $PATH
2697     do
2698     IFS=$as_save_IFS
2699     test -z "$as_dir" && as_dir=.
2700     for ac_exec_ext in '' $ac_executable_extensions; do
2701     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702     ac_cv_prog_ac_ct_CC="cc"
2703     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704     break 2
2705     fi
2706     done
2707     done
2708    
2709     fi
2710     fi
2711     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712     if test -n "$ac_ct_CC"; then
2713     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2714     echo "${ECHO_T}$ac_ct_CC" >&6
2715     else
2716     echo "$as_me:$LINENO: result: no" >&5
2717     echo "${ECHO_T}no" >&6
2718     fi
2719    
2720     CC=$ac_ct_CC
2721     else
2722     CC="$ac_cv_prog_CC"
2723     fi
2724    
2725     fi
2726     if test -z "$CC"; then
2727     # Extract the first word of "cc", so it can be a program name with args.
2728     set dummy cc; ac_word=$2
2729     echo "$as_me:$LINENO: checking for $ac_word" >&5
2730     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2731     if test "${ac_cv_prog_CC+set}" = set; then
2732     echo $ECHO_N "(cached) $ECHO_C" >&6
2733     else
2734     if test -n "$CC"; then
2735     ac_cv_prog_CC="$CC" # Let the user override the test.
2736     else
2737     ac_prog_rejected=no
2738     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739     for as_dir in $PATH
2740     do
2741     IFS=$as_save_IFS
2742     test -z "$as_dir" && as_dir=.
2743     for ac_exec_ext in '' $ac_executable_extensions; do
2744     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2746     ac_prog_rejected=yes
2747     continue
2748     fi
2749     ac_cv_prog_CC="cc"
2750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751     break 2
2752