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