Fix compile problem when old version of libvorbisfile v1.1.2 is used.
[asterisk/asterisk.git] / configure
1 #! /bin/sh
2 # From configure.ac Revision: 355376 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for asterisk trunk.
5 #
6 # Report bugs to <https://issues.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='trunk'
603 PACKAGE_STRING='asterisk trunk'
604 PACKAGE_BUGREPORT='https://issues.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_SYSLOG
646 PBX_SYSLOG_FACILITY_LOG_UUCP
647 PBX_SYSLOG_FACILITY_LOG_SYSLOG
648 PBX_SYSLOG_FACILITY_LOG_NEWS
649 PBX_SYSLOG_FACILITY_LOG_MAIL
650 PBX_SYSLOG_FACILITY_LOG_LPR
651 PBX_SYSLOG_FACILITY_LOG_KERN
652 PBX_SYSLOG_FACILITY_LOG_FTP
653 PBX_SYSLOG_FACILITY_LOG_DAEMON
654 PBX_SYSLOG_FACILITY_LOG_CRON
655 PBX_SYSLOG_FACILITY_LOG_AUTHPRIV
656 PBX_SYSLOG_FACILITY_LOG_AUTH
657 PBX_GENERIC_ODBC
658 GENERIC_ODBC_INCLUDE
659 GENERIC_ODBC_LIB
660 PBX_LAUNCHD
661 CONFIG_SDL
662 PBX_SO_NOSIGPIPE
663 PBX_MSG_NOSIGNAL
664 PBX_IXJUSER
665 PBX_H323
666 CONFIG_GMIME
667 OPENH323_BUILD
668 OPENH323_SUFFIX
669 OPENH323_LIBDIR
670 OPENH323_INCDIR
671 OPENH323DIR
672 PWLIB_PLATFORM
673 PWLIB_LIBDIR
674 PWLIB_INCDIR
675 PWLIBDIR
676 PTLIB_CONFIG
677 PG_CONFIG
678 CONFIG_NETSNMP
679 CONFIG_NEON29
680 CONFIG_NEON
681 CONFIG_MYSQLCLIENT
682 PBX_MISDN_FAC_ERROR
683 PBX_MISDN_FAC_RESULT
684 GSM_INTERNAL
685 PBX_DAHDI_HALF_FULL
686 PKGCONFIG
687 PBX_DLADDR
688 PBX_IP_MTU_DISCOVER
689 PBX_GLOB_BRACE
690 PBX_GLOB_NOMAGIC
691 AST_MARCH_NATIVE
692 AST_SHADOW_WARNINGS
693 AST_NO_STRICT_OVERFLOW
694 AST_FORTIFY_SOURCE
695 AST_DECLARATION_AFTER_STATEMENT
696 GC_LDFLAGS
697 GC_CFLAGS
698 PBX_WEAKREF
699 PBX_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
700 PBX_PTHREAD_RWLOCK_INITIALIZER
701 AST_ASTERISKSSL
702 HAS_POLL
703 PBX_DYNAMIC_LIST
704 POW_LIB
705 PBX_WORKING_FORK
706 LIBOBJS
707 CONFIG_LIBXML2
708 EDITLINE_LIB
709 ALLOCA
710 PBX_ZLIB
711 ZLIB_DIR
712 ZLIB_INCLUDE
713 ZLIB_LIB
714 PBX_X11
715 X11_DIR
716 X11_INCLUDE
717 X11_LIB
718 PBX_VPB
719 VPB_DIR
720 VPB_INCLUDE
721 VPB_LIB
722 PBX_VORBIS
723 VORBIS_DIR
724 VORBIS_INCLUDE
725 VORBIS_LIB
726 PBX_USB
727 USB_DIR
728 USB_INCLUDE
729 USB_LIB
730 PBX_UNIXODBC
731 UNIXODBC_DIR
732 UNIXODBC_INCLUDE
733 UNIXODBC_LIB
734 PBX_TONEZONE
735 TONEZONE_DIR
736 TONEZONE_INCLUDE
737 TONEZONE_LIB
738 PBX_TINFO
739 TINFO_DIR
740 TINFO_INCLUDE
741 TINFO_LIB
742 PBX_TIMERFD
743 TIMERFD_DIR
744 TIMERFD_INCLUDE
745 TIMERFD_LIB
746 PBX_TERMCAP
747 TERMCAP_DIR
748 TERMCAP_INCLUDE
749 TERMCAP_LIB
750 PBX_FREETDS
751 FREETDS_DIR
752 FREETDS_INCLUDE
753 FREETDS_LIB
754 PBX_SUPPSERV
755 SUPPSERV_DIR
756 SUPPSERV_INCLUDE
757 SUPPSERV_LIB
758 PBX_OPENSSL
759 OPENSSL_DIR
760 OPENSSL_INCLUDE
761 OPENSSL_LIB
762 PBX_SRTP
763 SRTP_DIR
764 SRTP_INCLUDE
765 SRTP_LIB
766 PBX_SQLITE3
767 SQLITE3_DIR
768 SQLITE3_INCLUDE
769 SQLITE3_LIB
770 PBX_SQLITE
771 SQLITE_DIR
772 SQLITE_INCLUDE
773 SQLITE_LIB
774 PBX_SPEEXDSP
775 SPEEXDSP_DIR
776 SPEEXDSP_INCLUDE
777 SPEEXDSP_LIB
778 PBX_SPEEX_PREPROCESS
779 SPEEX_PREPROCESS_DIR
780 SPEEX_PREPROCESS_INCLUDE
781 SPEEX_PREPROCESS_LIB
782 PBX_SPEEX
783 SPEEX_DIR
784 SPEEX_INCLUDE
785 SPEEX_LIB
786 PBX_SS7
787 SS7_DIR
788 SS7_INCLUDE
789 SS7_LIB
790 PBX_SPANDSP
791 SPANDSP_DIR
792 SPANDSP_INCLUDE
793 SPANDSP_LIB
794 SOUNDS_CACHE_DIR
795 PBX_SDL_IMAGE
796 SDL_IMAGE_DIR
797 SDL_IMAGE_INCLUDE
798 SDL_IMAGE_LIB
799 PBX_SDL
800 SDL_DIR
801 SDL_INCLUDE
802 SDL_LIB
803 PBX_RESAMPLE
804 RESAMPLE_DIR
805 RESAMPLE_INCLUDE
806 RESAMPLE_LIB
807 PBX_RADIUS
808 RADIUS_DIR
809 RADIUS_INCLUDE
810 RADIUS_LIB
811 PBX_PWLIB
812 PWLIB_DIR
813 PWLIB_INCLUDE
814 PWLIB_LIB
815 PBX_PRI_REVERSE_CHARGE
816 PRI_REVERSE_CHARGE_DIR
817 PRI_REVERSE_CHARGE_INCLUDE
818 PRI_REVERSE_CHARGE_LIB
819 PBX_PRI_SERVICE_MESSAGES
820 PRI_SERVICE_MESSAGES_DIR
821 PRI_SERVICE_MESSAGES_INCLUDE
822 PRI_SERVICE_MESSAGES_LIB
823 PBX_PRI_PROG_W_CAUSE
824 PRI_PROG_W_CAUSE_DIR
825 PRI_PROG_W_CAUSE_INCLUDE
826 PRI_PROG_W_CAUSE_LIB
827 PBX_PRI_INBANDDISCONNECT
828 PRI_INBANDDISCONNECT_DIR
829 PRI_INBANDDISCONNECT_INCLUDE
830 PRI_INBANDDISCONNECT_LIB
831 PBX_PRI_SETUP_KEYPAD
832 PRI_SETUP_KEYPAD_DIR
833 PRI_SETUP_KEYPAD_INCLUDE
834 PRI_SETUP_KEYPAD_LIB
835 PBX_PRI_CALL_REROUTING
836 PRI_CALL_REROUTING_DIR
837 PRI_CALL_REROUTING_INCLUDE
838 PRI_CALL_REROUTING_LIB
839 PBX_PRI_CALL_HOLD
840 PRI_CALL_HOLD_DIR
841 PRI_CALL_HOLD_INCLUDE
842 PRI_CALL_HOLD_LIB
843 PBX_PRI_SUBADDR
844 PRI_SUBADDR_DIR
845 PRI_SUBADDR_INCLUDE
846 PRI_SUBADDR_LIB
847 PBX_PRI_HANGUP_FIX
848 PRI_HANGUP_FIX_DIR
849 PRI_HANGUP_FIX_INCLUDE
850 PRI_HANGUP_FIX_LIB
851 PBX_PRI_CCSS
852 PRI_CCSS_DIR
853 PRI_CCSS_INCLUDE
854 PRI_CCSS_LIB
855 PBX_PRI_TRANSFER
856 PRI_TRANSFER_DIR
857 PRI_TRANSFER_INCLUDE
858 PRI_TRANSFER_LIB
859 PBX_PRI_AOC_EVENTS
860 PRI_AOC_EVENTS_DIR
861 PRI_AOC_EVENTS_INCLUDE
862 PRI_AOC_EVENTS_LIB
863 PBX_PRI_CALL_WAITING
864 PRI_CALL_WAITING_DIR
865 PRI_CALL_WAITING_INCLUDE
866 PRI_CALL_WAITING_LIB
867 PBX_PRI_MCID
868 PRI_MCID_DIR
869 PRI_MCID_INCLUDE
870 PRI_MCID_LIB
871 PBX_PRI_MWI
872 PRI_MWI_DIR
873 PRI_MWI_INCLUDE
874 PRI_MWI_LIB
875 PBX_PRI_DISPLAY_TEXT
876 PRI_DISPLAY_TEXT_DIR
877 PRI_DISPLAY_TEXT_INCLUDE
878 PRI_DISPLAY_TEXT_LIB
879 PBX_PRI_MWI_V2
880 PRI_MWI_V2_DIR
881 PRI_MWI_V2_INCLUDE
882 PRI_MWI_V2_LIB
883 PBX_PRI_DATETIME_SEND
884 PRI_DATETIME_SEND_DIR
885 PRI_DATETIME_SEND_INCLUDE
886 PRI_DATETIME_SEND_LIB
887 PBX_PRI_L2_PERSISTENCE
888 PRI_L2_PERSISTENCE_DIR
889 PRI_L2_PERSISTENCE_INCLUDE
890 PRI_L2_PERSISTENCE_LIB
891 PBX_PRI
892 PRI_DIR
893 PRI_INCLUDE
894 PRI_LIB
895 PBX_PORTAUDIO
896 PORTAUDIO_DIR
897 PORTAUDIO_INCLUDE
898 PORTAUDIO_LIB
899 PBX_POPT
900 POPT_DIR
901 POPT_INCLUDE
902 POPT_LIB
903 PBX_PGSQL
904 PGSQL_DIR
905 PGSQL_INCLUDE
906 PGSQL_LIB
907 PBX_OSS
908 OSS_DIR
909 OSS_INCLUDE
910 OSS_LIB
911 PBX_OSPTK
912 OSPTK_DIR
913 OSPTK_INCLUDE
914 OSPTK_LIB
915 PBX_OPENR2
916 OPENR2_DIR
917 OPENR2_INCLUDE
918 OPENR2_LIB
919 PBX_OGG
920 OGG_DIR
921 OGG_INCLUDE
922 OGG_LIB
923 PBX_NEWT
924 NEWT_DIR
925 NEWT_INCLUDE
926 NEWT_LIB
927 PBX_NETSNMP
928 NETSNMP_DIR
929 NETSNMP_INCLUDE
930 NETSNMP_LIB
931 PBX_NEON29
932 NEON29_DIR
933 NEON29_INCLUDE
934 NEON29_LIB
935 PBX_NEON
936 NEON_DIR
937 NEON_INCLUDE
938 NEON_LIB
939 PBX_NCURSES
940 NCURSES_DIR
941 NCURSES_INCLUDE
942 NCURSES_LIB
943 PBX_NBS
944 NBS_DIR
945 NBS_INCLUDE
946 NBS_LIB
947 PBX_MYSQLCLIENT
948 MYSQLCLIENT_DIR
949 MYSQLCLIENT_INCLUDE
950 MYSQLCLIENT_LIB
951 PBX_MISDN
952 MISDN_DIR
953 MISDN_INCLUDE
954 MISDN_LIB
955 PBX_LUA
956 LUA_DIR
957 LUA_INCLUDE
958 LUA_LIB
959 PBX_LTDL
960 LTDL_DIR
961 LTDL_INCLUDE
962 LTDL_LIB
963 PBX_LIBXML2
964 LIBXML2_DIR
965 LIBXML2_INCLUDE
966 LIBXML2_LIB
967 CURL_LIB
968 CURL_INCLUDE
969 _libcurl_config
970 PBX_CURL
971 PBX_LDAP
972 LDAP_DIR
973 LDAP_INCLUDE
974 LDAP_LIB
975 PBX_KQUEUE
976 KQUEUE_DIR
977 KQUEUE_INCLUDE
978 KQUEUE_LIB
979 PBX_JACK
980 JACK_DIR
981 JACK_INCLUDE
982 JACK_LIB
983 PBX_ISDNNET
984 ISDNNET_DIR
985 ISDNNET_INCLUDE
986 ISDNNET_LIB
987 PBX_IODBC
988 IODBC_DIR
989 IODBC_INCLUDE
990 IODBC_LIB
991 PBX_INOTIFY
992 INOTIFY_DIR
993 INOTIFY_INCLUDE
994 INOTIFY_LIB
995 PBX_IMAP_TK
996 IMAP_TK_DIR
997 IMAP_TK_INCLUDE
998 IMAP_TK_LIB
999 PBX_IKSEMEL
1000 IKSEMEL_DIR
1001 IKSEMEL_INCLUDE
1002 IKSEMEL_LIB
1003 PBX_ICONV
1004 ICONV_DIR
1005 ICONV_INCLUDE
1006 ICONV_LIB
1007 PBX_ICAL
1008 ICAL_DIR
1009 ICAL_INCLUDE
1010 ICAL_LIB
1011 PBX_HOARD
1012 HOARD_DIR
1013 HOARD_INCLUDE
1014 HOARD_LIB
1015 PBX_OPENH323
1016 OPENH323_DIR
1017 OPENH323_INCLUDE
1018 OPENH323_LIB
1019 PBX_GMIME
1020 GMIME_DIR
1021 GMIME_INCLUDE
1022 GMIME_LIB
1023 PBX_GTK2
1024 GTK2_DIR
1025 GTK2_INCLUDE
1026 GTK2_LIB
1027 PBX_GSM
1028 GSM_DIR
1029 GSM_INCLUDE
1030 GSM_LIB
1031 PBX_FFMPEG
1032 FFMPEG_DIR
1033 FFMPEG_INCLUDE
1034 FFMPEG_LIB
1035 PBX_DAHDI
1036 DAHDI_DIR
1037 DAHDI_INCLUDE
1038 DAHDI_LIB
1039 PBX_CRYPTO
1040 CRYPTO_DIR
1041 CRYPTO_INCLUDE
1042 CRYPTO_LIB
1043 PBX_CURSES
1044 CURSES_DIR
1045 CURSES_INCLUDE
1046 CURSES_LIB
1047 PBX_COROSYNC
1048 COROSYNC_DIR
1049 COROSYNC_INCLUDE
1050 COROSYNC_LIB
1051 PBX_CAP
1052 CAP_DIR
1053 CAP_INCLUDE
1054 CAP_LIB
1055 PBX_BLUETOOTH
1056 BLUETOOTH_DIR
1057 BLUETOOTH_INCLUDE
1058 BLUETOOTH_LIB
1059 PBX_BKTR
1060 BKTR_DIR
1061 BKTR_INCLUDE
1062 BKTR_LIB
1063 PBX_BFD
1064 BFD_DIR
1065 BFD_INCLUDE
1066 BFD_LIB
1067 PBX_ALSA
1068 ALSA_DIR
1069 ALSA_INCLUDE
1070 ALSA_LIB
1071 AST_CODE_COVERAGE
1072 AST_DEVMODE
1073 NOISY_BUILD
1074 PTHREAD_CFLAGS
1075 PTHREAD_LIBS
1076 PTHREAD_CC
1077 acx_pthread_config
1078 MD5
1079 SOXMIX
1080 PBX_FLEX
1081 PBX_BISON
1082 OPENSSL
1083 SHA1SUM
1084 LDCONFIG
1085 DOWNLOAD
1086 FETCH
1087 XMLSTARLET
1088 XMLLINT
1089 KPATHSEA
1090 CATDVI
1091 RUBBER
1092 CURL
1093 WGET
1094 DOT
1095 LN
1096 DIRNAME
1097 BASENAME
1098 COMPRESS
1099 FIND
1100 FLEX
1101 CMP
1102 BISON
1103 GNU_LD
1104 ac_ct_AR
1105 AR
1106 ac_ct_STRIP
1107 STRIP
1108 GNU_MAKE
1109 LN_S
1110 INSTALL_DATA
1111 INSTALL_SCRIPT
1112 INSTALL_PROGRAM
1113 AWK
1114 SED
1115 CXXCPP
1116 ac_ct_CXX
1117 CXXFLAGS
1118 RANLIB
1119 LD
1120 CXX
1121 PBX_OSREV
1122 UNAME
1123 PBX_WINARCH
1124 OSARCH
1125 HOST_OS
1126 HOST_VENDOR
1127 HOST_CPU
1128 HOST_PLATFORM
1129 BUILD_OS
1130 BUILD_VENDOR
1131 BUILD_CPU
1132 BUILD_PLATFORM
1133 astvarrundir
1134 astlogdir
1135 astspooldir
1136 astkeydir
1137 astdbdir
1138 astdatadir
1139 astvarlibdir
1140 astmandir
1141 astmoddir
1142 astlibdir
1143 astheaderdir
1144 astetcdir
1145 astsbindir
1146 EGREP
1147 GREP
1148 CPP
1149 OBJEXT
1150 EXEEXT
1151 ac_ct_CC
1152 CPPFLAGS
1153 LDFLAGS
1154 CFLAGS
1155 CC
1156 CONFIG_LDFLAGS
1157 CONFIG_CFLAGS
1158 host_os
1159 host_vendor
1160 host_cpu
1161 host
1162 build_os
1163 build_vendor
1164 build_cpu
1165 build
1166 target_alias
1167 host_alias
1168 build_alias
1169 LIBS
1170 ECHO_T
1171 ECHO_N
1172 ECHO_C
1173 DEFS
1174 mandir
1175 localedir
1176 libdir
1177 psdir
1178 pdfdir
1179 dvidir
1180 htmldir
1181 infodir
1182 docdir
1183 oldincludedir
1184 includedir
1185 localstatedir
1186 sharedstatedir
1187 sysconfdir
1188 datadir
1189 datarootdir
1190 libexecdir
1191 sbindir
1192 bindir
1193 program_transform_name
1194 prefix
1195 exec_prefix
1196 PACKAGE_BUGREPORT
1197 PACKAGE_STRING
1198 PACKAGE_VERSION
1199 PACKAGE_TARNAME
1200 PACKAGE_NAME
1201 PATH_SEPARATOR
1202 SHELL'
1203 ac_subst_files=''
1204 ac_user_opts='
1205 enable_option_checking
1206 with_gnu_ld
1207 enable_dev_mode
1208 enable_coverage
1209 with_asound
1210 with_bfd
1211 with_execinfo
1212 with_bluetooth
1213 with_cap
1214 with_cpg
1215 with_curses
1216 with_crypto
1217 with_dahdi
1218 with_avcodec
1219 with_gsm
1220 with_gtk2
1221 with_gmime
1222 with_h323
1223 with_hoard
1224 with_ical
1225 with_iconv
1226 with_iksemel
1227 with_imap
1228 with_inotify
1229 with_iodbc
1230 with_isdnnet
1231 with_jack
1232 with_kqueue
1233 with_ldap
1234 with_libcurl
1235 with_libxml2
1236 with_ltdl
1237 with_lua
1238 with_misdn
1239 with_mysqlclient
1240 with_nbs
1241 with_ncurses
1242 with_neon
1243 with_neon29
1244 with_netsnmp
1245 with_newt
1246 with_ogg
1247 with_openr2
1248 with_osptk
1249 with_oss
1250 with_postgres
1251 with_popt
1252 with_portaudio
1253 with_pri
1254 with_pwlib
1255 with_radius
1256 with_resample
1257 with_sdl
1258 with_SDL_image
1259 with_sounds_cache
1260 with_spandsp
1261 with_ss7
1262 with_speex
1263 with_speexdsp
1264 with_sqlite
1265 with_sqlite3
1266 with_srtp
1267 with_ssl
1268 with_suppserv
1269 with_tds
1270 with_termcap
1271 with_timerfd
1272 with_tinfo
1273 with_tonezone
1274 with_unixodbc
1275 with_usb
1276 with_vorbis
1277 with_vpb
1278 with_x11
1279 with_z
1280 enable_xmldoc
1281 enable_largefile
1282 enable_internal_poll
1283 enable_asteriskssl
1284 '
1285       ac_precious_vars='build_alias
1286 host_alias
1287 target_alias
1288 CC
1289 CFLAGS
1290 LDFLAGS
1291 LIBS
1292 CPPFLAGS
1293 CPP
1294 CXX
1295 CXXFLAGS
1296 CCC
1297 CXXCPP'
1298
1299
1300 # Initialize some variables set by options.
1301 ac_init_help=
1302 ac_init_version=false
1303 ac_unrecognized_opts=
1304 ac_unrecognized_sep=
1305 # The variables have the same names as the options, with
1306 # dashes changed to underlines.
1307 cache_file=/dev/null
1308 exec_prefix=NONE
1309 no_create=
1310 no_recursion=
1311 prefix=NONE
1312 program_prefix=NONE
1313 program_suffix=NONE
1314 program_transform_name=s,x,x,
1315 silent=
1316 site=
1317 srcdir=
1318 verbose=
1319 x_includes=NONE
1320 x_libraries=NONE
1321
1322 # Installation directory options.
1323 # These are left unexpanded so users can "make install exec_prefix=/foo"
1324 # and all the variables that are supposed to be based on exec_prefix
1325 # by default will actually change.
1326 # Use braces instead of parens because sh, perl, etc. also accept them.
1327 # (The list follows the same order as the GNU Coding Standards.)
1328 bindir='${exec_prefix}/bin'
1329 sbindir='${exec_prefix}/sbin'
1330 libexecdir='${exec_prefix}/libexec'
1331 datarootdir='${prefix}/share'
1332 datadir='${datarootdir}'
1333 sysconfdir='${prefix}/etc'
1334 sharedstatedir='${prefix}/com'
1335 localstatedir='${prefix}/var'
1336 includedir='${prefix}/include'
1337 oldincludedir='/usr/include'
1338 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1339 infodir='${datarootdir}/info'
1340 htmldir='${docdir}'
1341 dvidir='${docdir}'
1342 pdfdir='${docdir}'
1343 psdir='${docdir}'
1344 libdir='${exec_prefix}/lib'
1345 localedir='${datarootdir}/locale'
1346 mandir='${datarootdir}/man'
1347
1348 ac_prev=
1349 ac_dashdash=
1350 for ac_option
1351 do
1352   # If the previous option needs an argument, assign it.
1353   if test -n "$ac_prev"; then
1354     eval $ac_prev=\$ac_option
1355     ac_prev=
1356     continue
1357   fi
1358
1359   case $ac_option in
1360   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1361   *)    ac_optarg=yes ;;
1362   esac
1363
1364   # Accept the important Cygnus configure options, so we can diagnose typos.
1365
1366   case $ac_dashdash$ac_option in
1367   --)
1368     ac_dashdash=yes ;;
1369
1370   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1371     ac_prev=bindir ;;
1372   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1373     bindir=$ac_optarg ;;
1374
1375   -build | --build | --buil | --bui | --bu)
1376     ac_prev=build_alias ;;
1377   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1378     build_alias=$ac_optarg ;;
1379
1380   -cache-file | --cache-file | --cache-fil | --cache-fi \
1381   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1382     ac_prev=cache_file ;;
1383   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1384   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1385     cache_file=$ac_optarg ;;
1386
1387   --config-cache | -C)
1388     cache_file=config.cache ;;
1389
1390   -datadir | --datadir | --datadi | --datad)
1391     ac_prev=datadir ;;
1392   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1393     datadir=$ac_optarg ;;
1394
1395   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1396   | --dataroo | --dataro | --datar)
1397     ac_prev=datarootdir ;;
1398   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1399   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1400     datarootdir=$ac_optarg ;;
1401
1402   -disable-* | --disable-*)
1403     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1404     # Reject names that are not valid shell variable names.
1405     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1406       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1407    { (exit 1); exit 1; }; }
1408     ac_useropt_orig=$ac_useropt
1409     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1410     case $ac_user_opts in
1411       *"
1412 "enable_$ac_useropt"
1413 "*) ;;
1414       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1415          ac_unrecognized_sep=', ';;
1416     esac
1417     eval enable_$ac_useropt=no ;;
1418
1419   -docdir | --docdir | --docdi | --doc | --do)
1420     ac_prev=docdir ;;
1421   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1422     docdir=$ac_optarg ;;
1423
1424   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1425     ac_prev=dvidir ;;
1426   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1427     dvidir=$ac_optarg ;;
1428
1429   -enable-* | --enable-*)
1430     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1431     # Reject names that are not valid shell variable names.
1432     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1433       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1434    { (exit 1); exit 1; }; }
1435     ac_useropt_orig=$ac_useropt
1436     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1437     case $ac_user_opts in
1438       *"
1439 "enable_$ac_useropt"
1440 "*) ;;
1441       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1442          ac_unrecognized_sep=', ';;
1443     esac
1444     eval enable_$ac_useropt=\$ac_optarg ;;
1445
1446   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1447   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1448   | --exec | --exe | --ex)
1449     ac_prev=exec_prefix ;;
1450   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1451   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1452   | --exec=* | --exe=* | --ex=*)
1453     exec_prefix=$ac_optarg ;;
1454
1455   -gas | --gas | --ga | --g)
1456     # Obsolete; use --with-gas.
1457     with_gas=yes ;;
1458
1459   -help | --help | --hel | --he | -h)
1460     ac_init_help=long ;;
1461   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1462     ac_init_help=recursive ;;
1463   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1464     ac_init_help=short ;;
1465
1466   -host | --host | --hos | --ho)
1467     ac_prev=host_alias ;;
1468   -host=* | --host=* | --hos=* | --ho=*)
1469     host_alias=$ac_optarg ;;
1470
1471   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1472     ac_prev=htmldir ;;
1473   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1474   | --ht=*)
1475     htmldir=$ac_optarg ;;
1476
1477   -includedir | --includedir | --includedi | --included | --include \
1478   | --includ | --inclu | --incl | --inc)
1479     ac_prev=includedir ;;
1480   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1481   | --includ=* | --inclu=* | --incl=* | --inc=*)
1482     includedir=$ac_optarg ;;
1483
1484   -infodir | --infodir | --infodi | --infod | --info | --inf)
1485     ac_prev=infodir ;;
1486   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1487     infodir=$ac_optarg ;;
1488
1489   -libdir | --libdir | --libdi | --libd)
1490     ac_prev=libdir ;;
1491   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1492     libdir=$ac_optarg ;;
1493
1494   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1495   | --libexe | --libex | --libe)
1496     ac_prev=libexecdir ;;
1497   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1498   | --libexe=* | --libex=* | --libe=*)
1499     libexecdir=$ac_optarg ;;
1500
1501   -localedir | --localedir | --localedi | --localed | --locale)
1502     ac_prev=localedir ;;
1503   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1504     localedir=$ac_optarg ;;
1505
1506   -localstatedir | --localstatedir | --localstatedi | --localstated \
1507   | --localstate | --localstat | --localsta | --localst | --locals)
1508     ac_prev=localstatedir ;;
1509   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1510   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1511     localstatedir=$ac_optarg ;;
1512
1513   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1514     ac_prev=mandir ;;
1515   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1516     mandir=$ac_optarg ;;
1517
1518   -nfp | --nfp | --nf)
1519     # Obsolete; use --without-fp.
1520     with_fp=no ;;
1521
1522   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1523   | --no-cr | --no-c | -n)
1524     no_create=yes ;;
1525
1526   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1527   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1528     no_recursion=yes ;;
1529
1530   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1531   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1532   | --oldin | --oldi | --old | --ol | --o)
1533     ac_prev=oldincludedir ;;
1534   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1535   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1536   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1537     oldincludedir=$ac_optarg ;;
1538
1539   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1540     ac_prev=prefix ;;
1541   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1542     prefix=$ac_optarg ;;
1543
1544   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1545   | --program-pre | --program-pr | --program-p)
1546     ac_prev=program_prefix ;;
1547   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1548   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1549     program_prefix=$ac_optarg ;;
1550
1551   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1552   | --program-suf | --program-su | --program-s)
1553     ac_prev=program_suffix ;;
1554   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1555   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1556     program_suffix=$ac_optarg ;;
1557
1558   -program-transform-name | --program-transform-name \
1559   | --program-transform-nam | --program-transform-na \
1560   | --program-transform-n | --program-transform- \
1561   | --program-transform | --program-transfor \
1562   | --program-transfo | --program-transf \
1563   | --program-trans | --program-tran \
1564   | --progr-tra | --program-tr | --program-t)
1565     ac_prev=program_transform_name ;;
1566   -program-transform-name=* | --program-transform-name=* \
1567   | --program-transform-nam=* | --program-transform-na=* \
1568   | --program-transform-n=* | --program-transform-=* \
1569   | --program-transform=* | --program-transfor=* \
1570   | --program-transfo=* | --program-transf=* \
1571   | --program-trans=* | --program-tran=* \
1572   | --progr-tra=* | --program-tr=* | --program-t=*)
1573     program_transform_name=$ac_optarg ;;
1574
1575   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1576     ac_prev=pdfdir ;;
1577   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1578     pdfdir=$ac_optarg ;;
1579
1580   -psdir | --psdir | --psdi | --psd | --ps)
1581     ac_prev=psdir ;;
1582   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1583     psdir=$ac_optarg ;;
1584
1585   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1586   | -silent | --silent | --silen | --sile | --sil)
1587     silent=yes ;;
1588
1589   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1590     ac_prev=sbindir ;;
1591   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1592   | --sbi=* | --sb=*)
1593     sbindir=$ac_optarg ;;
1594
1595   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1596   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1597   | --sharedst | --shareds | --shared | --share | --shar \
1598   | --sha | --sh)
1599     ac_prev=sharedstatedir ;;
1600   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1601   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1602   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1603   | --sha=* | --sh=*)
1604     sharedstatedir=$ac_optarg ;;
1605
1606   -site | --site | --sit)
1607     ac_prev=site ;;
1608   -site=* | --site=* | --sit=*)
1609     site=$ac_optarg ;;
1610
1611   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1612     ac_prev=srcdir ;;
1613   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1614     srcdir=$ac_optarg ;;
1615
1616   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1617   | --syscon | --sysco | --sysc | --sys | --sy)
1618     ac_prev=sysconfdir ;;
1619   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1620   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1621     sysconfdir=$ac_optarg ;;
1622
1623   -target | --target | --targe | --targ | --tar | --ta | --t)
1624     ac_prev=target_alias ;;
1625   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1626     target_alias=$ac_optarg ;;
1627
1628   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1629     verbose=yes ;;
1630
1631   -version | --version | --versio | --versi | --vers | -V)
1632     ac_init_version=: ;;
1633
1634   -with-* | --with-*)
1635     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1636     # Reject names that are not valid shell variable names.
1637     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1638       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1639    { (exit 1); exit 1; }; }
1640     ac_useropt_orig=$ac_useropt
1641     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1642     case $ac_user_opts in
1643       *"
1644 "with_$ac_useropt"
1645 "*) ;;
1646       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1647          ac_unrecognized_sep=', ';;
1648     esac
1649     eval with_$ac_useropt=\$ac_optarg ;;
1650
1651   -without-* | --without-*)
1652     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1653     # Reject names that are not valid shell variable names.
1654     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1655       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1656    { (exit 1); exit 1; }; }
1657     ac_useropt_orig=$ac_useropt
1658     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1659     case $ac_user_opts in
1660       *"
1661 "with_$ac_useropt"
1662 "*) ;;
1663       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1664          ac_unrecognized_sep=', ';;
1665     esac
1666     eval with_$ac_useropt=no ;;
1667
1668   --x)
1669     # Obsolete; use --with-x.
1670     with_x=yes ;;
1671
1672   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1673   | --x-incl | --x-inc | --x-in | --x-i)
1674     ac_prev=x_includes ;;
1675   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1676   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1677     x_includes=$ac_optarg ;;
1678
1679   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1680   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1681     ac_prev=x_libraries ;;
1682   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1683   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1684     x_libraries=$ac_optarg ;;
1685
1686   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1687 Try \`$0 --help' for more information." >&2
1688    { (exit 1); exit 1; }; }
1689     ;;
1690
1691   *=*)
1692     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1693     # Reject names that are not valid shell variable names.
1694     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1695       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1696    { (exit 1); exit 1; }; }
1697     eval $ac_envvar=\$ac_optarg
1698     export $ac_envvar ;;
1699
1700   *)
1701     # FIXME: should be removed in autoconf 3.0.
1702     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1703     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1704       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1705     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1706     ;;
1707
1708   esac
1709 done
1710
1711 if test -n "$ac_prev"; then
1712   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1713   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1714    { (exit 1); exit 1; }; }
1715 fi
1716
1717 if test -n "$ac_unrecognized_opts"; then
1718   case $enable_option_checking in
1719     no) ;;
1720     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1721    { (exit 1); exit 1; }; } ;;
1722     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1723   esac
1724 fi
1725
1726 # Check all directory arguments for consistency.
1727 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1728                 datadir sysconfdir sharedstatedir localstatedir includedir \
1729                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1730                 libdir localedir mandir
1731 do
1732   eval ac_val=\$$ac_var
1733   # Remove trailing slashes.
1734   case $ac_val in
1735     */ )
1736       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1737       eval $ac_var=\$ac_val;;
1738   esac
1739   # Be sure to have absolute directory names.
1740   case $ac_val in
1741     [\\/$]* | ?:[\\/]* )  continue;;
1742     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1743   esac
1744   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1745    { (exit 1); exit 1; }; }
1746 done
1747
1748 # There might be people who depend on the old broken behavior: `$host'
1749 # used to hold the argument of --host etc.
1750 # FIXME: To remove some day.
1751 build=$build_alias
1752 host=$host_alias
1753 target=$target_alias
1754
1755 # FIXME: To remove some day.
1756 if test "x$host_alias" != x; then
1757   if test "x$build_alias" = x; then
1758     cross_compiling=maybe
1759     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1760     If a cross compiler is detected then cross compile mode will be used." >&2
1761   elif test "x$build_alias" != "x$host_alias"; then
1762     cross_compiling=yes
1763   fi
1764 fi
1765
1766 ac_tool_prefix=
1767 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1768
1769 test "$silent" = yes && exec 6>/dev/null
1770
1771
1772 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1773 ac_ls_di=`ls -di .` &&
1774 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1775   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1776    { (exit 1); exit 1; }; }
1777 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1778   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1779    { (exit 1); exit 1; }; }
1780
1781
1782 # Find the source files, if location was not specified.
1783 if test -z "$srcdir"; then
1784   ac_srcdir_defaulted=yes
1785   # Try the directory containing this script, then the parent directory.
1786   ac_confdir=`$as_dirname -- "$as_myself" ||
1787 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1788          X"$as_myself" : 'X\(//\)[^/]' \| \
1789          X"$as_myself" : 'X\(//\)$' \| \
1790          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1791 $as_echo X"$as_myself" |
1792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1793             s//\1/
1794             q
1795           }
1796           /^X\(\/\/\)[^/].*/{
1797             s//\1/
1798             q
1799           }
1800           /^X\(\/\/\)$/{
1801             s//\1/
1802             q
1803           }
1804           /^X\(\/\).*/{
1805             s//\1/
1806             q
1807           }
1808           s/.*/./; q'`
1809   srcdir=$ac_confdir
1810   if test ! -r "$srcdir/$ac_unique_file"; then
1811     srcdir=..
1812   fi
1813 else
1814   ac_srcdir_defaulted=no
1815 fi
1816 if test ! -r "$srcdir/$ac_unique_file"; then
1817   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1818   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1819    { (exit 1); exit 1; }; }
1820 fi
1821 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1822 ac_abs_confdir=`(
1823         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1824    { (exit 1); exit 1; }; }
1825         pwd)`
1826 # When building in place, set srcdir=.
1827 if test "$ac_abs_confdir" = "$ac_pwd"; then
1828   srcdir=.
1829 fi
1830 # Remove unnecessary trailing slashes from srcdir.
1831 # Double slashes in file names in object file debugging info
1832 # mess up M-x gdb in Emacs.
1833 case $srcdir in
1834 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1835 esac
1836 for ac_var in $ac_precious_vars; do
1837   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1838   eval ac_env_${ac_var}_value=\$${ac_var}
1839   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1840   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1841 done
1842
1843 #
1844 # Report the --help message.
1845 #
1846 if test "$ac_init_help" = "long"; then
1847   # Omit some internal or obsolete options to make the list less imposing.
1848   # This message is too long to be a string in the A/UX 3.1 sh.
1849   cat <<_ACEOF
1850 \`configure' configures asterisk trunk to adapt to many kinds of systems.
1851
1852 Usage: $0 [OPTION]... [VAR=VALUE]...
1853
1854 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1855 VAR=VALUE.  See below for descriptions of some of the useful variables.
1856
1857 Defaults for the options are specified in brackets.
1858
1859 Configuration:
1860   -h, --help              display this help and exit
1861       --help=short        display options specific to this package
1862       --help=recursive    display the short help of all the included packages
1863   -V, --version           display version information and exit
1864   -q, --quiet, --silent   do not print \`checking...' messages
1865       --cache-file=FILE   cache test results in FILE [disabled]
1866   -C, --config-cache      alias for \`--cache-file=config.cache'
1867   -n, --no-create         do not create output files
1868       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1869
1870 Installation directories:
1871   --prefix=PREFIX         install architecture-independent files in PREFIX
1872                           [$ac_default_prefix]
1873   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1874                           [PREFIX]
1875
1876 By default, \`make install' will install all the files in
1877 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1878 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1879 for instance \`--prefix=\$HOME'.
1880
1881 For better control, use the options below.
1882
1883 Fine tuning of the installation directories:
1884   --bindir=DIR            user executables [EPREFIX/bin]
1885   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1886   --libexecdir=DIR        program executables [EPREFIX/libexec]
1887   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1888   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1889   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1890   --libdir=DIR            object code libraries [EPREFIX/lib]
1891   --includedir=DIR        C header files [PREFIX/include]
1892   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1893   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1894   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1895   --infodir=DIR           info documentation [DATAROOTDIR/info]
1896   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1897   --mandir=DIR            man documentation [DATAROOTDIR/man]
1898   --docdir=DIR            documentation root [DATAROOTDIR/doc/asterisk]
1899   --htmldir=DIR           html documentation [DOCDIR]
1900   --dvidir=DIR            dvi documentation [DOCDIR]
1901   --pdfdir=DIR            pdf documentation [DOCDIR]
1902   --psdir=DIR             ps documentation [DOCDIR]
1903 _ACEOF
1904
1905   cat <<\_ACEOF
1906
1907 System types:
1908   --build=BUILD     configure for building on BUILD [guessed]
1909   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1910 _ACEOF
1911 fi
1912
1913 if test -n "$ac_init_help"; then
1914   case $ac_init_help in
1915      short | recursive ) echo "Configuration of asterisk trunk:";;
1916    esac
1917   cat <<\_ACEOF
1918
1919 Optional Features:
1920   --disable-option-checking  ignore unrecognized --enable/--with options
1921   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1922   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1923   --enable-dev-mode       Turn on developer mode
1924   --enable-coverage       Turn on code coverage tracking (for gcov)
1925   --disable-xmldoc        Explicitly disable XML documentation
1926   --disable-largefile     omit support for large files
1927   --enable-internal-poll  Use Asterisk's poll implementation
1928   --disable-asteriskssl   Disable Asterisk's SSL wrapper library
1929
1930 Optional Packages:
1931   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1932   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1933   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1934   --with-asound=PATH      use Advanced Linux Sound Architecture files in PATH
1935   --with-bfd=PATH         use Debug symbol decoding files in PATH
1936   --with-execinfo=PATH    use Stack Backtrace files in PATH
1937   --with-bluetooth=PATH   use Bluetooth files in PATH
1938   --with-cap=PATH         use POSIX 1.e capabilities files in PATH
1939   --with-cpg=PATH         use Corosync files in PATH
1940   --with-curses=PATH      use curses files in PATH
1941   --with-crypto=PATH      use OpenSSL Cryptography files in PATH
1942   --with-dahdi=PATH       use DAHDI files in PATH
1943   --with-avcodec=PATH     use Ffmpeg and avcodec files in PATH
1944   --with-gsm=PATH         use External GSM files in PATH, use 'internal' GSM
1945                           otherwise
1946   --with-gtk2=PATH        use gtk2 files in PATH
1947   --with-gmime=PATH       use GMime files in PATH
1948   --with-h323=PATH        use OpenH323 files in PATH
1949   --with-hoard=PATH       use Hoard Memory Allocator files in PATH
1950   --with-ical=PATH        use iCal files in PATH
1951   --with-iconv=PATH       use Iconv files in PATH
1952   --with-iksemel=PATH     use Iksemel Jabber files in PATH
1953   --with-imap=PATH        use UW IMAP Toolkit files in PATH
1954   --with-inotify=PATH     use inotify support files in PATH
1955   --with-iodbc=PATH       use iODBC files in PATH
1956   --with-isdnnet=PATH     use ISDN4Linux files in PATH
1957   --with-jack=PATH        use Jack Audio Connection Kit files in PATH
1958   --with-kqueue=PATH      use kqueue support files in PATH
1959   --with-ldap=PATH        use OpenLDAP files in PATH
1960   --with-libcurl=DIR      look for the curl library in DIR
1961   --with-libxml2=PATH     use LibXML2 files in PATH
1962   --with-ltdl=PATH        use libtool files in PATH
1963   --with-lua=PATH         use Lua files in PATH
1964   --with-misdn=PATH       use mISDN user files in PATH
1965   --with-mysqlclient=PATH use MySQL client files in PATH
1966   --with-nbs=PATH         use Network Broadcast Sound files in PATH
1967   --with-ncurses=PATH     use ncurses files in PATH
1968   --with-neon=PATH        use neon files in PATH
1969   --with-neon29=PATH      use neon29 files in PATH
1970   --with-netsnmp=PATH     use Net-SNMP files in PATH
1971   --with-newt=PATH        use newt files in PATH
1972   --with-ogg=PATH         use OGG files in PATH
1973   --with-openr2=PATH      use MFR2 files in PATH
1974   --with-osptk=PATH       use OSP Toolkit files in PATH
1975   --with-oss=PATH         use Open Sound System files in PATH
1976   --with-postgres=PATH    use PostgreSQL files in PATH
1977   --with-popt=PATH        use popt files in PATH
1978   --with-portaudio=PATH   use PortAudio files in PATH
1979   --with-pri=PATH         use ISDN PRI files in PATH
1980   --with-pwlib=PATH       use PWlib files in PATH
1981   --with-radius=PATH      use Radius Client files in PATH
1982   --with-resample=PATH    use LIBRESAMPLE files in PATH
1983   --with-sdl=PATH         use Sdl files in PATH
1984   --with-SDL_image=PATH   use Sdl Image files in PATH
1985   --with-sounds-cache=PATH
1986                           use cached sound tarfiles in PATH
1987   --with-spandsp=PATH     use SPANDSP files in PATH
1988   --with-ss7=PATH         use ISDN SS7 files in PATH
1989   --with-speex=PATH       use Speex files in PATH
1990   --with-speex=PATH       use Speex preprocess routines files in PATH
1991   --with-speexdsp=PATH    use SpeexDSP files in PATH
1992   --with-sqlite=PATH      use SQLite files in PATH
1993   --with-sqlite3=PATH     use SQLite files in PATH
1994   --with-srtp=PATH        use Secure RTP files in PATH
1995   --with-ssl=PATH         use OpenSSL Secure Sockets Layer files in PATH
1996   --with-suppserv=PATH    use mISDN Supplemental Services files in PATH
1997   --with-tds=PATH         use FreeTDS files in PATH
1998   --with-termcap=PATH     use Termcap files in PATH
1999   --with-timerfd=PATH     use timerfd files in PATH
2000   --with-tinfo=PATH       use Term Info files in PATH
2001   --with-tonezone=PATH    use tonezone files in PATH
2002   --with-unixodbc=PATH    use unixODBC files in PATH
2003   --with-usb=PATH         use usb files in PATH
2004   --with-vorbis=PATH      use Vorbis files in PATH
2005   --with-vpb=PATH         use Voicetronix API files in PATH
2006   --with-x11=PATH         use X11 files in PATH
2007   --with-z=PATH           use zlib compression files in PATH
2008
2009 Some influential environment variables:
2010   CC          C compiler command
2011   CFLAGS      C compiler flags
2012   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2013               nonstandard directory <lib dir>
2014   LIBS        libraries to pass to the linker, e.g. -l<library>
2015   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2016               you have headers in a nonstandard directory <include dir>
2017   CPP         C preprocessor
2018   CXX         C++ compiler command
2019   CXXFLAGS    C++ compiler flags
2020   CXXCPP      C++ preprocessor
2021
2022 Use these variables to override the choices made by `configure' or to help
2023 it to find libraries and programs with nonstandard names/locations.
2024
2025 Report bugs to <https://issues.asterisk.org>.
2026 _ACEOF
2027 ac_status=$?
2028 fi
2029
2030 if test "$ac_init_help" = "recursive"; then
2031   # If there are subdirs, report their specific --help.
2032   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2033     test -d "$ac_dir" ||
2034       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2035       continue
2036     ac_builddir=.
2037
2038 case "$ac_dir" in
2039 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2040 *)
2041   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2042   # A ".." for each directory in $ac_dir_suffix.
2043   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2044   case $ac_top_builddir_sub in
2045   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2046   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2047   esac ;;
2048 esac
2049 ac_abs_top_builddir=$ac_pwd
2050 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2051 # for backward compatibility:
2052 ac_top_builddir=$ac_top_build_prefix
2053
2054 case $srcdir in
2055   .)  # We are building in place.
2056     ac_srcdir=.
2057     ac_top_srcdir=$ac_top_builddir_sub
2058     ac_abs_top_srcdir=$ac_pwd ;;
2059   [\\/]* | ?:[\\/]* )  # Absolute name.
2060     ac_srcdir=$srcdir$ac_dir_suffix;
2061     ac_top_srcdir=$srcdir
2062     ac_abs_top_srcdir=$srcdir ;;
2063   *) # Relative name.
2064     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2065     ac_top_srcdir=$ac_top_build_prefix$srcdir
2066     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2067 esac
2068 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2069
2070     cd "$ac_dir" || { ac_status=$?; continue; }
2071     # Check for guested configure.
2072     if test -f "$ac_srcdir/configure.gnu"; then
2073       echo &&
2074       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2075     elif test -f "$ac_srcdir/configure"; then
2076       echo &&
2077       $SHELL "$ac_srcdir/configure" --help=recursive
2078     else
2079       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2080     fi || ac_status=$?
2081     cd "$ac_pwd" || { ac_status=$?; break; }
2082   done
2083 fi
2084
2085 test -n "$ac_init_help" && exit $ac_status
2086 if $ac_init_version; then
2087   cat <<\_ACEOF
2088 asterisk configure trunk
2089 generated by GNU Autoconf 2.63
2090
2091 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2092 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2093 This configure script is free software; the Free Software Foundation
2094 gives unlimited permission to copy, distribute and modify it.
2095
2096 "Asterisk"
2097 _ACEOF
2098   exit
2099 fi
2100 cat >config.log <<_ACEOF
2101 This file contains any messages produced by compilers while
2102 running configure, to aid debugging if configure makes a mistake.
2103
2104 It was created by asterisk $as_me trunk, which was
2105 generated by GNU Autoconf 2.63.  Invocation command line was
2106
2107   $ $0 $@
2108
2109 _ACEOF
2110 exec 5>>config.log
2111 {
2112 cat <<_ASUNAME
2113 ## --------- ##
2114 ## Platform. ##
2115 ## --------- ##
2116
2117 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2118 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2119 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2120 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2121 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122
2123 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2124 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2125
2126 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2127 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2128 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2129 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2130 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2131 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2132 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2133
2134 _ASUNAME
2135
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2138 do
2139   IFS=$as_save_IFS
2140   test -z "$as_dir" && as_dir=.
2141   $as_echo "PATH: $as_dir"
2142 done
2143 IFS=$as_save_IFS
2144
2145 } >&5
2146
2147 cat >&5 <<_ACEOF
2148
2149
2150 ## ----------- ##
2151 ## Core tests. ##
2152 ## ----------- ##
2153
2154 _ACEOF
2155
2156
2157 # Keep a trace of the command line.
2158 # Strip out --no-create and --no-recursion so they do not pile up.
2159 # Strip out --silent because we don't want to record it for future runs.
2160 # Also quote any args containing shell meta-characters.
2161 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_configure_args=
2163 ac_configure_args0=
2164 ac_configure_args1=
2165 ac_must_keep_next=false
2166 for ac_pass in 1 2
2167 do
2168   for ac_arg
2169   do
2170     case $ac_arg in
2171     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2172     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2173     | -silent | --silent | --silen | --sile | --sil)
2174       continue ;;
2175     *\'*)
2176       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2177     esac
2178     case $ac_pass in
2179     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2180     2)
2181       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2182       if test $ac_must_keep_next = true; then
2183         ac_must_keep_next=false # Got value, back to normal.
2184       else
2185         case $ac_arg in
2186           *=* | --config-cache | -C | -disable-* | --disable-* \
2187           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2188           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2189           | -with-* | --with-* | -without-* | --without-* | --x)
2190             case "$ac_configure_args0 " in
2191               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2192             esac
2193             ;;
2194           -* ) ac_must_keep_next=true ;;
2195         esac
2196       fi
2197       ac_configure_args="$ac_configure_args '$ac_arg'"
2198       ;;
2199     esac
2200   done
2201 done
2202 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2203 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2204
2205 # When interrupted or exit'd, cleanup temporary files, and complete
2206 # config.log.  We remove comments because anyway the quotes in there
2207 # would cause problems or look ugly.
2208 # WARNING: Use '\'' to represent an apostrophe within the trap.
2209 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2210 trap 'exit_status=$?
2211   # Save into config.log some information that might help in debugging.
2212   {
2213     echo
2214
2215     cat <<\_ASBOX
2216 ## ---------------- ##
2217 ## Cache variables. ##
2218 ## ---------------- ##
2219 _ASBOX
2220     echo
2221     # The following way of writing the cache mishandles newlines in values,
2222 (
2223   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2224     eval ac_val=\$$ac_var
2225     case $ac_val in #(
2226     *${as_nl}*)
2227       case $ac_var in #(
2228       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2230       esac
2231       case $ac_var in #(
2232       _ | IFS | as_nl) ;; #(
2233       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2234       *) $as_unset $ac_var ;;
2235       esac ;;
2236     esac
2237   done
2238   (set) 2>&1 |
2239     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240     *${as_nl}ac_space=\ *)
2241       sed -n \
2242         "s/'\''/'\''\\\\'\'''\''/g;
2243           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244       ;; #(
2245     *)
2246       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247       ;;
2248     esac |
2249     sort
2250 )
2251     echo
2252
2253     cat <<\_ASBOX
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2257 _ASBOX
2258     echo
2259     for ac_var in $ac_subst_vars
2260     do
2261       eval ac_val=\$$ac_var
2262       case $ac_val in
2263       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264       esac
2265       $as_echo "$ac_var='\''$ac_val'\''"
2266     done | sort
2267     echo
2268
2269     if test -n "$ac_subst_files"; then
2270       cat <<\_ASBOX
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2274 _ASBOX
2275       echo
2276       for ac_var in $ac_subst_files
2277       do
2278         eval ac_val=\$$ac_var
2279         case $ac_val in
2280         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281         esac
2282         $as_echo "$ac_var='\''$ac_val'\''"
2283       done | sort
2284       echo
2285     fi
2286
2287     if test -s confdefs.h; then
2288       cat <<\_ASBOX
2289 ## ----------- ##
2290 ## confdefs.h. ##
2291 ## ----------- ##
2292 _ASBOX
2293       echo
2294       cat confdefs.h
2295       echo
2296     fi
2297     test "$ac_signal" != 0 &&
2298       $as_echo "$as_me: caught signal $ac_signal"
2299     $as_echo "$as_me: exit $exit_status"
2300   } >&5
2301   rm -f core *.core core.conftest.* &&
2302     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303     exit $exit_status
2304 ' 0
2305 for ac_signal in 1 2 13 15; do
2306   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2307 done
2308 ac_signal=0
2309
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2312
2313 # Predefined preprocessor variables.
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 _ACEOF
2318
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 _ACEOF
2323
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 _ACEOF
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 _ACEOF
2338
2339
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer an explicitly selected file to automatically selected ones.
2342 ac_site_file1=NONE
2343 ac_site_file2=NONE
2344 if test -n "$CONFIG_SITE"; then
2345   ac_site_file1=$CONFIG_SITE
2346 elif test "x$prefix" != xNONE; then
2347   ac_site_file1=$prefix/share/config.site
2348   ac_site_file2=$prefix/etc/config.site
2349 else
2350   ac_site_file1=$ac_default_prefix/share/config.site
2351   ac_site_file2=$ac_default_prefix/etc/config.site
2352 fi
2353 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2354 do
2355   test "x$ac_site_file" = xNONE && continue
2356   if test -r "$ac_site_file"; then
2357     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2358 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2359     sed 's/^/| /' "$ac_site_file" >&5
2360     . "$ac_site_file"
2361   fi
2362 done
2363
2364 if test -r "$cache_file"; then
2365   # Some versions of bash will fail to source /dev/null (special
2366   # files actually), so we avoid doing that.
2367   if test -f "$cache_file"; then
2368     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2370     case $cache_file in
2371       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372       *)                      . "./$cache_file";;
2373     esac
2374   fi
2375 else
2376   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2378   >$cache_file
2379 fi
2380
2381 ac_header_list="$ac_header_list utime.h"
2382 # Check that the precious variables saved in the cache have kept the same
2383 # value.
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387   eval ac_new_set=\$ac_env_${ac_var}_set
2388   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389   eval ac_new_val=\$ac_env_${ac_var}_value
2390   case $ac_old_set,$ac_new_set in
2391     set,)
2392       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394       ac_cache_corrupted=: ;;
2395     ,set)
2396       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398       ac_cache_corrupted=: ;;
2399     ,);;
2400     *)
2401       if test "x$ac_old_val" != "x$ac_new_val"; then
2402         # differences in whitespace do not lead to failure.
2403         ac_old_val_w=`echo x $ac_old_val`
2404         ac_new_val_w=`echo x $ac_new_val`
2405         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408           ac_cache_corrupted=:
2409         else
2410           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412           eval $ac_var=\$ac_old_val
2413         fi
2414         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2415 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2416         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2418       fi;;
2419   esac
2420   # Pass precious variables to config.status.
2421   if test "$ac_new_set" = set; then
2422     case $ac_new_val in
2423     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424     *) ac_arg=$ac_var=$ac_new_val ;;
2425     esac
2426     case " $ac_configure_args " in
2427       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2428       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2429     esac
2430   fi
2431 done
2432 if $ac_cache_corrupted; then
2433   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2438 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2439    { (exit 1); exit 1; }; }
2440 fi
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466 ac_ext=c
2467 ac_cpp='$CPP $CPPFLAGS'
2468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2471
2472
2473
2474 # cross-compile macros
2475 ac_aux_dir=
2476 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2477   if test -f "$ac_dir/install-sh"; then
2478     ac_aux_dir=$ac_dir
2479     ac_install_sh="$ac_aux_dir/install-sh -c"
2480     break
2481   elif test -f "$ac_dir/install.sh"; then
2482     ac_aux_dir=$ac_dir
2483     ac_install_sh="$ac_aux_dir/install.sh -c"
2484     break
2485   elif test -f "$ac_dir/shtool"; then
2486     ac_aux_dir=$ac_dir
2487     ac_install_sh="$ac_aux_dir/shtool install -c"
2488     break
2489   fi
2490 done
2491 if test -z "$ac_aux_dir"; then
2492   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2493 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2494    { (exit 1); exit 1; }; }
2495 fi
2496
2497 # These three variables are undocumented and unsupported,
2498 # and are intended to be withdrawn in a future Autoconf release.
2499 # They can cause serious problems if a builder's source tree is in a directory
2500 # whose full name contains unusual characters.
2501 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2502 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2503 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2504
2505
2506 # Make sure we can run config.sub.
2507 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2508   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2509 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2510    { (exit 1); exit 1; }; }
2511
2512 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2513 $as_echo_n "checking build system type... " >&6; }
2514 if test "${ac_cv_build+set}" = set; then
2515   $as_echo_n "(cached) " >&6
2516 else
2517   ac_build_alias=$build_alias
2518 test "x$ac_build_alias" = x &&
2519   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2520 test "x$ac_build_alias" = x &&
2521   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2522 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2523    { (exit 1); exit 1; }; }
2524 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2525   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2526 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2527    { (exit 1); exit 1; }; }
2528
2529 fi
2530 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2531 $as_echo "$ac_cv_build" >&6; }
2532 case $ac_cv_build in
2533 *-*-*) ;;
2534 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2535 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2536    { (exit 1); exit 1; }; };;
2537 esac
2538 build=$ac_cv_build
2539 ac_save_IFS=$IFS; IFS='-'
2540 set x $ac_cv_build
2541 shift
2542 build_cpu=$1
2543 build_vendor=$2
2544 shift; shift
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2547 build_os=$*
2548 IFS=$ac_save_IFS
2549 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2550
2551
2552 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2553 $as_echo_n "checking host system type... " >&6; }
2554 if test "${ac_cv_host+set}" = set; then
2555   $as_echo_n "(cached) " >&6
2556 else
2557   if test "x$host_alias" = x; then
2558   ac_cv_host=$ac_cv_build
2559 else
2560   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2561     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2562 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2563    { (exit 1); exit 1; }; }
2564 fi
2565
2566 fi
2567 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2568 $as_echo "$ac_cv_host" >&6; }
2569 case $ac_cv_host in
2570 *-*-*) ;;
2571 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2572 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2573    { (exit 1); exit 1; }; };;
2574 esac
2575 host=$ac_cv_host
2576 ac_save_IFS=$IFS; IFS='-'
2577 set x $ac_cv_host
2578 shift
2579 host_cpu=$1
2580 host_vendor=$2
2581 shift; shift
2582 # Remember, the first character of IFS is used to create $*,
2583 # except with old shells:
2584 host_os=$*
2585 IFS=$ac_save_IFS
2586 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2587
2588
2589
2590 # check existence of the package
2591
2592
2593 ac_aux_dir=
2594 for ac_dir in `pwd` "$srcdir"/`pwd`; do
2595   if test -f "$ac_dir/install-sh"; then
2596     ac_aux_dir=$ac_dir
2597     ac_install_sh="$ac_aux_dir/install-sh -c"
2598     break
2599   elif test -f "$ac_dir/install.sh"; then
2600     ac_aux_dir=$ac_dir
2601     ac_install_sh="$ac_aux_dir/install.sh -c"
2602     break
2603   elif test -f "$ac_dir/shtool"; then
2604     ac_aux_dir=$ac_dir
2605     ac_install_sh="$ac_aux_dir/shtool install -c"
2606     break
2607   fi
2608 done
2609 if test -z "$ac_aux_dir"; then
2610   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&5
2611 $as_echo "$as_me: error: cannot find install-sh or install.sh in \`pwd\` \"$srcdir\"/\`pwd\`" >&2;}
2612    { (exit 1); exit 1; }; }
2613 fi
2614
2615 # These three variables are undocumented and unsupported,
2616 # and are intended to be withdrawn in a future Autoconf release.
2617 # They can cause serious problems if a builder's source tree is in a directory
2618 # whose full name contains unusual characters.
2619 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2620 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2621 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2622
2623
2624
2625
2626
2627
2628 # preserve any CFLAGS or LDFLAGS that may be set
2629 # NOTE: This must be done before calling any macros that end up
2630 # calling AC_PROG_CC or the like, since they will set a default
2631 # set of CFLAGS ("-g -O2") if the user did not supply any, and
2632 # we don't want those default flags to be carried over into the
2633 # rest of the build system since we have other means of controlling
2634 # debugging symbol generation and optimization.
2635 CONFIG_CFLAGS="${CFLAGS}"
2636 CONFIG_LDFLAGS="${LDFLAGS}"
2637
2638
2639
2640 # specify output header file
2641 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2642
2643
2644 # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
2645 # other macro that uses the C compiler, or the default order will be used.
2646 ac_ext=c
2647 ac_cpp='$CPP $CPPFLAGS'
2648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2651 if test -n "$ac_tool_prefix"; then
2652   for ac_prog in gcc cc
2653   do
2654     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659   $as_echo_n "(cached) " >&6
2660 else
2661   if test -n "$CC"; then
2662   ac_cv_prog_CC="$CC" # Let the user override the test.
2663 else
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 for as_dir in $PATH
2666 do
2667   IFS=$as_save_IFS
2668   test -z "$as_dir" && as_dir=.
2669   for ac_exec_ext in '' $ac_executable_extensions; do
2670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2672     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673     break 2
2674   fi
2675 done
2676 done
2677 IFS=$as_save_IFS
2678
2679 fi
2680 fi
2681 CC=$ac_cv_prog_CC
2682 if test -n "$CC"; then
2683   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2684 $as_echo "$CC" >&6; }
2685 else
2686   { $as_echo "$as_me:$LINENO: result: no" >&5
2687 $as_echo "no" >&6; }
2688 fi
2689
2690
2691     test -n "$CC" && break
2692   done
2693 fi
2694 if test -z "$CC"; then
2695   ac_ct_CC=$CC
2696   for ac_prog in gcc cc
2697 do
2698   # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy $ac_prog; ac_word=$2
2700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2703   $as_echo_n "(cached) " >&6
2704 else
2705   if test -n "$ac_ct_CC"; then
2706   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2707 else
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH
2710 do
2711   IFS=$as_save_IFS
2712   test -z "$as_dir" && as_dir=.
2713   for ac_exec_ext in '' $ac_executable_extensions; do
2714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715     ac_cv_prog_ac_ct_CC="$ac_prog"
2716     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717     break 2
2718   fi
2719 done
2720 done
2721 IFS=$as_save_IFS
2722
2723 fi
2724 fi
2725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2726 if test -n "$ac_ct_CC"; then
2727   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2728 $as_echo "$ac_ct_CC" >&6; }
2729 else
2730   { $as_echo "$as_me:$LINENO: result: no" >&5
2731 $as_echo "no" >&6; }
2732 fi
2733
2734
2735   test -n "$ac_ct_CC" && break
2736 done
2737
2738   if test "x$ac_ct_CC" = x; then
2739     CC=""
2740   else
2741     case $cross_compiling:$ac_tool_warned in
2742 yes:)
2743 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2745 ac_tool_warned=yes ;;
2746 esac
2747     CC=$ac_ct_CC
2748   fi
2749 fi
2750
2751
2752 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2755 See \`config.log' for more details." >&5
2756 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2757 See \`config.log' for more details." >&2;}
2758    { (exit 1); exit 1; }; }; }
2759
2760 # Provide some information about the compiler.
2761 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2762 set X $ac_compile
2763 ac_compiler=$2
2764 { (ac_try="$ac_compiler --version >&5"
2765 case "(($ac_try" in
2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767   *) ac_try_echo=$ac_try;;
2768 esac
2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2770 $as_echo "$ac_try_echo") >&5
2771   (eval "$ac_compiler --version >&5") 2>&5
2772   ac_status=$?
2773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774   (exit $ac_status); }
2775 { (ac_try="$ac_compiler -v >&5"
2776 case "(($ac_try" in
2777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778   *) ac_try_echo=$ac_try;;
2779 esac
2780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781 $as_echo "$ac_try_echo") >&5
2782   (eval "$ac_compiler -v >&5") 2>&5
2783   ac_status=$?
2784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785   (exit $ac_status); }
2786 { (ac_try="$ac_compiler -V >&5"
2787 case "(($ac_try" in
2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789   *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2792 $as_echo "$ac_try_echo") >&5
2793   (eval "$ac_compiler -V >&5") 2>&5
2794   ac_status=$?
2795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796   (exit $ac_status); }
2797
2798 cat >conftest.$ac_ext <<_ACEOF
2799 /* confdefs.h.  */
2800 _ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h.  */
2804
2805 int
2806 main ()
2807 {
2808
2809   ;
2810   return 0;
2811 }
2812 _ACEOF
2813 ac_clean_files_save=$ac_clean_files
2814 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2815 # Try to create an executable without -o first, disregard a.out.
2816 # It will help us diagnose broken compilers, and finding out an intuition
2817 # of exeext.
2818 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2819 $as_echo_n "checking for C compiler default output file name... " >&6; }
2820 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2821
2822 # The possible output files:
2823 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2824
2825 ac_rmfiles=
2826 for ac_file in $ac_files
2827 do
2828   case $ac_file in
2829     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2830     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2831   esac
2832 done
2833 rm -f $ac_rmfiles
2834
2835 if { (ac_try="$ac_link_default"
2836 case "(($ac_try" in
2837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838   *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841 $as_echo "$ac_try_echo") >&5
2842   (eval "$ac_link_default") 2>&5
2843   ac_status=$?
2844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845   (exit $ac_status); }; then
2846   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2847 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2848 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2849 # so that the user can short-circuit this test for compilers unknown to
2850 # Autoconf.
2851 for ac_file in $ac_files ''
2852 do
2853   test -f "$ac_file" || continue
2854   case $ac_file in
2855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2856         ;;
2857     [ab].out )
2858         # We found the default executable, but exeext='' is most
2859         # certainly right.
2860         break;;
2861     *.* )
2862         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2863         then :; else
2864            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865         fi
2866         # We set ac_cv_exeext here because the later test for it is not
2867         # safe: cross compilers may not add the suffix if given an `-o'
2868         # argument, so we may need to know it at that point already.
2869         # Even if this section looks crufty: it has the advantage of
2870         # actually working.
2871         break;;
2872     * )
2873         break;;
2874   esac
2875 done
2876 test "$ac_cv_exeext" = no && ac_cv_exeext=
2877
2878 else
2879   ac_file=''
2880 fi
2881
2882 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2883 $as_echo "$ac_file" >&6; }
2884 if test -z "$ac_file"; then
2885   $as_echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2887
2888 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2891 See \`config.log' for more details." >&5
2892 $as_echo "$as_me: error: C compiler cannot create executables
2893 See \`config.log' for more details." >&2;}
2894    { (exit 77); exit 77; }; }; }
2895 fi
2896
2897 ac_exeext=$ac_cv_exeext
2898
2899 # Check that the compiler produces executables we can run.  If not, either
2900 # the compiler is broken, or we cross compile.
2901 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2902 $as_echo_n "checking whether the C compiler works... " >&6; }
2903 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2904 # If not cross compiling, check that we can run a simple program.
2905 if test "$cross_compiling" != yes; then
2906   if { ac_try='./$ac_file'
2907   { (case "(($ac_try" in
2908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909   *) ac_try_echo=$ac_try;;
2910 esac
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913   (eval "$ac_try") 2>&5
2914   ac_status=$?
2915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916   (exit $ac_status); }; }; then
2917     cross_compiling=no
2918   else
2919     if test "$cross_compiling" = maybe; then
2920         cross_compiling=yes
2921     else
2922         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2925 If you meant to cross compile, use \`--host'.
2926 See \`config.log' for more details." >&5
2927 $as_echo "$as_me: error: cannot run C compiled programs.
2928 If you meant to cross compile, use \`--host'.
2929 See \`config.log' for more details." >&2;}
2930    { (exit 1); exit 1; }; }; }
2931     fi
2932   fi
2933 fi
2934 { $as_echo "$as_me:$LINENO: result: yes" >&5
2935 $as_echo "yes" >&6; }
2936
2937 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2938 ac_clean_files=$ac_clean_files_save
2939 # Check that the compiler produces executables we can run.  If not, either
2940 # the compiler is broken, or we cross compile.
2941 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2942 $as_echo_n "checking whether we are cross compiling... " >&6; }
2943 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2944 $as_echo "$cross_compiling" >&6; }
2945
2946 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2947 $as_echo_n "checking for suffix of executables... " >&6; }
2948 if { (ac_try="$ac_link"
2949 case "(($ac_try" in
2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951   *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2954 $as_echo "$ac_try_echo") >&5
2955   (eval "$ac_link") 2>&5
2956   ac_status=$?
2957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958   (exit $ac_status); }; then
2959   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
2962 # `rm'.
2963 for ac_file in conftest.exe conftest conftest.*; do
2964   test -f "$ac_file" || continue
2965   case $ac_file in
2966     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968           break;;
2969     * ) break;;
2970   esac
2971 done
2972 else
2973   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&5
2977 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978 See \`config.log' for more details." >&2;}
2979    { (exit 1); exit 1; }; }; }
2980 fi
2981
2982 rm -f conftest$ac_cv_exeext
2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2984 $as_echo "$ac_cv_exeext" >&6; }
2985
2986 rm -f conftest.$ac_ext
2987 EXEEXT=$ac_cv_exeext
2988 ac_exeext=$EXEEXT
2989 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2990 $as_echo_n "checking for suffix of object files... " >&6; }
2991 if test "${ac_cv_objext+set}" = set; then
2992   $as_echo_n "(cached) " >&6
2993 else
2994   cat >conftest.$ac_ext <<_ACEOF
2995 /* confdefs.h.  */
2996 _ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h.  */
3000
3001 int
3002 main ()
3003 {
3004
3005   ;
3006   return 0;
3007 }
3008 _ACEOF
3009 rm -f conftest.o conftest.obj
3010 if { (ac_try="$ac_compile"
3011 case "(($ac_try" in
3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013   *) ac_try_echo=$ac_try;;
3014 esac
3015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3016 $as_echo "$ac_try_echo") >&5
3017   (eval "$ac_compile") 2>&5
3018   ac_status=$?
3019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020   (exit $ac_status); }; then
3021   for ac_file in conftest.o conftest.obj conftest.*; do
3022   test -f "$ac_file" || continue;
3023   case $ac_file in
3024     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3025     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3026        break;;
3027   esac
3028 done
3029 else
3030   $as_echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3032
3033 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3036 See \`config.log' for more details." >&5
3037 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3038 See \`config.log' for more details." >&2;}
3039    { (exit 1); exit 1; }; }; }
3040 fi
3041
3042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3043 fi
3044 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3045 $as_echo "$ac_cv_objext" >&6; }
3046 OBJEXT=$ac_cv_objext
3047 ac_objext=$OBJEXT
3048 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3050 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3051   $as_echo_n "(cached) " >&6
3052 else
3053   cat >conftest.$ac_ext <<_ACEOF
3054 /* confdefs.h.  */
3055 _ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h.  */
3059
3060 int
3061 main ()
3062 {
3063 #ifndef __GNUC__
3064        choke me
3065 #endif
3066
3067   ;
3068   return 0;
3069 }
3070 _ACEOF
3071 rm -f conftest.$ac_objext
3072 if { (ac_try="$ac_compile"
3073 case "(($ac_try" in
3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075   *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079   (eval "$ac_compile") 2>conftest.er1
3080   ac_status=$?
3081   grep -v '^ *+' conftest.er1 >conftest.err
3082   rm -f conftest.er1
3083   cat conftest.err >&5
3084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085   (exit $ac_status); } && {
3086          test -z "$ac_c_werror_flag" ||
3087          test ! -s conftest.err
3088        } && test -s conftest.$ac_objext; then
3089   ac_compiler_gnu=yes
3090 else
3091   $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3093
3094         ac_compiler_gnu=no
3095 fi
3096
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3099
3100 fi
3101 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3102 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3103 if test $ac_compiler_gnu = yes; then
3104   GCC=yes
3105 else
3106   GCC=
3107 fi
3108 ac_test_CFLAGS=${CFLAGS+set}
3109 ac_save_CFLAGS=$CFLAGS
3110 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3111 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3112 if test "${ac_cv_prog_cc_g+set}" = set; then
3113   $as_echo_n "(cached) " >&6
3114 else
3115   ac_save_c_werror_flag=$ac_c_werror_flag
3116    ac_c_werror_flag=yes
3117    ac_cv_prog_cc_g=no
3118    CFLAGS="-g"
3119    cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h.  */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h.  */
3125
3126 int
3127 main ()
3128 {
3129
3130   ;
3131   return 0;
3132 }
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3136 case "(($ac_try" in
3137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138   *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142   (eval "$ac_compile") 2>conftest.er1
3143   ac_status=$?
3144   grep -v '^ *+' conftest.er1 >conftest.err
3145   rm -f conftest.er1
3146   cat conftest.err >&5
3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148   (exit $ac_status); } && {
3149          test -z "$ac_c_werror_flag" ||
3150          test ! -s conftest.err
3151        } && test -s conftest.$ac_objext; then
3152   ac_cv_prog_cc_g=yes
3153 else
3154   $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3156
3157         CFLAGS=""
3158       cat >conftest.$ac_ext <<_ACEOF
3159 /* confdefs.h.  */
3160 _ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h.  */
3164
3165 int
3166 main ()
3167 {
3168
3169   ;
3170   return 0;
3171 }
3172 _ACEOF
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3175 case "(($ac_try" in
3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177   *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181   (eval "$ac_compile") 2>conftest.er1
3182   ac_status=$?
3183   grep -v '^ *+' conftest.er1 >conftest.err
3184   rm -f conftest.er1
3185   cat conftest.err >&5
3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187   (exit $ac_status); } && {
3188          test -z "$ac_c_werror_flag" ||
3189          test ! -s conftest.err
3190        } && test -s conftest.$ac_objext; then
3191   :
3192 else
3193   $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3195
3196         ac_c_werror_flag=$ac_save_c_werror_flag
3197          CFLAGS="-g"
3198          cat >conftest.$ac_ext <<_ACEOF
3199 /* confdefs.h.  */
3200 _ACEOF
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h.  */
3204
3205 int
3206 main ()
3207 {
3208
3209   ;
3210   return 0;
3211 }
3212 _ACEOF
3213 rm -f conftest.$ac_objext
3214 if { (ac_try="$ac_compile"
3215 case "(($ac_try" in
3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217   *) ac_try_echo=$ac_try;;
3218 esac
3219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220 $as_echo "$ac_try_echo") >&5
3221   (eval "$ac_compile") 2>conftest.er1
3222   ac_status=$?
3223   grep -v '^ *+' conftest.er1 >conftest.err
3224   rm -f conftest.er1
3225   cat conftest.err >&5
3226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227   (exit $ac_status); } && {
3228          test -z "$ac_c_werror_flag" ||
3229          test ! -s conftest.err
3230        } && test -s conftest.$ac_objext; then
3231   ac_cv_prog_cc_g=yes
3232 else
3233   $as_echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3235
3236
3237 fi
3238
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 fi
3241
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 fi
3244
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246    ac_c_werror_flag=$ac_save_c_werror_flag
3247 fi
3248 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3249 $as_echo "$ac_cv_prog_cc_g" >&6; }
3250 if test "$ac_test_CFLAGS" = set; then
3251   CFLAGS=$ac_save_CFLAGS
3252 elif test $ac_cv_prog_cc_g = yes; then
3253   if test "$GCC" = yes; then
3254     CFLAGS="-g -O2"
3255   else
3256     CFLAGS="-g"
3257   fi
3258 else
3259   if test "$GCC" = yes; then
3260     CFLAGS="-O2"
3261   else
3262     CFLAGS=
3263   fi
3264 fi
3265 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3267 if test "${ac_cv_prog_cc_c89+set}" = set; then
3268   $as_echo_n "(cached) " >&6
3269 else
3270   ac_cv_prog_cc_c89=no
3271 ac_save_CC=$CC
3272 cat >conftest.$ac_ext <<_ACEOF
3273 /* confdefs.h.  */
3274 _ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h.  */
3278 #include <stdarg.h>
3279 #include <stdio.h>
3280 #include <sys/types.h>
3281 #include <sys/stat.h>
3282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3283 struct buf { int x; };
3284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3285 static char *e (p, i)
3286      char **p;
3287      int i;
3288 {
3289   return p[i];
3290 }
3291 static char *f (char * (*g) (char **, int), char **p, ...)
3292 {
3293   char *s;
3294   va_list v;
3295   va_start (v,p);
3296   s = g (p, va_arg (v,int));
3297   va_end (v);
3298   return s;
3299 }
3300
3301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3302    function prototypes and stuff, but not '\xHH' hex character constants.
3303    These don't provoke an error unfortunately, instead are silently treated
3304    as 'x'.  The following induces an error, until -std is added to get
3305    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3306    array size at least.  It's necessary to write '\x00'==0 to get something
3307    that's true only with -std.  */
3308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3309
3310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3311    inside strings and character constants.  */
3312 #define FOO(x) 'x'
3313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3314
3315 int test (int i, double x);
3316 struct s1 {int (*f) (int a);};
3317 struct s2 {int (*f) (double a);};
3318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3319 int argc;
3320 char **argv;
3321 int
3322 main ()
3323 {
3324 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3325   ;
3326   return 0;
3327 }
3328 _ACEOF
3329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3330         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3331 do
3332   CC="$ac_save_CC $ac_arg"
3333   rm -f conftest.$ac_objext
3334 if { (ac_try="$ac_compile"
3335 case "(($ac_try" in
3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337   *) ac_try_echo=$ac_try;;
3338 esac
3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3340 $as_echo "$ac_try_echo") >&5
3341   (eval "$ac_compile") 2>conftest.er1
3342   ac_status=$?
3343   grep -v '^ *+' conftest.er1 >conftest.err
3344   rm -f conftest.er1
3345   cat conftest.err >&5
3346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347   (exit $ac_status); } && {
3348          test -z "$ac_c_werror_flag" ||
3349          test ! -s conftest.err
3350        } && test -s conftest.$ac_objext; then
3351   ac_cv_prog_cc_c89=$ac_arg
3352 else
3353   $as_echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3355
3356
3357 fi
3358
3359 rm -f core conftest.err conftest.$ac_objext
3360   test "x$ac_cv_prog_cc_c89" != "xno" && break
3361 done
3362 rm -f conftest.$ac_ext
3363 CC=$ac_save_CC
3364
3365 fi
3366 # AC_CACHE_VAL
3367 case "x$ac_cv_prog_cc_c89" in
3368   x)
3369     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3370 $as_echo "none needed" >&6; } ;;
3371   xno)
3372     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3373 $as_echo "unsupported" >&6; } ;;
3374   *)
3375     CC="$CC $ac_cv_prog_cc_c89"
3376     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3377 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3378 esac
3379
3380
3381 ac_ext=c
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386
3387
3388
3389 ac_ext=c
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3394 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3395 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3396 # On Suns, sometimes $CPP names a directory.
3397 if test -n "$CPP" && test -d "$CPP"; then
3398   CPP=
3399 fi
3400 if test -z "$CPP"; then
3401   if test "${ac_cv_prog_CPP+set}" = set; then
3402   $as_echo_n "(cached) " >&6
3403 else
3404       # Double quotes because CPP needs to be expanded
3405     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3406     do
3407       ac_preproc_ok=false
3408 for ac_c_preproc_warn_flag in '' yes
3409 do
3410   # Use a header file that comes with gcc, so configuring glibc
3411   # with a fresh cross-compiler works.
3412   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3413   # <limits.h> exists even on freestanding compilers.
3414   # On the NeXT, cc -E runs the code through the compiler's parser,
3415   # not just through cpp. "Syntax error" is here to catch this case.
3416   cat >conftest.$ac_ext <<_ACEOF
3417 /* confdefs.h.  */
3418 _ACEOF
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h.  */
3422 #ifdef __STDC__
3423 # include <limits.h>
3424 #else
3425 # include <assert.h>
3426 #endif
3427                      Syntax error
3428 _ACEOF
3429 if { (ac_try="$ac_cpp conftest.$ac_ext"
3430 case "(($ac_try" in
3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432   *) ac_try_echo=$ac_try;;
3433 esac
3434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3435 $as_echo "$ac_try_echo") >&5
3436   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3437   ac_status=$?
3438   grep -v '^ *+' conftest.er1 >conftest.err
3439   rm -f conftest.er1
3440   cat conftest.err >&5
3441   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442   (exit $ac_status); } >/dev/null && {
3443          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3444          test ! -s conftest.err
3445        }; then
3446   :
3447 else
3448   $as_echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3450
3451   # Broken: fails on valid input.
3452 continue
3453 fi
3454
3455 rm -f conftest.err conftest.$ac_ext
3456
3457   # OK, works on sane cases.  Now check whether nonexistent headers
3458   # can be detected and how.
3459   cat >conftest.$ac_ext <<_ACEOF
3460 /* confdefs.h.  */
3461 _ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h.  */
3465 #include <ac_nonexistent.h>
3466 _ACEOF
3467 if { (ac_try="$ac_cpp conftest.$ac_ext"
3468 case "(($ac_try" in
3469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470   *) ac_try_echo=$ac_try;;
3471 esac
3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3473 $as_echo "$ac_try_echo") >&5
3474   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3475   ac_status=$?
3476   grep -v '^ *+' conftest.er1 >conftest.err
3477   rm -f conftest.er1
3478   cat conftest.err >&5
3479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480   (exit $ac_status); } >/dev/null && {
3481          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3482          test ! -s conftest.err
3483        }; then
3484   # Broken: success on invalid input.
3485 continue
3486 else
3487   $as_echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3489
3490   # Passes both tests.
3491 ac_preproc_ok=:
3492 break
3493 fi
3494
3495 rm -f conftest.err conftest.$ac_ext
3496
3497 done
3498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3499 rm -f conftest.err conftest.$ac_ext
3500 if $ac_preproc_ok; then
3501   break
3502 fi
3503
3504     done
3505     ac_cv_prog_CPP=$CPP
3506
3507 fi
3508   CPP=$ac_cv_prog_CPP
3509 else
3510   ac_cv_prog_CPP=$CPP
3511 fi
3512 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3513 $as_echo "$CPP" >&6; }
3514 ac_preproc_ok=false
3515 for ac_c_preproc_warn_flag in '' yes
3516 do
3517   # Use a header file that comes with gcc, so configuring glibc
3518   # with a fresh cross-compiler works.
3519   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3520   # <limits.h> exists even on freestanding compilers.
3521   # On the NeXT, cc -E runs the code through the compiler's parser,
3522   # not just through cpp. "Syntax error" is here to catch this case.
3523   cat >conftest.$ac_ext <<_ACEOF
3524 /* confdefs.h.  */
3525 _ACEOF
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h.  */
3529 #ifdef __STDC__
3530 # include <limits.h>
3531 #else
3532 # include <assert.h>
3533 #endif
3534                      Syntax error
3535 _ACEOF
3536 if { (ac_try="$ac_cpp conftest.$ac_ext"
3537 case "(($ac_try" in
3538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539   *) ac_try_echo=$ac_try;;
3540 esac
3541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3542 $as_echo "$ac_try_echo") >&5
3543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3544   ac_status=$?
3545   grep -v '^ *+' conftest.er1 >conftest.err
3546   rm -f conftest.er1
3547   cat conftest.err >&5
3548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549   (exit $ac_status); } >/dev/null && {
3550          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3551          test ! -s conftest.err
3552        }; then
3553   :
3554 else
3555   $as_echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3557
3558   # Broken: fails on valid input.
3559 continue
3560 fi
3561
3562 rm -f conftest.err conftest.$ac_ext
3563
3564   # OK, works on sane cases.  Now check whether nonexistent headers
3565   # can be detected and how.
3566   cat >conftest.$ac_ext <<_ACEOF
3567 /* confdefs.h.  */
3568 _ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h.  */
3572 #include <ac_nonexistent.h>
3573 _ACEOF
3574 if { (ac_try="$ac_cpp conftest.$ac_ext"
3575 case "(($ac_try" in
3576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577   *) ac_try_echo=$ac_try;;
3578 esac
3579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3580 $as_echo "$ac_try_echo") >&5
3581   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3582   ac_status=$?
3583   grep -v '^ *+' conftest.er1 >conftest.err
3584   rm -f conftest.er1
3585   cat conftest.err >&5
3586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587   (exit $ac_status); } >/dev/null && {
3588          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3589          test ! -s conftest.err
3590        }; then
3591   # Broken: success on invalid input.
3592 continue
3593 else
3594   $as_echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3596
3597   # Passes both tests.
3598 ac_preproc_ok=:
3599 break
3600 fi
3601
3602 rm -f conftest.err conftest.$ac_ext
3603
3604 done
3605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3606 rm -f conftest.err conftest.$ac_ext
3607 if $ac_preproc_ok; then
3608   :
3609 else
3610   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3613 See \`config.log' for more details." >&5
3614 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3615 See \`config.log' for more details." >&2;}
3616    { (exit 1); exit 1; }; }; }
3617 fi
3618
3619 ac_ext=c
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3624
3625
3626 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3627 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3628 if test "${ac_cv_path_GREP+set}" = set; then
3629   $as_echo_n "(cached) " >&6
3630 else
3631   if test -z "$GREP"; then
3632   ac_path_GREP_found=false
3633   # Loop through the user's path and test for each of PROGNAME-LIST
3634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3636 do
3637   IFS=$as_save_IFS
3638   test -z "$as_dir" && as_dir=.
3639   for ac_prog in grep ggrep; do
3640     for ac_exec_ext in '' $ac_executable_extensions; do
3641       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3642       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3643 # Check for GNU ac_path_GREP and select it if it is found.
3644   # Check for GNU $ac_path_GREP
3645 case `"$ac_path_GREP" --version 2>&1` in
3646 *GNU*)
3647   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3648 *)
3649   ac_count=0
3650   $as_echo_n 0123456789 >"conftest.in"
3651   while :
3652   do
3653     cat "conftest.in" "conftest.in" >"conftest.tmp"
3654     mv "conftest.tmp" "conftest.in"
3655     cp "conftest.in" "conftest.nl"
3656     $as_echo 'GREP' >> "conftest.nl"
3657     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3659     ac_count=`expr $ac_count + 1`
3660     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3661       # Best one so far, save it but keep looking for a better one
3662       ac_cv_path_GREP="$ac_path_GREP"
3663       ac_path_GREP_max=$ac_count
3664     fi
3665     # 10*(2^10) chars as input seems more than enough
3666     test $ac_count -gt 10 && break
3667   done
3668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3669 esac
3670
3671       $ac_path_GREP_found && break 3
3672     done
3673   done
3674 done
3675 IFS=$as_save_IFS
3676   if test -z "$ac_cv_path_GREP"; then
3677     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3678 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3679    { (exit 1); exit 1; }; }
3680   fi
3681 else
3682   ac_cv_path_GREP=$GREP
3683 fi
3684
3685 fi
3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3687 $as_echo "$ac_cv_path_GREP" >&6; }
3688  GREP="$ac_cv_path_GREP"
3689
3690
3691 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3692 $as_echo_n "checking for egrep... " >&6; }
3693 if test "${ac_cv_path_EGREP+set}" = set; then
3694   $as_echo_n "(cached) " >&6
3695 else
3696   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3697    then ac_cv_path_EGREP="$GREP -E"
3698    else
3699      if test -z "$EGREP"; then
3700   ac_path_EGREP_found=false
3701   # Loop through the user's path and test for each of PROGNAME-LIST
3702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3704 do
3705   IFS=$as_save_IFS
3706   test -z "$as_dir" && as_dir=.
3707   for ac_prog in egrep; do
3708     for ac_exec_ext in '' $ac_executable_extensions; do
3709       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3710       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3711 # Check for GNU ac_path_EGREP and select it if it is found.
3712   # Check for GNU $ac_path_EGREP
3713 case `"$ac_path_EGREP" --version 2>&1` in
3714 *GNU*)
3715   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3716 *)
3717   ac_count=0
3718   $as_echo_n 0123456789 >"conftest.in"
3719   while :
3720   do
3721     cat "conftest.in" "conftest.in" >"conftest.tmp"
3722     mv "conftest.tmp" "conftest.in"
3723     cp "conftest.in" "conftest.nl"
3724     $as_echo 'EGREP' >> "conftest.nl"
3725     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3727     ac_count=`expr $ac_count + 1`
3728     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3729       # Best one so far, save it but keep looking for a better one
3730       ac_cv_path_EGREP="$ac_path_EGREP"
3731       ac_path_EGREP_max=$ac_count
3732     fi
3733     # 10*(2^10) chars as input seems more than enough
3734     test $ac_count -gt 10 && break
3735   done
3736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3737 esac
3738
3739       $ac_path_EGREP_found && break 3
3740     done
3741   done
3742 done
3743 IFS=$as_save_IFS
3744   if test -z "$ac_cv_path_EGREP"; then
3745     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3746 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3747    { (exit 1); exit 1; }; }
3748   fi
3749 else
3750   ac_cv_path_EGREP=$EGREP
3751 fi
3752
3753    fi
3754 fi
3755 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3756 $as_echo "$ac_cv_path_EGREP" >&6; }
3757  EGREP="$ac_cv_path_EGREP"
3758
3759
3760 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3761 $as_echo_n "checking for ANSI C header files... " >&6; }
3762 if test "${ac_cv_header_stdc+set}" = set; then
3763   $as_echo_n "(cached) " >&6
3764 else
3765   cat >conftest.$ac_ext <<_ACEOF
3766 /* confdefs.h.  */
3767 _ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h.  */
3771 #include <stdlib.h>
3772 #include <stdarg.h>
3773 #include <string.h>
3774 #include <float.h>
3775
3776 int
3777 main ()
3778 {
3779
3780   ;
3781   return 0;
3782 }
3783 _ACEOF
3784 rm -f conftest.$ac_objext
3785 if { (ac_try="$ac_compile"
3786 case "(($ac_try" in
3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788   *) ac_try_echo=$ac_try;;
3789 esac
3790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3791 $as_echo "$ac_try_echo") >&5
3792   (eval "$ac_compile") 2>conftest.er1
3793   ac_status=$?
3794   grep -v '^ *+' conftest.er1 >conftest.err
3795   rm -f conftest.er1
3796   cat conftest.err >&5
3797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798   (exit $ac_status); } && {
3799          test -z "$ac_c_werror_flag" ||
3800          test ! -s conftest.err
3801        } && test -s conftest.$ac_objext; then
3802   ac_cv_header_stdc=yes
3803 else
3804   $as_echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.$ac_ext >&5
3806
3807         ac_cv_header_stdc=no
3808 fi
3809
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811
3812 if test $ac_cv_header_stdc = yes; then
3813   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3814   cat >conftest.$ac_ext <<_ACEOF
3815 /* confdefs.h.  */
3816 _ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h.  */
3820 #include <string.h>
3821
3822 _ACEOF
3823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3824   $EGREP "memchr" >/dev/null 2>&1; then
3825   :
3826 else
3827   ac_cv_header_stdc=no
3828 fi
3829 rm -f conftest*
3830
3831 fi
3832
3833 if test $ac_cv_header_stdc = yes; then
3834   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3835   cat >conftest.$ac_ext <<_ACEOF
3836 /* confdefs.h.  */
3837 _ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h.  */
3841 #include <stdlib.h>
3842
3843 _ACEOF
3844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3845   $EGREP "free" >/dev/null 2>&1; then
3846   :
3847 else
3848   ac_cv_header_stdc=no
3849 fi
3850 rm -f conftest*
3851
3852 fi
3853
3854 if test $ac_cv_header_stdc = yes; then
3855   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3856   if test "$cross_compiling" = yes; then
3857   :
3858 else
3859   cat >conftest.$ac_ext <<_ACEOF
3860 /* confdefs.h.  */
3861 _ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h.  */
3865 #include <ctype.h>
3866 #include <stdlib.h>
3867 #if ((' ' & 0x0FF) == 0x020)
3868 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3869 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3870 #else
3871 # define ISLOWER(c) \
3872                    (('a' <= (c) && (c) <= 'i') \
3873                      || ('j' <= (c) && (c) <= 'r') \
3874                      || ('s' <= (c) && (c) <= 'z'))
3875 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3876 #endif
3877
3878 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3879 int
3880 main ()
3881 {
3882   int i;
3883   for (i = 0; i < 256; i++)
3884     if (XOR (islower (i), ISLOWER (i))
3885         || toupper (i) != TOUPPER (i))
3886       return 2;
3887   return 0;
3888 }
3889 _ACEOF
3890 rm -f conftest$ac_exeext
3891 if { (ac_try="$ac_link"
3892 case "(($ac_try" in
3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894   *) ac_try_echo=$ac_try;;
3895 esac
3896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3897 $as_echo "$ac_try_echo") >&5
3898   (eval "$ac_link") 2>&5
3899   ac_status=$?
3900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3902   { (case "(($ac_try" in
3903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904   *) ac_try_echo=$ac_try;;
3905 esac
3906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3907 $as_echo "$ac_try_echo") >&5
3908   (eval "$ac_try") 2>&5
3909   ac_status=$?
3910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911   (exit $ac_status); }; }; then
3912   :
3913 else
3914   $as_echo "$as_me: program exited with status $ac_status" >&5
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3917
3918 ( exit $ac_status )
3919 ac_cv_header_stdc=no
3920 fi
3921 rm -rf conftest.dSYM
3922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3923 fi
3924
3925
3926 fi
3927 fi
3928 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3929 $as_echo "$ac_cv_header_stdc" >&6; }
3930 if test $ac_cv_header_stdc = yes; then
3931
3932 cat >>confdefs.h <<\_ACEOF
3933 #define STDC_HEADERS 1
3934 _ACEOF
3935
3936 fi
3937
3938 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3949                   inttypes.h stdint.h unistd.h
3950 do
3951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3952 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3953 $as_echo_n "checking for $ac_header... " >&6; }
3954 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3955   $as_echo_n "(cached) " >&6
3956 else
3957   cat >conftest.$ac_ext <<_ACEOF
3958 /* confdefs.h.  */
3959 _ACEOF
3960 cat confdefs.h >>conftest.$ac_ext
3961 cat >>conftest.$ac_ext <<_ACEOF
3962 /* end confdefs.h.  */
3963 $ac_includes_default
3964
3965 #include <$ac_header>
3966 _ACEOF
3967 rm -f conftest.$ac_objext
3968 if { (ac_try="$ac_compile"
3969 case "(($ac_try" in
3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971   *) ac_try_echo=$ac_try;;
3972 esac
3973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""