/[debian]/fullquottel/trunk/configure
ViewVC logotype

Contents of /fullquottel/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 697 - (show annotations)
Sun Apr 1 22:11:36 2007 UTC (14 years, 3 months ago) by gregoa
File size: 207280 byte(s)
* New upstream release (closes: #417186).
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="fullquottel.cpp"
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 install_sh
665 STRIP
666 INSTALL_STRIP_PROGRAM
667 mkdir_p
668 AWK
669 SET_MAKE
670 am__leading_dot
671 AMTAR
672 am__tar
673 am__untar
674 ISODATE
675 build
676 build_cpu
677 build_vendor
678 build_os
679 host
680 host_cpu
681 host_vendor
682 host_os
683 CC
684 CFLAGS
685 LDFLAGS
686 CPPFLAGS
687 ac_ct_CC
688 EXEEXT
689 OBJEXT
690 DEPDIR
691 am__include
692 am__quote
693 AMDEP_TRUE
694 AMDEP_FALSE
695 AMDEPBACKSLASH
696 CCDEPMODE
697 am__fastdepCC_TRUE
698 am__fastdepCC_FALSE
699 CXX
700 CXXFLAGS
701 ac_ct_CXX
702 CXXDEPMODE
703 am__fastdepCXX_TRUE
704 am__fastdepCXX_FALSE
705 CPP
706 GREP
707 EGREP
708 ALLOCA
709 LIBOBJS
710 LTLIBOBJS'
711 ac_subst_files=''
712 ac_precious_vars='build_alias
713 host_alias
714 target_alias
715 CC
716 CFLAGS
717 LDFLAGS
718 LIBS
719 CPPFLAGS
720 CXX
721 CXXFLAGS
722 CCC
723 CPP'
724
725
726 # Initialize some variables set by options.
727 ac_init_help=
728 ac_init_version=false
729 # The variables have the same names as the options, with
730 # dashes changed to underlines.
731 cache_file=/dev/null
732 exec_prefix=NONE
733 no_create=
734 no_recursion=
735 prefix=NONE
736 program_prefix=NONE
737 program_suffix=NONE
738 program_transform_name=s,x,x,
739 silent=
740 site=
741 srcdir=
742 verbose=
743 x_includes=NONE
744 x_libraries=NONE
745
746 # Installation directory options.
747 # These are left unexpanded so users can "make install exec_prefix=/foo"
748 # and all the variables that are supposed to be based on exec_prefix
749 # by default will actually change.
750 # Use braces instead of parens because sh, perl, etc. also accept them.
751 # (The list follows the same order as the GNU Coding Standards.)
752 bindir='${exec_prefix}/bin'
753 sbindir='${exec_prefix}/sbin'
754 libexecdir='${exec_prefix}/libexec'
755 datarootdir='${prefix}/share'
756 datadir='${datarootdir}'
757 sysconfdir='${prefix}/etc'
758 sharedstatedir='${prefix}/com'
759 localstatedir='${prefix}/var'
760 includedir='${prefix}/include'
761 oldincludedir='/usr/include'
762 docdir='${datarootdir}/doc/${PACKAGE}'
763 infodir='${datarootdir}/info'
764 htmldir='${docdir}'
765 dvidir='${docdir}'
766 pdfdir='${docdir}'
767 psdir='${docdir}'
768 libdir='${exec_prefix}/lib'
769 localedir='${datarootdir}/locale'
770 mandir='${datarootdir}/man'
771
772 ac_prev=
773 ac_dashdash=
774 for ac_option
775 do
776 # If the previous option needs an argument, assign it.
777 if test -n "$ac_prev"; then
778 eval $ac_prev=\$ac_option
779 ac_prev=
780 continue
781 fi
782
783 case $ac_option in
784 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785 *) ac_optarg=yes ;;
786 esac
787
788 # Accept the important Cygnus configure options, so we can diagnose typos.
789
790 case $ac_dashdash$ac_option in
791 --)
792 ac_dashdash=yes ;;
793
794 -bindir | --bindir | --bindi | --bind | --bin | --bi)
795 ac_prev=bindir ;;
796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
797 bindir=$ac_optarg ;;
798
799 -build | --build | --buil | --bui | --bu)
800 ac_prev=build_alias ;;
801 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802 build_alias=$ac_optarg ;;
803
804 -cache-file | --cache-file | --cache-fil | --cache-fi \
805 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806 ac_prev=cache_file ;;
807 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809 cache_file=$ac_optarg ;;
810
811 --config-cache | -C)
812 cache_file=config.cache ;;
813
814 -datadir | --datadir | --datadi | --datad)
815 ac_prev=datadir ;;
816 -datadir=* | --datadir=* | --datadi=* | --datad=*)
817 datadir=$ac_optarg ;;
818
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820 | --dataroo | --dataro | --datar)
821 ac_prev=datarootdir ;;
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824 datarootdir=$ac_optarg ;;
825
826 -disable-* | --disable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831 { (exit 1); exit 1; }; }
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833 eval enable_$ac_feature=no ;;
834
835 -docdir | --docdir | --docdi | --doc | --do)
836 ac_prev=docdir ;;
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838 docdir=$ac_optarg ;;
839
840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
841 ac_prev=dvidir ;;
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843 dvidir=$ac_optarg ;;
844
845 -enable-* | --enable-*)
846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
850 { (exit 1); exit 1; }; }
851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
852 eval enable_$ac_feature=\$ac_optarg ;;
853
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;;
858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860 | --exec=* | --exe=* | --ex=*)
861 exec_prefix=$ac_optarg ;;
862
863 -gas | --gas | --ga | --g)
864 # Obsolete; use --with-gas.
865 with_gas=yes ;;
866
867 -help | --help | --hel | --he | -h)
868 ac_init_help=long ;;
869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870 ac_init_help=recursive ;;
871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872 ac_init_help=short ;;
873
874 -host | --host | --hos | --ho)
875 ac_prev=host_alias ;;
876 -host=* | --host=* | --hos=* | --ho=*)
877 host_alias=$ac_optarg ;;
878
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 ac_prev=htmldir ;;
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 | --ht=*)
883 htmldir=$ac_optarg ;;
884
885 -includedir | --includedir | --includedi | --included | --include \
886 | --includ | --inclu | --incl | --inc)
887 ac_prev=includedir ;;
888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889 | --includ=* | --inclu=* | --incl=* | --inc=*)
890 includedir=$ac_optarg ;;
891
892 -infodir | --infodir | --infodi | --infod | --info | --inf)
893 ac_prev=infodir ;;
894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895 infodir=$ac_optarg ;;
896
897 -libdir | --libdir | --libdi | --libd)
898 ac_prev=libdir ;;
899 -libdir=* | --libdir=* | --libdi=* | --libd=*)
900 libdir=$ac_optarg ;;
901
902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903 | --libexe | --libex | --libe)
904 ac_prev=libexecdir ;;
905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906 | --libexe=* | --libex=* | --libe=*)
907 libexecdir=$ac_optarg ;;
908
909 -localedir | --localedir | --localedi | --localed | --locale)
910 ac_prev=localedir ;;
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
913
914 -localstatedir | --localstatedir | --localstatedi | --localstated \
915 | --localstate | --localstat | --localsta | --localst | --locals)
916 ac_prev=localstatedir ;;
917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919 localstatedir=$ac_optarg ;;
920
921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922 ac_prev=mandir ;;
923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
924 mandir=$ac_optarg ;;
925
926 -nfp | --nfp | --nf)
927 # Obsolete; use --without-fp.
928 with_fp=no ;;
929
930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931 | --no-cr | --no-c | -n)
932 no_create=yes ;;
933
934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
936 no_recursion=yes ;;
937
938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940 | --oldin | --oldi | --old | --ol | --o)
941 ac_prev=oldincludedir ;;
942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945 oldincludedir=$ac_optarg ;;
946
947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948 ac_prev=prefix ;;
949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
950 prefix=$ac_optarg ;;
951
952 -program-prefix | --program-prefix | --program-prefi | --program-pref \
953 | --program-pre | --program-pr | --program-p)
954 ac_prev=program_prefix ;;
955 -program-prefix=* | --program-prefix=* | --program-prefi=* \
956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957 program_prefix=$ac_optarg ;;
958
959 -program-suffix | --program-suffix | --program-suffi | --program-suff \
960 | --program-suf | --program-su | --program-s)
961 ac_prev=program_suffix ;;
962 -program-suffix=* | --program-suffix=* | --program-suffi=* \
963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964 program_suffix=$ac_optarg ;;
965
966 -program-transform-name | --program-transform-name \
967 | --program-transform-nam | --program-transform-na \
968 | --program-transform-n | --program-transform- \
969 | --program-transform | --program-transfor \
970 | --program-transfo | --program-transf \
971 | --program-trans | --program-tran \
972 | --progr-tra | --program-tr | --program-t)
973 ac_prev=program_transform_name ;;
974 -program-transform-name=* | --program-transform-name=* \
975 | --program-transform-nam=* | --program-transform-na=* \
976 | --program-transform-n=* | --program-transform-=* \
977 | --program-transform=* | --program-transfor=* \
978 | --program-transfo=* | --program-transf=* \
979 | --program-trans=* | --program-tran=* \
980 | --progr-tra=* | --program-tr=* | --program-t=*)
981 program_transform_name=$ac_optarg ;;
982
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 ac_prev=pdfdir ;;
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986 pdfdir=$ac_optarg ;;
987
988 -psdir | --psdir | --psdi | --psd | --ps)
989 ac_prev=psdir ;;
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991 psdir=$ac_optarg ;;
992
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
995 silent=yes ;;
996
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998 ac_prev=sbindir ;;
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000 | --sbi=* | --sb=*)
1001 sbindir=$ac_optarg ;;
1002
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1006 | --sha | --sh)
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011 | --sha=* | --sh=*)
1012 sharedstatedir=$ac_optarg ;;
1013
1014 -site | --site | --sit)
1015 ac_prev=site ;;
1016 -site=* | --site=* | --sit=*)
1017 site=$ac_optarg ;;
1018
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020 ac_prev=srcdir ;;
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1023
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1030
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1035
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1037 verbose=yes ;;
1038
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1041
1042 -with-* | --with-*)
1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1049 eval with_$ac_package=\$ac_optarg ;;
1050
1051 -without-* | --without-*)
1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1058 eval with_$ac_package=no ;;
1059
1060 --x)
1061 # Obsolete; use --with-x.
1062 with_x=yes ;;
1063
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1070
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1077
1078 -*) { echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1081 ;;
1082
1083 *=*)
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1091
1092 *)
1093 # FIXME: should be removed in autoconf 3.0.
1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098 ;;
1099
1100 esac
1101 done
1102
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1107 fi
1108
1109 # Be sure to have absolute directory names.
1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1114 do
1115 eval ac_val=\$$ac_var
1116 case $ac_val in
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1119 esac
1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1121 { (exit 1); exit 1; }; }
1122 done
1123
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1127 build=$build_alias
1128 host=$host_alias
1129 target=$target_alias
1130
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then
1134 cross_compiling=maybe
1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1138 cross_compiling=yes
1139 fi
1140 fi
1141
1142 ac_tool_prefix=
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144
1145 test "$silent" = yes && exec 6>/dev/null
1146
1147
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2
1152 { (exit 1); exit 1; }; }
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2
1155 { (exit 1); exit 1; }; }
1156
1157
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$0" ||
1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$0" : 'X\(//\)[^/]' \| \
1165 X"$0" : 'X\(//\)$' \| \
1166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1167 echo X"$0" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1169 s//\1/
1170 q
1171 }
1172 /^X\(\/\/\)[^/].*/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\/\)$/{
1177 s//\1/
1178 q
1179 }
1180 /^X\(\/\).*/{
1181 s//\1/
1182 q
1183 }
1184 s/.*/./; q'`
1185 srcdir=$ac_confdir
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 srcdir=..
1188 fi
1189 else
1190 ac_srcdir_defaulted=no
1191 fi
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1195 { (exit 1); exit 1; }; }
1196 fi
1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 ac_abs_confdir=`(
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1200 { (exit 1); exit 1; }; }
1201 pwd)`
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 srcdir=.
1205 fi
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1209 case $srcdir in
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 esac
1212 for ac_var in $ac_precious_vars; do
1213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_${ac_var}_value=\$${ac_var}
1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1217 done
1218
1219 #
1220 # Report the --help message.
1221 #
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1225 cat <<_ACEOF
1226 \`configure' configures this package to adapt to many kinds of systems.
1227
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1229
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1232
1233 Defaults for the options are specified in brackets.
1234
1235 Configuration:
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 [PREFIX]
1251
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1256
1257 For better control, use the options below.
1258
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1279 _ACEOF
1280
1281 cat <<\_ACEOF
1282
1283 Program names:
1284 --program-prefix=PREFIX prepend PREFIX to installed program names
1285 --program-suffix=SUFFIX append SUFFIX to installed program names
1286 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1287
1288 System types:
1289 --build=BUILD configure for building on BUILD [guessed]
1290 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1291 _ACEOF
1292 fi
1293
1294 if test -n "$ac_init_help"; then
1295
1296 cat <<\_ACEOF
1297
1298 Optional Features:
1299 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301 --disable-dependency-tracking speeds up one-time build
1302 --enable-dependency-tracking do not reject slow dependency extractors
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 CXX C++ compiler command
1313 CXXFLAGS C++ compiler flags
1314 CPP C preprocessor
1315
1316 Use these variables to override the choices made by `configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1318
1319 _ACEOF
1320 ac_status=$?
1321 fi
1322
1323 if test "$ac_init_help" = "recursive"; then
1324 # If there are subdirs, report their specific --help.
1325 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1326 test -d "$ac_dir" || continue
1327 ac_builddir=.
1328
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *)
1332 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1344
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1374 fi
1375
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 configure
1380 generated by GNU Autoconf 2.61
1381
1382 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1383 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1386 _ACEOF
1387 exit
1388 fi
1389 cat >config.log <<_ACEOF
1390 This file contains any messages produced by compilers while
1391 running configure, to aid debugging if configure makes a mistake.
1392
1393 It was created by $as_me, which was
1394 generated by GNU Autoconf 2.61. Invocation command line was
1395
1396 $ $0 $@
1397
1398 _ACEOF
1399 exec 5>>config.log
1400 {
1401 cat <<_ASUNAME
1402 ## --------- ##
1403 ## Platform. ##
1404 ## --------- ##
1405
1406 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1407 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1408 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1409 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1410 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1411
1412 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1413 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1414
1415 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1416 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1417 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1418 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1419 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1420 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1421 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1422
1423 _ASUNAME
1424
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 for as_dir in $PATH
1427 do
1428 IFS=$as_save_IFS
1429 test -z "$as_dir" && as_dir=.
1430 echo "PATH: $as_dir"
1431 done
1432 IFS=$as_save_IFS
1433
1434 } >&5
1435
1436 cat >&5 <<_ACEOF
1437
1438
1439 ## ----------- ##
1440 ## Core tests. ##
1441 ## ----------- ##
1442
1443 _ACEOF
1444
1445
1446 # Keep a trace of the command line.
1447 # Strip out --no-create and --no-recursion so they do not pile up.
1448 # Strip out --silent because we don't want to record it for future runs.
1449 # Also quote any args containing shell meta-characters.
1450 # Make two passes to allow for proper duplicate-argument suppression.
1451 ac_configure_args=
1452 ac_configure_args0=
1453 ac_configure_args1=
1454 ac_must_keep_next=false
1455 for ac_pass in 1 2
1456 do
1457 for ac_arg
1458 do
1459 case $ac_arg in
1460 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1462 | -silent | --silent | --silen | --sile | --sil)
1463 continue ;;
1464 *\'*)
1465 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1466 esac
1467 case $ac_pass in
1468 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1469 2)
1470 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1471 if test $ac_must_keep_next = true; then
1472 ac_must_keep_next=false # Got value, back to normal.
1473 else
1474 case $ac_arg in
1475 *=* | --config-cache | -C | -disable-* | --disable-* \
1476 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1477 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1478 | -with-* | --with-* | -without-* | --without-* | --x)
1479 case "$ac_configure_args0 " in
1480 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1481 esac
1482 ;;
1483 -* ) ac_must_keep_next=true ;;
1484 esac
1485 fi
1486 ac_configure_args="$ac_configure_args '$ac_arg'"
1487 ;;
1488 esac
1489 done
1490 done
1491 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1492 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1493
1494 # When interrupted or exit'd, cleanup temporary files, and complete
1495 # config.log. We remove comments because anyway the quotes in there
1496 # would cause problems or look ugly.
1497 # WARNING: Use '\'' to represent an apostrophe within the trap.
1498 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1499 trap 'exit_status=$?
1500 # Save into config.log some information that might help in debugging.
1501 {
1502 echo
1503
1504 cat <<\_ASBOX
1505 ## ---------------- ##
1506 ## Cache variables. ##
1507 ## ---------------- ##
1508 _ASBOX
1509 echo
1510 # The following way of writing the cache mishandles newlines in values,
1511 (
1512 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1513 eval ac_val=\$$ac_var
1514 case $ac_val in #(
1515 *${as_nl}*)
1516 case $ac_var in #(
1517 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1518 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1519 esac
1520 case $ac_var in #(
1521 _ | IFS | as_nl) ;; #(
1522 *) $as_unset $ac_var ;;
1523 esac ;;
1524 esac
1525 done
1526 (set) 2>&1 |
1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528 *${as_nl}ac_space=\ *)
1529 sed -n \
1530 "s/'\''/'\''\\\\'\'''\''/g;
1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1532 ;; #(
1533 *)
1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 ;;
1536 esac |
1537 sort
1538 )
1539 echo
1540
1541 cat <<\_ASBOX
1542 ## ----------------- ##
1543 ## Output variables. ##
1544 ## ----------------- ##
1545 _ASBOX
1546 echo
1547 for ac_var in $ac_subst_vars
1548 do
1549 eval ac_val=\$$ac_var
1550 case $ac_val in
1551 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552 esac
1553 echo "$ac_var='\''$ac_val'\''"
1554 done | sort
1555 echo
1556
1557 if test -n "$ac_subst_files"; then
1558 cat <<\_ASBOX
1559 ## ------------------- ##
1560 ## File substitutions. ##
1561 ## ------------------- ##
1562 _ASBOX
1563 echo
1564 for ac_var in $ac_subst_files
1565 do
1566 eval ac_val=\$$ac_var
1567 case $ac_val in
1568 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1569 esac
1570 echo "$ac_var='\''$ac_val'\''"
1571 done | sort
1572 echo
1573 fi
1574
1575 if test -s confdefs.h; then
1576 cat <<\_ASBOX
1577 ## ----------- ##
1578 ## confdefs.h. ##
1579 ## ----------- ##
1580 _ASBOX
1581 echo
1582 cat confdefs.h
1583 echo
1584 fi
1585 test "$ac_signal" != 0 &&
1586 echo "$as_me: caught signal $ac_signal"
1587 echo "$as_me: exit $exit_status"
1588 } >&5
1589 rm -f core *.core core.conftest.* &&
1590 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1591 exit $exit_status
1592 ' 0
1593 for ac_signal in 1 2 13 15; do
1594 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1595 done
1596 ac_signal=0
1597
1598 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1599 rm -f -r conftest* confdefs.h
1600
1601 # Predefined preprocessor variables.
1602
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_NAME "$PACKAGE_NAME"
1605 _ACEOF
1606
1607
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1610 _ACEOF
1611
1612
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1615 _ACEOF
1616
1617
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_STRING "$PACKAGE_STRING"
1620 _ACEOF
1621
1622
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1625 _ACEOF
1626
1627
1628 # Let the site file select an alternate cache file if it wants to.
1629 # Prefer explicitly selected file to automatically selected ones.
1630 if test -n "$CONFIG_SITE"; then
1631 set x "$CONFIG_SITE"
1632 elif test "x$prefix" != xNONE; then
1633 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1634 else
1635 set x "$ac_default_prefix/share/config.site" \
1636 "$ac_default_prefix/etc/config.site"
1637 fi
1638 shift
1639 for ac_site_file
1640 do
1641 if test -r "$ac_site_file"; then
1642 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1643 echo "$as_me: loading site script $ac_site_file" >&6;}
1644 sed 's/^/| /' "$ac_site_file" >&5
1645 . "$ac_site_file"
1646 fi
1647 done
1648
1649 if test -r "$cache_file"; then
1650 # Some versions of bash will fail to source /dev/null (special
1651 # files actually), so we avoid doing that.
1652 if test -f "$cache_file"; then
1653 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1654 echo "$as_me: loading cache $cache_file" >&6;}
1655 case $cache_file in
1656 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1657 *) . "./$cache_file";;
1658 esac
1659 fi
1660 else
1661 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1662 echo "$as_me: creating cache $cache_file" >&6;}
1663 >$cache_file
1664 fi
1665
1666 # Check that the precious variables saved in the cache have kept the same
1667 # value.
1668 ac_cache_corrupted=false
1669 for ac_var in $ac_precious_vars; do
1670 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1671 eval ac_new_set=\$ac_env_${ac_var}_set
1672 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1673 eval ac_new_val=\$ac_env_${ac_var}_value
1674 case $ac_old_set,$ac_new_set in
1675 set,)
1676 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1678 ac_cache_corrupted=: ;;
1679 ,set)
1680 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1681 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,);;
1684 *)
1685 if test "x$ac_old_val" != "x$ac_new_val"; then
1686 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1687 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1688 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1689 echo "$as_me: former value: $ac_old_val" >&2;}
1690 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1691 echo "$as_me: current value: $ac_new_val" >&2;}
1692 ac_cache_corrupted=:
1693 fi;;
1694 esac
1695 # Pass precious variables to config.status.
1696 if test "$ac_new_set" = set; then
1697 case $ac_new_val in
1698 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1699 *) ac_arg=$ac_var=$ac_new_val ;;
1700 esac
1701 case " $ac_configure_args " in
1702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1703 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1704 esac
1705 fi
1706 done
1707 if $ac_cache_corrupted; then
1708 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1709 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1710 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1711 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731 ac_ext=c
1732 ac_cpp='$CPP $CPPFLAGS'
1733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1736
1737
1738 am__api_version="1.9"
1739 ac_aux_dir=
1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741 if test -f "$ac_dir/install-sh"; then
1742 ac_aux_dir=$ac_dir
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1744 break
1745 elif test -f "$ac_dir/install.sh"; then
1746 ac_aux_dir=$ac_dir
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1748 break
1749 elif test -f "$ac_dir/shtool"; then
1750 ac_aux_dir=$ac_dir
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1752 break
1753 fi
1754 done
1755 if test -z "$ac_aux_dir"; then
1756 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1757 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1758 { (exit 1); exit 1; }; }
1759 fi
1760
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1768
1769
1770 # Find a good install program. We prefer a C program (faster),
1771 # so one script is as good as another. But avoid the broken or
1772 # incompatible versions:
1773 # SysV /etc/install, /usr/sbin/install
1774 # SunOS /usr/etc/install
1775 # IRIX /sbin/install
1776 # AIX /bin/install
1777 # AmigaOS /C/install, which installs bootblocks on floppy discs
1778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1781 # OS/2's system install, which has a completely different semantic
1782 # ./install, which can be erroneously created by make from ./install.sh.
1783 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1785 if test -z "$INSTALL"; then
1786 if test "${ac_cv_path_install+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1791 do
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in
1796 ./ | .// | /cC/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1799 /usr/ucb/* ) ;;
1800 *)
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1803 # by default.
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1810 :
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1814 :
1815 else
1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1817 break 3
1818 fi
1819 fi
1820 done
1821 done
1822 ;;
1823 esac
1824 done
1825 IFS=$as_save_IFS
1826
1827
1828 fi
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1831 else
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1837 fi
1838 fi
1839 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6; }
1841
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1845
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1847
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1849
1850 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1852 # Just in case
1853 sleep 1
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1859 # directory).
1860 if (
1861 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1863 # -L didn't work.
1864 set X `ls -t $srcdir/configure conftest.file`
1865 fi
1866 rm -f conftest.file
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1869
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1879 fi
1880
1881 test "$2" = conftest.file
1882 )
1883 then
1884 # Ok.
1885 :
1886 else
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1892 fi
1893 { echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6; }
1895 test "$program_prefix" != NONE &&
1896 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE &&
1899 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF >conftest.sed
1903 s/[\\$]/&&/g;s/;s,x,x,$//
1904 _ACEOF
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906 rm -f conftest.sed
1907
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1910
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run="$MISSING --run "
1915 else
1916 am_missing_run=
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1919 fi
1920
1921 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1922 # We used to keeping the `.' as first argument, in order to
1923 # allow $(mkdir_p) to be used without argument. As in
1924 # $(mkdir_p) $(somedir)
1925 # where $(somedir) is conditionally defined. However this is wrong
1926 # for two reasons:
1927 # 1. if the package is installed by a user who cannot write `.'
1928 # make install will fail,
1929 # 2. the above comment should most certainly read
1930 # $(mkdir_p) $(DESTDIR)$(somedir)
1931 # so it does not work when $(somedir) is undefined and
1932 # $(DESTDIR) is not.
1933 # To support the latter case, we have to write
1934 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1935 # so the `.' trick is pointless.
1936 mkdir_p='mkdir -p --'
1937 else
1938 # On NextStep and OpenStep, the `mkdir' command does not
1939 # recognize any option. It will interpret all options as
1940 # directories to create, and then abort because `.' already
1941 # exists.
1942 for d in ./-p ./--version;
1943 do
1944 test -d $d && rmdir $d
1945 done
1946 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1947 if test -f "$ac_aux_dir/mkinstalldirs"; then
1948 mkdir_p='$(mkinstalldirs)'
1949 else
1950 mkdir_p='$(install_sh) -d'
1951 fi
1952 fi
1953
1954 for ac_prog in gawk mawk nawk awk
1955 do
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960 if test "${ac_cv_prog_AWK+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 else
1963 if test -n "$AWK"; then
1964 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1965 else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1968 do
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_prog_AWK="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 break 2
1976 fi
1977 done
1978 done
1979 IFS=$as_save_IFS
1980
1981 fi
1982 fi
1983 AWK=$ac_cv_prog_AWK
1984 if test -n "$AWK"; then
1985 { echo "$as_me:$LINENO: result: $AWK" >&5
1986 echo "${ECHO_T}$AWK" >&6; }
1987 else
1988 { echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6; }
1990 fi
1991
1992
1993 test -n "$AWK" && break
1994 done
1995
1996 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1997 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1998 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1999 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 else
2002 cat >conftest.make <<\_ACEOF
2003 SHELL = /bin/sh
2004 all:
2005 @echo '@@@%%%=$(MAKE)=@@@%%%'
2006 _ACEOF
2007 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2008 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2009 *@@@%%%=?*=@@@%%%*)
2010 eval ac_cv_prog_make_${ac_make}_set=yes;;
2011 *)
2012 eval ac_cv_prog_make_${ac_make}_set=no;;
2013 esac
2014 rm -f conftest.make
2015 fi
2016 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2017 { echo "$as_me:$LINENO: result: yes" >&5
2018 echo "${ECHO_T}yes" >&6; }
2019 SET_MAKE=
2020 else
2021 { echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6; }
2023 SET_MAKE="MAKE=${MAKE-make}"
2024 fi
2025
2026 rm -rf .tst 2>/dev/null
2027 mkdir .tst 2>/dev/null
2028 if test -d .tst; then
2029 am__leading_dot=.
2030 else
2031 am__leading_dot=_
2032 fi
2033 rmdir .tst 2>/dev/null
2034
2035 # test to see if srcdir already configured
2036 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2037 test -f $srcdir/config.status; then
2038 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2039 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2040 { (exit 1); exit 1; }; }
2041 fi
2042
2043 # test whether we have cygpath
2044 if test -z "$CYGPATH_W"; then
2045 if (cygpath --version) >/dev/null 2>/dev/null; then
2046 CYGPATH_W='cygpath -w'
2047 else
2048 CYGPATH_W=echo
2049 fi
2050 fi
2051
2052
2053 # Define the identity of the package.
2054 PACKAGE=fullquottel
2055 VERSION=0.1.2
2056
2057
2058 cat >>confdefs.h <<_ACEOF
2059 #define PACKAGE "$PACKAGE"
2060 _ACEOF
2061
2062
2063 cat >>confdefs.h <<_ACEOF
2064 #define VERSION "$VERSION"
2065 _ACEOF
2066
2067 # Some tools Automake needs.
2068
2069 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2070
2071
2072 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2073
2074
2075 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2076
2077
2078 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2079
2080
2081 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2082
2083 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2084
2085 # Installed binaries are usually stripped using `strip' when the user
2086 # run `make install-strip'. However `strip' might not be the right
2087 # tool to use in cross-compilation environments, therefore Automake
2088 # will honor the `STRIP' environment variable to overrule this program.
2089 if test "$cross_compiling" != no; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}strip; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 if test -n "$STRIP"; then
2099 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2111 fi
2112 done
2113 done
2114 IFS=$as_save_IFS
2115
2116 fi
2117 fi
2118 STRIP=$ac_cv_prog_STRIP
2119 if test -n "$STRIP"; then
2120 { echo "$as_me:$LINENO: result: $STRIP" >&5
2121 echo "${ECHO_T}$STRIP" >&6; }
2122 else
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2125 fi
2126
2127
2128 fi
2129 if test -z "$ac_cv_prog_STRIP"; then
2130 ac_ct_STRIP=$STRIP
2131 # Extract the first word of "strip", so it can be a program name with args.
2132 set dummy strip; ac_word=$2
2133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2135 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 else
2138 if test -n "$ac_ct_STRIP"; then
2139 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2140 else
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 for as_dir in $PATH
2143 do
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2148 ac_cv_prog_ac_ct_STRIP="strip"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 break 2
2151 fi
2152 done
2153 done
2154 IFS=$as_save_IFS
2155
2156 fi
2157 fi
2158 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2159 if test -n "$ac_ct_STRIP"; then
2160 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2161 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2162 else
2163 { echo "$as_me:$LINENO: result: no" >&5
2164 echo "${ECHO_T}no" >&6; }
2165 fi
2166
2167 if test "x$ac_ct_STRIP" = x; then
2168 STRIP=":"
2169 else
2170 case $cross_compiling:$ac_tool_warned in
2171 yes:)
2172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2173 whose name does not start with the host triplet. If you think this
2174 configuration is useful to you, please write to autoconf@gnu.org." >&5
2175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2176 whose name does not start with the host triplet. If you think this
2177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2178 ac_tool_warned=yes ;;
2179 esac
2180 STRIP=$ac_ct_STRIP
2181 fi
2182 else
2183 STRIP="$ac_cv_prog_STRIP"
2184 fi
2185
2186 fi
2187 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2188
2189 # We need awk for the "check" target. The system "awk" is bad on
2190 # some platforms.
2191 # Always define AMTAR for backward compatibility.
2192
2193 AMTAR=${AMTAR-"${am_missing_run}tar"}
2194
2195 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205 ISODATE=`date +%Y-%m-%d`
2206
2207
2208 # Make sure we can run config.sub.
2209 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2210 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2211 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2212 { (exit 1); exit 1; }; }
2213
2214 { echo "$as_me:$LINENO: checking build system type" >&5
2215 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2216 if test "${ac_cv_build+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 else
2219 ac_build_alias=$build_alias
2220 test "x$ac_build_alias" = x &&
2221 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2222 test "x$ac_build_alias" = x &&
2223 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2224 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2225 { (exit 1); exit 1; }; }
2226 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2227 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2228 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2229 { (exit 1); exit 1; }; }
2230
2231 fi
2232 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2233 echo "${ECHO_T}$ac_cv_build" >&6; }
2234 case $ac_cv_build in
2235 *-*-*) ;;
2236 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2237 echo "$as_me: error: invalid value of canonical build" >&2;}
2238 { (exit 1); exit 1; }; };;
2239 esac
2240 build=$ac_cv_build
2241 ac_save_IFS=$IFS; IFS='-'
2242 set x $ac_cv_build
2243 shift
2244 build_cpu=$1
2245 build_vendor=$2
2246 shift; shift
2247 # Remember, the first character of IFS is used to create $*,
2248 # except with old shells:
2249 build_os=$*
2250 IFS=$ac_save_IFS
2251 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2252
2253
2254 { echo "$as_me:$LINENO: checking host system type" >&5
2255 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2256 if test "${ac_cv_host+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 if test "x$host_alias" = x; then
2260 ac_cv_host=$ac_cv_build
2261 else
2262 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2263 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2264 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2265 { (exit 1); exit 1; }; }
2266 fi
2267
2268 fi
2269 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2270 echo "${ECHO_T}$ac_cv_host" >&6; }
2271 case $ac_cv_host in
2272 *-*-*) ;;
2273 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2274 echo "$as_me: error: invalid value of canonical host" >&2;}
2275 { (exit 1); exit 1; }; };;
2276 esac
2277 host=$ac_cv_host
2278 ac_save_IFS=$IFS; IFS='-'
2279 set x $ac_cv_host
2280 shift
2281 host_cpu=$1
2282 host_vendor=$2
2283 shift; shift
2284 # Remember, the first character of IFS is used to create $*,
2285 # except with old shells:
2286 host_os=$*
2287 IFS=$ac_save_IFS
2288 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2289
2290
2291
2292 # Find a good install program. We prefer a C program (faster),
2293 # so one script is as good as another. But avoid the broken or
2294 # incompatible versions:
2295 # SysV /etc/install, /usr/sbin/install
2296 # SunOS /usr/etc/install
2297 # IRIX /sbin/install
2298 # AIX /bin/install
2299 # AmigaOS /C/install, which installs bootblocks on floppy discs
2300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2303 # OS/2's system install, which has a completely different semantic
2304 # ./install, which can be erroneously created by make from ./install.sh.
2305 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2306 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2307 if test -z "$INSTALL"; then
2308 if test "${ac_cv_path_install+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in
2318 ./ | .// | /cC/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2321 /usr/ucb/* ) ;;
2322 *)
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2325 # by default.
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2332 :
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2336 :
2337 else
2338 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2339 break 3
2340 fi
2341 fi
2342 done
2343 done
2344 ;;
2345 esac
2346 done
2347 IFS=$as_save_IFS
2348
2349
2350 fi
2351 if test "${ac_cv_path_install+set}" = set; then
2352 INSTALL=$ac_cv_path_install
2353 else
2354 # As a last resort, use the slow shell script. Don't cache a
2355 # value for INSTALL within a source directory, because that will
2356 # break other packages using the cache if that directory is
2357 # removed, or if the value is a relative name.
2358 INSTALL=$ac_install_sh
2359 fi
2360 fi
2361 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2362 echo "${ECHO_T}$INSTALL" >&6; }
2363
2364 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2365 # It thinks the first close brace ends the variable substitution.
2366 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2367
2368 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2369
2370 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2371
2372 ac_ext=c
2373 ac_cpp='$CPP $CPPFLAGS'
2374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 else
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2387 else
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 for as_dir in $PATH
2390 do
2391 IFS=$as_save_IFS
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 break 2
2398 fi
2399 done
2400 done
2401 IFS=$as_save_IFS
2402
2403 fi
2404 fi
2405 CC=$ac_cv_prog_CC
2406 if test -n "$CC"; then
2407 { echo "$as_me:$LINENO: result: $CC" >&5
2408 echo "${ECHO_T}$CC" >&6; }
2409 else
2410 { echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6; }
2412 fi
2413
2414
2415 fi
2416 if test -z "$ac_cv_prog_CC"; then
2417 ac_ct_CC=$CC
2418 # Extract the first word of "gcc", so it can be a program name with args.
2419 set dummy gcc; 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="gcc"
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 if test "x$ac_ct_CC" = x; then
2455 CC=""
2456 else
2457 case $cross_compiling:$ac_tool_warned in
2458 yes:)
2459 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2460 whose name does not start with the host triplet. If you think this
2461 configuration is useful to you, please write to autoconf@gnu.org." >&5
2462 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2463 whose name does not start with the host triplet. If you think this
2464 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2465 ac_tool_warned=yes ;;
2466 esac
2467 CC=$ac_ct_CC
2468 fi
2469 else
2470 CC="$ac_cv_prog_CC"
2471 fi
2472
2473 if test -z "$CC"; then
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2476 set dummy ${ac_tool_prefix}cc; ac_word=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_CC+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 if test -n "$CC"; then
2483 ac_cv_prog_CC="$CC" # Let the user override the test.
2484 else
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2487 do
2488 IFS=$as_save_IFS
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_CC="${ac_tool_prefix}cc"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 break 2
2495 fi
2496 done
2497 done
2498 IFS=$as_save_IFS
2499
2500 fi
2501 fi
2502 CC=$ac_cv_prog_CC
2503 if test -n "$CC"; then
2504 { echo "$as_me:$LINENO: result: $CC" >&5
2505 echo "${ECHO_T}$CC" >&6; }
2506 else
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2509 fi
2510
2511
2512 fi
2513 fi
2514 if test -z "$CC"; then
2515 # Extract the first word of "cc", so it can be a program name with args.
2516 set dummy cc; ac_word=$2
2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519 if test "${ac_cv_prog_CC+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 else
2522 if test -n "$CC"; then
2523 ac_cv_prog_CC="$CC" # Let the user override the test.
2524 else
2525 ac_prog_rejected=no
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 for as_dir in $PATH
2528 do
2529 IFS=$as_save_IFS
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2534 ac_prog_rejected=yes
2535 continue
2536 fi
2537 ac_cv_prog_CC="cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 break 2
2540 fi
2541 done
2542 done
2543 IFS=$as_save_IFS
2544
2545 if test $ac_prog_rejected = yes; then
2546 # We found a bogon in the path, so make sure we never use it.
2547 set dummy $ac_cv_prog_CC
2548 shift
2549 if test $# != 0; then
2550 # We chose a different compiler from the bogus one.
2551 # However, it has the same basename, so the bogon will be chosen
2552 # first if we set CC to just the basename; use the full file name.
2553 shift
2554 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2555 fi
2556 fi
2557 fi
2558 fi
2559 CC=$ac_cv_prog_CC
2560 if test -n "$CC"; then
2561 { echo "$as_me:$LINENO: result: $CC" >&5
2562 echo "${ECHO_T}$CC" >&6; }
2563 else
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2566 fi
2567
2568
2569 fi
2570 if test -z "$CC"; then
2571 if test -n "$ac_tool_prefix"; then
2572 for ac_prog in cl.exe
2573 do
2574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 else
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC="$CC" # Let the user override the test.
2583 else
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 for as_dir in $PATH
2586 do
2587 IFS=$as_save_IFS
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 break 2
2594 fi
2595 done
2596 done
2597 IFS=$as_save_IFS
2598
2599 fi
2600 fi
2601 CC=$ac_cv_prog_CC
2602 if test -n "$CC"; then
2603 { echo "$as_me:$LINENO: result: $CC" >&5
2604 echo "${ECHO_T}$CC" >&6; }
2605 else
2606 { echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6; }
2608 fi
2609
2610
2611 test -n "$CC" && break
2612 done
2613 fi
2614 if test -z "$CC"; then
2615 ac_ct_CC=$CC
2616 for ac_prog in cl.exe
2617 do
2618 # Extract the first word of "$ac_prog", so it can be a program name with args.
2619 set dummy $ac_prog; ac_word=$2
2620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 else
2625 if test -n "$ac_ct_CC"; then
2626 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2627 else
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 for as_dir in $PATH
2630 do
2631 IFS=$as_save_IFS
2632 test -z "$as_dir" && as_dir=.
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635 ac_cv_prog_ac_ct_CC="$ac_prog"
2636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 break 2
2638 fi
2639 done
2640 done
2641 IFS=$as_save_IFS
2642
2643 fi
2644 fi
2645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2646 if test -n "$ac_ct_CC"; then
2647 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2648 echo "${ECHO_T}$ac_ct_CC" >&6; }
2649 else
2650 { echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6; }
2652 fi
2653
2654
2655 test -n "$ac_ct_CC" && break
2656 done
2657
2658 if test "x$ac_ct_CC" = x; then
2659 CC=""
2660 else
2661 case $cross_compiling:$ac_tool_warned in
2662 yes:)
2663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2664 whose name does not start with the host triplet. If you think this
2665 configuration is useful to you, please write to autoconf@gnu.org." >&5
2666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2667 whose name does not start with the host triplet. If you think this
2668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2669 ac_tool_warned=yes ;;
2670 esac
2671 CC=$ac_ct_CC
2672 fi
2673 fi
2674
2675 fi
2676
2677
2678 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2679 See \`config.log' for more details." >&5
2680 echo "$as_me: error: no acceptable C compiler found in \$PATH
2681 See \`config.log' for more details." >&2;}
2682 { (exit 1); exit 1; }; }
2683
2684 # Provide some information about the compiler.
2685 echo "$as_me:$LINENO: checking for C compiler version" >&5
2686 ac_compiler=`set X $ac_compile; echo $2`
2687 { (ac_try="$ac_compiler --version >&5"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693 (eval "$ac_compiler --version >&5") 2>&5
2694 ac_status=$?
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }
2697 { (ac_try="$ac_compiler -v >&5"
2698 case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_compiler -v >&5") 2>&5
2704 ac_status=$?
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }
2707 { (ac_try="$ac_compiler -V >&5"
2708 case "(($ac_try" in
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2711 esac
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_compiler -V >&5") 2>&5
2714 ac_status=$?
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }
2717
2718 cat >conftest.$ac_ext <<_ACEOF
2719 /* confdefs.h. */
2720 _ACEOF
2721 cat confdefs.h >>conftest.$ac_ext
2722 cat >>conftest.$ac_ext <<_ACEOF
2723 /* end confdefs.h. */
2724
2725 int
2726 main ()
2727 {
2728
2729 ;
2730 return 0;
2731 }
2732 _ACEOF
2733 ac_clean_files_save=$ac_clean_files
2734 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2735 # Try to create an executable without -o first, disregard a.out.
2736 # It will help us diagnose broken compilers, and finding out an intuition
2737 # of exeext.
2738 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2739 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2740 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2741 #
2742 # List of possible output files, starting from the most likely.
2743 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2744 # only as a last resort. b.out is created by i960 compilers.
2745 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2746 #
2747 # The IRIX 6 linker writes into existing files which may not be
2748 # executable, retaining their permissions. Remove them first so a
2749 # subsequent execution test works.
2750 ac_rmfiles=
2751 for ac_file in $ac_files
2752 do
2753 case $ac_file in
2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2755 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2756 esac
2757 done
2758 rm -f $ac_rmfiles
2759
2760 if { (ac_try="$ac_link_default"
2761 case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link_default") 2>&5
2767 ac_status=$?
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2772 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2773 # so that the user can short-circuit this test for compilers unknown to
2774 # Autoconf.
2775 for ac_file in $ac_files ''
2776 do
2777 test -f "$ac_file" || continue
2778 case $ac_file in
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2780 ;;
2781 [ab].out )
2782 # We found the default executable, but exeext='' is most
2783 # certainly right.
2784 break;;
2785 *.* )
2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2787 then :; else
2788 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2789 fi
2790 # We set ac_cv_exeext here because the later test for it is not
2791 # safe: cross compilers may not add the suffix if given an `-o'
2792 # argument, so we may need to know it at that point already.
2793 # Even if this section looks crufty: it has the advantage of
2794 # actually working.
2795 break;;
2796 * )
2797 break;;
2798 esac
2799 done
2800 test "$ac_cv_exeext" = no && ac_cv_exeext=
2801
2802 else
2803 ac_file=''
2804 fi
2805
2806 { echo "$as_me:$LINENO: result: $ac_file" >&5
2807 echo "${ECHO_T}$ac_file" >&6; }
2808 if test -z "$ac_file"; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2811
2812 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2813 See \`config.log' for more details." >&5
2814 echo "$as_me: error: C compiler cannot create executables
2815 See \`config.log' for more details." >&2;}
2816 { (exit 77); exit 77; }; }
2817 fi
2818
2819 ac_exeext=$ac_cv_exeext
2820
2821 # Check that the compiler produces executables we can run. If not, either
2822 # the compiler is broken, or we cross compile.
2823 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2824 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2825 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2826 # If not cross compiling, check that we can run a simple program.
2827 if test "$cross_compiling" != yes; then
2828 if { ac_try='./$ac_file'
2829 { (case "(($ac_try" in
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2832 esac
2833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2834 (eval "$ac_try") 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2838 cross_compiling=no
2839 else
2840 if test "$cross_compiling" = maybe; then
2841 cross_compiling=yes
2842 else
2843 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2844 If you meant to cross compile, use \`--host'.
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot run C compiled programs.
2847 If you meant to cross compile, use \`--host'.
2848 See \`config.log' for more details." >&2;}
2849 { (exit 1); exit 1; }; }
2850 fi
2851 fi
2852 fi
2853 { echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6; }
2855
2856 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2857 ac_clean_files=$ac_clean_files_save
2858 # Check that the compiler produces executables we can run. If not, either
2859 # the compiler is broken, or we cross compile.
2860 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2861 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2862 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2863 echo "${ECHO_T}$cross_compiling" >&6; }
2864
2865 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2866 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2867 if { (ac_try="$ac_link"
2868 case "(($ac_try" in
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2871 esac
2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873 (eval "$ac_link") 2>&5
2874 ac_status=$?
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; then
2877 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2878 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2879 # work properly (i.e., refer to `conftest.exe'), while it won't with
2880 # `rm'.
2881 for ac_file in conftest.exe conftest conftest.*; do
2882 test -f "$ac_file" || continue
2883 case $ac_file in
2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2885 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886 break;;
2887 * ) break;;
2888 esac
2889 done
2890 else
2891 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2892 See \`config.log' for more details." >&5
2893 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2894 See \`config.log' for more details." >&2;}
2895 { (exit 1); exit 1; }; }
2896 fi
2897
2898 rm -f conftest$ac_cv_exeext
2899 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2900 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2901
2902 rm -f conftest.$ac_ext
2903 EXEEXT=$ac_cv_exeext
2904 ac_exeext=$EXEEXT
2905 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2906 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2907 if test "${ac_cv_objext+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 else
2910 cat >conftest.$ac_ext <<_ACEOF
2911 /* confdefs.h. */
2912 _ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2916
2917 int
2918 main ()
2919 {
2920
2921 ;
2922 return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.o conftest.obj
2926 if { (ac_try="$ac_compile"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>&5
2933 ac_status=$?
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; then
2936 for ac_file in conftest.o conftest.obj conftest.*; do
2937 test -f "$ac_file" || continue;
2938 case $ac_file in
2939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2940 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2941 break;;
2942 esac
2943 done
2944 else
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2947
2948 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log' for more details." >&5
2950 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2951 See \`config.log' for more details." >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2956 fi
2957 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2958 echo "${ECHO_T}$ac_cv_objext" >&6; }
2959 OBJEXT=$ac_cv_objext
2960 ac_objext=$OBJEXT
2961 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2962 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 else
2966 cat >conftest.$ac_ext <<_ACEOF
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972
2973 int
2974 main ()
2975 {
2976 #ifndef __GNUC__
2977 choke me
2978 #endif
2979
2980 ;
2981 return 0;
2982 }
2983 _ACEOF
2984 rm -f conftest.$ac_objext
2985 if { (ac_try="$ac_compile"
2986 case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2989 esac
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>conftest.er1
2992 ac_status=$?
2993 grep -v '^ *+' conftest.er1 >conftest.err
2994 rm -f conftest.er1
2995 cat conftest.err >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } && {
2998 test -z "$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3000 } && test -s conftest.$ac_objext; then
3001 ac_compiler_gnu=yes
3002 else
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3005
3006 ac_compiler_gnu=no
3007 fi
3008
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3011
3012 fi
3013 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3014 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3015 GCC=`test $ac_compiler_gnu = yes && echo yes`
3016 ac_test_CFLAGS=${CFLAGS+set}
3017 ac_save_CFLAGS=$CFLAGS
3018 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3019 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_cc_g+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 else
3023 ac_save_c_werror_flag=$ac_c_werror_flag
3024 ac_c_werror_flag=yes
3025 ac_cv_prog_cc_g=no
3026 CFLAGS="-g"
3027 cat >conftest.$ac_ext <<_ACEOF
3028 /* confdefs.h. */
3029 _ACEOF
3030 cat confdefs.h >>conftest.$ac_ext
3031 cat >>conftest.$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3033
3034 int
3035 main ()
3036 {
3037
3038 ;
3039 return 0;
3040 }
3041 _ACEOF
3042 rm -f conftest.$ac_objext
3043 if { (ac_try="$ac_compile"
3044 case "(($ac_try" in
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3047 esac
3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049 (eval "$ac_compile") 2>conftest.er1
3050 ac_status=$?
3051 grep -v '^ *+' conftest.er1 >conftest.err
3052 rm -f conftest.er1
3053 cat conftest.err >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } && {
3056 test -z "$ac_c_werror_flag" ||
3057 test ! -s conftest.err
3058 } && test -s conftest.$ac_objext; then
3059 ac_cv_prog_cc_g=yes
3060 else
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3063
3064 CFLAGS=""
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3071
3072 int
3073 main ()
3074 {
3075
3076 ;
3077 return 0;
3078 }
3079 _ACEOF
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3082 case "(($ac_try" in
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3085 esac
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compile") 2>conftest.er1
3088 ac_status=$?
3089 grep -v '^ *+' conftest.er1 >conftest.err
3090 rm -f conftest.er1
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } && {
3094 test -z "$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.$ac_objext; then
3097 :
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3101
3102 ac_c_werror_flag=$ac_save_c_werror_flag
3103 CFLAGS="-g"
3104 cat >conftest.$ac_ext <<_ACEOF
3105 /* confdefs.h. */
3106 _ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3110
3111 int
3112 main ()
3113 {
3114
3115 ;
3116 return 0;
3117 }
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (ac_try="$ac_compile"
3121 case "(($ac_try" in
3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3124 esac
3125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3126 (eval "$ac_compile") 2>conftest.er1
3127 ac_status=$?
3128 grep -v '^ *+' conftest.er1 >conftest.err
3129 rm -f conftest.er1
3130 cat conftest.err >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } && {
3133 test -z "$ac_c_werror_flag" ||
3134 test ! -s conftest.err
3135 } && test -s conftest.$ac_objext; then
3136 ac_cv_prog_cc_g=yes
3137 else
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.$ac_ext >&5
3140
3141
3142 fi
3143
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 fi
3146
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 fi
3149
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3152 fi
3153 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3154 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3155 if test "$ac_test_CFLAGS" = set; then
3156 CFLAGS=$ac_save_CFLAGS
3157 elif test $ac_cv_prog_cc_g = yes; then
3158 if test "$GCC" = yes; then
3159 CFLAGS="-g -O2"
3160 else
3161 CFLAGS="-g"
3162 fi
3163 else
3164 if test "$GCC" = yes; then
3165 CFLAGS="-O2"
3166 else
3167 CFLAGS=
3168 fi
3169 fi
3170 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3171 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3172 if test "${ac_cv_prog_cc_c89+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 else
3175 ac_cv_prog_cc_c89=no
3176 ac_save_CC=$CC
3177 cat >conftest.$ac_ext <<_ACEOF
3178 /* confdefs.h. */
3179 _ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3183 #include <stdarg.h>
3184 #include <stdio.h>
3185 #include <sys/types.h>
3186 #include <sys/stat.h>
3187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3188 struct buf { int x; };
3189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3190 static char *e (p, i)
3191 char **p;
3192 int i;
3193 {
3194 return p[i];
3195 }
3196 static char *f (char * (*g) (char **, int), char **p, ...)
3197 {
3198 char *s;
3199 va_list v;
3200 va_start (v,p);
3201 s = g (p, va_arg (v,int));
3202 va_end (v);
3203 return s;
3204 }
3205
3206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3207 function prototypes and stuff, but not '\xHH' hex character constants.
3208 These don't provoke an error unfortunately, instead are silently treated
3209 as 'x'. The following induces an error, until -std is added to get
3210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3211 array size at least. It's necessary to write '\x00'==0 to get something
3212 that's true only with -std. */
3213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3214
3215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3216 inside strings and character constants. */
3217 #define FOO(x) 'x'
3218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3219
3220 int test (int i, double x);
3221 struct s1 {int (*f) (int a);};
3222 struct s2 {int (*f) (double a);};
3223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3224 int argc;
3225 char **argv;
3226 int
3227 main ()
3228 {
3229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3230 ;
3231 return 0;
3232 }
3233 _ACEOF
3234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3235 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3236 do
3237 CC="$ac_save_CC $ac_arg"
3238 rm -f conftest.$ac_objext
3239 if { (ac_try="$ac_compile"
3240 case "(($ac_try" in
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3243 esac
3244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3245 (eval "$ac_compile") 2>conftest.er1
3246 ac_status=$?
3247 grep -v '^ *+' conftest.er1 >conftest.err
3248 rm -f conftest.er1
3249 cat conftest.err >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } && {
3252 test -z "$ac_c_werror_flag" ||
3253 test ! -s conftest.err
3254 } && test -s conftest.$ac_objext; then
3255 ac_cv_prog_cc_c89=$ac_arg
3256 else
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3259
3260
3261 fi
3262
3263 rm -f core conftest.err conftest.$ac_objext
3264 test "x$ac_cv_prog_cc_c89" != "xno" && break
3265 done
3266 rm -f conftest.$ac_ext
3267 CC=$ac_save_CC
3268
3269 fi
3270 # AC_CACHE_VAL
3271 case "x$ac_cv_prog_cc_c89" in
3272 x)
3273 { echo "$as_me:$LINENO: result: none needed" >&5
3274 echo "${ECHO_T}none needed" >&6; } ;;
3275 xno)
3276 { echo "$as_me:$LINENO: result: unsupported" >&5
3277 echo "${ECHO_T}unsupported" >&6; } ;;
3278 *)
3279 CC="$CC $ac_cv_prog_cc_c89"
3280 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3281 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3282 esac
3283
3284
3285 ac_ext=c
3286 ac_cpp='$CPP $CPPFLAGS'
3287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3290 DEPDIR="${am__leading_dot}deps"
3291
3292 ac_config_commands="$ac_config_commands depfiles"
3293
3294
3295 am_make=${MAKE-make}
3296 cat > confinc << 'END'
3297 am__doit:
3298 @echo done
3299 .PHONY: am__doit
3300 END
3301 # If we don't find an include directive, just comment out the code.
3302 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3303 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3304 am__include="#"
3305 am__quote=
3306 _am_result=none
3307 # First try GNU make style include.
3308 echo "include confinc" > confmf
3309 # We grep out `Entering directory' and `Leaving directory'
3310 # messages which can occur if `w' ends up in MAKEFLAGS.
3311 # In particular we don't look at `^make:' because GNU make might
3312 # be invoked under some other name (usually "gmake"), in which
3313 # case it prints its new name instead of `make'.
3314 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3315 am__include=include
3316 am__quote=
3317 _am_result=GNU
3318 fi
3319 # Now try BSD make style include.
3320 if test "$am__include" = "#"; then
3321 echo '.include "confinc"' > confmf
3322 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3323 am__include=.include
3324 am__quote="\""
3325 _am_result=BSD
3326 fi
3327 fi
3328
3329
3330 { echo "$as_me:$LINENO: result: $_am_result" >&5
3331 echo "${ECHO_T}$_am_result" >&6; }
3332 rm -f confinc confmf
3333
3334 # Check whether --enable-dependency-tracking was given.
3335 if test "${enable_dependency_tracking+set}" = set; then
3336 enableval=$enable_dependency_tracking;
3337 fi
3338
3339 if test "x$enable_dependency_tracking" != xno; then
3340 am_depcomp="$ac_aux_dir/depcomp"
3341 AMDEPBACKSLASH='\'
3342 fi
3343
3344
3345 if test "x$enable_dependency_tracking" != xno; then
3346 AMDEP_TRUE=
3347 AMDEP_FALSE='#'
3348 else
3349 AMDEP_TRUE='#'
3350 AMDEP_FALSE=
3351 fi
3352
3353
3354
3355
3356 depcc="$CC" am_compiler_list=
3357
3358 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3359 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3360 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 else
3363 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3364 # We make a subdir and do the tests there. Otherwise we can end up
3365 # making bogus files that we don't know about and never remove. For
3366 # instance it was reported that on HP-UX the gcc test will end up
3367 # making a dummy file named `D' -- because `-MD' means `put the output
3368 # in D'.
3369 mkdir conftest.dir
3370 # Copy depcomp to subdir because otherwise we won't find it if we're
3371 # using a relative directory.
3372 cp "$am_depcomp" conftest.dir
3373 cd conftest.dir
3374 # We will build objects and dependencies in a subdirectory because
3375 # it helps to detect inapplicable dependency modes. For instance
3376 # both Tru64's cc and ICC support -MD to output dependencies as a
3377 # side effect of compilation, but ICC will put the dependencies in
3378 # the current directory while Tru64 will put them in the object
3379 # directory.
3380 mkdir sub
3381
3382 am_cv_CC_dependencies_compiler_type=none
3383 if test "$am_compiler_list" = ""; then
3384 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3385 fi
3386 for depmode in $am_compiler_list; do
3387 # Setup a source with many dependencies, because some compilers
3388 # like to wrap large dependency lists on column 80 (with \), and
3389 # we should not choose a depcomp mode which is confused by this.
3390 #
3391 # We need to recreate these files for each test, as the compiler may
3392 # overwrite some of them when testing with obscure command lines.
3393 # This happens at least with the AIX C compiler.
3394 : > sub/conftest.c
3395 for i in 1 2 3 4 5 6; do
3396 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3397 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3398 # Solaris 8's {/usr,}/bin/sh.
3399 touch sub/conftst$i.h
3400 done
3401 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3402
3403 case $depmode in
3404 nosideeffect)
3405 # after this tag, mechanisms are not by side-effect, so they'll
3406 # only be used when explicitly requested
3407 if test "x$enable_dependency_tracking" = xyes; then
3408 continue
3409 else
3410 break
3411 fi
3412 ;;
3413 none) break ;;
3414 esac
3415 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3416 # mode. It turns out that the SunPro C++ compiler does not properly
3417 # handle `-M -o', and we need to detect this.
3418 if depmode=$depmode \
3419 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3420 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3421 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3422 >/dev/null 2>conftest.err &&
3423 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3424 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3425 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3426 # icc doesn't choke on unknown options, it will just issue warnings
3427 # or remarks (even with -Werror). So we grep stderr for any message
3428 # that says an option was ignored or not supported.
3429 # When given -MP, icc 7.0 and 7.1 complain thusly:
3430 # icc: Command line warning: ignoring option '-M'; no argument required
3431 # The diagnosis changed in icc 8.0:
3432 # icc: Command line remark: option '-MP' not supported
3433 if (grep 'ignoring option' conftest.err ||
3434 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3435 am_cv_CC_dependencies_compiler_type=$depmode
3436 break
3437 fi
3438 fi
3439 done
3440
3441 cd ..
3442 rm -rf conftest.dir
3443 else
3444 am_cv_CC_dependencies_compiler_type=none
3445 fi
3446
3447 fi
3448 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3449 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3450 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3451
3452
3453
3454 if
3455 test "x$enable_dependency_tracking" != xno \
3456 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3457 am__fastdepCC_TRUE=
3458 am__fastdepCC_FALSE='#'
3459 else
3460 am__fastdepCC_TRUE='#'
3461 am__fastdepCC_FALSE=
3462 fi
3463
3464
3465 ac_ext=cpp
3466 ac_cpp='$CXXCPP $CPPFLAGS'
3467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3470 if test -z "$CXX"; then
3471 if test -n "$CCC"; then
3472 CXX=$CCC
3473 else
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3476 do
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3481 if test "${ac_cv_prog_CXX+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 if test -n "$CXX"; then
3485 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3489 do
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3497 fi
3498 done
3499 done
3500 IFS=$as_save_IFS
3501
3502 fi
3503 fi
3504 CXX=$ac_cv_prog_CXX
3505 if test -n "$CXX"; then
3506 { echo "$as_me:$LINENO: result: $CXX" >&5
3507 echo "${ECHO_T}$CXX" >&6; }
3508 else
3509 { echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6; }
3511 fi
3512
3513
3514 test -n "$CXX" && break
3515 done
3516 fi
3517 if test -z "$CXX"; then
3518 ac_ct_CXX=$CXX
3519 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3520 do
3521 # Extract the first word of "$ac_prog", so it can be a program name with args.
3522 set dummy $ac_prog; ac_word=$2
3523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3525 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 else
3528 if test -n "$ac_ct_CXX"; then
3529 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3530 else
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH
3533 do
3534 IFS=$as_save_IFS
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538 ac_cv_prog_ac_ct_CXX="$ac_prog"
3539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 break 2
3541 fi
3542 done
3543 done
3544 IFS=$as_save_IFS
3545
3546 fi
3547 fi
3548 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3549 if test -n "$ac_ct_CXX"; then
3550 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3551 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3552 else
3553 { echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6; }
3555 fi
3556
3557
3558 test -n "$ac_ct_CXX" && break
3559 done
3560
3561 if test "x$ac_ct_CXX" = x; then
3562 CXX="g++"
3563 else
3564 case $cross_compiling:$ac_tool_warned in
3565 yes:)
3566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3567 whose name does not start with the host triplet. If you think this
3568 configuration is useful to you, please write to autoconf@gnu.org." >&5
3569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3570 whose name does not start with the host triplet. If you think this
3571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3572 ac_tool_warned=yes ;;
3573 esac
3574 CXX=$ac_ct_CXX
3575 fi
3576 fi
3577
3578 fi
3579 fi
3580 # Provide some information about the compiler.
3581 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3582 ac_compiler=`set X $ac_compile; echo $2`
3583 { (ac_try="$ac_compiler --version >&5"
3584 case "(($ac_try" in
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3587 esac
3588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3589 (eval "$ac_compiler --version >&5") 2>&5
3590 ac_status=$?
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }
3593 { (ac_try="$ac_compiler -v >&5"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_compiler -v >&5") 2>&5
3600 ac_status=$?
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }
3603 { (ac_try="$ac_compiler -V >&5"
3604 case "(($ac_try" in
3605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3607 esac
3608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3609 (eval "$ac_compiler -V >&5") 2>&5
3610 ac_status=$?
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }
3613
3614 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3615 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3616 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 else
3619 cat >conftest.$ac_ext <<_ACEOF
3620 /* confdefs.h. */
3621 _ACEOF
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3625
3626 int
3627 main ()
3628 {
3629 #ifndef __GNUC__
3630 choke me
3631 #endif
3632
3633 ;
3634 return 0;
3635 }
3636 _ACEOF
3637 rm -f conftest.$ac_objext
3638 if { (ac_try="$ac_compile"
3639 case "(($ac_try" in
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3642 esac
3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3644 (eval "$ac_compile") 2>conftest.er1
3645 ac_status=$?
3646 grep -v '^ *+' conftest.er1 >conftest.err
3647 rm -f conftest.er1
3648 cat conftest.err >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } && {
3651 test -z "$ac_cxx_werror_flag" ||
3652 test ! -s conftest.err
3653 } && test -s conftest.$ac_objext; then
3654 ac_compiler_gnu=yes
3655 else
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3658
3659 ac_compiler_gnu=no
3660 fi
3661
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3664
3665 fi
3666 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3667 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3668 GXX=`test $ac_compiler_gnu = yes && echo yes`
3669 ac_test_CXXFLAGS=${CXXFLAGS+set}
3670 ac_save_CXXFLAGS=$CXXFLAGS
3671 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3672 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3673 if test "${ac_cv_prog_cxx_g+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 else
3676 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3677 ac_cxx_werror_flag=yes
3678 ac_cv_prog_cxx_g=no
3679 CXXFLAGS="-g"
3680 cat >conftest.$ac_ext <<_ACEOF
3681 /* confdefs.h. */
3682 _ACEOF
3683 cat confdefs.h >>conftest.$ac_ext
3684 cat >>conftest.$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3686
3687 int
3688 main ()
3689 {
3690
3691 ;
3692 return 0;
3693 }
3694 _ACEOF
3695 rm -f conftest.$ac_objext
3696 if { (ac_try="$ac_compile"
3697 case "(($ac_try" in
3698 *\"* | *