The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute...
[asterisk/asterisk.git] / configure
1 #! /bin/sh
2 # From configure.ac Revision: 35812 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59e.
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 #
11 # "Asterisk"
12 ## --------------------- ##
13 ## M4sh Initialization.  ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 fi
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
38
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41   echo "#! /bin/sh" >conf$$.sh
42   echo  "exit 0"   >>conf$$.sh
43   chmod +x conf$$.sh
44   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45     PATH_SEPARATOR=';'
46   else
47     PATH_SEPARATOR=:
48   fi
49   rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54   as_unset=unset
55 else
56   as_unset=false
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order.  Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" ""        $as_nl"
68
69 # Find who we are.  Look in the path if we contain no directory separator.
70 case $0 in
71   *[\\/]* ) as_myself=$0 ;;
72   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 for as_dir in $PATH
74 do
75   IFS=$as_save_IFS
76   test -z "$as_dir" && as_dir=.
77   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
79 IFS=$as_save_IFS
80
81      ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86   as_myself=$0
87 fi
88 if test ! -f "$as_myself"; then
89   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90   { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # NLS nuisances.
102 for as_var in \
103   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105   LC_TELEPHONE LC_TIME
106 do
107   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108     eval $as_var=C; export $as_var
109   else
110     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111   fi
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116    test "X`expr 00001 : '.*\(...\)'`" = X001; then
117   as_expr=expr
118 else
119   as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123   as_basename=basename
124 else
125   as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132          X"$0" : 'X\(//\)$' \| \
133          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135     sed '/^.*\/\([^/][^/]*\)\/*$/{
136             s//\1/
137             q
138           }
139           /^X\/\(\/\/\)$/{
140             s//\1/
141             q
142           }
143           /^X\/\(\/\).*/{
144             s//\1/
145             q
146           }
147           s/.*/./; q'`
148
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154   if (eval ":") 2>/dev/null; then
155   as_have_required=yes
156 else
157   as_have_required=no
158 fi
159
160   if test $as_have_required = yes &&     (eval ":
161 (as_func_return () {
162   (exit \$1)
163 }
164 as_func_success () {
165   as_func_return 0
166 }
167 as_func_failure () {
168   as_func_return 1
169 }
170 as_func_ret_success () {
171   return 0
172 }
173 as_func_ret_failure () {
174   return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179   :
180 else
181   exitcode=1
182   echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186   exitcode=1
187   echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191   :
192 else
193   exitcode=1
194   echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198   exitcode=1
199   echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203   :
204 else
205   exitcode=1
206   echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212   as_lineno_1=\$LINENO
213   as_lineno_2=\$LINENO
214   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217   :
218 else
219   as_candidate_shells=
220     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223   IFS=$as_save_IFS
224   test -z "$as_dir" && as_dir=.
225   case $as_dir in
226          /*)
227            for as_base in sh bash ksh sh5; do
228              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229            done;;
230        esac
231 done
232 IFS=$as_save_IFS
233
234
235       for as_shell in $as_candidate_shells $SHELL; do
236          # Try only shells which exist, to save several forks.
237          if test -f "$as_shell" &&
238                 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
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 *posix*) set -o posix;; esac
249 fi
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
252
253 :
254 _ASEOF
255 }; then
256   CONFIG_SHELL=$as_shell
257                as_have_required=yes
258                if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261   emulate sh
262   NULLCMD=:
263   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264   # is contrary to our usage.  Disable this feature.
265   alias -g '${1+"$@"}'='"$@"'
266   setopt NO_GLOB_SUBST
267 else
268   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 fi
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
272
273 :
274 (as_func_return () {
275   (exit $1)
276 }
277 as_func_success () {
278   as_func_return 0
279 }
280 as_func_failure () {
281   as_func_return 1
282 }
283 as_func_ret_success () {
284   return 0
285 }
286 as_func_ret_failure () {
287   return 1
288 }
289
290 exitcode=0
291 if as_func_success; then
292   :
293 else
294   exitcode=1
295   echo as_func_success failed.
296 fi
297
298 if as_func_failure; then
299   exitcode=1
300   echo as_func_failure succeeded.
301 fi
302
303 if as_func_ret_success; then
304   :
305 else
306   exitcode=1
307   echo as_func_ret_success failed.
308 fi
309
310 if as_func_ret_failure; then
311   exitcode=1
312   echo as_func_ret_failure succeeded.
313 fi
314
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
316   :
317 else
318   exitcode=1
319   echo positional parameters were not saved.
320 fi
321
322 test $exitcode = 0) || { (exit 1); exit 1; }
323
324 (
325   as_lineno_1=$LINENO
326   as_lineno_2=$LINENO
327   test "x$as_lineno_1" != "x$as_lineno_2" &&
328   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329
330 _ASEOF
331 }; then
332   break
333 fi
334
335 fi
336
337       done
338
339       if test "x$CONFIG_SHELL" != x; then
340   for as_var in BASH_ENV ENV
341         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342         done
343         export CONFIG_SHELL
344         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 fi
346
347
348     if test $as_have_required = no; then
349   echo This script requires a shell more modern than all the
350       echo shells that I found on your system.  Please install a
351       echo modern shell, or manually run the script under such a
352       echo shell if you do have one.
353       { (exit 1); exit 1; }
354 fi
355
356
357 fi
358
359 fi
360
361
362
363 (eval "as_func_return () {
364   (exit \$1)
365 }
366 as_func_success () {
367   as_func_return 0
368 }
369 as_func_failure () {
370   as_func_return 1
371 }
372 as_func_ret_success () {
373   return 0
374 }
375 as_func_ret_failure () {
376   return 1
377 }
378
379 exitcode=0
380 if as_func_success; then
381   :
382 else
383   exitcode=1
384   echo as_func_success failed.
385 fi
386
387 if as_func_failure; then
388   exitcode=1
389   echo as_func_failure succeeded.
390 fi
391
392 if as_func_ret_success; then
393   :
394 else
395   exitcode=1
396   echo as_func_ret_success failed.
397 fi
398
399 if as_func_ret_failure; then
400   exitcode=1
401   echo as_func_ret_failure succeeded.
402 fi
403
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405   :
406 else
407   exitcode=1
408   echo positional parameters were not saved.
409 fi
410
411 test \$exitcode = 0") || {
412   echo No shell found that supports shell functions.
413   echo Please tell autoconf@gnu.org about your system,
414   echo including any error possibly output before this
415   echo message
416 }
417
418
419
420   as_lineno_1=$LINENO
421   as_lineno_2=$LINENO
422   test "x$as_lineno_1" != "x$as_lineno_2" &&
423   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424
425   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426   # uniformly replaced by the line number.  The first 'sed' inserts a
427   # line-number line after each line using $LINENO; the second 'sed'
428   # does the real work.  The second script uses 'N' to pair each
429   # line-number line with the line containing $LINENO, and appends
430   # trailing '-' during substitution so that $LINENO is not a special
431   # case at line end.
432   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433   # scripts with optimization help from Paolo Bonzini.  Blame Lee
434   # E. McMahon (1931-1989) for sed's syntax.  :-)
435   sed -n '
436     p
437     /[$]LINENO/=
438   ' <$as_myself |
439     sed '
440       s/[$]LINENO.*/&-/
441       t lineno
442       b
443       :lineno
444       N
445       :loop
446       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447       t loop
448       s/-\n.*//
449     ' >$as_me.lineno &&
450   chmod +x "$as_me.lineno" ||
451     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452    { (exit 1); exit 1; }; }
453
454   # Don't try to exec as it changes $[0], causing all sort of problems
455   # (the dirname of $[0] is not the place where we might find the
456   # original and so on.  Autoconf is especially sensitive to this).
457   . "./$as_me.lineno"
458   # Exit status is that of the last command.
459   exit
460 }
461
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464   as_dirname=dirname
465 else
466   as_dirname=false
467 fi
468
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
471 -n*)
472   case `echo 'x\c'` in
473   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
474   *)   ECHO_C='\c';;
475   esac;;
476 *)
477   ECHO_N='-n';;
478 esac
479
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481    test "X`expr 00001 : '.*\(...\)'`" = X001; then
482   as_expr=expr
483 else
484   as_expr=false
485 fi
486
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489   rm -f conf$$.dir/conf$$.file
490 else
491   rm -f conf$$.dir
492   mkdir conf$$.dir
493 fi
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496   as_ln_s='ln -s'
497   # ... but there are two gotchas:
498   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500   # In both cases, we have to default to `cp -p'.
501   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502     as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504   as_ln_s=ln
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p=:
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526   as_executable_p="test -x"
527 else
528   as_executable_p=:
529 fi
530 rm -f conf$$.file
531
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539
540 exec 7<&0 </dev/null 6>&1
541
542 # Name of the host.
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547 #
548 # Initializations.
549 #
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 # Identity of this package.
561 PACKAGE_NAME=
562 PACKAGE_TARNAME=
563 PACKAGE_VERSION=
564 PACKAGE_STRING=
565 PACKAGE_BUGREPORT=
566
567 ac_unique_file="asterisk"
568 ac_unique_file="asterisk.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #if HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #if HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #if STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # if HAVE_STDLIB_H
583 #  include <stdlib.h>
584 # endif
585 #endif
586 #if HAVE_STRING_H
587 # if !STDC_HEADERS && HAVE_MEMORY_H
588 #  include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #if HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #if HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #if HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #if HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
604
605 ac_subst_vars='SHELL
606 PATH_SEPARATOR
607 PACKAGE_NAME
608 PACKAGE_TARNAME
609 PACKAGE_VERSION
610 PACKAGE_STRING
611 PACKAGE_BUGREPORT
612 exec_prefix
613 prefix
614 program_transform_name
615 bindir
616 sbindir
617 libexecdir
618 datarootdir
619 datadir
620 sysconfdir
621 sharedstatedir
622 localstatedir
623 includedir
624 oldincludedir
625 docdir
626 infodir
627 htmldir
628 dvidir
629 pdfdir
630 psdir
631 libdir
632 localedir
633 mandir
634 DEFS
635 ECHO_C
636 ECHO_N
637 ECHO_T
638 LIBS
639 build_alias
640 host_alias
641 target_alias
642 build
643 build_cpu
644 build_vendor
645 build_os
646 host
647 host_cpu
648 host_vendor
649 host_os
650 target
651 target_cpu
652 target_vendor
653 target_os
654 PBX_PLATFORM
655 PBX_CPU
656 PBX_VENDOR
657 PBX_OS
658 UNAME
659 PBX_OSREV
660 OSISWIN32
661 PBX_OSTYPE
662 CC
663 CXX
664 RANLIB
665 AR
666 NM
667 WINDRES
668 DLLWRAP
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPP
678 CXXCPP
679 AWK
680 INSTALL_PROGRAM
681 INSTALL_SCRIPT
682 INSTALL_DATA
683 LN_S
684 GNU_MAKE
685 GREP
686 FIND
687 COMPRESS
688 BASENAME
689 DIRNAME
690 LN
691 DOT
692 AST_DEVMODE
693 EGREP
694 ALSA_LIB
695 ALSA_INCLUDE
696 PBX_LIBALSA
697 CURSES_LIB
698 CURSES_INCLUDE
699 PBX_LIBCURSES
700 gsm_LIB
701 gsm_INCLUDE
702 PBX_LIBgsm
703 KDE_INCLUDE
704 KDE_LIBS
705 PBX_KDE
706 KDEINIT
707 KDEDIR
708 IKSEMEL_LIB
709 IKSEMEL_INCLUDE
710 PBX_LIBIKSEMEL
711 NBS_LIB
712 NBS_INCLUDE
713 PBX_LIBNBS
714 NCURSES_LIB
715 NCURSES_INCLUDE
716 PBX_LIBNCURSES
717 NETSNMP_CONFIG
718 NETSNMP_LIB
719 PBX_NETSNMP
720 NEWT_LIB
721 NEWT_INCLUDE
722 PBX_LIBNEWT
723 UNIXODBC_LIB
724 UNIXODBC_INCLUDE
725 PBX_LIBUNIXODBC
726 OGG_LIB
727 OGG_INCLUDE
728 PBX_LIBOGG
729 OSPTK_LIB
730 OSPTK_INCLUDE
731 PBX_LIBOSPTK
732 OSS_LIB
733 OSS_INCLUDE
734 PBX_LIBOSS
735 PG_CONFIG
736 pq_INCLUDE
737 pq_LIB
738 PBX_LIBpq
739 POPT_LIB
740 POPT_INCLUDE
741 PBX_LIBPOPT
742 LIBPRI_LIB
743 LIBPRI_INCLUDE
744 PBX_LIBLIBPRI
745 PWLIB_INCLUDE
746 PWLIB_LIB
747 PBX_LIBPWLIB
748 QT_INCLUDE
749 QT_LIB
750 QTMOC
751 PBX_QT
752 RADIUSCLIENT_LIB
753 RADIUSCLIENT_INCLUDE
754 PBX_LIBRADIUSCLIENT
755 SPEEX_LIB
756 SPEEX_INCLUDE
757 PBX_LIBSPEEX
758 SQLITE_LIB
759 SQLITE_INCLUDE
760 PBX_LIBSQLITE
761 OPENSSL_LIB
762 OPENSSL_INCLUDE
763 PBX_LIBOPENSSL
764 FREETDS_LIB
765 FREETDS_INCLUDE
766 PBX_LIBFREETDS
767 TERMCAP_LIB
768 TERMCAP_INCLUDE
769 PBX_LIBTERMCAP
770 TINFO_LIB
771 TINFO_INCLUDE
772 PBX_LIBTINFO
773 TONEZONE_LIB
774 TONEZONE_INCLUDE
775 PBX_LIBTONEZONE
776 VORBIS_LIB
777 VORBIS_INCLUDE
778 PBX_LIBVORBIS
779 VPB_INCLUDE
780 VPB_LIB
781 PBX_LIBvpb
782 ZLIB_LIB
783 ZLIB_INCLUDE
784 PBX_LIBZLIB
785 ZAPTEL_INCLUDE
786 PBX_ZAPTEL
787 EDITLINE_LIBS
788 PBX_H323
789 PBX_IXJUSER
790 GTKCONFIG
791 PBX_GTK
792 GTK_INCLUDE
793 GTK_LIBS
794 CURL
795 PBX_CURL
796 CURLLIBS
797 ALLOCA
798 LIBOBJS
799 POW_LIB
800 LTLIBOBJS'
801 ac_subst_files=''
802       ac_precious_vars='build_alias
803 host_alias
804 target_alias
805 CC
806 CFLAGS
807 LDFLAGS
808 CPPFLAGS
809 CXX
810 CXXFLAGS
811 CCC
812 CPP
813 CXXCPP'
814
815
816 # Initialize some variables set by options.
817 ac_init_help=
818 ac_init_version=false
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
821 cache_file=/dev/null
822 exec_prefix=NONE
823 no_create=
824 no_recursion=
825 prefix=NONE
826 program_prefix=NONE
827 program_suffix=NONE
828 program_transform_name=s,x,x,
829 silent=
830 site=
831 srcdir=
832 verbose=
833 x_includes=NONE
834 x_libraries=NONE
835
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE}'
853 infodir='${datarootdir}/info'
854 htmldir='${docdir}'
855 dvidir='${docdir}'
856 pdfdir='${docdir}'
857 psdir='${docdir}'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
861
862 ac_prev=
863 ac_dashdash=
864 for ac_option
865 do
866   # If the previous option needs an argument, assign it.
867   if test -n "$ac_prev"; then
868     eval $ac_prev=\$ac_option
869     ac_prev=
870     continue
871   fi
872
873   case $ac_option in
874   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875   *)    ac_optarg=yes ;;
876   esac
877
878   # Accept the important Cygnus configure options, so we can diagnose typos.
879
880   case $ac_dashdash$ac_option in
881   --)
882     ac_dashdash=yes ;;
883
884   -bindir | --bindir | --bindi | --bind | --bin | --bi)
885     ac_prev=bindir ;;
886   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
887     bindir=$ac_optarg ;;
888
889   -build | --build | --buil | --bui | --bu)
890     ac_prev=build_alias ;;
891   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
892     build_alias=$ac_optarg ;;
893
894   -cache-file | --cache-file | --cache-fil | --cache-fi \
895   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
896     ac_prev=cache_file ;;
897   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
898   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
899     cache_file=$ac_optarg ;;
900
901   --config-cache | -C)
902     cache_file=config.cache ;;
903
904   -datadir | --datadir | --datadi | --datad)
905     ac_prev=datadir ;;
906   -datadir=* | --datadir=* | --datadi=* | --datad=*)
907     datadir=$ac_optarg ;;
908
909   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910   | --dataroo | --dataro | --datar)
911     ac_prev=datarootdir ;;
912   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914     datarootdir=$ac_optarg ;;
915
916   -disable-* | --disable-*)
917     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918     # Reject names that are not valid shell variable names.
919     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
920       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
921    { (exit 1); exit 1; }; }
922     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
923     eval enable_$ac_feature=no ;;
924
925   -docdir | --docdir | --docdi | --doc | --do)
926     ac_prev=docdir ;;
927   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
928     docdir=$ac_optarg ;;
929
930   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
931     ac_prev=dvidir ;;
932   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
933     dvidir=$ac_optarg ;;
934
935   -enable-* | --enable-*)
936     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937     # Reject names that are not valid shell variable names.
938     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
939       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
940    { (exit 1); exit 1; }; }
941     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
942     eval enable_$ac_feature=\$ac_optarg ;;
943
944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
946   | --exec | --exe | --ex)
947     ac_prev=exec_prefix ;;
948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
950   | --exec=* | --exe=* | --ex=*)
951     exec_prefix=$ac_optarg ;;
952
953   -gas | --gas | --ga | --g)
954     # Obsolete; use --with-gas.
955     with_gas=yes ;;
956
957   -help | --help | --hel | --he | -h)
958     ac_init_help=long ;;
959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
960     ac_init_help=recursive ;;
961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
962     ac_init_help=short ;;
963
964   -host | --host | --hos | --ho)
965     ac_prev=host_alias ;;
966   -host=* | --host=* | --hos=* | --ho=*)
967     host_alias=$ac_optarg ;;
968
969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
970     ac_prev=htmldir ;;
971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
972   | --ht=*)
973     htmldir=$ac_optarg ;;
974
975   -includedir | --includedir | --includedi | --included | --include \
976   | --includ | --inclu | --incl | --inc)
977     ac_prev=includedir ;;
978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
979   | --includ=* | --inclu=* | --incl=* | --inc=*)
980     includedir=$ac_optarg ;;
981
982   -infodir | --infodir | --infodi | --infod | --info | --inf)
983     ac_prev=infodir ;;
984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
985     infodir=$ac_optarg ;;
986
987   -libdir | --libdir | --libdi | --libd)
988     ac_prev=libdir ;;
989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
990     libdir=$ac_optarg ;;
991
992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
993   | --libexe | --libex | --libe)
994     ac_prev=libexecdir ;;
995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
996   | --libexe=* | --libex=* | --libe=*)
997     libexecdir=$ac_optarg ;;
998
999   -localedir | --localedir | --localedi | --localed | --locale)
1000     ac_prev=localedir ;;
1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002     localedir=$ac_optarg ;;
1003
1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
1005   | --localstate | --localstat | --localsta | --localst | --locals)
1006     ac_prev=localstatedir ;;
1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1009     localstatedir=$ac_optarg ;;
1010
1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1012     ac_prev=mandir ;;
1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1014     mandir=$ac_optarg ;;
1015
1016   -nfp | --nfp | --nf)
1017     # Obsolete; use --without-fp.
1018     with_fp=no ;;
1019
1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021   | --no-cr | --no-c | -n)
1022     no_create=yes ;;
1023
1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1026     no_recursion=yes ;;
1027
1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1030   | --oldin | --oldi | --old | --ol | --o)
1031     ac_prev=oldincludedir ;;
1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1035     oldincludedir=$ac_optarg ;;
1036
1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1038     ac_prev=prefix ;;
1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1040     prefix=$ac_optarg ;;
1041
1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1043   | --program-pre | --program-pr | --program-p)
1044     ac_prev=program_prefix ;;
1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1047     program_prefix=$ac_optarg ;;
1048
1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1050   | --program-suf | --program-su | --program-s)
1051     ac_prev=program_suffix ;;
1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1054     program_suffix=$ac_optarg ;;
1055
1056   -program-transform-name | --program-transform-name \
1057   | --program-transform-nam | --program-transform-na \
1058   | --program-transform-n | --program-transform- \
1059   | --program-transform | --program-transfor \
1060   | --program-transfo | --program-transf \
1061   | --program-trans | --program-tran \
1062   | --progr-tra | --program-tr | --program-t)
1063     ac_prev=program_transform_name ;;
1064   -program-transform-name=* | --program-transform-name=* \
1065   | --program-transform-nam=* | --program-transform-na=* \
1066   | --program-transform-n=* | --program-transform-=* \
1067   | --program-transform=* | --program-transfor=* \
1068   | --program-transfo=* | --program-transf=* \
1069   | --program-trans=* | --program-tran=* \
1070   | --progr-tra=* | --program-tr=* | --program-t=*)
1071     program_transform_name=$ac_optarg ;;
1072
1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1074     ac_prev=pdfdir ;;
1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1076     pdfdir=$ac_optarg ;;
1077
1078   -psdir | --psdir | --psdi | --psd | --ps)
1079     ac_prev=psdir ;;
1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1081     psdir=$ac_optarg ;;
1082
1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084   | -silent | --silent | --silen | --sile | --sil)
1085     silent=yes ;;
1086
1087   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1088     ac_prev=sbindir ;;
1089   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1090   | --sbi=* | --sb=*)
1091     sbindir=$ac_optarg ;;
1092
1093   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1094   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1095   | --sharedst | --shareds | --shared | --share | --shar \
1096   | --sha | --sh)
1097     ac_prev=sharedstatedir ;;
1098   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1099   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1100   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1101   | --sha=* | --sh=*)
1102     sharedstatedir=$ac_optarg ;;
1103
1104   -site | --site | --sit)
1105     ac_prev=site ;;
1106   -site=* | --site=* | --sit=*)
1107     site=$ac_optarg ;;
1108
1109   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1110     ac_prev=srcdir ;;
1111   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1112     srcdir=$ac_optarg ;;
1113
1114   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1115   | --syscon | --sysco | --sysc | --sys | --sy)
1116     ac_prev=sysconfdir ;;
1117   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1118   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1119     sysconfdir=$ac_optarg ;;
1120
1121   -target | --target | --targe | --targ | --tar | --ta | --t)
1122     ac_prev=target_alias ;;
1123   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1124     target_alias=$ac_optarg ;;
1125
1126   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1127     verbose=yes ;;
1128
1129   -version | --version | --versio | --versi | --vers | -V)
1130     ac_init_version=: ;;
1131
1132   -with-* | --with-*)
1133     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1134     # Reject names that are not valid shell variable names.
1135     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1136       { echo "$as_me: error: invalid package name: $ac_package" >&2
1137    { (exit 1); exit 1; }; }
1138     ac_package=`echo $ac_package| sed 's/-/_/g'`
1139     eval with_$ac_package=\$ac_optarg ;;
1140
1141   -without-* | --without-*)
1142     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143     # Reject names that are not valid shell variable names.
1144     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1145       { echo "$as_me: error: invalid package name: $ac_package" >&2
1146    { (exit 1); exit 1; }; }
1147     ac_package=`echo $ac_package | sed 's/-/_/g'`
1148     eval with_$ac_package=no ;;
1149
1150   --x)
1151     # Obsolete; use --with-x.
1152     with_x=yes ;;
1153
1154   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155   | --x-incl | --x-inc | --x-in | --x-i)
1156     ac_prev=x_includes ;;
1157   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159     x_includes=$ac_optarg ;;
1160
1161   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163     ac_prev=x_libraries ;;
1164   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166     x_libraries=$ac_optarg ;;
1167
1168   -*) { echo "$as_me: error: unrecognized option: $ac_option
1169 Try \`$0 --help' for more information." >&2
1170    { (exit 1); exit 1; }; }
1171     ;;
1172
1173   *=*)
1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175     # Reject names that are not valid shell variable names.
1176     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1177       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1178    { (exit 1); exit 1; }; }
1179     eval $ac_envvar=\$ac_optarg
1180     export $ac_envvar ;;
1181
1182   *)
1183     # FIXME: should be removed in autoconf 3.0.
1184     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1188     ;;
1189
1190   esac
1191 done
1192
1193 if test -n "$ac_prev"; then
1194   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195   { echo "$as_me: error: missing argument to $ac_option" >&2
1196    { (exit 1); exit 1; }; }
1197 fi
1198
1199 # Be sure to have absolute directory names.
1200 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201                 datadir sysconfdir sharedstatedir localstatedir includedir \
1202                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203                 libdir localedir mandir
1204 do
1205   eval ac_val=\$$ac_var
1206   case $ac_val in
1207     [\\/$]* | ?:[\\/]* )  continue;;
1208     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209   esac
1210   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1211    { (exit 1); exit 1; }; }
1212 done
1213
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1217 build=$build_alias
1218 host=$host_alias
1219 target=$target_alias
1220
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x; then
1223   if test "x$build_alias" = x; then
1224     cross_compiling=maybe
1225     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1226     If a cross compiler is detected then cross compile mode will be used." >&2
1227   elif test "x$build_alias" != "x$host_alias"; then
1228     cross_compiling=yes
1229   fi
1230 fi
1231
1232 ac_tool_prefix=
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234
1235 test "$silent" = yes && exec 6>/dev/null
1236
1237
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241   { echo "$as_me: error: Working directory cannot be determined" >&2
1242    { (exit 1); exit 1; }; }
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244   { echo "$as_me: error: pwd does not report name of working directory" >&2
1245    { (exit 1); exit 1; }; }
1246
1247
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250   ac_srcdir_defaulted=yes
1251   # Try the directory containing this script, then the parent directory.
1252   ac_confdir=`$as_dirname -- "$0" ||
1253 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254          X"$0" : 'X\(//\)[^/]' \| \
1255          X"$0" : 'X\(//\)$' \| \
1256          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1257 echo X"$0" |
1258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1259             s//\1/
1260             q
1261           }
1262           /^X\(\/\/\)[^/].*/{
1263             s//\1/
1264             q
1265           }
1266           /^X\(\/\/\)$/{
1267             s//\1/
1268             q
1269           }
1270           /^X\(\/\).*/{
1271             s//\1/
1272             q
1273           }
1274           s/.*/./; q'`
1275   srcdir=$ac_confdir
1276   if test ! -r "$srcdir/$ac_unique_file"; then
1277     srcdir=..
1278   fi
1279 else
1280   ac_srcdir_defaulted=no
1281 fi
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1284   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1285    { (exit 1); exit 1; }; }
1286 fi
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 ac_abs_confdir=`(
1289         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1290    { (exit 1); exit 1; }; }
1291         pwd)`
1292 # When building in place, set srcdir=.
1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294   srcdir=.
1295 fi
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1299 case $srcdir in
1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 esac
1302 for ac_var in $ac_precious_vars; do
1303   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304   eval ac_env_${ac_var}_value=\$${ac_var}
1305   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1307 done
1308
1309 #
1310 # Report the --help message.
1311 #
1312 if test "$ac_init_help" = "long"; then
1313   # Omit some internal or obsolete options to make the list less imposing.
1314   # This message is too long to be a string in the A/UX 3.1 sh.
1315   cat <<_ACEOF
1316 \`configure' configures this package to adapt to many kinds of systems.
1317
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1319
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE.  See below for descriptions of some of the useful variables.
1322
1323 Defaults for the options are specified in brackets.
1324
1325 Configuration:
1326   -h, --help              display this help and exit
1327       --help=short        display options specific to this package
1328       --help=recursive    display the short help of all the included packages
1329   -V, --version           display version information and exit
1330   -q, --quiet, --silent   do not print \`checking...' messages
1331       --cache-file=FILE   cache test results in FILE [disabled]
1332   -C, --config-cache      alias for \`--cache-file=config.cache'
1333   -n, --no-create         do not create output files
1334       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1335
1336 Installation directories:
1337   --prefix=PREFIX         install architecture-independent files in PREFIX
1338                           [$ac_default_prefix]
1339   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1340                           [PREFIX]
1341
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1346
1347 For better control, use the options below.
1348
1349 Fine tuning of the installation directories:
1350   --bindir=DIR           user executables [EPREFIX/bin]
1351   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1352   --libexecdir=DIR       program executables [EPREFIX/libexec]
1353   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1354   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1355   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1356   --libdir=DIR           object code libraries [EPREFIX/lib]
1357   --includedir=DIR       C header files [PREFIX/include]
1358   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1359   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1360   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1361   --infodir=DIR          info documentation [DATAROOTDIR/info]
1362   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1363   --mandir=DIR           man documentation [DATAROOTDIR/man]
1364   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1365   --htmldir=DIR          html documentation [DOCDIR]
1366   --dvidir=DIR           dvi documentation [DOCDIR]
1367   --pdfdir=DIR           pdf documentation [DOCDIR]
1368   --psdir=DIR            ps documentation [DOCDIR]
1369 _ACEOF
1370
1371   cat <<\_ACEOF
1372
1373 System types:
1374   --build=BUILD     configure for building on BUILD [guessed]
1375   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1376   --target=TARGET   configure for building compilers for TARGET [HOST]
1377 _ACEOF
1378 fi
1379
1380 if test -n "$ac_init_help"; then
1381
1382   cat <<\_ACEOF
1383
1384 Optional Features:
1385   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1386   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1387   --enable-dev-mode    Turn on developer mode
1388   --disable-largefile     omit support for large files
1389
1390 Optional Packages:
1391   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1392   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1393   --with-asound=PATH      use Advanced Linux Sound Architecture files in PATH
1394   --with-curses=PATH      use curses files in PATH
1395   --with-gsm=PATH         use libgsm files in PATH, or 'internal'
1396   --with-kde=PATH         use KDE files in PATH
1397   --with-iksemel=PATH     use Iksemel Jabber Library files in PATH
1398   --with-nbs=PATH         use Network Broadcast Sound files in PATH
1399   --with-ncurses=PATH     use ncurses files in PATH
1400   --with-netsnmp=PATH     use Net-SNMP in PATH
1401   --with-newt=PATH        use newt files in PATH
1402   --with-odbc=PATH        use unixODBC files in PATH
1403   --with-ogg=PATH         use OGG files in PATH
1404   --with-osptk=PATH       use OSP Toolkit files in PATH
1405   --with-ossaudio=PATH    use Open Sound System files in PATH
1406   --with-pq=PATH          use PostgreSQL files in PATH
1407   --with-popt=PATH        use popt files in PATH
1408   --with-pri=PATH         use ISDN PRI files in PATH
1409   --with-pwlib=PATH       use PWLib files in PATH
1410   --with-qt=PATH          use Qt files in PATH
1411   --with-radiusclient-ng=PATH
1412                           use Radius Client files in PATH
1413   --with-speex=PATH       use Speex files in PATH
1414   --with-sqlite=PATH      use SQLite files in PATH
1415   --with-ssl=PATH         use OpenSSL files in PATH
1416   --with-tds=PATH         use FreeTDS files in PATH
1417   --with-termcap=PATH     use Termcap files in PATH
1418   --with-tinfo=PATH       use Term Info files in PATH
1419   --with-tonezone=PATH    use tonezone files in PATH
1420   --with-vorbis=PATH      use Vorbis files in PATH
1421   --with-vpb=PATH         use vpb files in PATH
1422   --with-z=PATH           use zlib files in PATH
1423   --with-zaptel=PATH      use Zaptel files in PATH
1424
1425 Some influential environment variables:
1426   CC          C compiler command
1427   CFLAGS      C compiler flags
1428   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1429               nonstandard directory <lib dir>
1430   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1431               you have headers in a nonstandard directory <include dir>
1432   CXX         C++ compiler command
1433   CXXFLAGS    C++ compiler flags
1434   CPP         C preprocessor
1435   CXXCPP      C++ preprocessor
1436
1437 Use these variables to override the choices made by `configure' or to help
1438 it to find libraries and programs with nonstandard names/locations.
1439
1440 _ACEOF
1441 ac_status=$?
1442 fi
1443
1444 if test "$ac_init_help" = "recursive"; then
1445   # If there are subdirs, report their specific --help.
1446   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447     test -d "$ac_dir" || continue
1448     ac_builddir=.
1449
1450 case "$ac_dir" in
1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *)
1453   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1454   # A ".." for each directory in $ac_dir_suffix.
1455   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1456   case $ac_top_builddir_sub in
1457   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459   esac ;;
1460 esac
1461 ac_abs_top_builddir=$ac_pwd
1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir=$ac_top_build_prefix
1465
1466 case $srcdir in
1467   .)  # We are building in place.
1468     ac_srcdir=.
1469     ac_top_srcdir=$ac_top_builddir_sub
1470     ac_abs_top_srcdir=$ac_pwd ;;
1471   [\\/]* | ?:[\\/]* )  # Absolute name.
1472     ac_srcdir=$srcdir$ac_dir_suffix;
1473     ac_top_srcdir=$srcdir
1474     ac_abs_top_srcdir=$srcdir ;;
1475   *) # Relative name.
1476     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477     ac_top_srcdir=$ac_top_build_prefix$srcdir
1478     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 esac
1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481
1482     cd "$ac_dir" || { ac_status=$?; continue; }
1483     # Check for guested configure.
1484     if test -f "$ac_srcdir/configure.gnu"; then
1485       echo &&
1486       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487     elif test -f "$ac_srcdir/configure"; then
1488       echo &&
1489       $SHELL "$ac_srcdir/configure" --help=recursive
1490     else
1491       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492     fi || ac_status=$?
1493     cd "$ac_pwd" || { ac_status=$?; break; }
1494   done
1495 fi
1496
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1499   cat <<\_ACEOF
1500 configure
1501 generated by GNU Autoconf 2.59e
1502
1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1504 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1507
1508 "Asterisk"
1509 _ACEOF
1510   exit
1511 fi
1512 cat >config.log <<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1515
1516 It was created by $as_me, which was
1517 generated by GNU Autoconf 2.59e.  Invocation command line was
1518
1519   $ $0 $@
1520
1521 _ACEOF
1522 exec 5>>config.log
1523 {
1524 cat <<_ASUNAME
1525 ## --------- ##
1526 ## Platform. ##
1527 ## --------- ##
1528
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1537
1538 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1539 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1542 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1543 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1544 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1545
1546 _ASUNAME
1547
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 for as_dir in $PATH
1550 do
1551   IFS=$as_save_IFS
1552   test -z "$as_dir" && as_dir=.
1553   echo "PATH: $as_dir"
1554 done
1555 IFS=$as_save_IFS
1556
1557 } >&5
1558
1559 cat >&5 <<_ACEOF
1560
1561
1562 ## ----------- ##
1563 ## Core tests. ##
1564 ## ----------- ##
1565
1566 _ACEOF
1567
1568
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1574 ac_configure_args=
1575 ac_configure_args0=
1576 ac_configure_args1=
1577 ac_must_keep_next=false
1578 for ac_pass in 1 2
1579 do
1580   for ac_arg
1581   do
1582     case $ac_arg in
1583     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1584     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585     | -silent | --silent | --silen | --sile | --sil)
1586       continue ;;
1587     *\'*)
1588       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589     esac
1590     case $ac_pass in
1591     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1592     2)
1593       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1594       if test $ac_must_keep_next = true; then
1595         ac_must_keep_next=false # Got value, back to normal.
1596       else
1597         case $ac_arg in
1598           *=* | --config-cache | -C | -disable-* | --disable-* \
1599           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1600           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1601           | -with-* | --with-* | -without-* | --without-* | --x)
1602             case "$ac_configure_args0 " in
1603               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604             esac
1605             ;;
1606           -* ) ac_must_keep_next=true ;;
1607         esac
1608       fi
1609       ac_configure_args="$ac_configure_args '$ac_arg'"
1610       ;;
1611     esac
1612   done
1613 done
1614 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1615 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1616
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log.  We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623   # Save into config.log some information that might help in debugging.
1624   {
1625     echo
1626
1627     cat <<\_ASBOX
1628 ## ---------------- ##
1629 ## Cache variables. ##
1630 ## ---------------- ##
1631 _ASBOX
1632     echo
1633     # The following way of writing the cache mishandles newlines in values,
1634 (
1635   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1636     eval ac_val=\$$ac_var
1637     case $ac_val in #(
1638     *${as_nl}*)
1639       case $ac_var in #(
1640       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1641 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1642       esac
1643       case $ac_var in #(
1644       _ | IFS | as_nl) ;; #(
1645       *) $as_unset $ac_var ;;
1646       esac ;;
1647     esac
1648   done
1649   (set) 2>&1 |
1650     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651     *${as_nl}ac_space=\ *)
1652       sed -n \
1653         "s/'\''/'\''\\\\'\'''\''/g;
1654           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655       ;; #(
1656     *)
1657       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658       ;;
1659     esac |
1660     sort
1661 )
1662     echo
1663
1664     cat <<\_ASBOX
1665 ## ----------------- ##
1666 ## Output variables. ##
1667 ## ----------------- ##
1668 _ASBOX
1669     echo
1670     for ac_var in $ac_subst_vars
1671     do
1672       eval ac_val=\$$ac_var
1673       case $ac_val in
1674       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675       esac
1676       echo "$ac_var='\''$ac_val'\''"
1677     done | sort
1678     echo
1679
1680     if test -n "$ac_subst_files"; then
1681       cat <<\_ASBOX
1682 ## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##
1685 _ASBOX
1686       echo
1687       for ac_var in $ac_subst_files
1688       do
1689         eval ac_val=\$$ac_var
1690         case $ac_val in
1691         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692         esac
1693         echo "$ac_var='\''$ac_val'\''"
1694       done | sort
1695       echo
1696     fi
1697
1698     if test -s confdefs.h; then
1699       cat <<\_ASBOX
1700 ## ----------- ##
1701 ## confdefs.h. ##
1702 ## ----------- ##
1703 _ASBOX
1704       echo
1705       cat confdefs.h
1706       echo
1707     fi
1708     test "$ac_signal" != 0 &&
1709       echo "$as_me: caught signal $ac_signal"
1710     echo "$as_me: exit $exit_status"
1711   } >&5
1712   rm -f core *.core core.conftest.* &&
1713     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1714     exit $exit_status
1715 ' 0
1716 for ac_signal in 1 2 13 15; do
1717   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1718 done
1719 ac_signal=0
1720
1721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1722 rm -f -r conftest* confdefs.h
1723
1724 # Predefined preprocessor variables.
1725
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1728 _ACEOF
1729
1730
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733 _ACEOF
1734
1735
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 _ACEOF
1739
1740
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_STRING "$PACKAGE_STRING"
1743 _ACEOF
1744
1745
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 _ACEOF
1749
1750
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer explicitly selected file to automatically selected ones.
1753 if test -n "$CONFIG_SITE"; then
1754   set x "$CONFIG_SITE"
1755 elif test "x$prefix" != xNONE; then
1756   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1757 else
1758   set x "$ac_default_prefix/share/config.site" \
1759         "$ac_default_prefix/etc/config.site"
1760 fi
1761 shift
1762 for ac_site_file
1763 do
1764   if test -r "$ac_site_file"; then
1765     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1766 echo "$as_me: loading site script $ac_site_file" >&6;}
1767     sed 's/^/| /' "$ac_site_file" >&5
1768     . "$ac_site_file"
1769   fi
1770 done
1771
1772 if test -r "$cache_file"; then
1773   # Some versions of bash will fail to source /dev/null (special
1774   # files actually), so we avoid doing that.
1775   if test -f "$cache_file"; then
1776     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1777 echo "$as_me: loading cache $cache_file" >&6;}
1778     case $cache_file in
1779       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1780       *)                      . "./$cache_file";;
1781     esac
1782   fi
1783 else
1784   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1785 echo "$as_me: creating cache $cache_file" >&6;}
1786   >$cache_file
1787 fi
1788
1789 # Check that the precious variables saved in the cache have kept the same
1790 # value.
1791 ac_cache_corrupted=false
1792 for ac_var in $ac_precious_vars; do
1793   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1794   eval ac_new_set=\$ac_env_${ac_var}_set
1795   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1796   eval ac_new_val=\$ac_env_${ac_var}_value
1797   case $ac_old_set,$ac_new_set in
1798     set,)
1799       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1801       ac_cache_corrupted=: ;;
1802     ,set)
1803       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1804 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1805       ac_cache_corrupted=: ;;
1806     ,);;
1807     *)
1808       if test "x$ac_old_val" != "x$ac_new_val"; then
1809         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1810 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1811         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1812 echo "$as_me:   former value:  $ac_old_val" >&2;}
1813         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1814 echo "$as_me:   current value: $ac_new_val" >&2;}
1815         ac_cache_corrupted=:
1816       fi;;
1817   esac
1818   # Pass precious variables to config.status.
1819   if test "$ac_new_set" = set; then
1820     case $ac_new_val in
1821     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822     *) ac_arg=$ac_var=$ac_new_val ;;
1823     esac
1824     case " $ac_configure_args " in
1825       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1826       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1827     esac
1828   fi
1829 done
1830 if $ac_cache_corrupted; then
1831   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1832 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1833   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1834 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1835    { (exit 1); exit 1; }; }
1836 fi
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854 ac_ext=c
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1859
1860
1861
1862 # cross-compile macros
1863 ac_aux_dir=
1864 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1865   if test -f "$ac_dir/install-sh"; then
1866     ac_aux_dir=$ac_dir
1867     ac_install_sh="$ac_aux_dir/install-sh -c"
1868     break
1869   elif test -f "$ac_dir/install.sh"; then
1870     ac_aux_dir=$ac_dir
1871     ac_install_sh="$ac_aux_dir/install.sh -c"
1872     break
1873   elif test -f "$ac_dir/shtool"; then
1874     ac_aux_dir=$ac_dir
1875     ac_install_sh="$ac_aux_dir/shtool install -c"
1876     break
1877   fi
1878 done
1879 if test -z "$ac_aux_dir"; then
1880   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1882    { (exit 1); exit 1; }; }
1883 fi
1884
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1892
1893
1894 # Make sure we can run config.sub.
1895 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1896   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1897 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1898    { (exit 1); exit 1; }; }
1899
1900 { echo "$as_me:$LINENO: checking build system type" >&5
1901 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1902 if test "${ac_cv_build+set}" = set; then
1903   echo $ECHO_N "(cached) $ECHO_C" >&6
1904 else
1905   ac_build_alias=$build_alias
1906 test "x$ac_build_alias" = x &&
1907   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1908 test "x$ac_build_alias" = x &&
1909   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1910 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1911    { (exit 1); exit 1; }; }
1912 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1913   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1914 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1915    { (exit 1); exit 1; }; }
1916
1917 fi
1918 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1919 echo "${ECHO_T}$ac_cv_build" >&6; }
1920 case $ac_cv_build in
1921 *-*-*) ;;
1922 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1923 echo "$as_me: error: invalid value of canonical build" >&2;}
1924    { (exit 1); exit 1; }; };;
1925 esac
1926 build=$ac_cv_build
1927 ac_save_IFS=$IFS; IFS='-'
1928 set x $ac_cv_build
1929 shift
1930 build_cpu=$1
1931 build_vendor=$2
1932 shift; shift
1933 # Remember, the first character of IFS is used to create $*,
1934 # except with old shells:
1935 build_os=$*
1936 IFS=$ac_save_IFS
1937 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1938
1939
1940 { echo "$as_me:$LINENO: checking host system type" >&5
1941 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1942 if test "${ac_cv_host+set}" = set; then
1943   echo $ECHO_N "(cached) $ECHO_C" >&6
1944 else
1945   if test "x$host_alias" = x; then
1946   ac_cv_host=$ac_cv_build
1947 else
1948   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1949     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1950 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1951    { (exit 1); exit 1; }; }
1952 fi
1953
1954 fi
1955 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1956 echo "${ECHO_T}$ac_cv_host" >&6; }
1957 case $ac_cv_host in
1958 *-*-*) ;;
1959 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1960 echo "$as_me: error: invalid value of canonical host" >&2;}
1961    { (exit 1); exit 1; }; };;
1962 esac
1963 host=$ac_cv_host
1964 ac_save_IFS=$IFS; IFS='-'
1965 set x $ac_cv_host
1966 shift
1967 host_cpu=$1
1968 host_vendor=$2
1969 shift; shift
1970 # Remember, the first character of IFS is used to create $*,
1971 # except with old shells:
1972 host_os=$*
1973 IFS=$ac_save_IFS
1974 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975
1976
1977 { echo "$as_me:$LINENO: checking target system type" >&5
1978 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1979 if test "${ac_cv_target+set}" = set; then
1980   echo $ECHO_N "(cached) $ECHO_C" >&6
1981 else
1982   if test "x$target_alias" = x; then
1983   ac_cv_target=$ac_cv_host
1984 else
1985   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1986     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1987 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1988    { (exit 1); exit 1; }; }
1989 fi
1990
1991 fi
1992 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1993 echo "${ECHO_T}$ac_cv_target" >&6; }
1994 case $ac_cv_target in
1995 *-*-*) ;;
1996 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1997 echo "$as_me: error: invalid value of canonical target" >&2;}
1998    { (exit 1); exit 1; }; };;
1999 esac
2000 target=$ac_cv_target
2001 ac_save_IFS=$IFS; IFS='-'
2002 set x $ac_cv_target
2003 shift
2004 target_cpu=$1
2005 target_vendor=$2
2006 shift; shift
2007 # Remember, the first character of IFS is used to create $*,
2008 # except with old shells:
2009 target_os=$*
2010 IFS=$ac_save_IFS
2011 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2012
2013
2014 # The aliases save the names the user supplied, while $host etc.
2015 # will get canonicalized.
2016 test -n "$target_alias" &&
2017   test "$program_prefix$program_suffix$program_transform_name" = \
2018     NONENONEs,x,x, &&
2019   program_prefix=${target_alias}-
2020
2021 # check existence of the package
2022
2023
2024 # specify output header file
2025 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2026
2027
2028
2029
2030
2031 case "${host}" in
2032      *freebsd*)
2033      ac_default_prefix=/usr/local
2034      ;;
2035      *)
2036      ac_default_prefix=/usr
2037      if test ${sysconfdir} = '${prefix}/etc'; then
2038         sysconfdir=/etc
2039      fi
2040      if test ${mandir} = '${prefix}/man'; then
2041         mandir=/usr/share/man
2042      fi
2043      ;;
2044 esac
2045
2046 if test ${localstatedir} = '${prefix}/var'; then
2047      localstatedir=/var
2048 fi
2049
2050 ### ** Platform.
2051
2052 cat >>confdefs.h <<_ACEOF
2053 #define PBX_PLATFORM "${host}"
2054 _ACEOF
2055
2056
2057 cat >>confdefs.h <<_ACEOF
2058 #define PBX_CPU "${host_cpu}"
2059 _ACEOF
2060
2061
2062 cat >>confdefs.h <<_ACEOF
2063 #define PBX_VENDOR "${host_vendor}"
2064 _ACEOF
2065
2066
2067 cat >>confdefs.h <<_ACEOF
2068 #define PBX_OS "${host_os}"
2069 _ACEOF
2070
2071
2072 # export some useful defines
2073 PBX_PLATFORM=${host}
2074 PBX_CPU=${host_cpu}
2075 PBX_VENDOR=${host_vendor}
2076 PBX_OS=${host_os}
2077
2078
2079
2080
2081
2082 #  check for uname
2083 if test -n "$ac_tool_prefix"; then
2084   # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2085 set dummy ${ac_tool_prefix}uname; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_path_UNAME+set}" = set; then
2089   echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091   case $UNAME in
2092   [\\/]* | ?:[\\/]*)
2093   ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2094   ;;
2095   *)
2096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2098 do
2099   IFS=$as_save_IFS
2100   test -z "$as_dir" && as_dir=.
2101   for ac_exec_ext in '' $ac_executable_extensions; do
2102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2103     ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2104     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105     break 2
2106   fi
2107 done
2108 done
2109 IFS=$as_save_IFS
2110
2111   ;;
2112 esac
2113 fi
2114 UNAME=$ac_cv_path_UNAME
2115 if test -n "$UNAME"; then
2116   { echo "$as_me:$LINENO: result: $UNAME" >&5
2117 echo "${ECHO_T}$UNAME" >&6; }
2118 else
2119   { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2121 fi
2122
2123
2124 fi
2125 if test -z "$ac_cv_path_UNAME"; then
2126   ac_pt_UNAME=$UNAME
2127   # Extract the first word of "uname", so it can be a program name with args.
2128 set dummy uname; ac_word=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2132   echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134   case $ac_pt_UNAME in
2135   [\\/]* | ?:[\\/]*)
2136   ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2137   ;;
2138   *)
2139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 for as_dir in $PATH
2141 do
2142   IFS=$as_save_IFS
2143   test -z "$as_dir" && as_dir=.
2144   for ac_exec_ext in '' $ac_executable_extensions; do
2145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2146     ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2147     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148     break 2
2149   fi
2150 done
2151 done
2152 IFS=$as_save_IFS
2153
2154   ;;
2155 esac
2156 fi
2157 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2158 if test -n "$ac_pt_UNAME"; then
2159   { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2160 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2161 else
2162   { echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6; }
2164 fi
2165
2166   if test "x$ac_pt_UNAME" = x; then
2167     UNAME="No"
2168   else
2169     case $cross_compiling:$ac_tool_warned in
2170 yes:)
2171 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2172 whose name does not start with the host triplet.  If you think this
2173 configuration is useful to you, please write to autoconf@gnu.org." >&5
2174 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet.  If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2177 ac_tool_warned=yes ;;
2178 esac
2179     UNAME=$ac_pt_UNAME
2180   fi
2181 else
2182   UNAME="$ac_cv_path_UNAME"
2183 fi
2184
2185 if test ! x"${UNAME}" = xNo; then
2186    PBX_OSREV=$(${UNAME} -r)
2187 fi
2188
2189
2190 # guest OS type
2191 case "${host}" in
2192   cygwin*|mingw*|windows*|winnt)
2193
2194 cat >>confdefs.h <<\_ACEOF
2195 #define Win32 1
2196 _ACEOF
2197
2198     PBX_OSTYPE="CYGWIN"
2199 # this is ugly - KPF
2200   OSISWIN32=1
2201
2202     ;;
2203   *linux*)
2204
2205 cat >>confdefs.h <<\_ACEOF
2206 #define Linux 1
2207 _ACEOF
2208
2209     PBX_OSTYPE="Linux"
2210     ;;
2211   *netbsd*)
2212
2213 cat >>confdefs.h <<\_ACEOF
2214 #define NetBSD 1
2215 _ACEOF
2216
2217     PBX_OSTYPE="NetBSD"
2218     ;;
2219   *freebsd*)
2220
2221 cat >>confdefs.h <<\_ACEOF
2222 #define FreeBSD 1
2223 _ACEOF
2224
2225     PBX_OSTYPE="FreeBSD"
2226     # XXX temporary hack to let FreeBSD use the default paths
2227     # for local stuff. We need a better solution.
2228     if test x"${CPPFLAGS}" = x; then
2229         CPPFLAGS="-I /usr/local/include"
2230     fi
2231     if test x"${LDFLAGS}" = x; then
2232         LDFLAGS="-L /usr/local/lib"
2233     fi
2234     ;;
2235   *openbsd*)
2236
2237 cat >>confdefs.h <<\_ACEOF
2238 #define OpenBSD 1
2239 _ACEOF
2240
2241     PBX_OSTYPE="OpenBSD"
2242     ;;
2243   *sun*)
2244
2245 cat >>confdefs.h <<\_ACEOF
2246 #define SunOS 1
2247 _ACEOF
2248
2249     PBX_OSTYPE="SunOS"
2250     ;;
2251   *darwin*)
2252
2253 cat >>confdefs.h <<\_ACEOF
2254 #define Darwin 1
2255 _ACEOF
2256
2257     PBX_OSTYPE="Darwin"
2258     ;;
2259   *)
2260
2261 cat >>confdefs.h <<\_ACEOF
2262 #define Unix 1
2263 _ACEOF
2264
2265     PBX_OSTYPE="Unix"
2266    ;;
2267 esac
2268
2269
2270 # This needs to be before any macros that use the C compiler
2271
2272 cat >>confdefs.h <<\_ACEOF
2273 #define _GNU_SOURCE 1
2274 _ACEOF
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284 # cross-compile checks
2285 if test x"${build}" != x"${host}";
2286 then
2287    if test -n "$ac_tool_prefix"; then
2288   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293   echo $ECHO_N "(cached) $ECHO_C" >&6
2294 else
2295   if test -n "$CC"; then
2296   ac_cv_prog_CC="$CC" # Let the user override the test.
2297 else
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 for as_dir in $PATH
2300 do
2301   IFS=$as_save_IFS
2302   test -z "$as_dir" && as_dir=.
2303   for ac_exec_ext in '' $ac_executable_extensions; do
2304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2305     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2306     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307     break 2
2308   fi
2309 done
2310 done
2311 IFS=$as_save_IFS
2312
2313 fi
2314 fi
2315 CC=$ac_cv_prog_CC
2316 if test -n "$CC"; then
2317   { echo "$as_me:$LINENO: result: $CC" >&5
2318 echo "${ECHO_T}$CC" >&6; }
2319 else
2320   { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2322 fi
2323
2324
2325 fi
2326 if test -z "$ac_cv_prog_CC"; then
2327   ac_ct_CC=$CC
2328   # Extract the first word of "gcc", so it can be a program name with args.
2329 set dummy gcc; ac_word=$2
2330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333   echo $ECHO_N "(cached) $ECHO_C" >&6
2334 else
2335   if test -n "$ac_ct_CC"; then
2336   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2337 else
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 for as_dir in $PATH
2340 do
2341   IFS=$as_save_IFS
2342   test -z "$as_dir" && as_dir=.
2343   for ac_exec_ext in '' $ac_executable_extensions; do
2344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2345     ac_cv_prog_ac_ct_CC="gcc"
2346     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347     break 2
2348   fi
2349 done
2350 done
2351 IFS=$as_save_IFS
2352
2353 fi
2354 fi
2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2356 if test -n "$ac_ct_CC"; then
2357   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2358 echo "${ECHO_T}$ac_ct_CC" >&6; }
2359 else
2360   { echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6; }
2362 fi
2363
2364   if test "x$ac_ct_CC" = x; then
2365     CC=":"
2366   else
2367     case $cross_compiling:$ac_tool_warned in
2368 yes:)
2369 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet.  If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&5
2372 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2373 whose name does not start with the host triplet.  If you think this
2374 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2375 ac_tool_warned=yes ;;
2376 esac
2377     CC=$ac_ct_CC
2378   fi
2379 else
2380   CC="$ac_cv_prog_CC"
2381 fi
2382
2383    if test -n "$ac_tool_prefix"; then
2384   # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2385 set dummy ${ac_tool_prefix}g++; ac_word=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_CXX+set}" = set; then
2389   echo $ECHO_N "(cached) $ECHO_C" >&6
2390 else
2391   if test -n "$CXX"; then
2392   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2393 else
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 for as_dir in $PATH
2396 do
2397   IFS=$as_save_IFS
2398   test -z "$as_dir" && as_dir=.
2399   for ac_exec_ext in '' $ac_executable_extensions; do
2400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2401     ac_cv_prog_CXX="${ac_tool_prefix}g++"
2402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403     break 2
2404   fi
2405 done
2406 done
2407 IFS=$as_save_IFS
2408
2409 fi
2410 fi
2411 CXX=$ac_cv_prog_CXX
2412 if test -n "$CXX"; then
2413   { echo "$as_me:$LINENO: result: $CXX" >&5
2414 echo "${ECHO_T}$CXX" >&6; }
2415 else
2416   { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2418 fi
2419
2420
2421 fi
2422 if test -z "$ac_cv_prog_CXX"; then
2423   ac_ct_CXX=$CXX
2424   # Extract the first word of "g++", so it can be a program name with args.
2425 set dummy g++; ac_word=$2
2426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2429   echo $ECHO_N "(cached) $ECHO_C" >&6
2430 else
2431   if test -n "$ac_ct_CXX"; then
2432   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2433 else
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2436 do
2437   IFS=$as_save_IFS
2438   test -z "$as_dir" && as_dir=.
2439   for ac_exec_ext in '' $ac_executable_extensions; do
2440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2441     ac_cv_prog_ac_ct_CXX="g++"
2442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443     break 2
2444   fi
2445 done
2446 done
2447 IFS=$as_save_IFS
2448
2449 fi
2450 fi
2451 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2452 if test -n "$ac_ct_CXX"; then
2453   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2454 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2455 else
2456   { echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6; }
2458 fi
2459
2460   if test "x$ac_ct_CXX" = x; then
2461     CXX=":"
2462   else
2463     case $cross_compiling:$ac_tool_warned in
2464 yes:)
2465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2466 whose name does not start with the host triplet.  If you think this
2467 configuration is useful to you, please write to autoconf@gnu.org." >&5
2468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2469 whose name does not start with the host triplet.  If you think this
2470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2471 ac_tool_warned=yes ;;
2472 esac
2473     CXX=$ac_ct_CXX
2474   fi
2475 else
2476   CXX="$ac_cv_prog_CXX"
2477 fi
2478
2479    if test -n "$ac_tool_prefix"; then
2480   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2481 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2484 if test "${ac_cv_prog_RANLIB+set}" = set; then
2485   echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487   if test -n "$RANLIB"; then
2488   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2489 else
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2492 do
2493   IFS=$as_save_IFS
2494   test -z "$as_dir" && as_dir=.
2495   for ac_exec_ext in '' $ac_executable_extensions; do
2496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2497     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499     break 2
2500   fi
2501 done
2502 done
2503 IFS=$as_save_IFS
2504
2505 fi
2506 fi
2507 RANLIB=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509   { echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6; }
2511 else
2512   { echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6; }
2514 fi
2515
2516
2517 fi
2518 if test -z "$ac_cv_prog_RANLIB"; then
2519   ac_ct_RANLIB=$RANLIB
2520   # Extract the first word of "ranlib", so it can be a program name with args.
2521 set dummy ranlib; ac_word=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2525   echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527   if test -n "$ac_ct_RANLIB"; then
2528   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2529 else
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 for as_dir in $PATH
2532 do
2533   IFS=$as_save_IFS
2534   test -z "$as_dir" && as_dir=.
2535   for ac_exec_ext in '' $ac_executable_extensions; do
2536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2537     ac_cv_prog_ac_ct_RANLIB="ranlib"
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 fi
2546 fi
2547 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2548 if test -n "$ac_ct_RANLIB"; then
2549   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2550 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2551 else
2552   { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2554 fi
2555
2556   if test "x$ac_ct_RANLIB" = x; then
2557     RANLIB=":"
2558   else
2559     case $cross_compiling:$ac_tool_warned in
2560 yes:)
2561 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2562 whose name does not start with the host triplet.  If you think this
2563 configuration is useful to you, please write to autoconf@gnu.org." >&5
2564 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet.  If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2567 ac_tool_warned=yes ;;
2568 esac
2569     RANLIB=$ac_ct_RANLIB
2570   fi
2571 else
2572   RANLIB="$ac_cv_prog_RANLIB"
2573 fi
2574
2575    if test -n "$ac_tool_prefix"; then
2576   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2577 set dummy ${ac_tool_prefix}ar; ac_word=$2
2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_AR+set}" = set; then
2581   echo $ECHO_N "(cached) $ECHO_C" >&6
2582 else
2583   if test -n "$AR"; then
2584   ac_cv_prog_AR="$AR" # Let the user override the test.
2585 else
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 for as_dir in $PATH
2588 do
2589   IFS=$as_save_IFS
2590   test -z "$as_dir" && as_dir=.
2591   for ac_exec_ext in '' $ac_executable_extensions; do
2592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2593     ac_cv_prog_AR="${ac_tool_prefix}ar"
2594     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595     break 2
2596   fi
2597 done
2598 done
2599 IFS=$as_save_IFS
2600
2601 fi
2602 fi
2603 AR=$ac_cv_prog_AR
2604 if test -n "$AR"; then
2605   { echo "$as_me:$LINENO: result: $AR" >&5
2606 echo "${ECHO_T}$AR" >&6; }
2607 else
2608   { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2610 fi
2611
2612
2613 fi
2614 if test -z "$ac_cv_prog_AR"; then
2615   ac_ct_AR=$AR
2616   # Extract the first word of "ar", so it can be a program name with args.
2617 set dummy ar; ac_word=$2
2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2620 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2621   echo $ECHO_N "(cached) $ECHO_C" >&6
2622 else
2623   if test -n "$ac_ct_AR"; then
2624   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629   IFS=$as_save_IFS
2630   test -z "$as_dir" && as_dir=.
2631   for ac_exec_ext in '' $ac_executable_extensions; do
2632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2633     ac_cv_prog_ac_ct_AR="ar"
2634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635     break 2
2636   fi
2637 done
2638 done
2639 IFS=$as_save_IFS
2640
2641 fi
2642 fi
2643 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2644 if test -n "$ac_ct_AR"; then
2645   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2646 echo "${ECHO_T}$ac_ct_AR" >&6; }
2647 else
2648   { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2650 fi
2651
2652   if test "x$ac_ct_AR" = x; then
2653     AR=":"
2654   else
2655     case $cross_compiling:$ac_tool_warned in
2656 yes:)
2657 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2658 whose name does not start with the host triplet.  If you think this
2659 configuration is useful to you, please write to autoconf@gnu.org." >&5
2660 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2661 whose name does not start with the host triplet.  If you think this
2662 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2663 ac_tool_warned=yes ;;
2664 esac
2665     AR=$ac_ct_AR
2666   fi
2667 else
2668   AR="$ac_cv_prog_AR"
2669 fi
2670
2671
2672    if test x"${PBX_OSTYPE}" = xWin32;
2673    then
2674       if test -n "$ac_tool_prefix"; then
2675   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2676 set dummy ${ac_tool_prefix}nm; ac_word=$2
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679 if test "${ac_cv_prog_NM+set}" = set; then
2680   echo $ECHO_N "(cached) $ECHO_C" >&6
2681 else
2682   if test -n "$NM"; then
2683   ac_cv_prog_NM="$NM" # Let the user override the test.
2684 else
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 for as_dir in $PATH
2687 do
2688   IFS=$as_save_IFS
2689   test -z "$as_dir" && as_dir=.
2690   for ac_exec_ext in '' $ac_executable_extensions; do
2691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2692     ac_cv_prog_NM="${ac_tool_prefix}nm"
2693     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694     break 2
2695   fi
2696 done
2697 done
2698 IFS=$as_save_IFS
2699
2700 fi
2701 fi
2702 NM=$ac_cv_prog_NM
2703 if test -n "$NM"; then
2704   { echo "$as_me:$LINENO: result: $NM" >&5
2705 echo "${ECHO_T}$NM" >&6; }
2706 else
2707   { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2709 fi
2710
2711
2712 fi
2713 if test -z "$ac_cv_prog_NM"; then
2714   ac_ct_NM=$NM
2715   # Extract the first word of "nm", so it can be a program name with args.
2716 set dummy nm; ac_word=$2
2717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2719 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2720   echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else
2722   if test -n "$ac_ct_NM"; then
2723   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2724 else
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 for as_dir in $PATH
2727 do
2728   IFS=$as_save_IFS
2729   test -z "$as_dir" && as_dir=.
2730   for ac_exec_ext in '' $ac_executable_extensions; do
2731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2732     ac_cv_prog_ac_ct_NM="nm"
2733     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734     break 2
2735   fi
2736 done
2737 done
2738 IFS=$as_save_IFS
2739
2740 fi
2741 fi
2742 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2743 if test -n "$ac_ct_NM"; then
2744   { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2745 echo "${ECHO_T}$ac_ct_NM" >&6; }
2746 else
2747   { echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6; }
2749 fi
2750
2751   if test "x$ac_ct_NM" = x; then
2752     NM=":"
2753   else
2754     case $cross_compiling:$ac_tool_warned in
2755 yes:)
2756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2757 whose name does not start with the host triplet.  If you think this
2758 configuration is useful to you, please write to autoconf@gnu.org." >&5
2759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2760 whose name does not start with the host triplet.  If you think this
2761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2762 ac_tool_warned=yes ;;
2763 esac
2764     NM=$ac_ct_NM
2765   fi
2766 else
2767   NM="$ac_cv_prog_NM"
2768 fi
2769
2770       if test -n "$ac_tool_prefix"; then
2771   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
2772 set dummy ${ac_tool_prefix}windres; ac_word=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_WINDRES+set}" = set; then
2776   echo $ECHO_N "(cached) $ECHO_C" >&6
2777 else
2778   if test -n "$WINDRES"; then
2779   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
2780 else
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 for as_dir in $PATH
2783 do
2784   IFS=$as_save_IFS
2785   test -z "$as_dir" && as_dir=.
2786   for ac_exec_ext in '' $ac_executable_extensions; do
2787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2788     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
2789     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790     break 2
2791   fi
2792 done
2793 done
2794 IFS=$as_save_IFS
2795
2796 fi
2797 fi
2798 WINDRES=$ac_cv_prog_WINDRES
2799 if test -n "$WINDRES"; then
2800   { echo "$as_me:$LINENO: result: $WINDRES" >&5
2801 echo "${ECHO_T}$WINDRES" >&6; }
2802 else
2803   { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2805 fi
2806
2807
2808 fi
2809 if test -z "$ac_cv_prog_WINDRES"; then
2810   ac_ct_WINDRES=$WINDRES
2811   # Extract the first word of "windres", so it can be a program name with args.
2812 set dummy windres; ac_word=$2
2813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2815 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
2816   echo $ECHO_N "(cached) $ECHO_C" >&6
2817 else
2818   if test -n "$ac_ct_WINDRES"; then
2819   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
2820 else
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 for as_dir in $PATH
2823 do
2824   IFS=$as_save_IFS
2825   test -z "$as_dir" && as_dir=.
2826   for ac_exec_ext in '' $ac_executable_extensions; do
2827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2828     ac_cv_prog_ac_ct_WINDRES="windres"
2829     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830     break 2
2831   fi
2832 done
2833 done
2834 IFS=$as_save_IFS
2835
2836 fi
2837 fi
2838 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
2839 if test -n "$ac_ct_WINDRES"; then
2840   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
2841 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
2842 else
2843   { echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6; }
2845 fi
2846
2847   if test "x$ac_ct_WINDRES" = x; then
2848     WINDRES=":"
2849   else
2850     case $cross_compiling:$ac_tool_warned in
2851 yes:)
2852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2853 whose name does not start with the host triplet.  If you think this
2854 configuration is useful to you, please write to autoconf@gnu.org." >&5
2855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2856 whose name does not start with the host triplet.  If you think this
2857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2858 ac_tool_warned=yes ;;
2859 esac
2860     WINDRES=$ac_ct_WINDRES
2861   fi
2862 else
2863   WINDRES="$ac_cv_prog_WINDRES"
2864 fi
2865
2866       if test -n "$ac_tool_prefix"; then
2867   # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
2868 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
2869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2871 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
2872   echo $ECHO_N "(cached) $ECHO_C" >&6
2873 else
2874   if test -n "$DLLWRAP"; then
2875   ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
2876 else
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 for as_dir in $PATH
2879 do
2880   IFS=$as_save_IFS
2881   test -z "$as_dir" && as_dir=.
2882   for ac_exec_ext in '' $ac_executable_extensions; do
2883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2884     ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
2885     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886     break 2
2887   fi
2888 done
2889 done
2890 IFS=$as_save_IFS
2891
2892 fi
2893 fi
2894 DLLWRAP=$ac_cv_prog_DLLWRAP
2895 if test -n "$DLLWRAP"; then
2896   { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
2897 echo "${ECHO_T}$DLLWRAP" >&6; }
2898 else
2899   { echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6; }
2901 fi
2902
2903
2904 fi
2905 if test -z "$ac_cv_prog_DLLWRAP"; then
2906   ac_ct_DLLWRAP=$DLLWRAP
2907   # Extract the first word of "dllwrap", so it can be a program name with args.
2908 set dummy dllwrap; ac_word=$2
2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
2912   echo $ECHO_N "(cached) $ECHO_C" >&6
2913 else
2914   if test -n "$ac_ct_DLLWRAP"; then
2915   ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
2916 else
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH
2919 do
2920   IFS=$as_save_IFS
2921   test -z "$as_dir" && as_dir=.
2922   for ac_exec_ext in '' $ac_executable_extensions; do
2923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2924     ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
2925     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2926     break 2
2927   fi
2928 done
2929 done
2930 IFS=$as_save_IFS
2931
2932 fi
2933 fi
2934 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
2935 if test -n "$ac_ct_DLLWRAP"; then
2936   { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
2937 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
2938 else
2939   { echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6; }
2941 fi
2942
2943   if test "x$ac_ct_DLLWRAP" = x; then
2944     DLLWRAP=":"
2945   else
2946     case $cross_compiling:$ac_tool_warned in
2947 yes:)
2948 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2949 whose name does not start with the host triplet.  If you think this
2950 configuration is useful to you, please write to autoconf@gnu.org." >&5
2951 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2952 whose name does not start with the host triplet.  If you think this
2953 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2954 ac_tool_warned=yes ;;
2955 esac
2956     DLLWRAP=$ac_ct_DLLWRAP
2957   fi
2958 else
2959   DLLWRAP="$ac_cv_prog_DLLWRAP"
2960 fi
2961
2962    fi
2963    crossCompile="Yes"
2964 fi
2965
2966 # Checks for programs.
2967 ac_ext=c
2968 ac_cpp='$CPP $CPPFLAGS'
2969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2972 if test -n "$ac_tool_prefix"; then
2973   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977 if test "${ac_cv_prog_CC+set}" = set; then
2978   echo $ECHO_N "(cached) $ECHO_C" >&6
2979 else
2980   if test -n "$CC"; then
2981   ac_cv_prog_CC="$CC" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2985 do
2986   IFS=$as_save_IFS
2987   test -z "$as_dir" && as_dir=.
2988   for ac_exec_ext in '' $ac_executable_extensions; do
2989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2990     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2992     break 2
2993   fi
2994 done
2995 done
2996 IFS=$as_save_IFS
2997
2998 fi
2999 fi
3000 CC=$ac_cv_prog_CC
3001 if test -n "$CC"; then
3002   { echo "$as_me:$LINENO: result: $CC" >&5
3003 echo "${ECHO_T}$CC" >&6; }
3004 else
3005   { echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6; }
3007 fi
3008
3009
3010 fi
3011 if test -z "$ac_cv_prog_CC"; then
3012   ac_ct_CC=$CC
3013   # Extract the first word of "gcc", so it can be a program name with args.
3014 set dummy gcc; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3018   echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020   if test -n "$ac_ct_CC"; then
3021   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3025 do
3026   IFS=$as_save_IFS
3027   test -z "$as_dir" && as_dir=.
3028   for ac_exec_ext in '' $ac_executable_extensions; do
3029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3030     ac_cv_prog_ac_ct_CC="gcc"
3031     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032     break 2
3033   fi
3034 done
3035 done
3036 IFS=$as_save_IFS
3037
3038 fi
3039 fi
3040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3041 if test -n "$ac_ct_CC"; then
3042   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3043 echo "${ECHO_T}$ac_ct_CC" >&6; }
3044 else
3045   { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3047 fi
3048
3049   if test "x$ac_ct_CC" = x; then
3050     CC=""
3051   else
3052     case $cross_compiling:$ac_tool_warned in
3053 yes:)
3054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3055 whose name does not start with the host triplet.  If you think this
3056 configuration is useful to you, please write to autoconf@gnu.org." >&5
3057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3058 whose name does not start with the host triplet.  If you think this
3059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3060 ac_tool_warned=yes ;;
3061 esac
3062     CC=$ac_ct_CC
3063   fi
3064 else
3065   CC="$ac_cv_prog_CC"
3066 fi
3067
3068 if test -z "$CC"; then
3069           if test -n "$ac_tool_prefix"; then
3070     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3071 set dummy ${ac_tool_prefix}cc; ac_word=$2
3072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3074 if test "${ac_cv_prog_CC+set}" = set; then
3075   echo $ECHO_N "(cached) $ECHO_C" >&6
3076 else
3077   if test -n "$CC"; then
3078   ac_cv_prog_CC="$CC" # Let the user override the test.
3079 else
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083   IFS=$as_save_IFS
3084   test -z "$as_dir" && as_dir=.
3085   for ac_exec_ext in '' $ac_executable_extensions; do
3086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3087     ac_cv_prog_CC="${ac_tool_prefix}cc"
3088     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089     break 2
3090   fi
3091 done
3092 done
3093 IFS=$as_save_IFS
3094
3095 fi
3096 fi
3097 CC=$ac_cv_prog_CC
3098 if test -n "$CC"; then
3099   { echo "$as_me:$LINENO: result: $CC" >&5
3100 echo "${ECHO_T}$CC" >&6; }
3101 else
3102   { echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6; }
3104 fi
3105
3106
3107   fi
3108 fi
3109 if test -z "$CC"; then
3110   # Extract the first word of "cc", so it can be a program name with args.
3111 set dummy cc; ac_word=$2
3112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3114 if test "${ac_cv_prog_CC+set}" = set; then
3115   echo $ECHO_N "(cached) $ECHO_C" >&6
3116 else
3117   if test -n "$CC"; then
3118   ac_cv_prog_CC="$CC" # Let the user override the test.
3119 else
3120   ac_prog_rejected=no
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124   IFS=$as_save_IFS
3125   test -z "$as_dir" && as_dir=.
3126   for ac_exec_ext in '' $ac_executable_extensions; do
3127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3128     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3129        ac_prog_rejected=yes
3130        continue
3131      fi
3132     ac_cv_prog_CC="cc"
3133     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134     break 2
3135   fi
3136 done
3137 done
3138 IFS=$as_save_IFS
3139
3140 if test $ac_prog_rejected = yes; then
3141   # We found a bogon in the path, so make sure we never use it.
3142   set dummy $ac_cv_prog_CC
3143   shift
3144   if test $# != 0; then
3145     # We chose a different compiler from the bogus one.
3146     # However, it has the same basename, so the bogon will be chosen
3147     # first if we set CC to just the basename; use the full file name.
3148     shift
3149     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3150   fi
3151 fi
3152 fi
3153 fi
3154 CC=$ac_cv_prog_CC
3155 if test -n "$CC"; then
3156   { echo "$as_me:$LINENO: result: $CC" >&5
3157 echo "${ECHO_T}$CC" >&6; }
3158 else
3159   { echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6; }
3161 fi
3162
3163
3164 fi
3165 if test -z "$CC"; then
3166   if test -n "$ac_tool_prefix"; then
3167   for ac_prog in cl.exe
3168   do
3169     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3173 if test "${ac_cv_prog_CC+set}" = set; then
3174   echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176   if test -n "$CC"; then
3177   ac_cv_prog_CC="$CC" # Let the user override the test.
3178 else
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 for as_dir in $PATH
3181 do
3182   IFS=$as_save_IFS
3183   test -z "$as_dir" && as_dir=.
3184   for ac_exec_ext in '' $ac_executable_extensions; do
3185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3186     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3187     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188     break 2
3189   fi
3190 done
3191 done
3192 IFS=$as_save_IFS
3193
3194 fi
3195 fi
3196 CC=$ac_cv_prog_CC
3197 if test -n "$CC"; then
3198   { echo "$as_me:$LINENO: result: $CC" >&5
3199 echo "${ECHO_T}$CC" >&6; }
3200 else
3201   { echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6; }
3203 fi
3204
3205
3206     test -n "$CC" && break
3207   done
3208 fi
3209 if test -z "$CC"; then
3210   ac_ct_CC=$CC
3211   for ac_prog in cl.exe
3212 do
3213   # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy $ac_prog; ac_word=$2
3215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3218   echo $ECHO_N "(cached) $ECHO_C" >&6
3219 else
3220   if test -n "$ac_ct_CC"; then
3221   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3222 else
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH
3225 do
3226   IFS=$as_save_IFS
3227   test -z "$as_dir" && as_dir=.
3228   for ac_exec_ext in '' $ac_executable_extensions; do
3229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3230     ac_cv_prog_ac_ct_CC="$ac_prog"
3231     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3232     break 2
3233   fi
3234 done
3235 done
3236 IFS=$as_save_IFS
3237
3238 fi
3239 fi
3240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3241 if test -n "$ac_ct_CC"; then
3242   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3243 echo "${ECHO_T}$ac_ct_CC" >&6; }
3244 else
3245   { echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6; }
3247 fi
3248
3249
3250   test -n "$ac_ct_CC" && break
3251 done
3252
3253   if test "x$ac_ct_CC" = x; then
3254     CC=""
3255   else
3256     case $cross_compiling:$ac_tool_warned in
3257 yes:)
3258 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3259 whose name does not start with the host triplet.  If you think this
3260 configuration is useful to you, please write to autoconf@gnu.org." >&5
3261 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3262 whose name does not start with the host triplet.  If you think this
3263 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3264 ac_tool_warned=yes ;;
3265 esac
3266     CC=$ac_ct_CC
3267   fi
3268 fi
3269
3270 fi
3271
3272
3273 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3274 See \`config.log' for more details." >&5
3275 echo "$as_me: error: no acceptable C compiler found in \$PATH
3276 See \`config.log' for more details." >&2;}
3277    { (exit 1); exit 1; }; }
3278
3279 # Provide some information about the compiler.
3280 echo "$as_me:$LINENO: checking for C compiler version" >&5
3281 ac_compiler=`set X $ac_compile; echo $2`
3282 { (ac_try="$ac_compiler --version >&5"
3283 case "(($ac_try" in
3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285   *) ac_try_echo=$ac_try;;
3286 esac
3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3288   (eval "$ac_compiler --version >&5") 2>&5
3289   ac_status=$?
3290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291   (exit $ac_status); }
3292 { (ac_try="$ac_compiler -v >&5"
3293 case "(($ac_try" in
3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295   *) ac_try_echo=$ac_try;;
3296 esac
3297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3298   (eval "$ac_compiler -v >&5") 2>&5
3299   ac_status=$?
3300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301   (exit $ac_status); }
3302 { (ac_try="$ac_compiler -V >&5"
3303 case "(($ac_try" in
3304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305   *) ac_try_echo=$ac_try;;
3306 esac
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308   (eval "$ac_compiler -V >&5") 2>&5
3309   ac_status=$?
3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311   (exit $ac_status); }
3312
3313 cat >conftest.$ac_ext <<_ACEOF
3314 /* confdefs.h.  */
3315 _ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h.  */
3319
3320 int
3321 main ()
3322 {
3323
3324   ;
3325   return 0;
3326 }
3327 _ACEOF
3328 ac_clean_files_save=$ac_clean_files
3329 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3330 # Try to create an executable without -o first, disregard a.out.
3331 # It will help us diagnose broken compilers, and finding out an intuition
3332 # of exeext.
3333 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3334 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3335 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3336 #
3337 # List of possible output files, starting from the most likely.
3338 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3339 # only as a last resort.  b.out is created by i960 compilers.
3340 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3341 #
3342 # The IRIX 6 linker writes into existing files which may not be
3343 # executable, retaining their permissions.  Remove them first so a
3344 # subsequent execution test works.
3345 ac_rmfiles=
3346 for ac_file in $ac_files
3347 do
3348   case $ac_file in
3349     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3350     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3351   esac
3352 done
3353 rm -f $ac_rmfiles
3354
3355 if { (ac_try="$ac_link_default"
3356 case "(($ac_try" in
3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358   *) ac_try_echo=$ac_try;;
3359 esac
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361   (eval "$ac_link_default") 2>&5
3362   ac_status=$?
3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364   (exit $ac_status); }; then
3365   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3366 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3367 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3368 # so that the user can short-circuit this test for compilers unknown to
3369 # Autoconf.
3370 for ac_file in $ac_files
3371 do
3372   test -f "$ac_file" || continue
3373   case $ac_file in
3374     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3375         ;;
3376     [ab].out )
3377         # We found the default executable, but exeext='' is most
3378         # certainly right.
3379         break;;
3380     *.* )
3381         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3382         then :; else
3383            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384         fi
3385         # We set ac_cv_exeext here because the later test for it is not
3386         # safe: cross compilers may not add the suffix if given an `-o'
3387         # argument, so we may need to know it at that point already.
3388         # Even if this section looks crufty: it has the advantage of
3389         # actually working.
3390         break;;
3391     * )
3392         break;;
3393   esac
3394 done
3395 test "$ac_cv_exeext" = no && ac_cv_exeext=
3396
3397 else
3398   echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3400
3401 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: C compiler cannot create executables
3404 See \`config.log' for more details." >&2;}
3405    { (exit 77); exit 77; }; }
3406 fi
3407
3408 ac_exeext=$ac_cv_exeext
3409 { echo "$as_me:$LINENO: result: $ac_file" >&5
3410 echo "${ECHO_T}$ac_file" >&6; }
3411
3412 # Check that the compiler produces executables we can run.  If not, either
3413 # the compiler is broken, or we cross compile.
3414 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3415 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3416 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3417 # If not cross compiling, check that we can run a simple program.
3418 if test "$cross_compiling" != yes; then
3419   if { ac_try='./$ac_file'
3420   { (case "(($ac_try" in
3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422   *) ac_try_echo=$ac_try;;
3423 esac
3424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3425   (eval "$ac_try") 2>&5
3426   ac_status=$?
3427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428   (exit $ac_status); }; }; then
3429     cross_compiling=no
3430   else
3431     if test "$cross_compiling" = maybe; then
3432         cross_compiling=yes
3433     else
3434         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3435 If you meant to cross compile, use \`--host'.
3436 See \`config.log' for more details." >&5
3437 echo "$as_me: error: cannot run C compiled programs.
3438 If you meant to cross compile, use \`--host'.
3439 See \`config.log' for more details." >&2;}
3440    { (exit 1); exit 1; }; }
3441     fi
3442   fi
3443 fi
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3446
3447 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3448 ac_clean_files=$ac_clean_files_save
3449 # Check that the compiler produces executables we can run.  If not, either
3450 # the compiler is broken, or we cross compile.
3451 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3452 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3453 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3454 echo "${ECHO_T}$cross_compiling" >&6; }
3455
3456 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3457 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3458 if { (ac_try="$ac_link"
3459 case "(($ac_try" in
3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461   *) ac_try_echo=$ac_try;;
3462 esac
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464   (eval "$ac_link") 2>&5
3465   ac_status=$?
3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467   (exit $ac_status); }; then
3468   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3469 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3470 # work properly (i.e., refer to `conftest.exe'), while it won't with
3471 # `rm'.
3472 for ac_file in conftest.exe conftest conftest.*; do
3473   test -f "$ac_file" || continue
3474   case $ac_file in
3475     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3476     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3477           break;;
3478     * ) break;;
3479   esac
3480 done
3481 else
3482   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3483 See \`config.log' for more details." >&5
3484 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3485 See \`config.log' for more details." >&2;}
3486    { (exit 1); exit 1; }; }
3487 fi
3488
3489 rm -f conftest$ac_cv_exeext
3490 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3491 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3492
3493 rm -f conftest.$ac_ext
3494 EXEEXT=$ac_cv_exeext
3495 ac_exeext=$EXEEXT
3496 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3497 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3498 if test "${ac_cv_objext+set}" = set; then
3499   echo $ECHO_N "(cached) $ECHO_C" >&6
3500 else
3501   cat >conftest.$ac_ext <<_ACEOF
3502 /* confdefs.h.  */
3503 _ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h.  */
3507
3508 int
3509 main ()
3510 {
3511
3512   ;
3513   return 0;
3514 }
3515 _ACEOF
3516 rm -f conftest.o conftest.obj
3517 if { (ac_try="$ac_compile"
3518 case "(($ac_try" in
3519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520   *) ac_try_echo=$ac_try;;
3521 esac
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523   (eval "$ac_compile") 2>&5
3524   ac_status=$?
3525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526   (exit $ac_status); }; then
3527   for ac_file in conftest.o conftest.obj conftest.*; do
3528   test -f "$ac_file" || continue;
3529   case $ac_file in
3530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3531     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3532        break;;
3533   esac
3534 done
3535 else
3536   echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3539 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3540 See \`config.log' for more details." >&5
3541 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details." >&2;}
3543    { (exit 1); exit 1; }; }
3544 fi
3545
3546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3547 fi
3548 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3549 echo "${ECHO_T}$ac_cv_objext" >&6; }
3550 OBJEXT=$ac_cv_objext
3551 ac_objext=$OBJEXT
3552 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3553 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3554 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3555   echo $ECHO_N "(cached) $ECHO_C" >&6
3556 else
3557   cat >conftest.$ac_ext <<_ACEOF
3558 /* confdefs.h.  */
3559 _ACEOF
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h.  */
3563
3564 int
3565 main ()
3566 {
3567 #ifndef __GNUC__
3568        choke me
3569 #endif
3570
3571   ;
3572   return 0;
3573 }
3574 _ACEOF
3575 rm -f conftest.$ac_objext
3576 if { (ac_try="$ac_compile"
3577 case "(($ac_try" in
3578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579   *) ac_try_echo=$ac_try;;
3580 esac
3581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3582   (eval "$ac_compile") 2>conftest.er1
3583   ac_status=$?
3584   grep -v '^ *+' conftest.er1 >conftest.err
3585   rm -f conftest.er1
3586   cat conftest.err >&5
3587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588   (exit $ac_status); } &&
3589          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3590   { (case "(($ac_try" in
3591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592   *) ac_try_echo=$ac_try;;
3593 esac
3594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595   (eval "$ac_try") 2>&5
3596   ac_status=$?
3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598   (exit $ac_status); }; } &&
3599          { ac_try='test -s conftest.$ac_objext'
3600   { (case "(($ac_try" in
3601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602   *) ac_try_echo=$ac_try;;
3603 esac
3604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605   (eval "$ac_try") 2>&5
3606   ac_status=$?
3607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608   (exit $ac_status); }; }; then
3609   ac_compiler_gnu=yes
3610 else
3611   echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3613
3614         ac_compiler_gnu=no
3615 fi
3616
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3619
3620 fi
3621 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3623 GCC=`test $ac_compiler_gnu = yes && echo yes`
3624 ac_test_CFLAGS=${CFLAGS+set}
3625 ac_save_CFLAGS=$CFLAGS
3626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3628 if test "${ac_cv_prog_cc_g+set}" = set; then
3629   echo $ECHO_N "(cached) $ECHO_C" >&6
3630 else
3631   ac_save_c_werror_flag=$ac_c_werror_flag
3632    ac_c_werror_flag=yes
3633    ac_cv_prog_cc_g=no
3634    CFLAGS="-g"
3635    cat >conftest.$ac_ext <<_ACEOF
3636 /* confdefs.h.  */
3637 _ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h.  */
3641
3642 int
3643 main ()
3644 {
3645
3646   ;
3647   return 0;
3648 }
3649 _ACEOF
3650 rm -f conftest.$ac_objext
3651 if { (ac_try="$ac_compile"
3652 case "(($ac_try" in
3653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654   *) ac_try_echo=$ac_try;;
3655 esac
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657   (eval "$ac_compile") 2>conftest.er1
3658   ac_status=$?
3659   grep -v '^ *+' conftest.er1 >conftest.err
3660   rm -f conftest.er1
3661   cat conftest.err >&5
3662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663   (exit $ac_status); } &&
3664          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3665   { (case "(($ac_try" in
3666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667   *) ac_try_echo=$ac_try;;
3668 esac
3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670   (eval "$ac_try") 2>&5
3671   ac_status=$?
3672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673   (exit $ac_status); }; } &&
3674          { ac_try='test -s conftest.$ac_objext'
3675   { (case "(($ac_try" in
3676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677   *) ac_try_echo=$ac_try;;
3678 esac
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680   (eval "$ac_try") 2>&5
3681   ac_status=$?
3682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683   (exit $ac_status); }; }; then
3684   ac_cv_prog_cc_g=yes
3685 else
3686   echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3688
3689         CFLAGS=""
3690       cat >conftest.$ac_ext <<_ACEOF
3691 /* confdefs.h.  */
3692 _ACEOF
3693 cat confdefs.h >>conftest.$ac_ext
3694 cat >>conftest.$ac_ext <<_ACEOF
3695 /* end confdefs.h.  */
3696
3697 int
3698 main ()
3699 {
3700
3701   ;
3702   return 0;
3703 }
3704 _ACEOF
3705 rm -f conftest.$ac_objext
3706 if { (ac_try="$ac_compile"
3707 case "(($ac_try" in
3708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709   *) ac_try_echo=$ac_try;;
3710 esac
3711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3712   (eval "$ac_compile") 2>conftest.er1
3713   ac_status=$?
3714   grep -v '^ *+' conftest.er1 >conftest.err
3715   rm -f conftest.er1
3716   cat conftest.err >&5
3717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718   (exit $ac_status); } &&
3719          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3720   { (case "(($ac_try" in
3721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722   *) ac_try_echo=$ac_try;;
3723 esac
3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3725   (eval "$ac_try") 2>&5
3726   ac_status=$?
3727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728   (exit $ac_status); }; } &&
3729          { ac_try='test -s conftest.$ac_objext'
3730   { (case "(($ac_try" in
3731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732   *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735   (eval "$ac_try") 2>&5
3736   ac_status=$?
3737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738   (exit $ac_status); }; }; then
3739   :
3740 else
3741   echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3743
3744         ac_c_werror_flag=$ac_save_c_werror_flag
3745          CFLAGS="-g"
3746          cat >conftest.$ac_ext <<_ACEOF
3747 /* confdefs.h.  */
3748 _ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h.  */
3752
3753 int
3754 main ()
3755 {
3756
3757   ;
3758   return 0;
3759 }
3760 _ACEOF
3761 rm -f conftest.$ac_objext
3762 if { (ac_try="$ac_compile"
3763 case "(($ac_try" in
3764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765   *) ac_try_echo=$ac_try;;
3766 esac
3767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3768   (eval "$ac_compile") 2>conftest.er1
3769   ac_status=$?
3770   grep -v '^ *+' conftest.er1 >conftest.err
3771   rm -f conftest.er1
3772   cat conftest.err >&5
3773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774   (exit $ac_status); } &&
3775          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3776   { (case "(($ac_try" in
3777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778   *) ac_try_echo=$ac_try;;
3779 esac
3780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781   (eval "$ac_try") 2>&5
3782   ac_status=$?
3783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784   (exit $ac_status); }; } &&
3785          { ac_try='test -s conftest.$ac_objext'
3786   { (case "(($ac_try" in
3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788   *) ac_try_echo=$ac_try;;
3789 esac
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791   (eval "$ac_try") 2>&5
3792   ac_status=$?
3793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794   (exit $ac_status); }; }; then
3795   ac_cv_prog_cc_g=yes
3796 else
3797   echo "$as_me: failed program was:" >&5
3798 sed 's/^/| /' conftest.$ac_ext >&5
3799
3800
3801 fi
3802
3803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3804 fi
3805
3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3807 fi
3808
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810    ac_c_werror_flag=$ac_save_c_werror_flag
3811 fi
3812 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3813 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3814 if test "$ac_test_CFLAGS" = set; then
3815   CFLAGS=$ac_save_CFLAGS
3816 elif test $ac_cv_prog_cc_g = yes; then
3817   if test "$GCC" = yes; then
3818     CFLAGS="-g -O2"
3819   else
3820     CFLAGS="-g"
3821   fi
3822 else
3823   if test "$GCC" = yes; then
3824     CFLAGS="-O2"
3825   else
3826     CFLAGS=
3827   fi
3828 fi
3829 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3830 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3831 if test "${ac_cv_prog_cc_c89+set}" = set; then
3832   echo $ECHO_N "(cached) $ECHO_C" >&6
3833 else
3834   ac_cv_prog_cc_c89=no
3835 ac_save_CC=$CC
3836 cat >conftest.$ac_ext <<_ACEOF
3837 /* confdefs.h.  */
3838 _ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h.  */
3842 #include <stdarg.h>
3843 #include <stdio.h>
3844 #include <sys/types.h>
3845 #include <sys/stat.h>
3846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3847 struct buf { int x; };
3848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3849 static char *e (p, i)
3850      char **p;
3851      int i;
3852 {
3853   return p[i];
3854 }
3855 static char *f (char * (*g) (char **, int), char **p, ...)
3856 {
3857   char *s;
3858   va_list v;
3859   va_start (v,p);
3860   s = g (p, va_arg (v,int));
3861   va_end (v);
3862   return s;
3863 }
3864
3865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3866    function prototypes and stuff, but not '\xHH' hex character constants.
3867    These don't provoke an error unfortunately, instead are silently treated
3868    as 'x'.  The following induces an error, until -std is added to get
3869    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3870    array size at least.  It's necessary to write '\x00'==0 to get something
3871    that's true only with -std.  */
3872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3873
3874 int test (int i, double x);
3875 struct s1 {int (*f) (int a);};
3876 struct s2 {int (*f) (double a);};
3877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3878 int argc;
3879 char **argv;
3880 int
3881 main ()
3882 {
3883 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3884   ;
3885   return 0;
3886 }
3887 _ACEOF
3888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3889         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3890 do
3891   CC="$ac_save_CC $ac_arg"
3892   rm -f conftest.$ac_objext
3893 if { (ac_try="$ac_compile"
3894 case "(($ac_try" in
3895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896   *) ac_try_echo=$ac_try;;
3897 esac
3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899   (eval "$ac_compile") 2>conftest.er1
3900   ac_status=$?
3901   grep -v '^ *+' conftest.er1 >conftest.err
3902   rm -f conftest.er1
3903   cat conftest.err >&5
3904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905   (exit $ac_status); } &&
3906          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3907   { (case "(($ac_try" in
3908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909   *) ac_try_echo=$ac_try;;
3910 esac
3911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3912   (eval "$ac_try") 2>&5
3913   ac_status=$?
3914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915   (exit $ac_status); }; } &&
3916          { ac_try='test -s conftest.$ac_objext'
3917   { (case "(($ac_try" in
3918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919   *) ac_try_echo=$ac_try;;
3920 esac
3921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3922   (eval "$ac_try") 2>&5
3923   ac_status=$?
3924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925   (exit $ac_status); }; }; then
3926   ac_cv_prog_cc_c89=$ac_arg
3927 else
3928   echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3930
3931
3932 fi
3933
3934 rm -f conftest.err conftest.$ac_objext
3935   test "x$ac_cv_prog_cc_c89" != "xno" && break
3936 done
3937 rm -f conftest.$ac_ext
3938 CC=$ac_save_CC
3939
3940 fi
3941 # AC_CACHE_VAL
3942 case "x$ac_cv_prog_cc_c89" in
3943   x)
3944     { echo "$as_me:$LINENO: result: none needed" >&5
3945 echo "${ECHO_T}none needed" >&6; } ;;
3946   xno)
3947     { echo "$as_me:$LINENO: result: unsupported" >&5
3948 echo "${ECHO_T}unsupported" >&6; } ;;
3949   *)
3950     CC="$CC $ac_cv_prog_cc_c89"
3951     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3952 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3953 esac
3954
3955
3956 ac_ext=c
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961
3962 ac_ext=cpp
3963 ac_cpp='$CXXCPP $CPPFLAGS'
3964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3967 if test -z "$CXX"; then
3968   if test -n "$CCC"; then
3969     CXX=$CCC
3970   else
3971     if test -n "$ac_tool_prefix"; then
3972   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3973   do
3974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3978 if test "${ac_cv_prog_CXX+set}" = set; then
3979   echo $ECHO_N "(cached) $ECHO_C" >&6
3980 else
3981   if test -n "$CXX"; then
3982   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3986 do
3987   IFS=$as_save_IFS
3988   test -z "$as_dir" && as_dir=.
3989   for ac_exec_ext in '' $ac_executable_extensions; do
3990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3991     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3993     break 2
3994   fi
3995 done
3996 done
3997 IFS=$as_save_IFS
3998
3999 fi
4000 fi
4001 CXX=$ac_cv_prog_CXX
4002 if test -n "$CXX"; then
4003   { echo "$as_me:$LINENO: result: $CXX" >&5
4004 echo "${ECHO_T}$CXX" >&6; }
4005 else
4006   { echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6; }
4008 fi
4009
4010
4011     test -n "$CXX" && break
4012   done
4013 fi
4014 if test -z "$CXX"; then
4015   ac_ct_CXX=$CXX
4016   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4017 do
4018   # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy $ac_prog; ac_word=$2
4020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4022 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4023   echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025   if test -n "$ac_ct_CXX"; then
4026   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031   IFS=$as_save_IFS
4032   test -z "$as_dir" && as_dir=.
4033   for ac_exec_ext in '' $ac_executable_extensions; do
4034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4035     ac_cv_prog_ac_ct_CXX="$ac_prog"
4036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037     break 2
4038   fi
4039 done
4040 done
4041 IFS=$as_save_IFS
4042
4043 fi
4044 fi
4045 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4046 if test -n "$ac_ct_CXX"; then
4047   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4048 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4049 else
4050   { echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6; }
4052 fi
4053
4054
4055   test -n "$ac_ct_CXX" && break
4056 done
4057
4058   if test "x$ac_ct_CXX" = x; then
4059     CXX="g++"
4060   else
4061     case $cross_compiling:$ac_tool_warned in
4062 yes:)
4063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4064 whose name does not start with the host triplet.  If you think this
4065 configuration is useful to you, please write to autoconf@gnu.org." >&5
4066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4067 whose name does not start with the host triplet.  If you think this
4068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4069 ac_tool_warned=yes ;;
4070 esac
4071     CXX=$ac_ct_CXX
4072   fi
4073 fi
4074
4075   fi
4076 fi
4077 # Provide some information about the compiler.
4078 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4079 ac_compiler=`set X $ac_compile; echo $2`
4080 { (ac_try="$ac_compiler --version >&5"
4081 case "(($ac_try" in
4082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083   *) ac_try_echo=$ac_try;;
4084 esac
4085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4086   (eval "$ac_compiler --version >&5") 2>&5
4087   ac_status=$?
4088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089   (exit $ac_status); }
4090 { (ac_try="$ac_compiler -v >&5"
4091 case "(($ac_try" in
4092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093   *) ac_try_echo=$ac_try;;
4094 esac
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096   (eval "$ac_compiler -v >&5") 2>&5
4097   ac_status=$?
4098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099   (exit $ac_status); }
4100 { (ac_try="$ac_compiler -V >&5"
4101 case "(($ac_try" in
4102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103   *) ac_try_echo=$ac_try;;
4104 esac
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106   (eval "$ac_compiler -V >&5") 2>&5
4107   ac_status=$?
4108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109   (exit $ac_status); }
4110
4111 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4112 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4113 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4114   echo $ECHO_N "(cached) $ECHO_C" >&6
4115 else
4116   cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h.  */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h.  */
4122
4123 int
4124 main ()
4125 {
4126 #ifndef __GNUC__
4127        choke me
4128 #endif
4129
4130   ;
4131   return 0;
4132 }
4133 _ACEOF
4134 rm -f conftest.$ac_objext
4135 if { (ac_try="$ac_compile"
4136 case "(($ac_try" in
4137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138   *) ac_try_echo=$ac_try;;
4139 esac
4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4141   (eval "$ac_compile") 2>conftest.er1
4142   ac_status=$?
4143   grep -v '^ *+' conftest.er1 >conftest.err
4144   rm -f conftest.er1
4145   cat conftest.err >&5
4146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147   (exit $ac_status); } &&
4148          { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4149   { (case "(($ac_try" in
4150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151   *) ac_try_echo=$ac_try;;
4152 esac
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154   (eval "$ac_try") 2>&5
4155   ac_status=$?
4156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157   (exit $ac_status); }; } &&
4158          { ac_try='test -s conftest.$ac_objext'
4159   { (case "(($ac_try" in
4160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161   *) ac_try_echo=$ac_try;;
4162 esac
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164   (eval "$ac_try") 2>&5
4165   ac_status=$?
4166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167   (exit $ac_status); }; }; then
4168   ac_compiler_gnu=yes
4169 else
4170   echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4172
4173         ac_compiler_gnu=no
4174 fi
4175
4176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4178
4179 fi
4180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4182 GXX=`test $ac_compiler_gnu = yes && echo yes`
4183 ac_test_CXXFLAGS=${CXXFLAGS+set}
4184 ac_save_CXXFLAGS=$CXXFLAGS
4185 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4186 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4187 if test "${ac_cv_prog_cxx_g+set}" = set; then
4188   echo $ECHO_N "(cached) $ECHO_C" >&6
4189 else
4190   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4191    ac_cxx_werror_flag=yes
4192    ac_cv_prog_cxx_g=no
4193    CXXFLAGS="-g"
4194    cat >conftest.$ac_ext <<_ACEOF
4195 /* confdefs.h.  */
4196 _ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h.  */
4200
4201 int
4202 main ()
4203 {
4204
4205   ;
4206   return 0;
4207 }
4208 _ACEOF
4209 rm -f conftest.$ac_objext
4210 if { (ac_try="$ac_compile"
4211 case "(($ac_try" in
4212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213   *) ac_try_echo=$ac_try;;
4214 esac
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216   (eval "$ac_compile") 2>conftest.er1
4217   ac_status=$?
4218   grep -v '^ *+' conftest.er1 >conftest.err
4219   rm -f conftest.er1
4220   cat conftest.err >&5
4221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222   (exit $ac_status); } &&
4223          { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4224   { (case "(($ac_try" in
4225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226   *) ac_try_echo=$ac_try;;
4227 esac
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229   (eval "$ac_try") 2>&5
4230   ac_status=$?
4231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232   (exit $ac_status); }; } &&
4233          { ac_try='test -s conftest.$ac_objext'
4234   { (case "(($ac_try" in
4235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236   *) ac_try_echo=$ac_try;;
4237 esac
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239   (eval "$ac_try") 2>&5
4240   ac_status=$?
4241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242   (exit $ac_status); }; }; then
4243   ac_cv_prog_cxx_g=yes
4244 else
4245   echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4247
4248         CXXFLAGS=""
4249       cat >conftest.$ac_ext <<_ACEOF
4250 /* confdefs.h.  */
4251 _ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h.  */
4255
4256 int
4257 main ()
4258 {
4259
4260   ;
4261   return 0;
4262 }
4263 _ACEOF
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4266 case "(($ac_try" in
4267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268   *) ac_try_echo=$ac_try;;
4269 esac
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271   (eval "$ac_compile") 2>conftest.er1
4272   ac_status=$?
4273   grep -v '^ *+' conftest.er1 >conftest.err
4274   rm -f conftest.er1
4275   cat conftest.err >&5
4276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277   (exit $ac_status); } &&
4278          { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4279   { (case "(($ac_try" in
4280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281   *) ac_try_echo=$ac_try;;
4282 esac
4283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4284   (eval "$ac_try") 2>&5
4285   ac_status=$?
4286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287   (exit $ac_status); }; } &&
4288          { ac_try='test -s conftest.$ac_objext'
4289   { (case "(($ac_try" in
4290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291   *) ac_try_echo=$ac_try;;
4292 esac
4293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4294   (eval "$ac_try") 2>&5
4295   ac_status=$?
4296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297   (exit $ac_status); }; }; then
4298   :
4299 else
4300   echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4302
4303         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4304          CXXFLAGS="-g"
4305          cat >conftest.$ac_ext <<_ACEOF
4306 /* confdefs.h.  */
4307 _ACEOF
4308 cat confdefs.h >>conftest.$ac_ext
4309 cat >>conftest.$ac_ext <<_ACEOF
4310 /* end confdefs.h.  */
4311
4312 int
4313 main ()
4314 {
4315
4316   ;
4317   return 0;
4318 }
4319 _ACEOF
4320 rm -f conftest.$ac_objext
4321 if { (ac_try="$ac_compile"
4322 case "(($ac_try" in
4323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324   *) ac_try_echo=$ac_try;;
4325 esac
4326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4327   (eval "$ac_compile") 2>conftest.er1
4328   ac_status=$?
4329   grep -v '^ *+' conftest.er1 >conftest.err
4330   rm -f conftest.er1
4331   cat conftest.err >&5
4332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333   (exit $ac_status); } &&
4334          { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4335   { (case "(($ac_try" in
4336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337   *) ac_try_echo=$ac_try;;
4338 esac
4339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4340   (eval "$ac_try") 2>&5
4341   ac_status=$?
4342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343   (exit $ac_status); }; } &&
4344          { ac_try='test -s conftest.$ac_objext'
4345   { (case "(($ac_try" in
4346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347   *) ac_try_echo=$ac_try;;
4348 esac
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350   (eval "$ac_try") 2>&5
4351   ac_status=$?
4352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353   (exit $ac_status); }; }; then
4354   ac_cv_prog_cxx_g=yes
4355 else
4356   echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.$ac_ext >&5
4358
4359
4360 fi
4361
4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4363 fi
4364
4365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4366 fi
4367
4368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4369    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4370 fi
4371 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4372 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4373 if test "$ac_test_CXXFLAGS" = set; then
4374   CXXFLAGS=$ac_save_CXXFLAGS
4375 elif test $ac_cv_prog_cxx_g = yes; then
4376   if test "$GXX" = yes; then
4377     CXXFLAGS="-g -O2"
4378   else
4379     CXXFLAGS="-g"
4380   fi
4381 else
4382   if test "$GXX" = yes; then
4383     CXXFLAGS="-O2"
4384   else
4385     CXXFLAGS=
4386   fi
4387 fi
4388 ac_ext=c
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394 ac_ext=c
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4400 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4401 # On Suns, sometimes $CPP names a directory.
4402 if test -n "$CPP" && test -d "$CPP"; then
4403   CPP=
4404 fi
4405 if test -z "$CPP"; then
4406   if test "${ac_cv_prog_CPP+set}" = set; then
4407   echo $ECHO_N "(cached) $ECHO_C" >&6
4408 else
4409       # Double quotes because CPP needs to be expanded
4410     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4411     do
4412       ac_preproc_ok=false
4413 for ac_c_preproc_warn_flag in '' yes
4414 do
4415   # Use a header file that comes with gcc, so configuring glibc
4416   # with a fresh cross-compiler works.
4417   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4418   # <limits.h> exists even on freestanding compilers.
4419   # On the NeXT, cc -E runs the code through the compiler's parser,
4420   # not just through cpp. "Syntax error" is here to catch this case.
4421   cat >conftest.$ac_ext <<_ACEOF
4422 /* confdefs.h.  */
4423 _ACEOF
4424 cat confdefs.h >>conftest.$ac_ext
4425 cat >>conftest.$ac_ext <<_ACEOF
4426 /* end confdefs.h.  */
4427 #ifdef __STDC__
4428 # include <limits.h>
4429 #else
4430 # include <assert.h>
4431 #endif
4432                      Syntax error
4433 _ACEOF
4434 if { (ac_try="$ac_cpp conftest.$ac_ext"
4435 case "(($ac_try" in
4436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437   *) ac_try_echo=$ac_try;;
4438 esac
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4441   ac_status=$?
4442   grep -v '^ *+' conftest.er1 >conftest.err
4443   rm -f conftest.er1
4444   cat conftest.err >&5
4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446   (exit $ac_status); } >/dev/null; then
4447   if test -s conftest.err; then
4448     ac_cpp_err=$ac_c_preproc_warn_flag
4449     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4450   else
4451     ac_cpp_err=
4452   fi
4453 else
4454   ac_cpp_err=yes
4455 fi
4456 if test -z "$ac_cpp_err"; then
4457   :
4458 else
4459   echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4461
4462   # Broken: fails on valid input.
4463 continue
4464 fi
4465
4466 rm -f conftest.err conftest.$ac_ext
4467
4468   # OK, works on sane cases.  Now check whether nonexistent headers
4469   # can be detected and how.
4470   cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h.  */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h.  */
4476 #include <ac_nonexistent.h>
4477 _ACEOF
4478 if { (ac_try="$ac_cpp conftest.$ac_ext"
4479 case "(($ac_try" in
4480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481   *) ac_try_echo=$ac_try;;
4482 esac
4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4484   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4485   ac_status=$?
4486   grep -v '^ *+' conftest.er1 >conftest.err
4487   rm -f conftest.er1
4488   cat conftest.err >&5
4489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490   (exit $ac_status); } >/dev/null; then
4491   if test -s conftest.err; then
4492     ac_cpp_err=$ac_c_preproc_warn_flag
4493     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4494   else
4495     ac_cpp_err=
4496   fi
4497 else
4498   ac_cpp_err=yes
4499 fi
4500 if test -z "$ac_cpp_err"; then
4501   # Broken: success on invalid input.
4502 continue
4503 else
4504   echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.$ac_ext >&5
4506
4507   # Passes both tests.
4508 ac_preproc_ok=:
4509 break
4510 fi
4511
4512 rm -f conftest.err conftest.$ac_ext
4513
4514 done
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.err conftest.$ac_ext
4517 if $ac_preproc_ok; then
4518   break
4519 fi
4520
4521     done
4522     ac_cv_prog_CPP=$CPP
4523
4524 fi
4525   CPP=$ac_cv_prog_CPP
4526 else
4527   ac_cv_prog_CPP=$CPP
4528 fi
4529 { echo "$as_me:$LINENO: result: $CPP" >&5
4530 echo "${ECHO_T}$CPP" >&6; }
4531 ac_preproc_ok=false
4532 for ac_c_preproc_warn_flag in '' yes
4533 do
4534   # Use a header file that comes with gcc, so configuring glibc
4535   # with a fresh cross-compiler works.
4536   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537   # <limits.h> exists even on freestanding compilers.
4538   # On the NeXT, cc -E runs the code through the compiler's parser,
4539   # not just through cpp. "Syntax error" is here to catch this case.
4540   cat >conftest.$ac_ext <<_ACEOF
4541 /* confdefs.h.  */
4542 _ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h.  */
4546 #ifdef __STDC__
4547 # include <limits.h>
4548 #else
4549 # include <assert.h>
4550 #endif
4551                      Syntax error
4552 _ACEOF
4553 if { (ac_try="$ac_cpp conftest.$ac_ext"
4554 case "(($ac_try" in
4555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556   *) ac_try_echo=$ac_try;;
4557 esac
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4560   ac_status=$?
4561   grep -v '^ *+' conftest.er1 >conftest.err
4562   rm -f conftest.er1
4563   cat conftest.err >&5
4564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565   (exit $ac_status); } >/dev/null; then
4566   if test -s conftest.err; then
4567     ac_cpp_err=$ac_c_preproc_warn_flag
4568     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4569   else
4570     ac_cpp_err=
4571   fi
4572 else
4573   ac_cpp_err=yes
4574 fi
4575 if test -z "$ac_cpp_err"; then
4576   :
4577 else
4578   echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4580
4581   # Broken: fails on valid input.
4582 continue
4583 fi
4584
4585 rm -f conftest.err conftest.$ac_ext
4586
4587   # OK, works on sane cases.  Now check whether nonexistent headers
4588   # can be detected and how.
4589   cat >conftest.$ac_ext <<_ACEOF
4590 /* confdefs.h.  */
4591 _ACEOF
4592 cat confdefs.h >>conftest.$ac_ext
4593 cat >>conftest.$ac_ext <<_ACEOF
4594 /* end confdefs.h.  */
4595 #include <ac_nonexistent.h>
4596 _ACEOF
4597 if { (ac_try="$ac_cpp conftest.$ac_ext"
4598 case "(($ac_try" in
4599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600   *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4604   ac_status=$?
4605   grep -v '^ *+' conftest.er1 >conftest.err
4606   rm -f conftest.er1
4607   cat conftest.err >&5
4608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609   (exit $ac_status); } >/dev/null; then
4610   if test -s conftest.err; then
4611     ac_cpp_err=$ac_c_preproc_warn_flag
4612     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4613   else
4614     ac_cpp_err=
4615   fi
4616 else
4617   ac_cpp_err=yes
4618 fi
4619 if test -z "$ac_cpp_err"; then
4620   # Broken: success on invalid input.
4621 continue
4622 else
4623   echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626   # Passes both tests.
4627 ac_preproc_ok=:
4628 break
4629 fi
4630
4631 rm -f conftest.err conftest.$ac_ext
4632
4633 done
4634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4635 rm -f conftest.err conftest.$ac_ext
4636 if $ac_preproc_ok; then
4637   :
4638 else
4639   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4640 See \`config.log' for more details." >&5
4641 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4642 See \`config.log' for more details." >&2;}
4643    { (exit 1); exit 1; }; }
4644 fi
4645
4646 ac_ext=c
4647 ac_cpp='$CPP $CPPFLAGS'
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651
4652 ac_ext=cpp
4653 ac_cpp='$CXXCPP $CPPFLAGS'
4654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4657 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4658 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4659 if test -z "$CXXCPP"; then
4660   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4661   echo $ECHO_N "(cached) $ECHO_C" >&6
4662 else
4663       # Double quotes because CXXCPP needs to be expanded
4664     for CXXCPP in "$CXX -E" "/lib/cpp"
4665     do
4666       ac_preproc_ok=false
4667 for ac_cxx_preproc_warn_flag in '' yes
4668 do
4669   # Use a header file that comes with gcc, so configuring glibc
4670   # with a fresh cross-compiler works.
4671   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4672   # <limits.h> exists even on freestanding compilers.
4673   # On the NeXT, cc -E runs the code through the compiler's parser,
4674   # not just through cpp. "Syntax error" is here to catch this case.
4675   cat >conftest.$ac_ext <<_ACEOF
4676 /* confdefs.h.  */
4677 _ACEOF
4678 cat confdefs.h >>conftest.$ac_ext
4679 cat >>conftest.$ac_ext <<_ACEOF
4680 /* end confdefs.h.  */
4681 #ifdef __STDC__
4682 # include <limits.h>
4683 #else
4684 # include <assert.h>
4685 #endif
4686                      Syntax error
4687 _ACEOF
4688 if { (ac_try="$ac_cpp conftest.$ac_ext"
4689 case "(($ac_try" in
4690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691   *) ac_try_echo=$ac_try;;
4692 esac
4693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4694   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4695   ac_status=$?
4696   grep -v '^ *+' conftest.er1 >conftest.err
4697   rm -f conftest.er1
4698   cat conftest.err >&5
4699   echo "$as_me:$LINENO: \$? = $ac_status" >&5