2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="configure.ac"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP EGREP INSTALLPREFIX LIBDIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LDSO H323_GSMAMR_NB_FLOAT H323_SYSTEM_GSM SIZE16 SIZE32 H323_SYSTEM_SPEEX HAS_FFMPEG HAS_IXJ HAS_VPB HAS_CAPI HAS_SANGOMA LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CXX_set
=${CXX+set}
753 ac_env_CXX_value
=$CXX
754 ac_cv_env_CXX_set
=${CXX+set}
755 ac_cv_env_CXX_value
=$CXX
756 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
757 ac_env_CXXFLAGS_value
=$CXXFLAGS
758 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
759 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CC_set
=${CC+set}
770 ac_cv_env_CC_set
=${CC+set}
771 ac_cv_env_CC_value
=$CC
772 ac_env_CFLAGS_set
=${CFLAGS+set}
773 ac_env_CFLAGS_value
=$CFLAGS
774 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
775 ac_cv_env_CFLAGS_value
=$CFLAGS
776 ac_env_CPP_set
=${CPP+set}
777 ac_env_CPP_value
=$CPP
778 ac_cv_env_CPP_set
=${CPP+set}
779 ac_cv_env_CPP_value
=$CPP
782 # Report the --help message.
784 if test "$ac_init_help" = "long"; then
785 # Omit some internal or obsolete options to make the list less imposing.
786 # This message is too long to be a string in the A/UX 3.1 sh.
788 \`configure' configures this package to adapt to many kinds of systems.
790 Usage: $0 [OPTION]... [VAR=VALUE]...
792 To assign environment variables (e.g., CC, CFLAGS...), specify them as
793 VAR=VALUE. See below for descriptions of some of the useful variables.
795 Defaults for the options are specified in brackets.
798 -h, --help display this help and exit
799 --help=short display options specific to this package
800 --help=recursive display the short help of all the included packages
801 -V, --version display version information and exit
802 -q, --quiet, --silent do not print \`checking...' messages
803 --cache-file=FILE cache test results in FILE [disabled]
804 -C, --config-cache alias for \`--cache-file=config.cache'
805 -n, --no-create do not create output files
806 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811 Installation directories:
812 --prefix=PREFIX install architecture-independent files in PREFIX
814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
817 By default, \`make install' will install all the files in
818 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
819 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820 for instance \`--prefix=\$HOME'.
822 For better control, use the options below.
824 Fine tuning of the installation directories:
825 --bindir=DIR user executables [EPREFIX/bin]
826 --sbindir=DIR system admin executables [EPREFIX/sbin]
827 --libexecdir=DIR program executables [EPREFIX/libexec]
828 --datadir=DIR read-only architecture-independent data [PREFIX/share]
829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
831 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
832 --libdir=DIR object code libraries [EPREFIX/lib]
833 --includedir=DIR C header files [PREFIX/include]
834 --oldincludedir=DIR C header files for non-gcc [/usr/include]
835 --infodir=DIR info documentation [PREFIX/info]
836 --mandir=DIR man documentation [PREFIX/man]
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
844 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
848 if test -n "$ac_init_help"; then
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
855 --enable-localgsm use
local version of GSM library rather than system version
856 --enable-localspeex use
local version of Speex library rather than system version
857 --enable-vpb enable voicetronix vpb
858 --enable-capi enable CAPI
860 Some influential environment variables
:
861 CXX C
++ compiler
command
862 CXXFLAGS C
++ compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
867 CC C compiler
command
868 CFLAGS C compiler flags
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
909 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
910 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
911 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
937 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
938 Free Software Foundation, Inc.
939 This configure script is free software; the Free Software Foundation
940 gives unlimited permission to copy, distribute and modify it.
946 This file contains any messages produced by compilers while
947 running configure, to aid debugging if configure makes a mistake.
949 It was created by $as_me, which was
950 generated by GNU Autoconf 2.57. Invocation command line was
961 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
962 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
963 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
964 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
965 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
967 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
968 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
970 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
971 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
972 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
973 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
974 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
975 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
976 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
984 test -z "$as_dir" && as_dir=.
1000 # Keep a trace of the command line.
1001 # Strip out --no-create and --no-recursion so they do not pile up.
1002 # Strip out --silent because we don't want to record it for future runs.
1003 # Also quote any args containing shell meta-characters.
1004 # Make two passes to allow for proper duplicate-argument suppression.
1009 ac_must_keep_next=false
1015 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1019 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1023 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1025 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1026 if test $ac_must_keep_next = true; then
1027 ac_must_keep_next=false # Got value, back to normal.
1030 *=* | --config-cache | -C | -disable-* | --disable-* \
1031 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1032 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1033 | -with-* | --with-* | -without-* | --without-* | --x)
1034 case "$ac_configure_args0 " in
1035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038 -* ) ac_must_keep_next=true ;;
1041 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1042 # Get rid of the leading space.
1048 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1049 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1051 # When interrupted or exit'd, cleanup temporary files, and complete
1052 # config.log. We remove comments because anyway the quotes in there
1053 # would cause problems or look ugly.
1054 # WARNING: Be sure not to use single quotes in there, as some shells,
1055 # such as our DU 5.0 friend, will then `close
' the trap.
1056 trap 'exit_status
=$?
1057 # Save into config.log some information that might help in debugging.
1062 ## ---------------- ##
1063 ## Cache variables. ##
1064 ## ---------------- ##
1067 # The following way of writing the cache mishandles newlines in values,
1070 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1085 ## ----------------- ##
1086 ## Output variables. ##
1087 ## ----------------- ##
1090 for ac_var
in $ac_subst_vars
1092 eval ac_val
=$
`echo $ac_var`
1093 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -n "$ac_subst_files"; then
1104 for ac_var
in $ac_subst_files
1106 eval ac_val
=$
`echo $ac_var`
1107 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -s confdefs.h
; then
1119 sed "/^$/d" confdefs.h |
sort
1122 test "$ac_signal" != 0 &&
1123 echo "$as_me: caught signal $ac_signal"
1124 echo "$as_me: exit $exit_status"
1126 rm -f core core.
* *.core
&&
1127 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1130 for ac_signal in 1 2 13 15; do
1131 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1136 rm -rf conftest* confdefs.h
1137 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1140 # Predefined preprocessor variables.
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_NAME "$PACKAGE_NAME"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_STRING "$PACKAGE_STRING"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1167 # Let the site file select an alternate cache file if it wants to.
1168 # Prefer explicitly selected file to automatically selected ones.
1169 if test -z "$CONFIG_SITE"; then
1170 if test "x$prefix" != xNONE; then
1171 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1173 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1176 for ac_site_file in $CONFIG_SITE; do
1177 if test -r "$ac_site_file"; then
1178 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179 echo "$as_me: loading site script $ac_site_file" >&6;}
1180 sed 's
/^
/|
/' "$ac_site_file" >&5
1185 if test -r "$cache_file"; then
1186 # Some versions of bash will fail to source /dev/null (special
1187 # files actually), so we avoid doing that.
1188 if test -f "$cache_file"; then
1189 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190 echo "$as_me: loading cache $cache_file" >&6;}
1192 [\\/]* | ?:[\\/]* ) . $cache_file;;
1193 *) . ./$cache_file;;
1197 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198 echo "$as_me: creating cache $cache_file" >&6;}
1202 # Check that the precious variables saved in the cache have kept the same
1204 ac_cache_corrupted=false
1205 for ac_var in `(set) 2>&1 |
1206 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1208 eval ac_new_set=\$ac_env_${ac_var}_set
1209 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210 eval ac_new_val="\$ac_env_${ac_var}_value"
1211 case $ac_old_set,$ac_new_set in
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1215 ac_cache_corrupted=: ;;
1217 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1222 if test "x$ac_old_val" != "x$ac_new_val"; then
1223 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1224 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1225 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1226 echo "$as_me: former value: $ac_old_val" >&2;}
1227 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1228 echo "$as_me: current value: $ac_new_val" >&2;}
1229 ac_cache_corrupted=:
1232 # Pass precious variables to config.status.
1233 if test "$ac_new_set" = set; then
1235 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1237 *) ac_arg=$ac_var=$ac_new_val ;;
1239 case " $ac_configure_args " in
1240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1241 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1245 if $ac_cache_corrupted; then
1246 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1249 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250 { (exit 1); exit 1; }; }
1254 ac_cpp='$CPP $CPPFLAGS'
1255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1256 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1279 ac_cpp='$CXXCPP $CPPFLAGS'
1280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1281 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1283 if test -n "$ac_tool_prefix"; then
1284 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1288 echo "$as_me:$LINENO: checking for $ac_word" >&5
1289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1290 if test "${ac_cv_prog_CXX+set}" = set; then
1291 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 if test -n "$CXX"; then
1294 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 for ac_exec_ext in '' $ac_executable_extensions; do
1302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1303 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1313 if test -n "$CXX"; then
1314 echo "$as_me:$LINENO: result: $CXX" >&5
1315 echo "${ECHO_T}$CXX" >&6
1317 echo "$as_me:$LINENO: result: no" >&5
1318 echo "${ECHO_T}no" >&6
1321 test -n "$CXX" && break
1324 if test -z "$CXX"; then
1326 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1328 # Extract the first word of "$ac_prog", so it can be a program name with args.
1329 set dummy $ac_prog; ac_word=$2
1330 echo "$as_me:$LINENO: checking for $ac_word" >&5
1331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1332 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1333 echo $ECHO_N "(cached) $ECHO_C" >&6
1335 if test -n "$ac_ct_CXX"; then
1336 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1342 test -z "$as_dir" && as_dir=.
1343 for ac_exec_ext in '' $ac_executable_extensions; do
1344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1345 ac_cv_prog_ac_ct_CXX="$ac_prog"
1346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1355 if test -n "$ac_ct_CXX"; then
1356 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1357 echo "${ECHO_T}$ac_ct_CXX" >&6
1359 echo "$as_me:$LINENO: result: no" >&5
1360 echo "${ECHO_T}no" >&6
1363 test -n "$ac_ct_CXX" && break
1365 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1371 # Provide some information about the compiler.
1372 echo "$as_me:$LINENO:" \
1373 "checking for C++ compiler version" >&5
1374 ac_compiler=`set X $ac_compile; echo $2`
1375 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1376 (eval $ac_compiler --version </dev/null >&5) 2>&5
1378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1379 (exit $ac_status); }
1380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1381 (eval $ac_compiler -v </dev/null >&5) 2>&5
1383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1384 (exit $ac_status); }
1385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1386 (eval $ac_compiler -V </dev/null >&5) 2>&5
1388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1389 (exit $ac_status); }
1391 cat >conftest.$ac_ext <<_ACEOF
1392 #line $LINENO "configure"
1395 cat confdefs.h >>conftest.$ac_ext
1396 cat >>conftest.$ac_ext <<_ACEOF
1397 /* end confdefs.h. */
1407 ac_clean_files_save=$ac_clean_files
1408 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1409 # Try to create an executable without -o first, disregard a.out.
1410 # It will help us diagnose broken compilers, and finding out an intuition
1412 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1413 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1414 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1415 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1416 (eval $ac_link_default) 2>&5
1418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1419 (exit $ac_status); }; then
1420 # Find the output, starting from the most likely. This scheme is
1421 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1424 # Be careful to initialize this variable, since it used to be cached.
1425 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1427 # b.out is created by i960 compilers.
1428 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1430 test -f "$ac_file" ||
continue
1432 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1435 # This is the source file.
1438 # We found the default executable, but exeext='' is most
1442 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1443 # FIXME: I believe we export ac_cv_exeext for Libtool,
1444 # but it would be cool to find out if it's true. Does anybody
1445 # maintain Libtool? --akim.
1453 echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.
$ac_ext >&5
1456 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1457 See \`config.log' for more details." >&5
1458 echo "$as_me: error: C++ compiler cannot create executables
1459 See \`config.log' for more details." >&2;}
1460 { (exit 77); exit 77; }; }
1463 ac_exeext
=$ac_cv_exeext
1464 echo "$as_me:$LINENO: result: $ac_file" >&5
1465 echo "${ECHO_T}$ac_file" >&6
1467 # Check the compiler produces executables we can run. If not, either
1468 # the compiler is broken, or we cross compile.
1469 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1470 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1472 # If not cross compiling, check that we can run a simple program.
1473 if test "$cross_compiling" != yes; then
1474 if { ac_try
='./$ac_file'
1475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1479 (exit $ac_status); }; }; then
1482 if test "$cross_compiling" = maybe
; then
1485 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1486 If you meant to cross compile, use \`--host'.
1487 See \`config.log' for more details." >&5
1488 echo "$as_me: error: cannot run C++ compiled programs.
1489 If you meant to cross compile, use \`--host'.
1490 See \`config.log' for more details." >&2;}
1491 { (exit 1); exit 1; }; }
1495 echo "$as_me:$LINENO: result: yes" >&5
1496 echo "${ECHO_T}yes" >&6
1498 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1499 ac_clean_files
=$ac_clean_files_save
1500 # Check the compiler produces executables we can run. If not, either
1501 # the compiler is broken, or we cross compile.
1502 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1503 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1504 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1505 echo "${ECHO_T}$cross_compiling" >&6
1507 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1508 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1510 (eval $ac_link) 2>&5
1512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1513 (exit $ac_status); }; then
1514 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1515 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1516 # work properly (i.e., refer to `conftest.exe'), while it won't with
1518 for ac_file
in conftest.exe conftest conftest.
*; do
1519 test -f "$ac_file" ||
continue
1521 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1522 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1529 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1530 See \`config.log' for more details." >&5
1531 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1532 See \`config.log' for more details." >&2;}
1533 { (exit 1); exit 1; }; }
1536 rm -f conftest
$ac_cv_exeext
1537 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1538 echo "${ECHO_T}$ac_cv_exeext" >&6
1540 rm -f conftest.
$ac_ext
1541 EXEEXT
=$ac_cv_exeext
1543 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1544 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1545 if test "${ac_cv_objext+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 cat >conftest.
$ac_ext <<_ACEOF
1549 #line $LINENO "configure"
1552 cat confdefs.h
>>conftest.
$ac_ext
1553 cat >>conftest.
$ac_ext <<_ACEOF
1554 /* end confdefs.h. */
1564 rm -f conftest.o conftest.obj
1565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1566 (eval $ac_compile) 2>&5
1568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1569 (exit $ac_status); }; then
1570 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1573 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1578 echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.
$ac_ext >&5
1581 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1582 See \`config.log' for more details." >&5
1583 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1584 See \`config.log' for more details." >&2;}
1585 { (exit 1); exit 1; }; }
1588 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1590 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1591 echo "${ECHO_T}$ac_cv_objext" >&6
1592 OBJEXT
=$ac_cv_objext
1594 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1595 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1596 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 cat >conftest.
$ac_ext <<_ACEOF
1600 #line $LINENO "configure"
1603 cat confdefs.h
>>conftest.
$ac_ext
1604 cat >>conftest.
$ac_ext <<_ACEOF
1605 /* end confdefs.h. */
1618 rm -f conftest.
$ac_objext
1619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1620 (eval $ac_compile) 2>&5
1622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623 (exit $ac_status); } &&
1624 { ac_try
='test -s conftest.$ac_objext'
1625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1629 (exit $ac_status); }; }; then
1632 echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.
$ac_ext >&5
1637 rm -f conftest.
$ac_objext conftest.
$ac_ext
1638 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1641 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1642 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1643 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1644 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1645 ac_save_CXXFLAGS
=$CXXFLAGS
1647 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1648 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1649 if test "${ac_cv_prog_cxx_g+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 cat >conftest.
$ac_ext <<_ACEOF
1653 #line $LINENO "configure"
1656 cat confdefs.h
>>conftest.
$ac_ext
1657 cat >>conftest.
$ac_ext <<_ACEOF
1658 /* end confdefs.h. */
1668 rm -f conftest.
$ac_objext
1669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1670 (eval $ac_compile) 2>&5
1672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1673 (exit $ac_status); } &&
1674 { ac_try
='test -s conftest.$ac_objext'
1675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; }; then
1680 ac_cv_prog_cxx_g
=yes
1682 echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.
$ac_ext >&5
1687 rm -f conftest.
$ac_objext conftest.
$ac_ext
1689 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1690 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1691 if test "$ac_test_CXXFLAGS" = set; then
1692 CXXFLAGS
=$ac_save_CXXFLAGS
1693 elif test $ac_cv_prog_cxx_g = yes; then
1694 if test "$GXX" = yes; then
1700 if test "$GXX" = yes; then
1706 for ac_declaration
in \
1708 '#include <stdlib.h>' \
1709 'extern "C" void std::exit (int) throw (); using std::exit;' \
1710 'extern "C" void std::exit (int); using std::exit;' \
1711 'extern "C" void exit (int) throw ();' \
1712 'extern "C" void exit (int);' \
1715 cat >conftest.
$ac_ext <<_ACEOF
1716 #line $LINENO "configure"
1719 cat confdefs.h
>>conftest.
$ac_ext
1720 cat >>conftest.
$ac_ext <<_ACEOF
1721 /* end confdefs.h. */
1732 rm -f conftest.
$ac_objext
1733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1734 (eval $ac_compile) 2>&5
1736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1737 (exit $ac_status); } &&
1738 { ac_try
='test -s conftest.$ac_objext'
1739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1743 (exit $ac_status); }; }; then
1746 echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 rm -f conftest.
$ac_objext conftest.
$ac_ext
1752 cat >conftest.
$ac_ext <<_ACEOF
1753 #line $LINENO "configure"
1756 cat confdefs.h
>>conftest.
$ac_ext
1757 cat >>conftest.
$ac_ext <<_ACEOF
1758 /* end confdefs.h. */
1768 rm -f conftest.
$ac_objext
1769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1770 (eval $ac_compile) 2>&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); } &&
1774 { ac_try
='test -s conftest.$ac_objext'
1775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; }; then
1782 echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1786 rm -f conftest.
$ac_objext conftest.
$ac_ext
1789 if test -n "$ac_declaration"; then
1790 echo '#ifdef __cplusplus' >>confdefs.h
1791 echo $ac_declaration >>confdefs.h
1792 echo '#endif' >>confdefs.h
1796 ac_cpp
='$CPP $CPPFLAGS'
1797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1802 ac_cpp
='$CPP $CPPFLAGS'
1803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC
="$CC" # Let the user override the test.
1817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir
=.
1822 for ac_exec_ext
in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$ac_cv_prog_CC"; then
1845 # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc
; ac_word
=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC
="gcc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1888 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC
="$CC" # Let the user override the test.
1897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir
=.
1902 for ac_exec_ext
in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_CC"; then
1925 # Extract the first word of "cc", so it can be a program name with args.
1926 set dummy cc
; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC
="cc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1966 if test -z "$CC"; then
1967 # Extract the first word of "cc", so it can be a program name with args.
1968 set dummy cc
; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC
="$CC" # Let the user override the test.
1978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir
=.
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1986 ac_prog_rejected
=yes
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test $ac_prog_rejected = yes; then
1997 # We found a bogon in the path, so make sure we never use it.
1998 set dummy
$ac_cv_prog_CC
2000 if test $# != 0; then
2001 # We chose a different compiler from the bogus one.
2002 # However, it has the same basename, so the bogon will be chosen
2003 # first if we set CC to just the basename; use the full file name.
2005 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC
="$CC" # Let the user override the test.
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 for ac_exec_ext
in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CC"; then
2052 echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2059 test -n "$CC" && break
2062 if test -z "$CC"; then
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy
$ac_prog; ac_word
=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC
="$ac_prog"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2101 test -n "$ac_ct_CC" && break
2110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2116 # Provide some information about the compiler.
2117 echo "$as_me:$LINENO:" \
2118 "checking for C compiler version" >&5
2119 ac_compiler
=`set X $ac_compile; echo $2`
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2121 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2126 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2131 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2136 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2137 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2138 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 cat >conftest.
$ac_ext <<_ACEOF
2142 #line $LINENO "configure"
2145 cat confdefs.h
>>conftest.
$ac_ext
2146 cat >>conftest.
$ac_ext <<_ACEOF
2147 /* end confdefs.h. */
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); } &&
2166 { ac_try
='test -s conftest.$ac_objext'
2167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }; }; then
2174 echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.
$ac_ext >&5
2179 rm -f conftest.
$ac_objext conftest.
$ac_ext
2180 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2183 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2184 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2185 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2186 ac_test_CFLAGS
=${CFLAGS+set}
2187 ac_save_CFLAGS
=$CFLAGS
2189 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2190 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2191 if test "${ac_cv_prog_cc_g+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 cat >conftest.
$ac_ext <<_ACEOF
2195 #line $LINENO "configure"
2198 cat confdefs.h
>>conftest.
$ac_ext
2199 cat >>conftest.
$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2210 rm -f conftest.
$ac_objext
2211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212 (eval $ac_compile) 2>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); } &&
2216 { ac_try
='test -s conftest.$ac_objext'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; }; then
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2229 rm -f conftest.
$ac_objext conftest.
$ac_ext
2231 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2232 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2233 if test "$ac_test_CFLAGS" = set; then
2234 CFLAGS
=$ac_save_CFLAGS
2235 elif test $ac_cv_prog_cc_g = yes; then
2236 if test "$GCC" = yes; then
2242 if test "$GCC" = yes; then
2248 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2249 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2250 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 ac_cv_prog_cc_stdc
=no
2255 cat >conftest.
$ac_ext <<_ACEOF
2256 #line $LINENO "configure"
2259 cat confdefs.h
>>conftest.
$ac_ext
2260 cat >>conftest.
$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2264 #include <sys/types.h>
2265 #include <sys/stat.h>
2266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2267 struct buf { int x; };
2268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2269 static char *e (p, i)
2275 static char *f (char * (*g) (char **, int), char **p, ...)
2280 s = g (p, va_arg (v,int));
2284 int test (int i, double x);
2285 struct s1 {int (*f) (int a);};
2286 struct s2 {int (*f) (double a);};
2287 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2293 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2298 # Don't try gcc -ansi; that turns off useful extensions and
2299 # breaks some systems' header files.
2300 # AIX -qlanglvl=ansi
2301 # Ultrix and OSF/1 -std1
2302 # HP-UX 10.20 and later -Ae
2303 # HP-UX older versions -Aa -D_HPUX_SOURCE
2304 # SVR4 -Xc -D__EXTENSIONS__
2305 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2307 CC
="$ac_save_CC $ac_arg"
2308 rm -f conftest.
$ac_objext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } &&
2314 { ac_try
='test -s conftest.$ac_objext'
2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; }; then
2320 ac_cv_prog_cc_stdc
=$ac_arg
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2327 rm -f conftest.
$ac_objext
2329 rm -f conftest.
$ac_ext conftest.
$ac_objext
2334 case "x$ac_cv_prog_cc_stdc" in
2336 echo "$as_me:$LINENO: result: none needed" >&5
2337 echo "${ECHO_T}none needed" >&6 ;;
2339 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2340 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2341 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2344 # Some people use a C++ compiler to compile C. Since we use `exit',
2345 # in C++ we need to declare it. In case someone uses the same compiler
2346 # for both compiling C and C++ we need to have the C++ compiler decide
2347 # the declaration of exit, since it's the most demanding environment.
2348 cat >conftest.
$ac_ext <<_ACEOF
2353 rm -f conftest.
$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); } &&
2359 { ac_try
='test -s conftest.$ac_objext'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; }; then
2365 for ac_declaration
in \
2367 '#include <stdlib.h>' \
2368 'extern "C" void std::exit (int) throw (); using std::exit;' \
2369 'extern "C" void std::exit (int); using std::exit;' \
2370 'extern "C" void exit (int) throw ();' \
2371 'extern "C" void exit (int);' \
2374 cat >conftest.
$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2378 cat confdefs.h
>>conftest.
$ac_ext
2379 cat >>conftest.
$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2391 rm -f conftest.
$ac_objext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2393 (eval $ac_compile) 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -s conftest.$ac_objext'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; }; then
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2410 rm -f conftest.
$ac_objext conftest.
$ac_ext
2411 cat >conftest.
$ac_ext <<_ACEOF
2412 #line $LINENO "configure"
2415 cat confdefs.h
>>conftest.
$ac_ext
2416 cat >>conftest.
$ac_ext <<_ACEOF
2417 /* end confdefs.h. */
2427 rm -f conftest.
$ac_objext
2428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429 (eval $ac_compile) 2>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } &&
2433 { ac_try
='test -s conftest.$ac_objext'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; }; then
2441 echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.
$ac_ext >&5
2445 rm -f conftest.
$ac_objext conftest.
$ac_ext
2448 if test -n "$ac_declaration"; then
2449 echo '#ifdef __cplusplus' >>confdefs.h
2450 echo $ac_declaration >>confdefs.h
2451 echo '#endif' >>confdefs.h
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2459 rm -f conftest.
$ac_objext conftest.
$ac_ext
2461 ac_cpp
='$CPP $CPPFLAGS'
2462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2468 ac_cpp
='$CPP $CPPFLAGS'
2469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2472 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2473 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2474 # On Suns, sometimes $CPP names a directory.
2475 if test -n "$CPP" && test -d "$CPP"; then
2478 if test -z "$CPP"; then
2479 if test "${ac_cv_prog_CPP+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 # Double quotes because CPP needs to be expanded
2483 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2486 for ac_c_preproc_warn_flag
in '' yes
2488 # Use a header file that comes with gcc, so configuring glibc
2489 # with a fresh cross-compiler works.
2490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2491 # <limits.h> exists even on freestanding compilers.
2492 # On the NeXT, cc -E runs the code through the compiler's parser,
2493 # not just through cpp. "Syntax error" is here to catch this case.
2494 cat >conftest.
$ac_ext <<_ACEOF
2495 #line $LINENO "configure"
2498 cat confdefs.h
>>conftest.
$ac_ext
2499 cat >>conftest.
$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2502 # include <limits.h>
2504 # include <assert.h>
2508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2511 grep -v '^ *+' conftest.er1
>conftest.err
2513 cat conftest.err
>&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); } >/dev
/null
; then
2516 if test -s conftest.err
; then
2517 ac_cpp_err
=$ac_c_preproc_warn_flag
2524 if test -z "$ac_cpp_err"; then
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.
$ac_ext >&5
2530 # Broken: fails on valid input.
2533 rm -f conftest.err conftest.
$ac_ext
2535 # OK, works on sane cases. Now check whether non-existent headers
2536 # can be detected and how.
2537 cat >conftest.
$ac_ext <<_ACEOF
2538 #line $LINENO "configure"
2541 cat confdefs.h
>>conftest.
$ac_ext
2542 cat >>conftest.
$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2544 #include <ac_nonexistent.h>
2546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } >/dev
/null
; then
2554 if test -s conftest.err
; then
2555 ac_cpp_err
=$ac_c_preproc_warn_flag
2562 if test -z "$ac_cpp_err"; then
2563 # Broken: success on invalid input.
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2569 # Passes both tests.
2573 rm -f conftest.err conftest.
$ac_ext
2576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2577 rm -f conftest.err conftest.
$ac_ext
2578 if $ac_preproc_ok; then
2590 echo "$as_me:$LINENO: result: $CPP" >&5
2591 echo "${ECHO_T}$CPP" >&6
2593 for ac_c_preproc_warn_flag
in '' yes
2595 # Use a header file that comes with gcc, so configuring glibc
2596 # with a fresh cross-compiler works.
2597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2598 # <limits.h> exists even on freestanding compilers.
2599 # On the NeXT, cc -E runs the code through the compiler's parser,
2600 # not just through cpp. "Syntax error" is here to catch this case.
2601 cat >conftest.
$ac_ext <<_ACEOF
2602 #line $LINENO "configure"
2605 cat confdefs.h
>>conftest.
$ac_ext
2606 cat >>conftest.
$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2609 # include <limits.h>
2611 # include <assert.h>
2615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2618 grep -v '^ *+' conftest.er1
>conftest.err
2620 cat conftest.err
>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } >/dev
/null
; then
2623 if test -s conftest.err
; then
2624 ac_cpp_err
=$ac_c_preproc_warn_flag
2631 if test -z "$ac_cpp_err"; then
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2637 # Broken: fails on valid input.
2640 rm -f conftest.err conftest.
$ac_ext
2642 # OK, works on sane cases. Now check whether non-existent headers
2643 # can be detected and how.
2644 cat >conftest.
$ac_ext <<_ACEOF
2645 #line $LINENO "configure"
2648 cat confdefs.h
>>conftest.
$ac_ext
2649 cat >>conftest.
$ac_ext <<_ACEOF
2650 /* end confdefs.h. */
2651 #include <ac_nonexistent.h>
2653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2656 grep -v '^ *+' conftest.er1
>conftest.err
2658 cat conftest.err
>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } >/dev
/null
; then
2661 if test -s conftest.err
; then
2662 ac_cpp_err
=$ac_c_preproc_warn_flag
2669 if test -z "$ac_cpp_err"; then
2670 # Broken: success on invalid input.
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2676 # Passes both tests.
2680 rm -f conftest.err conftest.
$ac_ext
2683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2684 rm -f conftest.err conftest.
$ac_ext
2685 if $ac_preproc_ok; then
2688 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2689 See \`config.log' for more details." >&5
2690 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2691 See \`config.log' for more details." >&2;}
2692 { (exit 1); exit 1; }; }
2696 ac_cpp
='$CPP $CPPFLAGS'
2697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2702 echo "$as_me:$LINENO: checking for egrep" >&5
2703 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2704 if test "${ac_cv_prog_egrep+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2708 then ac_cv_prog_egrep
='grep -E'
2709 else ac_cv_prog_egrep
='egrep'
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2713 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2714 EGREP
=$ac_cv_prog_egrep
2717 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2718 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2719 if test "${ac_cv_header_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 cat >conftest.
$ac_ext <<_ACEOF
2723 #line $LINENO "configure"
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2742 rm -f conftest.
$ac_objext
2743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2744 (eval $ac_compile) 2>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try
='test -s conftest.$ac_objext'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2754 ac_cv_header_stdc
=yes
2756 echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.
$ac_ext >&5
2759 ac_cv_header_stdc
=no
2761 rm -f conftest.
$ac_objext conftest.
$ac_ext
2763 if test $ac_cv_header_stdc = yes; then
2764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2765 cat >conftest.
$ac_ext <<_ACEOF
2766 #line $LINENO "configure"
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2776 $EGREP "memchr" >/dev
/null
2>&1; then
2779 ac_cv_header_stdc
=no
2785 if test $ac_cv_header_stdc = yes; then
2786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2787 cat >conftest.
$ac_ext <<_ACEOF
2788 #line $LINENO "configure"
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2798 $EGREP "free" >/dev
/null
2>&1; then
2801 ac_cv_header_stdc
=no
2807 if test $ac_cv_header_stdc = yes; then
2808 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2809 if test "$cross_compiling" = yes; then
2812 cat >conftest.
$ac_ext <<_ACEOF
2813 #line $LINENO "configure"
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2820 #if ((' ' & 0x0FF) == 0x020)
2821 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2822 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2824 # define ISLOWER(c) \
2825 (('a' <= (c) && (c) <= 'i') \
2826 || ('j' <= (c) && (c) <= 'r') \
2827 || ('s' <= (c) && (c) <= 'z'))
2828 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2831 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2836 for (i = 0; i < 256; i++)
2837 if (XOR (islower (i), ISLOWER (i))
2838 || toupper (i) != TOUPPER (i))
2843 rm -f conftest
$ac_exeext
2844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2845 (eval $ac_link) 2>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; }; then
2856 echo "$as_me: program exited with status $ac_status" >&5
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.
$ac_ext >&5
2861 ac_cv_header_stdc
=no
2863 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2867 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2868 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2869 if test $ac_cv_header_stdc = yes; then
2871 cat >>confdefs.h
<<\_ACEOF
2872 #define STDC_HEADERS 1
2878 if test "x$prefix" = "xNONE"; then
2879 INSTALLPREFIX
="/usr/local"
2881 INSTALLPREFIX
="${prefix}"
2892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2893 if test -f $ac_dir/install-sh
; then
2895 ac_install_sh
="$ac_aux_dir/install-sh -c"
2897 elif test -f $ac_dir/install.sh
; then
2899 ac_install_sh
="$ac_aux_dir/install.sh -c"
2901 elif test -f $ac_dir/shtool
; then
2903 ac_install_sh
="$ac_aux_dir/shtool install -c"
2907 if test -z "$ac_aux_dir"; then
2908 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2909 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2910 { (exit 1); exit 1; }; }
2912 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2913 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2914 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2916 # Make sure we can run config.sub.
2917 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2918 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2919 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2920 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking build system type" >&5
2923 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2924 if test "${ac_cv_build+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2927 ac_cv_build_alias
=$build_alias
2928 test -z "$ac_cv_build_alias" &&
2929 ac_cv_build_alias
=`$ac_config_guess`
2930 test -z "$ac_cv_build_alias" &&
2931 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2932 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2933 { (exit 1); exit 1; }; }
2934 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2935 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2936 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2937 { (exit 1); exit 1; }; }
2940 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2941 echo "${ECHO_T}$ac_cv_build" >&6
2943 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2944 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2945 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2948 echo "$as_me:$LINENO: checking host system type" >&5
2949 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2950 if test "${ac_cv_host+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 ac_cv_host_alias
=$host_alias
2954 test -z "$ac_cv_host_alias" &&
2955 ac_cv_host_alias
=$ac_cv_build_alias
2956 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2957 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2958 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2959 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2963 echo "${ECHO_T}$ac_cv_host" >&6
2965 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2966 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2967 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2970 echo "$as_me:$LINENO: checking target system type" >&5
2971 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2972 if test "${ac_cv_target+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 ac_cv_target_alias
=$target_alias
2976 test "x$ac_cv_target_alias" = "x" &&
2977 ac_cv_target_alias
=$ac_cv_host_alias
2978 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2979 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2980 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2981 { (exit 1); exit 1; }; }
2984 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2985 echo "${ECHO_T}$ac_cv_target" >&6
2986 target
=$ac_cv_target
2987 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2988 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2989 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2992 # The aliases save the names the user supplied, while $host etc.
2993 # will get canonicalized.
2994 test -n "$target_alias" &&
2995 test "$program_prefix$program_suffix$program_transform_name" = \
2997 program_prefix
=${target_alias}-
2999 case "$target_os" in
3000 solaris
*) LDSO
="-Bdynamic -G -h" ;;
3002 *) LDSO
="-shared -Wl,-soname,";;
3008 H323_GSMAMR_NB_FLOAT
=0
3009 if test -r "./audio/gsm-amr/src/interf_dec.h" ; then
3010 { echo "$as_me:$LINENO: Enabling GSM-AMR plugin" >&5
3011 echo "$as_me: Enabling GSM-AMR plugin" >&6;}
3012 H323_GSMAMR_NB_FLOAT
=1
3014 { echo "$as_me:$LINENO: GSM-AMR plugin disabled (no 3GPP source)" >&5
3015 echo "$as_me: GSM-AMR plugin disabled (no 3GPP source)" >&6;}
3017 H323_GSMAMR_NB_FLOAT
=$H323_GSMAMR_NB_FLOAT
3024 # Check whether --enable-localgsm or --disable-localgsm was given.
3025 if test "${enable_localgsm+set}" = set; then
3026 enableval
="$enable_localgsm"
3030 if test "${localgsm}" = "yes" ; then
3031 { echo "$as_me:$LINENO: Forcing use of local GSM sources" >&5
3032 echo "$as_me: Forcing use of local GSM sources" >&6;}
3033 elif test "${localgsm}" = "no" ; then
3034 { echo "$as_me:$LINENO: Forcing use of system GSM library" >&5
3035 echo "$as_me: Forcing use of system GSM library" >&6;}
3038 echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
3039 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6
3040 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 ac_check_lib_save_LIBS
=$LIBS
3045 cat >conftest.
$ac_ext <<_ACEOF
3046 #line $LINENO "configure"
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3053 /* Override any gcc2 internal prototype to avoid an error. */
3057 /* We use char because int might match the return type of a gcc2
3058 builtin and then its argument prototype would still apply. */
3068 rm -f conftest.
$ac_objext conftest
$ac_exeext
3069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3070 (eval $ac_link) 2>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } &&
3074 { ac_try
='test -s conftest$ac_exeext'
3075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); }; }; then
3080 ac_cv_lib_gsm_gsm_create
=yes
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.
$ac_ext >&5
3085 ac_cv_lib_gsm_gsm_create
=no
3087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3088 LIBS
=$ac_check_lib_save_LIBS
3090 echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
3091 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6
3092 if test $ac_cv_lib_gsm_gsm_create = yes; then
3096 if test "x$GSM" != "x"; then
3097 echo "$as_me:$LINENO: checking if system GSM library has WAV49" >&5
3098 echo $ECHO_N "checking if system GSM library has WAV49... $ECHO_C" >&6
3101 if test "$cross_compiling" = yes; then
3102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3103 See \`config.log' for more details." >&5
3104 echo "$as_me: error: cannot run test program while cross compiling
3105 See \`config.log' for more details." >&2;}
3106 { (exit 1); exit 1; }; }
3108 cat >conftest.
$ac_ext <<_ACEOF
3109 #line $LINENO "configure"
3112 cat confdefs.h
>>conftest.
$ac_ext
3113 cat >>conftest.
$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3123 gsm handle = gsm_create();
3124 return (gsm_option(handle, GSM_OPT_WAV49, &option) == -1) ? 1 : 0;
3130 rm -f conftest
$ac_exeext
3131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3132 (eval $ac_link) 2>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3143 echo "$as_me: program exited with status $ac_status" >&5
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.
$ac_ext >&5
3148 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3150 if test "x$GSM" == "x2"; then
3152 echo "$as_me:$LINENO: result: yes" >&5
3153 echo "${ECHO_T}yes" >&6
3154 { echo "$as_me:$LINENO: Using system gsm" >&5
3155 echo "$as_me: Using system gsm" >&6;}
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3163 H323_SYSTEM_GSM
=$H323_SYSTEM_GSM
3165 cat >>confdefs.h
<<_ACEOF
3166 #define H323_SYSTEM_GSM $H323_SYSTEM_GSM
3171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3181 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3182 inttypes.h stdint.h unistd.h
3184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3185 echo "$as_me:$LINENO: checking for $ac_header" >&5
3186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 cat >conftest.
$ac_ext <<_ACEOF
3191 #line $LINENO "configure"
3194 cat confdefs.h
>>conftest.
$ac_ext
3195 cat >>conftest.
$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3197 $ac_includes_default
3199 #include <$ac_header>
3201 rm -f conftest.
$ac_objext
3202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203 (eval $ac_compile) 2>&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try
='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 eval "$as_ac_Header=yes"
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.
$ac_ext >&5
3218 eval "$as_ac_Header=no"
3220 rm -f conftest.
$ac_objext conftest.
$ac_ext
3222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3225 cat >>confdefs.h
<<_ACEOF
3226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3234 echo "$as_me:$LINENO: checking for short" >&5
3235 echo $ECHO_N "checking for short... $ECHO_C" >&6
3236 if test "${ac_cv_type_short+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 cat >conftest.
$ac_ext <<_ACEOF
3240 #line $LINENO "configure"
3243 cat confdefs.h
>>conftest.
$ac_ext
3244 cat >>conftest.
$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3246 $ac_includes_default
3258 rm -f conftest.
$ac_objext
3259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260 (eval $ac_compile) 2>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try
='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3270 ac_cv_type_short
=yes
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3277 rm -f conftest.
$ac_objext conftest.
$ac_ext
3279 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3280 echo "${ECHO_T}$ac_cv_type_short" >&6
3282 echo "$as_me:$LINENO: checking size of short" >&5
3283 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3284 if test "${ac_cv_sizeof_short+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 if test "$ac_cv_type_short" = yes; then
3288 # The cast to unsigned long works around a bug in the HP C Compiler
3289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3291 # This bug is HP SR number 8606223364.
3292 if test "$cross_compiling" = yes; then
3293 # Depending upon the size, compute the lo and hi bounds.
3294 cat >conftest.
$ac_ext <<_ACEOF
3295 #line $LINENO "configure"
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3301 $ac_includes_default
3305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3312 rm -f conftest.
$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try
='test -s conftest.$ac_objext'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; }; then
3326 cat >conftest.
$ac_ext <<_ACEOF
3327 #line $LINENO "configure"
3330 cat confdefs.h
>>conftest.
$ac_ext
3331 cat >>conftest.
$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3333 $ac_includes_default
3337 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3344 rm -f conftest.
$ac_objext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3346 (eval $ac_compile) 2>&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try
='test -s conftest.$ac_objext'
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3356 ac_hi
=$ac_mid; break
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.
$ac_ext >&5
3361 ac_lo
=`expr $ac_mid + 1`
3362 if test $ac_lo -le $ac_mid; then
3366 ac_mid
=`expr 2 '*' $ac_mid + 1`
3368 rm -f conftest.
$ac_objext conftest.
$ac_ext
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 cat >conftest.
$ac_ext <<_ACEOF
3375 #line $LINENO "configure"
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3381 $ac_includes_default
3385 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3392 rm -f conftest.
$ac_objext
3393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3394 (eval $ac_compile) 2>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try
='test -s conftest.$ac_objext'
3399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; }; then
3406 cat >conftest.
$ac_ext <<_ACEOF
3407 #line $LINENO "configure"
3410 cat confdefs.h
>>conftest.
$ac_ext
3411 cat >>conftest.
$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3413 $ac_includes_default
3417 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } &&
3430 { ac_try
='test -s conftest.$ac_objext'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; }; then
3436 ac_lo
=$ac_mid; break
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.
$ac_ext >&5
3441 ac_hi
=`expr '(' $ac_mid ')' - 1`
3442 if test $ac_mid -le $ac_hi; then
3446 ac_mid
=`expr 2 '*' $ac_mid`
3448 rm -f conftest.
$ac_objext conftest.
$ac_ext
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3456 rm -f conftest.
$ac_objext conftest.
$ac_ext
3458 rm -f conftest.
$ac_objext conftest.
$ac_ext
3459 # Binary search between lo and hi bounds.
3460 while test "x$ac_lo" != "x$ac_hi"; do
3461 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3462 cat >conftest.
$ac_ext <<_ACEOF
3463 #line $LINENO "configure"
3466 cat confdefs.h
>>conftest.
$ac_ext
3467 cat >>conftest.
$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3469 $ac_includes_default
3473 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3480 rm -f conftest.
$ac_objext
3481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3482 (eval $ac_compile) 2>&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } &&
3486 { ac_try
='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 ac_lo
=`expr '(' $ac_mid ')' + 1`
3499 rm -f conftest.
$ac_objext conftest.
$ac_ext
3502 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3503 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3504 See \`config.log' for more details." >&5
3505 echo "$as_me: error: cannot compute sizeof (short), 77
3506 See \`config.log' for more details." >&2;}
3507 { (exit 1); exit 1; }; } ;;
3510 if test "$cross_compiling" = yes; then
3511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3512 See \`config.log' for more details." >&5
3513 echo "$as_me: error: cannot run test program while cross compiling
3514 See \`config.log' for more details." >&2;}
3515 { (exit 1); exit 1; }; }
3517 cat >conftest.
$ac_ext <<_ACEOF
3518 #line $LINENO "configure"
3521 cat confdefs.h
>>conftest.
$ac_ext
3522 cat >>conftest.
$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 $ac_includes_default
3525 long longval () { return (long) (sizeof (short)); }
3526 unsigned long ulongval () { return (long) (sizeof (short)); }
3533 FILE *f = fopen ("conftest.val", "w");
3536 if (((long) (sizeof (short))) < 0)
3538 long i = longval ();
3539 if (i != ((long) (sizeof (short))))
3541 fprintf (f, "%ld\n", i);
3545 unsigned long i = ulongval ();
3546 if (i != ((long) (sizeof (short))))
3548 fprintf (f, "%lu\n", i);
3550 exit (ferror (f) || fclose (f) != 0);
3556 rm -f conftest
$ac_exeext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3558 (eval $ac_link) 2>&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; }; then
3567 ac_cv_sizeof_short
=`cat conftest.val`
3569 echo "$as_me: program exited with status $ac_status" >&5
3570 echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.
$ac_ext >&5
3574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3575 See \`config.log' for more details." >&5
3576 echo "$as_me: error: cannot compute sizeof (short), 77
3577 See \`config.log' for more details." >&2;}
3578 { (exit 1); exit 1; }; }
3580 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3585 ac_cv_sizeof_short
=0
3588 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3589 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3590 cat >>confdefs.h
<<_ACEOF
3591 #define SIZEOF_SHORT $ac_cv_sizeof_short
3595 echo "$as_me:$LINENO: checking for int" >&5
3596 echo $ECHO_N "checking for int... $ECHO_C" >&6
3597 if test "${ac_cv_type_int+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 cat >conftest.
$ac_ext <<_ACEOF
3601 #line $LINENO "configure"
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 $ac_includes_default
3619 rm -f conftest.
$ac_objext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3621 (eval $ac_compile) 2>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try
='test -s conftest.$ac_objext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3638 rm -f conftest.
$ac_objext conftest.
$ac_ext
3640 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3641 echo "${ECHO_T}$ac_cv_type_int" >&6
3643 echo "$as_me:$LINENO: checking size of int" >&5
3644 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3645 if test "${ac_cv_sizeof_int+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 if test "$ac_cv_type_int" = yes; then
3649 # The cast to unsigned long works around a bug in the HP C Compiler
3650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3652 # This bug is HP SR number 8606223364.
3653 if test "$cross_compiling" = yes; then
3654 # Depending upon the size, compute the lo and hi bounds.
3655 cat >conftest.
$ac_ext <<_ACEOF
3656 #line $LINENO "configure"
3659 cat confdefs.h
>>conftest.
$ac_ext
3660 cat >>conftest.
$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3662 $ac_includes_default
3666 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3673 rm -f conftest.
$ac_objext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3675 (eval $ac_compile) 2>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } &&
3679 { ac_try
='test -s conftest.$ac_objext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3687 cat >conftest.
$ac_ext <<_ACEOF
3688 #line $LINENO "configure"
3691 cat confdefs.h
>>conftest.
$ac_ext
3692 cat >>conftest.
$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3694 $ac_includes_default
3698 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3705 rm -f conftest.
$ac_objext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3707 (eval $ac_compile) 2>&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } &&
3711 { ac_try
='test -s conftest.$ac_objext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 ac_hi
=$ac_mid; break
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.
$ac_ext >&5
3722 ac_lo
=`expr $ac_mid + 1`
3723 if test $ac_lo -le $ac_mid; then
3727 ac_mid
=`expr 2 '*' $ac_mid + 1`
3729 rm -f conftest.
$ac_objext conftest.
$ac_ext
3732 echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.
$ac_ext >&5
3735 cat >conftest.
$ac_ext <<_ACEOF
3736 #line $LINENO "configure"
3739 cat confdefs.h
>>conftest.
$ac_ext
3740 cat >>conftest.
$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3742 $ac_includes_default
3746 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3753 rm -f conftest.
$ac_objext
3754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755 (eval $ac_compile) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } &&
3759 { ac_try
='test -s conftest.$ac_objext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3767 cat >conftest.
$ac_ext <<_ACEOF
3768 #line $LINENO "configure"
3771 cat confdefs.h
>>conftest.
$ac_ext
3772 cat >>conftest.
$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3774 $ac_includes_default
3778 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3785 rm -f conftest.
$ac_objext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3787 (eval $ac_compile) 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try
='test -s conftest.$ac_objext'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; }; then
3797 ac_lo
=$ac_mid; break
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.
$ac_ext >&5
3802 ac_hi
=`expr '(' $ac_mid ')' - 1`
3803 if test $ac_mid -le $ac_hi; then
3807 ac_mid
=`expr 2 '*' $ac_mid`
3809 rm -f conftest.
$ac_objext conftest.
$ac_ext
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.
$ac_ext >&5
3817 rm -f conftest.
$ac_objext conftest.
$ac_ext
3819 rm -f conftest.
$ac_objext conftest.
$ac_ext
3820 # Binary search between lo and hi bounds.
3821 while test "x$ac_lo" != "x$ac_hi"; do
3822 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3823 cat >conftest.
$ac_ext <<_ACEOF
3824 #line $LINENO "configure"
3827 cat confdefs.h
>>conftest.
$ac_ext
3828 cat >>conftest.
$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3830 $ac_includes_default
3834 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3841 rm -f conftest.
$ac_objext
3842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3843 (eval $ac_compile) 2>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } &&
3847 { ac_try
='test -s conftest.$ac_objext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3858 ac_lo
=`expr '(' $ac_mid ')' + 1`
3860 rm -f conftest.
$ac_objext conftest.
$ac_ext
3863 ?
*) ac_cv_sizeof_int
=$ac_lo;;
3864 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3865 See \`config.log' for more details." >&5
3866 echo "$as_me: error: cannot compute sizeof (int), 77
3867 See \`config.log' for more details." >&2;}
3868 { (exit 1); exit 1; }; } ;;
3871 if test "$cross_compiling" = yes; then
3872 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3873 See \`config.log' for more details." >&5
3874 echo "$as_me: error: cannot run test program while cross compiling
3875 See \`config.log' for more details." >&2;}
3876 { (exit 1); exit 1; }; }
3878 cat >conftest.
$ac_ext <<_ACEOF
3879 #line $LINENO "configure"
3882 cat confdefs.h
>>conftest.
$ac_ext
3883 cat >>conftest.
$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3885 $ac_includes_default
3886 long longval () { return (long) (sizeof (int)); }
3887 unsigned long ulongval () { return (long) (sizeof (int)); }
3894 FILE *f = fopen ("conftest.val", "w");
3897 if (((long) (sizeof (int))) < 0)
3899 long i = longval ();
3900 if (i != ((long) (sizeof (int))))
3902 fprintf (f, "%ld\n", i);
3906 unsigned long i = ulongval ();
3907 if (i != ((long) (sizeof (int))))
3909 fprintf (f, "%lu\n", i);
3911 exit (ferror (f) || fclose (f) != 0);
3917 rm -f conftest
$ac_exeext
3918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3919 (eval $ac_link) 2>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; }; then
3928 ac_cv_sizeof_int
=`cat conftest.val`
3930 echo "$as_me: program exited with status $ac_status" >&5
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.
$ac_ext >&5
3935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3936 See \`config.log' for more details." >&5
3937 echo "$as_me: error: cannot compute sizeof (int), 77
3938 See \`config.log' for more details." >&2;}
3939 { (exit 1); exit 1; }; }
3941 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3949 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3950 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3951 cat >>confdefs.h
<<_ACEOF
3952 #define SIZEOF_INT $ac_cv_sizeof_int
3956 echo "$as_me:$LINENO: checking for long" >&5
3957 echo $ECHO_N "checking for long... $ECHO_C" >&6
3958 if test "${ac_cv_type_long+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 cat >conftest.
$ac_ext <<_ACEOF
3962 #line $LINENO "configure"
3965 cat confdefs.h
>>conftest.
$ac_ext
3966 cat >>conftest.
$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3968 $ac_includes_default
3980 rm -f conftest.
$ac_objext
3981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3982 (eval $ac_compile) 2>&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); } &&
3986 { ac_try
='test -s conftest.$ac_objext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.
$ac_ext >&5
3999 rm -f conftest.
$ac_objext conftest.
$ac_ext
4001 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4002 echo "${ECHO_T}$ac_cv_type_long" >&6
4004 echo "$as_me:$LINENO: checking size of long" >&5
4005 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4006 if test "${ac_cv_sizeof_long+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 if test "$ac_cv_type_long" = yes; then
4010 # The cast to unsigned long works around a bug in the HP C Compiler
4011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4013 # This bug is HP SR number 8606223364.
4014 if test "$cross_compiling" = yes; then
4015 # Depending upon the size, compute the lo and hi bounds.
4016 cat >conftest.
$ac_ext <<_ACEOF
4017 #line $LINENO "configure"
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 $ac_includes_default
4027 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4034 rm -f conftest.
$ac_objext
4035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4036 (eval $ac_compile) 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try
='test -s conftest.$ac_objext'
4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4048 cat >conftest.
$ac_ext <<_ACEOF
4049 #line $LINENO "configure"
4052 cat confdefs.h
>>conftest.
$ac_ext
4053 cat >>conftest.
$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4055 $ac_includes_default
4059 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4066 rm -f conftest.
$ac_objext
4067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4068 (eval $ac_compile) 2>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -s conftest.$ac_objext'
4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then
4078 ac_hi
=$ac_mid; break
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4083 ac_lo
=`expr $ac_mid + 1`
4084 if test $ac_lo -le $ac_mid; then
4088 ac_mid
=`expr 2 '*' $ac_mid + 1`
4090 rm -f conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.
$ac_ext >&5
4096 cat >conftest.
$ac_ext <<_ACEOF
4097 #line $LINENO "configure"
4100 cat confdefs.h
>>conftest.
$ac_ext
4101 cat >>conftest.
$ac_ext <<_ACEOF
4102 /* end confdefs.h. */
4103 $ac_includes_default
4107 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4114 rm -f conftest.
$ac_objext
4115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4116 (eval $ac_compile) 2>&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } &&
4120 { ac_try
='test -s conftest.$ac_objext'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4128 cat >conftest.
$ac_ext <<_ACEOF
4129 #line $LINENO "configure"
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4135 $ac_includes_default
4139 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4146 rm -f conftest.
$ac_objext
4147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } &&
4152 { ac_try
='test -s conftest.$ac_objext'
4153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; }; then
4158 ac_lo
=$ac_mid; break
4160 echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.
$ac_ext >&5
4163 ac_hi
=`expr '(' $ac_mid ')' - 1`
4164 if test $ac_mid -le $ac_hi; then
4168 ac_mid
=`expr 2 '*' $ac_mid`
4170 rm -f conftest.
$ac_objext conftest.
$ac_ext
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4178 rm -f conftest.
$ac_objext conftest.
$ac_ext
4180 rm -f conftest.
$ac_objext conftest.
$ac_ext
4181 # Binary search between lo and hi bounds.
4182 while test "x$ac_lo" != "x$ac_hi"; do
4183 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4184 cat >conftest.
$ac_ext <<_ACEOF
4185 #line $LINENO "configure"
4188 cat confdefs.h
>>conftest.
$ac_ext
4189 cat >>conftest.
$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4191 $ac_includes_default
4195 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4202 rm -f conftest.
$ac_objext
4203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4204 (eval $ac_compile) 2>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try
='test -s conftest.$ac_objext'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then
4216 echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.
$ac_ext >&5
4219 ac_lo
=`expr '(' $ac_mid ')' + 1`
4221 rm -f conftest.
$ac_objext conftest.
$ac_ext
4224 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4225 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4226 See \`config.log' for more details." >&5
4227 echo "$as_me: error: cannot compute sizeof (long), 77
4228 See \`config.log' for more details." >&2;}
4229 { (exit 1); exit 1; }; } ;;
4232 if test "$cross_compiling" = yes; then
4233 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4234 See \`config.log' for more details." >&5
4235 echo "$as_me: error: cannot run test program while cross compiling
4236 See \`config.log' for more details." >&2;}
4237 { (exit 1); exit 1; }; }
4239 cat >conftest.
$ac_ext <<_ACEOF
4240 #line $LINENO "configure"
4243 cat confdefs.h
>>conftest.
$ac_ext
4244 cat >>conftest.
$ac_ext <<_ACEOF
4245 /* end confdefs.h. */
4246 $ac_includes_default
4247 long longval () { return (long) (sizeof (long)); }
4248 unsigned long ulongval () { return (long) (sizeof (long)); }
4255 FILE *f = fopen ("conftest.val", "w");
4258 if (((long) (sizeof (long))) < 0)
4260 long i = longval ();
4261 if (i != ((long) (sizeof (long))))
4263 fprintf (f, "%ld\n", i);
4267 unsigned long i = ulongval ();
4268 if (i != ((long) (sizeof (long))))
4270 fprintf (f, "%lu\n", i);
4272 exit (ferror (f) || fclose (f) != 0);
4278 rm -f conftest
$ac_exeext
4279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4280 (eval $ac_link) 2>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; }; then
4289 ac_cv_sizeof_long
=`cat conftest.val`
4291 echo "$as_me: program exited with status $ac_status" >&5
4292 echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.
$ac_ext >&5
4296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4297 See \`config.log' for more details." >&5
4298 echo "$as_me: error: cannot compute sizeof (long), 77
4299 See \`config.log' for more details." >&2;}
4300 { (exit 1); exit 1; }; }
4302 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4310 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4311 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4312 cat >>confdefs.h
<<_ACEOF
4313 #define SIZEOF_LONG $ac_cv_sizeof_long
4317 echo "$as_me:$LINENO: checking for long long" >&5
4318 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4319 if test "${ac_cv_type_long_long+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 cat >conftest.
$ac_ext <<_ACEOF
4323 #line $LINENO "configure"
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4329 $ac_includes_default
4333 if ((long long *) 0)
4335 if (sizeof (long long))
4341 rm -f conftest.
$ac_objext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343 (eval $ac_compile) 2>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } &&
4347 { ac_try
='test -s conftest.$ac_objext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4353 ac_cv_type_long_long
=yes
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4358 ac_cv_type_long_long
=no
4360 rm -f conftest.
$ac_objext conftest.
$ac_ext
4362 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4363 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4365 echo "$as_me:$LINENO: checking size of long long" >&5
4366 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4367 if test "${ac_cv_sizeof_long_long+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if test "$ac_cv_type_long_long" = yes; then
4371 # The cast to unsigned long works around a bug in the HP C Compiler
4372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4374 # This bug is HP SR number 8606223364.
4375 if test "$cross_compiling" = yes; then
4376 # Depending upon the size, compute the lo and hi bounds.
4377 cat >conftest.
$ac_ext <<_ACEOF
4378 #line $LINENO "configure"
4381 cat confdefs.h
>>conftest.
$ac_ext
4382 cat >>conftest.
$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4384 $ac_includes_default
4388 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } &&
4401 { ac_try
='test -s conftest.$ac_objext'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then
4409 cat >conftest.
$ac_ext <<_ACEOF
4410 #line $LINENO "configure"
4413 cat confdefs.h
>>conftest.
$ac_ext
4414 cat >>conftest.
$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4416 $ac_includes_default
4420 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4427 rm -f conftest.
$ac_objext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } &&
4433 { ac_try
='test -s conftest.$ac_objext'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 ac_hi
=$ac_mid; break
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.
$ac_ext >&5
4444 ac_lo
=`expr $ac_mid + 1`
4445 if test $ac_lo -le $ac_mid; then
4449 ac_mid
=`expr 2 '*' $ac_mid + 1`
4451 rm -f conftest.
$ac_objext conftest.
$ac_ext
4454 echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.
$ac_ext >&5
4457 cat >conftest.
$ac_ext <<_ACEOF
4458 #line $LINENO "configure"
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4464 $ac_includes_default
4468 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4475 rm -f conftest.
$ac_objext
4476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477 (eval $ac_compile) 2>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } &&
4481 { ac_try
='test -s conftest.$ac_objext'
4482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }; }; then
4489 cat >conftest.
$ac_ext <<_ACEOF
4490 #line $LINENO "configure"
4493 cat confdefs.h
>>conftest.
$ac_ext
4494 cat >>conftest.
$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4496 $ac_includes_default
4500 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } &&
4513 { ac_try
='test -s conftest.$ac_objext'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; }; then
4519 ac_lo
=$ac_mid; break
4521 echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.
$ac_ext >&5
4524 ac_hi
=`expr '(' $ac_mid ')' - 1`
4525 if test $ac_mid -le $ac_hi; then
4529 ac_mid
=`expr 2 '*' $ac_mid`
4531 rm -f conftest.
$ac_objext conftest.
$ac_ext
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4539 rm -f conftest.
$ac_objext conftest.
$ac_ext
4541 rm -f conftest.
$ac_objext conftest.
$ac_ext
4542 # Binary search between lo and hi bounds.
4543 while test "x$ac_lo" != "x$ac_hi"; do
4544 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4545 cat >conftest.
$ac_ext <<_ACEOF
4546 #line $LINENO "configure"
4549 cat confdefs.h
>>conftest.
$ac_ext
4550 cat >>conftest.
$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4552 $ac_includes_default
4556 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4563 rm -f conftest.
$ac_objext
4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4565 (eval $ac_compile) 2>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } &&
4569 { ac_try
='test -s conftest.$ac_objext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.
$ac_ext >&5
4580 ac_lo
=`expr '(' $ac_mid ')' + 1`
4582 rm -f conftest.
$ac_objext conftest.
$ac_ext
4585 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
4586 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4587 See \`config.log' for more details." >&5
4588 echo "$as_me: error: cannot compute sizeof (long long), 77
4589 See \`config.log' for more details." >&2;}
4590 { (exit 1); exit 1; }; } ;;
4593 if test "$cross_compiling" = yes; then
4594 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4595 See \`config.log' for more details." >&5
4596 echo "$as_me: error: cannot run test program while cross compiling
4597 See \`config.log' for more details." >&2;}
4598 { (exit 1); exit 1; }; }
4600 cat >conftest.
$ac_ext <<_ACEOF
4601 #line $LINENO "configure"
4604 cat confdefs.h
>>conftest.
$ac_ext
4605 cat >>conftest.
$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 $ac_includes_default
4608 long longval () { return (long) (sizeof (long long)); }
4609 unsigned long ulongval () { return (long) (sizeof (long long)); }
4616 FILE *f = fopen ("conftest.val", "w");
4619 if (((long) (sizeof (long long))) < 0)
4621 long i = longval ();
4622 if (i != ((long) (sizeof (long long))))
4624 fprintf (f, "%ld\n", i);
4628 unsigned long i = ulongval ();
4629 if (i != ((long) (sizeof (long long))))
4631 fprintf (f, "%lu\n", i);
4633 exit (ferror (f) || fclose (f) != 0);
4639 rm -f conftest
$ac_exeext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4641 (eval $ac_link) 2>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 ac_cv_sizeof_long_long
=`cat conftest.val`
4652 echo "$as_me: program exited with status $ac_status" >&5
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.
$ac_ext >&5
4657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4658 See \`config.log' for more details." >&5
4659 echo "$as_me: error: cannot compute sizeof (long long), 77
4660 See \`config.log' for more details." >&2;}
4661 { (exit 1); exit 1; }; }
4663 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4668 ac_cv_sizeof_long_long
=0
4671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4672 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4673 cat >>confdefs.h
<<_ACEOF
4674 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4680 $ac_cv_sizeof_short) SIZE16
="short";;
4681 $ac_cv_sizeof_int) SIZE16
="int";;
4685 $ac_cv_sizeof_int) SIZE32
="int";;
4686 $ac_cv_sizeof_long) SIZE32
="long";;
4687 $ac_cv_sizeof_short) SIZE32
="short";;
4695 # Check whether --enable-localspeex or --disable-localspeex was given.
4696 if test "${enable_localspeex+set}" = set; then
4697 enableval
="$enable_localspeex"
4698 localspeex
=$enableval
4701 if test "${localspeex}" = "yes" ; then
4702 { echo "$as_me:$LINENO: Forcing use of local Speex sources" >&5
4703 echo "$as_me: Forcing use of local Speex sources" >&6;}
4704 elif test "${localspeex}" = "no" ; then
4705 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
4706 echo "$as_me: Forcing use of system Speex library" >&6;}
4707 cat >>confdefs.h
<<\_ACEOF
4708 #define H323_SYSTEM_SPEEX 1
4714 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
4715 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
4716 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 ac_check_lib_save_LIBS
=$LIBS
4720 LIBS
="-lspeex $LIBS"
4721 cat >conftest.
$ac_ext <<_ACEOF
4722 #line $LINENO "configure"
4725 cat confdefs.h
>>conftest.
$ac_ext
4726 cat >>conftest.
$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4729 /* Override any gcc2 internal prototype to avoid an error. */
4733 /* We use char because int might match the return type of a gcc2
4734 builtin and then its argument prototype would still apply. */
4735 char speex_encoder_destroy ();
4739 speex_encoder_destroy ();
4744 rm -f conftest.
$ac_objext conftest
$ac_exeext
4745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4746 (eval $ac_link) 2>&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try
='test -s conftest$ac_exeext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4756 ac_cv_lib_speex_speex_encoder_destroy
=yes
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 ac_cv_lib_speex_speex_encoder_destroy
=no
4763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4764 LIBS
=$ac_check_lib_save_LIBS
4766 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
4767 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
4768 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
4772 if test "x$SPEEX" = "x"; then
4773 { echo "$as_me:$LINENO: Forcing use of local Speex library" >&5
4774 echo "$as_me: Forcing use of local Speex library" >&6;}
4776 echo "$as_me:$LINENO: checking system Speex version" >&5
4777 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
4780 #include <speex_header.h>
4782 int main(int argc,char *argv)
4785 speex_init_header(&header, 1, 1, &speex_nb_mode);
4786 printf("%s\n", header.speex_version);
4789 cc
-o t t.c
-lspeex > /dev
/null
2>&1
4790 if test \
! -x t
; then
4791 echo "$as_me:$LINENO: result: cannot determine - using library version" >&5
4792 echo "${ECHO_T}cannot determine - using library version" >&6
4796 echo "$as_me:$LINENO: result: $SYSVER" >&5
4797 echo "${ECHO_T}$SYSVER" >&6
4798 echo "$as_me:$LINENO: checking library Speex version" >&5
4799 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
4800 LIBVER
=`grep "#define VERSION" ./audio/Speex/libspeex/misc.h | sed -e 's/^.*speex\-//' -e 's/\"//'`
4801 echo "$as_me:$LINENO: result: $LIBVER" >&5
4802 echo "${ECHO_T}$LIBVER" >&6
4803 echo "$as_me:$LINENO: checking Speex versions" >&5
4804 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
4807 \$sysver = @ARGV[0];
4808 \$libver = @ARGV[1];
4809 @lib = split /\./, \$libver;
4813 @sys = split /\./, \$sysver;
4819 #print "comparing " . @sys[\$i] . " and " . @lib[\$i] . "\n";
4820 if (\@sys[\$i] < @lib[\$i]) {
4829 SPEEX
=`perl t.pl $SYSVER $LIBVER`
4831 if test "x$SPEEX" = "x" ; then
4832 echo "$as_me:$LINENO: result: library version is more recent" >&5
4833 echo "${ECHO_T}library version is more recent" >&6
4835 echo "$as_me:$LINENO: result: system version is more recent" >&5
4836 echo "${ECHO_T}system version is more recent" >&6
4837 cat >>confdefs.h
<<\_ACEOF
4838 #define H323_SYSTEM_SPEEX 1
4858 for ac_header
in linux
/telephony.h sys
/telephony.h
/usr
/local
/include
/sys
/telephony.h
4860 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4862 echo "$as_me:$LINENO: checking for $ac_header" >&5
4863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4870 # Is the header compilable?
4871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4873 cat >conftest.
$ac_ext <<_ACEOF
4874 #line $LINENO "configure"
4877 cat confdefs.h
>>conftest.
$ac_ext
4878 cat >>conftest.
$ac_ext <<_ACEOF
4879 /* end confdefs.h. */
4880 $ac_includes_default
4881 #include <$ac_header>
4883 rm -f conftest.
$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try
='test -s conftest.$ac_objext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4895 ac_header_compiler
=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.
$ac_ext >&5
4900 ac_header_compiler
=no
4902 rm -f conftest.
$ac_objext conftest.
$ac_ext
4903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4904 echo "${ECHO_T}$ac_header_compiler" >&6
4906 # Is the header present?
4907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4909 cat >conftest.
$ac_ext <<_ACEOF
4910 #line $LINENO "configure"
4913 cat confdefs.h
>>conftest.
$ac_ext
4914 cat >>conftest.
$ac_ext <<_ACEOF
4915 /* end confdefs.h. */
4916 #include <$ac_header>
4918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } >/dev
/null
; then
4926 if test -s conftest.err
; then
4927 ac_cpp_err
=$ac_c_preproc_warn_flag
4934 if test -z "$ac_cpp_err"; then
4935 ac_header_preproc
=yes
4937 echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.
$ac_ext >&5
4940 ac_header_preproc
=no
4942 rm -f conftest.err conftest.
$ac_ext
4943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4944 echo "${ECHO_T}$ac_header_preproc" >&6
4946 # So? What about this header?
4947 case $ac_header_compiler:$ac_header_preproc in
4949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4955 ## ------------------------------------ ##
4956 ## Report this to bug-autoconf@gnu.org. ##
4957 ## ------------------------------------ ##
4960 sed "s/^/$as_me: WARNING: /" >&2
4963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4971 ## ------------------------------------ ##
4972 ## Report this to bug-autoconf@gnu.org. ##
4973 ## ------------------------------------ ##
4976 sed "s/^/$as_me: WARNING: /" >&2
4979 echo "$as_me:$LINENO: checking for $ac_header" >&5
4980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 eval "$as_ac_Header=$ac_header_preproc"
4986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4991 cat >>confdefs.h
<<_ACEOF
4992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4999 if test "x$HAS_IXJ" != "x" ; then
5000 echo "$as_me:$LINENO: checking if ixjuser.h actually compiles" >&5
5001 echo $ECHO_N "checking if ixjuser.h actually compiles... $ECHO_C" >&6
5002 cat >conftest.
$ac_ext <<_ACEOF
5003 #line $LINENO "configure"
5006 cat confdefs.h
>>conftest.
$ac_ext
5007 cat >>conftest.
$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 #include <linux/ixjuser.h>
5013 int main(int ac,char **av) { return 0; }
5018 rm -f conftest.
$ac_objext
5019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try
='test -s conftest.$ac_objext'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5037 rm -f conftest.
$ac_objext conftest.
$ac_ext
5038 if test "x$HAS_IXJ" != "x" ; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5043 echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6
5053 # Check whether --enable-vpb or --disable-vpb was given.
5054 if test "${enable_vpb+set}" = set; then
5055 enableval
="$enable_vpb"
5058 echo "$as_me:$LINENO: checking Voicetronix vpb" >&5
5059 echo $ECHO_N "checking Voicetronix vpb... $ECHO_C" >&6
5060 if test "$vpb" = "yes" ; then
5062 echo "$as_me:$LINENO: result: enabled" >&5
5063 echo "${ECHO_T}enabled" >&6
5065 echo "$as_me:$LINENO: result: disabled" >&5
5066 echo "${ECHO_T}disabled" >&6
5073 for ac_header
in capi20.h
5075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5077 echo "$as_me:$LINENO: checking for $ac_header" >&5
5078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5085 # Is the header compilable?
5086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5088 cat >conftest.
$ac_ext <<_ACEOF
5089 #line $LINENO "configure"
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5095 $ac_includes_default
5096 #include <$ac_header>
5098 rm -f conftest.
$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_header_compiler
=yes
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5115 ac_header_compiler
=no
5117 rm -f conftest.
$ac_objext conftest.
$ac_ext
5118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5119 echo "${ECHO_T}$ac_header_compiler" >&6
5121 # Is the header present?
5122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5124 cat >conftest.
$ac_ext <<_ACEOF
5125 #line $LINENO "configure"
5128 cat confdefs.h
>>conftest.
$ac_ext
5129 cat >>conftest.
$ac_ext <<_ACEOF
5130 /* end confdefs.h. */
5131 #include <$ac_header>
5133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5136 grep -v '^ *+' conftest.er1
>conftest.err
5138 cat conftest.err
>&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); } >/dev
/null
; then
5141 if test -s conftest.err
; then
5142 ac_cpp_err
=$ac_c_preproc_warn_flag
5149 if test -z "$ac_cpp_err"; then
5150 ac_header_preproc
=yes
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 ac_header_preproc
=no
5157 rm -f conftest.err conftest.
$ac_ext
5158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5159 echo "${ECHO_T}$ac_header_preproc" >&6
5161 # So? What about this header?
5162 case $ac_header_compiler:$ac_header_preproc in
5164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5170 ## ------------------------------------ ##
5171 ## Report this to bug-autoconf@gnu.org. ##
5172 ## ------------------------------------ ##
5175 sed "s/^/$as_me: WARNING: /" >&2
5178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5186 ## ------------------------------------ ##
5187 ## Report this to bug-autoconf@gnu.org. ##
5188 ## ------------------------------------ ##
5191 sed "s/^/$as_me: WARNING: /" >&2
5194 echo "$as_me:$LINENO: checking for $ac_header" >&5
5195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 eval "$as_ac_Header=$ac_header_preproc"
5201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5206 cat >>confdefs.h
<<_ACEOF
5207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5216 # Check whether --enable-capi or --disable-capi was given.
5217 if test "${enable_capi+set}" = set; then
5218 enableval
="$enable_capi"
5221 echo "$as_me:$LINENO: checking CAPI" >&5
5222 echo $ECHO_N "checking CAPI... $ECHO_C" >&6
5223 if test "$capi" = "yes" ; then
5224 if test "x$HAS_CAPI20_H" != "x" ; then
5226 echo "$as_me:$LINENO: result: enabled" >&5
5227 echo "${ECHO_T}enabled" >&6
5229 echo "$as_me:$LINENO: result: not available" >&5
5230 echo "${ECHO_T}not available" >&6
5233 echo "$as_me:$LINENO: result: disabled" >&5
5234 echo "${ECHO_T}disabled" >&6
5240 OLD_CPPFLAGS
=$CPPFLAGS
5241 CPPFLAGS
=-D__LINUX__
5245 for ac_header
in /usr
/local
/include
/libpri.h
5247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5249 echo "$as_me:$LINENO: checking for $ac_header" >&5
5250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5252 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5257 # Is the header compilable?
5258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5260 cat >conftest.
$ac_ext <<_ACEOF
5261 #line $LINENO "configure"
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5267 $ac_includes_default
5268 #include <$ac_header>
5270 rm -f conftest.
$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } &&
5276 { ac_try
='test -s conftest.$ac_objext'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5282 ac_header_compiler
=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 ac_header_compiler
=no
5289 rm -f conftest.
$ac_objext conftest.
$ac_ext
5290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5291 echo "${ECHO_T}$ac_header_compiler" >&6
5293 # Is the header present?
5294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5296 cat >conftest.
$ac_ext <<_ACEOF
5297 #line $LINENO "configure"
5300 cat confdefs.h
>>conftest.
$ac_ext
5301 cat >>conftest.
$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 #include <$ac_header>
5305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5308 grep -v '^ *+' conftest.er1
>conftest.err
5310 cat conftest.err
>&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } >/dev
/null
; then
5313 if test -s conftest.err
; then
5314 ac_cpp_err
=$ac_c_preproc_warn_flag
5321 if test -z "$ac_cpp_err"; then
5322 ac_header_preproc
=yes
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 ac_header_preproc
=no
5329 rm -f conftest.err conftest.
$ac_ext
5330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5331 echo "${ECHO_T}$ac_header_preproc" >&6
5333 # So? What about this header?
5334 case $ac_header_compiler:$ac_header_preproc in
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5342 ## ------------------------------------ ##
5343 ## Report this to bug-autoconf@gnu.org. ##
5344 ## ------------------------------------ ##
5347 sed "s/^/$as_me: WARNING: /" >&2
5350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5358 ## ------------------------------------ ##
5359 ## Report this to bug-autoconf@gnu.org. ##
5360 ## ------------------------------------ ##
5363 sed "s/^/$as_me: WARNING: /" >&2
5366 echo "$as_me:$LINENO: checking for $ac_header" >&5
5367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 eval "$as_ac_Header=$ac_header_preproc"
5373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378 cat >>confdefs.h
<<_ACEOF
5379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5386 if test "x$HAS_SANGOMA" != "x" ; then
5388 for ac_header
in /usr
/local
/include
/libsangoma.h
5390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5392 echo "$as_me:$LINENO: checking for $ac_header" >&5
5393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5400 # Is the header compilable?
5401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5403 cat >conftest.
$ac_ext <<_ACEOF
5404 #line $LINENO "configure"
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 $ac_includes_default
5411 #include <$ac_header>
5413 rm -f conftest.
$ac_objext
5414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5415 (eval $ac_compile) 2>&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } &&
5419 { ac_try
='test -s conftest.$ac_objext'
5420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); }; }; then
5425 ac_header_compiler
=yes
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.
$ac_ext >&5
5430 ac_header_compiler
=no
5432 rm -f conftest.
$ac_objext conftest.
$ac_ext
5433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5434 echo "${ECHO_T}$ac_header_compiler" >&6
5436 # Is the header present?
5437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5439 cat >conftest.
$ac_ext <<_ACEOF
5440 #line $LINENO "configure"
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 #include <$ac_header>
5448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5451 grep -v '^ *+' conftest.er1
>conftest.err
5453 cat conftest.err
>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } >/dev
/null
; then
5456 if test -s conftest.err
; then
5457 ac_cpp_err
=$ac_c_preproc_warn_flag
5464 if test -z "$ac_cpp_err"; then
5465 ac_header_preproc
=yes
5467 echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.
$ac_ext >&5
5470 ac_header_preproc
=no
5472 rm -f conftest.err conftest.
$ac_ext
5473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5474 echo "${ECHO_T}$ac_header_preproc" >&6
5476 # So? What about this header?
5477 case $ac_header_compiler:$ac_header_preproc in
5479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5485 ## ------------------------------------ ##
5486 ## Report this to bug-autoconf@gnu.org. ##
5487 ## ------------------------------------ ##
5490 sed "s/^/$as_me: WARNING: /" >&2
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5501 ## ------------------------------------ ##
5502 ## Report this to bug-autoconf@gnu.org. ##
5503 ## ------------------------------------ ##
5506 sed "s/^/$as_me: WARNING: /" >&2
5509 echo "$as_me:$LINENO: checking for $ac_header" >&5
5510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 eval "$as_ac_Header=$ac_header_preproc"
5516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5521 cat >>confdefs.h
<<_ACEOF
5522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5529 if test "x$HAS_SANGOMA" != "x" ; then
5530 echo "$as_me:$LINENO: checking for pri_new_cb in -lpri" >&5
5531 echo $ECHO_N "checking for pri_new_cb in -lpri... $ECHO_C" >&6
5532 if test "${ac_cv_lib_pri_pri_new_cb+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 ac_check_lib_save_LIBS
=$LIBS
5537 cat >conftest.
$ac_ext <<_ACEOF
5538 #line $LINENO "configure"
5541 cat confdefs.h
>>conftest.
$ac_ext
5542 cat >>conftest.
$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5545 /* Override any gcc2 internal prototype to avoid an error. */
5549 /* We use char because int might match the return type of a gcc2
5550 builtin and then its argument prototype would still apply. */
5560 rm -f conftest.
$ac_objext conftest
$ac_exeext
5561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5562 (eval $ac_link) 2>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } &&
5566 { ac_try
='test -s conftest$ac_exeext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5572 ac_cv_lib_pri_pri_new_cb
=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.
$ac_ext >&5
5577 ac_cv_lib_pri_pri_new_cb
=no
5579 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5580 LIBS
=$ac_check_lib_save_LIBS
5582 echo "$as_me:$LINENO: result: $ac_cv_lib_pri_pri_new_cb" >&5
5583 echo "${ECHO_T}$ac_cv_lib_pri_pri_new_cb" >&6
5584 if test $ac_cv_lib_pri_pri_new_cb = yes; then
5588 if test "x$HAS_SANGOMA" = "x" ; then
5589 { echo "$as_me:$LINENO: *** If the latest libri is installed in /usr/local/lib" >&5
5590 echo "$as_me: *** If the latest libri is installed in /usr/local/lib" >&ensure it is not obscured by an older version
in /usr
/lib
;}
5592 echo "$as_me:$LINENO: checking for sangoma_create_socket in -lsangoma" >&5
5593 echo $ECHO_N "checking for sangoma_create_socket in -lsangoma... $ECHO_C" >&6
5594 if test "${ac_cv_lib_sangoma_sangoma_create_socket+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 ac_check_lib_save_LIBS
=$LIBS
5598 LIBS
="-lsangoma $LIBS"
5599 cat >conftest.
$ac_ext <<_ACEOF
5600 #line $LINENO "configure"
5603 cat confdefs.h
>>conftest.
$ac_ext
5604 cat >>conftest.
$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5607 /* Override any gcc2 internal prototype to avoid an error. */
5611 /* We use char because int might match the return type of a gcc2
5612 builtin and then its argument prototype would still apply. */
5613 char sangoma_create_socket ();
5617 sangoma_create_socket ();
5622 rm -f conftest.
$ac_objext conftest
$ac_exeext
5623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5624 (eval $ac_link) 2>&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } &&
5628 { ac_try
='test -s conftest$ac_exeext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then
5634 ac_cv_lib_sangoma_sangoma_create_socket
=yes
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.
$ac_ext >&5
5639 ac_cv_lib_sangoma_sangoma_create_socket
=no
5641 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5642 LIBS
=$ac_check_lib_save_LIBS
5644 echo "$as_me:$LINENO: result: $ac_cv_lib_sangoma_sangoma_create_socket" >&5
5645 echo "${ECHO_T}$ac_cv_lib_sangoma_sangoma_create_socket" >&6
5646 if test $ac_cv_lib_sangoma_sangoma_create_socket = yes; then
5650 if test "x$HAS_SANGOMA" != "x" ; then
5651 cat >>confdefs.h
<<\_ACEOF
5652 #define HAS_SANGOMA 1
5662 CPPFLAGS
=$OLD_CPPFLAGS
5666 if test -d audio
/gsm-amr
; then
5667 ac_config_files
="$ac_config_files audio/gsm-amr/Makefile"
5670 if test -d audio
/GSM0610
; then
5671 ac_config_files
="$ac_config_files audio/GSM0610/Makefile"
5674 if test -d audio
/iLBC
; then
5675 ac_config_files
="$ac_config_files audio/iLBC/Makefile"
5678 if test -d audio
/Speex
; then
5679 ac_config_files
="$ac_config_files audio/Speex/Makefile"
5682 if test -d audio
/LPC_10
; then
5683 ac_config_files
="$ac_config_files audio/LPC_10/Makefile"
5686 if test -d audio
/G726
; then
5687 ac_config_files
="$ac_config_files audio/G726/Makefile"
5690 if test -d audio
/IMA_ADPCM
; then
5691 ac_config_files
="$ac_config_files audio/IMA_ADPCM/Makefile"
5694 if test -d video
/H
.261-vic ; then
5695 ac_config_files
="$ac_config_files video/H.261-vic/Makefile"
5698 if test -d video
/H
.263-ffmpeg ; then
5699 ac_config_files
="$ac_config_files video/H.263-ffmpeg/Makefile"
5702 if test -d LID
/IxJ
; then
5703 ac_config_files
="$ac_config_files LID/IxJ/Makefile"
5706 if test -d LID
/VPB
; then
5707 ac_config_files
="$ac_config_files LID/VPB/Makefile"
5710 if test -d LID
/CAPI
; then
5711 ac_config_files
="$ac_config_files LID/CAPI/Makefile"
5715 ac_config_files
="$ac_config_files Makefile"
5720 ac_config_files
="$ac_config_files audio/Speex/libspeex/speex_config_types.h"
5721 cat >confcache
<<\_ACEOF
5722 # This file is a shell script that caches the results of configure
5723 # tests run on this system so they can be shared between configure
5724 # scripts and configure runs, see configure's option --config-cache.
5725 # It is not useful on other systems. If it contains results you don't
5726 # want to keep, you may remove or edit it.
5728 # config.status only pays attention to the cache file if you give it
5729 # the --recheck option to rerun configure.
5731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5737 # The following way of writing the cache mishandles newlines in values,
5738 # but we know of no workaround that is simple, portable, and efficient.
5739 # So, don't put newlines in cache variables' values.
5740 # Ultrix sh set writes to stderr and can't be redirected directly,
5741 # and sets the high bit in the cache file unless we assign to the vars.
5744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5746 # `set' does not quote correctly, so add quotes (double-quote
5747 # substitution turns \\\\ into \\, and sed turns \\ into \).
5750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5753 # `set' quotes correctly as required by POSIX, so do not add quotes.
5755 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5764 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5766 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5767 if test -w $cache_file; then
5768 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5769 cat confcache
>$cache_file
5771 echo "not updating unwritable cache $cache_file"
5776 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5777 # Let make expand exec_prefix.
5778 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5780 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5781 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5782 # trailing colons and then remove the whole line if VPATH becomes empty
5783 # (actually we leave an empty line to preserve line numbers).
5784 if test "x$srcdir" = x.
; then
5785 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5786 s/:*\$(srcdir):*/:/;
5787 s/:*\${srcdir}:*/:/;
5789 s/^\([^=]*=[ ]*\):*/\1/;
5795 # Transform confdefs.h into DEFS.
5796 # Protect against shell expansion while executing Makefile rules.
5797 # Protect against Makefile macro expansion.
5799 # If the first sed substitution is executed (which looks for macros that
5800 # take arguments), then we branch to the quote section. Otherwise,
5801 # look for a macro that doesn't take arguments.
5802 cat >confdef2opt.
sed <<\_ACEOF
5805 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5807 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5811 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5817 # We use echo to avoid assuming a particular line-breaking character.
5818 # The extra dot is to prevent the shell from consuming trailing
5819 # line-breaks from the sub-command output. A line-break within
5820 # single-quotes doesn't work because, if this script is created in a
5821 # platform that uses two characters for line-breaks (e.g., DOS), tr
5823 ac_LF_and_DOT=`echo; echo .
`
5824 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5825 rm -f confdef2opt.sed
5830 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5831 # 1. Remove the extension, and $U if already installed.
5832 ac_i=`echo "$ac_i" |
5833 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5835 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5836 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5840 LTLIBOBJS=$ac_ltlibobjs
5844 : ${CONFIG_STATUS=./config.status}
5845 ac_clean_files_save=$ac_clean_files
5846 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5847 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5848 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5849 cat >$CONFIG_STATUS <<_ACEOF
5851 # Generated by $as_me.
5852 # Run this file to recreate the current configuration.
5853 # Compiler output produced by configure, useful for debugging
5854 # configure, is in config.log if it exists.
5859 SHELL=\${CONFIG_SHELL-$SHELL}
5862 cat >>$CONFIG_STATUS <<\_ACEOF
5863 ## --------------------- ##
5864 ## M4sh Initialization. ##
5865 ## --------------------- ##
5867 # Be Bourne compatible
5868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5871 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5872 # is contrary to our usage. Disable this feature.
5873 alias -g '${1+"$@"}'='"$@"'
5874 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5878 # Support unset when possible.
5879 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5886 # Work around bugs in pre-3.0 UWIN ksh.
5887 $as_unset ENV MAIL MAILPATH
5894 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5895 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5896 LC_TELEPHONE LC_TIME
5898 if (set +x; test -n "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5899 eval $as_var=C; export $as_var
5905 # Required to use basename.
5906 if expr a : '\(a\)' >/dev/null 2>&1; then
5912 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5913 as_basename=basename
5919 # Name of the executable.
5920 as_me=`$as_basename "$0" ||
5921 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5922 X
"$0" : 'X\(//\)$' \| \
5923 X
"$0" : 'X\(/\)$' \| \
5924 .
: '\(.\)' 2>/dev
/null ||
5926 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5927 /^X\/\(\/\/\)$/{ s//\1/; q; }
5928 /^X\/\(\/\).*/{ s//\1/; q; }
5932 # PATH needs CR, and LINENO needs CR and PATH.
5933 # Avoid depending upon Character Ranges.
5934 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5935 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5936 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5937 as_cr_digits='0123456789'
5938 as_cr_alnum=$as_cr_Letters$as_cr_digits
5940 # The user is always right.
5941 if test "${PATH_SEPARATOR+set}" != set; then
5942 echo "#! /bin/sh" >conf$$.sh
5943 echo "exit 0" >>conf$$.sh
5945 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5956 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5957 test "x$as_lineno_1" != "x$as_lineno_2" &&
5958 test "x$as_lineno_3" = "x$as_lineno_2" || {
5959 # Find who we are. Look in the path if we contain no path at all
5962 *[\\/]* ) as_myself=$0 ;;
5963 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5973 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5974 # in which case we are not to be found in the path.
5975 if test "x$as_myself" = x; then
5978 if test ! -f "$as_myself"; then
5979 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5980 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5981 { (exit 1); exit 1; }; }
5983 case $CONFIG_SHELL in
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5989 test -z "$as_dir" && as_dir=.
5990 for as_base in sh bash ksh sh5; do
5993 if ("$as_dir/$as_base" -c '
5996 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5997 test "x$as_lineno_1" != "x$as_lineno_2" &&
5998 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5999 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6000 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6001 CONFIG_SHELL=$as_dir/$as_base
6003 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6011 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6012 # uniformly replaced by the line number. The first 'sed' inserts a
6013 # line-number line before each line; the second 'sed' does the real
6014 # work. The second script uses 'N
' to pair each line-number line
6015 # with the numbered line, and appends trailing '-' during
6016 # substitution so that $LINENO is not a special case at line end.
6017 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6018 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
6019 sed '=' <$as_myself |
6024 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6027 s,^['$as_cr_digits']*\n,,
6029 chmod +x
$as_me.lineno ||
6030 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6031 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6032 { (exit 1); exit 1; }; }
6034 # Don't try to exec as it changes $[0], causing all sort of problems
6035 # (the dirname of $[0] is not the place where we might find the
6036 # original and so on. Autoconf is especially sensible to this).
6038 # Exit status is that of the last command.
6043 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6044 *c
*,-n*) ECHO_N
= ECHO_C
='
6046 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6047 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6050 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6056 rm -f conf$$ conf$$.exe conf$$.
file
6058 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6059 # We could just check for DJGPP; but this test a) works b) is more generic
6060 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6061 if test -f conf$$.exe
; then
6062 # Don't use ln at all; we don't have any links
6067 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6072 rm -f conf$$ conf$$.exe conf$$.
file
6074 if mkdir
-p .
2>/dev
/null
; then
6080 as_executable_p
="test -f"
6082 # Sed expression to map a string onto a valid CPP name.
6083 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6085 # Sed expression to map a string onto a valid variable name.
6086 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6090 # We need space, tab and new line, in precisely that order.
6100 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6101 # report actual input values of CONFIG_FILES etc. instead of their
6102 # values after options handling. Logging --version etc. is OK.
6106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6107 ## Running $as_me. ##
6112 This file was extended by $as_me, which was
6113 generated by GNU Autoconf 2.57. Invocation command line was
6115 CONFIG_FILES = $CONFIG_FILES
6116 CONFIG_HEADERS = $CONFIG_HEADERS
6117 CONFIG_LINKS = $CONFIG_LINKS
6118 CONFIG_COMMANDS = $CONFIG_COMMANDS
6122 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6126 # Files that config.status was made for.
6127 if test -n "$ac_config_files"; then
6128 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6131 if test -n "$ac_config_headers"; then
6132 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6135 if test -n "$ac_config_links"; then
6136 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6139 if test -n "$ac_config_commands"; then
6140 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6143 cat >>$CONFIG_STATUS <<\_ACEOF
6146 \`$as_me' instantiates files from templates according to the
6147 current configuration.
6149 Usage: $0 [OPTIONS] [FILE]...
6151 -h, --help print this help, then exit
6152 -V, --version print version number, then exit
6153 -q, --quiet do not print progress messages
6154 -d, --debug don't remove temporary files
6155 --recheck update $as_me by reconfiguring in the same conditions
6156 --file=FILE[:TEMPLATE]
6157 instantiate the configuration file FILE
6159 Configuration files:
6162 Report bugs to <bug-autoconf@gnu.org>."
6165 cat >>$CONFIG_STATUS <<_ACEOF
6168 configured by $0, generated by GNU Autoconf 2.57,
6169 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6171 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6172 Free Software Foundation, Inc.
6173 This config.status script is free software; the Free Software Foundation
6174 gives unlimited permission to copy, distribute and modify it."
6178 cat >>$CONFIG_STATUS <<\_ACEOF
6179 # If no file are specified by the user, then we need to provide default
6180 # value. By we need to know if files were specified by the user.
6186 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6187 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6195 *) # This is not an option, so the user has probably given explicit
6198 ac_need_defaults
=false
;;
6202 # Handling of the options.
6204 cat >>$CONFIG_STATUS <<\_ACEOF
6205 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6207 --version |
--vers* |
-V )
6208 echo "$ac_cs_version"; exit 0 ;;
6210 # Conflict between --help and --header
6211 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6212 Try \`$0 --help' for more information." >&5
6213 echo "$as_me: error: ambiguous option: $1
6214 Try \`$0 --help' for more information." >&2;}
6215 { (exit 1); exit 1; }; };;
6216 --help |
--hel |
-h )
6217 echo "$ac_cs_usage"; exit 0 ;;
6218 --debug |
--d* |
-d )
6220 --file |
--fil |
--fi |
--f )
6222 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6223 ac_need_defaults
=false
;;
6224 --header |
--heade |
--head |
--hea )
6226 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6227 ac_need_defaults
=false
;;
6228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6229 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6233 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6234 Try \`$0 --help' for more information." >&5
6235 echo "$as_me: error: unrecognized option: $1
6236 Try \`$0 --help' for more information." >&2;}
6237 { (exit 1); exit 1; }; } ;;
6239 *) ac_config_targets
="$ac_config_targets $1" ;;
6245 ac_configure_extra_args
=
6247 if $ac_cs_silent; then
6249 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6253 cat >>$CONFIG_STATUS <<_ACEOF
6254 if \$ac_cs_recheck; then
6255 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6256 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6265 cat >>$CONFIG_STATUS <<\_ACEOF
6266 for ac_config_target
in $ac_config_targets
6268 case "$ac_config_target" in
6269 # Handling of arguments.
6270 "audio/gsm-amr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/gsm-amr/Makefile" ;;
6271 "audio/GSM0610/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/GSM0610/Makefile" ;;
6272 "audio/iLBC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/iLBC/Makefile" ;;
6273 "audio/Speex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/Makefile" ;;
6274 "audio/LPC_10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/LPC_10/Makefile" ;;
6275 "audio/G726/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/G726/Makefile" ;;
6276 "audio/IMA_ADPCM/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/IMA_ADPCM/Makefile" ;;
6277 "video/H.261-vic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.261-vic/Makefile" ;;
6278 "video/H.263-ffmpeg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.263-ffmpeg/Makefile" ;;
6279 "LID/IxJ/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/IxJ/Makefile" ;;
6280 "LID/VPB/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/VPB/Makefile" ;;
6281 "LID/CAPI/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/CAPI/Makefile" ;;
6282 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6283 "audio/Speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/libspeex/speex_config_types.h" ;;
6284 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6285 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6286 { (exit 1); exit 1; }; };;
6290 # If the user did not use the arguments to specify the items to instantiate,
6291 # then the envvar interface is used. Set only those that are not.
6292 # We use the long form for the default assignment because of an extremely
6293 # bizarre bug on SunOS 4.1.3.
6294 if $ac_need_defaults; then
6295 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6298 # Have a temporary directory for convenience. Make it in the build tree
6299 # simply because there is no reason to put it here, and in addition,
6300 # creating and moving files from /tmp can sometimes cause problems.
6301 # Create a temporary directory, and hook for its removal unless debugging.
6304 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6305 trap '{ (exit 1); exit 1; }' 1 2 13 15
6308 # Create a (secure) tmp directory for tmp files.
6311 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6312 test -n "$tmp" && test -d "$tmp"
6315 tmp
=.
/confstat$$
-$RANDOM
6316 (umask 077 && mkdir
$tmp)
6319 echo "$me: cannot create a temporary directory in ." >&2
6320 { (exit 1); exit 1; }
6325 cat >>$CONFIG_STATUS <<_ACEOF
6328 # CONFIG_FILES section.
6331 # No need to generate the scripts if there are no CONFIG_FILES.
6332 # This happens for instance when ./config.status config.h
6333 if test -n "\$CONFIG_FILES"; then
6334 # Protect against being on the right side of a sed subst in config.status.
6335 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6336 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6337 s,@SHELL@,$SHELL,;t t
6338 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6339 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6340 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6341 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6342 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6343 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6344 s,@exec_prefix@,$exec_prefix,;t t
6345 s,@prefix@,$prefix,;t t
6346 s,@program_transform_name@,$program_transform_name,;t t
6347 s,@bindir@,$bindir,;t t
6348 s,@sbindir@,$sbindir,;t t
6349 s,@libexecdir@,$libexecdir,;t t
6350 s,@datadir@,$datadir,;t t
6351 s,@sysconfdir@,$sysconfdir,;t t
6352 s,@sharedstatedir@,$sharedstatedir,;t t
6353 s,@localstatedir@,$localstatedir,;t t
6354 s,@libdir@,$libdir,;t t
6355 s,@includedir@,$includedir,;t t
6356 s,@oldincludedir@,$oldincludedir,;t t
6357 s,@infodir@,$infodir,;t t
6358 s,@mandir@,$mandir,;t t
6359 s,@build_alias@,$build_alias,;t t
6360 s,@host_alias@,$host_alias,;t t
6361 s,@target_alias@,$target_alias,;t t
6363 s,@ECHO_C@,$ECHO_C,;t t
6364 s,@ECHO_N@,$ECHO_N,;t t
6365 s,@ECHO_T@,$ECHO_T,;t t
6368 s,@CXXFLAGS@,$CXXFLAGS,;t t
6369 s,@LDFLAGS@,$LDFLAGS,;t t
6370 s,@CPPFLAGS@,$CPPFLAGS,;t t
6371 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6372 s,@EXEEXT@,$EXEEXT,;t t
6373 s,@OBJEXT@,$OBJEXT,;t t
6375 s,@CFLAGS@,$CFLAGS,;t t
6376 s,@ac_ct_CC@,$ac_ct_CC,;t t
6378 s,@EGREP@,$EGREP,;t t
6379 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6380 s,@LIBDIR@,$LIBDIR,;t t
6381 s,@build@,$build,;t t
6382 s,@build_cpu@,$build_cpu,;t t
6383 s,@build_vendor@,$build_vendor,;t t
6384 s,@build_os@,$build_os,;t t
6386 s,@host_cpu@,$host_cpu,;t t
6387 s,@host_vendor@,$host_vendor,;t t
6388 s,@host_os@,$host_os,;t t
6389 s,@target@,$target,;t t
6390 s,@target_cpu@,$target_cpu,;t t
6391 s,@target_vendor@,$target_vendor,;t t
6392 s,@target_os@,$target_os,;t t
6394 s,@H323_GSMAMR_NB_FLOAT@,$H323_GSMAMR_NB_FLOAT,;t t
6395 s,@H323_SYSTEM_GSM@,$H323_SYSTEM_GSM,;t t
6396 s,@SIZE16@,$SIZE16,;t t
6397 s,@SIZE32@,$SIZE32,;t t
6398 s,@H323_SYSTEM_SPEEX@,$H323_SYSTEM_SPEEX,;t t
6399 s,@HAS_FFMPEG@,$HAS_FFMPEG,;t t
6400 s,@HAS_IXJ@,$HAS_IXJ,;t t
6401 s,@HAS_VPB@,$HAS_VPB,;t t
6402 s,@HAS_CAPI@,$HAS_CAPI,;t t
6403 s,@HAS_SANGOMA@,$HAS_SANGOMA,;t t
6404 s,@LIBOBJS@,$LIBOBJS,;t t
6405 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6410 cat >>$CONFIG_STATUS <<\_ACEOF
6411 # Split the substitutions into bite-sized pieces for seds with
6412 # small command number limits, like on Digital OSF/1 and HP-UX.
6414 ac_sed_frag
=1 # Number of current file.
6415 ac_beg
=1 # First line for current file.
6416 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6419 while $ac_more_lines; do
6420 if test $ac_beg -gt 1; then
6421 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6423 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6425 if test ! -s $tmp/subs.frag
; then
6428 # The purpose of the label and of the branching condition is to
6429 # speed up the sed processing (if there are no `@' at all, there
6430 # is no need to browse any of the substitutions).
6431 # These are the two extra sed commands mentioned above.
6433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6434 if test -z "$ac_sed_cmds"; then
6435 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6437 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6439 ac_sed_frag
=`expr $ac_sed_frag + 1`
6441 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6444 if test -z "$ac_sed_cmds"; then
6447 fi # test -n "$CONFIG_FILES"
6450 cat >>$CONFIG_STATUS <<\_ACEOF
6451 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6452 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6454 - |
*:- |
*:-:* ) # input from stdin
6456 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6457 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6458 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6459 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6460 * ) ac_file_in
=$ac_file.
in ;;
6463 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6464 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6466 X"$ac_file" : 'X\(//\)[^/]' \| \
6467 X"$ac_file" : 'X\(//\)$' \| \
6468 X"$ac_file" : 'X\(/\)' \| \
6469 . : '\(.\)' 2>/dev/null ||
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6473 /^X\(\/\/\)$/{ s//\1/; q; }
6474 /^X\(\/\).*/{ s//\1/; q; }
6476 { if $as_mkdir_p; then
6481 while test ! -d "$as_dir"; do
6482 as_dirs
="$as_dir $as_dirs"
6483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6485 X"$as_dir" : 'X\(//\)[^/]' \| \
6486 X"$as_dir" : 'X\(//\)$' \| \
6487 X"$as_dir" : 'X\(/\)' \| \
6488 . : '\(.\)' 2>/dev/null ||
6490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6492 /^X\(\/\/\)$/{ s//\1/; q; }
6493 /^X\(\/\).*/{ s//\1/; q; }
6496 test ! -n "$as_dirs" || mkdir
$as_dirs
6497 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6498 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6499 { (exit 1); exit 1; }; }; }
6503 if test "$ac_dir" != .
; then
6504 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6505 # A "../" for each directory in $ac_dir_suffix.
6506 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6508 ac_dir_suffix
= ac_top_builddir
=
6512 .
) # No --srcdir option. We are building in place.
6514 if test -z "$ac_top_builddir"; then
6517 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6519 [\\/]* | ?
:[\\/]* ) # Absolute path.
6520 ac_srcdir
=$srcdir$ac_dir_suffix;
6521 ac_top_srcdir
=$srcdir ;;
6523 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6524 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6526 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6528 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6529 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6530 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6531 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6535 if test x
"$ac_file" != x-
; then
6536 { echo "$as_me:$LINENO: creating $ac_file" >&5
6537 echo "$as_me: creating $ac_file" >&6;}
6540 # Let's still pretend it is `configure' which instantiates (i.e., don't
6541 # use $as_me), people would be surprised to read:
6542 # /* config.h. Generated by config.status. */
6543 if test x
"$ac_file" = x-
; then
6546 configure_input
="$ac_file. "
6548 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6549 sed 's,.*/,,'` by configure."
6551 # First look for the input files in the build tree, otherwise in the
6553 ac_file_inputs
=`IFS=:
6554 for f in $ac_file_in; do
6556 -) echo $tmp/stdin ;;
6558 # Absolute (can't be DOS-style, as IFS=:)
6559 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6560 echo "$as_me: error: cannot find input file: $f" >&2;}
6561 { (exit 1); exit 1; }; }
6564 if test -f "$f"; then
6567 elif test -f "$srcdir/$f"; then
6572 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6573 echo "$as_me: error: cannot find input file: $f" >&2;}
6574 { (exit 1); exit 1; }; }
6577 done` ||
{ (exit 1); exit 1; }
6579 cat >>$CONFIG_STATUS <<_ACEOF
6583 cat >>$CONFIG_STATUS <<\_ACEOF
6585 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6586 s
,@configure_input@
,$configure_input,;t t
6587 s
,@srcdir@
,$ac_srcdir,;t t
6588 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6589 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6590 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6591 s
,@builddir@
,$ac_builddir,;t t
6592 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6593 s
,@top_builddir@
,$ac_top_builddir,;t t
6594 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6595 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6597 if test x"$ac_file" != x-; then
6598 mv $tmp/out $ac_file
6607 cat >>$CONFIG_STATUS <<\_ACEOF
6609 { (exit 0); exit 0; }
6611 chmod +x $CONFIG_STATUS
6612 ac_clean_files=$ac_clean_files_save
6615 # configure is writing to config.log, and then calls config.status.
6616 # config.status does its own redirection, appending to config.log.
6617 # Unfortunately, on DOS this fails, as config.log is still kept open
6618 # by configure, so config.status won't be able to write to it; its
6619 # output is simply discarded. So we exec the FD to /dev/null,
6620 # effectively closing config.log, so it can be properly (re)opened and
6621 # appended to by config.status. When coming back to configure, we
6622 # need to make the FD available again.
6623 if test "$no_create" != yes; then
6625 ac_config_status_args=
6626 test "$silent" = yes &&
6627 ac_config_status_args="$ac_config_status_args --quiet"
6629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6632 # would make configure fail if this is the last instruction.
6633 $ac_cs_success || { (exit 1); exit 1; }
6636 cat >confcache <<\_ACEOF
6637 # This file is a shell script that caches the results of configure
6638 # tests run on this system so they can be shared between configure
6639 # scripts and configure runs, see configure's option --config-cache.
6640 # It is not useful on other systems. If it contains results you don't
6641 # want to keep, you may remove or edit it.
6643 # config.status only pays attention to the cache file if you give it
6644 # the --recheck option to rerun configure.
6646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6652 # The following way of writing the cache mishandles newlines in values,
6653 # but we know of no workaround that is simple, portable, and efficient.
6654 # So, don't put newlines in cache variables' values.
6655 # Ultrix sh set writes to stderr and can't be redirected directly,
6656 # and sets the high bit in the cache file unless we assign to the vars.
6659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6661 # `set' does not quote correctly, so add quotes (double-quote
6662 # substitution turns \\\\ into \\, and sed turns \\ into \).
6665 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
6668 # `set' quotes correctly as required by POSIX, so do not add quotes.
6670 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
6677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6679 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6681 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6682 if test -w $cache_file; then
6683 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
6684 cat confcache >$cache_file
6686 echo "not updating unwritable cache
$cache_file"
6691 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
6692 # Let make expand exec_prefix.
6693 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
6695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6697 # trailing colons and then remove the whole line if VPATH becomes empty
6698 # (actually we leave an empty line to preserve line numbers).
6699 if test "x
$srcdir" = x.; then
6700 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6701 s/:*\$(srcdir):*/:/;
6702 s/:*\${srcdir}:*/:/;
6704 s/^\([^=]*=[ ]*\):*/\1/;
6710 # Transform confdefs.h into DEFS.
6711 # Protect against shell expansion while executing Makefile rules.
6712 # Protect against Makefile macro expansion.
6714 # If the first sed substitution is executed (which looks for macros that
6715 # take arguments), then we branch to the quote section. Otherwise,
6716 # look for a macro that doesn't take arguments.
6717 cat >confdef2opt.sed <<\_ACEOF
6720 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6722 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6726 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
6732 # We use echo to avoid assuming a particular line-breaking character.
6733 # The extra dot is to prevent the shell from consuming trailing
6734 # line-breaks from the sub-command output. A line-break within
6735 # single-quotes doesn't work because, if this script is created in a
6736 # platform that uses two characters for line-breaks (e.g., DOS), tr
6738 ac_LF_and_DOT
=`echo; echo .`
6739 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6740 rm -f confdef2opt.
sed
6745 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6746 # 1. Remove the extension, and $U if already installed.
6747 ac_i
=`echo "$ac_i" |
6748 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6750 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6751 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6755 LTLIBOBJS
=$ac_ltlibobjs
6759 : ${CONFIG_STATUS=./config.status}
6760 ac_clean_files_save
=$ac_clean_files
6761 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6762 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6763 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6764 cat >$CONFIG_STATUS <<_ACEOF
6766 # Generated by $as_me.
6767 # Run this file to recreate the current configuration.
6768 # Compiler output produced by configure, useful for debugging
6769 # configure, is in config.log if it exists.
6774 SHELL=\${CONFIG_SHELL-$SHELL}
6777 cat >>$CONFIG_STATUS <<\_ACEOF
6778 ## --------------------- ##
6779 ## M4sh Initialization. ##
6780 ## --------------------- ##
6782 # Be Bourne compatible
6783 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6786 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6787 # is contrary to our usage. Disable this feature.
6788 alias -g '${1+"$@"}'='"$@"'
6789 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6793 # Support unset when possible.
6794 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6801 # Work around bugs in pre-3.0 UWIN ksh.
6802 $as_unset ENV MAIL MAILPATH
6809 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6810 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6811 LC_TELEPHONE LC_TIME
6813 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6814 eval $as_var=C
; export $as_var
6820 # Required to use basename.
6821 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6827 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6828 as_basename
=basename
6834 # Name of the executable.
6835 as_me
=`$as_basename "$0" ||
6836 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6837 X"$0" : 'X\(//\)$' \| \
6838 X"$0" : 'X\(/\)$' \| \
6839 . : '\(.\)' 2>/dev/null ||
6841 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6842 /^X\/\(\/\/\)$/{ s//\1/; q; }
6843 /^X\/\(\/\).*/{ s//\1/; q; }
6847 # PATH needs CR, and LINENO needs CR and PATH.
6848 # Avoid depending upon Character Ranges.
6849 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6850 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6851 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6852 as_cr_digits
='0123456789'
6853 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6855 # The user is always right.
6856 if test "${PATH_SEPARATOR+set}" != set; then
6857 echo "#! /bin/sh" >conf$$.sh
6858 echo "exit 0" >>conf$$.sh
6860 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6871 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6872 test "x$as_lineno_1" != "x$as_lineno_2" &&
6873 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6874 # Find who we are. Look in the path if we contain no path at all
6877 *[\\/]* ) as_myself
=$0 ;;
6878 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir
=.
6883 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6888 # We did not find ourselves, most probably we were run as `sh COMMAND'
6889 # in which case we are not to be found in the path.
6890 if test "x$as_myself" = x
; then
6893 if test ! -f "$as_myself"; then
6894 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6895 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6896 { (exit 1); exit 1; }; }
6898 case $CONFIG_SHELL in
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6904 test -z "$as_dir" && as_dir
=.
6905 for as_base
in sh bash ksh sh5
; do
6908 if ("$as_dir/$as_base" -c '
6911 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6912 test "x$as_lineno_1" != "x$as_lineno_2" &&
6913 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6914 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6915 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6916 CONFIG_SHELL
=$as_dir/$as_base
6918 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6926 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6927 # uniformly replaced by the line number. The first 'sed' inserts a
6928 # line-number line before each line; the second 'sed' does the real
6929 # work. The second script uses 'N' to pair each line-number line
6930 # with the numbered line, and appends trailing '-' during
6931 # substitution so that $LINENO is not a special case at line end.
6932 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6933 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6934 sed '=' <$as_myself |
6939 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6942 s,^['$as_cr_digits']*\n,,
6944 chmod +x
$as_me.lineno ||
6945 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6946 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6947 { (exit 1); exit 1; }; }
6949 # Don't try to exec as it changes $[0], causing all sort of problems
6950 # (the dirname of $[0] is not the place where we might find the
6951 # original and so on. Autoconf is especially sensible to this).
6953 # Exit status is that of the last command.
6958 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6959 *c
*,-n*) ECHO_N
= ECHO_C
='
6961 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6962 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6965 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6971 rm -f conf$$ conf$$.exe conf$$.
file
6973 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6974 # We could just check for DJGPP; but this test a) works b) is more generic
6975 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6976 if test -f conf$$.exe
; then
6977 # Don't use ln at all; we don't have any links
6982 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6987 rm -f conf$$ conf$$.exe conf$$.
file
6989 if mkdir
-p .
2>/dev
/null
; then
6995 as_executable_p
="test -f"
6997 # Sed expression to map a string onto a valid CPP name.
6998 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7000 # Sed expression to map a string onto a valid variable name.
7001 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7005 # We need space, tab and new line, in precisely that order.
7015 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7016 # report actual input values of CONFIG_FILES etc. instead of their
7017 # values after options handling. Logging --version etc. is OK.
7021 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7022 ## Running $as_me. ##
7027 This file was extended by $as_me, which was
7028 generated by GNU Autoconf 2.57. Invocation command line was
7030 CONFIG_FILES = $CONFIG_FILES
7031 CONFIG_HEADERS = $CONFIG_HEADERS
7032 CONFIG_LINKS = $CONFIG_LINKS
7033 CONFIG_COMMANDS = $CONFIG_COMMANDS
7037 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7041 # Files that config.status was made for.
7042 if test -n "$ac_config_files"; then
7043 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7046 if test -n "$ac_config_headers"; then
7047 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7050 if test -n "$ac_config_links"; then
7051 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7054 if test -n "$ac_config_commands"; then
7055 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7058 cat >>$CONFIG_STATUS <<\_ACEOF
7061 \`$as_me' instantiates files from templates according to the
7062 current configuration.
7064 Usage: $0 [OPTIONS] [FILE]...
7066 -h, --help print this help, then exit
7067 -V, --version print version number, then exit
7068 -q, --quiet do not print progress messages
7069 -d, --debug don't remove temporary files
7070 --recheck update $as_me by reconfiguring in the same conditions
7071 --file=FILE[:TEMPLATE]
7072 instantiate the configuration file FILE
7074 Configuration files:
7077 Report bugs to <bug-autoconf@gnu.org>."
7080 cat >>$CONFIG_STATUS <<_ACEOF
7083 configured by $0, generated by GNU Autoconf 2.57,
7084 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7086 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7087 Free Software Foundation, Inc.
7088 This config.status script is free software; the Free Software Foundation
7089 gives unlimited permission to copy, distribute and modify it."
7093 cat >>$CONFIG_STATUS <<\_ACEOF
7094 # If no file are specified by the user, then we need to provide default
7095 # value. By we need to know if files were specified by the user.
7101 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7102 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7110 *) # This is not an option, so the user has probably given explicit
7113 ac_need_defaults
=false
;;
7117 # Handling of the options.
7119 cat >>$CONFIG_STATUS <<\_ACEOF
7120 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7122 --version |
--vers* |
-V )
7123 echo "$ac_cs_version"; exit 0 ;;
7125 # Conflict between --help and --header
7126 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7127 Try \`$0 --help' for more information." >&5
7128 echo "$as_me: error: ambiguous option: $1
7129 Try \`$0 --help' for more information." >&2;}
7130 { (exit 1); exit 1; }; };;
7131 --help |
--hel |
-h )
7132 echo "$ac_cs_usage"; exit 0 ;;
7133 --debug |
--d* |
-d )
7135 --file |
--fil |
--fi |
--f )
7137 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7138 ac_need_defaults
=false
;;
7139 --header |
--heade |
--head |
--hea )
7141 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7142 ac_need_defaults
=false
;;
7143 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7144 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7148 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7149 Try \`$0 --help' for more information." >&5
7150 echo "$as_me: error: unrecognized option: $1
7151 Try \`$0 --help' for more information." >&2;}
7152 { (exit 1); exit 1; }; } ;;
7154 *) ac_config_targets
="$ac_config_targets $1" ;;
7160 ac_configure_extra_args
=
7162 if $ac_cs_silent; then
7164 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7168 cat >>$CONFIG_STATUS <<_ACEOF
7169 if \$ac_cs_recheck; then
7170 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7171 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7180 cat >>$CONFIG_STATUS <<\_ACEOF
7181 for ac_config_target
in $ac_config_targets
7183 case "$ac_config_target" in
7184 # Handling of arguments.
7185 "audio/gsm-amr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/gsm-amr/Makefile" ;;
7186 "audio/GSM0610/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/GSM0610/Makefile" ;;
7187 "audio/iLBC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/iLBC/Makefile" ;;
7188 "audio/Speex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/Makefile" ;;
7189 "audio/LPC_10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/LPC_10/Makefile" ;;
7190 "audio/G726/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/G726/Makefile" ;;
7191 "audio/IMA_ADPCM/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/IMA_ADPCM/Makefile" ;;
7192 "video/H.261-vic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.261-vic/Makefile" ;;
7193 "video/H.263-ffmpeg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.263-ffmpeg/Makefile" ;;
7194 "LID/IxJ/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/IxJ/Makefile" ;;
7195 "LID/VPB/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/VPB/Makefile" ;;
7196 "LID/CAPI/Makefile" ) CONFIG_FILES
="$CONFIG_FILES LID/CAPI/Makefile" ;;
7197 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7198 "audio/Speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/libspeex/speex_config_types.h" ;;
7199 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7200 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7201 { (exit 1); exit 1; }; };;
7205 # If the user did not use the arguments to specify the items to instantiate,
7206 # then the envvar interface is used. Set only those that are not.
7207 # We use the long form for the default assignment because of an extremely
7208 # bizarre bug on SunOS 4.1.3.
7209 if $ac_need_defaults; then
7210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7213 # Have a temporary directory for convenience. Make it in the build tree
7214 # simply because there is no reason to put it here, and in addition,
7215 # creating and moving files from /tmp can sometimes cause problems.
7216 # Create a temporary directory, and hook for its removal unless debugging.
7219 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7220 trap '{ (exit 1); exit 1; }' 1 2 13 15
7223 # Create a (secure) tmp directory for tmp files.
7226 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7227 test -n "$tmp" && test -d "$tmp"
7230 tmp
=.
/confstat$$
-$RANDOM
7231 (umask 077 && mkdir
$tmp)
7234 echo "$me: cannot create a temporary directory in ." >&2
7235 { (exit 1); exit 1; }
7240 cat >>$CONFIG_STATUS <<_ACEOF
7243 # CONFIG_FILES section.
7246 # No need to generate the scripts if there are no CONFIG_FILES.
7247 # This happens for instance when ./config.status config.h
7248 if test -n "\$CONFIG_FILES"; then
7249 # Protect against being on the right side of a sed subst in config.status.
7250 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7251 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7252 s,@SHELL@,$SHELL,;t t
7253 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7254 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7255 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7256 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7257 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7258 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7259 s,@exec_prefix@,$exec_prefix,;t t
7260 s,@prefix@,$prefix,;t t
7261 s,@program_transform_name@,$program_transform_name,;t t
7262 s,@bindir@,$bindir,;t t
7263 s,@sbindir@,$sbindir,;t t
7264 s,@libexecdir@,$libexecdir,;t t
7265 s,@datadir@,$datadir,;t t
7266 s,@sysconfdir@,$sysconfdir,;t t
7267 s,@sharedstatedir@,$sharedstatedir,;t t
7268 s,@localstatedir@,$localstatedir,;t t
7269 s,@libdir@,$libdir,;t t
7270 s,@includedir@,$includedir,;t t
7271 s,@oldincludedir@,$oldincludedir,;t t
7272 s,@infodir@,$infodir,;t t
7273 s,@mandir@,$mandir,;t t
7274 s,@build_alias@,$build_alias,;t t
7275 s,@host_alias@,$host_alias,;t t
7276 s,@target_alias@,$target_alias,;t t
7278 s,@ECHO_C@,$ECHO_C,;t t
7279 s,@ECHO_N@,$ECHO_N,;t t
7280 s,@ECHO_T@,$ECHO_T,;t t
7283 s,@CXXFLAGS@,$CXXFLAGS,;t t
7284 s,@LDFLAGS@,$LDFLAGS,;t t
7285 s,@CPPFLAGS@,$CPPFLAGS,;t t
7286 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7287 s,@EXEEXT@,$EXEEXT,;t t
7288 s,@OBJEXT@,$OBJEXT,;t t
7290 s,@CFLAGS@,$CFLAGS,;t t
7291 s,@ac_ct_CC@,$ac_ct_CC,;t t
7293 s,@EGREP@,$EGREP,;t t
7294 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7295 s,@LIBDIR@,$LIBDIR,;t t
7296 s,@build@,$build,;t t
7297 s,@build_cpu@,$build_cpu,;t t
7298 s,@build_vendor@,$build_vendor,;t t
7299 s,@build_os@,$build_os,;t t
7301 s,@host_cpu@,$host_cpu,;t t
7302 s,@host_vendor@,$host_vendor,;t t
7303 s,@host_os@,$host_os,;t t
7304 s,@target@,$target,;t t
7305 s,@target_cpu@,$target_cpu,;t t
7306 s,@target_vendor@,$target_vendor,;t t
7307 s,@target_os@,$target_os,;t t
7309 s,@H323_GSMAMR_NB_FLOAT@,$H323_GSMAMR_NB_FLOAT,;t t
7310 s,@H323_SYSTEM_GSM@,$H323_SYSTEM_GSM,;t t
7311 s,@SIZE16@,$SIZE16,;t t
7312 s,@SIZE32@,$SIZE32,;t t
7313 s,@H323_SYSTEM_SPEEX@,$H323_SYSTEM_SPEEX,;t t
7314 s,@HAS_FFMPEG@,$HAS_FFMPEG,;t t
7315 s,@HAS_IXJ@,$HAS_IXJ,;t t
7316 s,@HAS_VPB@,$HAS_VPB,;t t
7317 s,@HAS_CAPI@,$HAS_CAPI,;t t
7318 s,@HAS_SANGOMA@,$HAS_SANGOMA,;t t
7319 s,@LIBOBJS@,$LIBOBJS,;t t
7320 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7325 cat >>$CONFIG_STATUS <<\_ACEOF
7326 # Split the substitutions into bite-sized pieces for seds with
7327 # small command number limits, like on Digital OSF/1 and HP-UX.
7329 ac_sed_frag
=1 # Number of current file.
7330 ac_beg
=1 # First line for current file.
7331 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7334 while $ac_more_lines; do
7335 if test $ac_beg -gt 1; then
7336 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7338 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7340 if test ! -s $tmp/subs.frag
; then
7343 # The purpose of the label and of the branching condition is to
7344 # speed up the sed processing (if there are no `@' at all, there
7345 # is no need to browse any of the substitutions).
7346 # These are the two extra sed commands mentioned above.
7348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7349 if test -z "$ac_sed_cmds"; then
7350 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7352 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7354 ac_sed_frag
=`expr $ac_sed_frag + 1`
7356 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7359 if test -z "$ac_sed_cmds"; then
7362 fi # test -n "$CONFIG_FILES"
7365 cat >>$CONFIG_STATUS <<\_ACEOF
7366 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7367 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7369 - |
*:- |
*:-:* ) # input from stdin
7371 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7372 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7373 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7374 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7375 * ) ac_file_in
=$ac_file.
in ;;
7378 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7379 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7381 X"$ac_file" : 'X\(//\)[^/]' \| \
7382 X"$ac_file" : 'X\(//\)$' \| \
7383 X"$ac_file" : 'X\(/\)' \| \
7384 . : '\(.\)' 2>/dev/null ||
7386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7388 /^X\(\/\/\)$/{ s//\1/; q; }
7389 /^X\(\/\).*/{ s//\1/; q; }
7391 { if $as_mkdir_p; then
7396 while test ! -d "$as_dir"; do
7397 as_dirs
="$as_dir $as_dirs"
7398 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7400 X"$as_dir" : 'X\(//\)[^/]' \| \
7401 X"$as_dir" : 'X\(//\)$' \| \
7402 X"$as_dir" : 'X\(/\)' \| \
7403 . : '\(.\)' 2>/dev/null ||
7405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7407 /^X\(\/\/\)$/{ s//\1/; q; }
7408 /^X\(\/\).*/{ s//\1/; q; }
7411 test ! -n "$as_dirs" || mkdir
$as_dirs
7412 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7413 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7414 { (exit 1); exit 1; }; }; }
7418 if test "$ac_dir" != .
; then
7419 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7420 # A "../" for each directory in $ac_dir_suffix.
7421 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7423 ac_dir_suffix
= ac_top_builddir
=
7427 .
) # No --srcdir option. We are building in place.
7429 if test -z "$ac_top_builddir"; then
7432 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7434 [\\/]* | ?
:[\\/]* ) # Absolute path.
7435 ac_srcdir
=$srcdir$ac_dir_suffix;
7436 ac_top_srcdir
=$srcdir ;;
7438 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7439 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7441 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7443 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7444 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7445 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7446 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7450 if test x
"$ac_file" != x-
; then
7451 { echo "$as_me:$LINENO: creating $ac_file" >&5
7452 echo "$as_me: creating $ac_file" >&6;}
7455 # Let's still pretend it is `configure' which instantiates (i.e., don't
7456 # use $as_me), people would be surprised to read:
7457 # /* config.h. Generated by config.status. */
7458 if test x
"$ac_file" = x-
; then
7461 configure_input
="$ac_file. "
7463 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7464 sed 's,.*/,,'` by configure."
7466 # First look for the input files in the build tree, otherwise in the
7468 ac_file_inputs
=`IFS=:
7469 for f in $ac_file_in; do
7471 -) echo $tmp/stdin ;;
7473 # Absolute (can't be DOS-style, as IFS=:)
7474 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7475 echo "$as_me: error: cannot find input file: $f" >&2;}
7476 { (exit 1); exit 1; }; }
7479 if test -f "$f"; then
7482 elif test -f "$srcdir/$f"; then
7487 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7488 echo "$as_me: error: cannot find input file: $f" >&2;}
7489 { (exit 1); exit 1; }; }
7492 done` ||
{ (exit 1); exit 1; }
7494 cat >>$CONFIG_STATUS <<_ACEOF
7498 cat >>$CONFIG_STATUS <<\_ACEOF
7500 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7501 s
,@configure_input@
,$configure_input,;t t
7502 s
,@srcdir@
,$ac_srcdir,;t t
7503 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7504 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7505 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7506 s
,@builddir@
,$ac_builddir,;t t
7507 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7508 s
,@top_builddir@
,$ac_top_builddir,;t t
7509 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7510 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7512 if test x"$ac_file" != x-; then
7513 mv $tmp/out $ac_file
7522 cat >>$CONFIG_STATUS <<\_ACEOF
7524 { (exit 0); exit 0; }
7526 chmod +x $CONFIG_STATUS
7527 ac_clean_files=$ac_clean_files_save
7530 # configure is writing to config.log, and then calls config.status.
7531 # config.status does its own redirection, appending to config.log.
7532 # Unfortunately, on DOS this fails, as config.log is still kept open
7533 # by configure, so config.status won't be able to write to it; its
7534 # output is simply discarded. So we exec the FD to /dev/null,
7535 # effectively closing config.log, so it can be properly (re)opened and
7536 # appended to by config.status. When coming back to configure, we
7537 # need to make the FD available again.
7538 if test "$no_create" != yes; then
7540 ac_config_status_args=
7541 test "$silent" = yes &&
7542 ac_config_status_args="$ac_config_status_args --quiet"
7544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7547 # would make configure fail if this is the last instruction.
7548 $ac_cs_success || { (exit 1); exit 1; }