ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/configure
Revision: 1.1
Committed: Thu Nov 6 14:31:24 2008 UTC (15 years, 6 months ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3     # Generated by GNU Autoconf 2.61.
4     #
5     # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6     # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7     # This configure script is free software; the Free Software Foundation
8     # gives unlimited permission to copy, distribute and modify it.
9     ## --------------------- ##
10     ## M4sh Initialization. ##
11     ## --------------------- ##
12    
13     # Be more Bourne compatible
14     DUALCASE=1; export DUALCASE # for MKS sh
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     setopt NO_GLOB_SUBST
22     else
23     case `(set -o) 2>/dev/null` in
24     *posix*) set -o posix ;;
25     esac
26    
27     fi
28    
29    
30    
31    
32     # PATH needs CR
33     # Avoid depending upon Character Ranges.
34     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37     as_cr_digits='0123456789'
38     as_cr_alnum=$as_cr_Letters$as_cr_digits
39    
40     # The user is always right.
41     if test "${PATH_SEPARATOR+set}" != set; then
42     echo "#! /bin/sh" >conf$$.sh
43     echo "exit 0" >>conf$$.sh
44     chmod +x conf$$.sh
45     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47     else
48     PATH_SEPARATOR=:
49     fi
50     rm -f conf$$.sh
51     fi
52    
53     # Support unset when possible.
54     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55     as_unset=unset
56     else
57     as_unset=false
58     fi
59    
60    
61     # IFS
62     # We need space, tab and new line, in precisely that order. Quoting is
63     # there to prevent editors from complaining about space-tab.
64     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65     # splitting by setting IFS to empty value.)
66     as_nl='
67     '
68     IFS=" "" $as_nl"
69    
70     # Find who we are. Look in the path if we contain no directory separator.
71     case $0 in
72     *[\\/]* ) as_myself=$0 ;;
73     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74     for as_dir in $PATH
75     do
76     IFS=$as_save_IFS
77     test -z "$as_dir" && as_dir=.
78     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79     done
80     IFS=$as_save_IFS
81    
82     ;;
83     esac
84     # We did not find ourselves, most probably we were run as `sh COMMAND'
85     # in which case we are not to be found in the path.
86     if test "x$as_myself" = x; then
87     as_myself=$0
88     fi
89     if test ! -f "$as_myself"; then
90     echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91     { (exit 1); exit 1; }
92     fi
93    
94     # Work around bugs in pre-3.0 UWIN ksh.
95     for as_var in ENV MAIL MAILPATH
96     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97     done
98     PS1='$ '
99     PS2='> '
100     PS4='+ '
101    
102     # NLS nuisances.
103     for as_var in \
104     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106     LC_TELEPHONE LC_TIME
107     do
108     if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110     else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112     fi
113     done
114    
115     # Required to use basename.
116     if expr a : '\(a\)' >/dev/null 2>&1 &&
117     test "X`expr 00001 : '.*\(...\)'`" = X001; then
118     as_expr=expr
119     else
120     as_expr=false
121     fi
122    
123     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124     as_basename=basename
125     else
126     as_basename=false
127     fi
128    
129    
130     # Name of the executable.
131     as_me=`$as_basename -- "$0" ||
132     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133     X"$0" : 'X\(//\)$' \| \
134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135     echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137     s//\1/
138     q
139     }
140     /^X\/\(\/\/\)$/{
141     s//\1/
142     q
143     }
144     /^X\/\(\/\).*/{
145     s//\1/
146     q
147     }
148     s/.*/./; q'`
149    
150     # CDPATH.
151     $as_unset CDPATH
152    
153    
154     if test "x$CONFIG_SHELL" = x; then
155     if (eval ":") 2>/dev/null; then
156     as_have_required=yes
157     else
158     as_have_required=no
159     fi
160    
161     if test $as_have_required = yes && (eval ":
162     (as_func_return () {
163     (exit \$1)
164     }
165     as_func_success () {
166     as_func_return 0
167     }
168     as_func_failure () {
169     as_func_return 1
170     }
171     as_func_ret_success () {
172     return 0
173     }
174     as_func_ret_failure () {
175     return 1
176     }
177    
178     exitcode=0
179     if as_func_success; then
180     :
181     else
182     exitcode=1
183     echo as_func_success failed.
184     fi
185    
186     if as_func_failure; then
187     exitcode=1
188     echo as_func_failure succeeded.
189     fi
190    
191     if as_func_ret_success; then
192     :
193     else
194     exitcode=1
195     echo as_func_ret_success failed.
196     fi
197    
198     if as_func_ret_failure; then
199     exitcode=1
200     echo as_func_ret_failure succeeded.
201     fi
202    
203     if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204     :
205     else
206     exitcode=1
207     echo positional parameters were not saved.
208     fi
209    
210     test \$exitcode = 0) || { (exit 1); exit 1; }
211    
212     (
213     as_lineno_1=\$LINENO
214     as_lineno_2=\$LINENO
215     test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216     test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217     ") 2> /dev/null; then
218     :
219     else
220     as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223     do
224     IFS=$as_save_IFS
225     test -z "$as_dir" && as_dir=.
226     case $as_dir in
227     /*)
228     for as_base in sh bash ksh sh5; do
229     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230     done;;
231     esac
232     done
233     IFS=$as_save_IFS
234    
235    
236     for as_shell in $as_candidate_shells $SHELL; do
237     # Try only shells that exist, to save several forks.
238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239     { ("$as_shell") 2> /dev/null <<\_ASEOF
240     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241     emulate sh
242     NULLCMD=:
243     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244     # is contrary to our usage. Disable this feature.
245     alias -g '${1+"$@"}'='"$@"'
246     setopt NO_GLOB_SUBST
247     else
248     case `(set -o) 2>/dev/null` in
249     *posix*) set -o posix ;;
250     esac
251    
252     fi
253    
254    
255     :
256     _ASEOF
257     }; then
258     CONFIG_SHELL=$as_shell
259     as_have_required=yes
260     if { "$as_shell" 2> /dev/null <<\_ASEOF
261     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262     emulate sh
263     NULLCMD=:
264     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265     # is contrary to our usage. Disable this feature.
266     alias -g '${1+"$@"}'='"$@"'
267     setopt NO_GLOB_SUBST
268     else
269     case `(set -o) 2>/dev/null` in
270     *posix*) set -o posix ;;
271     esac
272    
273     fi
274    
275    
276     :
277     (as_func_return () {
278     (exit $1)
279     }
280     as_func_success () {
281     as_func_return 0
282     }
283     as_func_failure () {
284     as_func_return 1
285     }
286     as_func_ret_success () {
287     return 0
288     }
289     as_func_ret_failure () {
290     return 1
291     }
292    
293     exitcode=0
294     if as_func_success; then
295     :
296     else
297     exitcode=1
298     echo as_func_success failed.
299     fi
300    
301     if as_func_failure; then
302     exitcode=1
303     echo as_func_failure succeeded.
304     fi
305    
306     if as_func_ret_success; then
307     :
308     else
309     exitcode=1
310     echo as_func_ret_success failed.
311     fi
312    
313     if as_func_ret_failure; then
314     exitcode=1
315     echo as_func_ret_failure succeeded.
316     fi
317    
318     if ( set x; as_func_ret_success y && test x = "$1" ); then
319     :
320     else
321     exitcode=1
322     echo positional parameters were not saved.
323     fi
324    
325     test $exitcode = 0) || { (exit 1); exit 1; }
326    
327     (
328     as_lineno_1=$LINENO
329     as_lineno_2=$LINENO
330     test "x$as_lineno_1" != "x$as_lineno_2" &&
331     test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332    
333     _ASEOF
334     }; then
335     break
336     fi
337    
338     fi
339    
340     done
341    
342     if test "x$CONFIG_SHELL" != x; then
343     for as_var in BASH_ENV ENV
344     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345     done
346     export CONFIG_SHELL
347     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348     fi
349    
350    
351     if test $as_have_required = no; then
352     echo This script requires a shell more modern than all the
353     echo shells that I found on your system. Please install a
354     echo modern shell, or manually run the script under such a
355     echo shell if you do have one.
356     { (exit 1); exit 1; }
357     fi
358    
359    
360     fi
361    
362     fi
363    
364    
365    
366     (eval "as_func_return () {
367     (exit \$1)
368     }
369     as_func_success () {
370     as_func_return 0
371     }
372     as_func_failure () {
373     as_func_return 1
374     }
375     as_func_ret_success () {
376     return 0
377     }
378     as_func_ret_failure () {
379     return 1
380     }
381    
382     exitcode=0
383     if as_func_success; then
384     :
385     else
386     exitcode=1
387     echo as_func_success failed.
388     fi
389    
390     if as_func_failure; then
391     exitcode=1
392     echo as_func_failure succeeded.
393     fi
394    
395     if as_func_ret_success; then
396     :
397     else
398     exitcode=1
399     echo as_func_ret_success failed.
400     fi
401    
402     if as_func_ret_failure; then
403     exitcode=1
404     echo as_func_ret_failure succeeded.
405     fi
406    
407     if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408     :
409     else
410     exitcode=1
411     echo positional parameters were not saved.
412     fi
413    
414     test \$exitcode = 0") || {
415     echo No shell found that supports shell functions.
416     echo Please tell autoconf@gnu.org about your system,
417     echo including any error possibly output before this
418     echo message
419     }
420    
421    
422    
423     as_lineno_1=$LINENO
424     as_lineno_2=$LINENO
425     test "x$as_lineno_1" != "x$as_lineno_2" &&
426     test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427    
428     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429     # uniformly replaced by the line number. The first 'sed' inserts a
430     # line-number line after each line using $LINENO; the second 'sed'
431     # does the real work. The second script uses 'N' to pair each
432     # line-number line with the line containing $LINENO, and appends
433     # trailing '-' during substitution so that $LINENO is not a special
434     # case at line end.
435     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436     # scripts with optimization help from Paolo Bonzini. Blame Lee
437     # E. McMahon (1931-1989) for sed's syntax. :-)
438     sed -n '
439     p
440     /[$]LINENO/=
441     ' <$as_myself |
442     sed '
443     s/[$]LINENO.*/&-/
444     t lineno
445     b
446     :lineno
447     N
448     :loop
449     s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450     t loop
451     s/-\n.*//
452     ' >$as_me.lineno &&
453     chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455     { (exit 1); exit 1; }; }
456    
457     # Don't try to exec as it changes $[0], causing all sort of problems
458     # (the dirname of $[0] is not the place where we might find the
459     # original and so on. Autoconf is especially sensitive to this).
460     . "./$as_me.lineno"
461     # Exit status is that of the last command.
462     exit
463     }
464    
465    
466     if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467     as_dirname=dirname
468     else
469     as_dirname=false
470     fi
471    
472     ECHO_C= ECHO_N= ECHO_T=
473     case `echo -n x` in
474     -n*)
475     case `echo 'x\c'` in
476     *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477     *) ECHO_C='\c';;
478     esac;;
479     *)
480     ECHO_N='-n';;
481     esac
482    
483     if expr a : '\(a\)' >/dev/null 2>&1 &&
484     test "X`expr 00001 : '.*\(...\)'`" = X001; then
485     as_expr=expr
486     else
487     as_expr=false
488     fi
489    
490     rm -f conf$$ conf$$.exe conf$$.file
491     if test -d conf$$.dir; then
492     rm -f conf$$.dir/conf$$.file
493     else
494     rm -f conf$$.dir
495     mkdir conf$$.dir
496     fi
497     echo >conf$$.file
498     if ln -s conf$$.file conf$$ 2>/dev/null; then
499     as_ln_s='ln -s'
500     # ... but there are two gotchas:
501     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503     # In both cases, we have to default to `cp -p'.
504     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506     elif ln conf$$.file conf$$ 2>/dev/null; then
507     as_ln_s=ln
508     else
509     as_ln_s='cp -p'
510     fi
511     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512     rmdir conf$$.dir 2>/dev/null
513    
514     if mkdir -p . 2>/dev/null; then
515     as_mkdir_p=:
516     else
517     test -d ./-p && rmdir ./-p
518     as_mkdir_p=false
519     fi
520    
521     if test -x / >/dev/null 2>&1; then
522     as_test_x='test -x'
523     else
524     if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526     else
527     as_ls_L_option=
528     fi
529     as_test_x='
530     eval sh -c '\''
531     if test -d "$1"; then
532     test -d "$1/.";
533     else
534     case $1 in
535     -*)set "./$1";;
536     esac;
537     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538     ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540     '
541     fi
542     as_executable_p=$as_test_x
543    
544     # Sed expression to map a string onto a valid CPP name.
545     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546    
547     # Sed expression to map a string onto a valid variable name.
548     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549    
550    
551    
552     exec 7<&0 </dev/null 6>&1
553    
554     # Name of the host.
555     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556     # so uname gets run too.
557     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558    
559     #
560     # Initializations.
561     #
562     ac_default_prefix=/usr/local
563     ac_clean_files=
564     ac_config_libobj_dir=.
565     LIBOBJS=
566     cross_compiling=no
567     subdirs=
568     MFLAGS=
569     MAKEFLAGS=
570     SHELL=${CONFIG_SHELL-/bin/sh}
571    
572     # Identity of this package.
573     PACKAGE_NAME=
574     PACKAGE_TARNAME=
575     PACKAGE_VERSION=
576     PACKAGE_STRING=
577     PACKAGE_BUGREPORT=
578    
579     ac_unique_file="parser.g"
580     # Factoring default headers for most tests.
581     ac_includes_default="\
582     #include <stdio.h>
583     #ifdef HAVE_SYS_TYPES_H
584     # include <sys/types.h>
585     #endif
586     #ifdef HAVE_SYS_STAT_H
587     # include <sys/stat.h>
588     #endif
589     #ifdef STDC_HEADERS
590     # include <stdlib.h>
591     # include <stddef.h>
592     #else
593     # ifdef HAVE_STDLIB_H
594     # include <stdlib.h>
595     # endif
596     #endif
597     #ifdef HAVE_STRING_H
598     # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599     # include <memory.h>
600     # endif
601     # include <string.h>
602     #endif
603     #ifdef HAVE_STRINGS_H
604     # include <strings.h>
605     #endif
606     #ifdef HAVE_INTTYPES_H
607     # include <inttypes.h>
608     #endif
609     #ifdef HAVE_STDINT_H
610     # include <stdint.h>
611     #endif
612     #ifdef HAVE_UNISTD_H
613     # include <unistd.h>
614     #endif"
615    
616     ac_subst_vars='SHELL
617     PATH_SEPARATOR
618     PACKAGE_NAME
619     PACKAGE_TARNAME
620     PACKAGE_VERSION
621     PACKAGE_STRING
622     PACKAGE_BUGREPORT
623     exec_prefix
624     prefix
625     program_transform_name
626     bindir
627     sbindir
628     libexecdir
629     datarootdir
630     datadir
631     sysconfdir
632     sharedstatedir
633     localstatedir
634     includedir
635     oldincludedir
636     docdir
637     infodir
638     htmldir
639     dvidir
640     pdfdir
641     psdir
642     libdir
643     localedir
644     mandir
645     DEFS
646     ECHO_C
647     ECHO_N
648     ECHO_T
649     LIBS
650     build_alias
651     host_alias
652     target_alias
653     INSTALL_PROGRAM
654     INSTALL_SCRIPT
655     INSTALL_DATA
656     CYGPATH_W
657     PACKAGE
658     VERSION
659     ACLOCAL
660     AUTOCONF
661     AUTOMAKE
662     AUTOHEADER
663     MAKEINFO
664     AMTAR
665     install_sh
666     STRIP
667     INSTALL_STRIP_PROGRAM
668     AWK
669     SET_MAKE
670     am__leading_dot
671     CC
672     CFLAGS
673     LDFLAGS
674     CPPFLAGS
675     ac_ct_CC
676     EXEEXT
677     OBJEXT
678     DEPDIR
679     am__include
680     am__quote
681     AMDEP_TRUE
682     AMDEP_FALSE
683     AMDEPBACKSLASH
684     CCDEPMODE
685     am__fastdepCC_TRUE
686     am__fastdepCC_FALSE
687     CPP
688     GREP
689     EGREP
690     CXX
691     CXXFLAGS
692     ac_ct_CXX
693     CXXDEPMODE
694     am__fastdepCXX_TRUE
695     am__fastdepCXX_FALSE
696     CXXCPP
697     XMKMF
698     ANTLR
699     DLG
700     HAVE_PCCTS_TRUE
701     HAVE_PCCTS_FALSE
702     LIBOBJS
703     LTLIBOBJS'
704     ac_subst_files=''
705     ac_precious_vars='build_alias
706     host_alias
707     target_alias
708     CC
709     CFLAGS
710     LDFLAGS
711     LIBS
712     CPPFLAGS
713     CPP
714     CXX
715     CXXFLAGS
716     CCC
717     CXXCPP
718     XMKMF'
719    
720    
721     # Initialize some variables set by options.
722     ac_init_help=
723     ac_init_version=false
724     # The variables have the same names as the options, with
725     # dashes changed to underlines.
726     cache_file=/dev/null
727     exec_prefix=NONE
728     no_create=
729     no_recursion=
730     prefix=NONE
731     program_prefix=NONE
732     program_suffix=NONE
733     program_transform_name=s,x,x,
734     silent=
735     site=
736     srcdir=
737     verbose=
738     x_includes=NONE
739     x_libraries=NONE
740    
741     # Installation directory options.
742     # These are left unexpanded so users can "make install exec_prefix=/foo"
743     # and all the variables that are supposed to be based on exec_prefix
744     # by default will actually change.
745     # Use braces instead of parens because sh, perl, etc. also accept them.
746     # (The list follows the same order as the GNU Coding Standards.)
747     bindir='${exec_prefix}/bin'
748     sbindir='${exec_prefix}/sbin'
749     libexecdir='${exec_prefix}/libexec'
750     datarootdir='${prefix}/share'
751     datadir='${datarootdir}'
752     sysconfdir='${prefix}/etc'
753     sharedstatedir='${prefix}/com'
754     localstatedir='${prefix}/var'
755     includedir='${prefix}/include'
756     oldincludedir='/usr/include'
757     docdir='${datarootdir}/doc/${PACKAGE}'
758     infodir='${datarootdir}/info'
759     htmldir='${docdir}'
760     dvidir='${docdir}'
761     pdfdir='${docdir}'
762     psdir='${docdir}'
763     libdir='${exec_prefix}/lib'
764     localedir='${datarootdir}/locale'
765     mandir='${datarootdir}/man'
766    
767     ac_prev=
768     ac_dashdash=
769     for ac_option
770     do
771     # If the previous option needs an argument, assign it.
772     if test -n "$ac_prev"; then
773     eval $ac_prev=\$ac_option
774     ac_prev=
775     continue
776     fi
777    
778     case $ac_option in
779     *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780     *) ac_optarg=yes ;;
781     esac
782    
783     # Accept the important Cygnus configure options, so we can diagnose typos.
784    
785     case $ac_dashdash$ac_option in
786     --)
787     ac_dashdash=yes ;;
788    
789     -bindir | --bindir | --bindi | --bind | --bin | --bi)
790     ac_prev=bindir ;;
791     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
792     bindir=$ac_optarg ;;
793    
794     -build | --build | --buil | --bui | --bu)
795     ac_prev=build_alias ;;
796     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
797     build_alias=$ac_optarg ;;
798    
799     -cache-file | --cache-file | --cache-fil | --cache-fi \
800     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
801     ac_prev=cache_file ;;
802     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
803     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
804     cache_file=$ac_optarg ;;
805    
806     --config-cache | -C)
807     cache_file=config.cache ;;
808    
809     -datadir | --datadir | --datadi | --datad)
810     ac_prev=datadir ;;
811     -datadir=* | --datadir=* | --datadi=* | --datad=*)
812     datadir=$ac_optarg ;;
813    
814     -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
815     | --dataroo | --dataro | --datar)
816     ac_prev=datarootdir ;;
817     -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818     | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819     datarootdir=$ac_optarg ;;
820    
821     -disable-* | --disable-*)
822     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823     # Reject names that are not valid shell variable names.
824     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
825     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
826     { (exit 1); exit 1; }; }
827     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
828     eval enable_$ac_feature=no ;;
829    
830     -docdir | --docdir | --docdi | --doc | --do)
831     ac_prev=docdir ;;
832     -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833     docdir=$ac_optarg ;;
834    
835     -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
836     ac_prev=dvidir ;;
837     -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838     dvidir=$ac_optarg ;;
839    
840     -enable-* | --enable-*)
841     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842     # Reject names that are not valid shell variable names.
843     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
844     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
845     { (exit 1); exit 1; }; }
846     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
847     eval enable_$ac_feature=\$ac_optarg ;;
848    
849     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
850     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
851     | --exec | --exe | --ex)
852     ac_prev=exec_prefix ;;
853     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
854     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
855     | --exec=* | --exe=* | --ex=*)
856     exec_prefix=$ac_optarg ;;
857    
858     -gas | --gas | --ga | --g)
859     # Obsolete; use --with-gas.
860     with_gas=yes ;;
861    
862     -help | --help | --hel | --he | -h)
863     ac_init_help=long ;;
864     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
865     ac_init_help=recursive ;;
866     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
867     ac_init_help=short ;;
868    
869     -host | --host | --hos | --ho)
870     ac_prev=host_alias ;;
871     -host=* | --host=* | --hos=* | --ho=*)
872     host_alias=$ac_optarg ;;
873    
874     -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
875     ac_prev=htmldir ;;
876     -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
877     | --ht=*)
878     htmldir=$ac_optarg ;;
879    
880     -includedir | --includedir | --includedi | --included | --include \
881     | --includ | --inclu | --incl | --inc)
882     ac_prev=includedir ;;
883     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
884     | --includ=* | --inclu=* | --incl=* | --inc=*)
885     includedir=$ac_optarg ;;
886    
887     -infodir | --infodir | --infodi | --infod | --info | --inf)
888     ac_prev=infodir ;;
889     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
890     infodir=$ac_optarg ;;
891    
892     -libdir | --libdir | --libdi | --libd)
893     ac_prev=libdir ;;
894     -libdir=* | --libdir=* | --libdi=* | --libd=*)
895     libdir=$ac_optarg ;;
896    
897     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
898     | --libexe | --libex | --libe)
899     ac_prev=libexecdir ;;
900     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
901     | --libexe=* | --libex=* | --libe=*)
902     libexecdir=$ac_optarg ;;
903    
904     -localedir | --localedir | --localedi | --localed | --locale)
905     ac_prev=localedir ;;
906     -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
907     localedir=$ac_optarg ;;
908    
909     -localstatedir | --localstatedir | --localstatedi | --localstated \
910     | --localstate | --localstat | --localsta | --localst | --locals)
911     ac_prev=localstatedir ;;
912     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
913     | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
914     localstatedir=$ac_optarg ;;
915    
916     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
917     ac_prev=mandir ;;
918     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919     mandir=$ac_optarg ;;
920    
921     -nfp | --nfp | --nf)
922     # Obsolete; use --without-fp.
923     with_fp=no ;;
924    
925     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
926     | --no-cr | --no-c | -n)
927     no_create=yes ;;
928    
929     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
930     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
931     no_recursion=yes ;;
932    
933     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
934     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
935     | --oldin | --oldi | --old | --ol | --o)
936     ac_prev=oldincludedir ;;
937     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
938     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
939     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
940     oldincludedir=$ac_optarg ;;
941    
942     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
943     ac_prev=prefix ;;
944     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
945     prefix=$ac_optarg ;;
946    
947     -program-prefix | --program-prefix | --program-prefi | --program-pref \
948     | --program-pre | --program-pr | --program-p)
949     ac_prev=program_prefix ;;
950     -program-prefix=* | --program-prefix=* | --program-prefi=* \
951     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
952     program_prefix=$ac_optarg ;;
953    
954     -program-suffix | --program-suffix | --program-suffi | --program-suff \
955     | --program-suf | --program-su | --program-s)
956     ac_prev=program_suffix ;;
957     -program-suffix=* | --program-suffix=* | --program-suffi=* \
958     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
959     program_suffix=$ac_optarg ;;
960    
961     -program-transform-name | --program-transform-name \
962     | --program-transform-nam | --program-transform-na \
963     | --program-transform-n | --program-transform- \
964     | --program-transform | --program-transfor \
965     | --program-transfo | --program-transf \
966     | --program-trans | --program-tran \
967     | --progr-tra | --program-tr | --program-t)
968     ac_prev=program_transform_name ;;
969     -program-transform-name=* | --program-transform-name=* \
970     | --program-transform-nam=* | --program-transform-na=* \
971     | --program-transform-n=* | --program-transform-=* \
972     | --program-transform=* | --program-transfor=* \
973     | --program-transfo=* | --program-transf=* \
974     | --program-trans=* | --program-tran=* \
975     | --progr-tra=* | --program-tr=* | --program-t=*)
976     program_transform_name=$ac_optarg ;;
977    
978     -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
979     ac_prev=pdfdir ;;
980     -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
981     pdfdir=$ac_optarg ;;
982    
983     -psdir | --psdir | --psdi | --psd | --ps)
984     ac_prev=psdir ;;
985     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
986     psdir=$ac_optarg ;;
987    
988     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989     | -silent | --silent | --silen | --sile | --sil)
990     silent=yes ;;
991    
992     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993     ac_prev=sbindir ;;
994     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995     | --sbi=* | --sb=*)
996     sbindir=$ac_optarg ;;
997    
998     -sharedstatedir | --sharedstatedir | --sharedstatedi \
999     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1000     | --sharedst | --shareds | --shared | --share | --shar \
1001     | --sha | --sh)
1002     ac_prev=sharedstatedir ;;
1003     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1004     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1005     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1006     | --sha=* | --sh=*)
1007     sharedstatedir=$ac_optarg ;;
1008    
1009     -site | --site | --sit)
1010     ac_prev=site ;;
1011     -site=* | --site=* | --sit=*)
1012     site=$ac_optarg ;;
1013    
1014     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1015     ac_prev=srcdir ;;
1016     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1017     srcdir=$ac_optarg ;;
1018    
1019     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1020     | --syscon | --sysco | --sysc | --sys | --sy)
1021     ac_prev=sysconfdir ;;
1022     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1023     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1024     sysconfdir=$ac_optarg ;;
1025    
1026     -target | --target | --targe | --targ | --tar | --ta | --t)
1027     ac_prev=target_alias ;;
1028     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1029     target_alias=$ac_optarg ;;
1030    
1031     -v | -verbose | --verbose | --verbos | --verbo | --verb)
1032     verbose=yes ;;
1033    
1034     -version | --version | --versio | --versi | --vers | -V)
1035     ac_init_version=: ;;
1036    
1037     -with-* | --with-*)
1038     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039     # Reject names that are not valid shell variable names.
1040     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041     { echo "$as_me: error: invalid package name: $ac_package" >&2
1042     { (exit 1); exit 1; }; }
1043     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1044     eval with_$ac_package=\$ac_optarg ;;
1045    
1046     -without-* | --without-*)
1047     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048     # Reject names that are not valid shell variable names.
1049     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050     { echo "$as_me: error: invalid package name: $ac_package" >&2
1051     { (exit 1); exit 1; }; }
1052     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1053     eval with_$ac_package=no ;;
1054    
1055     --x)
1056     # Obsolete; use --with-x.
1057     with_x=yes ;;
1058    
1059     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060     | --x-incl | --x-inc | --x-in | --x-i)
1061     ac_prev=x_includes ;;
1062     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064     x_includes=$ac_optarg ;;
1065    
1066     -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068     ac_prev=x_libraries ;;
1069     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071     x_libraries=$ac_optarg ;;
1072    
1073     -*) { echo "$as_me: error: unrecognized option: $ac_option
1074     Try \`$0 --help' for more information." >&2
1075     { (exit 1); exit 1; }; }
1076     ;;
1077    
1078     *=*)
1079     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1080     # Reject names that are not valid shell variable names.
1081     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1082     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1083     { (exit 1); exit 1; }; }
1084     eval $ac_envvar=\$ac_optarg
1085     export $ac_envvar ;;
1086    
1087     *)
1088     # FIXME: should be removed in autoconf 3.0.
1089     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1093     ;;
1094    
1095     esac
1096     done
1097    
1098     if test -n "$ac_prev"; then
1099     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100     { echo "$as_me: error: missing argument to $ac_option" >&2
1101     { (exit 1); exit 1; }; }
1102     fi
1103    
1104     # Be sure to have absolute directory names.
1105     for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106     datadir sysconfdir sharedstatedir localstatedir includedir \
1107     oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108     libdir localedir mandir
1109     do
1110     eval ac_val=\$$ac_var
1111     case $ac_val in
1112     [\\/$]* | ?:[\\/]* ) continue;;
1113     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1114     esac
1115     { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1116     { (exit 1); exit 1; }; }
1117     done
1118    
1119     # There might be people who depend on the old broken behavior: `$host'
1120     # used to hold the argument of --host etc.
1121     # FIXME: To remove some day.
1122     build=$build_alias
1123     host=$host_alias
1124     target=$target_alias
1125    
1126     # FIXME: To remove some day.
1127     if test "x$host_alias" != x; then
1128     if test "x$build_alias" = x; then
1129     cross_compiling=maybe
1130     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1131     If a cross compiler is detected then cross compile mode will be used." >&2
1132     elif test "x$build_alias" != "x$host_alias"; then
1133     cross_compiling=yes
1134     fi
1135     fi
1136    
1137     ac_tool_prefix=
1138     test -n "$host_alias" && ac_tool_prefix=$host_alias-
1139    
1140     test "$silent" = yes && exec 6>/dev/null
1141    
1142    
1143     ac_pwd=`pwd` && test -n "$ac_pwd" &&
1144     ac_ls_di=`ls -di .` &&
1145     ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1146     { echo "$as_me: error: Working directory cannot be determined" >&2
1147     { (exit 1); exit 1; }; }
1148     test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149     { echo "$as_me: error: pwd does not report name of working directory" >&2
1150     { (exit 1); exit 1; }; }
1151    
1152    
1153     # Find the source files, if location was not specified.
1154     if test -z "$srcdir"; then
1155     ac_srcdir_defaulted=yes
1156     # Try the directory containing this script, then the parent directory.
1157     ac_confdir=`$as_dirname -- "$0" ||
1158     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159     X"$0" : 'X\(//\)[^/]' \| \
1160     X"$0" : 'X\(//\)$' \| \
1161     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1162     echo X"$0" |
1163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164     s//\1/
1165     q
1166     }
1167     /^X\(\/\/\)[^/].*/{
1168     s//\1/
1169     q
1170     }
1171     /^X\(\/\/\)$/{
1172     s//\1/
1173     q
1174     }
1175     /^X\(\/\).*/{
1176     s//\1/
1177     q
1178     }
1179     s/.*/./; q'`
1180     srcdir=$ac_confdir
1181     if test ! -r "$srcdir/$ac_unique_file"; then
1182     srcdir=..
1183     fi
1184     else
1185     ac_srcdir_defaulted=no
1186     fi
1187     if test ! -r "$srcdir/$ac_unique_file"; then
1188     test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1190     { (exit 1); exit 1; }; }
1191     fi
1192     ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1193     ac_abs_confdir=`(
1194     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1195     { (exit 1); exit 1; }; }
1196     pwd)`
1197     # When building in place, set srcdir=.
1198     if test "$ac_abs_confdir" = "$ac_pwd"; then
1199     srcdir=.
1200     fi
1201     # Remove unnecessary trailing slashes from srcdir.
1202     # Double slashes in file names in object file debugging info
1203     # mess up M-x gdb in Emacs.
1204     case $srcdir in
1205     */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206     esac
1207     for ac_var in $ac_precious_vars; do
1208     eval ac_env_${ac_var}_set=\${${ac_var}+set}
1209     eval ac_env_${ac_var}_value=\$${ac_var}
1210     eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1211     eval ac_cv_env_${ac_var}_value=\$${ac_var}
1212     done
1213    
1214     #
1215     # Report the --help message.
1216     #
1217     if test "$ac_init_help" = "long"; then
1218     # Omit some internal or obsolete options to make the list less imposing.
1219     # This message is too long to be a string in the A/UX 3.1 sh.
1220     cat <<_ACEOF
1221     \`configure' configures this package to adapt to many kinds of systems.
1222    
1223     Usage: $0 [OPTION]... [VAR=VALUE]...
1224    
1225     To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226     VAR=VALUE. See below for descriptions of some of the useful variables.
1227    
1228     Defaults for the options are specified in brackets.
1229    
1230     Configuration:
1231     -h, --help display this help and exit
1232     --help=short display options specific to this package
1233     --help=recursive display the short help of all the included packages
1234     -V, --version display version information and exit
1235     -q, --quiet, --silent do not print \`checking...' messages
1236     --cache-file=FILE cache test results in FILE [disabled]
1237     -C, --config-cache alias for \`--cache-file=config.cache'
1238     -n, --no-create do not create output files
1239     --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240    
1241     Installation directories:
1242     --prefix=PREFIX install architecture-independent files in PREFIX
1243     [$ac_default_prefix]
1244     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245     [PREFIX]
1246    
1247     By default, \`make install' will install all the files in
1248     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250     for instance \`--prefix=\$HOME'.
1251    
1252     For better control, use the options below.
1253    
1254     Fine tuning of the installation directories:
1255     --bindir=DIR user executables [EPREFIX/bin]
1256     --sbindir=DIR system admin executables [EPREFIX/sbin]
1257     --libexecdir=DIR program executables [EPREFIX/libexec]
1258     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261     --libdir=DIR object code libraries [EPREFIX/lib]
1262     --includedir=DIR C header files [PREFIX/include]
1263     --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264     --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265     --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266     --infodir=DIR info documentation [DATAROOTDIR/info]
1267     --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268     --mandir=DIR man documentation [DATAROOTDIR/man]
1269     --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1270     --htmldir=DIR html documentation [DOCDIR]
1271     --dvidir=DIR dvi documentation [DOCDIR]
1272     --pdfdir=DIR pdf documentation [DOCDIR]
1273     --psdir=DIR ps documentation [DOCDIR]
1274     _ACEOF
1275    
1276     cat <<\_ACEOF
1277    
1278     Program names:
1279     --program-prefix=PREFIX prepend PREFIX to installed program names
1280     --program-suffix=SUFFIX append SUFFIX to installed program names
1281     --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1282    
1283     X features:
1284     --x-includes=DIR X include files are in DIR
1285     --x-libraries=DIR X library files are in DIR
1286     _ACEOF
1287     fi
1288    
1289     if test -n "$ac_init_help"; then
1290    
1291     cat <<\_ACEOF
1292    
1293     Optional Features:
1294     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1295     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1296     --disable-dependency-tracking Speeds up one-time builds
1297     --enable-dependency-tracking Do not reject slow dependency extractors
1298    
1299     Optional Packages:
1300     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1301     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1302     --with-x use the X Window System
1303    
1304     Some influential environment variables:
1305     CC C compiler command
1306     CFLAGS C compiler flags
1307     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308     nonstandard directory <lib dir>
1309     LIBS libraries to pass to the linker, e.g. -l<library>
1310     CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1311     you have headers in a nonstandard directory <include dir>
1312     CPP C preprocessor
1313     CXX C++ compiler command
1314     CXXFLAGS C++ compiler flags
1315     CXXCPP C++ preprocessor
1316     XMKMF Path to xmkmf, Makefile generator for X Window System
1317    
1318     Use these variables to override the choices made by `configure' or to help
1319     it to find libraries and programs with nonstandard names/locations.
1320    
1321     _ACEOF
1322     ac_status=$?
1323     fi
1324    
1325     if test "$ac_init_help" = "recursive"; then
1326     # If there are subdirs, report their specific --help.
1327     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328     test -d "$ac_dir" || continue
1329     ac_builddir=.
1330    
1331     case "$ac_dir" in
1332     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333     *)
1334     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1335     # A ".." for each directory in $ac_dir_suffix.
1336     ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1337     case $ac_top_builddir_sub in
1338     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340     esac ;;
1341     esac
1342     ac_abs_top_builddir=$ac_pwd
1343     ac_abs_builddir=$ac_pwd$ac_dir_suffix
1344     # for backward compatibility:
1345     ac_top_builddir=$ac_top_build_prefix
1346    
1347     case $srcdir in
1348     .) # We are building in place.
1349     ac_srcdir=.
1350     ac_top_srcdir=$ac_top_builddir_sub
1351     ac_abs_top_srcdir=$ac_pwd ;;
1352     [\\/]* | ?:[\\/]* ) # Absolute name.
1353     ac_srcdir=$srcdir$ac_dir_suffix;
1354     ac_top_srcdir=$srcdir
1355     ac_abs_top_srcdir=$srcdir ;;
1356     *) # Relative name.
1357     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1358     ac_top_srcdir=$ac_top_build_prefix$srcdir
1359     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360     esac
1361     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362    
1363     cd "$ac_dir" || { ac_status=$?; continue; }
1364     # Check for guested configure.
1365     if test -f "$ac_srcdir/configure.gnu"; then
1366     echo &&
1367     $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368     elif test -f "$ac_srcdir/configure"; then
1369     echo &&
1370     $SHELL "$ac_srcdir/configure" --help=recursive
1371     else
1372     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373     fi || ac_status=$?
1374     cd "$ac_pwd" || { ac_status=$?; break; }
1375     done
1376     fi
1377    
1378     test -n "$ac_init_help" && exit $ac_status
1379     if $ac_init_version; then
1380     cat <<\_ACEOF
1381     configure
1382     generated by GNU Autoconf 2.61
1383    
1384     Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1385     2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1386     This configure script is free software; the Free Software Foundation
1387     gives unlimited permission to copy, distribute and modify it.
1388     _ACEOF
1389     exit
1390     fi
1391     cat >config.log <<_ACEOF
1392     This file contains any messages produced by compilers while
1393     running configure, to aid debugging if configure makes a mistake.
1394    
1395     It was created by $as_me, which was
1396     generated by GNU Autoconf 2.61. Invocation command line was
1397    
1398     $ $0 $@
1399    
1400     _ACEOF
1401     exec 5>>config.log
1402     {
1403     cat <<_ASUNAME
1404     ## --------- ##
1405     ## Platform. ##
1406     ## --------- ##
1407    
1408     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1409     uname -m = `(uname -m) 2>/dev/null || echo unknown`
1410     uname -r = `(uname -r) 2>/dev/null || echo unknown`
1411     uname -s = `(uname -s) 2>/dev/null || echo unknown`
1412     uname -v = `(uname -v) 2>/dev/null || echo unknown`
1413    
1414     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1415     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1416    
1417     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1418     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1419     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1420     /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1421     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1422     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1423     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1424    
1425     _ASUNAME
1426    
1427     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428     for as_dir in $PATH
1429     do
1430     IFS=$as_save_IFS
1431     test -z "$as_dir" && as_dir=.
1432     echo "PATH: $as_dir"
1433     done
1434     IFS=$as_save_IFS
1435    
1436     } >&5
1437    
1438     cat >&5 <<_ACEOF
1439    
1440    
1441     ## ----------- ##
1442     ## Core tests. ##
1443     ## ----------- ##
1444    
1445     _ACEOF
1446    
1447    
1448     # Keep a trace of the command line.
1449     # Strip out --no-create and --no-recursion so they do not pile up.
1450     # Strip out --silent because we don't want to record it for future runs.
1451     # Also quote any args containing shell meta-characters.
1452     # Make two passes to allow for proper duplicate-argument suppression.
1453     ac_configure_args=
1454     ac_configure_args0=
1455     ac_configure_args1=
1456     ac_must_keep_next=false
1457     for ac_pass in 1 2
1458     do
1459     for ac_arg
1460     do
1461     case $ac_arg in
1462     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1463     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1464     | -silent | --silent | --silen | --sile | --sil)
1465     continue ;;
1466     *\'*)
1467     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1468     esac
1469     case $ac_pass in
1470     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1471     2)
1472     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1473     if test $ac_must_keep_next = true; then
1474     ac_must_keep_next=false # Got value, back to normal.
1475     else
1476     case $ac_arg in
1477     *=* | --config-cache | -C | -disable-* | --disable-* \
1478     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1479     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1480     | -with-* | --with-* | -without-* | --without-* | --x)
1481     case "$ac_configure_args0 " in
1482     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1483     esac
1484     ;;
1485     -* ) ac_must_keep_next=true ;;
1486     esac
1487     fi
1488     ac_configure_args="$ac_configure_args '$ac_arg'"
1489     ;;
1490     esac
1491     done
1492     done
1493     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1494     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1495    
1496     # When interrupted or exit'd, cleanup temporary files, and complete
1497     # config.log. We remove comments because anyway the quotes in there
1498     # would cause problems or look ugly.
1499     # WARNING: Use '\'' to represent an apostrophe within the trap.
1500     # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1501     trap 'exit_status=$?
1502     # Save into config.log some information that might help in debugging.
1503     {
1504     echo
1505    
1506     cat <<\_ASBOX
1507     ## ---------------- ##
1508     ## Cache variables. ##
1509     ## ---------------- ##
1510     _ASBOX
1511     echo
1512     # The following way of writing the cache mishandles newlines in values,
1513     (
1514     for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1515     eval ac_val=\$$ac_var
1516     case $ac_val in #(
1517     *${as_nl}*)
1518     case $ac_var in #(
1519     *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1520     echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1521     esac
1522     case $ac_var in #(
1523     _ | IFS | as_nl) ;; #(
1524     *) $as_unset $ac_var ;;
1525     esac ;;
1526     esac
1527     done
1528     (set) 2>&1 |
1529     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1530     *${as_nl}ac_space=\ *)
1531     sed -n \
1532     "s/'\''/'\''\\\\'\'''\''/g;
1533     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1534     ;; #(
1535     *)
1536     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1537     ;;
1538     esac |
1539     sort
1540     )
1541     echo
1542    
1543     cat <<\_ASBOX
1544     ## ----------------- ##
1545     ## Output variables. ##
1546     ## ----------------- ##
1547     _ASBOX
1548     echo
1549     for ac_var in $ac_subst_vars
1550     do
1551     eval ac_val=\$$ac_var
1552     case $ac_val in
1553     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1554     esac
1555     echo "$ac_var='\''$ac_val'\''"
1556     done | sort
1557     echo
1558    
1559     if test -n "$ac_subst_files"; then
1560     cat <<\_ASBOX
1561     ## ------------------- ##
1562     ## File substitutions. ##
1563     ## ------------------- ##
1564     _ASBOX
1565     echo
1566     for ac_var in $ac_subst_files
1567     do
1568     eval ac_val=\$$ac_var
1569     case $ac_val in
1570     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571     esac
1572     echo "$ac_var='\''$ac_val'\''"
1573     done | sort
1574     echo
1575     fi
1576    
1577     if test -s confdefs.h; then
1578     cat <<\_ASBOX
1579     ## ----------- ##
1580     ## confdefs.h. ##
1581     ## ----------- ##
1582     _ASBOX
1583     echo
1584     cat confdefs.h
1585     echo
1586     fi
1587     test "$ac_signal" != 0 &&
1588     echo "$as_me: caught signal $ac_signal"
1589     echo "$as_me: exit $exit_status"
1590     } >&5
1591     rm -f core *.core core.conftest.* &&
1592     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1593     exit $exit_status
1594     ' 0
1595     for ac_signal in 1 2 13 15; do
1596     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1597     done
1598     ac_signal=0
1599    
1600     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1601     rm -f -r conftest* confdefs.h
1602    
1603     # Predefined preprocessor variables.
1604    
1605     cat >>confdefs.h <<_ACEOF
1606     #define PACKAGE_NAME "$PACKAGE_NAME"
1607     _ACEOF
1608    
1609    
1610     cat >>confdefs.h <<_ACEOF
1611     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1612     _ACEOF
1613    
1614    
1615     cat >>confdefs.h <<_ACEOF
1616     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1617     _ACEOF
1618    
1619    
1620     cat >>confdefs.h <<_ACEOF
1621     #define PACKAGE_STRING "$PACKAGE_STRING"
1622     _ACEOF
1623    
1624    
1625     cat >>confdefs.h <<_ACEOF
1626     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1627     _ACEOF
1628    
1629    
1630     # Let the site file select an alternate cache file if it wants to.
1631     # Prefer explicitly selected file to automatically selected ones.
1632     if test -n "$CONFIG_SITE"; then
1633     set x "$CONFIG_SITE"
1634     elif test "x$prefix" != xNONE; then
1635     set x "$prefix/share/config.site" "$prefix/etc/config.site"
1636     else
1637     set x "$ac_default_prefix/share/config.site" \
1638     "$ac_default_prefix/etc/config.site"
1639     fi
1640     shift
1641     for ac_site_file
1642     do
1643     if test -r "$ac_site_file"; then
1644     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1645     echo "$as_me: loading site script $ac_site_file" >&6;}
1646     sed 's/^/| /' "$ac_site_file" >&5
1647     . "$ac_site_file"
1648     fi
1649     done
1650    
1651     if test -r "$cache_file"; then
1652     # Some versions of bash will fail to source /dev/null (special
1653     # files actually), so we avoid doing that.
1654     if test -f "$cache_file"; then
1655     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1656     echo "$as_me: loading cache $cache_file" >&6;}
1657     case $cache_file in
1658     [\\/]* | ?:[\\/]* ) . "$cache_file";;
1659     *) . "./$cache_file";;
1660     esac
1661     fi
1662     else
1663     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1664     echo "$as_me: creating cache $cache_file" >&6;}
1665     >$cache_file
1666     fi
1667    
1668     # Check that the precious variables saved in the cache have kept the same
1669     # value.
1670     ac_cache_corrupted=false
1671     for ac_var in $ac_precious_vars; do
1672     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1673     eval ac_new_set=\$ac_env_${ac_var}_set
1674     eval ac_old_val=\$ac_cv_env_${ac_var}_value
1675     eval ac_new_val=\$ac_env_${ac_var}_value
1676     case $ac_old_set,$ac_new_set in
1677     set,)
1678     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1680     ac_cache_corrupted=: ;;
1681     ,set)
1682     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1683     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1684     ac_cache_corrupted=: ;;
1685     ,);;
1686     *)
1687     if test "x$ac_old_val" != "x$ac_new_val"; then
1688     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1689     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1690     { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1691     echo "$as_me: former value: $ac_old_val" >&2;}
1692     { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1693     echo "$as_me: current value: $ac_new_val" >&2;}
1694     ac_cache_corrupted=:
1695     fi;;
1696     esac
1697     # Pass precious variables to config.status.
1698     if test "$ac_new_set" = set; then
1699     case $ac_new_val in
1700     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1701     *) ac_arg=$ac_var=$ac_new_val ;;
1702     esac
1703     case " $ac_configure_args " in
1704     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1705     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1706     esac
1707     fi
1708     done
1709     if $ac_cache_corrupted; then
1710     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1711     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1712     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1713     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1714     { (exit 1); exit 1; }; }
1715     fi
1716    
1717    
1718    
1719    
1720    
1721    
1722    
1723    
1724    
1725    
1726    
1727    
1728    
1729    
1730    
1731    
1732    
1733     ac_ext=c
1734     ac_cpp='$CPP $CPPFLAGS'
1735     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1736     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1737     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738    
1739    
1740    
1741     am__api_version="1.7"
1742     ac_aux_dir=
1743     for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1744     if test -f "$ac_dir/install-sh"; then
1745     ac_aux_dir=$ac_dir
1746     ac_install_sh="$ac_aux_dir/install-sh -c"
1747     break
1748     elif test -f "$ac_dir/install.sh"; then
1749     ac_aux_dir=$ac_dir
1750     ac_install_sh="$ac_aux_dir/install.sh -c"
1751     break
1752     elif test -f "$ac_dir/shtool"; then
1753     ac_aux_dir=$ac_dir
1754     ac_install_sh="$ac_aux_dir/shtool install -c"
1755     break
1756     fi
1757     done
1758     if test -z "$ac_aux_dir"; then
1759     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1760     echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1761     { (exit 1); exit 1; }; }
1762     fi
1763    
1764     # These three variables are undocumented and unsupported,
1765     # and are intended to be withdrawn in a future Autoconf release.
1766     # They can cause serious problems if a builder's source tree is in a directory
1767     # whose full name contains unusual characters.
1768     ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1769     ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1770     ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1771    
1772    
1773     # Find a good install program. We prefer a C program (faster),
1774     # so one script is as good as another. But avoid the broken or
1775     # incompatible versions:
1776     # SysV /etc/install, /usr/sbin/install
1777     # SunOS /usr/etc/install
1778     # IRIX /sbin/install
1779     # AIX /bin/install
1780     # AmigaOS /C/install, which installs bootblocks on floppy discs
1781     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784     # OS/2's system install, which has a completely different semantic
1785     # ./install, which can be erroneously created by make from ./install.sh.
1786     { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1788     if test -z "$INSTALL"; then
1789     if test "${ac_cv_path_install+set}" = set; then
1790     echo $ECHO_N "(cached) $ECHO_C" >&6
1791     else
1792     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793     for as_dir in $PATH
1794     do
1795     IFS=$as_save_IFS
1796     test -z "$as_dir" && as_dir=.
1797     # Account for people who put trailing slashes in PATH elements.
1798     case $as_dir/ in
1799     ./ | .// | /cC/* | \
1800     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801     ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1802     /usr/ucb/* ) ;;
1803     *)
1804     # OSF1 and SCO ODT 3.0 have their own names for install.
1805     # Don't use installbsd from OSF since it installs stuff as root
1806     # by default.
1807     for ac_prog in ginstall scoinst install; do
1808     for ac_exec_ext in '' $ac_executable_extensions; do
1809     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1810     if test $ac_prog = install &&
1811     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812     # AIX install. It has an incompatible calling convention.
1813     :
1814     elif test $ac_prog = install &&
1815     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816     # program-specific install script used by HP pwplus--don't use.
1817     :
1818     else
1819     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820     break 3
1821     fi
1822     fi
1823     done
1824     done
1825     ;;
1826     esac
1827     done
1828     IFS=$as_save_IFS
1829    
1830    
1831     fi
1832     if test "${ac_cv_path_install+set}" = set; then
1833     INSTALL=$ac_cv_path_install
1834     else
1835     # As a last resort, use the slow shell script. Don't cache a
1836     # value for INSTALL within a source directory, because that will
1837     # break other packages using the cache if that directory is
1838     # removed, or if the value is a relative name.
1839     INSTALL=$ac_install_sh
1840     fi
1841     fi
1842     { echo "$as_me:$LINENO: result: $INSTALL" >&5
1843     echo "${ECHO_T}$INSTALL" >&6; }
1844    
1845     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846     # It thinks the first close brace ends the variable substitution.
1847     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1848    
1849     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1850    
1851     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1852    
1853     { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1855     # Just in case
1856     sleep 1
1857     echo timestamp > conftest.file
1858     # Do `set' in a subshell so we don't clobber the current shell's
1859     # arguments. Must try -L first in case configure is actually a
1860     # symlink; some systems play weird games with the mod time of symlinks
1861     # (eg FreeBSD returns the mod time of the symlink's containing
1862     # directory).
1863     if (
1864     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1865     if test "$*" = "X"; then
1866     # -L didn't work.
1867     set X `ls -t $srcdir/configure conftest.file`
1868     fi
1869     rm -f conftest.file
1870     if test "$*" != "X $srcdir/configure conftest.file" \
1871     && test "$*" != "X conftest.file $srcdir/configure"; then
1872    
1873     # If neither matched, then we have a broken ls. This can happen
1874     # if, for instance, CONFIG_SHELL is bash and it inherits a
1875     # broken ls alias from the environment. This has actually
1876     # happened. Such a system could not be considered "sane".
1877     { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878     alias in your environment" >&5
1879     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1880     alias in your environment" >&2;}
1881     { (exit 1); exit 1; }; }
1882     fi
1883    
1884     test "$2" = conftest.file
1885     )
1886     then
1887     # Ok.
1888     :
1889     else
1890     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891     Check your system clock" >&5
1892     echo "$as_me: error: newly created file is older than distributed files!
1893     Check your system clock" >&2;}
1894     { (exit 1); exit 1; }; }
1895     fi
1896     { echo "$as_me:$LINENO: result: yes" >&5
1897     echo "${ECHO_T}yes" >&6; }
1898     test "$program_prefix" != NONE &&
1899     program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900     # Use a double $ so make ignores it.
1901     test "$program_suffix" != NONE &&
1902     program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903     # Double any \ or $. echo might interpret backslashes.
1904     # By default was `s,x,x', remove it if useless.
1905     cat <<\_ACEOF >conftest.sed
1906     s/[\\$]/&&/g;s/;s,x,x,$//
1907     _ACEOF
1908     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1909     rm -f conftest.sed
1910    
1911    
1912     # expand $ac_aux_dir to an absolute path
1913     am_aux_dir=`cd $ac_aux_dir && pwd`
1914    
1915     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1916     # Use eval to expand $SHELL
1917     if eval "$MISSING --run true"; then
1918     am_missing_run="$MISSING --run "
1919     else
1920     am_missing_run=
1921     { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1922     echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923     fi
1924    
1925     for ac_prog in gawk mawk nawk awk
1926     do
1927     # Extract the first word of "$ac_prog", so it can be a program name with args.
1928     set dummy $ac_prog; ac_word=$2
1929     { echo "$as_me:$LINENO: checking for $ac_word" >&5
1930     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931     if test "${ac_cv_prog_AWK+set}" = set; then
1932     echo $ECHO_N "(cached) $ECHO_C" >&6
1933     else
1934     if test -n "$AWK"; then
1935     ac_cv_prog_AWK="$AWK" # Let the user override the test.
1936     else
1937     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938     for as_dir in $PATH
1939     do
1940     IFS=$as_save_IFS
1941     test -z "$as_dir" && as_dir=.
1942     for ac_exec_ext in '' $ac_executable_extensions; do
1943     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944     ac_cv_prog_AWK="$ac_prog"
1945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946     break 2
1947     fi
1948     done
1949     done
1950     IFS=$as_save_IFS
1951    
1952     fi
1953     fi
1954     AWK=$ac_cv_prog_AWK
1955     if test -n "$AWK"; then
1956     { echo "$as_me:$LINENO: result: $AWK" >&5
1957     echo "${ECHO_T}$AWK" >&6; }
1958     else
1959     { echo "$as_me:$LINENO: result: no" >&5
1960     echo "${ECHO_T}no" >&6; }
1961     fi
1962    
1963    
1964     test -n "$AWK" && break
1965     done
1966    
1967     { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968     echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1969     set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1970     if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1971     echo $ECHO_N "(cached) $ECHO_C" >&6
1972     else
1973     cat >conftest.make <<\_ACEOF
1974     SHELL = /bin/sh
1975     all:
1976     @echo '@@@%%%=$(MAKE)=@@@%%%'
1977     _ACEOF
1978     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979     case `${MAKE-make} -f conftest.make 2>/dev/null` in
1980     *@@@%%%=?*=@@@%%%*)
1981     eval ac_cv_prog_make_${ac_make}_set=yes;;
1982     *)
1983     eval ac_cv_prog_make_${ac_make}_set=no;;
1984     esac
1985     rm -f conftest.make
1986     fi
1987     if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988     { echo "$as_me:$LINENO: result: yes" >&5
1989     echo "${ECHO_T}yes" >&6; }
1990     SET_MAKE=
1991     else
1992     { echo "$as_me:$LINENO: result: no" >&5
1993     echo "${ECHO_T}no" >&6; }
1994     SET_MAKE="MAKE=${MAKE-make}"
1995     fi
1996    
1997     rm -rf .tst 2>/dev/null
1998     mkdir .tst 2>/dev/null
1999     if test -d .tst; then
2000     am__leading_dot=.
2001     else
2002     am__leading_dot=_
2003     fi
2004     rmdir .tst 2>/dev/null
2005    
2006     # test to see if srcdir already configured
2007     if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008     test -f $srcdir/config.status; then
2009     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011     { (exit 1); exit 1; }; }
2012     fi
2013    
2014     # test whether we have cygpath
2015     if test -z "$CYGPATH_W"; then
2016     if (cygpath --version) >/dev/null 2>/dev/null; then
2017     CYGPATH_W='cygpath -w'
2018     else
2019     CYGPATH_W=echo
2020     fi
2021     fi
2022    
2023    
2024     # Define the identity of the package.
2025     PACKAGE=lsys
2026     VERSION=0.6
2027    
2028    
2029     cat >>confdefs.h <<_ACEOF
2030     #define PACKAGE "$PACKAGE"
2031     _ACEOF
2032    
2033    
2034     cat >>confdefs.h <<_ACEOF
2035     #define VERSION "$VERSION"
2036     _ACEOF
2037    
2038     # Some tools Automake needs.
2039    
2040     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2041    
2042    
2043     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2044    
2045    
2046     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2047    
2048    
2049     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2050    
2051    
2052     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2053    
2054    
2055     AMTAR=${AMTAR-"${am_missing_run}tar"}
2056    
2057     install_sh=${install_sh-"$am_aux_dir/install-sh"}
2058    
2059     # Installed binaries are usually stripped using `strip' when the user
2060     # run `make install-strip'. However `strip' might not be the right
2061     # tool to use in cross-compilation environments, therefore Automake
2062     # will honor the `STRIP' environment variable to overrule this program.
2063     if test "$cross_compiling" != no; then
2064     if test -n "$ac_tool_prefix"; then
2065     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066     set dummy ${ac_tool_prefix}strip; ac_word=$2
2067     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069     if test "${ac_cv_prog_STRIP+set}" = set; then
2070     echo $ECHO_N "(cached) $ECHO_C" >&6
2071     else
2072     if test -n "$STRIP"; then
2073     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074     else
2075     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076     for as_dir in $PATH
2077     do
2078     IFS=$as_save_IFS
2079     test -z "$as_dir" && as_dir=.
2080     for ac_exec_ext in '' $ac_executable_extensions; do
2081     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084     break 2
2085     fi
2086     done
2087     done
2088     IFS=$as_save_IFS
2089    
2090     fi
2091     fi
2092     STRIP=$ac_cv_prog_STRIP
2093     if test -n "$STRIP"; then
2094     { echo "$as_me:$LINENO: result: $STRIP" >&5
2095     echo "${ECHO_T}$STRIP" >&6; }
2096     else
2097     { echo "$as_me:$LINENO: result: no" >&5
2098     echo "${ECHO_T}no" >&6; }
2099     fi
2100    
2101    
2102     fi
2103     if test -z "$ac_cv_prog_STRIP"; then
2104     ac_ct_STRIP=$STRIP
2105     # Extract the first word of "strip", so it can be a program name with args.
2106     set dummy strip; ac_word=$2
2107     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110     echo $ECHO_N "(cached) $ECHO_C" >&6
2111     else
2112     if test -n "$ac_ct_STRIP"; then
2113     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114     else
2115     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116     for as_dir in $PATH
2117     do
2118     IFS=$as_save_IFS
2119     test -z "$as_dir" && as_dir=.
2120     for ac_exec_ext in '' $ac_executable_extensions; do
2121     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122     ac_cv_prog_ac_ct_STRIP="strip"
2123     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124     break 2
2125     fi
2126     done
2127     done
2128     IFS=$as_save_IFS
2129    
2130     fi
2131     fi
2132     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133     if test -n "$ac_ct_STRIP"; then
2134     { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135     echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2136     else
2137     { echo "$as_me:$LINENO: result: no" >&5
2138     echo "${ECHO_T}no" >&6; }
2139     fi
2140    
2141     if test "x$ac_ct_STRIP" = x; then
2142     STRIP=":"
2143     else
2144     case $cross_compiling:$ac_tool_warned in
2145     yes:)
2146     { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147     whose name does not start with the host triplet. If you think this
2148     configuration is useful to you, please write to autoconf@gnu.org." >&5
2149     echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150     whose name does not start with the host triplet. If you think this
2151     configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152     ac_tool_warned=yes ;;
2153     esac
2154     STRIP=$ac_ct_STRIP
2155     fi
2156     else
2157     STRIP="$ac_cv_prog_STRIP"
2158     fi
2159    
2160     fi
2161     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2162    
2163     # We need awk for the "check" target. The system "awk" is bad on
2164     # some platforms.
2165    
2166    
2167    
2168    
2169     ac_config_headers="$ac_config_headers config.h"
2170    
2171    
2172     ac_ext=c
2173     ac_cpp='$CPP $CPPFLAGS'
2174     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2175     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2176     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177     if test -n "$ac_tool_prefix"; then
2178     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2179     set dummy ${ac_tool_prefix}gcc; ac_word=$2
2180     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182     if test "${ac_cv_prog_CC+set}" = set; then
2183     echo $ECHO_N "(cached) $ECHO_C" >&6
2184     else
2185     if test -n "$CC"; then
2186     ac_cv_prog_CC="$CC" # Let the user override the test.
2187     else
2188     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189     for as_dir in $PATH
2190     do
2191     IFS=$as_save_IFS
2192     test -z "$as_dir" && as_dir=.
2193     for ac_exec_ext in '' $ac_executable_extensions; do
2194     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2196     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197     break 2
2198     fi
2199     done
2200     done
2201     IFS=$as_save_IFS
2202    
2203     fi
2204     fi
2205     CC=$ac_cv_prog_CC
2206     if test -n "$CC"; then
2207     { echo "$as_me:$LINENO: result: $CC" >&5
2208     echo "${ECHO_T}$CC" >&6; }
2209     else
2210     { echo "$as_me:$LINENO: result: no" >&5
2211     echo "${ECHO_T}no" >&6; }
2212     fi
2213    
2214    
2215     fi
2216     if test -z "$ac_cv_prog_CC"; then
2217     ac_ct_CC=$CC
2218     # Extract the first word of "gcc", so it can be a program name with args.
2219     set dummy gcc; ac_word=$2
2220     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2223     echo $ECHO_N "(cached) $ECHO_C" >&6
2224     else
2225     if test -n "$ac_ct_CC"; then
2226     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2227     else
2228     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229     for as_dir in $PATH
2230     do
2231     IFS=$as_save_IFS
2232     test -z "$as_dir" && as_dir=.
2233     for ac_exec_ext in '' $ac_executable_extensions; do
2234     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235     ac_cv_prog_ac_ct_CC="gcc"
2236     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237     break 2
2238     fi
2239     done
2240     done
2241     IFS=$as_save_IFS
2242    
2243     fi
2244     fi
2245     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2246     if test -n "$ac_ct_CC"; then
2247     { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2248     echo "${ECHO_T}$ac_ct_CC" >&6; }
2249     else
2250     { echo "$as_me:$LINENO: result: no" >&5
2251     echo "${ECHO_T}no" >&6; }
2252     fi
2253    
2254     if test "x$ac_ct_CC" = x; then
2255     CC=""
2256     else
2257     case $cross_compiling:$ac_tool_warned in
2258     yes:)
2259     { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2260     whose name does not start with the host triplet. If you think this
2261     configuration is useful to you, please write to autoconf@gnu.org." >&5
2262     echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2263     whose name does not start with the host triplet. If you think this
2264     configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2265     ac_tool_warned=yes ;;
2266     esac
2267     CC=$ac_ct_CC
2268     fi
2269     else
2270     CC="$ac_cv_prog_CC"
2271     fi
2272    
2273     if test -z "$CC"; then
2274     if test -n "$ac_tool_prefix"; then
2275     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2276     set dummy ${ac_tool_prefix}cc; ac_word=$2
2277     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2278     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279     if test "${ac_cv_prog_CC+set}" = set; then
2280     echo $ECHO_N "(cached) $ECHO_C" >&6
2281     else
2282     if test -n "$CC"; then
2283     ac_cv_prog_CC="$CC" # Let the user override the test.
2284     else
2285     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286     for as_dir in $PATH
2287     do
2288     IFS=$as_save_IFS
2289     test -z "$as_dir" && as_dir=.
2290     for ac_exec_ext in '' $ac_executable_extensions; do
2291     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292     ac_cv_prog_CC="${ac_tool_prefix}cc"
2293     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294     break 2
2295     fi
2296     done
2297     done
2298     IFS=$as_save_IFS
2299    
2300     fi
2301     fi
2302     CC=$ac_cv_prog_CC
2303     if test -n "$CC"; then
2304     { echo "$as_me:$LINENO: result: $CC" >&5
2305     echo "${ECHO_T}$CC" >&6; }
2306     else
2307     { echo "$as_me:$LINENO: result: no" >&5
2308     echo "${ECHO_T}no" >&6; }
2309     fi
2310    
2311    
2312     fi
2313     fi
2314     if test -z "$CC"; then
2315     # Extract the first word of "cc", so it can be a program name with args.
2316     set dummy cc; ac_word=$2
2317     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319     if test "${ac_cv_prog_CC+set}" = set; then
2320     echo $ECHO_N "(cached) $ECHO_C" >&6
2321     else
2322     if test -n "$CC"; then
2323     ac_cv_prog_CC="$CC" # Let the user override the test.
2324     else
2325     ac_prog_rejected=no
2326     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327     for as_dir in $PATH
2328     do
2329     IFS=$as_save_IFS
2330     test -z "$as_dir" && as_dir=.
2331     for ac_exec_ext in '' $ac_executable_extensions; do
2332     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2333     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2334     ac_prog_rejected=yes
2335     continue
2336     fi
2337     ac_cv_prog_CC="cc"
2338     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339     break 2
2340     fi
2341     done
2342     done
2343     IFS=$as_save_IFS
2344    
2345     if test $ac_prog_rejected = yes; then
2346     # We found a bogon in the path, so make sure we never use it.
2347     set dummy $ac_cv_prog_CC
2348     shift
2349     if test $# != 0; then
2350     # We chose a different compiler from the bogus one.
2351     # However, it has the same basename, so the bogon will be chosen
2352     # first if we set CC to just the basename; use the full file name.
2353     shift
2354     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2355     fi
2356     fi
2357     fi
2358     fi
2359     CC=$ac_cv_prog_CC
2360     if test -n "$CC"; then
2361     { echo "$as_me:$LINENO: result: $CC" >&5
2362     echo "${ECHO_T}$CC" >&6; }
2363     else
2364     { echo "$as_me:$LINENO: result: no" >&5
2365     echo "${ECHO_T}no" >&6; }
2366     fi
2367    
2368    
2369     fi
2370     if test -z "$CC"; then
2371     if test -n "$ac_tool_prefix"; then
2372     for ac_prog in cl.exe
2373     do
2374     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2375     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2376     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2377     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2378     if test "${ac_cv_prog_CC+set}" = set; then
2379     echo $ECHO_N "(cached) $ECHO_C" >&6
2380     else
2381     if test -n "$CC"; then
2382     ac_cv_prog_CC="$CC" # Let the user override the test.
2383     else
2384     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385     for as_dir in $PATH
2386     do
2387     IFS=$as_save_IFS
2388     test -z "$as_dir" && as_dir=.
2389     for ac_exec_ext in '' $ac_executable_extensions; do
2390     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393     break 2
2394     fi
2395     done
2396     done
2397     IFS=$as_save_IFS
2398    
2399     fi
2400     fi
2401     CC=$ac_cv_prog_CC
2402     if test -n "$CC"; then
2403     { echo "$as_me:$LINENO: result: $CC" >&5
2404     echo "${ECHO_T}$CC" >&6; }
2405     else
2406     { echo "$as_me:$LINENO: result: no" >&5
2407     echo "${ECHO_T}no" >&6; }
2408     fi
2409    
2410    
2411     test -n "$CC" && break
2412     done
2413     fi
2414     if test -z "$CC"; then
2415     ac_ct_CC=$CC
2416     for ac_prog in cl.exe
2417     do
2418     # Extract the first word of "$ac_prog", so it can be a program name with args.
2419     set dummy $ac_prog; ac_word=$2
2420     { echo "$as_me:$LINENO: checking for $ac_word" >&5
2421     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2422     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2423     echo $ECHO_N "(cached) $ECHO_C" >&6
2424     else
2425     if test -n "$ac_ct_CC"; then
2426     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2427     else
2428     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429     for as_dir in $PATH
2430     do
2431     IFS=$as_save_IFS
2432     test -z "$as_dir" && as_dir=.
2433     for ac_exec_ext in '' $ac_executable_extensions; do
2434     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435     ac_cv_prog_ac_ct_CC="$ac_prog"
2436     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437     break 2
2438     fi
2439     done
2440     done
2441     IFS=$as_save_IFS
2442    
2443     fi
2444     fi
2445     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2446     if test -n "$ac_ct_CC"; then
2447     { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2448     echo "${ECHO_T}$ac_ct_CC" >&6; }
2449     else
2450     { echo "$as_me:$LINENO: result: no" >&5
2451     echo "${ECHO_T}no" >&6; }
2452     fi
2453    
2454    
2455     test -n "$ac_ct_CC" && break
2456     done
2457    
2458     if test "x$ac_ct_CC" = x; then
2459     CC=""
2460     else
2461     case $cross_compiling:$ac_tool_warned in
2462     yes:)
2463     { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2464     whose name does not start with the host triplet. If you think this
2465     configuration is useful to you, please write to autoconf@gnu.org." >&5
2466     echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2467     whose name does not start with the host triplet. If you think this
2468     configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2469     ac_tool_warned=yes ;;
2470     esac
2471     CC=$ac_ct_CC
2472     fi
2473     fi
2474    
2475     fi
2476    
2477    
2478     test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2479     See \`config.log' for more details." >&5
2480     echo "$as_me: error: no acceptable C compiler found in \$PATH
2481     See \`config.log' for more details." >&2;}
2482     { (exit 1); exit 1; }; }
2483    
2484     # Provide some information about the compiler.
2485     echo "$as_me:$LINENO: checking for C compiler version" >&5
2486     ac_compiler=`set X $ac_compile; echo $2`
2487     { (ac_try="$ac_compiler --version >&5"
2488     case "(($ac_try" in
2489     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490     *) ac_try_echo=$ac_try;;
2491     esac
2492     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493     (eval "$ac_compiler --version >&5") 2>&5
2494     ac_status=$?
2495     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496     (exit $ac_status); }
2497     { (ac_try="$ac_compiler -v >&5"
2498     case "(($ac_try" in
2499     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500     *) ac_try_echo=$ac_try;;
2501     esac
2502     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503     (eval "$ac_compiler -v >&5") 2>&5
2504     ac_status=$?
2505     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506     (exit $ac_status); }
2507     { (ac_try="$ac_compiler -V >&5"
2508     case "(($ac_try" in
2509     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510     *) ac_try_echo=$ac_try;;
2511     esac
2512     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513     (eval "$ac_compiler -V >&5") 2>&5
2514     ac_status=$?
2515     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516     (exit $ac_status); }
2517    
2518     cat >conftest.$ac_ext <<_ACEOF
2519     /* confdefs.h. */
2520     _ACEOF
2521     cat confdefs.h >>conftest.$ac_ext
2522     cat >>conftest.$ac_ext <<_ACEOF
2523     /* end confdefs.h. */
2524    
2525     int
2526     main ()
2527     {
2528    
2529     ;
2530     return 0;
2531     }
2532     _ACEOF
2533     ac_clean_files_save=$ac_clean_files
2534     ac_clean_files="$ac_clean_files a.out a.exe b.out"
2535     # Try to create an executable without -o first, disregard a.out.
2536     # It will help us diagnose broken compilers, and finding out an intuition
2537     # of exeext.
2538     { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2539     echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2540     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2541     #
2542     # List of possible output files, starting from the most likely.
2543     # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2544     # only as a last resort. b.out is created by i960 compilers.
2545     ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2546     #
2547     # The IRIX 6 linker writes into existing files which may not be
2548     # executable, retaining their permissions. Remove them first so a
2549     # subsequent execution test works.
2550     ac_rmfiles=
2551     for ac_file in $ac_files
2552     do
2553     case $ac_file in
2554     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2555     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2556     esac
2557     done
2558     rm -f $ac_rmfiles
2559    
2560     if { (ac_try="$ac_link_default"
2561     case "(($ac_try" in
2562     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563     *) ac_try_echo=$ac_try;;
2564     esac
2565     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2566     (eval "$ac_link_default") 2>&5
2567     ac_status=$?
2568     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569     (exit $ac_status); }; then
2570     # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2571     # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2572     # in a Makefile. We should not override ac_cv_exeext if it was cached,
2573     # so that the user can short-circuit this test for compilers unknown to
2574     # Autoconf.
2575     for ac_file in $ac_files ''
2576     do
2577     test -f "$ac_file" || continue
2578     case $ac_file in
2579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2580     ;;
2581     [ab].out )
2582     # We found the default executable, but exeext='' is most
2583     # certainly right.
2584     break;;
2585     *.* )
2586     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2587     then :; else
2588     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2589     fi
2590     # We set ac_cv_exeext here because the later test for it is not
2591     # safe: cross compilers may not add the suffix if given an `-o'
2592     # argument, so we may need to know it at that point already.
2593     # Even if this section looks crufty: it has the advantage of
2594     # actually working.
2595     break;;
2596     * )
2597     break;;
2598     esac
2599     done
2600     test "$ac_cv_exeext" = no && ac_cv_exeext=
2601    
2602     else
2603     ac_file=''
2604     fi
2605    
2606     { echo "$as_me:$LINENO: result: $ac_file" >&5
2607     echo "${ECHO_T}$ac_file" >&6; }
2608     if test -z "$ac_file"; then
2609     echo "$as_me: failed program was:" >&5
2610     sed 's/^/| /' conftest.$ac_ext >&5
2611    
2612     { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2613     See \`config.log' for more details." >&5
2614     echo "$as_me: error: C compiler cannot create executables
2615     See \`config.log' for more details." >&2;}
2616     { (exit 77); exit 77; }; }
2617     fi
2618    
2619     ac_exeext=$ac_cv_exeext
2620    
2621     # Check that the compiler produces executables we can run. If not, either
2622     # the compiler is broken, or we cross compile.
2623     { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2624     echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2625     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2626     # If not cross compiling, check that we can run a simple program.
2627     if test "$cross_compiling" != yes; then
2628     if { ac_try='./$ac_file'
2629     { (case "(($ac_try" in
2630     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631     *) ac_try_echo=$ac_try;;
2632     esac
2633     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634     (eval "$ac_try") 2>&5
2635     ac_status=$?
2636     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637     (exit $ac_status); }; }; then
2638     cross_compiling=no
2639     else
2640     if test "$cross_compiling" = maybe; then
2641     cross_compiling=yes
2642     else
2643     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2644     If you meant to cross compile, use \`--host'.
2645     See \`config.log' for more details." >&5
2646     echo "$as_me: error: cannot run C compiled programs.
2647     If you meant to cross compile, use \`--host'.
2648     See \`config.log' for more details." >&2;}
2649     { (exit 1); exit 1; }; }
2650     fi
2651     fi
2652     fi
2653     { echo "$as_me:$LINENO: result: yes" >&5
2654     echo "${ECHO_T}yes" >&6; }
2655    
2656     rm -f a.out a.exe conftest$ac_cv_exeext b.out
2657     ac_clean_files=$ac_clean_files_save
2658     # Check that the compiler produces executables we can run. If not, either
2659     # the compiler is broken, or we cross compile.
2660     { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2661     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2662     { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2663     echo "${ECHO_T}$cross_compiling" >&6; }
2664    
2665     { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2666     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2667     if { (ac_try="$ac_link"
2668     case "(($ac_try" in
2669     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670     *) ac_try_echo=$ac_try;;
2671     esac
2672     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673     (eval "$ac_link") 2>&5
2674     ac_status=$?
2675     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676     (exit $ac_status); }; then
2677     # If both `conftest.exe' and `conftest' are `present' (well, observable)
2678     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2679     # work properly (i.e., refer to `conftest.exe'), while it won't with
2680     # `rm'.
2681     for ac_file in conftest.exe conftest conftest.*; do
2682     test -f "$ac_file" || continue
2683     case $ac_file in
2684     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2685     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686     break;;
2687     * ) break;;
2688     esac
2689     done
2690     else
2691     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2692     See \`config.log' for more details." >&5
2693     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2694     See \`config.log' for more details." >&2;}
2695     { (exit 1); exit 1; }; }
2696     fi
2697    
2698     rm -f conftest$ac_cv_exeext
2699     { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2700     echo "${ECHO_T}$ac_cv_exeext" >&6; }
2701    
2702     rm -f conftest.$ac_ext
2703     EXEEXT=$ac_cv_exeext
2704     ac_exeext=$EXEEXT
2705     { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2706     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2707     if test "${ac_cv_objext+set}" = set; then
2708     echo $ECHO_N "(cached) $ECHO_C" >&6
2709     else
2710     cat >conftest.$ac_ext <<_ACEOF
2711     /* confdefs.h. */
2712     _ACEOF
2713     cat confdefs.h >>conftest.$ac_ext
2714     cat >>conftest.$ac_ext <<_ACEOF
2715     /* end confdefs.h. */
2716    
2717     int
2718     main ()
2719     {
2720    
2721     ;
2722     return 0;
2723     }
2724     _ACEOF
2725     rm -f conftest.o conftest.obj
2726     if { (ac_try="$ac_compile"
2727     case "(($ac_try" in
2728     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729     *) ac_try_echo=$ac_try;;
2730     esac
2731     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732     (eval "$ac_compile") 2>&5
2733     ac_status=$?
2734     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735     (exit $ac_status); }; then
2736     for ac_file in conftest.o conftest.obj conftest.*; do
2737     test -f "$ac_file" || continue;
2738     case $ac_file in
2739     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2740     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2741     break;;
2742     esac
2743     done
2744     else
2745     echo "$as_me: failed program was:" >&5
2746     sed 's/^/| /' conftest.$ac_ext >&5
2747    
2748     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2749     See \`config.log' for more details." >&5
2750     echo "$as_me: error: cannot compute suffix of object files: cannot compile
2751     See \`config.log' for more details." >&2;}
2752     { (exit 1); exit 1; }; }
2753     fi
2754    
2755     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2756     fi
2757     { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2758     echo "${ECHO_T}$ac_cv_objext" >&6; }
2759     OBJEXT=$ac_cv_objext
2760     ac_objext=$OBJEXT
2761     { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2762     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2763     if test "${ac_cv_c_compiler_gnu+set}" = set; then
2764     echo $ECHO_N "(cached) $ECHO_C" >&6
2765     else
2766     cat >conftest.$ac_ext <<_ACEOF
2767     /* confdefs.h. */
2768     _ACEOF
2769     cat confdefs.h >>conftest.$ac_ext
2770     cat >>conftest.$ac_ext <<_ACEOF
2771     /* end confdefs.h. */
2772    
2773     int
2774     main ()
2775     {
2776     #ifndef __GNUC__
2777     choke me
2778     #endif
2779    
2780     ;
2781     return 0;
2782     }
2783     _ACEOF
2784     rm -f conftest.$ac_objext
2785     if { (ac_try="$ac_compile"
2786     case "(($ac_try" in
2787     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788     *) ac_try_echo=$ac_try;;
2789     esac
2790     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791     (eval "$ac_compile") 2>conftest.er1
2792     ac_status=$?
2793     grep -v '^ *+' conftest.er1 >conftest.err
2794     rm -f conftest.er1
2795     cat conftest.err >&5
2796     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797     (exit $ac_status); } && {
2798     test -z "$ac_c_werror_flag" ||
2799     test ! -s conftest.err
2800     } && test -s conftest.$ac_objext; then
2801     ac_compiler_gnu=yes
2802     else
2803     echo "$as_me: failed program was:" >&5
2804     sed 's/^/| /' conftest.$ac_ext >&5
2805    
2806     ac_compiler_gnu=no
2807     fi
2808    
2809     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810     ac_cv_c_compiler_gnu=$ac_compiler_gnu
2811    
2812     fi
2813     { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2814     echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2815     GCC=`test $ac_compiler_gnu = yes && echo yes`
2816     ac_test_CFLAGS=${CFLAGS+set}
2817     ac_save_CFLAGS=$CFLAGS
2818     { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2819     echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2820     if test "${ac_cv_prog_cc_g+set}" = set; then
2821     echo $ECHO_N "(cached) $ECHO_C" >&6
2822     else
2823     ac_save_c_werror_flag=$ac_c_werror_flag
2824     ac_c_werror_flag=yes
2825     ac_cv_prog_cc_g=no
2826     CFLAGS="-g"
2827     cat >conftest.$ac_ext <<_ACEOF
2828     /* confdefs.h. */
2829     _ACEOF
2830     cat confdefs.h >>conftest.$ac_ext
2831     cat >>conftest.$ac_ext <<_ACEOF
2832     /* end confdefs.h. */
2833    
2834     int
2835     main ()
2836     {
2837    
2838     ;
2839     return 0;
2840     }
2841     _ACEOF
2842     rm -f conftest.$ac_objext
2843     if { (ac_try="$ac_compile"
2844     case "(($ac_try" in
2845     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846     *) ac_try_echo=$ac_try;;
2847     esac
2848     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2849     (eval "$ac_compile") 2>conftest.er1
2850     ac_status=$?
2851     grep -v '^ *+' conftest.er1 >conftest.err
2852     rm -f conftest.er1
2853     cat conftest.err >&5
2854     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855     (exit $ac_status); } && {
2856     test -z "$ac_c_werror_flag" ||
2857     test ! -s conftest.err
2858     } && test -s conftest.$ac_objext; then
2859     ac_cv_prog_cc_g=yes
2860     else
2861     echo "$as_me: failed program was:" >&5
2862     sed 's/^/| /' conftest.$ac_ext >&5
2863    
2864     CFLAGS=""
2865     cat >conftest.$ac_ext <<_ACEOF
2866     /* confdefs.h. */
2867     _ACEOF
2868     cat confdefs.h >>conftest.$ac_ext
2869     cat >>conftest.$ac_ext <<_ACEOF
2870     /* end confdefs.h. */
2871    
2872     int
2873     main ()
2874     {
2875    
2876     ;
2877     return 0;
2878     }
2879     _ACEOF
2880     rm -f conftest.$ac_objext
2881     if { (ac_try="$ac_compile"
2882     case "(($ac_try" in
2883     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884     *) ac_try_echo=$ac_try;;
2885     esac
2886     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887     (eval "$ac_compile") 2>conftest.er1
2888     ac_status=$?
2889     grep -v '^ *+' conftest.er1 >conftest.err
2890     rm -f conftest.er1
2891     cat conftest.err >&5
2892     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893     (exit $ac_status); } && {
2894     test -z "$ac_c_werror_flag" ||
2895     test ! -s conftest.err
2896     } && test -s conftest.$ac_objext; then
2897     :
2898     else
2899     echo "$as_me: failed program was:" >&5
2900     sed 's/^/| /' conftest.$ac_ext >&5
2901    
2902     ac_c_werror_flag=$ac_save_c_werror_flag
2903     CFLAGS="-g"
2904     cat >conftest.$ac_ext <<_ACEOF
2905     /* confdefs.h. */
2906     _ACEOF
2907     cat confdefs.h >>conftest.$ac_ext
2908     cat >>conftest.$ac_ext <<_ACEOF
2909     /* end confdefs.h. */
2910    
2911     int
2912     main ()
2913     {
2914    
2915     ;
2916     return 0;
2917     }
2918     _ACEOF
2919     rm -f conftest.$ac_objext
2920     if { (ac_try="$ac_compile"
2921     case "(($ac_try" in
2922     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923     *) ac_try_echo=$ac_try;;
2924     esac
2925     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926     (eval "$ac_compile") 2>conftest.er1
2927     ac_status=$?
2928     grep -v '^ *+' conftest.er1 >conftest.err
2929     rm -f conftest.er1
2930     cat conftest.err >&5
2931     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932     (exit $ac_status); } && {
2933     test -z "$ac_c_werror_flag" ||
2934     test ! -s conftest.err
2935     } && test -s conftest.$ac_objext; then
2936     ac_cv_prog_cc_g=yes
2937     else
2938     echo "$as_me: failed program was:" >&5
2939     sed 's/^/| /' conftest.$ac_ext >&5
2940    
2941    
2942     fi
2943    
2944     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945     fi
2946    
2947     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948     fi
2949    
2950     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951     ac_c_werror_flag=$ac_save_c_werror_flag
2952     fi
2953     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2954     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2955     if test "$ac_test_CFLAGS" = set; then
2956     CFLAGS=$ac_save_CFLAGS
2957     elif test $ac_cv_prog_cc_g = yes; then
2958     if test "$GCC" = yes; then
2959     CFLAGS="-g -O2"
2960     else
2961     CFLAGS="-g"
2962     fi
2963     else
2964     if test "$GCC" = yes; then
2965     CFLAGS="-O2"
2966     else
2967     CFLAGS=
2968     fi
2969     fi
2970     { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2971     echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2972     if test "${ac_cv_prog_cc_c89+set}" = set; then
2973     echo $ECHO_N "(cached) $ECHO_C" >&6
2974     else
2975     ac_cv_prog_cc_c89=no
2976     ac_save_CC=$CC
2977     cat >conftest.$ac_ext <<_ACEOF
2978     /* confdefs.h. */
2979     _ACEOF
2980     cat confdefs.h >>conftest.$ac_ext
2981     cat >>conftest.$ac_ext <<_ACEOF
2982     /* end confdefs.h. */
2983     #include <stdarg.h>
2984     #include <stdio.h>
2985     #include <sys/types.h>
2986     #include <sys/stat.h>
2987     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2988     struct buf { int x; };
2989     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2990     static char *e (p, i)
2991     char **p;
2992     int i;
2993     {
2994     return p[i];
2995     }
2996     static char *f (char * (*g) (char **, int), char **p, ...)
2997     {
2998     char *s;
2999     va_list v;
3000     va_start (v,p);
3001     s = g (p, va_arg (v,int));
3002     va_end (v);
3003     return s;
3004     }
3005    
3006     /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3007     function prototypes and stuff, but not '\xHH' hex character constants.
3008     These don't provoke an error unfortunately, instead are silently treated
3009     as 'x'. The following induces an error, until -std is added to get
3010     proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3011     array size at least. It's necessary to write '\x00'==0 to get something
3012     that's true only with -std. */
3013     int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3014    
3015     /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3016     inside strings and character constants. */
3017     #define FOO(x) 'x'
3018     int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3019    
3020     int test (int i, double x);
3021     struct s1 {int (*f) (int a);};
3022     struct s2 {int (*f) (double a);};
3023     int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3024     int argc;
3025     char **argv;
3026     int
3027     main ()
3028     {
3029     return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3030     ;
3031     return 0;
3032     }
3033     _ACEOF
3034     for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3035     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3036     do
3037     CC="$ac_save_CC $ac_arg"
3038     rm -f conftest.$ac_objext
3039     if { (ac_try="$ac_compile"
3040     case "(($ac_try" in
3041     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042     *) ac_try_echo=$ac_try;;
3043     esac
3044     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045     (eval "$ac_compile") 2>conftest.er1
3046     ac_status=$?
3047     grep -v '^ *+' conftest.er1 >conftest.err
3048     rm -f conftest.er1
3049     cat conftest.err >&5
3050     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051     (exit $ac_status); } && {
3052     test -z "$ac_c_werror_flag" ||
3053     test ! -s conftest.err
3054     } && test -s conftest.$ac_objext; then
3055     ac_cv_prog_cc_c89=$ac_arg
3056     else
3057     echo "$as_me: failed program was:" >&5
3058     sed 's/^/| /' conftest.$ac_ext >&5
3059    
3060    
3061     fi
3062    
3063     rm -f core conftest.err conftest.$ac_objext
3064     test "x$ac_cv_prog_cc_c89" != "xno" && break
3065     done
3066     rm -f conftest.$ac_ext
3067     CC=$ac_save_CC
3068    
3069     fi
3070     # AC_CACHE_VAL
3071     case "x$ac_cv_prog_cc_c89" in
3072     x)
3073     { echo "$as_me:$LINENO: result: none needed" >&5
3074     echo "${ECHO_T}none needed" >&6; } ;;
3075     xno)
3076     { echo "$as_me:$LINENO: result: unsupported" >&5
3077     echo "${ECHO_T}unsupported" >&6; } ;;
3078     *)
3079     CC="$CC $ac_cv_prog_cc_c89"
3080     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3081     echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3082     esac
3083    
3084    
3085     ac_ext=c
3086     ac_cpp='$CPP $CPPFLAGS'
3087     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089     ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090     DEPDIR="${am__leading_dot}deps"
3091    
3092     ac_config_commands="$ac_config_commands depfiles"
3093    
3094    
3095     am_make=${MAKE-make}
3096     cat > confinc << 'END'
3097     am__doit:
3098     @echo done
3099     .PHONY: am__doit
3100     END
3101     # If we don't find an include directive, just comment out the code.
3102     { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3103     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3104     am__include="#"
3105     am__quote=
3106     _am_result=none
3107     # First try GNU make style include.
3108     echo "include confinc" > confmf
3109     # We grep out `Entering directory' and `Leaving directory'
3110     # messages which can occur if `w' ends up in MAKEFLAGS.
3111     # In particular we don't look at `^make:' because GNU make might
3112     # be invoked under some other name (usually "gmake"), in which
3113     # case it prints its new name instead of `make'.
3114     if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3115     am__include=include
3116     am__quote=
3117     _am_result=GNU
3118     fi
3119     # Now try BSD make style include.
3120     if test "$am__include" = "#"; then
3121     echo '.include "confinc"' > confmf
3122     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3123     am__include=.include
3124     am__quote="\""
3125     _am_result=BSD
3126     fi
3127     fi
3128    
3129    
3130     { echo "$as_me:$LINENO: result: $_am_result" >&5
3131     echo "${ECHO_T}$_am_result" >&6; }
3132     rm -f confinc confmf
3133    
3134     # Check whether --enable-dependency-tracking was given.
3135     if test "${enable_dependency_tracking+set}" = set; then
3136     enableval=$enable_dependency_tracking;
3137     fi
3138    
3139     if test "x$enable_dependency_tracking" != xno; then
3140     am_depcomp="$ac_aux_dir/depcomp"
3141     AMDEPBACKSLASH='\'
3142     fi
3143    
3144    
3145     if test "x$enable_dependency_tracking" != xno; then
3146     AMDEP_TRUE=
3147     AMDEP_FALSE='#'
3148     else
3149     AMDEP_TRUE='#'
3150     AMDEP_FALSE=
3151     fi
3152    
3153    
3154    
3155    
3156     depcc="$CC" am_compiler_list=
3157    
3158     { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3159     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3160     if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3161     echo $ECHO_N "(cached) $ECHO_C" >&6
3162     else
3163     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3164     # We make a subdir and do the tests there. Otherwise we can end up
3165     # making bogus files that we don't know about and never remove. For
3166     # instance it was reported that on HP-UX the gcc test will end up
3167     # making a dummy file named `D' -- because `-MD' means `put the output
3168     # in D'.
3169     mkdir conftest.dir
3170     # Copy depcomp to subdir because otherwise we won't find it if we're
3171     # using a relative directory.
3172     cp "$am_depcomp" conftest.dir
3173     cd conftest.dir
3174     # We will build objects and dependencies in a subdirectory because
3175     # it helps to detect inapplicable dependency modes. For instance
3176     # both Tru64's cc and ICC support -MD to output dependencies as a
3177     # side effect of compilation, but ICC will put the dependencies in
3178     # the current directory while Tru64 will put them in the object
3179     # directory.
3180     mkdir sub
3181    
3182     am_cv_CC_dependencies_compiler_type=none
3183     if test "$am_compiler_list" = ""; then
3184     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3185     fi
3186     for depmode in $am_compiler_list; do
3187     # Setup a source with many dependencies, because some compilers
3188     # like to wrap large dependency lists on column 80 (with \), and
3189     # we should not choose a depcomp mode which is confused by this.
3190     #
3191     # We need to recreate these files for each test, as the compiler may
3192     # overwrite some of them when testing with obscure command lines.
3193     # This happens at least with the AIX C compiler.
3194     : > sub/conftest.c
3195     for i in 1 2 3 4 5 6; do
3196     echo '#include "conftst'$i'.h"' >> sub/conftest.c
3197     : > sub/conftst$i.h
3198     done
3199     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3200    
3201     case $depmode in
3202     nosideeffect)
3203     # after this tag, mechanisms are not by side-effect, so they'll
3204     # only be used when explicitly requested
3205     if test "x$enable_dependency_tracking" = xyes; then
3206     continue
3207     else
3208     break
3209     fi
3210     ;;
3211     none) break ;;
3212     esac
3213     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3214     # mode. It turns out that the SunPro C++ compiler does not properly
3215     # handle `-M -o', and we need to detect this.
3216     if depmode=$depmode \
3217     source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3218     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3219     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3220     >/dev/null 2>conftest.err &&
3221     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3222     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3223     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3224     # icc doesn't choke on unknown options, it will just issue warnings
3225     # (even with -Werror). So we grep stderr for any message
3226     # that says an option was ignored.
3227     if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3228     am_cv_CC_dependencies_compiler_type=$depmode
3229     break
3230     fi
3231     fi
3232     done
3233    
3234     cd ..
3235     rm -rf conftest.dir
3236     else
3237     am_cv_CC_dependencies_compiler_type=none
3238     fi
3239    
3240     fi
3241     { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3242     echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3243     CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3244    
3245    
3246    
3247     if
3248     test "x$enable_dependency_tracking" != xno \
3249     && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3250     am__fastdepCC_TRUE=
3251     am__fastdepCC_FALSE='#'
3252     else
3253     am__fastdepCC_TRUE='#'
3254     am__fastdepCC_FALSE=
3255     fi
3256    
3257    
3258    
3259    
3260     ac_ext=c
3261     ac_cpp='$CPP $CPPFLAGS'
3262     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264     ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265     { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3266     echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3267     # On Suns, sometimes $CPP names a directory.
3268     if test -n "$CPP" && test -d "$CPP"; then
3269     CPP=
3270     fi
3271     if test -z "$CPP"; then
3272     if test "${ac_cv_prog_CPP+set}" = set; then
3273     echo $ECHO_N "(cached) $ECHO_C" >&6
3274     else
3275     # Double quotes because CPP needs to be expanded
3276     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3277     do
3278     ac_preproc_ok=false
3279     for ac_c_preproc_warn_flag in '' yes
3280     do
3281     # Use a header file that comes with gcc, so configuring glibc
3282     # with a fresh cross-compiler works.
3283     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3284     # <limits.h> exists even on freestanding compilers.
3285     # On the NeXT, cc -E runs the code through the compiler's parser,
3286     # not just through cpp. "Syntax error" is here to catch this case.
3287     cat >conftest.$ac_ext <<_ACEOF
3288     /* confdefs.h. */
3289     _ACEOF
3290     cat confdefs.h >>conftest.$ac_ext
3291     cat >>conftest.$ac_ext <<_ACEOF
3292     /* end confdefs.h. */
3293     #ifdef __STDC__
3294     # include <limits.h>
3295     #else
3296     # include <assert.h>
3297     #endif
3298     Syntax error
3299     _ACEOF
3300     if { (ac_try="$ac_cpp conftest.$ac_ext"
3301     case "(($ac_try" in
3302     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303     *) ac_try_echo=$ac_try;;
3304     esac
3305     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3307     ac_status=$?
3308     grep -v '^ *+' conftest.er1 >conftest.err
3309     rm -f conftest.er1
3310     cat conftest.err >&5
3311     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312     (exit $ac_status); } >/dev/null && {
3313     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3314     test ! -s conftest.err
3315     }; then
3316     :
3317     else
3318     echo "$as_me: failed program was:" >&5
3319     sed 's/^/| /' conftest.$ac_ext >&5
3320    
3321     # Broken: fails on valid input.
3322     continue
3323     fi
3324    
3325     rm -f conftest.err conftest.$ac_ext
3326    
3327     # OK, works on sane cases. Now check whether nonexistent headers
3328     # can be detected and how.
3329     cat >conftest.$ac_ext <<_ACEOF
3330     /* confdefs.h. */
3331     _ACEOF
3332     cat confdefs.h >>conftest.$ac_ext
3333     cat >>conftest.$ac_ext <<_ACEOF
3334     /* end confdefs.h. */
3335     #include <ac_nonexistent.h>
3336     _ACEOF
3337     if { (ac_try="$ac_cpp conftest.$ac_ext"
3338     case "(($ac_try" in
3339     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340     *) ac_try_echo=$ac_try;;
3341     esac
3342     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3343     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3344     ac_status=$?
3345     grep -v '^ *+' conftest.er1 >conftest.err
3346     rm -f conftest.er1
3347     cat conftest.err >&5
3348     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349     (exit $ac_status); } >/dev/null && {
3350     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3351     test ! -s conftest.err
3352     }; then
3353     # Broken: success on invalid input.
3354     continue
3355     else
3356     echo "$as_me: failed program was:" >&5
3357     sed 's/^/| /' conftest.$ac_ext >&5
3358    
3359     # Passes both tests.
3360     ac_preproc_ok=:
3361     break
3362     fi
3363    
3364     rm -f conftest.err conftest.$ac_ext
3365    
3366     done
3367     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3368     rm -f conftest.err conftest.$ac_ext
3369     if $ac_preproc_ok; then
3370     break
3371     fi
3372    
3373     done
3374     ac_cv_prog_CPP=$CPP
3375    
3376     fi
3377     CPP=$ac_cv_prog_CPP
3378     else
3379     ac_cv_prog_CPP=$CPP
3380     fi
3381     { echo "$as_me:$LINENO: result: $CPP" >&5
3382     echo "${ECHO_T}$CPP" >&6; }
3383     ac_preproc_ok=false
3384     for ac_c_preproc_warn_flag in '' yes
3385     do
3386     # Use a header file that comes with gcc, so configuring glibc
3387     # with a fresh cross-compiler works.
3388     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3389     # <limits.h> exists even on freestanding compilers.
3390     # On the NeXT, cc -E runs the code through the compiler's parser,
3391     # not just through cpp. "Syntax error" is here to catch this case.
3392     cat >conftest.$ac_ext <<_ACEOF
3393     /* confdefs.h. */
3394     _ACEOF
3395     cat confdefs.h >>conftest.$ac_ext
3396     cat >>conftest.$ac_ext <<_ACEOF
3397     /* end confdefs.h. */
3398     #ifdef __STDC__
3399     # include <limits.h>
3400     #else
3401     # include <assert.h>
3402     #endif
3403     Syntax error
3404     _ACEOF
3405     if { (ac_try="$ac_cpp conftest.$ac_ext"
3406     case "(($ac_try" in
3407     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408     *) ac_try_echo=$ac_try;;
3409     esac
3410     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3412     ac_status=$?
3413     grep -v '^ *+' conftest.er1 >conftest.err
3414     rm -f conftest.er1
3415     cat conftest.err >&5
3416     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417     (exit $ac_status); } >/dev/null && {
3418     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3419     test ! -s conftest.err
3420     }; then
3421     :
3422     else
3423     echo "$as_me: failed program was:" >&5
3424     sed 's/^/| /' conftest.$ac_ext >&5
3425    
3426     # Broken: fails on valid input.
3427     continue
3428     fi
3429    
3430     rm -f conftest.err conftest.$ac_ext
3431    
3432     # OK, works on sane cases. Now check whether nonexistent headers
3433     # can be detected and how.
3434     cat >conftest.$ac_ext <<_ACEOF
3435     /* confdefs.h. */
3436     _ACEOF
3437     cat confdefs.h >>conftest.$ac_ext
3438     cat >>conftest.$ac_ext <<_ACEOF
3439     /* end confdefs.h. */
3440     #include <ac_nonexistent.h>
3441     _ACEOF
3442     if { (ac_try="$ac_cpp conftest.$ac_ext"
3443     case "(($ac_try" in
3444     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445     *) ac_try_echo=$ac_try;;
3446     esac
3447     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3449     ac_status=$?
3450     grep -v '^ *+' conftest.er1 >conftest.err
3451     rm -f conftest.er1
3452     cat conftest.err >&5
3453     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454     (exit $ac_status); } >/dev/null && {
3455     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3456     test ! -s conftest.err
3457     }; then
3458     # Broken: success on invalid input.
3459     continue
3460     else
3461     echo "$as_me: failed program was:" >&5
3462     sed 's/^/| /' conftest.$ac_ext >&5
3463    
3464     # Passes both tests.
3465     ac_preproc_ok=:
3466     break
3467     fi
3468    
3469     rm -f conftest.err conftest.$ac_ext
3470    
3471     done
3472     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3473     rm -f conftest.err conftest.$ac_ext
3474     if $ac_preproc_ok; then
3475     :
3476     else
3477     { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3478     See \`config.log' for more details." >&5
3479     echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3480     See \`config.log' for more details." >&2;}
3481     { (exit 1); exit 1; }; }
3482     fi
3483    
3484     ac_ext=c
3485     ac_cpp='$CPP $CPPFLAGS'
3486     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488     ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489    
3490    
3491     { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3492     echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3493     if test "${ac_cv_path_GREP+set}" = set; then
3494     echo $ECHO_N "(cached) $ECHO_C" >&6
3495     else
3496     # Extract the first word of "grep ggrep" to use in msg output
3497     if test -z "$GREP"; then
3498     set dummy grep ggrep; ac_prog_name=$2
3499     if test "${ac_cv_path_GREP+set}" = set; then
3500     echo $ECHO_N "(cached) $ECHO_C" >&6
3501     else
3502     ac_path_GREP_found=false
3503     # Loop through the user's path and test for each of PROGNAME-LIST
3504     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505     for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3506     do
3507     IFS=$as_save_IFS
3508     test -z "$as_dir" && as_dir=.
3509     for ac_prog in grep ggrep; do
3510     for ac_exec_ext in '' $ac_executable_extensions; do
3511     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3512     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3513     # Check for GNU ac_path_GREP and select it if it is found.
3514     # Check for GNU $ac_path_GREP
3515     case `"$ac_path_GREP" --version 2>&1` in
3516     *GNU*)
3517     ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3518     *)
3519     ac_count=0
3520     echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3521     while :
3522     do
3523     cat "conftest.in" "conftest.in" >"conftest.tmp"
3524     mv "conftest.tmp" "conftest.in"
3525     cp "conftest.in" "conftest.nl"
3526     echo 'GREP' >> "conftest.nl"
3527     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3528     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3529     ac_count=`expr $ac_count + 1`
3530     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3531     # Best one so far, save it but keep looking for a better one
3532     ac_cv_path_GREP="$ac_path_GREP"
3533     ac_path_GREP_max=$ac_count
3534     fi
3535     # 10*(2^10) chars as input seems more than enough
3536     test $ac_count -gt 10 && break
3537     done
3538     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3539     esac
3540    
3541    
3542     $ac_path_GREP_found && break 3
3543     done
3544     done
3545    
3546     done
3547     IFS=$as_save_IFS
3548    
3549    
3550     fi
3551    
3552     GREP="$ac_cv_path_GREP"
3553     if test -z "$GREP"; then
3554     { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3555     echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3556     { (exit 1); exit 1; }; }
3557     fi
3558    
3559     else
3560     ac_cv_path_GREP=$GREP
3561     fi
3562    
3563    
3564     fi
3565     { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3566     echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3567     GREP="$ac_cv_path_GREP"
3568    
3569    
3570     { echo "$as_me:$LINENO: checking for egrep" >&5
3571     echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3572     if test "${ac_cv_path_EGREP+set}" = set; then
3573     echo $ECHO_N "(cached) $ECHO_C" >&6
3574     else
3575     if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3576     then ac_cv_path_EGREP="$GREP -E"
3577     else
3578     # Extract the first word of "egrep" to use in msg output
3579     if test -z "$EGREP"; then
3580     set dummy egrep; ac_prog_name=$2
3581     if test "${ac_cv_path_EGREP+set}" = set; then
3582     echo $ECHO_N "(cached) $ECHO_C" >&6
3583     else
3584     ac_path_EGREP_found=false
3585     # Loop through the user's path and test for each of PROGNAME-LIST
3586     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587     for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3588     do
3589     IFS=$as_save_IFS
3590     test -z "$as_dir" && as_dir=.
3591     for ac_prog in egrep; do
3592     for ac_exec_ext in '' $ac_executable_extensions; do
3593     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3594     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3595     # Check for GNU ac_path_EGREP and select it if it is found.
3596     # Check for GNU $ac_path_EGREP
3597     case `"$ac_path_EGREP" --version 2>&1` in
3598     *GNU*)
3599     ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3600     *)
3601     ac_count=0
3602     echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3603     while :
3604     do
3605     cat "conftest.in" "conftest.in" >"conftest.tmp"
3606     mv "conftest.tmp" "conftest.in"
3607     cp "conftest.in" "conftest.nl"
3608     echo 'EGREP' >> "conftest.nl"
3609     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3610     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3611     ac_count=`expr $ac_count + 1`
3612     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3613     # Best one so far, save it but keep looking for a better one
3614     ac_cv_path_EGREP="$ac_path_EGREP"
3615     ac_path_EGREP_max=$ac_count
3616     fi
3617     # 10*(2^10) chars as input seems more than enough
3618     test $ac_count -gt 10 && break
3619     done
3620     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3621     esac
3622    
3623    
3624     $ac_path_EGREP_found && break 3
3625     done
3626     done
3627    
3628     done
3629     IFS=$as_save_IFS
3630    
3631    
3632     fi
3633    
3634     EGREP="$ac_cv_path_EGREP"
3635     if test -z "$EGREP"; then
3636     { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3637     echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3638     { (exit 1); exit 1; }; }
3639     fi
3640    
3641     else
3642     ac_cv_path_EGREP=$EGREP
3643     fi
3644    
3645    
3646     fi
3647     fi
3648     { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3649     echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3650     EGREP="$ac_cv_path_EGREP"
3651    
3652    
3653     { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3654     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3655     if test "${ac_cv_header_stdc+set}" = set; then
3656     echo $ECHO_N "(cached) $ECHO_C" >&6
3657     else
3658     cat >conftest.$ac_ext <<_ACEOF
3659     /* confdefs.h. */
3660     _ACEOF
3661     cat confdefs.h >>conftest.$ac_ext
3662     cat >>conftest.$ac_ext <<_ACEOF
3663     /* end confdefs.h. */
3664     #include <stdlib.h>
3665     #include <stdarg.h>
3666     #include <string.h>
3667     #include <float.h>
3668    
3669     int
3670     main ()
3671     {
3672    
3673     ;
3674     return 0;
3675     }
3676     _ACEOF
3677     rm -f conftest.$ac_objext
3678     if { (ac_try="$ac_compile"
3679     case "(($ac_try" in
3680     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681     *) ac_try_echo=$ac_try;;
3682     esac
3683     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684     (eval "$ac_compile") 2>conftest.er1
3685     ac_status=$?
3686     grep -v '^ *+' conftest.er1 >conftest.err
3687     rm -f conftest.er1
3688     cat conftest.err >&5
3689     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690     (exit $ac_status); } && {
3691     test -z "$ac_c_werror_flag" ||
3692     test ! -s conftest.err
3693     } && test -s conftest.$ac_objext; then
3694     ac_cv_header_stdc=yes
3695     else
3696     echo "$as_me: failed program was:" >&5
3697     sed 's/^/| /' conftest.$ac_ext >&5
3698    
3699     ac_cv_header_stdc=no
3700     fi
3701    
3702     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703    
3704     if test $ac_cv_header_stdc = yes; then
3705     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3706     cat >conftest.$ac_ext <<_ACEOF
3707     /* confdefs.h. */
3708     _ACEOF
3709     cat confdefs.h >>conftest.$ac_ext
3710     cat >>conftest.$ac_ext <<_ACEOF
3711     /* end confdefs.h. */
3712     #include <string.h>
3713    
3714     _ACEOF
3715     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716     $EGREP "memchr" >/dev/null 2>&1; then
3717     :
3718     else
3719     ac_cv_header_stdc=no
3720     fi
3721     rm -f conftest*
3722    
3723     fi
3724    
3725     if test $ac_cv_header_stdc = yes; then
3726     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3727     cat >conftest.$ac_ext <<_ACEOF
3728     /* confdefs.h. */
3729     _ACEOF
3730     cat confdefs.h >>conftest.$ac_ext
3731     cat >>conftest.$ac_ext <<_ACEOF
3732     /* end confdefs.h. */
3733     #include <stdlib.h>
3734    
3735     _ACEOF
3736     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3737     $EGREP "free" >/dev/null 2>&1; then
3738     :
3739     else
3740     ac_cv_header_stdc=no
3741     fi
3742     rm -f conftest*
3743    
3744     fi
3745    
3746     if test $ac_cv_header_stdc = yes; then
3747     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3748     if test "$cross_compiling" = yes; then
3749     :
3750     else
3751     cat >conftest.$ac_ext <<_ACEOF
3752     /* confdefs.h. */
3753     _ACEOF
3754     cat confdefs.h >>conftest.$ac_ext
3755     cat >>conftest.$ac_ext <<_ACEOF
3756     /* end confdefs.h. */
3757     #include <ctype.h>
3758     #include <stdlib.h>
3759     #if ((' ' & 0x0FF) == 0x020)
3760     # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3761     # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3762     #else
3763     # define ISLOWER(c) \
3764     (('a' <= (c) && (c) <= 'i') \
3765     || ('j' <= (c) && (c) <= 'r') \
3766     || ('s' <= (c) && (c) <= 'z'))
3767     # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3768     #endif
3769    
3770     #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3771     int
3772     main ()
3773     {
3774     int i;
3775     for (i = 0; i < 256; i++)
3776     if (XOR (islower (i), ISLOWER (i))
3777     || toupper (i) != TOUPPER (i))
3778     return 2;
3779     return 0;
3780     }
3781     _ACEOF
3782     rm -f conftest$ac_exeext
3783     if { (ac_try="$ac_link"
3784     case "(($ac_try" in
3785     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786     *) ac_try_echo=$ac_try;;
3787     esac
3788     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789     (eval "$ac_link") 2>&5
3790     ac_status=$?
3791     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3793     { (case "(($ac_try" in
3794     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795     *) ac_try_echo=$ac_try;;
3796     esac
3797     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798     (eval "$ac_try") 2>&5
3799     ac_status=$?
3800     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801     (exit $ac_status); }; }; then
3802     :
3803     else
3804     echo "$as_me: program exited with status $ac_status" >&5
3805     echo "$as_me: failed program was:" >&5
3806     sed 's/^/| /' conftest.$ac_ext >&5
3807    
3808     ( exit $ac_status )
3809     ac_cv_header_stdc=no
3810     fi
3811     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3812     fi
3813    
3814    
3815     fi
3816     fi
3817     { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3818     echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3819     if test $ac_cv_header_stdc = yes; then
3820    
3821     cat >>confdefs.h <<\_ACEOF
3822     #define STDC_HEADERS 1
3823     _ACEOF
3824    
3825     fi
3826    
3827    
3828     ac_ext=cpp
3829     ac_cpp='$CXXCPP $CPPFLAGS'
3830     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3833     if test -z "$CXX"; then
3834     if test -n "$CCC"; then
3835     CXX=$CCC
3836     else
3837     if test -n "$ac_tool_prefix"; then
3838     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3839     do
3840     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3841     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3842     { echo "$as_me:$LINENO: checking for $ac_word" >&5
3843     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3844     if test "${ac_cv_prog_CXX+set}" = set; then
3845     echo $ECHO_N "(cached) $ECHO_C" >&6
3846     else
3847     if test -n "$CXX"; then
3848     ac_cv_prog_CXX="$CXX" # Let the user override the test.
3849     else
3850     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851     for as_dir in $PATH
3852     do
3853     IFS=$as_save_IFS
3854     test -z "$as_dir" && as_dir=.
3855     for ac_exec_ext in '' $ac_executable_extensions; do
3856     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3858     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3859     break 2
3860     fi
3861     done
3862     done
3863     IFS=$as_save_IFS
3864    
3865     fi
3866     fi
3867     CXX=$ac_cv_prog_CXX
3868     if test -n "$CXX"; then
3869     { echo "$as_me:$LINENO: result: $CXX" >&5
3870     echo "${ECHO_T}$CXX" >&6; }
3871     else
3872     { echo "$as_me:$LINENO: result: no" >&5
3873     echo "${ECHO_T}no" >&6; }
3874     fi
3875    
3876    
3877     test -n "$CXX" && break
3878     done
3879     fi
3880     if test -z "$CXX"; then
3881     ac_ct_CXX=$CXX
3882     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3883     do
3884     # Extract the first word of "$ac_prog", so it can be a program name with args.
3885     set dummy $ac_prog; ac_word=$2
3886     { echo "$as_me:$LINENO: checking for $ac_word" >&5
3887     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3888     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3889     echo $ECHO_N "(cached) $ECHO_C" >&6
3890     else
3891     if test -n "$ac_ct_CXX"; then
3892     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3893     else
3894     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895     for as_dir in $PATH
3896     do
3897     IFS=$as_save_IFS
3898     test -z "$as_dir" && as_dir=.
3899     for ac_exec_ext in '' $ac_executable_extensions; do
3900     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901     ac_cv_prog_ac_ct_CXX="$ac_prog"
3902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903     break 2
3904     fi
3905     done
3906     done
3907     IFS=$as_save_IFS
3908    
3909     fi
3910     fi
3911     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3912     if test -n "$ac_ct_CXX"; then
3913     { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3914     echo "${ECHO_T}$ac_ct_CXX" >&6; }
3915     else
3916     { echo "$as_me:$LINENO: result: no" >&5
3917     echo "${ECHO_T}no" >&6; }
3918     fi
3919    
3920    
3921     test -n "$ac_ct_CXX" && break
3922     done
3923    
3924     if test "x$ac_ct_CXX" = x; then
3925     CXX="g++"
3926     else
3927     case $cross_compiling:$ac_tool_warned in
3928     yes:)
3929     { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3930     whose name does not start with the host triplet. If you think this
3931     configuration is useful to you, please write to autoconf@gnu.org." >&5
3932     echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3933     whose name does not start with the host triplet. If you think this
3934     configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3935     ac_tool_warned=yes ;;
3936     esac
3937     CXX=$ac_ct_CXX
3938     fi
3939     fi
3940    
3941     fi
3942     fi
3943     # Provide some information about the compiler.
3944     echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3945     ac_compiler=`set X $ac_compile; echo $2`
3946     { (ac_try="$ac_compiler --version >&5"
3947     case "(($ac_try" in
3948     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949     *) ac_try_echo=$ac_try;;
3950     esac
3951     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952     (eval "$ac_compiler --version >&5") 2>&5
3953     ac_status=$?
3954     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955     (exit $ac_status); }
3956     { (ac_try="$ac_compiler -v >&5"
3957     case "(($ac_try" in
3958     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959     *) ac_try_echo=$ac_try;;
3960     esac
3961     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962     (eval "$ac_compiler -v >&5") 2>&5
3963     ac_status=$?
3964     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965     (exit $ac_status); }
3966     { (ac_try="$ac_compiler -V >&5"
3967     case "(($ac_try" in
3968     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969     *) ac_try_echo=$ac_try;;
3970     esac
3971     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972     (eval "$ac_compiler -V >&5") 2>&5
3973     ac_status=$?
3974     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975     (exit $ac_status); }
3976    
3977     { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3978     echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3979     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3980     echo $ECHO_N "(cached) $ECHO_C" >&6
3981     else
3982     cat >conftest.$ac_ext <<_ACEOF
3983     /* confdefs.h. */
3984     _ACEOF
3985     cat confdefs.h >>conftest.$ac_ext
3986     cat >>conftest.$ac_ext <<_ACEOF
3987     /* end confdefs.h. */
3988    
3989     int
3990     main ()
3991     {
3992     #ifndef __GNUC__
3993     choke me
3994     #endif
3995    
3996     ;
3997     return 0;
3998     }
3999     _ACEOF
4000     rm -f conftest.$ac_objext
4001     if { (ac_try="$ac_compile"
4002     case "(($ac_try" in
4003     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004     *) ac_try_echo=$ac_try;;
4005     esac
4006     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007     (eval "$ac_compile") 2>conftest.er1
4008     ac_status=$?
4009     grep -v '^ *+' conftest.er1 >conftest.err
4010     rm -f conftest.er1
4011     cat conftest.err >&5
4012     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013     (exit $ac_status); } && {
4014     test -z "$ac_cxx_werror_flag" ||
4015     test ! -s conftest.err
4016     } && test -s conftest.$ac_objext; then
4017     ac_compiler_gnu=yes
4018     else
4019     echo "$as_me: failed program was:" >&5
4020     sed 's/^/| /' conftest.$ac_ext >&5
4021    
4022     ac_compiler_gnu=no
4023     fi
4024    
4025     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4027    
4028     fi
4029     { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4030     echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4031     GXX=`test $ac_compiler_gnu = yes && echo yes`
4032     ac_test_CXXFLAGS=${CXXFLAGS+set}
4033     ac_save_CXXFLAGS=$CXXFLAGS
4034     { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4035     echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4036     if test "${ac_cv_prog_cxx_g+set}" = set; then
4037     echo $ECHO_N "(cached) $ECHO_C" >&6
4038     else
4039     ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4040     ac_cxx_werror_flag=yes
4041     ac_cv_prog_cxx_g=no
4042     CXXFLAGS="-g"
4043     cat >conftest.$ac_ext <<_ACEOF
4044     /* confdefs.h. */
4045     _ACEOF
4046     cat confdefs.h >>conftest.$ac_ext
4047     cat >>conftest.$ac_ext <<_ACEOF
4048     /* end confdefs.h. */
4049    
4050     int
4051     main ()
4052     {
4053    
4054     ;
4055     return 0;
4056     }
4057     _ACEOF
4058     rm -f conftest.$ac_objext
4059     if { (ac_try="$ac_compile"
4060     case "(($ac_try" in
4061     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062     *) ac_try_echo=$ac_try;;
4063     esac
4064     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065     (eval "$ac_compile") 2>conftest.er1
4066     ac_status=$?
4067     grep -v '^ *+' conftest.er1 >conftest.err
4068     rm -f conftest.er1
4069     cat conftest.err >&5
4070     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071     (exit $ac_status); } && {
4072     test -z "$ac_cxx_werror_flag" ||
4073     test ! -s conftest.err
4074     } && test -s conftest.$ac_objext; then
4075     ac_cv_prog_cxx_g=yes
4076     else
4077     echo "$as_me: failed program was:" >&5
4078     sed 's/^/| /' conftest.$ac_ext >&5
4079    
4080     CXXFLAGS=""
4081     cat >conftest.$ac_ext <<_ACEOF
4082     /* confdefs.h. */
4083     _ACEOF
4084     cat confdefs.h >>conftest.$ac_ext
4085     cat >>conftest.$ac_ext <<_ACEOF
4086     /* end confdefs.h. */
4087    
4088     int
4089     main ()
4090     {
4091    
4092     ;
4093     return 0;
4094     }
4095     _ACEOF
4096     rm -f conftest.$ac_objext
4097     if { (ac_try="$ac_compile"
4098     case "(($ac_try" in
4099     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100     *) ac_try_echo=$ac_try;;
4101     esac
4102     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103     (eval "$ac_compile") 2>conftest.er1
4104     ac_status=$?
4105     grep -v '^ *+' conftest.er1 >conftest.err
4106     rm -f conftest.er1
4107     cat conftest.err >&5
4108     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109     (exit $ac_status); } && {
4110     test -z "$ac_cxx_werror_flag" ||
4111     test ! -s conftest.err
4112     } && test -s conftest.$ac_objext; then
4113     :
4114     else
4115     echo "$as_me: failed program was:" >&5
4116     sed 's/^/| /' conftest.$ac_ext >&5
4117    
4118     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4119     CXXFLAGS="-g"
4120     cat >conftest.$ac_ext <<_ACEOF
4121     /* confdefs.h. */
4122     _ACEOF
4123     cat confdefs.h >>conftest.$ac_ext
4124     cat >>conftest.$ac_ext <<_ACEOF
4125     /* end confdefs.h. */
4126    
4127     int
4128     main ()
4129     {
4130    
4131     ;
4132     return 0;
4133     }
4134     _ACEOF
4135     rm -f conftest.$ac_objext
4136     if { (ac_try="$ac_compile"
4137     case "(($ac_try" in
4138     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139     *) ac_try_echo=$ac_try;;
4140     esac
4141     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142     (eval "$ac_compile") 2>conftest.er1
4143     ac_status=$?
4144     grep -v '^ *+' conftest.er1 >conftest.err
4145     rm -f conftest.er1
4146     cat conftest.err >&5
4147     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148     (exit $ac_status); } && {
4149     test -z "$ac_cxx_werror_flag" ||
4150     test ! -s conftest.err
4151     } && test -s conftest.$ac_objext; then
4152     ac_cv_prog_cxx_g=yes
4153     else
4154     echo "$as_me: failed program was:" >&5
4155     sed 's/^/| /' conftest.$ac_ext >&5
4156    
4157    
4158     fi
4159    
4160     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161     fi
4162    
4163     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164     fi
4165    
4166     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4168     fi
4169     { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4170     echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4171     if test "$ac_test_CXXFLAGS" = set; then
4172     CXXFLAGS=$ac_save_CXXFLAGS
4173     elif test $ac_cv_prog_cxx_g = yes; then
4174     if test "$GXX" = yes; then
4175     CXXFLAGS="-g -O2"
4176     else
4177     CXXFLAGS="-g"
4178     fi
4179     else
4180     if test "$GXX" = yes; then
4181     CXXFLAGS="-O2"
4182     else
4183     CXXFLAGS=
4184     fi
4185     fi
4186     ac_ext=c
4187     ac_cpp='$CPP $CPPFLAGS'
4188     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190     ac_compiler_gnu=$ac_cv_c_compiler_gnu
4191    
4192     depcc="$CXX" am_compiler_list=
4193    
4194     { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4195     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4196     if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4197     echo $ECHO_N "(cached) $ECHO_C" >&6
4198     else
4199     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4200     # We make a subdir and do the tests there. Otherwise we can end up
4201     # making bogus files that we don't know about and never remove. For
4202     # instance it was reported that on HP-UX the gcc test will end up
4203     # making a dummy file named `D' -- because `-MD' means `put the output
4204     # in D'.
4205     mkdir conftest.dir
4206     # Copy depcomp to subdir because otherwise we won't find it if we're
4207     # using a relative directory.
4208     cp "$am_depcomp" conftest.dir
4209     cd conftest.dir
4210     # We will build objects and dependencies in a subdirectory because
4211     # it helps to detect inapplicable dependency modes. For instance
4212     # both Tru64's cc and ICC support -MD to output dependencies as a
4213     # side effect of compilation, but ICC will put the dependencies in
4214     # the current directory while Tru64 will put them in the object
4215     # directory.
4216     mkdir sub
4217    
4218     am_cv_CXX_dependencies_compiler_type=none
4219     if test "$am_compiler_list" = ""; then
4220     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4221     fi
4222     for depmode in $am_compiler_list; do
4223     # Setup a source with many dependencies, because some compilers
4224     # like to wrap large dependency lists on column 80 (with \), and
4225     # we should not choose a depcomp mode which is confused by this.
4226     #
4227     # We need to recreate these files for each test, as the compiler may
4228     # overwrite some of them when testing with obscure command lines.
4229     # This happens at least with the AIX C compiler.
4230     : > sub/conftest.c
4231     for i in 1 2 3 4 5 6; do
4232     echo '#include "conftst'$i'.h"' >> sub/conftest.c
4233     : > sub/conftst$i.h
4234     done
4235     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4236    
4237     case $depmode in
4238     nosideeffect)
4239     # after this tag, mechanisms are not by side-effect, so they'll
4240     # only be used when explicitly requested
4241     if test "x$enable_dependency_tracking" = xyes; then
4242     continue
4243     else
4244     break
4245     fi
4246     ;;
4247     none) break ;;
4248     esac
4249     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4250     # mode. It turns out that the SunPro C++ compiler does not properly
4251     # handle `-M -o', and we need to detect this.
4252     if depmode=$depmode \
4253     source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4254     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4255     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4256     >/dev/null 2>conftest.err &&
4257     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4258     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4259     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4260     # icc doesn't choke on unknown options, it will just issue warnings
4261     # (even with -Werror). So we grep stderr for any message
4262     # that says an option was ignored.
4263     if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4264     am_cv_CXX_dependencies_compiler_type=$depmode
4265     break
4266     fi
4267     fi
4268     done
4269    
4270     cd ..
4271     rm -rf conftest.dir
4272     else
4273     am_cv_CXX_dependencies_compiler_type=none
4274     fi
4275    
4276     fi
4277     { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4278     echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4279     CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4280    
4281    
4282    
4283     if
4284     test "x$enable_dependency_tracking" != xno \
4285     && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4286     am__fastdepCXX_TRUE=
4287     am__fastdepCXX_FALSE='#'
4288     else
4289     am__fastdepCXX_TRUE='#'
4290     am__fastdepCXX_FALSE=
4291     fi
4292    
4293    
4294    
4295     ac_ext=cpp
4296     ac_cpp='$CXXCPP $CPPFLAGS'
4297     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300    
4301    
4302    
4303    
4304    
4305    
4306     # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4307    
4308    
4309    
4310    
4311    
4312    
4313    
4314    
4315    
4316     for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4317     inttypes.h stdint.h unistd.h
4318     do
4319     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320     { echo "$as_me:$LINENO: checking for $ac_header" >&5
4321     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4322     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4323     echo $ECHO_N "(cached) $ECHO_C" >&6
4324     else
4325     cat >conftest.$ac_ext <<_ACEOF
4326     /* confdefs.h. */
4327     _ACEOF
4328     cat confdefs.h >>conftest.$ac_ext
4329     cat >>conftest.$ac_ext <<_ACEOF
4330     /* end confdefs.h. */
4331     $ac_includes_default
4332    
4333     #include <$ac_header>
4334     _ACEOF
4335     rm -f conftest.$ac_objext
4336     if { (ac_try="$ac_compile"
4337     case "(($ac_try" in
4338     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339     *) ac_try_echo=$ac_try;;
4340     esac
4341     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342     (eval "$ac_compile") 2>conftest.er1
4343     ac_status=$?
4344     grep -v '^ *+' conftest.er1 >conftest.err
4345     rm -f conftest.er1
4346     cat conftest.err >&5
4347     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348     (exit $ac_status); } && {
4349     test -z "$ac_cxx_werror_flag" ||
4350     test ! -s conftest.err
4351     } && test -s conftest.$ac_objext; then
4352     eval "$as_ac_Header=yes"
4353     else
4354     echo "$as_me: failed program was:" >&5
4355     sed 's/^/| /' conftest.$ac_ext >&5
4356    
4357     eval "$as_ac_Header=no"
4358     fi
4359    
4360     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361     fi
4362     ac_res=`eval echo '${'$as_ac_Header'}'`
4363     { echo "$as_me:$LINENO: result: $ac_res" >&5
4364     echo "${ECHO_T}$ac_res" >&6; }
4365     if test `eval echo '${'$as_ac_Header'}'` = yes; then
4366     cat >>confdefs.h <<_ACEOF
4367     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4368     _ACEOF
4369    
4370     fi
4371    
4372     done
4373    
4374    
4375     ac_ext=cpp
4376     ac_cpp='$CXXCPP $CPPFLAGS'
4377     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4380     { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4381     echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4382     if test -z "$CXXCPP"; then
4383     if test "${ac_cv_prog_CXXCPP+set}" = set; then
4384     echo $ECHO_N "(cached) $ECHO_C" >&6
4385     else
4386     # Double quotes because CXXCPP needs to be expanded
4387     for CXXCPP in "$CXX -E" "/lib/cpp"
4388     do
4389     ac_preproc_ok=false
4390     for ac_cxx_preproc_warn_flag in '' yes
4391     do
4392     # Use a header file that comes with gcc, so configuring glibc
4393     # with a fresh cross-compiler works.
4394     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4395     # <limits.h> exists even on freestanding compilers.
4396     # On the NeXT, cc -E runs the code through the compiler's parser,
4397     # not just through cpp. "Syntax error" is here to catch this case.
4398     cat >conftest.$ac_ext <<_ACEOF
4399     /* confdefs.h. */
4400     _ACEOF
4401     cat confdefs.h >>conftest.$ac_ext
4402     cat >>conftest.$ac_ext <<_ACEOF
4403     /* end confdefs.h. */
4404     #ifdef __STDC__
4405     # include <limits.h>
4406     #else
4407     # include <assert.h>
4408     #endif
4409     Syntax error
4410     _ACEOF
4411     if { (ac_try="$ac_cpp conftest.$ac_ext"
4412     case "(($ac_try" in
4413     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414     *) ac_try_echo=$ac_try;;
4415     esac
4416     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4418     ac_status=$?
4419     grep -v '^ *+' conftest.er1 >conftest.err
4420     rm -f conftest.er1
4421     cat conftest.err >&5
4422     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423     (exit $ac_status); } >/dev/null && {
4424     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4425     test ! -s conftest.err
4426     }; then
4427     :
4428     else
4429     echo "$as_me: failed program was:" >&5
4430     sed 's/^/| /' conftest.$ac_ext >&5
4431    
4432     # Broken: fails on valid input.
4433     continue
4434     fi
4435    
4436     rm -f conftest.err conftest.$ac_ext
4437    
4438     # OK, works on sane cases. Now check whether nonexistent headers
4439     # can be detected and how.
4440     cat >conftest.$ac_ext <<_ACEOF
4441     /* confdefs.h. */
4442     _ACEOF
4443     cat confdefs.h >>conftest.$ac_ext
4444     cat >>conftest.$ac_ext <<_ACEOF
4445     /* end confdefs.h. */
4446     #include <ac_nonexistent.h>
4447     _ACEOF
4448     if { (ac_try="$ac_cpp conftest.$ac_ext"
4449     case "(($ac_try" in
4450     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451     *) ac_try_echo=$ac_try;;
4452     esac
4453     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4455     ac_status=$?
4456     grep -v '^ *+' conftest.er1 >conftest.err
4457     rm -f conftest.er1
4458     cat conftest.err >&5
4459     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460     (exit $ac_status); } >/dev/null && {
4461     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4462     test ! -s conftest.err
4463     }; then
4464     # Broken: success on invalid input.
4465     continue
4466     else
4467     echo "$as_me: failed program was:" >&5
4468     sed 's/^/| /' conftest.$ac_ext >&5
4469    
4470     # Passes both tests.
4471     ac_preproc_ok=:
4472     break
4473     fi
4474    
4475     rm -f conftest.err conftest.$ac_ext
4476    
4477     done
4478     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4479     rm -f conftest.err conftest.$ac_ext
4480     if $ac_preproc_ok; then
4481     break
4482     fi
4483    
4484     done
4485     ac_cv_prog_CXXCPP=$CXXCPP
4486    
4487     fi
4488     CXXCPP=$ac_cv_prog_CXXCPP
4489     else
4490     ac_cv_prog_CXXCPP=$CXXCPP
4491     fi
4492     { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4493     echo "${ECHO_T}$CXXCPP" >&6; }
4494     ac_preproc_ok=false
4495     for ac_cxx_preproc_warn_flag in '' yes
4496     do
4497     # Use a header file that comes with gcc, so configuring glibc
4498     # with a fresh cross-compiler works.
4499     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4500     # <limits.h> exists even on freestanding compilers.
4501     # On the NeXT, cc -E runs the code through the compiler's parser,
4502     # not just through cpp. "Syntax error" is here to catch this case.
4503     cat >conftest.$ac_ext <<_ACEOF
4504     /* confdefs.h. */
4505     _ACEOF
4506     cat confdefs.h >>conftest.$ac_ext
4507     cat >>conftest.$ac_ext <<_ACEOF
4508     /* end confdefs.h. */
4509     #ifdef __STDC__
4510     # include <limits.h>
4511     #else
4512     # include <assert.h>
4513     #endif
4514     Syntax error
4515     _ACEOF
4516     if { (ac_try="$ac_cpp conftest.$ac_ext"
4517     case "(($ac_try" in
4518     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519     *) ac_try_echo=$ac_try;;
4520     esac
4521     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4523     ac_status=$?
4524     grep -v '^ *+' conftest.er1 >conftest.err
4525     rm -f conftest.er1
4526     cat conftest.err >&5
4527     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528     (exit $ac_status); } >/dev/null && {
4529     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4530     test ! -s conftest.err
4531     }; then
4532     :
4533     else
4534     echo "$as_me: failed program was:" >&5
4535     sed 's/^/| /' conftest.$ac_ext >&5
4536    
4537     # Broken: fails on valid input.
4538     continue
4539     fi
4540    
4541     rm -f conftest.err conftest.$ac_ext
4542    
4543     # OK, works on sane cases. Now check whether nonexistent headers
4544     # can be detected and how.
4545     cat >conftest.$ac_ext <<_ACEOF
4546     /* confdefs.h. */
4547     _ACEOF
4548     cat confdefs.h >>conftest.$ac_ext
4549     cat >>conftest.$ac_ext <<_ACEOF
4550     /* end confdefs.h. */
4551     #include <ac_nonexistent.h>
4552     _ACEOF
4553     if { (ac_try="$ac_cpp conftest.$ac_ext"
4554     case "(($ac_try" in
4555     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556     *) ac_try_echo=$ac_try;;
4557     esac
4558     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4560     ac_status=$?
4561     grep -v '^ *+' conftest.er1 >conftest.err
4562     rm -f conftest.er1
4563     cat conftest.err >&5
4564     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565     (exit $ac_status); } >/dev/null && {
4566     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4567     test ! -s conftest.err
4568     }; then
4569     # Broken: success on invalid input.
4570     continue
4571     else
4572     echo "$as_me: failed program was:" >&5
4573     sed 's/^/| /' conftest.$ac_ext >&5
4574    
4575     # Passes both tests.
4576     ac_preproc_ok=:
4577     break
4578     fi
4579    
4580     rm -f conftest.err conftest.$ac_ext
4581    
4582     done
4583     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584     rm -f conftest.err conftest.$ac_ext
4585     if $ac_preproc_ok; then
4586     :
4587     else
4588     { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4589     See \`config.log' for more details." >&5
4590     echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4591     See \`config.log' for more details." >&2;}
4592     { (exit 1); exit 1; }; }
4593     fi
4594    
4595     ac_ext=cpp
4596     ac_cpp='$CXXCPP $CPPFLAGS'
4597     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4600    
4601    
4602    
4603     for ac_header in GL/gl.h
4604     do
4605     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4606     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4607     { echo "$as_me:$LINENO: checking for $ac_header" >&5
4608     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4609     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610     echo $ECHO_N "(cached) $ECHO_C" >&6
4611     fi
4612     ac_res=`eval echo '${'$as_ac_Header'}'`
4613     { echo "$as_me:$LINENO: result: $ac_res" >&5
4614     echo "${ECHO_T}$ac_res" >&6; }
4615     else
4616     # Is the header compilable?
4617     { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4618     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4619     cat >conftest.$ac_ext <<_ACEOF
4620     /* confdefs.h. */
4621     _ACEOF
4622     cat confdefs.h >>conftest.$ac_ext
4623     cat >>conftest.$ac_ext <<_ACEOF
4624     /* end confdefs.h. */
4625     $ac_includes_default
4626     #include <$ac_header>
4627     _ACEOF
4628     rm -f conftest.$ac_objext
4629     if { (ac_try="$ac_compile"
4630     case "(($ac_try" in
4631     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632     *) ac_try_echo=$ac_try;;
4633     esac
4634     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4635     (eval "$ac_compile") 2>conftest.er1
4636     ac_status=$?
4637     grep -v '^ *+' conftest.er1 >conftest.err
4638     rm -f conftest.er1
4639     cat conftest.err >&5
4640     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641     (exit $ac_status); } && {
4642     test -z "$ac_cxx_werror_flag" ||
4643     test ! -s conftest.err
4644     } && test -s conftest.$ac_objext; then
4645     ac_header_compiler=yes
4646     else
4647     echo "$as_me: failed program was:" >&5
4648     sed 's/^/| /' conftest.$ac_ext >&5
4649    
4650     ac_header_compiler=no
4651     fi
4652    
4653     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654     { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4655     echo "${ECHO_T}$ac_header_compiler" >&6; }
4656    
4657     # Is the header present?
4658     { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4659     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4660     cat >conftest.$ac_ext <<_ACEOF
4661     /* confdefs.h. */
4662     _ACEOF
4663     cat confdefs.h >>conftest.$ac_ext
4664     cat >>conftest.$ac_ext <<_ACEOF
4665     /* end confdefs.h. */
4666     #include <$ac_header>
4667     _ACEOF
4668     if { (ac_try="$ac_cpp conftest.$ac_ext"
4669     case "(($ac_try" in
4670     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671     *) ac_try_echo=$ac_try;;
4672     esac
4673     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4675     ac_status=$?
4676     grep -v '^ *+' conftest.er1 >conftest.err
4677     rm -f conftest.er1
4678     cat conftest.err >&5
4679     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680     (exit $ac_status); } >/dev/null && {
4681     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4682     test ! -s conftest.err
4683     }; then
4684     ac_header_preproc=yes
4685     else
4686     echo "$as_me: failed program was:" >&5
4687     sed 's/^/| /' conftest.$ac_ext >&5
4688    
4689     ac_header_preproc=no
4690     fi
4691    
4692     rm -f conftest.err conftest.$ac_ext
4693     { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4694     echo "${ECHO_T}$ac_header_preproc" >&6; }
4695    
4696     # So? What about this header?
4697     case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4698     yes:no: )
4699     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4700     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4701     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4702     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4703     ac_header_preproc=yes
4704     ;;
4705     no:yes:* )
4706     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4707     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4708     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4709     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4710     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4711     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4712     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4713     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4714     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4715     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4716     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4717     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4718    
4719     ;;
4720     esac
4721     { echo "$as_me:$LINENO: checking for $ac_header" >&5
4722     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4723     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724     echo $ECHO_N "(cached) $ECHO_C" >&6
4725     else
4726     eval "$as_ac_Header=\$ac_header_preproc"
4727     fi
4728     ac_res=`eval echo '${'$as_ac_Header'}'`
4729     { echo "$as_me:$LINENO: result: $ac_res" >&5
4730     echo "${ECHO_T}$ac_res" >&6; }
4731    
4732     fi
4733     if test `eval echo '${'$as_ac_Header'}'` = yes; then
4734     cat >>confdefs.h <<_ACEOF
4735     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4736     _ACEOF
4737    
4738    
4739     for ac_header in GL/glu.h
4740     do
4741     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4742     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4743     { echo "$as_me:$LINENO: checking for $ac_header" >&5
4744     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4745     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4746     echo $ECHO_N "(cached) $ECHO_C" >&6
4747     fi
4748     ac_res=`eval echo '${'$as_ac_Header'}'`
4749     { echo "$as_me:$LINENO: result: $ac_res" >&5
4750     echo "${ECHO_T}$ac_res" >&6; }
4751     else
4752     # Is the header compilable?
4753     { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4754     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4755     cat >conftest.$ac_ext <<_ACEOF
4756     /* confdefs.h. */
4757     _ACEOF
4758     cat confdefs.h >>conftest.$ac_ext
4759     cat >>conftest.$ac_ext <<_ACEOF
4760     /* end confdefs.h. */
4761     $ac_includes_default
4762     #include <$ac_header>
4763     _ACEOF
4764     rm -f conftest.$ac_objext
4765     if { (ac_try="$ac_compile"
4766     case "(($ac_try" in
4767     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768     *) ac_try_echo=$ac_try;;
4769     esac
4770     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771     (eval "$ac_compile") 2>conftest.er1
4772     ac_status=$?
4773     grep -v '^ *+' conftest.er1 >conftest.err
4774     rm -f conftest.er1
4775     cat conftest.err >&5
4776     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777     (exit $ac_status); } && {
4778     test -z "$ac_cxx_werror_flag" ||
4779     test ! -s conftest.err
4780     } && test -s conftest.$ac_objext; then
4781     ac_header_compiler=yes
4782     else
4783     echo "$as_me: failed program was:" >&5
4784     sed 's/^/| /' conftest.$ac_ext >&5
4785    
4786     ac_header_compiler=no
4787     fi
4788    
4789     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4790     { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4791     echo "${ECHO_T}$ac_header_compiler" >&6; }
4792    
4793     # Is the header present?
4794     { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4795     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4796     cat >conftest.$ac_ext <<_ACEOF
4797     /* confdefs.h. */
4798     _ACEOF
4799     cat confdefs.h >>conftest.$ac_ext
4800     cat >>conftest.$ac_ext <<_ACEOF
4801     /* end confdefs.h. */
4802     #include <$ac_header>
4803     _ACEOF
4804     if { (ac_try="$ac_cpp conftest.$ac_ext"
4805     case "(($ac_try" in
4806     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807     *) ac_try_echo=$ac_try;;
4808     esac
4809     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4810     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4811     ac_status=$?
4812     grep -v '^ *+' conftest.er1 >conftest.err
4813     rm -f conftest.er1
4814     cat conftest.err >&5
4815     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816     (exit $ac_status); } >/dev/null && {
4817     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4818     test ! -s conftest.err
4819     }; then
4820     ac_header_preproc=yes
4821     else
4822     echo "$as_me: failed program was:" >&5
4823     sed 's/^/| /' conftest.$ac_ext >&5
4824    
4825     ac_header_preproc=no
4826     fi
4827    
4828     rm -f conftest.err conftest.$ac_ext
4829     { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4830     echo "${ECHO_T}$ac_header_preproc" >&6; }
4831    
4832     # So? What about this header?
4833     case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4834     yes:no: )
4835     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4836     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4837     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4838     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4839     ac_header_preproc=yes
4840     ;;
4841     no:yes:* )
4842     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4843     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4844     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4845     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4846     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4847     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4848     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4849     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4850     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4851     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4852     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4853     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4854    
4855     ;;
4856     esac
4857     { echo "$as_me:$LINENO: checking for $ac_header" >&5
4858     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4859     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4860     echo $ECHO_N "(cached) $ECHO_C" >&6
4861     else
4862     eval "$as_ac_Header=\$ac_header_preproc"
4863     fi
4864     ac_res=`eval echo '${'$as_ac_Header'}'`
4865     { echo "$as_me:$LINENO: result: $ac_res" >&5
4866     echo "${ECHO_T}$ac_res" >&6; }
4867    
4868     fi
4869     if test `eval echo '${'$as_ac_Header'}'` = yes; then
4870     cat >>confdefs.h <<_ACEOF
4871     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4872     _ACEOF
4873    
4874     { echo "$as_me:$LINENO: checking for X" >&5
4875     echo $ECHO_N "checking for X... $ECHO_C" >&6; }
4876    
4877    
4878     # Check whether --with-x was given.
4879     if test "${with_x+set}" = set; then
4880     withval=$with_x;
4881     fi
4882    
4883     # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4884     if test "x$with_x" = xno; then
4885     # The user explicitly disabled X.
4886     have_x=disabled
4887     else
4888     case $x_includes,$x_libraries in #(
4889     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
4890     echo "$as_me: error: Cannot use X directory names containing '" >&2;}
4891     { (exit 1); exit 1; }; };; #(
4892     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
4893     echo $ECHO_N "(cached) $ECHO_C" >&6
4894     else
4895     # One or both of the vars are not set, and there is no cached value.
4896     ac_x_includes=no ac_x_libraries=no
4897     rm -f -r conftest.dir
4898     if mkdir conftest.dir; then
4899     cd conftest.dir
4900     cat >Imakefile <<'_ACEOF'
4901     incroot:
4902     @echo incroot='${INCROOT}'
4903     usrlibdir:
4904     @echo usrlibdir='${USRLIBDIR}'
4905     libdir:
4906     @echo libdir='${LIBDIR}'
4907     _ACEOF
4908     if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4909     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4910     for ac_var in incroot usrlibdir libdir; do
4911     eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4912     done
4913     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4914     for ac_extension in a so sl; do
4915     if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4916     test -f "$ac_im_libdir/libX11.$ac_extension"; then
4917     ac_im_usrlibdir=$ac_im_libdir; break
4918     fi
4919     done
4920     # Screen out bogus values from the imake configuration. They are
4921     # bogus both because they are the default anyway, and because
4922     # using them would break gcc on systems where it needs fixed includes.
4923     case $ac_im_incroot in
4924     /usr/include) ac_x_includes= ;;
4925     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4926     esac
4927     case $ac_im_usrlibdir in
4928     /usr/lib | /lib) ;;
4929     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4930     esac
4931     fi
4932     cd ..
4933     rm -f -r conftest.dir
4934     fi
4935    
4936     # Standard set of common directories for X headers.
4937     # Check X11 before X11Rn because it is often a symlink to the current release.
4938     ac_x_header_dirs='
4939     /usr/X11/include
4940     /usr/X11R6/include
4941     /usr/X11R5/include
4942     /usr/X11R4/include
4943    
4944     /usr/include/X11
4945     /usr/include/X11R6
4946     /usr/include/X11R5
4947     /usr/include/X11R4
4948    
4949     /usr/local/X11/include
4950     /usr/local/X11R6/include
4951     /usr/local/X11R5/include
4952     /usr/local/X11R4/include
4953    
4954     /usr/local/include/X11
4955     /usr/local/include/X11R6
4956     /usr/local/include/X11R5
4957     /usr/local/include/X11R4
4958    
4959     /usr/X386/include
4960     /usr/x386/include
4961     /usr/XFree86/include/X11
4962    
4963     /usr/include
4964     /usr/local/include
4965     /usr/unsupported/include
4966     /usr/athena/include
4967     /usr/local/x11r5/include
4968     /usr/lpp/Xamples/include
4969    
4970     /usr/openwin/include
4971     /usr/openwin/share/include'
4972    
4973     if test "$ac_x_includes" = no; then
4974     # Guess where to find include files, by looking for Xlib.h.
4975     # First, try using that file with no special directory specified.
4976     cat >conftest.$ac_ext <<_ACEOF
4977     /* confdefs.h. */
4978     _ACEOF
4979     cat confdefs.h >>conftest.$ac_ext
4980     cat >>conftest.$ac_ext <<_ACEOF
4981     /* end confdefs.h. */
4982     #include <X11/Xlib.h>
4983     _ACEOF
4984     if { (ac_try="$ac_cpp conftest.$ac_ext"
4985     case "(($ac_try" in
4986     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987     *) ac_try_echo=$ac_try;;
4988     esac
4989     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4991     ac_status=$?
4992     grep -v '^ *+' conftest.er1 >conftest.err
4993     rm -f conftest.er1
4994     cat conftest.err >&5
4995     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996     (exit $ac_status); } >/dev/null && {
4997     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4998     test ! -s conftest.err
4999     }; then
5000     # We can compile using X headers with no special include directory.
5001     ac_x_includes=
5002     else
5003     echo "$as_me: failed program was:" >&5
5004     sed 's/^/| /' conftest.$ac_ext >&5
5005    
5006     for ac_dir in $ac_x_header_dirs; do
5007     if test -r "$ac_dir/X11/Xlib.h"; then
5008     ac_x_includes=$ac_dir
5009     break
5010     fi
5011     done
5012     fi
5013    
5014     rm -f conftest.err conftest.$ac_ext
5015     fi # $ac_x_includes = no
5016    
5017     if test "$ac_x_libraries" = no; then
5018     # Check for the libraries.
5019     # See if we find them without any special options.
5020     # Don't add to $LIBS permanently.
5021     ac_save_LIBS=$LIBS
5022     LIBS="-lX11 $LIBS"
5023     cat >conftest.$ac_ext <<_ACEOF
5024     /* confdefs.h. */
5025     _ACEOF
5026     cat confdefs.h >>conftest.$ac_ext
5027     cat >>conftest.$ac_ext <<_ACEOF
5028     /* end confdefs.h. */
5029     #include <X11/Xlib.h>
5030     int
5031     main ()
5032     {
5033     XrmInitialize ()
5034     ;
5035     return 0;
5036     }
5037     _ACEOF
5038     rm -f conftest.$ac_objext conftest$ac_exeext
5039     if { (ac_try="$ac_link"
5040     case "(($ac_try" in
5041     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042     *) ac_try_echo=$ac_try;;
5043     esac
5044     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045     (eval "$ac_link") 2>conftest.er1
5046     ac_status=$?
5047     grep -v '^ *+' conftest.er1 >conftest.err
5048     rm -f conftest.er1
5049     cat conftest.err >&5
5050     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051     (exit $ac_status); } && {
5052     test -z "$ac_cxx_werror_flag" ||
5053     test ! -s conftest.err
5054     } && test -s conftest$ac_exeext &&
5055     $as_test_x conftest$ac_exeext; then
5056     LIBS=$ac_save_LIBS
5057     # We can link X programs with no special library path.
5058     ac_x_libraries=
5059     else
5060     echo "$as_me: failed program was:" >&5
5061     sed 's/^/| /' conftest.$ac_ext >&5
5062    
5063     LIBS=$ac_save_LIBS
5064     for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5065     do
5066     # Don't even attempt the hair of trying to link an X program!
5067     for ac_extension in a so sl; do
5068     if test -r "$ac_dir/libX11.$ac_extension"; then
5069     ac_x_libraries=$ac_dir
5070     break 2
5071     fi
5072     done
5073     done
5074     fi
5075    
5076     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5077     conftest$ac_exeext conftest.$ac_ext
5078     fi # $ac_x_libraries = no
5079    
5080     case $ac_x_includes,$ac_x_libraries in #(
5081     no,* | *,no | *\'*)
5082     # Didn't find X, or a directory has "'" in its name.
5083     ac_cv_have_x="have_x=no";; #(
5084     *)
5085     # Record where we found X for the cache.
5086     ac_cv_have_x="have_x=yes\
5087     ac_x_includes='$ac_x_includes'\
5088     ac_x_libraries='$ac_x_libraries'"
5089     esac
5090     fi
5091     ;; #(
5092     *) have_x=yes;;
5093     esac
5094     eval "$ac_cv_have_x"
5095     fi # $with_x != no
5096    
5097     if test "$have_x" != yes; then
5098     { echo "$as_me:$LINENO: result: $have_x" >&5
5099     echo "${ECHO_T}$have_x" >&6; }
5100     no_x=yes
5101     else
5102     # If each of the values was on the command line, it overrides each guess.
5103     test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5104     test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5105     # Update the cache value to reflect the command line values.
5106     ac_cv_have_x="have_x=yes\
5107     ac_x_includes='$x_includes'\
5108     ac_x_libraries='$x_libraries'"
5109     { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5110     echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
5111     fi
5112    
5113     CPPFLAGS="$CPPFLAGS -I$x_includes"
5114     LIBS="$LIBS -L$x_libraries -lX11"
5115     { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
5116     echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
5117     if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
5118     echo $ECHO_N "(cached) $ECHO_C" >&6
5119     else
5120     ac_check_lib_save_LIBS=$LIBS
5121     LIBS="-lXext $LIBS"
5122     cat >conftest.$ac_ext <<_ACEOF
5123     /* confdefs.h. */
5124     _ACEOF
5125     cat confdefs.h >>conftest.$ac_ext
5126     cat >>conftest.$ac_ext <<_ACEOF
5127     /* end confdefs.h. */
5128    
5129     /* Override any GCC internal prototype to avoid an error.
5130     Use char because int might match the return type of a GCC
5131     builtin and then its argument prototype would still apply. */
5132     #ifdef __cplusplus
5133     extern "C"
5134     #endif
5135     char XShapeQueryExtension ();
5136     int
5137     main ()
5138     {
5139     return XShapeQueryExtension ();
5140     ;
5141     return 0;
5142     }
5143     _ACEOF
5144     rm -f conftest.$ac_objext conftest$ac_exeext
5145     if { (ac_try="$ac_link"
5146     case "(($ac_try" in
5147     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5148     *) ac_try_echo=$ac_try;;
5149     esac
5150     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5151     (eval "$ac_link") 2>conftest.er1
5152     ac_status=$?
5153     grep -v '^ *+' conftest.er1 >conftest.err
5154     rm -f conftest.er1
5155     cat conftest.err >&5
5156     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157     (exit $ac_status); } && {
5158     test -z "$ac_cxx_werror_flag" ||
5159     test ! -s conftest.err
5160     } && test -s conftest$ac_exeext &&
5161     $as_test_x conftest$ac_exeext; then
5162     ac_cv_lib_Xext_XShapeQueryExtension=yes
5163     else
5164     echo "$as_me: failed program was:" >&5
5165     sed 's/^/| /' conftest.$ac_ext >&5
5166    
5167     ac_cv_lib_Xext_XShapeQueryExtension=no
5168     fi
5169    
5170     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5171     conftest$ac_exeext conftest.$ac_ext
5172     LIBS=$ac_check_lib_save_LIBS
5173     fi
5174     { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
5175     echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
5176     if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
5177    
5178     LIBS="$LIBS -lXext"
5179     { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
5180     echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
5181     if test "${ac_cv_lib_GL_glBegin+set}" = set; then
5182     echo $ECHO_N "(cached) $ECHO_C" >&6
5183     else
5184     ac_check_lib_save_LIBS=$LIBS
5185     LIBS="-lGL $LIBS -lpthread $LIBS"
5186     cat >conftest.$ac_ext <<_ACEOF
5187     /* confdefs.h. */
5188     _ACEOF
5189     cat confdefs.h >>conftest.$ac_ext
5190     cat >>conftest.$ac_ext <<_ACEOF
5191     /* end confdefs.h. */
5192    
5193     /* Override any GCC internal prototype to avoid an error.
5194     Use char because int might match the return type of a GCC
5195     builtin and then its argument prototype would still apply. */
5196     #ifdef __cplusplus
5197     extern "C"
5198     #endif
5199     char glBegin ();
5200     int
5201     main ()
5202     {
5203     return glBegin ();
5204     ;
5205     return 0;
5206     }
5207     _ACEOF
5208     rm -f conftest.$ac_objext conftest$ac_exeext
5209     if { (ac_try="$ac_link"
5210     case "(($ac_try" in
5211     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212     *) ac_try_echo=$ac_try;;
5213     esac
5214     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215     (eval "$ac_link") 2>conftest.er1
5216     ac_status=$?
5217     grep -v '^ *+' conftest.er1 >conftest.err
5218     rm -f conftest.er1
5219     cat conftest.err >&5
5220     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221     (exit $ac_status); } && {
5222     test -z "$ac_cxx_werror_flag" ||
5223     test ! -s conftest.err
5224     } && test -s conftest$ac_exeext &&
5225     $as_test_x conftest$ac_exeext; then
5226     ac_cv_lib_GL_glBegin=yes
5227     else
5228     echo "$as_me: failed program was:" >&5
5229     sed 's/^/| /' conftest.$ac_ext >&5
5230    
5231     ac_cv_lib_GL_glBegin=no
5232     fi
5233    
5234     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5235     conftest$ac_exeext conftest.$ac_ext
5236     LIBS=$ac_check_lib_save_LIBS
5237     fi
5238     { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
5239     echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
5240     if test $ac_cv_lib_GL_glBegin = yes; then
5241    
5242     { echo "$as_me:$LINENO: checking for gluCylinder in -lGLU" >&5
5243     echo $ECHO_N "checking for gluCylinder in -lGLU... $ECHO_C" >&6; }
5244     if test "${ac_cv_lib_GLU_gluCylinder+set}" = set; then
5245     echo $ECHO_N "(cached) $ECHO_C" >&6
5246     else
5247     ac_check_lib_save_LIBS=$LIBS
5248     LIBS="-lGLU $LIBS -lGL -lpthread $LIBS"
5249     cat >conftest.$ac_ext <<_ACEOF
5250     /* confdefs.h. */
5251     _ACEOF
5252     cat confdefs.h >>conftest.$ac_ext
5253     cat >>conftest.$ac_ext <<_ACEOF
5254     /* end confdefs.h. */
5255    
5256     /* Override any GCC internal prototype to avoid an error.
5257     Use char because int might match the return type of a GCC
5258     builtin and then its argument prototype would still apply. */
5259     #ifdef __cplusplus
5260     extern "C"
5261     #endif
5262     char gluCylinder ();
5263     int
5264     main ()
5265     {
5266     return gluCylinder ();
5267     ;
5268     return 0;
5269     }
5270     _ACEOF
5271     rm -f conftest.$ac_objext conftest$ac_exeext
5272     if { (ac_try="$ac_link"
5273     case "(($ac_try" in
5274     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275     *) ac_try_echo=$ac_try;;
5276     esac
5277     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5278     (eval "$ac_link") 2>conftest.er1
5279     ac_status=$?
5280     grep -v '^ *+' conftest.er1 >conftest.err
5281     rm -f conftest.er1
5282     cat conftest.err >&5
5283     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284     (exit $ac_status); } && {
5285     test -z "$ac_cxx_werror_flag" ||
5286     test ! -s conftest.err
5287     } && test -s conftest$ac_exeext &&
5288     $as_test_x conftest$ac_exeext; then
5289     ac_cv_lib_GLU_gluCylinder=yes
5290     else
5291     echo "$as_me: failed program was:" >&5
5292     sed 's/^/| /' conftest.$ac_ext >&5
5293    
5294     ac_cv_lib_GLU_gluCylinder=no
5295     fi
5296    
5297     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5298     conftest$ac_exeext conftest.$ac_ext
5299     LIBS=$ac_check_lib_save_LIBS
5300     fi
5301     { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluCylinder" >&5
5302     echo "${ECHO_T}$ac_cv_lib_GLU_gluCylinder" >&6; }
5303     if test $ac_cv_lib_GLU_gluCylinder = yes; then
5304    
5305     LIBS="$LIBS -lGL -lGLU -lpthread"
5306     have_gl=1
5307    
5308     fi
5309    
5310    
5311     fi
5312    
5313     { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
5314     echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
5315     if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
5316     echo $ECHO_N "(cached) $ECHO_C" >&6
5317     else
5318     ac_check_lib_save_LIBS=$LIBS
5319     LIBS="-lpthread $LIBS"
5320     cat >conftest.$ac_ext <<_ACEOF
5321     /* confdefs.h. */
5322     _ACEOF
5323     cat confdefs.h >>conftest.$ac_ext
5324     cat >>conftest.$ac_ext <<_ACEOF
5325     /* end confdefs.h. */
5326    
5327     /* Override any GCC internal prototype to avoid an error.
5328     Use char because int might match the return type of a GCC
5329     builtin and then its argument prototype would still apply. */
5330     #ifdef __cplusplus
5331     extern "C"
5332     #endif
5333     char pthread_create ();
5334     int
5335     main ()
5336     {
5337     return pthread_create ();
5338     ;
5339     return 0;
5340     }
5341     _ACEOF
5342     rm -f conftest.$ac_objext conftest$ac_exeext
5343     if { (ac_try="$ac_link"
5344     case "(($ac_try" in
5345     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346     *) ac_try_echo=$ac_try;;
5347     esac
5348     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5349     (eval "$ac_link") 2>conftest.er1
5350     ac_status=$?
5351     grep -v '^ *+' conftest.er1 >conftest.err
5352     rm -f conftest.er1
5353     cat conftest.err >&5
5354     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355     (exit $ac_status); } && {
5356     test -z "$ac_cxx_werror_flag" ||
5357     test ! -s conftest.err
5358     } && test -s conftest$ac_exeext &&
5359     $as_test_x conftest$ac_exeext; then
5360     ac_cv_lib_pthread_pthread_create=yes
5361     else
5362     echo "$as_me: failed program was:" >&5
5363     sed 's/^/| /' conftest.$ac_ext >&5
5364    
5365     ac_cv_lib_pthread_pthread_create=no
5366     fi
5367    
5368     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5369     conftest$ac_exeext conftest.$ac_ext
5370     LIBS=$ac_check_lib_save_LIBS
5371     fi
5372     { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
5373     echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
5374     if test $ac_cv_lib_pthread_pthread_create = yes; then
5375     PTHREAD=-lpthread
5376     fi
5377    
5378     if test -z "$have_gl" ; then
5379     { echo "$as_me:$LINENO: checking for glBegin in -lMesaGL" >&5
5380     echo $ECHO_N "checking for glBegin in -lMesaGL... $ECHO_C" >&6; }
5381     if test "${ac_cv_lib_MesaGL_glBegin+set}" = set; then
5382     echo $ECHO_N "(cached) $ECHO_C" >&6
5383     else
5384     ac_check_lib_save_LIBS=$LIBS
5385     LIBS="-lMesaGL $PTHREAD $LIBS"
5386     cat >conftest.$ac_ext <<_ACEOF
5387     /* confdefs.h. */
5388     _ACEOF
5389     cat confdefs.h >>conftest.$ac_ext
5390     cat >>conftest.$ac_ext <<_ACEOF
5391     /* end confdefs.h. */
5392    
5393     /* Override any GCC internal prototype to avoid an error.
5394     Use char because int might match the return type of a GCC
5395     builtin and then its argument prototype would still apply. */
5396     #ifdef __cplusplus
5397     extern "C"
5398     #endif
5399     char glBegin ();
5400     int
5401     main ()
5402     {
5403     return glBegin ();
5404     ;
5405     return 0;
5406     }
5407     _ACEOF
5408     rm -f conftest.$ac_objext conftest$ac_exeext
5409     if { (ac_try="$ac_link"
5410     case "(($ac_try" in
5411     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412     *) ac_try_echo=$ac_try;;
5413     esac
5414     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5415     (eval "$ac_link") 2>conftest.er1
5416     ac_status=$?
5417     grep -v '^ *+' conftest.er1 >conftest.err
5418     rm -f conftest.er1
5419     cat conftest.err >&5
5420     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421     (exit $ac_status); } && {
5422     test -z "$ac_cxx_werror_flag" ||
5423     test ! -s conftest.err
5424     } && test -s conftest$ac_exeext &&
5425     $as_test_x conftest$ac_exeext; then
5426     ac_cv_lib_MesaGL_glBegin=yes
5427     else
5428     echo "$as_me: failed program was:" >&5
5429     sed 's/^/| /' conftest.$ac_ext >&5
5430    
5431     ac_cv_lib_MesaGL_glBegin=no
5432     fi
5433    
5434     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5435     conftest$ac_exeext conftest.$ac_ext
5436     LIBS=$ac_check_lib_save_LIBS
5437     fi
5438     { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glBegin" >&5
5439     echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6; }
5440     if test $ac_cv_lib_MesaGL_glBegin = yes; then
5441    
5442     { echo "$as_me:$LINENO: checking for gluCylinder in -lMesaGLU" >&5
5443     echo $ECHO_N "checking for gluCylinder in -lMesaGLU... $ECHO_C" >&6; }
5444     if test "${ac_cv_lib_MesaGLU_gluCylinder+set}" = set; then
5445     echo $ECHO_N "(cached) $ECHO_C" >&6
5446     else
5447     ac_check_lib_save_LIBS=$LIBS
5448     LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS"
5449     cat >conftest.$ac_ext <<_ACEOF
5450     /* confdefs.h. */
5451     _ACEOF
5452     cat confdefs.h >>conftest.$ac_ext
5453     cat >>conftest.$ac_ext <<_ACEOF
5454     /* end confdefs.h. */
5455    
5456     /* Override any GCC internal prototype to avoid an error.
5457     Use char because int might match the return type of a GCC
5458     builtin and then its argument prototype would still apply. */
5459     #ifdef __cplusplus
5460     extern "C"
5461     #endif
5462     char gluCylinder ();
5463     int
5464     main ()
5465     {
5466     return gluCylinder ();
5467     ;
5468     return 0;
5469     }
5470     _ACEOF
5471     rm -f conftest.$ac_objext conftest$ac_exeext
5472     if { (ac_try="$ac_link"
5473     case "(($ac_try" in
5474     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5475     *) ac_try_echo=$ac_try;;
5476     esac
5477     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5478     (eval "$ac_link") 2>conftest.er1
5479     ac_status=$?
5480     grep -v '^ *+' conftest.er1 >conftest.err
5481     rm -f conftest.er1
5482     cat conftest.err >&5
5483     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484     (exit $ac_status); } && {
5485     test -z "$ac_cxx_werror_flag" ||
5486     test ! -s conftest.err
5487     } && test -s conftest$ac_exeext &&
5488     $as_test_x conftest$ac_exeext; then
5489     ac_cv_lib_MesaGLU_gluCylinder=yes
5490     else
5491     echo "$as_me: failed program was:" >&5
5492     sed 's/^/| /' conftest.$ac_ext >&5
5493    
5494     ac_cv_lib_MesaGLU_gluCylinder=no
5495     fi
5496    
5497     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5498     conftest$ac_exeext conftest.$ac_ext
5499     LIBS=$ac_check_lib_save_LIBS
5500     fi
5501     { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5
5502     echo "${ECHO_T}$ac_cv_lib_MesaGLU_gluCylinder" >&6; }
5503     if test $ac_cv_lib_MesaGLU_gluCylinder = yes; then
5504    
5505     LIBS="$LIBS -lMesaGL -lMesaGLU"
5506     have_gl=1
5507     if test -n "$PTHREAD" ; then
5508     { echo "$as_me:$LINENO: checking wether mesa requires $PTHREAD" >&5
5509     echo $ECHO_N "checking wether mesa requires $PTHREAD... $ECHO_C" >&6; }
5510     cat >conftest.$ac_ext <<_ACEOF
5511     /* confdefs.h. */
5512     _ACEOF
5513     cat confdefs.h >>conftest.$ac_ext
5514     cat >>conftest.$ac_ext <<_ACEOF
5515     /* end confdefs.h. */
5516    
5517     int
5518     main ()
5519     {
5520     glBegin()
5521     ;
5522     return 0;
5523     }
5524     _ACEOF
5525     rm -f conftest.$ac_objext conftest$ac_exeext
5526     if { (ac_try="$ac_link"
5527     case "(($ac_try" in
5528     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5529     *) ac_try_echo=$ac_try;;
5530     esac
5531     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532     (eval "$ac_link") 2>conftest.er1
5533     ac_status=$?
5534     grep -v '^ *+' conftest.er1 >conftest.err
5535     rm -f conftest.er1
5536     cat conftest.err >&5
5537     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538     (exit $ac_status); } && {
5539     test -z "$ac_cxx_werror_flag" ||
5540     test ! -s conftest.err
5541     } && test -s conftest$ac_exeext &&
5542     $as_test_x conftest$ac_exeext; then
5543     { echo "$as_me:$LINENO: result: no" >&5
5544     echo "${ECHO_T}no" >&6; }
5545     else
5546     echo "$as_me: failed program was:" >&5
5547     sed 's/^/| /' conftest.$ac_ext >&5
5548    
5549     { echo "$as_me:$LINENO: result: yes" >&5
5550     echo "${ECHO_T}yes" >&6; }
5551     LIBS="$LIBS $PTHREAD"
5552     fi
5553    
5554     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5555     conftest$ac_exeext conftest.$ac_ext
5556     fi
5557    
5558     fi
5559    
5560    
5561     fi
5562    
5563     fi
5564    
5565     fi
5566    
5567    
5568     fi
5569    
5570     done
5571    
5572    
5573     fi
5574    
5575     done
5576    
5577    
5578     { echo "$as_me:$LINENO: checking for opengl support" >&5
5579     echo $ECHO_N "checking for opengl support... $ECHO_C" >&6; }
5580     if test -n "$have_gl" ; then
5581     { echo "$as_me:$LINENO: result: yes" >&5
5582     echo "${ECHO_T}yes" >&6; }
5583    
5584     cat >>confdefs.h <<\_ACEOF
5585     #define HAVE_OPENGL 1
5586     _ACEOF
5587    
5588     else
5589     { echo "$as_me:$LINENO: result: no" >&5
5590     echo "${ECHO_T}no" >&6; }
5591     fi
5592    
5593    
5594    
5595    
5596    
5597    
5598    
5599    
5600     for ac_header in vector algorithm queue map string cstring cmath
5601     do
5602     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5603     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5604     { echo "$as_me:$LINENO: checking for $ac_header" >&5
5605     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5606     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5607     echo $ECHO_N "(cached) $ECHO_C" >&6
5608     fi
5609     ac_res=`eval echo '${'$as_ac_Header'}'`
5610     { echo "$as_me:$LINENO: result: $ac_res" >&5
5611     echo "${ECHO_T}$ac_res" >&6; }
5612     else
5613     # Is the header compilable?
5614     { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5615     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5616     cat >conftest.$ac_ext <<_ACEOF
5617     /* confdefs.h. */
5618     _ACEOF
5619     cat confdefs.h >>conftest.$ac_ext
5620     cat >>conftest.$ac_ext <<_ACEOF
5621     /* end confdefs.h. */
5622     $ac_includes_default
5623     #include <$ac_header>
5624     _ACEOF
5625     rm -f conftest.$ac_objext
5626     if { (ac_try="$ac_compile"
5627     case "(($ac_try" in
5628     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629     *) ac_try_echo=$ac_try;;
5630     esac
5631     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632     (eval "$ac_compile") 2>conftest.er1
5633     ac_status=$?
5634     grep -v '^ *+' conftest.er1 >conftest.err
5635     rm -f conftest.er1
5636     cat conftest.err >&5
5637     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638     (exit $ac_status); } && {
5639     test -z "$ac_cxx_werror_flag" ||
5640     test ! -s conftest.err
5641     } && test -s conftest.$ac_objext; then
5642     ac_header_compiler=yes
5643     else
5644     echo "$as_me: failed program was:" >&5
5645     sed 's/^/| /' conftest.$ac_ext >&5
5646    
5647     ac_header_compiler=no
5648     fi
5649    
5650     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651     { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5652     echo "${ECHO_T}$ac_header_compiler" >&6; }
5653    
5654     # Is the header present?
5655     { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5656     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5657     cat >conftest.$ac_ext <<_ACEOF
5658     /* confdefs.h. */
5659     _ACEOF
5660     cat confdefs.h >>conftest.$ac_ext
5661     cat >>conftest.$ac_ext <<_ACEOF
5662     /* end confdefs.h. */
5663     #include <$ac_header>
5664     _ACEOF
5665     if { (ac_try="$ac_cpp conftest.$ac_ext"
5666     case "(($ac_try" in
5667     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668     *) ac_try_echo=$ac_try;;
5669     esac
5670     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5671     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5672     ac_status=$?
5673     grep -v '^ *+' conftest.er1 >conftest.err
5674     rm -f conftest.er1
5675     cat conftest.err >&5
5676     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677     (exit $ac_status); } >/dev/null && {
5678     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5679     test ! -s conftest.err
5680     }; then
5681     ac_header_preproc=yes
5682     else
5683     echo "$as_me: failed program was:" >&5
5684     sed 's/^/| /' conftest.$ac_ext >&5
5685    
5686     ac_header_preproc=no
5687     fi
5688    
5689     rm -f conftest.err conftest.$ac_ext
5690     { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5691     echo "${ECHO_T}$ac_header_preproc" >&6; }
5692    
5693     # So? What about this header?
5694     case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5695     yes:no: )
5696     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5697     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5698     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5699     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5700     ac_header_preproc=yes
5701     ;;
5702     no:yes:* )
5703     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5704     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5705     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5706     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5707     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5708     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5709     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5710     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5711     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5712     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5713     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5714     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5715    
5716     ;;
5717     esac
5718     { echo "$as_me:$LINENO: checking for $ac_header" >&5
5719     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5720     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5721     echo $ECHO_N "(cached) $ECHO_C" >&6
5722     else
5723     eval "$as_ac_Header=\$ac_header_preproc"
5724     fi
5725     ac_res=`eval echo '${'$as_ac_Header'}'`
5726     { echo "$as_me:$LINENO: result: $ac_res" >&5
5727     echo "${ECHO_T}$ac_res" >&6; }
5728    
5729     fi
5730     if test `eval echo '${'$as_ac_Header'}'` = yes; then
5731     cat >>confdefs.h <<_ACEOF
5732     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733     _ACEOF
5734    
5735     fi
5736    
5737     done
5738    
5739    
5740     # Extract the first word of "antlr", so it can be a program name with args.
5741     set dummy antlr; ac_word=$2
5742     { echo "$as_me:$LINENO: checking for $ac_word" >&5
5743     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5744     if test "${ac_cv_path_ANTLR+set}" = set; then
5745     echo $ECHO_N "(cached) $ECHO_C" >&6
5746     else
5747     case $ANTLR in
5748     [\\/]* | ?:[\\/]*)
5749     ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path.
5750     ;;
5751     *)
5752     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753     for as_dir in $PATH
5754     do
5755     IFS=$as_save_IFS
5756     test -z "$as_dir" && as_dir=.
5757     for ac_exec_ext in '' $ac_executable_extensions; do
5758     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5759     ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext"
5760     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5761     break 2
5762     fi
5763     done
5764     done
5765     IFS=$as_save_IFS
5766    
5767     ;;
5768     esac
5769     fi
5770     ANTLR=$ac_cv_path_ANTLR
5771     if test -n "$ANTLR"; then
5772     { echo "$as_me:$LINENO: result: $ANTLR" >&5
5773     echo "${ECHO_T}$ANTLR" >&6; }
5774     else
5775     { echo "$as_me:$LINENO: result: no" >&5
5776     echo "${ECHO_T}no" >&6; }
5777     fi
5778    
5779    
5780     if test -n "$ANTLR" ; then
5781     { echo "$as_me:$LINENO: checking antlr version" >&5
5782     echo $ECHO_N "checking antlr version... $ECHO_C" >&6; }
5783     ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'`
5784     if test "$ANTLR_VER" = "1.33MR33" ; then
5785     { echo "$as_me:$LINENO: result: $ANTLR_VER, ok" >&5
5786     echo "${ECHO_T}$ANTLR_VER, ok" >&6; }
5787     # Extract the first word of "dlg", so it can be a program name with args.
5788     set dummy dlg; ac_word=$2
5789     { echo "$as_me:$LINENO: checking for $ac_word" >&5
5790     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5791     if test "${ac_cv_path_DLG+set}" = set; then
5792     echo $ECHO_N "(cached) $ECHO_C" >&6
5793     else
5794     case $DLG in
5795     [\\/]* | ?:[\\/]*)
5796     ac_cv_path_DLG="$DLG" # Let the user override the test with a path.
5797     ;;
5798     *)
5799     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800     for as_dir in $PATH
5801     do
5802     IFS=$as_save_IFS
5803     test -z "$as_dir" && as_dir=.
5804     for ac_exec_ext in '' $ac_executable_extensions; do
5805     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806     ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext"
5807     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5808     break 2
5809     fi
5810     done
5811     done
5812     IFS=$as_save_IFS
5813    
5814     ;;
5815     esac
5816     fi
5817     DLG=$ac_cv_path_DLG
5818     if test -n "$DLG"; then
5819     { echo "$as_me:$LINENO: result: $DLG" >&5
5820     echo "${ECHO_T}$DLG" >&6; }
5821     else
5822     { echo "$as_me:$LINENO: result: no" >&5
5823     echo "${ECHO_T}no" >&6; }
5824     fi
5825    
5826    
5827     if test -n "$DLG" ; then
5828     { echo "$as_me:$LINENO: checking dlg version" >&5
5829     echo $ECHO_N "checking dlg version... $ECHO_C" >&6; }
5830     DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'`
5831     if test "$DLG_VER" = "1.33MR33" ; then
5832     { echo "$as_me:$LINENO: result: $DLG_VER, ok" >&5
5833     echo "${ECHO_T}$DLG_VER, ok" >&6; }
5834     HAVE_PCCTS=1
5835     else
5836     { echo "$as_me:$LINENO: result: $DLG_VER, but need 1.33MR33" >&5
5837     echo "${ECHO_T}$DLG_VER, but need 1.33MR33" >&6; }
5838     fi
5839     fi
5840     else
5841     { echo "$as_me:$LINENO: result: $ANTLR_VER, but need 1.33MR33" >&5
5842     echo "${ECHO_T}$ANTLR_VER, but need 1.33MR33" >&6; }
5843     fi
5844     fi
5845    
5846    
5847    
5848     if test -n "$HAVE_PCCTS"; then
5849     HAVE_PCCTS_TRUE=
5850     HAVE_PCCTS_FALSE='#'
5851     else
5852     HAVE_PCCTS_TRUE='#'
5853     HAVE_PCCTS_FALSE=
5854     fi
5855    
5856    
5857    
5858     for ac_header in getopt.h
5859     do
5860     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5861     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5862     { echo "$as_me:$LINENO: checking for $ac_header" >&5
5863     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5864     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5865     echo $ECHO_N "(cached) $ECHO_C" >&6
5866     fi
5867     ac_res=`eval echo '${'$as_ac_Header'}'`
5868     { echo "$as_me:$LINENO: result: $ac_res" >&5
5869     echo "${ECHO_T}$ac_res" >&6; }
5870     else
5871     # Is the header compilable?
5872     { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5873     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5874     cat >conftest.$ac_ext <<_ACEOF
5875     /* confdefs.h. */
5876     _ACEOF
5877     cat confdefs.h >>conftest.$ac_ext
5878     cat >>conftest.$ac_ext <<_ACEOF
5879     /* end confdefs.h. */
5880     $ac_includes_default
5881     #include <$ac_header>
5882     _ACEOF
5883     rm -f conftest.$ac_objext
5884     if { (ac_try="$ac_compile"
5885     case "(($ac_try" in
5886     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5887     *) ac_try_echo=$ac_try;;
5888     esac
5889     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5890     (eval "$ac_compile") 2>conftest.er1
5891     ac_status=$?
5892     grep -v '^ *+' conftest.er1 >conftest.err
5893     rm -f conftest.er1
5894     cat conftest.err >&5
5895     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896     (exit $ac_status); } && {
5897     test -z "$ac_cxx_werror_flag" ||
5898     test ! -s conftest.err
5899     } && test -s conftest.$ac_objext; then
5900     ac_header_compiler=yes
5901     else
5902     echo "$as_me: failed program was:" >&5
5903     sed 's/^/| /' conftest.$ac_ext >&5
5904    
5905     ac_header_compiler=no
5906     fi
5907    
5908     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909     { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5910     echo "${ECHO_T}$ac_header_compiler" >&6; }
5911    
5912     # Is the header present?
5913     { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5914     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5915     cat >conftest.$ac_ext <<_ACEOF
5916     /* confdefs.h. */
5917     _ACEOF
5918     cat confdefs.h >>conftest.$ac_ext
5919     cat >>conftest.$ac_ext <<_ACEOF
5920     /* end confdefs.h. */
5921     #include <$ac_header>
5922     _ACEOF
5923     if { (ac_try="$ac_cpp conftest.$ac_ext"
5924     case "(($ac_try" in
5925     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926     *) ac_try_echo=$ac_try;;
5927     esac
5928     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5930     ac_status=$?
5931     grep -v '^ *+' conftest.er1 >conftest.err
5932     rm -f conftest.er1
5933     cat conftest.err >&5
5934     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935     (exit $ac_status); } >/dev/null && {
5936     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5937     test ! -s conftest.err
5938     }; then
5939     ac_header_preproc=yes
5940     else
5941     echo "$as_me: failed program was:" >&5
5942     sed 's/^/| /' conftest.$ac_ext >&5
5943    
5944     ac_header_preproc=no
5945     fi
5946    
5947     rm -f conftest.err conftest.$ac_ext
5948     { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5949     echo "${ECHO_T}$ac_header_preproc" >&6; }
5950    
5951     # So? What about this header?
5952     case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5953     yes:no: )
5954     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5955     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5956     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5957     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5958     ac_header_preproc=yes
5959     ;;
5960     no:yes:* )
5961     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5962     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5963     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5964     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5965     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5966     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5967     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5968     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5969     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5970     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5971     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5972     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5973    
5974     ;;
5975     esac
5976     { echo "$as_me:$LINENO: checking for $ac_header" >&5
5977     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5978     if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5979     echo $ECHO_N "(cached) $ECHO_C" >&6
5980     else
5981     eval "$as_ac_Header=\$ac_header_preproc"
5982     fi
5983     ac_res=`eval echo '${'$as_ac_Header'}'`
5984     { echo "$as_me:$LINENO: result: $ac_res" >&5
5985     echo "${ECHO_T}$ac_res" >&6; }
5986    
5987     fi
5988     if test `eval echo '${'$as_ac_Header'}'` = yes; then
5989     cat >>confdefs.h <<_ACEOF
5990     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5991     _ACEOF
5992    
5993     fi
5994    
5995     done
5996    
5997    
5998     for ac_func in getopt_long
5999     do
6000     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6001     { echo "$as_me:$LINENO: checking for $ac_func" >&5
6002     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6003     if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6004     echo $ECHO_N "(cached) $ECHO_C" >&6
6005     else
6006     cat >conftest.$ac_ext <<_ACEOF
6007     /* confdefs.h. */
6008     _ACEOF
6009     cat confdefs.h >>conftest.$ac_ext
6010     cat >>conftest.$ac_ext <<_ACEOF
6011     /* end confdefs.h. */
6012     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6013     For example, HP-UX 11i <limits.h> declares gettimeofday. */
6014     #define $ac_func innocuous_$ac_func
6015    
6016     /* System header to define __stub macros and hopefully few prototypes,
6017     which can conflict with char $ac_func (); below.
6018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6019     <limits.h> exists even on freestanding compilers. */
6020    
6021     #ifdef __STDC__
6022     # include <limits.h>
6023     #else
6024     # include <assert.h>
6025     #endif
6026    
6027     #undef $ac_func
6028    
6029     /* Override any GCC internal prototype to avoid an error.
6030     Use char because int might match the return type of a GCC
6031     builtin and then its argument prototype would still apply. */
6032     #ifdef __cplusplus
6033     extern "C"
6034     #endif
6035     char $ac_func ();
6036     /* The GNU C library defines this for functions which it implements
6037     to always fail with ENOSYS. Some functions are actually named
6038     something starting with __ and the normal name is an alias. */
6039     #if defined __stub_$ac_func || defined __stub___$ac_func
6040     choke me
6041     #endif
6042    
6043     int
6044     main ()
6045     {
6046     return $ac_func ();
6047     ;
6048     return 0;
6049     }
6050     _ACEOF
6051     rm -f conftest.$ac_objext conftest$ac_exeext
6052     if { (ac_try="$ac_link"
6053     case "(($ac_try" in
6054     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055     *) ac_try_echo=$ac_try;;
6056     esac
6057     eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6058     (eval "$ac_link") 2>conftest.er1
6059     ac_status=$?
6060     grep -v '^ *+' conftest.er1 >conftest.err
6061     rm -f conftest.er1
6062     cat conftest.err >&5
6063     echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064     (exit $ac_status); } && {
6065     test -z "$ac_cxx_werror_flag" ||
6066     test ! -s conftest.err
6067     } && test -s conftest$ac_exeext &&
6068     $as_test_x conftest$ac_exeext; then
6069     eval "$as_ac_var=yes"
6070     else
6071     echo "$as_me: failed program was:" >&5
6072     sed 's/^/| /' conftest.$ac_ext >&5
6073    
6074     eval "$as_ac_var=no"
6075     fi
6076    
6077     rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6078     conftest$ac_exeext conftest.$ac_ext
6079     fi
6080     ac_res=`eval echo '${'$as_ac_var'}'`
6081     { echo "$as_me:$LINENO: result: $ac_res" >&5
6082     echo "${ECHO_T}$ac_res" >&6; }
6083     if test `eval echo '${'$as_ac_var'}'` = yes; then
6084     cat >>confdefs.h <<_ACEOF
6085     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6086     _ACEOF
6087    
6088     else
6089     case " $LIBOBJS " in
6090     *" getopt.$ac_objext "* ) ;;
6091     *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
6092     ;;
6093     esac
6094     case " $LIBOBJS " in
6095     *" getopt1.$ac_objext "* ) ;;
6096     *) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
6097     ;;
6098     esac
6099    
6100     fi
6101     done
6102    
6103    
6104     ac_config_files="$ac_config_files Makefile"
6105    
6106     cat >confcache <<\_ACEOF
6107     # This file is a shell script that caches the results of configure
6108     # tests run on this system so they can be shared between configure
6109     # scripts and configure runs, see configure's option --config-cache.
6110     # It is not useful on other systems. If it contains results you don't
6111     # want to keep, you may remove or edit it.
6112     #
6113     # config.status only pays attention to the cache file if you give it
6114     # the --recheck option to rerun configure.
6115     #
6116     # `ac_cv_env_foo' variables (set or unset) will be overridden when
6117     # loading this file, other *unset* `ac_cv_foo' will be assigned the
6118     # following values.
6119    
6120     _ACEOF
6121    
6122     # The following way of writing the cache mishandles newlines in values,
6123     # but we know of no workaround that is simple, portable, and efficient.
6124     # So, we kill variables containing newlines.
6125     # Ultrix sh set writes to stderr and can't be redirected directly,
6126     # and sets the high bit in the cache file unless we assign to the vars.
6127     (
6128     for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6129     eval ac_val=\$$ac_var
6130     case $ac_val in #(
6131     *${as_nl}*)
6132     case $ac_var in #(
6133     *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6134     echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6135     esac
6136     case $ac_var in #(
6137     _ | IFS | as_nl) ;; #(
6138     *) $as_unset $ac_var ;;
6139     esac ;;
6140     esac
6141     done
6142    
6143     (set) 2>&1 |
6144     case $as_nl`(ac_space=' '; set) 2>&1` in #(
6145     *${as_nl}ac_space=\ *)
6146     # `set' does not quote correctly, so add quotes (double-quote
6147     # substitution turns \\\\ into \\, and sed turns \\ into \).
6148     sed -n \
6149     "s/'/'\\\\''/g;
6150     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6151     ;; #(
6152     *)
6153     # `set' quotes correctly as required by POSIX, so do not add quotes.
6154     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6155     ;;
6156     esac |
6157     sort
6158     ) |
6159     sed '
6160     /^ac_cv_env_/b end
6161     t clear
6162     :clear
6163     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6164     t end
6165     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6166     :end' >>confcache
6167     if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6168     if test -w "$cache_file"; then
6169     test "x$cache_file" != "x/dev/null" &&
6170     { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6171     echo "$as_me: updating cache $cache_file" >&6;}
6172     cat confcache >$cache_file
6173     else
6174     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6175     echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6176     fi
6177     fi
6178     rm -f confcache
6179    
6180     test "x$prefix" = xNONE && prefix=$ac_default_prefix
6181     # Let make expand exec_prefix.
6182     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6183    
6184     DEFS=-DHAVE_CONFIG_H
6185    
6186     ac_libobjs=
6187     ac_ltlibobjs=
6188     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6189     # 1. Remove the extension, and $U if already installed.
6190     ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6191     ac_i=`echo "$ac_i" | sed "$ac_script"`
6192     # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6193     # will be set to the directory where LIBOBJS objects are built.
6194     ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6195     ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6196     done
6197     LIBOBJS=$ac_libobjs
6198    
6199     LTLIBOBJS=$ac_ltlibobjs
6200    
6201    
6202     if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6203     { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6204     Usually this means the macro was only invoked conditionally." >&5
6205     echo "$as_me: error: conditional \"AMDEP\" was never defined.
6206     Usually this means the macro was only invoked conditionally." >&2;}
6207     { (exit 1); exit 1; }; }
6208     fi
6209     if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6210     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6211     Usually this means the macro was only invoked conditionally." >&5
6212     echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6213     Usually this means the macro was only invoked conditionally." >&2;}
6214     { (exit 1); exit 1; }; }
6215     fi
6216     if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6217     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6218     Usually this means the macro was only invoked conditionally." >&5
6219     echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6220     Usually this means the macro was only invoked conditionally." >&2;}
6221     { (exit 1); exit 1; }; }
6222     fi
6223     if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then
6224     { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCCTS\" was never defined.
6225     Usually this means the macro was only invoked conditionally." >&5
6226     echo "$as_me: error: conditional \"HAVE_PCCTS\" was never defined.
6227     Usually this means the macro was only invoked conditionally." >&2;}
6228     { (exit 1); exit 1; }; }
6229     fi
6230    
6231     : ${CONFIG_STATUS=./config.status}
6232     ac_clean_files_save=$ac_clean_files
6233     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6234     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6235     echo "$as_me: creating $CONFIG_STATUS" >&6;}
6236     cat >$CONFIG_STATUS <<_ACEOF
6237     #! $SHELL
6238     # Generated by $as_me.
6239     # Run this file to recreate the current configuration.
6240     # Compiler output produced by configure, useful for debugging
6241     # configure, is in config.log if it exists.
6242    
6243     debug=false
6244     ac_cs_recheck=false
6245     ac_cs_silent=false
6246     SHELL=\${CONFIG_SHELL-$SHELL}
6247     _ACEOF
6248    
6249     cat >>$CONFIG_STATUS <<\_ACEOF
6250     ## --------------------- ##
6251     ## M4sh Initialization. ##
6252     ## --------------------- ##
6253    
6254     # Be more Bourne compatible
6255     DUALCASE=1; export DUALCASE # for MKS sh
6256     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6257     emulate sh
6258     NULLCMD=:
6259     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6260     # is contrary to our usage. Disable this feature.
6261     alias -g '${1+"$@"}'='"$@"'
6262     setopt NO_GLOB_SUBST
6263     else
6264     case `(set -o) 2>/dev/null` in
6265     *posix*) set -o posix ;;
6266     esac
6267    
6268     fi
6269    
6270    
6271    
6272    
6273     # PATH needs CR
6274     # Avoid depending upon Character Ranges.
6275     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6276     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6277     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6278     as_cr_digits='0123456789'
6279     as_cr_alnum=$as_cr_Letters$as_cr_digits
6280    
6281     # The user is always right.
6282     if test "${PATH_SEPARATOR+set}" != set; then
6283     echo "#! /bin/sh" >conf$$.sh
6284     echo "exit 0" >>conf$$.sh
6285     chmod +x conf$$.sh
6286     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6287     PATH_SEPARATOR=';'
6288     else
6289     PATH_SEPARATOR=:
6290     fi
6291     rm -f conf$$.sh
6292     fi
6293    
6294     # Support unset when possible.
6295     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6296     as_unset=unset
6297     else
6298     as_unset=false
6299     fi
6300    
6301    
6302     # IFS
6303     # We need space, tab and new line, in precisely that order. Quoting is
6304     # there to prevent editors from complaining about space-tab.
6305     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6306     # splitting by setting IFS to empty value.)
6307     as_nl='
6308     '
6309     IFS=" "" $as_nl"
6310    
6311     # Find who we are. Look in the path if we contain no directory separator.
6312     case $0 in
6313     *[\\/]* ) as_myself=$0 ;;
6314     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315     for as_dir in $PATH
6316     do
6317     IFS=$as_save_IFS
6318     test -z "$as_dir" && as_dir=.
6319     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6320     done
6321     IFS=$as_save_IFS
6322    
6323     ;;
6324     esac
6325     # We did not find ourselves, most probably we were run as `sh COMMAND'
6326     # in which case we are not to be found in the path.
6327     if test "x$as_myself" = x; then
6328     as_myself=$0
6329     fi
6330     if test ! -f "$as_myself"; then
6331     echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6332     { (exit 1); exit 1; }
6333     fi
6334    
6335     # Work around bugs in pre-3.0 UWIN ksh.
6336     for as_var in ENV MAIL MAILPATH
6337     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6338     done
6339     PS1='$ '
6340     PS2='> '
6341     PS4='+ '
6342    
6343     # NLS nuisances.
6344     for as_var in \
6345     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6346     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6347     LC_TELEPHONE LC_TIME
6348     do
6349     if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6350     eval $as_var=C; export $as_var
6351     else
6352     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6353     fi
6354     done
6355    
6356     # Required to use basename.
6357     if expr a : '\(a\)' >/dev/null 2>&1 &&
6358     test "X`expr 00001 : '.*\(...\)'`" = X001; then
6359     as_expr=expr
6360     else
6361     as_expr=false
6362     fi
6363    
6364     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6365     as_basename=basename
6366     else
6367     as_basename=false
6368     fi
6369    
6370    
6371     # Name of the executable.
6372     as_me=`$as_basename -- "$0" ||
6373     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6374     X"$0" : 'X\(//\)$' \| \
6375     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6376     echo X/"$0" |
6377     sed '/^.*\/\([^/][^/]*\)\/*$/{
6378     s//\1/
6379     q
6380     }
6381     /^X\/\(\/\/\)$/{
6382     s//\1/
6383     q
6384     }
6385     /^X\/\(\/\).*/{
6386     s//\1/
6387     q
6388     }
6389     s/.*/./; q'`
6390    
6391     # CDPATH.
6392     $as_unset CDPATH
6393    
6394    
6395    
6396     as_lineno_1=$LINENO
6397     as_lineno_2=$LINENO
6398     test "x$as_lineno_1" != "x$as_lineno_2" &&
6399     test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6400    
6401     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6402     # uniformly replaced by the line number. The first 'sed' inserts a
6403     # line-number line after each line using $LINENO; the second 'sed'
6404     # does the real work. The second script uses 'N' to pair each
6405     # line-number line with the line containing $LINENO, and appends
6406     # trailing '-' during substitution so that $LINENO is not a special
6407     # case at line end.
6408     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6409     # scripts with optimization help from Paolo Bonzini. Blame Lee
6410     # E. McMahon (1931-1989) for sed's syntax. :-)
6411     sed -n '
6412     p
6413     /[$]LINENO/=
6414     ' <$as_myself |
6415     sed '
6416     s/[$]LINENO.*/&-/
6417     t lineno
6418     b
6419     :lineno
6420     N
6421     :loop
6422     s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6423     t loop
6424     s/-\n.*//
6425     ' >$as_me.lineno &&
6426     chmod +x "$as_me.lineno" ||
6427     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6428     { (exit 1); exit 1; }; }
6429    
6430     # Don't try to exec as it changes $[0], causing all sort of problems
6431     # (the dirname of $[0] is not the place where we might find the
6432     # original and so on. Autoconf is especially sensitive to this).
6433     . "./$as_me.lineno"
6434     # Exit status is that of the last command.
6435     exit
6436     }
6437    
6438    
6439     if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6440     as_dirname=dirname
6441     else
6442     as_dirname=false
6443     fi
6444    
6445     ECHO_C= ECHO_N= ECHO_T=
6446     case `echo -n x` in
6447     -n*)
6448     case `echo 'x\c'` in
6449     *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6450     *) ECHO_C='\c';;
6451     esac;;
6452     *)
6453     ECHO_N='-n';;
6454     esac
6455    
6456     if expr a : '\(a\)' >/dev/null 2>&1 &&
6457     test "X`expr 00001 : '.*\(...\)'`" = X001; then
6458     as_expr=expr
6459     else
6460     as_expr=false
6461     fi
6462    
6463     rm -f conf$$ conf$$.exe conf$$.file
6464     if test -d conf$$.dir; then
6465     rm -f conf$$.dir/conf$$.file
6466     else
6467     rm -f conf$$.dir
6468     mkdir conf$$.dir
6469     fi
6470     echo >conf$$.file
6471     if ln -s conf$$.file conf$$ 2>/dev/null; then
6472     as_ln_s='ln -s'
6473     # ... but there are two gotchas:
6474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6476     # In both cases, we have to default to `cp -p'.
6477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6478     as_ln_s='cp -p'
6479     elif ln conf$$.file conf$$ 2>/dev/null; then
6480     as_ln_s=ln
6481     else
6482     as_ln_s='cp -p'
6483     fi
6484     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6485     rmdir conf$$.dir 2>/dev/null
6486    
6487     if mkdir -p . 2>/dev/null; then
6488     as_mkdir_p=:
6489     else
6490     test -d ./-p && rmdir ./-p
6491     as_mkdir_p=false
6492     fi
6493    
6494     if test -x / >/dev/null 2>&1; then
6495     as_test_x='test -x'
6496     else
6497     if ls -dL / >/dev/null 2>&1; then
6498     as_ls_L_option=L
6499     else
6500     as_ls_L_option=
6501     fi
6502     as_test_x='
6503     eval sh -c '\''
6504     if test -d "$1"; then
6505     test -d "$1/.";
6506     else
6507     case $1 in
6508     -*)set "./$1";;
6509     esac;
6510     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6511     ???[sx]*):;;*)false;;esac;fi
6512     '\'' sh
6513     '
6514     fi
6515     as_executable_p=$as_test_x
6516    
6517     # Sed expression to map a string onto a valid CPP name.
6518     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6519    
6520     # Sed expression to map a string onto a valid variable name.
6521     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6522    
6523    
6524     exec 6>&1
6525    
6526     # Save the log message, to keep $[0] and so on meaningful, and to
6527     # report actual input values of CONFIG_FILES etc. instead of their
6528     # values after options handling.
6529     ac_log="
6530     This file was extended by $as_me, which was
6531     generated by GNU Autoconf 2.61. Invocation command line was
6532    
6533     CONFIG_FILES = $CONFIG_FILES
6534     CONFIG_HEADERS = $CONFIG_HEADERS
6535     CONFIG_LINKS = $CONFIG_LINKS
6536     CONFIG_COMMANDS = $CONFIG_COMMANDS
6537     $ $0 $@
6538    
6539     on `(hostname || uname -n) 2>/dev/null | sed 1q`
6540     "
6541    
6542     _ACEOF
6543    
6544     cat >>$CONFIG_STATUS <<_ACEOF
6545     # Files that config.status was made for.
6546     config_files="$ac_config_files"
6547     config_headers="$ac_config_headers"
6548     config_commands="$ac_config_commands"
6549    
6550     _ACEOF
6551    
6552     cat >>$CONFIG_STATUS <<\_ACEOF
6553     ac_cs_usage="\
6554     \`$as_me' instantiates files from templates according to the
6555     current configuration.
6556    
6557     Usage: $0 [OPTIONS] [FILE]...
6558    
6559     -h, --help print this help, then exit
6560     -V, --version print version number and configuration settings, then exit
6561     -q, --quiet do not print progress messages
6562     -d, --debug don't remove temporary files
6563     --recheck update $as_me by reconfiguring in the same conditions
6564     --file=FILE[:TEMPLATE]
6565     instantiate the configuration file FILE
6566     --header=FILE[:TEMPLATE]
6567     instantiate the configuration header FILE
6568    
6569     Configuration files:
6570     $config_files
6571    
6572     Configuration headers:
6573     $config_headers
6574    
6575     Configuration commands:
6576     $config_commands
6577    
6578     Report bugs to <bug-autoconf@gnu.org>."
6579    
6580     _ACEOF
6581     cat >>$CONFIG_STATUS <<_ACEOF
6582     ac_cs_version="\\
6583     config.status
6584     configured by $0, generated by GNU Autoconf 2.61,
6585     with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6586    
6587     Copyright (C) 2006 Free Software Foundation, Inc.
6588     This config.status script is free software; the Free Software Foundation
6589     gives unlimited permission to copy, distribute and modify it."
6590    
6591     ac_pwd='$ac_pwd'
6592     srcdir='$srcdir'
6593     INSTALL='$INSTALL'
6594     _ACEOF
6595    
6596     cat >>$CONFIG_STATUS <<\_ACEOF
6597     # If no file are specified by the user, then we need to provide default
6598     # value. By we need to know if files were specified by the user.
6599     ac_need_defaults=:
6600     while test $# != 0
6601     do
6602     case $1 in
6603     --*=*)
6604     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6605     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6606     ac_shift=:
6607     ;;
6608     *)
6609     ac_option=$1
6610     ac_optarg=$2
6611     ac_shift=shift
6612     ;;
6613     esac
6614    
6615     case $ac_option in
6616     # Handling of the options.
6617     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6618     ac_cs_recheck=: ;;
6619     --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6620     echo "$ac_cs_version"; exit ;;
6621     --debug | --debu | --deb | --de | --d | -d )
6622     debug=: ;;
6623     --file | --fil | --fi | --f )
6624     $ac_shift
6625     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6626     ac_need_defaults=false;;
6627     --header | --heade | --head | --hea )
6628     $ac_shift
6629     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6630     ac_need_defaults=false;;
6631     --he | --h)
6632     # Conflict between --help and --header
6633     { echo "$as_me: error: ambiguous option: $1
6634     Try \`$0 --help' for more information." >&2
6635     { (exit 1); exit 1; }; };;
6636     --help | --hel | -h )
6637     echo "$ac_cs_usage"; exit ;;
6638     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6639     | -silent | --silent | --silen | --sile | --sil | --si | --s)
6640     ac_cs_silent=: ;;
6641    
6642     # This is an error.
6643     -*) { echo "$as_me: error: unrecognized option: $1
6644     Try \`$0 --help' for more information." >&2
6645     { (exit 1); exit 1; }; } ;;
6646    
6647     *) ac_config_targets="$ac_config_targets $1"
6648     ac_need_defaults=false ;;
6649    
6650     esac
6651     shift
6652     done
6653    
6654     ac_configure_extra_args=
6655    
6656     if $ac_cs_silent; then
6657     exec 6>/dev/null
6658     ac_configure_extra_args="$ac_configure_extra_args --silent"
6659     fi
6660    
6661     _ACEOF
6662     cat >>$CONFIG_STATUS <<_ACEOF
6663     if \$ac_cs_recheck; then
6664     echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6665     CONFIG_SHELL=$SHELL
6666     export CONFIG_SHELL
6667     exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6668     fi
6669    
6670     _ACEOF
6671     cat >>$CONFIG_STATUS <<\_ACEOF
6672     exec 5>>config.log
6673     {
6674     echo
6675     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6676     ## Running $as_me. ##
6677     _ASBOX
6678     echo "$ac_log"
6679     } >&5
6680    
6681     _ACEOF
6682     cat >>$CONFIG_STATUS <<_ACEOF
6683     #
6684     # INIT-COMMANDS
6685     #
6686     AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6687    
6688     _ACEOF
6689    
6690     cat >>$CONFIG_STATUS <<\_ACEOF
6691    
6692     # Handling of arguments.
6693     for ac_config_target in $ac_config_targets
6694     do
6695     case $ac_config_target in
6696     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6697     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6698     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6699    
6700     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6701     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6702     { (exit 1); exit 1; }; };;
6703     esac
6704     done
6705    
6706    
6707     # If the user did not use the arguments to specify the items to instantiate,
6708     # then the envvar interface is used. Set only those that are not.
6709     # We use the long form for the default assignment because of an extremely
6710     # bizarre bug on SunOS 4.1.3.
6711     if $ac_need_defaults; then
6712     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6713     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6714     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6715     fi
6716    
6717     # Have a temporary directory for convenience. Make it in the build tree
6718     # simply because there is no reason against having it here, and in addition,
6719     # creating and moving files from /tmp can sometimes cause problems.
6720     # Hook for its removal unless debugging.
6721     # Note that there is a small window in which the directory will not be cleaned:
6722     # after its creation but before its name has been assigned to `$tmp'.
6723     $debug ||
6724     {
6725     tmp=
6726     trap 'exit_status=$?
6727     { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6728     ' 0
6729     trap '{ (exit 1); exit 1; }' 1 2 13 15
6730     }
6731     # Create a (secure) tmp directory for tmp files.
6732    
6733     {
6734     tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6735     test -n "$tmp" && test -d "$tmp"
6736     } ||
6737     {
6738     tmp=./conf$$-$RANDOM
6739     (umask 077 && mkdir "$tmp")
6740     } ||
6741     {
6742     echo "$me: cannot create a temporary directory in ." >&2
6743     { (exit 1); exit 1; }
6744     }
6745    
6746     #
6747     # Set up the sed scripts for CONFIG_FILES section.
6748     #
6749    
6750     # No need to generate the scripts if there are no CONFIG_FILES.
6751     # This happens for instance when ./config.status config.h
6752     if test -n "$CONFIG_FILES"; then
6753    
6754     _ACEOF
6755    
6756    
6757    
6758     ac_delim='%!_!# '
6759     for ac_last_try in false false false false false :; do
6760     cat >conf$$subs.sed <<_ACEOF
6761     SHELL!$SHELL$ac_delim
6762     PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6763     PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6764     PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6765     PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6766     PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6767     PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6768     exec_prefix!$exec_prefix$ac_delim
6769     prefix!$prefix$ac_delim
6770     program_transform_name!$program_transform_name$ac_delim
6771     bindir!$bindir$ac_delim
6772     sbindir!$sbindir$ac_delim
6773     libexecdir!$libexecdir$ac_delim
6774     datarootdir!$datarootdir$ac_delim
6775     datadir!$datadir$ac_delim
6776     sysconfdir!$sysconfdir$ac_delim
6777     sharedstatedir!$sharedstatedir$ac_delim
6778     localstatedir!$localstatedir$ac_delim
6779     includedir!$includedir$ac_delim
6780     oldincludedir!$oldincludedir$ac_delim
6781     docdir!$docdir$ac_delim
6782     infodir!$infodir$ac_delim
6783     htmldir!$htmldir$ac_delim
6784     dvidir!$dvidir$ac_delim
6785     pdfdir!$pdfdir$ac_delim
6786     psdir!$psdir$ac_delim
6787     libdir!$libdir$ac_delim
6788     localedir!$localedir$ac_delim
6789     mandir!$mandir$ac_delim
6790     DEFS!$DEFS$ac_delim
6791     ECHO_C!$ECHO_C$ac_delim
6792     ECHO_N!$ECHO_N$ac_delim
6793     ECHO_T!$ECHO_T$ac_delim
6794     LIBS!$LIBS$ac_delim
6795     build_alias!$build_alias$ac_delim
6796     host_alias!$host_alias$ac_delim
6797     target_alias!$target_alias$ac_delim
6798     INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6799     INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6800     INSTALL_DATA!$INSTALL_DATA$ac_delim
6801     CYGPATH_W!$CYGPATH_W$ac_delim
6802     PACKAGE!$PACKAGE$ac_delim
6803     VERSION!$VERSION$ac_delim
6804     ACLOCAL!$ACLOCAL$ac_delim
6805     AUTOCONF!$AUTOCONF$ac_delim
6806     AUTOMAKE!$AUTOMAKE$ac_delim
6807     AUTOHEADER!$AUTOHEADER$ac_delim
6808     MAKEINFO!$MAKEINFO$ac_delim
6809     AMTAR!$AMTAR$ac_delim
6810     install_sh!$install_sh$ac_delim
6811     STRIP!$STRIP$ac_delim
6812     INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6813     AWK!$AWK$ac_delim
6814     SET_MAKE!$SET_MAKE$ac_delim
6815     am__leading_dot!$am__leading_dot$ac_delim
6816     CC!$CC$ac_delim
6817     CFLAGS!$CFLAGS$ac_delim
6818     LDFLAGS!$LDFLAGS$ac_delim
6819     CPPFLAGS!$CPPFLAGS$ac_delim
6820     ac_ct_CC!$ac_ct_CC$ac_delim
6821     EXEEXT!$EXEEXT$ac_delim
6822     OBJEXT!$OBJEXT$ac_delim
6823     DEPDIR!$DEPDIR$ac_delim
6824     am__include!$am__include$ac_delim
6825     am__quote!$am__quote$ac_delim
6826     AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6827     AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6828     AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6829     CCDEPMODE!$CCDEPMODE$ac_delim
6830     am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6831     am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6832     CPP!$CPP$ac_delim
6833     GREP!$GREP$ac_delim
6834     EGREP!$EGREP$ac_delim
6835     CXX!$CXX$ac_delim
6836     CXXFLAGS!$CXXFLAGS$ac_delim
6837     ac_ct_CXX!$ac_ct_CXX$ac_delim
6838     CXXDEPMODE!$CXXDEPMODE$ac_delim
6839     am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6840     am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6841     CXXCPP!$CXXCPP$ac_delim
6842     XMKMF!$XMKMF$ac_delim
6843     ANTLR!$ANTLR$ac_delim
6844     DLG!$DLG$ac_delim
6845     HAVE_PCCTS_TRUE!$HAVE_PCCTS_TRUE$ac_delim
6846     HAVE_PCCTS_FALSE!$HAVE_PCCTS_FALSE$ac_delim
6847     LIBOBJS!$LIBOBJS$ac_delim
6848     LTLIBOBJS!$LTLIBOBJS$ac_delim
6849     _ACEOF
6850    
6851     if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
6852     break
6853     elif $ac_last_try; then
6854     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6855     echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6856     { (exit 1); exit 1; }; }
6857     else
6858     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6859     fi
6860     done
6861    
6862     ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6863     if test -n "$ac_eof"; then
6864     ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6865     ac_eof=`expr $ac_eof + 1`
6866     fi
6867    
6868     cat >>$CONFIG_STATUS <<_ACEOF
6869     cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6870     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6871     _ACEOF
6872     sed '
6873     s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6874     s/^/s,@/; s/!/@,|#_!!_#|/
6875     :n
6876     t n
6877     s/'"$ac_delim"'$/,g/; t
6878     s/$/\\/; p
6879     N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6880     ' >>$CONFIG_STATUS <conf$$subs.sed
6881     rm -f conf$$subs.sed
6882     cat >>$CONFIG_STATUS <<_ACEOF
6883     :end
6884     s/|#_!!_#|//g
6885     CEOF$ac_eof
6886     _ACEOF
6887    
6888    
6889     # VPATH may cause trouble with some makes, so we remove $(srcdir),
6890     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6891     # trailing colons and then remove the whole line if VPATH becomes empty
6892     # (actually we leave an empty line to preserve line numbers).
6893     if test "x$srcdir" = x.; then
6894     ac_vpsub='/^[ ]*VPATH[ ]*=/{
6895     s/:*\$(srcdir):*/:/
6896     s/:*\${srcdir}:*/:/
6897     s/:*@srcdir@:*/:/
6898     s/^\([^=]*=[ ]*\):*/\1/
6899     s/:*$//
6900     s/^[^=]*=[ ]*$//
6901     }'
6902     fi
6903    
6904     cat >>$CONFIG_STATUS <<\_ACEOF
6905     fi # test -n "$CONFIG_FILES"
6906    
6907    
6908     for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6909     do
6910     case $ac_tag in
6911     :[FHLC]) ac_mode=$ac_tag; continue;;
6912     esac
6913     case $ac_mode$ac_tag in
6914     :[FHL]*:*);;
6915     :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6916     echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6917     { (exit 1); exit 1; }; };;
6918     :[FH]-) ac_tag=-:-;;
6919     :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6920     esac
6921     ac_save_IFS=$IFS
6922     IFS=:
6923     set x $ac_tag
6924     IFS=$ac_save_IFS
6925     shift
6926     ac_file=$1
6927     shift
6928    
6929     case $ac_mode in
6930     :L) ac_source=$1;;
6931     :[FH])
6932     ac_file_inputs=
6933     for ac_f
6934     do
6935     case $ac_f in
6936     -) ac_f="$tmp/stdin";;
6937     *) # Look for the file first in the build tree, then in the source tree
6938     # (if the path is not absolute). The absolute path cannot be DOS-style,
6939     # because $ac_f cannot contain `:'.
6940     test -f "$ac_f" ||
6941     case $ac_f in
6942     [\\/$]*) false;;
6943     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6944     esac ||
6945     { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6946     echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6947     { (exit 1); exit 1; }; };;
6948     esac
6949     ac_file_inputs="$ac_file_inputs $ac_f"
6950     done
6951    
6952     # Let's still pretend it is `configure' which instantiates (i.e., don't
6953     # use $as_me), people would be surprised to read:
6954     # /* config.h. Generated by config.status. */
6955     configure_input="Generated from "`IFS=:
6956     echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6957     if test x"$ac_file" != x-; then
6958     configure_input="$ac_file. $configure_input"
6959     { echo "$as_me:$LINENO: creating $ac_file" >&5
6960     echo "$as_me: creating $ac_file" >&6;}
6961     fi
6962    
6963     case $ac_tag in
6964     *:-:* | *:-) cat >"$tmp/stdin";;
6965     esac
6966     ;;
6967     esac
6968    
6969     ac_dir=`$as_dirname -- "$ac_file" ||
6970     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971     X"$ac_file" : 'X\(//\)[^/]' \| \
6972     X"$ac_file" : 'X\(//\)$' \| \
6973     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6974     echo X"$ac_file" |
6975     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6976     s//\1/
6977     q
6978     }
6979     /^X\(\/\/\)[^/].*/{
6980     s//\1/
6981     q
6982     }
6983     /^X\(\/\/\)$/{
6984     s//\1/
6985     q
6986     }
6987     /^X\(\/\).*/{
6988     s//\1/
6989     q
6990     }
6991     s/.*/./; q'`
6992     { as_dir="$ac_dir"
6993     case $as_dir in #(
6994     -*) as_dir=./$as_dir;;
6995     esac
6996     test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6997     as_dirs=
6998     while :; do
6999     case $as_dir in #(
7000     *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7001     *) as_qdir=$as_dir;;
7002     esac
7003     as_dirs="'$as_qdir' $as_dirs"
7004     as_dir=`$as_dirname -- "$as_dir" ||
7005     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006     X"$as_dir" : 'X\(//\)[^/]' \| \
7007     X"$as_dir" : 'X\(//\)$' \| \
7008     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7009     echo X"$as_dir" |
7010     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7011     s//\1/
7012     q
7013     }
7014     /^X\(\/\/\)[^/].*/{
7015     s//\1/
7016     q
7017     }
7018     /^X\(\/\/\)$/{
7019     s//\1/
7020     q
7021     }
7022     /^X\(\/\).*/{
7023     s//\1/
7024     q
7025     }
7026     s/.*/./; q'`
7027     test -d "$as_dir" && break
7028     done
7029     test -z "$as_dirs" || eval "mkdir $as_dirs"
7030     } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7031     echo "$as_me: error: cannot create directory $as_dir" >&2;}
7032     { (exit 1); exit 1; }; }; }
7033     ac_builddir=.
7034    
7035     case "$ac_dir" in
7036     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7037     *)
7038     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7039     # A ".." for each directory in $ac_dir_suffix.
7040     ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7041     case $ac_top_builddir_sub in
7042     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7043     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7044     esac ;;
7045     esac
7046     ac_abs_top_builddir=$ac_pwd
7047     ac_abs_builddir=$ac_pwd$ac_dir_suffix
7048     # for backward compatibility:
7049     ac_top_builddir=$ac_top_build_prefix
7050    
7051     case $srcdir in
7052     .) # We are building in place.
7053     ac_srcdir=.
7054     ac_top_srcdir=$ac_top_builddir_sub
7055     ac_abs_top_srcdir=$ac_pwd ;;
7056     [\\/]* | ?:[\\/]* ) # Absolute name.
7057     ac_srcdir=$srcdir$ac_dir_suffix;
7058     ac_top_srcdir=$srcdir
7059     ac_abs_top_srcdir=$srcdir ;;
7060     *) # Relative name.
7061     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7062     ac_top_srcdir=$ac_top_build_prefix$srcdir
7063     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7064     esac
7065     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7066    
7067    
7068     case $ac_mode in
7069     :F)
7070     #
7071     # CONFIG_FILE
7072     #
7073    
7074     case $INSTALL in
7075     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7076     *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7077     esac
7078     _ACEOF
7079    
7080     cat >>$CONFIG_STATUS <<\_ACEOF
7081     # If the template does not know about datarootdir, expand it.
7082     # FIXME: This hack should be removed a few years after 2.60.
7083     ac_datarootdir_hack=; ac_datarootdir_seen=
7084    
7085     case `sed -n '/datarootdir/ {
7086     p
7087     q
7088     }
7089     /@datadir@/p
7090     /@docdir@/p
7091     /@infodir@/p
7092     /@localedir@/p
7093     /@mandir@/p
7094     ' $ac_file_inputs` in
7095     *datarootdir*) ac_datarootdir_seen=yes;;
7096     *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7097     { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7098     echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7099     _ACEOF
7100     cat >>$CONFIG_STATUS <<_ACEOF
7101     ac_datarootdir_hack='
7102     s&@datadir@&$datadir&g
7103     s&@docdir@&$docdir&g
7104     s&@infodir@&$infodir&g
7105     s&@localedir@&$localedir&g
7106     s&@mandir@&$mandir&g
7107     s&\\\${datarootdir}&$datarootdir&g' ;;
7108     esac
7109     _ACEOF
7110    
7111     # Neutralize VPATH when `$srcdir' = `.'.
7112     # Shell code in configure.ac might set extrasub.
7113     # FIXME: do we really want to maintain this feature?
7114     cat >>$CONFIG_STATUS <<_ACEOF
7115     sed "$ac_vpsub
7116     $extrasub
7117     _ACEOF
7118     cat >>$CONFIG_STATUS <<\_ACEOF
7119     :t
7120     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7121     s&@configure_input@&$configure_input&;t t
7122     s&@top_builddir@&$ac_top_builddir_sub&;t t
7123     s&@srcdir@&$ac_srcdir&;t t
7124     s&@abs_srcdir@&$ac_abs_srcdir&;t t
7125     s&@top_srcdir@&$ac_top_srcdir&;t t
7126     s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7127     s&@builddir@&$ac_builddir&;t t
7128     s&@abs_builddir@&$ac_abs_builddir&;t t
7129     s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7130     s&@INSTALL@&$ac_INSTALL&;t t
7131     $ac_datarootdir_hack
7132     " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7133    
7134     test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7135     { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7136     { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7137     { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7138     which seems to be undefined. Please make sure it is defined." >&5
7139     echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7140     which seems to be undefined. Please make sure it is defined." >&2;}
7141    
7142     rm -f "$tmp/stdin"
7143     case $ac_file in
7144     -) cat "$tmp/out"; rm -f "$tmp/out";;
7145     *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7146     esac
7147     ;;
7148     :H)
7149     #
7150     # CONFIG_HEADER
7151     #
7152     _ACEOF
7153    
7154     # Transform confdefs.h into a sed script `conftest.defines', that
7155     # substitutes the proper values into config.h.in to produce config.h.
7156     rm -f conftest.defines conftest.tail
7157     # First, append a space to every undef/define line, to ease matching.
7158     echo 's/$/ /' >conftest.defines
7159     # Then, protect against being on the right side of a sed subst, or in
7160     # an unquoted here document, in config.status. If some macros were
7161     # called several times there might be several #defines for the same
7162     # symbol, which is useless. But do not sort them, since the last
7163     # AC_DEFINE must be honored.
7164     ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7165     # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7166     # NAME is the cpp macro being defined, VALUE is the value it is being given.
7167     # PARAMS is the parameter list in the macro definition--in most cases, it's
7168     # just an empty string.
7169     ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7170     ac_dB='\\)[ (].*,\\1define\\2'
7171     ac_dC=' '
7172     ac_dD=' ,'
7173    
7174     uniq confdefs.h |
7175     sed -n '
7176     t rset
7177     :rset
7178     s/^[ ]*#[ ]*define[ ][ ]*//
7179     t ok
7180     d
7181     :ok
7182     s/[\\&,]/\\&/g
7183     s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7184     s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7185     ' >>conftest.defines
7186    
7187     # Remove the space that was appended to ease matching.
7188     # Then replace #undef with comments. This is necessary, for
7189     # example, in the case of _POSIX_SOURCE, which is predefined and required
7190     # on some systems where configure will not decide to define it.
7191     # (The regexp can be short, since the line contains either #define or #undef.)
7192     echo 's/ $//
7193     s,^[ #]*u.*,/* & */,' >>conftest.defines
7194    
7195     # Break up conftest.defines:
7196     ac_max_sed_lines=50
7197    
7198     # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7199     # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7200     # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7201     # et cetera.
7202     ac_in='$ac_file_inputs'
7203     ac_out='"$tmp/out1"'
7204     ac_nxt='"$tmp/out2"'
7205    
7206     while :
7207     do
7208     # Write a here document:
7209     cat >>$CONFIG_STATUS <<_ACEOF
7210     # First, check the format of the line:
7211     cat >"\$tmp/defines.sed" <<\\CEOF
7212     /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7213     /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7214     b
7215     :def
7216     _ACEOF
7217     sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7218     echo 'CEOF
7219     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7220     ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7221     sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7222     grep . conftest.tail >/dev/null || break
7223     rm -f conftest.defines
7224     mv conftest.tail conftest.defines
7225     done
7226     rm -f conftest.defines conftest.tail
7227    
7228     echo "ac_result=$ac_in" >>$CONFIG_STATUS
7229     cat >>$CONFIG_STATUS <<\_ACEOF
7230     if test x"$ac_file" != x-; then
7231     echo "/* $configure_input */" >"$tmp/config.h"
7232     cat "$ac_result" >>"$tmp/config.h"
7233     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7234     { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7235     echo "$as_me: $ac_file is unchanged" >&6;}
7236     else
7237     rm -f $ac_file
7238     mv "$tmp/config.h" $ac_file
7239     fi
7240     else
7241     echo "/* $configure_input */"
7242     cat "$ac_result"
7243     fi
7244     rm -f "$tmp/out12"
7245     # Compute $ac_file's index in $config_headers.
7246     _am_stamp_count=1
7247     for _am_header in $config_headers :; do
7248     case $_am_header in
7249     $ac_file | $ac_file:* )
7250     break ;;
7251     * )
7252     _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7253     esac
7254     done
7255     echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7256     $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7257     X$ac_file : 'X\(//\)[^/]' \| \
7258     X$ac_file : 'X\(//\)$' \| \
7259     X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7260     echo X$ac_file |
7261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7262     s//\1/
7263     q
7264     }
7265     /^X\(\/\/\)[^/].*/{
7266     s//\1/
7267     q
7268     }
7269     /^X\(\/\/\)$/{
7270     s//\1/
7271     q
7272     }
7273     /^X\(\/\).*/{
7274     s//\1/
7275     q
7276     }
7277     s/.*/./; q'`/stamp-h$_am_stamp_count
7278     ;;
7279    
7280     :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7281     echo "$as_me: executing $ac_file commands" >&6;}
7282     ;;
7283     esac
7284    
7285    
7286     case $ac_file$ac_mode in
7287     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7288     # Strip MF so we end up with the name of the file.
7289     mf=`echo "$mf" | sed -e 's/:.*$//'`
7290     # Check whether this is an Automake generated Makefile or not.
7291     # We used to match only the files named `Makefile.in', but
7292     # some people rename them; so instead we look at the file content.
7293     # Grep'ing the first line is not enough: some people post-process
7294     # each Makefile.in and add a new line on top of each file to say so.
7295     # So let's grep whole file.
7296     if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7297     dirpart=`$as_dirname -- "$mf" ||
7298     $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7299     X"$mf" : 'X\(//\)[^/]' \| \
7300     X"$mf" : 'X\(//\)$' \| \
7301     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7302     echo X"$mf" |
7303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7304     s//\1/
7305     q
7306     }
7307     /^X\(\/\/\)[^/].*/{
7308     s//\1/
7309     q
7310     }
7311     /^X\(\/\/\)$/{
7312     s//\1/
7313     q
7314     }
7315     /^X\(\/\).*/{
7316     s//\1/
7317     q
7318     }
7319     s/.*/./; q'`
7320     else
7321     continue
7322     fi
7323     grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7324     # Extract the definition of DEP_FILES from the Makefile without
7325     # running `make'.
7326     DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7327     test -z "$DEPDIR" && continue
7328     # When using ansi2knr, U may be empty or an underscore; expand it
7329     U=`sed -n -e '/^U = / s///p' < "$mf"`
7330     test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7331     # We invoke sed twice because it is the simplest approach to
7332     # changing $(DEPDIR) to its actual value in the expansion.
7333     for file in `sed -n -e '
7334     /^DEP_FILES = .*\\\\$/ {
7335     s/^DEP_FILES = //
7336     :loop
7337     s/\\\\$//
7338     p
7339     n
7340     /\\\\$/ b loop
7341     p
7342     }
7343     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7344     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7345     # Make sure the directory exists.
7346     test -f "$dirpart/$file" && continue
7347     fdir=`$as_dirname -- "$file" ||
7348     $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7349     X"$file" : 'X\(//\)[^/]' \| \
7350     X"$file" : 'X\(//\)$' \| \
7351     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7352     echo X"$file" |
7353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7354     s//\1/
7355     q
7356     }
7357     /^X\(\/\/\)[^/].*/{
7358     s//\1/
7359     q
7360     }
7361     /^X\(\/\/\)$/{
7362     s//\1/
7363     q
7364     }
7365     /^X\(\/\).*/{
7366     s//\1/
7367     q
7368     }
7369     s/.*/./; q'`
7370     { as_dir=$dirpart/$fdir
7371     case $as_dir in #(
7372     -*) as_dir=./$as_dir;;
7373     esac
7374     test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7375     as_dirs=
7376     while :; do
7377     case $as_dir in #(
7378     *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7379     *) as_qdir=$as_dir;;
7380     esac
7381     as_dirs="'$as_qdir' $as_dirs"
7382     as_dir=`$as_dirname -- "$as_dir" ||
7383     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7384     X"$as_dir" : 'X\(//\)[^/]' \| \
7385     X"$as_dir" : 'X\(//\)$' \| \
7386     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7387     echo X"$as_dir" |
7388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7389     s//\1/
7390     q
7391     }
7392     /^X\(\/\/\)[^/].*/{
7393     s//\1/
7394     q
7395     }
7396     /^X\(\/\/\)$/{
7397     s//\1/
7398     q
7399     }
7400     /^X\(\/\).*/{
7401     s//\1/
7402     q
7403     }
7404     s/.*/./; q'`
7405     test -d "$as_dir" && break
7406     done
7407     test -z "$as_dirs" || eval "mkdir $as_dirs"
7408     } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7409     echo "$as_me: error: cannot create directory $as_dir" >&2;}
7410     { (exit 1); exit 1; }; }; }
7411     # echo "creating $dirpart/$file"
7412     echo '# dummy' > "$dirpart/$file"
7413     done
7414     done
7415     ;;
7416    
7417     esac
7418     done # for ac_tag
7419    
7420    
7421     { (exit 0); exit 0; }
7422     _ACEOF
7423     chmod +x $CONFIG_STATUS
7424     ac_clean_files=$ac_clean_files_save
7425    
7426    
7427     # configure is writing to config.log, and then calls config.status.
7428     # config.status does its own redirection, appending to config.log.
7429     # Unfortunately, on DOS this fails, as config.log is still kept open
7430     # by configure, so config.status won't be able to write to it; its
7431     # output is simply discarded. So we exec the FD to /dev/null,
7432     # effectively closing config.log, so it can be properly (re)opened and
7433     # appended to by config.status. When coming back to configure, we
7434     # need to make the FD available again.
7435     if test "$no_create" != yes; then
7436     ac_cs_success=:
7437     ac_config_status_args=
7438     test "$silent" = yes &&
7439     ac_config_status_args="$ac_config_status_args --quiet"
7440     exec 5>/dev/null
7441     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7442     exec 5>>config.log
7443     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7444     # would make configure fail if this is the last instruction.
7445     $ac_cs_success || { (exit 1); exit 1; }
7446     fi
7447