2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/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 -z "`(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
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="configure.ac"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CXX_set
=${CXX+set}
754 ac_env_CXX_value
=$CXX
755 ac_cv_env_CXX_set
=${CXX+set}
756 ac_cv_env_CXX_value
=$CXX
757 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
758 ac_env_CXXFLAGS_value
=$CXXFLAGS
759 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CC_set
=${CC+set}
771 ac_cv_env_CC_set
=${CC+set}
772 ac_cv_env_CC_value
=$CC
773 ac_env_CFLAGS_set
=${CFLAGS+set}
774 ac_env_CFLAGS_value
=$CFLAGS
775 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
776 ac_cv_env_CFLAGS_value
=$CFLAGS
777 ac_env_CPP_set
=${CPP+set}
778 ac_env_CPP_value
=$CPP
779 ac_cv_env_CPP_set
=${CPP+set}
780 ac_cv_env_CPP_value
=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --build=BUILD configure
for building on BUILD
[guessed
]
844 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
845 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
849 if test -n "$ac_init_help"; then
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --enable-localgsm use
local version of GSM library rather than system version
857 --enable-localspeex use
local version of Speex library rather than system version
859 Some influential environment variables
:
860 CXX C
++ compiler
command
861 CXXFLAGS C
++ compiler flags
862 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
863 nonstandard directory
<lib dir
>
864 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
865 headers
in a nonstandard directory
<include dir
>
866 CC C compiler
command
867 CFLAGS C compiler flags
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 ac_cpp='$CXXCPP $CPPFLAGS'
1311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1312 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1314 if test -n "$ac_tool_prefix"; then
1315 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1319 echo "$as_me:$LINENO: checking for $ac_word" >&5
1320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1321 if test "${ac_cv_prog_CXX+set}" = set; then
1322 echo $ECHO_N "(cached) $ECHO_C" >&6
1324 if test -n "$CXX"; then
1325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1331 test -z "$as_dir" && as_dir=.
1332 for ac_exec_ext in '' $ac_executable_extensions; do
1333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1344 if test -n "$CXX"; then
1345 echo "$as_me:$LINENO: result: $CXX" >&5
1346 echo "${ECHO_T}$CXX" >&6
1348 echo "$as_me:$LINENO: result: no" >&5
1349 echo "${ECHO_T}no" >&6
1352 test -n "$CXX" && break
1355 if test -z "$CXX"; then
1357 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1359 # Extract the first word of "$ac_prog", so it can be a program name with args.
1360 set dummy $ac_prog; ac_word=$2
1361 echo "$as_me:$LINENO: checking for $ac_word" >&5
1362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1363 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 if test -n "$ac_ct_CXX"; then
1367 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir=.
1374 for ac_exec_ext in '' $ac_executable_extensions; do
1375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1376 ac_cv_prog_ac_ct_CXX="$ac_prog"
1377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1385 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1386 if test -n "$ac_ct_CXX"; then
1387 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1388 echo "${ECHO_T}$ac_ct_CXX" >&6
1390 echo "$as_me:$LINENO: result: no" >&5
1391 echo "${ECHO_T}no" >&6
1394 test -n "$ac_ct_CXX" && break
1396 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1402 # Provide some information about the compiler.
1403 echo "$as_me:$LINENO:" \
1404 "checking for C++ compiler version" >&5
1405 ac_compiler=`set X $ac_compile; echo $2`
1406 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1407 (eval $ac_compiler --version </dev/null >&5) 2>&5
1409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1410 (exit $ac_status); }
1411 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1412 (eval $ac_compiler -v </dev/null >&5) 2>&5
1414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1415 (exit $ac_status); }
1416 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1417 (eval $ac_compiler -V </dev/null >&5) 2>&5
1419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1420 (exit $ac_status); }
1422 cat >conftest.$ac_ext <<_ACEOF
1425 cat confdefs.h >>conftest.$ac_ext
1426 cat >>conftest.$ac_ext <<_ACEOF
1427 /* end confdefs.h. */
1437 ac_clean_files_save=$ac_clean_files
1438 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1439 # Try to create an executable without -o first, disregard a.out.
1440 # It will help us diagnose broken compilers, and finding out an intuition
1442 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1443 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1444 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1445 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1446 (eval $ac_link_default) 2>&5
1448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1449 (exit $ac_status); }; then
1450 # Find the output, starting from the most likely. This scheme is
1451 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1454 # Be careful to initialize this variable, since it used to be cached.
1455 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1457 # b.out is created by i960 compilers.
1458 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1460 test -f "$ac_file" ||
continue
1462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1465 # This is the source file.
1468 # We found the default executable, but exeext='' is most
1472 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1473 # FIXME: I believe we export ac_cv_exeext for Libtool,
1474 # but it would be cool to find out if it's true. Does anybody
1475 # maintain Libtool? --akim.
1483 echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.
$ac_ext >&5
1486 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1487 See \`config.log' for more details." >&5
1488 echo "$as_me: error: C++ compiler cannot create executables
1489 See \`config.log' for more details." >&2;}
1490 { (exit 77); exit 77; }; }
1493 ac_exeext
=$ac_cv_exeext
1494 echo "$as_me:$LINENO: result: $ac_file" >&5
1495 echo "${ECHO_T}$ac_file" >&6
1497 # Check the compiler produces executables we can run. If not, either
1498 # the compiler is broken, or we cross compile.
1499 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1500 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1501 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1502 # If not cross compiling, check that we can run a simple program.
1503 if test "$cross_compiling" != yes; then
1504 if { ac_try
='./$ac_file'
1505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1509 (exit $ac_status); }; }; then
1512 if test "$cross_compiling" = maybe
; then
1515 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1516 If you meant to cross compile, use \`--host'.
1517 See \`config.log' for more details." >&5
1518 echo "$as_me: error: cannot run C++ compiled programs.
1519 If you meant to cross compile, use \`--host'.
1520 See \`config.log' for more details." >&2;}
1521 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: yes" >&5
1526 echo "${ECHO_T}yes" >&6
1528 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1529 ac_clean_files
=$ac_clean_files_save
1530 # Check the compiler produces executables we can run. If not, either
1531 # the compiler is broken, or we cross compile.
1532 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1534 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1535 echo "${ECHO_T}$cross_compiling" >&6
1537 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1538 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1540 (eval $ac_link) 2>&5
1542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1543 (exit $ac_status); }; then
1544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1546 # work properly (i.e., refer to `conftest.exe'), while it won't with
1548 for ac_file
in conftest.exe conftest conftest.
*; do
1549 test -f "$ac_file" ||
continue
1551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1560 See \`config.log' for more details." >&5
1561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1562 See \`config.log' for more details." >&2;}
1563 { (exit 1); exit 1; }; }
1566 rm -f conftest
$ac_cv_exeext
1567 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1568 echo "${ECHO_T}$ac_cv_exeext" >&6
1570 rm -f conftest.
$ac_ext
1571 EXEEXT
=$ac_cv_exeext
1573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1575 if test "${ac_cv_objext+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 cat >conftest.
$ac_ext <<_ACEOF
1581 cat confdefs.h
>>conftest.
$ac_ext
1582 cat >>conftest.
$ac_ext <<_ACEOF
1583 /* end confdefs.h. */
1593 rm -f conftest.o conftest.obj
1594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1595 (eval $ac_compile) 2>&5
1597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1598 (exit $ac_status); }; then
1599 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1602 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1607 echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.
$ac_ext >&5
1610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1611 See \`config.log' for more details." >&5
1612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1613 See \`config.log' for more details." >&2;}
1614 { (exit 1); exit 1; }; }
1617 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1620 echo "${ECHO_T}$ac_cv_objext" >&6
1621 OBJEXT
=$ac_cv_objext
1623 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1624 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 cat >conftest.
$ac_ext <<_ACEOF
1631 cat confdefs.h
>>conftest.
$ac_ext
1632 cat >>conftest.
$ac_ext <<_ACEOF
1633 /* end confdefs.h. */
1646 rm -f conftest.
$ac_objext
1647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1648 (eval $ac_compile) 2>conftest.er1
1650 grep -v '^ *+' conftest.er1
>conftest.err
1652 cat conftest.err
>&5
1653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1654 (exit $ac_status); } &&
1655 { ac_try
='test -z "$ac_cxx_werror_flag"
1656 || test ! -s conftest.err'
1657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1661 (exit $ac_status); }; } &&
1662 { ac_try
='test -s conftest.$ac_objext'
1663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; }; then
1670 echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.
$ac_ext >&5
1675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1676 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1679 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1680 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1681 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1682 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1683 ac_save_CXXFLAGS
=$CXXFLAGS
1685 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1686 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1687 if test "${ac_cv_prog_cxx_g+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 cat >conftest.
$ac_ext <<_ACEOF
1693 cat confdefs.h
>>conftest.
$ac_ext
1694 cat >>conftest.
$ac_ext <<_ACEOF
1695 /* end confdefs.h. */
1705 rm -f conftest.
$ac_objext
1706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1707 (eval $ac_compile) 2>conftest.er1
1709 grep -v '^ *+' conftest.er1
>conftest.err
1711 cat conftest.err
>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); } &&
1714 { ac_try
='test -z "$ac_cxx_werror_flag"
1715 || test ! -s conftest.err'
1716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720 (exit $ac_status); }; } &&
1721 { ac_try
='test -s conftest.$ac_objext'
1722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 (exit $ac_status); }; }; then
1727 ac_cv_prog_cxx_g
=yes
1729 echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.
$ac_ext >&5
1734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1736 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1737 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1738 if test "$ac_test_CXXFLAGS" = set; then
1739 CXXFLAGS
=$ac_save_CXXFLAGS
1740 elif test $ac_cv_prog_cxx_g = yes; then
1741 if test "$GXX" = yes; then
1747 if test "$GXX" = yes; then
1753 for ac_declaration
in \
1755 'extern "C" void std::exit (int) throw (); using std::exit;' \
1756 'extern "C" void std::exit (int); using std::exit;' \
1757 'extern "C" void exit (int) throw ();' \
1758 'extern "C" void exit (int);' \
1761 cat >conftest.
$ac_ext <<_ACEOF
1764 cat confdefs.h
>>conftest.
$ac_ext
1765 cat >>conftest.
$ac_ext <<_ACEOF
1766 /* end confdefs.h. */
1777 rm -f conftest.
$ac_objext
1778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1779 (eval $ac_compile) 2>conftest.er1
1781 grep -v '^ *+' conftest.er1
>conftest.err
1783 cat conftest.err
>&5
1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 (exit $ac_status); } &&
1786 { ac_try
='test -z "$ac_cxx_werror_flag"
1787 || test ! -s conftest.err'
1788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; } &&
1793 { ac_try
='test -s conftest.$ac_objext'
1794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }; }; then
1801 echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.
$ac_ext >&5
1806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1807 cat >conftest.
$ac_ext <<_ACEOF
1810 cat confdefs.h
>>conftest.
$ac_ext
1811 cat >>conftest.
$ac_ext <<_ACEOF
1812 /* end confdefs.h. */
1822 rm -f conftest.
$ac_objext
1823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1824 (eval $ac_compile) 2>conftest.er1
1826 grep -v '^ *+' conftest.er1
>conftest.err
1828 cat conftest.err
>&5
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); } &&
1831 { ac_try
='test -z "$ac_cxx_werror_flag"
1832 || test ! -s conftest.err'
1833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }; } &&
1838 { ac_try
='test -s conftest.$ac_objext'
1839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }; }; then
1846 echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.
$ac_ext >&5
1850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1853 if test -n "$ac_declaration"; then
1854 echo '#ifdef __cplusplus' >>confdefs.h
1855 echo $ac_declaration >>confdefs.h
1856 echo '#endif' >>confdefs.h
1860 ac_cpp
='$CPP $CPPFLAGS'
1861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1866 ac_cpp
='$CPP $CPPFLAGS'
1867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1870 if test -n "$ac_tool_prefix"; then
1871 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1872 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_CC+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 if test -n "$CC"; then
1879 ac_cv_prog_CC
="$CC" # Let the user override the test.
1881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1885 test -z "$as_dir" && as_dir
=.
1886 for ac_exec_ext
in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 if test -n "$CC"; then
1899 echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1907 if test -z "$ac_cv_prog_CC"; then
1909 # Extract the first word of "gcc", so it can be a program name with args.
1910 set dummy gcc
; ac_word
=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$ac_ct_CC"; then
1917 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 for ac_exec_ext
in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_ac_ct_CC
="gcc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1936 if test -n "$ac_ct_CC"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1938 echo "${ECHO_T}$ac_ct_CC" >&6
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1949 if test -z "$CC"; then
1950 if test -n "$ac_tool_prefix"; then
1951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1952 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 if test -n "$CC"; then
1959 ac_cv_prog_CC
="$CC" # Let the user override the test.
1961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir
=.
1966 for ac_exec_ext
in '' $ac_executable_extensions; do
1967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 if test -n "$CC"; then
1979 echo "$as_me:$LINENO: result: $CC" >&5
1980 echo "${ECHO_T}$CC" >&6
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1987 if test -z "$ac_cv_prog_CC"; then
1989 # Extract the first word of "cc", so it can be a program name with args.
1990 set dummy cc
; ac_word
=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 if test -n "$ac_ct_CC"; then
1997 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir
=.
2004 for ac_exec_ext
in '' $ac_executable_extensions; do
2005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006 ac_cv_prog_ac_ct_CC
="cc"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2016 if test -n "$ac_ct_CC"; then
2017 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2018 echo "${ECHO_T}$ac_ct_CC" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2030 if test -z "$CC"; then
2031 # Extract the first word of "cc", so it can be a program name with args.
2032 set dummy cc
; ac_word
=$2
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC
="$CC" # Let the user override the test.
2042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir
=.
2047 for ac_exec_ext
in '' $ac_executable_extensions; do
2048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2050 ac_prog_rejected
=yes
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test $ac_prog_rejected = yes; then
2061 # We found a bogon in the path, so make sure we never use it.
2062 set dummy
$ac_cv_prog_CC
2064 if test $# != 0; then
2065 # We chose a different compiler from the bogus one.
2066 # However, it has the same basename, so the bogon will be chosen
2067 # first if we set CC to just the basename; use the full file name.
2069 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2075 if test -n "$CC"; then
2076 echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6
2079 echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6
2084 if test -z "$CC"; then
2085 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$CC"; then
2096 ac_cv_prog_CC
="$CC" # Let the user override the test.
2098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir
=.
2103 for ac_exec_ext
in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2123 test -n "$CC" && break
2126 if test -z "$CC"; then
2130 # Extract the first word of "$ac_prog", so it can be a program name with args.
2131 set dummy
$ac_prog; ac_word
=$2
2132 echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 if test -n "$ac_ct_CC"; then
2138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 for ac_exec_ext
in '' $ac_executable_extensions; do
2146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147 ac_cv_prog_ac_ct_CC
="$ac_prog"
2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2157 if test -n "$ac_ct_CC"; then
2158 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2159 echo "${ECHO_T}$ac_ct_CC" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2165 test -n "$ac_ct_CC" && break
2174 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2175 See \`config.log' for more details." >&5
2176 echo "$as_me: error: no acceptable C compiler found in \$PATH
2177 See \`config.log' for more details." >&2;}
2178 { (exit 1); exit 1; }; }
2180 # Provide some information about the compiler.
2181 echo "$as_me:$LINENO:" \
2182 "checking for C compiler version" >&5
2183 ac_compiler
=`set X $ac_compile; echo $2`
2184 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2185 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }
2189 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2190 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }
2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2195 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }
2200 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2201 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2202 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 cat >conftest.
$ac_ext <<_ACEOF
2208 cat confdefs.h
>>conftest.
$ac_ext
2209 cat >>conftest.
$ac_ext <<_ACEOF
2210 /* end confdefs.h. */
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2247 echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.
$ac_ext >&5
2252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2253 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2256 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2257 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2258 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2259 ac_test_CFLAGS
=${CFLAGS+set}
2260 ac_save_CFLAGS
=$CFLAGS
2262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2264 if test "${ac_cv_prog_cc_g+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 cat >conftest.
$ac_ext <<_ACEOF
2270 cat confdefs.h
>>conftest.
$ac_ext
2271 cat >>conftest.
$ac_ext <<_ACEOF
2272 /* end confdefs.h. */
2282 rm -f conftest.
$ac_objext
2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2284 (eval $ac_compile) 2>conftest.er1
2286 grep -v '^ *+' conftest.er1
>conftest.err
2288 cat conftest.err
>&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); } &&
2291 { ac_try
='test -z "$ac_c_werror_flag"
2292 || test ! -s conftest.err'
2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; } &&
2298 { ac_try
='test -s conftest.$ac_objext'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2306 echo "$as_me: failed program was:" >&5
2307 sed 's/^/| /' conftest.
$ac_ext >&5
2311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2315 if test "$ac_test_CFLAGS" = set; then
2316 CFLAGS
=$ac_save_CFLAGS
2317 elif test $ac_cv_prog_cc_g = yes; then
2318 if test "$GCC" = yes; then
2324 if test "$GCC" = yes; then
2330 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2331 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2332 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 ac_cv_prog_cc_stdc
=no
2337 cat >conftest.
$ac_ext <<_ACEOF
2340 cat confdefs.h
>>conftest.
$ac_ext
2341 cat >>conftest.
$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2345 #include <sys/types.h>
2346 #include <sys/stat.h>
2347 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2348 struct buf { int x; };
2349 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2350 static char *e (p, i)
2356 static char *f (char * (*g) (char **, int), char **p, ...)
2361 s = g (p, va_arg (v,int));
2366 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2367 function prototypes and stuff, but not '\xHH' hex character constants.
2368 These don't provoke an error unfortunately, instead are silently treated
2369 as 'x'. The following induces an error, until -std1 is added to get
2370 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2371 array size at least. It's necessary to write '\x00'==0 to get something
2372 that's true only with -std1. */
2373 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2375 int test (int i, double x);
2376 struct s1 {int (*f) (int a);};
2377 struct s2 {int (*f) (double a);};
2378 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2384 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2389 # Don't try gcc -ansi; that turns off useful extensions and
2390 # breaks some systems' header files.
2391 # AIX -qlanglvl=ansi
2392 # Ultrix and OSF/1 -std1
2393 # HP-UX 10.20 and later -Ae
2394 # HP-UX older versions -Aa -D_HPUX_SOURCE
2395 # SVR4 -Xc -D__EXTENSIONS__
2396 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2398 CC
="$ac_save_CC $ac_arg"
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 ac_cv_prog_cc_stdc
=$ac_arg
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2428 rm -f conftest.err conftest.
$ac_objext
2430 rm -f conftest.
$ac_ext conftest.
$ac_objext
2435 case "x$ac_cv_prog_cc_stdc" in
2437 echo "$as_me:$LINENO: result: none needed" >&5
2438 echo "${ECHO_T}none needed" >&6 ;;
2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2441 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2442 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2445 # Some people use a C++ compiler to compile C. Since we use `exit',
2446 # in C++ we need to declare it. In case someone uses the same compiler
2447 # for both compiling C and C++ we need to have the C++ compiler decide
2448 # the declaration of exit, since it's the most demanding environment.
2449 cat >conftest.
$ac_ext <<_ACEOF
2454 rm -f conftest.
$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2476 for ac_declaration
in \
2478 'extern "C" void std::exit (int) throw (); using std::exit;' \
2479 'extern "C" void std::exit (int); using std::exit;' \
2480 'extern "C" void exit (int) throw ();' \
2481 'extern "C" void exit (int);' \
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2500 rm -f conftest.
$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1
>conftest.err
2506 cat conftest.err
>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try
='test -z "$ac_c_werror_flag"
2510 || test ! -s conftest.err'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; } &&
2516 { ac_try
='test -s conftest.$ac_objext'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.
$ac_ext >&5
2529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2530 cat >conftest.
$ac_ext <<_ACEOF
2533 cat confdefs.h
>>conftest.
$ac_ext
2534 cat >>conftest.
$ac_ext <<_ACEOF
2535 /* end confdefs.h. */
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 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); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2576 if test -n "$ac_declaration"; then
2577 echo '#ifdef __cplusplus' >>confdefs.h
2578 echo $ac_declaration >>confdefs.h
2579 echo '#endif' >>confdefs.h
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2589 ac_cpp
='$CPP $CPPFLAGS'
2590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2596 ac_cpp
='$CPP $CPPFLAGS'
2597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2600 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2601 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2602 # On Suns, sometimes $CPP names a directory.
2603 if test -n "$CPP" && test -d "$CPP"; then
2606 if test -z "$CPP"; then
2607 if test "${ac_cv_prog_CPP+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 # Double quotes because CPP needs to be expanded
2611 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2614 for ac_c_preproc_warn_flag
in '' yes
2616 # Use a header file that comes with gcc, so configuring glibc
2617 # with a fresh cross-compiler works.
2618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2619 # <limits.h> exists even on freestanding compilers.
2620 # On the NeXT, cc -E runs the code through the compiler's parser,
2621 # not just through cpp. "Syntax error" is here to catch this case.
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2629 # include <limits.h>
2631 # include <assert.h>
2635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1
>conftest.err
2640 cat conftest.err
>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } >/dev
/null
; then
2643 if test -s conftest.err
; then
2644 ac_cpp_err
=$ac_c_preproc_warn_flag
2645 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2652 if test -z "$ac_cpp_err"; then
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.
$ac_ext >&5
2658 # Broken: fails on valid input.
2661 rm -f conftest.err conftest.
$ac_ext
2663 # OK, works on sane cases. Now check whether non-existent headers
2664 # can be detected and how.
2665 cat >conftest.
$ac_ext <<_ACEOF
2668 cat confdefs.h
>>conftest.
$ac_ext
2669 cat >>conftest.
$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2671 #include <ac_nonexistent.h>
2673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } >/dev
/null
; then
2681 if test -s conftest.err
; then
2682 ac_cpp_err
=$ac_c_preproc_warn_flag
2683 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2690 if test -z "$ac_cpp_err"; then
2691 # Broken: success on invalid input.
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2697 # Passes both tests.
2701 rm -f conftest.err conftest.
$ac_ext
2704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2705 rm -f conftest.err conftest.
$ac_ext
2706 if $ac_preproc_ok; then
2718 echo "$as_me:$LINENO: result: $CPP" >&5
2719 echo "${ECHO_T}$CPP" >&6
2721 for ac_c_preproc_warn_flag
in '' yes
2723 # Use a header file that comes with gcc, so configuring glibc
2724 # with a fresh cross-compiler works.
2725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2726 # <limits.h> exists even on freestanding compilers.
2727 # On the NeXT, cc -E runs the code through the compiler's parser,
2728 # not just through cpp. "Syntax error" is here to catch this case.
2729 cat >conftest.
$ac_ext <<_ACEOF
2732 cat confdefs.h
>>conftest.
$ac_ext
2733 cat >>conftest.
$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2736 # include <limits.h>
2738 # include <assert.h>
2742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2745 grep -v '^ *+' conftest.er1
>conftest.err
2747 cat conftest.err
>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } >/dev
/null
; then
2750 if test -s conftest.err
; then
2751 ac_cpp_err
=$ac_c_preproc_warn_flag
2752 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2759 if test -z "$ac_cpp_err"; then
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2765 # Broken: fails on valid input.
2768 rm -f conftest.err conftest.
$ac_ext
2770 # OK, works on sane cases. Now check whether non-existent headers
2771 # can be detected and how.
2772 cat >conftest.
$ac_ext <<_ACEOF
2775 cat confdefs.h
>>conftest.
$ac_ext
2776 cat >>conftest.
$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2778 #include <ac_nonexistent.h>
2780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2781 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } >/dev
/null
; then
2788 if test -s conftest.err
; then
2789 ac_cpp_err
=$ac_c_preproc_warn_flag
2790 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2797 if test -z "$ac_cpp_err"; then
2798 # Broken: success on invalid input.
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2804 # Passes both tests.
2808 rm -f conftest.err conftest.
$ac_ext
2811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2812 rm -f conftest.err conftest.
$ac_ext
2813 if $ac_preproc_ok; then
2816 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2817 See \`config.log' for more details." >&5
2818 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2819 See \`config.log' for more details." >&2;}
2820 { (exit 1); exit 1; }; }
2824 ac_cpp
='$CPP $CPPFLAGS'
2825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2830 echo "$as_me:$LINENO: checking for egrep" >&5
2831 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2832 if test "${ac_cv_prog_egrep+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2836 then ac_cv_prog_egrep
='grep -E'
2837 else ac_cv_prog_egrep
='egrep'
2840 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2841 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2842 EGREP
=$ac_cv_prog_egrep
2845 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2846 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2847 if test "${ac_cv_header_stdc+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 cat >conftest.
$ac_ext <<_ACEOF
2853 cat confdefs.h
>>conftest.
$ac_ext
2854 cat >>conftest.
$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_header_stdc
=yes
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2896 ac_cv_header_stdc
=no
2898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2900 if test $ac_cv_header_stdc = yes; then
2901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2902 cat >conftest.
$ac_ext <<_ACEOF
2905 cat confdefs.h
>>conftest.
$ac_ext
2906 cat >>conftest.
$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2912 $EGREP "memchr" >/dev
/null
2>&1; then
2915 ac_cv_header_stdc
=no
2921 if test $ac_cv_header_stdc = yes; then
2922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2923 cat >conftest.
$ac_ext <<_ACEOF
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2933 $EGREP "free" >/dev
/null
2>&1; then
2936 ac_cv_header_stdc
=no
2942 if test $ac_cv_header_stdc = yes; then
2943 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2944 if test "$cross_compiling" = yes; then
2947 cat >conftest.
$ac_ext <<_ACEOF
2950 cat confdefs.h
>>conftest.
$ac_ext
2951 cat >>conftest.
$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2954 #if ((' ' & 0x0FF) == 0x020)
2955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2958 # define ISLOWER(c) \
2959 (('a' <= (c) && (c) <= 'i') \
2960 || ('j' <= (c) && (c) <= 'r') \
2961 || ('s' <= (c) && (c) <= 'z'))
2962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2970 for (i = 0; i < 256; i++)
2971 if (XOR (islower (i), ISLOWER (i))
2972 || toupper (i) != TOUPPER (i))
2977 rm -f conftest
$ac_exeext
2978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2979 (eval $ac_link) 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: program exited with status $ac_status" >&5
2991 echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.
$ac_ext >&5
2995 ac_cv_header_stdc
=no
2997 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3001 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3002 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3003 if test $ac_cv_header_stdc = yes; then
3005 cat >>confdefs.h
<<\_ACEOF
3006 #define STDC_HEADERS 1
3012 if test "x$prefix" = "xNONE"; then
3013 INSTALLPREFIX
="/usr/local"
3015 INSTALLPREFIX
="${prefix}"
3026 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
3027 if test -f $ac_dir/install-sh
; then
3029 ac_install_sh
="$ac_aux_dir/install-sh -c"
3031 elif test -f $ac_dir/install.sh
; then
3033 ac_install_sh
="$ac_aux_dir/install.sh -c"
3035 elif test -f $ac_dir/shtool
; then
3037 ac_install_sh
="$ac_aux_dir/shtool install -c"
3041 if test -z "$ac_aux_dir"; then
3042 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3043 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3044 { (exit 1); exit 1; }; }
3046 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3047 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3048 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3050 # Make sure we can run config.sub.
3051 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3052 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3053 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3054 { (exit 1); exit 1; }; }
3056 echo "$as_me:$LINENO: checking build system type" >&5
3057 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3058 if test "${ac_cv_build+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 ac_cv_build_alias
=$build_alias
3062 test -z "$ac_cv_build_alias" &&
3063 ac_cv_build_alias
=`$ac_config_guess`
3064 test -z "$ac_cv_build_alias" &&
3065 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3066 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3067 { (exit 1); exit 1; }; }
3068 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3069 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3070 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3071 { (exit 1); exit 1; }; }
3074 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3075 echo "${ECHO_T}$ac_cv_build" >&6
3077 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3078 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3079 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3082 echo "$as_me:$LINENO: checking host system type" >&5
3083 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3084 if test "${ac_cv_host+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 ac_cv_host_alias
=$host_alias
3088 test -z "$ac_cv_host_alias" &&
3089 ac_cv_host_alias
=$ac_cv_build_alias
3090 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3091 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3092 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3093 { (exit 1); exit 1; }; }
3096 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3097 echo "${ECHO_T}$ac_cv_host" >&6
3099 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3100 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3101 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3104 echo "$as_me:$LINENO: checking target system type" >&5
3105 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3106 if test "${ac_cv_target+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 ac_cv_target_alias
=$target_alias
3110 test "x$ac_cv_target_alias" = "x" &&
3111 ac_cv_target_alias
=$ac_cv_host_alias
3112 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3113 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3114 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3115 { (exit 1); exit 1; }; }
3118 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3119 echo "${ECHO_T}$ac_cv_target" >&6
3120 target
=$ac_cv_target
3121 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3122 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3123 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3126 # The aliases save the names the user supplied, while $host etc.
3127 # will get canonicalized.
3128 test -n "$target_alias" &&
3129 test "$program_prefix$program_suffix$program_transform_name" = \
3131 program_prefix
=${target_alias}-
3133 case "$target_os" in
3134 solaris
*) LDSO
="-Bdynamic -G -h" ;;
3136 *) LDSO
="-shared -Wl,-soname,";;
3142 H323_GSMAMR_NB_FLOAT
=0
3143 if test -r "./audio/gsm-amr/src/interf_dec.h" ; then
3144 { echo "$as_me:$LINENO: Enabling GSM-AMR plugin" >&5
3145 echo "$as_me: Enabling GSM-AMR plugin" >&6;}
3146 H323_GSMAMR_NB_FLOAT
=1
3148 { echo "$as_me:$LINENO: GSM-AMR plugin disabled (no 3GPP source)" >&5
3149 echo "$as_me: GSM-AMR plugin disabled (no 3GPP source)" >&6;}
3151 H323_GSMAMR_NB_FLOAT
=$H323_GSMAMR_NB_FLOAT
3158 # Check whether --enable-localgsm or --disable-localgsm was given.
3159 if test "${enable_localgsm+set}" = set; then
3160 enableval
="$enable_localgsm"
3164 if test "${localgsm}" = "yes" ; then
3165 { echo "$as_me:$LINENO: Forcing use of local GSM sources" >&5
3166 echo "$as_me: Forcing use of local GSM sources" >&6;}
3167 elif test "${localgsm}" = "no" ; then
3168 { echo "$as_me:$LINENO: Forcing use of system GSM library" >&5
3169 echo "$as_me: Forcing use of system GSM library" >&6;}
3172 echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
3173 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6
3174 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 ac_check_lib_save_LIBS
=$LIBS
3179 cat >conftest.
$ac_ext <<_ACEOF
3182 cat confdefs.h
>>conftest.
$ac_ext
3183 cat >>conftest.
$ac_ext <<_ACEOF
3184 /* end confdefs.h. */
3186 /* Override any gcc2 internal prototype to avoid an error. */
3190 /* We use char because int might match the return type of a gcc2
3191 builtin and then its argument prototype would still apply. */
3201 rm -f conftest.
$ac_objext conftest
$ac_exeext
3202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3203 (eval $ac_link) 2>conftest.er1
3205 grep -v '^ *+' conftest.er1
>conftest.err
3207 cat conftest.err
>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } &&
3210 { ac_try
='test -z "$ac_c_werror_flag"
3211 || test ! -s conftest.err'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; } &&
3217 { ac_try
='test -s conftest$ac_exeext'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; }; then
3223 ac_cv_lib_gsm_gsm_create
=yes
3225 echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.
$ac_ext >&5
3228 ac_cv_lib_gsm_gsm_create
=no
3230 rm -f conftest.err conftest.
$ac_objext \
3231 conftest
$ac_exeext conftest.
$ac_ext
3232 LIBS
=$ac_check_lib_save_LIBS
3234 echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
3235 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6
3236 if test $ac_cv_lib_gsm_gsm_create = yes; then
3240 if test "x$GSM" != "x"; then
3241 echo "$as_me:$LINENO: checking if system GSM library has WAV49" >&5
3242 echo $ECHO_N "checking if system GSM library has WAV49... $ECHO_C" >&6
3245 if test "$cross_compiling" = yes; then
3246 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3247 See \`config.log' for more details." >&5
3248 echo "$as_me: error: cannot run test program while cross compiling
3249 See \`config.log' for more details." >&2;}
3250 { (exit 1); exit 1; }; }
3252 cat >conftest.
$ac_ext <<_ACEOF
3255 cat confdefs.h
>>conftest.
$ac_ext
3256 cat >>conftest.
$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3266 gsm handle = gsm_create();
3267 return (gsm_option(handle, GSM_OPT_WAV49, &option) == -1) ? 1 : 0;
3273 rm -f conftest
$ac_exeext
3274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3275 (eval $ac_link) 2>&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); }; }; then
3286 echo "$as_me: program exited with status $ac_status" >&5
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.
$ac_ext >&5
3291 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3293 if test "x$GSM" == "x2"; then
3295 echo "$as_me:$LINENO: result: yes" >&5
3296 echo "${ECHO_T}yes" >&6
3297 { echo "$as_me:$LINENO: Using system gsm" >&5
3298 echo "$as_me: Using system gsm" >&6;}
3300 echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6
3306 H323_SYSTEM_GSM
=$H323_SYSTEM_GSM
3308 cat >>confdefs.h
<<_ACEOF
3309 #define H323_SYSTEM_GSM $H323_SYSTEM_GSM
3314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3324 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3325 inttypes.h stdint.h unistd.h
3327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3328 echo "$as_me:$LINENO: checking for $ac_header" >&5
3329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3339 $ac_includes_default
3341 #include <$ac_header>
3343 rm -f conftest.
$ac_objext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3345 (eval $ac_compile) 2>conftest.er1
3347 grep -v '^ *+' conftest.er1
>conftest.err
3349 cat conftest.err
>&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } &&
3352 { ac_try
='test -z "$ac_c_werror_flag"
3353 || test ! -s conftest.err'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; } &&
3359 { ac_try
='test -s conftest.$ac_objext'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3365 eval "$as_ac_Header=yes"
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.
$ac_ext >&5
3370 eval "$as_ac_Header=no"
3372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3377 cat >>confdefs.h
<<_ACEOF
3378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3386 echo "$as_me:$LINENO: checking for short" >&5
3387 echo $ECHO_N "checking for short... $ECHO_C" >&6
3388 if test "${ac_cv_type_short+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 cat >conftest.
$ac_ext <<_ACEOF
3394 cat confdefs.h
>>conftest.
$ac_ext
3395 cat >>conftest.
$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3397 $ac_includes_default
3409 rm -f conftest.
$ac_objext
3410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3411 (eval $ac_compile) 2>conftest.er1
3413 grep -v '^ *+' conftest.er1
>conftest.err
3415 cat conftest.err
>&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } &&
3418 { ac_try
='test -z "$ac_c_werror_flag"
3419 || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest.$ac_objext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3431 ac_cv_type_short
=yes
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3440 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3441 echo "${ECHO_T}$ac_cv_type_short" >&6
3443 echo "$as_me:$LINENO: checking size of short" >&5
3444 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3445 if test "${ac_cv_sizeof_short+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 if test "$ac_cv_type_short" = yes; then
3449 # The cast to unsigned long works around a bug in the HP C Compiler
3450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3452 # This bug is HP SR number 8606223364.
3453 if test "$cross_compiling" = yes; then
3454 # Depending upon the size, compute the lo and hi bounds.
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3461 $ac_includes_default
3465 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3472 rm -f conftest.
$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3476 grep -v '^ *+' conftest.er1
>conftest.err
3478 cat conftest.err
>&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try
='test -z "$ac_c_werror_flag"
3482 || test ! -s conftest.err'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; } &&
3488 { ac_try
='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3496 cat >conftest.
$ac_ext <<_ACEOF
3499 cat confdefs.h
>>conftest.
$ac_ext
3500 cat >>conftest.
$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 $ac_includes_default
3506 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3513 rm -f conftest.
$ac_objext
3514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3515 (eval $ac_compile) 2>conftest.er1
3517 grep -v '^ *+' conftest.er1
>conftest.err
3519 cat conftest.err
>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } &&
3522 { ac_try
='test -z "$ac_c_werror_flag"
3523 || test ! -s conftest.err'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; } &&
3529 { ac_try
='test -s conftest.$ac_objext'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; }; then
3535 ac_hi
=$ac_mid; break
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.
$ac_ext >&5
3540 ac_lo
=`expr $ac_mid + 1`
3541 if test $ac_lo -le $ac_mid; then
3545 ac_mid
=`expr 2 '*' $ac_mid + 1`
3547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.
$ac_ext >&5
3553 cat >conftest.
$ac_ext <<_ACEOF
3556 cat confdefs.h
>>conftest.
$ac_ext
3557 cat >>conftest.
$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3559 $ac_includes_default
3563 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3570 rm -f conftest.
$ac_objext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3572 (eval $ac_compile) 2>conftest.er1
3574 grep -v '^ *+' conftest.er1
>conftest.err
3576 cat conftest.err
>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try
='test -z "$ac_c_werror_flag"
3580 || test ! -s conftest.err'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; } &&
3586 { ac_try
='test -s conftest.$ac_objext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3594 cat >conftest.
$ac_ext <<_ACEOF
3597 cat confdefs.h
>>conftest.
$ac_ext
3598 cat >>conftest.
$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 $ac_includes_default
3604 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3611 rm -f conftest.
$ac_objext
3612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613 (eval $ac_compile) 2>conftest.er1
3615 grep -v '^ *+' conftest.er1
>conftest.err
3617 cat conftest.err
>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try
='test -z "$ac_c_werror_flag"
3621 || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try
='test -s conftest.$ac_objext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3633 ac_lo
=$ac_mid; break
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.
$ac_ext >&5
3638 ac_hi
=`expr '(' $ac_mid ')' - 1`
3639 if test $ac_mid -le $ac_hi; then
3643 ac_mid
=`expr 2 '*' $ac_mid`
3645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.
$ac_ext >&5
3653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3656 # Binary search between lo and hi bounds.
3657 while test "x$ac_lo" != "x$ac_hi"; do
3658 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3659 cat >conftest.
$ac_ext <<_ACEOF
3662 cat confdefs.h
>>conftest.
$ac_ext
3663 cat >>conftest.
$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3665 $ac_includes_default
3669 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3676 rm -f conftest.
$ac_objext
3677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3678 (eval $ac_compile) 2>conftest.er1
3680 grep -v '^ *+' conftest.er1
>conftest.err
3682 cat conftest.err
>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } &&
3685 { ac_try
='test -z "$ac_c_werror_flag"
3686 || test ! -s conftest.err'
3687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); }; } &&
3692 { ac_try
='test -s conftest.$ac_objext'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; }; then
3700 echo "$as_me: failed program was:" >&5
3701 sed 's/^/| /' conftest.
$ac_ext >&5
3703 ac_lo
=`expr '(' $ac_mid ')' + 1`
3705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3708 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3709 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3710 See \`config.log' for more details." >&5
3711 echo "$as_me: error: cannot compute sizeof (short), 77
3712 See \`config.log' for more details." >&2;}
3713 { (exit 1); exit 1; }; } ;;
3716 if test "$cross_compiling" = yes; then
3717 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3718 See \`config.log' for more details." >&5
3719 echo "$as_me: error: cannot run test program while cross compiling
3720 See \`config.log' for more details." >&2;}
3721 { (exit 1); exit 1; }; }
3723 cat >conftest.
$ac_ext <<_ACEOF
3726 cat confdefs.h
>>conftest.
$ac_ext
3727 cat >>conftest.
$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3729 $ac_includes_default
3730 long longval () { return (long) (sizeof (short)); }
3731 unsigned long ulongval () { return (long) (sizeof (short)); }
3738 FILE *f = fopen ("conftest.val", "w");
3741 if (((long) (sizeof (short))) < 0)
3743 long i = longval ();
3744 if (i != ((long) (sizeof (short))))
3746 fprintf (f, "%ld\n", i);
3750 unsigned long i = ulongval ();
3751 if (i != ((long) (sizeof (short))))
3753 fprintf (f, "%lu\n", i);
3755 exit (ferror (f) || fclose (f) != 0);
3761 rm -f conftest
$ac_exeext
3762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3763 (eval $ac_link) 2>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); }; }; then
3772 ac_cv_sizeof_short
=`cat conftest.val`
3774 echo "$as_me: program exited with status $ac_status" >&5
3775 echo "$as_me: failed program was:" >&5
3776 sed 's/^/| /' conftest.
$ac_ext >&5
3779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3780 See \`config.log' for more details." >&5
3781 echo "$as_me: error: cannot compute sizeof (short), 77
3782 See \`config.log' for more details." >&2;}
3783 { (exit 1); exit 1; }; }
3785 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3790 ac_cv_sizeof_short
=0
3793 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3794 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3795 cat >>confdefs.h
<<_ACEOF
3796 #define SIZEOF_SHORT $ac_cv_sizeof_short
3800 echo "$as_me:$LINENO: checking for int" >&5
3801 echo $ECHO_N "checking for int... $ECHO_C" >&6
3802 if test "${ac_cv_type_int+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 cat >conftest.
$ac_ext <<_ACEOF
3808 cat confdefs.h
>>conftest.
$ac_ext
3809 cat >>conftest.
$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3811 $ac_includes_default
3823 rm -f conftest.
$ac_objext
3824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3825 (eval $ac_compile) 2>conftest.er1
3827 grep -v '^ *+' conftest.er1
>conftest.err
3829 cat conftest.err
>&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try
='test -z "$ac_c_werror_flag"
3833 || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try
='test -s conftest.$ac_objext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3854 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3855 echo "${ECHO_T}$ac_cv_type_int" >&6
3857 echo "$as_me:$LINENO: checking size of int" >&5
3858 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3859 if test "${ac_cv_sizeof_int+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 if test "$ac_cv_type_int" = yes; then
3863 # The cast to unsigned long works around a bug in the HP C Compiler
3864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3866 # This bug is HP SR number 8606223364.
3867 if test "$cross_compiling" = yes; then
3868 # Depending upon the size, compute the lo and hi bounds.
3869 cat >conftest.
$ac_ext <<_ACEOF
3872 cat confdefs.h
>>conftest.
$ac_ext
3873 cat >>conftest.
$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3875 $ac_includes_default
3879 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3886 rm -f conftest.
$ac_objext
3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3888 (eval $ac_compile) 2>conftest.er1
3890 grep -v '^ *+' conftest.er1
>conftest.err
3892 cat conftest.err
>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } &&
3895 { ac_try
='test -z "$ac_c_werror_flag"
3896 || test ! -s conftest.err'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; } &&
3902 { ac_try
='test -s conftest.$ac_objext'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; }; then
3910 cat >conftest.
$ac_ext <<_ACEOF
3913 cat confdefs.h
>>conftest.
$ac_ext
3914 cat >>conftest.
$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3916 $ac_includes_default
3920 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3927 rm -f conftest.
$ac_objext
3928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3929 (eval $ac_compile) 2>conftest.er1
3931 grep -v '^ *+' conftest.er1
>conftest.err
3933 cat conftest.err
>&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); } &&
3936 { ac_try
='test -z "$ac_c_werror_flag"
3937 || test ! -s conftest.err'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; } &&
3943 { ac_try
='test -s conftest.$ac_objext'
3944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); }; }; then
3949 ac_hi
=$ac_mid; break
3951 echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.
$ac_ext >&5
3954 ac_lo
=`expr $ac_mid + 1`
3955 if test $ac_lo -le $ac_mid; then
3959 ac_mid
=`expr 2 '*' $ac_mid + 1`
3961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3967 cat >conftest.
$ac_ext <<_ACEOF
3970 cat confdefs.h
>>conftest.
$ac_ext
3971 cat >>conftest.
$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 $ac_includes_default
3977 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3984 rm -f conftest.
$ac_objext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3986 (eval $ac_compile) 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -z "$ac_c_werror_flag"
3994 || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try
='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 $ac_includes_default
4018 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4025 rm -f conftest.
$ac_objext
4026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4027 (eval $ac_compile) 2>conftest.er1
4029 grep -v '^ *+' conftest.er1
>conftest.err
4031 cat conftest.err
>&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } &&
4034 { ac_try
='test -z "$ac_c_werror_flag"
4035 || test ! -s conftest.err'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try
='test -s conftest.$ac_objext'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; }; then
4047 ac_lo
=$ac_mid; break
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.
$ac_ext >&5
4052 ac_hi
=`expr '(' $ac_mid ')' - 1`
4053 if test $ac_mid -le $ac_hi; then
4057 ac_mid
=`expr 2 '*' $ac_mid`
4059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4070 # Binary search between lo and hi bounds.
4071 while test "x$ac_lo" != "x$ac_hi"; do
4072 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 $ac_includes_default
4083 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4090 rm -f conftest.
$ac_objext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4092 (eval $ac_compile) 2>conftest.er1
4094 grep -v '^ *+' conftest.er1
>conftest.err
4096 cat conftest.err
>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try
='test -z "$ac_c_werror_flag"
4100 || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest.$ac_objext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 ac_lo
=`expr '(' $ac_mid ')' + 1`
4119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4122 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4124 See \`config.log' for more details." >&5
4125 echo "$as_me: error: cannot compute sizeof (int), 77
4126 See \`config.log' for more details." >&2;}
4127 { (exit 1); exit 1; }; } ;;
4130 if test "$cross_compiling" = yes; then
4131 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4132 See \`config.log' for more details." >&5
4133 echo "$as_me: error: cannot run test program while cross compiling
4134 See \`config.log' for more details." >&2;}
4135 { (exit 1); exit 1; }; }
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 $ac_includes_default
4144 long longval () { return (long) (sizeof (int)); }
4145 unsigned long ulongval () { return (long) (sizeof (int)); }
4152 FILE *f = fopen ("conftest.val", "w");
4155 if (((long) (sizeof (int))) < 0)
4157 long i = longval ();
4158 if (i != ((long) (sizeof (int))))
4160 fprintf (f, "%ld\n", i);
4164 unsigned long i = ulongval ();
4165 if (i != ((long) (sizeof (int))))
4167 fprintf (f, "%lu\n", i);
4169 exit (ferror (f) || fclose (f) != 0);
4175 rm -f conftest
$ac_exeext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4177 (eval $ac_link) 2>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_sizeof_int
=`cat conftest.val`
4188 echo "$as_me: program exited with status $ac_status" >&5
4189 echo "$as_me: failed program was:" >&5
4190 sed 's/^/| /' conftest.
$ac_ext >&5
4193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4194 See \`config.log' for more details." >&5
4195 echo "$as_me: error: cannot compute sizeof (int), 77
4196 See \`config.log' for more details." >&2;}
4197 { (exit 1); exit 1; }; }
4199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4208 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4209 cat >>confdefs.h
<<_ACEOF
4210 #define SIZEOF_INT $ac_cv_sizeof_int
4214 echo "$as_me:$LINENO: checking for long" >&5
4215 echo $ECHO_N "checking for long... $ECHO_C" >&6
4216 if test "${ac_cv_type_long+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 $ac_includes_default
4237 rm -f conftest.
$ac_objext
4238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4239 (eval $ac_compile) 2>conftest.er1
4241 grep -v '^ *+' conftest.er1
>conftest.err
4243 cat conftest.err
>&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } &&
4246 { ac_try
='test -z "$ac_c_werror_flag"
4247 || test ! -s conftest.err'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; } &&
4253 { ac_try
='test -s conftest.$ac_objext'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; }; then
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.
$ac_ext >&5
4266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4268 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4269 echo "${ECHO_T}$ac_cv_type_long" >&6
4271 echo "$as_me:$LINENO: checking size of long" >&5
4272 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4273 if test "${ac_cv_sizeof_long+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 if test "$ac_cv_type_long" = yes; then
4277 # The cast to unsigned long works around a bug in the HP C Compiler
4278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4280 # This bug is HP SR number 8606223364.
4281 if test "$cross_compiling" = yes; then
4282 # Depending upon the size, compute the lo and hi bounds.
4283 cat >conftest.
$ac_ext <<_ACEOF
4286 cat confdefs.h
>>conftest.
$ac_ext
4287 cat >>conftest.
$ac_ext <<_ACEOF
4288 /* end confdefs.h. */
4289 $ac_includes_default
4293 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4300 rm -f conftest.
$ac_objext
4301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4302 (eval $ac_compile) 2>conftest.er1
4304 grep -v '^ *+' conftest.er1
>conftest.err
4306 cat conftest.err
>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } &&
4309 { ac_try
='test -z "$ac_c_werror_flag"
4310 || test ! -s conftest.err'
4311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try
='test -s conftest.$ac_objext'
4317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); }; }; then
4324 cat >conftest.
$ac_ext <<_ACEOF
4327 cat confdefs.h
>>conftest.
$ac_ext
4328 cat >>conftest.
$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4330 $ac_includes_default
4334 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4341 rm -f conftest.
$ac_objext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343 (eval $ac_compile) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } &&
4350 { ac_try
='test -z "$ac_c_werror_flag"
4351 || test ! -s conftest.err'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; } &&
4357 { ac_try
='test -s conftest.$ac_objext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_hi
=$ac_mid; break
4365 echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.
$ac_ext >&5
4368 ac_lo
=`expr $ac_mid + 1`
4369 if test $ac_lo -le $ac_mid; then
4373 ac_mid
=`expr 2 '*' $ac_mid + 1`
4375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.
$ac_ext >&5
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 $ac_includes_default
4391 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4398 rm -f conftest.
$ac_objext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4400 (eval $ac_compile) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1
>conftest.err
4404 cat conftest.err
>&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try
='test -z "$ac_c_werror_flag"
4408 || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try
='test -s conftest.$ac_objext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4422 cat >conftest.
$ac_ext <<_ACEOF
4425 cat confdefs.h
>>conftest.
$ac_ext
4426 cat >>conftest.
$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4428 $ac_includes_default
4432 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4439 rm -f conftest.
$ac_objext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4441 (eval $ac_compile) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1
>conftest.err
4445 cat conftest.err
>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try
='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try
='test -s conftest.$ac_objext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_lo
=$ac_mid; break
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4466 ac_hi
=`expr '(' $ac_mid ')' - 1`
4467 if test $ac_mid -le $ac_hi; then
4471 ac_mid
=`expr 2 '*' $ac_mid`
4473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 # Binary search between lo and hi bounds.
4485 while test "x$ac_lo" != "x$ac_hi"; do
4486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4487 cat >conftest.
$ac_ext <<_ACEOF
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 $ac_includes_default
4497 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4504 rm -f conftest.
$ac_objext
4505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4506 (eval $ac_compile) 2>conftest.er1
4508 grep -v '^ *+' conftest.er1
>conftest.err
4510 cat conftest.err
>&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } &&
4513 { ac_try
='test -z "$ac_c_werror_flag"
4514 || test ! -s conftest.err'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; } &&
4520 { ac_try
='test -s conftest.$ac_objext'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; }; then
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.
$ac_ext >&5
4531 ac_lo
=`expr '(' $ac_mid ')' + 1`
4533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4536 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4537 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4538 See \`config.log' for more details." >&5
4539 echo "$as_me: error: cannot compute sizeof (long), 77
4540 See \`config.log' for more details." >&2;}
4541 { (exit 1); exit 1; }; } ;;
4544 if test "$cross_compiling" = yes; then
4545 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4546 See \`config.log' for more details." >&5
4547 echo "$as_me: error: cannot run test program while cross compiling
4548 See \`config.log' for more details." >&2;}
4549 { (exit 1); exit 1; }; }
4551 cat >conftest.
$ac_ext <<_ACEOF
4554 cat confdefs.h
>>conftest.
$ac_ext
4555 cat >>conftest.
$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4557 $ac_includes_default
4558 long longval () { return (long) (sizeof (long)); }
4559 unsigned long ulongval () { return (long) (sizeof (long)); }
4566 FILE *f = fopen ("conftest.val", "w");
4569 if (((long) (sizeof (long))) < 0)
4571 long i = longval ();
4572 if (i != ((long) (sizeof (long))))
4574 fprintf (f, "%ld\n", i);
4578 unsigned long i = ulongval ();
4579 if (i != ((long) (sizeof (long))))
4581 fprintf (f, "%lu\n", i);
4583 exit (ferror (f) || fclose (f) != 0);
4589 rm -f conftest
$ac_exeext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4591 (eval $ac_link) 2>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4600 ac_cv_sizeof_long
=`cat conftest.val`
4602 echo "$as_me: program exited with status $ac_status" >&5
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.
$ac_ext >&5
4607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4608 See \`config.log' for more details." >&5
4609 echo "$as_me: error: cannot compute sizeof (long), 77
4610 See \`config.log' for more details." >&2;}
4611 { (exit 1); exit 1; }; }
4613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4621 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4622 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4623 cat >>confdefs.h
<<_ACEOF
4624 #define SIZEOF_LONG $ac_cv_sizeof_long
4628 echo "$as_me:$LINENO: checking for long long" >&5
4629 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4630 if test "${ac_cv_type_long_long+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4639 $ac_includes_default
4643 if ((long long *) 0)
4645 if (sizeof (long long))
4651 rm -f conftest.
$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1
>conftest.err
4657 cat conftest.err
>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try
='test -z "$ac_c_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try
='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_cv_type_long_long
=yes
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4678 ac_cv_type_long_long
=no
4680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4683 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4685 echo "$as_me:$LINENO: checking size of long long" >&5
4686 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4687 if test "${ac_cv_sizeof_long_long+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 if test "$ac_cv_type_long_long" = yes; then
4691 # The cast to unsigned long works around a bug in the HP C Compiler
4692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4694 # This bug is HP SR number 8606223364.
4695 if test "$cross_compiling" = yes; then
4696 # Depending upon the size, compute the lo and hi bounds.
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4703 $ac_includes_default
4707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4714 rm -f conftest.
$ac_objext
4715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4716 (eval $ac_compile) 2>conftest.er1
4718 grep -v '^ *+' conftest.er1
>conftest.err
4720 cat conftest.err
>&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } &&
4723 { ac_try
='test -z "$ac_c_werror_flag"
4724 || test ! -s conftest.err'
4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; } &&
4730 { ac_try
='test -s conftest.$ac_objext'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; }; then
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 $ac_includes_default
4748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4755 rm -f conftest.
$ac_objext
4756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4757 (eval $ac_compile) 2>conftest.er1
4759 grep -v '^ *+' conftest.er1
>conftest.err
4761 cat conftest.err
>&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } &&
4764 { ac_try
='test -z "$ac_c_werror_flag"
4765 || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try
='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_hi
=$ac_mid; break
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4782 ac_lo
=`expr $ac_mid + 1`
4783 if test $ac_lo -le $ac_mid; then
4787 ac_mid
=`expr 2 '*' $ac_mid + 1`
4789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4792 echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.
$ac_ext >&5
4795 cat >conftest.
$ac_ext <<_ACEOF
4798 cat confdefs.h
>>conftest.
$ac_ext
4799 cat >>conftest.
$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4801 $ac_includes_default
4805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4812 rm -f conftest.
$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4816 grep -v '^ *+' conftest.er1
>conftest.err
4818 cat conftest.err
>&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try
='test -z "$ac_c_werror_flag"
4822 || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try
='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4836 cat >conftest.
$ac_ext <<_ACEOF
4839 cat confdefs.h
>>conftest.
$ac_ext
4840 cat >>conftest.
$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 $ac_includes_default
4846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4853 rm -f conftest.
$ac_objext
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>conftest.er1
4857 grep -v '^ *+' conftest.er1
>conftest.err
4859 cat conftest.err
>&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } &&
4862 { ac_try
='test -z "$ac_c_werror_flag"
4863 || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try
='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_lo
=$ac_mid; break
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.
$ac_ext >&5
4880 ac_hi
=`expr '(' $ac_mid ')' - 1`
4881 if test $ac_mid -le $ac_hi; then
4885 ac_mid
=`expr 2 '*' $ac_mid`
4887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4898 # Binary search between lo and hi bounds.
4899 while test "x$ac_lo" != "x$ac_hi"; do
4900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4901 cat >conftest.
$ac_ext <<_ACEOF
4904 cat confdefs.h
>>conftest.
$ac_ext
4905 cat >>conftest.
$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4907 $ac_includes_default
4911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4918 rm -f conftest.
$ac_objext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 (eval $ac_compile) 2>conftest.er1
4922 grep -v '^ *+' conftest.er1
>conftest.err
4924 cat conftest.err
>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try
='test -z "$ac_c_werror_flag"
4928 || test ! -s conftest.err'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; } &&
4934 { ac_try
='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4945 ac_lo
=`expr '(' $ac_mid ')' + 1`
4947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4950 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
4951 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4952 See \`config.log' for more details." >&5
4953 echo "$as_me: error: cannot compute sizeof (long long), 77
4954 See \`config.log' for more details." >&2;}
4955 { (exit 1); exit 1; }; } ;;
4958 if test "$cross_compiling" = yes; then
4959 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4960 See \`config.log' for more details." >&5
4961 echo "$as_me: error: cannot run test program while cross compiling
4962 See \`config.log' for more details." >&2;}
4963 { (exit 1); exit 1; }; }
4965 cat >conftest.
$ac_ext <<_ACEOF
4968 cat confdefs.h
>>conftest.
$ac_ext
4969 cat >>conftest.
$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 $ac_includes_default
4972 long longval () { return (long) (sizeof (long long)); }
4973 unsigned long ulongval () { return (long) (sizeof (long long)); }
4980 FILE *f = fopen ("conftest.val", "w");
4983 if (((long) (sizeof (long long))) < 0)
4985 long i = longval ();
4986 if (i != ((long) (sizeof (long long))))
4988 fprintf (f, "%ld\n", i);
4992 unsigned long i = ulongval ();
4993 if (i != ((long) (sizeof (long long))))
4995 fprintf (f, "%lu\n", i);
4997 exit (ferror (f) || fclose (f) != 0);
5003 rm -f conftest
$ac_exeext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5005 (eval $ac_link) 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5014 ac_cv_sizeof_long_long
=`cat conftest.val`
5016 echo "$as_me: program exited with status $ac_status" >&5
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.
$ac_ext >&5
5021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5022 See \`config.log' for more details." >&5
5023 echo "$as_me: error: cannot compute sizeof (long long), 77
5024 See \`config.log' for more details." >&2;}
5025 { (exit 1); exit 1; }; }
5027 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5032 ac_cv_sizeof_long_long
=0
5035 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5036 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5037 cat >>confdefs.h
<<_ACEOF
5038 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5044 $ac_cv_sizeof_short) SIZE16
="short";;
5045 $ac_cv_sizeof_int) SIZE16
="int";;
5049 $ac_cv_sizeof_int) SIZE32
="int";;
5050 $ac_cv_sizeof_long) SIZE32
="long";;
5051 $ac_cv_sizeof_short) SIZE32
="short";;
5059 # Check whether --enable-localspeex or --disable-localspeex was given.
5060 if test "${enable_localspeex+set}" = set; then
5061 enableval
="$enable_localspeex"
5062 localspeex
=$enableval
5065 if test "${localspeex}" = "yes" ; then
5066 { echo "$as_me:$LINENO: Forcing use of local Speex sources" >&5
5067 echo "$as_me: Forcing use of local Speex sources" >&6;}
5068 elif test "${localspeex}" = "no" ; then
5069 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5070 echo "$as_me: Forcing use of system Speex library" >&6;}
5071 cat >>confdefs.h
<<\_ACEOF
5072 #define H323_SYSTEM_SPEEX 1
5078 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5079 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5080 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 ac_check_lib_save_LIBS
=$LIBS
5084 LIBS
="-lspeex $LIBS"
5085 cat >conftest.
$ac_ext <<_ACEOF
5088 cat confdefs.h
>>conftest.
$ac_ext
5089 cat >>conftest.
$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5092 /* Override any gcc2 internal prototype to avoid an error. */
5096 /* We use char because int might match the return type of a gcc2
5097 builtin and then its argument prototype would still apply. */
5098 char speex_encoder_destroy ();
5102 speex_encoder_destroy ();
5107 rm -f conftest.
$ac_objext conftest
$ac_exeext
5108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5109 (eval $ac_link) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1
>conftest.err
5113 cat conftest.err
>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } &&
5116 { ac_try
='test -z "$ac_c_werror_flag"
5117 || test ! -s conftest.err'
5118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; } &&
5123 { ac_try
='test -s conftest$ac_exeext'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; }; then
5129 ac_cv_lib_speex_speex_encoder_destroy
=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5134 ac_cv_lib_speex_speex_encoder_destroy
=no
5136 rm -f conftest.err conftest.
$ac_objext \
5137 conftest
$ac_exeext conftest.
$ac_ext
5138 LIBS
=$ac_check_lib_save_LIBS
5140 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5141 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5142 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5146 if test "x$SPEEX" = "x"; then
5147 { echo "$as_me:$LINENO: Forcing use of local Speex library" >&5
5148 echo "$as_me: Forcing use of local Speex library" >&6;}
5150 echo "$as_me:$LINENO: checking system Speex version" >&5
5151 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5154 #include <speex_header.h>
5156 int main(int argc,char *argv)
5159 speex_init_header(&header, 1, 1, &speex_nb_mode);
5160 printf("%s\n", header.speex_version);
5163 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5164 if test \
! -x t
; then
5165 echo "$as_me:$LINENO: result: cannot determine - using library version" >&5
5166 echo "${ECHO_T}cannot determine - using library version" >&6
5170 echo "$as_me:$LINENO: result: $SYSVER" >&5
5171 echo "${ECHO_T}$SYSVER" >&6
5172 echo "$as_me:$LINENO: checking library Speex version" >&5
5173 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5174 LIBVER
=`grep "#define VERSION" ./audio/Speex/libspeex/misc.h | sed -e 's/^.*speex\-//' -e 's/\"//'`
5175 echo "$as_me:$LINENO: result: $LIBVER" >&5
5176 echo "${ECHO_T}$LIBVER" >&6
5177 echo "$as_me:$LINENO: checking Speex versions" >&5
5178 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5181 \$sysver = @ARGV[0];
5182 \$libver = @ARGV[1];
5183 @lib = split /\./, \$libver;
5187 @sys = split /\./, \$sysver;
5193 #print "comparing " . @sys[\$i] . " and " . @lib[\$i] . "\n";
5194 if (\@sys[\$i] < @lib[\$i]) {
5203 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5205 if test "x$SPEEX" = "x" ; then
5206 echo "$as_me:$LINENO: result: library version is more recent" >&5
5207 echo "${ECHO_T}library version is more recent" >&6
5209 echo "$as_me:$LINENO: result: system version is more recent" >&5
5210 echo "${ECHO_T}system version is more recent" >&6
5211 cat >>confdefs.h
<<\_ACEOF
5212 #define H323_SYSTEM_SPEEX 1
5223 ac_config_files
="$ac_config_files audio/gsm-amr/Makefile"
5225 ac_config_files
="$ac_config_files audio/GSM0610/Makefile"
5227 ac_config_files
="$ac_config_files audio/iLBC/Makefile"
5229 ac_config_files
="$ac_config_files audio/Speex/Makefile"
5231 ac_config_files
="$ac_config_files audio/LPC_10/Makefile"
5233 ac_config_files
="$ac_config_files audio/G726/Makefile"
5235 ac_config_files
="$ac_config_files audio/IMA_ADPCM/Makefile"
5237 ac_config_files
="$ac_config_files video/H.261-vic/Makefile"
5239 ac_config_files
="$ac_config_files video/H.263-ffmpeg/Makefile"
5244 ac_config_files
="$ac_config_files audio/Speex/libspeex/speex_config_types.h"
5245 cat >confcache
<<\_ACEOF
5246 # This file is a shell script that caches the results of configure
5247 # tests run on this system so they can be shared between configure
5248 # scripts and configure runs, see configure's option --config-cache.
5249 # It is not useful on other systems. If it contains results you don't
5250 # want to keep, you may remove or edit it.
5252 # config.status only pays attention to the cache file if you give it
5253 # the --recheck option to rerun configure.
5255 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5256 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5261 # The following way of writing the cache mishandles newlines in values,
5262 # but we know of no workaround that is simple, portable, and efficient.
5263 # So, don't put newlines in cache variables' values.
5264 # Ultrix sh set writes to stderr and can't be redirected directly,
5265 # and sets the high bit in the cache file unless we assign to the vars.
5268 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5270 # `set' does not quote correctly, so add quotes (double-quote
5271 # substitution turns \\\\ into \\, and sed turns \\ into \).
5274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5277 # `set' quotes correctly as required by POSIX, so do not add quotes.
5279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5286 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5288 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5290 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5291 if test -w $cache_file; then
5292 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5293 cat confcache
>$cache_file
5295 echo "not updating unwritable cache $cache_file"
5300 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5301 # Let make expand exec_prefix.
5302 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5304 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5305 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5306 # trailing colons and then remove the whole line if VPATH becomes empty
5307 # (actually we leave an empty line to preserve line numbers).
5308 if test "x$srcdir" = x.
; then
5309 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5310 s/:*\$(srcdir):*/:/;
5311 s/:*\${srcdir}:*/:/;
5313 s/^\([^=]*=[ ]*\):*/\1/;
5319 # Transform confdefs.h into DEFS.
5320 # Protect against shell expansion while executing Makefile rules.
5321 # Protect against Makefile macro expansion.
5323 # If the first sed substitution is executed (which looks for macros that
5324 # take arguments), then we branch to the quote section. Otherwise,
5325 # look for a macro that doesn't take arguments.
5326 cat >confdef2opt.
sed <<\_ACEOF
5329 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5331 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5335 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5341 # We use echo to avoid assuming a particular line-breaking character.
5342 # The extra dot is to prevent the shell from consuming trailing
5343 # line-breaks from the sub-command output. A line-break within
5344 # single-quotes doesn't work because, if this script is created in a
5345 # platform that uses two characters for line-breaks (e.g., DOS), tr
5347 ac_LF_and_DOT=`echo; echo .
`
5348 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5349 rm -f confdef2opt.sed
5354 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5355 # 1. Remove the extension, and $U if already installed.
5356 ac_i=`echo "$ac_i" |
5357 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5359 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5360 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5364 LTLIBOBJS=$ac_ltlibobjs
5368 : ${CONFIG_STATUS=./config.status}
5369 ac_clean_files_save=$ac_clean_files
5370 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5371 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5372 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5373 cat >$CONFIG_STATUS <<_ACEOF
5375 # Generated by $as_me.
5376 # Run this file to recreate the current configuration.
5377 # Compiler output produced by configure, useful for debugging
5378 # configure, is in config.log if it exists.
5383 SHELL=\${CONFIG_SHELL-$SHELL}
5386 cat >>$CONFIG_STATUS <<\_ACEOF
5387 ## --------------------- ##
5388 ## M4sh Initialization. ##
5389 ## --------------------- ##
5391 # Be Bourne compatible
5392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5395 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5396 # is contrary to our usage. Disable this feature.
5397 alias -g '${1+"$@"}'='"$@"'
5398 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5401 DUALCASE=1; export DUALCASE # for MKS sh
5403 # Support unset when possible.
5404 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5411 # Work around bugs in pre-3.0 UWIN ksh.
5412 $as_unset ENV MAIL MAILPATH
5419 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5420 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5421 LC_TELEPHONE LC_TIME
5423 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5424 eval $as_var=C; export $as_var
5430 # Required to use basename.
5431 if expr a : '\(a\)' >/dev/null 2>&1; then
5437 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5438 as_basename=basename
5444 # Name of the executable.
5445 as_me=`$as_basename "$0" ||
5446 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5447 X
"$0" : 'X\(//\)$' \| \
5448 X
"$0" : 'X\(/\)$' \| \
5449 .
: '\(.\)' 2>/dev
/null ||
5451 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5452 /^X\/\(\/\/\)$/{ s//\1/; q; }
5453 /^X\/\(\/\).*/{ s//\1/; q; }
5457 # PATH needs CR, and LINENO needs CR and PATH.
5458 # Avoid depending upon Character Ranges.
5459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5462 as_cr_digits='0123456789'
5463 as_cr_alnum=$as_cr_Letters$as_cr_digits
5465 # The user is always right.
5466 if test "${PATH_SEPARATOR+set}" != set; then
5467 echo "#! /bin/sh" >conf$$.sh
5468 echo "exit 0" >>conf$$.sh
5470 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5481 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5482 test "x$as_lineno_1" != "x$as_lineno_2" &&
5483 test "x$as_lineno_3" = "x$as_lineno_2" || {
5484 # Find who we are. Look in the path if we contain no path at all
5487 *[\\/]* ) as_myself=$0 ;;
5488 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir=.
5493 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5498 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5499 # in which case we are not to be found in the path.
5500 if test "x$as_myself" = x; then
5503 if test ! -f "$as_myself"; then
5504 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5505 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5506 { (exit 1); exit 1; }; }
5508 case $CONFIG_SHELL in
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5514 test -z "$as_dir" && as_dir=.
5515 for as_base in sh bash ksh sh5; do
5518 if ("$as_dir/$as_base" -c '
5521 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5522 test "x$as_lineno_1" != "x$as_lineno_2" &&
5523 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5524 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5525 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5526 CONFIG_SHELL=$as_dir/$as_base
5528 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5537 # uniformly replaced by the line number. The first 'sed' inserts a
5538 # line-number line before each line; the second 'sed' does the real
5539 # work. The second script uses 'N
' to pair each line-number line
5540 # with the numbered line, and appends trailing '-' during
5541 # substitution so that $LINENO is not a special case at line end.
5542 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5543 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5544 sed '=' <$as_myself |
5549 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5552 s,^['$as_cr_digits']*\n,,
5554 chmod +x
$as_me.lineno ||
5555 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5556 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5557 { (exit 1); exit 1; }; }
5559 # Don't try to exec as it changes $[0], causing all sort of problems
5560 # (the dirname of $[0] is not the place where we might find the
5561 # original and so on. Autoconf is especially sensible to this).
5563 # Exit status is that of the last command.
5568 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5569 *c
*,-n*) ECHO_N
= ECHO_C
='
5571 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5572 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5575 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5581 rm -f conf$$ conf$$.exe conf$$.
file
5583 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5584 # We could just check for DJGPP; but this test a) works b) is more generic
5585 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5586 if test -f conf$$.exe
; then
5587 # Don't use ln at all; we don't have any links
5592 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5597 rm -f conf$$ conf$$.exe conf$$.
file
5599 if mkdir
-p .
2>/dev
/null
; then
5602 test -d .
/-p && rmdir .
/-p
5606 as_executable_p
="test -f"
5608 # Sed expression to map a string onto a valid CPP name.
5609 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5611 # Sed expression to map a string onto a valid variable name.
5612 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5616 # We need space, tab and new line, in precisely that order.
5626 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5627 # report actual input values of CONFIG_FILES etc. instead of their
5628 # values after options handling. Logging --version etc. is OK.
5632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5633 ## Running $as_me. ##
5638 This file was extended by $as_me, which was
5639 generated by GNU Autoconf 2.59. Invocation command line was
5641 CONFIG_FILES = $CONFIG_FILES
5642 CONFIG_HEADERS = $CONFIG_HEADERS
5643 CONFIG_LINKS = $CONFIG_LINKS
5644 CONFIG_COMMANDS = $CONFIG_COMMANDS
5648 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5652 # Files that config.status was made for.
5653 if test -n "$ac_config_files"; then
5654 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5657 if test -n "$ac_config_headers"; then
5658 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5661 if test -n "$ac_config_links"; then
5662 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5665 if test -n "$ac_config_commands"; then
5666 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5669 cat >>$CONFIG_STATUS <<\_ACEOF
5672 \`$as_me' instantiates files from templates according to the
5673 current configuration.
5675 Usage: $0 [OPTIONS] [FILE]...
5677 -h, --help print this help, then exit
5678 -V, --version print version number, then exit
5679 -q, --quiet do not print progress messages
5680 -d, --debug don't remove temporary files
5681 --recheck update $as_me by reconfiguring in the same conditions
5682 --file=FILE[:TEMPLATE]
5683 instantiate the configuration file FILE
5685 Configuration files:
5688 Report bugs to <bug-autoconf@gnu.org>."
5691 cat >>$CONFIG_STATUS <<_ACEOF
5694 configured by $0, generated by GNU Autoconf 2.59,
5695 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5697 Copyright (C) 2003 Free Software Foundation, Inc.
5698 This config.status script is free software; the Free Software Foundation
5699 gives unlimited permission to copy, distribute and modify it."
5703 cat >>$CONFIG_STATUS <<\_ACEOF
5704 # If no file are specified by the user, then we need to provide default
5705 # value. By we need to know if files were specified by the user.
5711 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5712 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5720 *) # This is not an option, so the user has probably given explicit
5723 ac_need_defaults
=false
;;
5727 # Handling of the options.
5729 cat >>$CONFIG_STATUS <<\_ACEOF
5730 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5732 --version |
--vers* |
-V )
5733 echo "$ac_cs_version"; exit 0 ;;
5735 # Conflict between --help and --header
5736 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5737 Try \`$0 --help' for more information." >&5
5738 echo "$as_me: error: ambiguous option: $1
5739 Try \`$0 --help' for more information." >&2;}
5740 { (exit 1); exit 1; }; };;
5741 --help |
--hel |
-h )
5742 echo "$ac_cs_usage"; exit 0 ;;
5743 --debug |
--d* |
-d )
5745 --file |
--fil |
--fi |
--f )
5747 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5748 ac_need_defaults
=false
;;
5749 --header |
--heade |
--head |
--hea )
5751 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5752 ac_need_defaults
=false
;;
5753 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5754 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5758 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5759 Try \`$0 --help' for more information." >&5
5760 echo "$as_me: error: unrecognized option: $1
5761 Try \`$0 --help' for more information." >&2;}
5762 { (exit 1); exit 1; }; } ;;
5764 *) ac_config_targets
="$ac_config_targets $1" ;;
5770 ac_configure_extra_args
=
5772 if $ac_cs_silent; then
5774 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5778 cat >>$CONFIG_STATUS <<_ACEOF
5779 if \$ac_cs_recheck; then
5780 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5781 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5790 cat >>$CONFIG_STATUS <<\_ACEOF
5791 for ac_config_target
in $ac_config_targets
5793 case "$ac_config_target" in
5794 # Handling of arguments.
5795 "audio/gsm-amr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/gsm-amr/Makefile" ;;
5796 "audio/GSM0610/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/GSM0610/Makefile" ;;
5797 "audio/iLBC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/iLBC/Makefile" ;;
5798 "audio/Speex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/Makefile" ;;
5799 "audio/LPC_10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/LPC_10/Makefile" ;;
5800 "audio/G726/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/G726/Makefile" ;;
5801 "audio/IMA_ADPCM/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/IMA_ADPCM/Makefile" ;;
5802 "video/H.261-vic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.261-vic/Makefile" ;;
5803 "video/H.263-ffmpeg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.263-ffmpeg/Makefile" ;;
5804 "audio/Speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/libspeex/speex_config_types.h" ;;
5805 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5806 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5807 { (exit 1); exit 1; }; };;
5811 # If the user did not use the arguments to specify the items to instantiate,
5812 # then the envvar interface is used. Set only those that are not.
5813 # We use the long form for the default assignment because of an extremely
5814 # bizarre bug on SunOS 4.1.3.
5815 if $ac_need_defaults; then
5816 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5819 # Have a temporary directory for convenience. Make it in the build tree
5820 # simply because there is no reason to put it here, and in addition,
5821 # creating and moving files from /tmp can sometimes cause problems.
5822 # Create a temporary directory, and hook for its removal unless debugging.
5825 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5826 trap '{ (exit 1); exit 1; }' 1 2 13 15
5829 # Create a (secure) tmp directory for tmp files.
5832 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5833 test -n "$tmp" && test -d "$tmp"
5836 tmp
=.
/confstat$$
-$RANDOM
5837 (umask 077 && mkdir
$tmp)
5840 echo "$me: cannot create a temporary directory in ." >&2
5841 { (exit 1); exit 1; }
5846 cat >>$CONFIG_STATUS <<_ACEOF
5849 # CONFIG_FILES section.
5852 # No need to generate the scripts if there are no CONFIG_FILES.
5853 # This happens for instance when ./config.status config.h
5854 if test -n "\$CONFIG_FILES"; then
5855 # Protect against being on the right side of a sed subst in config.status.
5856 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5857 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5858 s,@SHELL@,$SHELL,;t t
5859 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5860 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5861 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5862 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5863 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5864 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5865 s,@exec_prefix@,$exec_prefix,;t t
5866 s,@prefix@,$prefix,;t t
5867 s,@program_transform_name@,$program_transform_name,;t t
5868 s,@bindir@,$bindir,;t t
5869 s,@sbindir@,$sbindir,;t t
5870 s,@libexecdir@,$libexecdir,;t t
5871 s,@datadir@,$datadir,;t t
5872 s,@sysconfdir@,$sysconfdir,;t t
5873 s,@sharedstatedir@,$sharedstatedir,;t t
5874 s,@localstatedir@,$localstatedir,;t t
5875 s,@libdir@,$libdir,;t t
5876 s,@includedir@,$includedir,;t t
5877 s,@oldincludedir@,$oldincludedir,;t t
5878 s,@infodir@,$infodir,;t t
5879 s,@mandir@,$mandir,;t t
5880 s,@build_alias@,$build_alias,;t t
5881 s,@host_alias@,$host_alias,;t t
5882 s,@target_alias@,$target_alias,;t t
5884 s,@ECHO_C@,$ECHO_C,;t t
5885 s,@ECHO_N@,$ECHO_N,;t t
5886 s,@ECHO_T@,$ECHO_T,;t t
5889 s,@CXXFLAGS@,$CXXFLAGS,;t t
5890 s,@LDFLAGS@,$LDFLAGS,;t t
5891 s,@CPPFLAGS@,$CPPFLAGS,;t t
5892 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5893 s,@EXEEXT@,$EXEEXT,;t t
5894 s,@OBJEXT@,$OBJEXT,;t t
5896 s,@CFLAGS@,$CFLAGS,;t t
5897 s,@ac_ct_CC@,$ac_ct_CC,;t t
5899 s,@EGREP@,$EGREP,;t t
5900 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
5901 s,@LIBDIR@,$LIBDIR,;t t
5902 s,@build@,$build,;t t
5903 s,@build_cpu@,$build_cpu,;t t
5904 s,@build_vendor@,$build_vendor,;t t
5905 s,@build_os@,$build_os,;t t
5907 s,@host_cpu@,$host_cpu,;t t
5908 s,@host_vendor@,$host_vendor,;t t
5909 s,@host_os@,$host_os,;t t
5910 s,@target@,$target,;t t
5911 s,@target_cpu@,$target_cpu,;t t
5912 s,@target_vendor@,$target_vendor,;t t
5913 s,@target_os@,$target_os,;t t
5915 s,@H323_GSMAMR_NB_FLOAT@,$H323_GSMAMR_NB_FLOAT,;t t
5916 s,@H323_SYSTEM_GSM@,$H323_SYSTEM_GSM,;t t
5917 s,@SIZE16@,$SIZE16,;t t
5918 s,@SIZE32@,$SIZE32,;t t
5919 s,@H323_SYSTEM_SPEEX@,$H323_SYSTEM_SPEEX,;t t
5920 s,@LIBOBJS@,$LIBOBJS,;t t
5921 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5926 cat >>$CONFIG_STATUS <<\_ACEOF
5927 # Split the substitutions into bite-sized pieces for seds with
5928 # small command number limits, like on Digital OSF/1 and HP-UX.
5930 ac_sed_frag
=1 # Number of current file.
5931 ac_beg
=1 # First line for current file.
5932 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5935 while $ac_more_lines; do
5936 if test $ac_beg -gt 1; then
5937 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5939 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5941 if test ! -s $tmp/subs.frag
; then
5944 # The purpose of the label and of the branching condition is to
5945 # speed up the sed processing (if there are no `@' at all, there
5946 # is no need to browse any of the substitutions).
5947 # These are the two extra sed commands mentioned above.
5949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5950 if test -z "$ac_sed_cmds"; then
5951 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5953 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5955 ac_sed_frag
=`expr $ac_sed_frag + 1`
5957 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5960 if test -z "$ac_sed_cmds"; then
5963 fi # test -n "$CONFIG_FILES"
5966 cat >>$CONFIG_STATUS <<\_ACEOF
5967 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5970 - |
*:- |
*:-:* ) # input from stdin
5972 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5973 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5974 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5975 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5976 * ) ac_file_in
=$ac_file.
in ;;
5979 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5980 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5982 X"$ac_file" : 'X\(//\)[^/]' \| \
5983 X"$ac_file" : 'X\(//\)$' \| \
5984 X"$ac_file" : 'X\(/\)' \| \
5985 . : '\(.\)' 2>/dev/null ||
5987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5989 /^X\(\/\/\)$/{ s//\1/; q; }
5990 /^X\(\/\).*/{ s//\1/; q; }
5992 { if $as_mkdir_p; then
5997 while test ! -d "$as_dir"; do
5998 as_dirs
="$as_dir $as_dirs"
5999 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6001 X"$as_dir" : 'X\(//\)[^/]' \| \
6002 X"$as_dir" : 'X\(//\)$' \| \
6003 X"$as_dir" : 'X\(/\)' \| \
6004 . : '\(.\)' 2>/dev/null ||
6006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6008 /^X\(\/\/\)$/{ s//\1/; q; }
6009 /^X\(\/\).*/{ s//\1/; q; }
6012 test ! -n "$as_dirs" || mkdir
$as_dirs
6013 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6014 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6015 { (exit 1); exit 1; }; }; }
6019 if test "$ac_dir" != .
; then
6020 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6021 # A "../" for each directory in $ac_dir_suffix.
6022 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6024 ac_dir_suffix
= ac_top_builddir
=
6028 .
) # No --srcdir option. We are building in place.
6030 if test -z "$ac_top_builddir"; then
6033 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6035 [\\/]* | ?
:[\\/]* ) # Absolute path.
6036 ac_srcdir
=$srcdir$ac_dir_suffix;
6037 ac_top_srcdir
=$srcdir ;;
6039 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6040 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6043 # Do not use `cd foo && pwd` to compute absolute paths, because
6044 # the directories may not exist.
6046 .
) ac_abs_builddir
="$ac_dir";;
6049 .
) ac_abs_builddir
=`pwd`;;
6050 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6051 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6054 case $ac_abs_builddir in
6055 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6057 case ${ac_top_builddir}.
in
6058 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6059 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6060 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6063 case $ac_abs_builddir in
6064 .
) ac_abs_srcdir
=$ac_srcdir;;
6067 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6068 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6069 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6072 case $ac_abs_builddir in
6073 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6075 case $ac_top_srcdir in
6076 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6077 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6078 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6084 if test x
"$ac_file" != x-
; then
6085 { echo "$as_me:$LINENO: creating $ac_file" >&5
6086 echo "$as_me: creating $ac_file" >&6;}
6089 # Let's still pretend it is `configure' which instantiates (i.e., don't
6090 # use $as_me), people would be surprised to read:
6091 # /* config.h. Generated by config.status. */
6092 if test x
"$ac_file" = x-
; then
6095 configure_input
="$ac_file. "
6097 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6098 sed 's,.*/,,'` by configure."
6100 # First look for the input files in the build tree, otherwise in the
6102 ac_file_inputs
=`IFS=:
6103 for f in $ac_file_in; do
6105 -) echo $tmp/stdin ;;
6107 # Absolute (can't be DOS-style, as IFS=:)
6108 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6109 echo "$as_me: error: cannot find input file: $f" >&2;}
6110 { (exit 1); exit 1; }; }
6113 if test -f "$f"; then
6116 elif test -f "$srcdir/$f"; then
6121 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6122 echo "$as_me: error: cannot find input file: $f" >&2;}
6123 { (exit 1); exit 1; }; }
6126 done` ||
{ (exit 1); exit 1; }
6128 cat >>$CONFIG_STATUS <<_ACEOF
6132 cat >>$CONFIG_STATUS <<\_ACEOF
6134 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6135 s
,@configure_input@
,$configure_input,;t t
6136 s
,@srcdir@
,$ac_srcdir,;t t
6137 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6138 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6139 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6140 s
,@builddir@
,$ac_builddir,;t t
6141 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6142 s
,@top_builddir@
,$ac_top_builddir,;t t
6143 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6144 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6146 if test x"$ac_file" != x-; then
6147 mv $tmp/out $ac_file
6156 cat >>$CONFIG_STATUS <<\_ACEOF
6158 { (exit 0); exit 0; }
6160 chmod +x $CONFIG_STATUS
6161 ac_clean_files=$ac_clean_files_save
6164 # configure is writing to config.log, and then calls config.status.
6165 # config.status does its own redirection, appending to config.log.
6166 # Unfortunately, on DOS this fails, as config.log is still kept open
6167 # by configure, so config.status won't be able to write to it; its
6168 # output is simply discarded. So we exec the FD to /dev/null,
6169 # effectively closing config.log, so it can be properly (re)opened and
6170 # appended to by config.status. When coming back to configure, we
6171 # need to make the FD available again.
6172 if test "$no_create" != yes; then
6174 ac_config_status_args=
6175 test "$silent" = yes &&
6176 ac_config_status_args="$ac_config_status_args --quiet"
6178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6181 # would make configure fail if this is the last instruction.
6182 $ac_cs_success || { (exit 1); exit 1; }
6185 cat >confcache <<\_ACEOF
6186 # This file is a shell script that caches the results of configure
6187 # tests run on this system so they can be shared between configure
6188 # scripts and configure runs, see configure's option --config-cache.
6189 # It is not useful on other systems. If it contains results you don't
6190 # want to keep, you may remove or edit it.
6192 # config.status only pays attention to the cache file if you give it
6193 # the --recheck option to rerun configure.
6195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6201 # The following way of writing the cache mishandles newlines in values,
6202 # but we know of no workaround that is simple, portable, and efficient.
6203 # So, don't put newlines in cache variables' values.
6204 # Ultrix sh set writes to stderr and can't be redirected directly,
6205 # and sets the high bit in the cache file unless we assign to the vars.
6208 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6210 # `set' does not quote correctly, so add quotes (double-quote
6211 # substitution turns \\\\ into \\, and sed turns \\ into \).
6214 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
6217 # `set' quotes correctly as required by POSIX, so do not add quotes.
6219 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
6226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6228 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6230 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6231 if test -w $cache_file; then
6232 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
6233 cat confcache >$cache_file
6235 echo "not updating unwritable cache
$cache_file"
6240 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
6241 # Let make expand exec_prefix.
6242 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
6244 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6245 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6246 # trailing colons and then remove the whole line if VPATH becomes empty
6247 # (actually we leave an empty line to preserve line numbers).
6248 if test "x
$srcdir" = x.; then
6249 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6250 s/:*\$(srcdir):*/:/;
6251 s/:*\${srcdir}:*/:/;
6253 s/^\([^=]*=[ ]*\):*/\1/;
6259 # Transform confdefs.h into DEFS.
6260 # Protect against shell expansion while executing Makefile rules.
6261 # Protect against Makefile macro expansion.
6263 # If the first sed substitution is executed (which looks for macros that
6264 # take arguments), then we branch to the quote section. Otherwise,
6265 # look for a macro that doesn't take arguments.
6266 cat >confdef2opt.sed <<\_ACEOF
6269 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6271 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6275 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
6281 # We use echo to avoid assuming a particular line-breaking character.
6282 # The extra dot is to prevent the shell from consuming trailing
6283 # line-breaks from the sub-command output. A line-break within
6284 # single-quotes doesn't work because, if this script is created in a
6285 # platform that uses two characters for line-breaks (e.g., DOS), tr
6287 ac_LF_and_DOT
=`echo; echo .`
6288 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6289 rm -f confdef2opt.
sed
6294 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6295 # 1. Remove the extension, and $U if already installed.
6296 ac_i
=`echo "$ac_i" |
6297 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6299 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6300 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6304 LTLIBOBJS
=$ac_ltlibobjs
6308 : ${CONFIG_STATUS=./config.status}
6309 ac_clean_files_save
=$ac_clean_files
6310 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6311 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6312 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6313 cat >$CONFIG_STATUS <<_ACEOF
6315 # Generated by $as_me.
6316 # Run this file to recreate the current configuration.
6317 # Compiler output produced by configure, useful for debugging
6318 # configure, is in config.log if it exists.
6323 SHELL=\${CONFIG_SHELL-$SHELL}
6326 cat >>$CONFIG_STATUS <<\_ACEOF
6327 ## --------------------- ##
6328 ## M4sh Initialization. ##
6329 ## --------------------- ##
6331 # Be Bourne compatible
6332 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6335 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6336 # is contrary to our usage. Disable this feature.
6337 alias -g '${1+"$@"}'='"$@"'
6338 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6341 DUALCASE
=1; export DUALCASE
# for MKS sh
6343 # Support unset when possible.
6344 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6351 # Work around bugs in pre-3.0 UWIN ksh.
6352 $as_unset ENV MAIL MAILPATH
6359 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6360 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6361 LC_TELEPHONE LC_TIME
6363 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6364 eval $as_var=C
; export $as_var
6370 # Required to use basename.
6371 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6377 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6378 as_basename
=basename
6384 # Name of the executable.
6385 as_me
=`$as_basename "$0" ||
6386 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6387 X"$0" : 'X\(//\)$' \| \
6388 X"$0" : 'X\(/\)$' \| \
6389 . : '\(.\)' 2>/dev/null ||
6391 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6392 /^X\/\(\/\/\)$/{ s//\1/; q; }
6393 /^X\/\(\/\).*/{ s//\1/; q; }
6397 # PATH needs CR, and LINENO needs CR and PATH.
6398 # Avoid depending upon Character Ranges.
6399 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6400 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6401 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6402 as_cr_digits
='0123456789'
6403 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6405 # The user is always right.
6406 if test "${PATH_SEPARATOR+set}" != set; then
6407 echo "#! /bin/sh" >conf$$.sh
6408 echo "exit 0" >>conf$$.sh
6410 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6421 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6422 test "x$as_lineno_1" != "x$as_lineno_2" &&
6423 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6424 # Find who we are. Look in the path if we contain no path at all
6427 *[\\/]* ) as_myself
=$0 ;;
6428 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir
=.
6433 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6438 # We did not find ourselves, most probably we were run as `sh COMMAND'
6439 # in which case we are not to be found in the path.
6440 if test "x$as_myself" = x
; then
6443 if test ! -f "$as_myself"; then
6444 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6445 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6446 { (exit 1); exit 1; }; }
6448 case $CONFIG_SHELL in
6450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6454 test -z "$as_dir" && as_dir
=.
6455 for as_base
in sh bash ksh sh5
; do
6458 if ("$as_dir/$as_base" -c '
6461 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6462 test "x$as_lineno_1" != "x$as_lineno_2" &&
6463 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6464 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6465 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6466 CONFIG_SHELL
=$as_dir/$as_base
6468 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6476 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6477 # uniformly replaced by the line number. The first 'sed' inserts a
6478 # line-number line before each line; the second 'sed' does the real
6479 # work. The second script uses 'N' to pair each line-number line
6480 # with the numbered line, and appends trailing '-' during
6481 # substitution so that $LINENO is not a special case at line end.
6482 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6483 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6484 sed '=' <$as_myself |
6489 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6492 s,^['$as_cr_digits']*\n,,
6494 chmod +x
$as_me.lineno ||
6495 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6496 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6497 { (exit 1); exit 1; }; }
6499 # Don't try to exec as it changes $[0], causing all sort of problems
6500 # (the dirname of $[0] is not the place where we might find the
6501 # original and so on. Autoconf is especially sensible to this).
6503 # Exit status is that of the last command.
6508 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6509 *c
*,-n*) ECHO_N
= ECHO_C
='
6511 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6512 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6515 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6521 rm -f conf$$ conf$$.exe conf$$.
file
6523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6524 # We could just check for DJGPP; but this test a) works b) is more generic
6525 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6526 if test -f conf$$.exe
; then
6527 # Don't use ln at all; we don't have any links
6532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6537 rm -f conf$$ conf$$.exe conf$$.
file
6539 if mkdir
-p .
2>/dev
/null
; then
6542 test -d .
/-p && rmdir .
/-p
6546 as_executable_p
="test -f"
6548 # Sed expression to map a string onto a valid CPP name.
6549 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6551 # Sed expression to map a string onto a valid variable name.
6552 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6556 # We need space, tab and new line, in precisely that order.
6566 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6567 # report actual input values of CONFIG_FILES etc. instead of their
6568 # values after options handling. Logging --version etc. is OK.
6572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6573 ## Running $as_me. ##
6578 This file was extended by $as_me, which was
6579 generated by GNU Autoconf 2.59. Invocation command line was
6581 CONFIG_FILES = $CONFIG_FILES
6582 CONFIG_HEADERS = $CONFIG_HEADERS
6583 CONFIG_LINKS = $CONFIG_LINKS
6584 CONFIG_COMMANDS = $CONFIG_COMMANDS
6588 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6592 # Files that config.status was made for.
6593 if test -n "$ac_config_files"; then
6594 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6597 if test -n "$ac_config_headers"; then
6598 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6601 if test -n "$ac_config_links"; then
6602 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6605 if test -n "$ac_config_commands"; then
6606 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6609 cat >>$CONFIG_STATUS <<\_ACEOF
6612 \`$as_me' instantiates files from templates according to the
6613 current configuration.
6615 Usage: $0 [OPTIONS] [FILE]...
6617 -h, --help print this help, then exit
6618 -V, --version print version number, then exit
6619 -q, --quiet do not print progress messages
6620 -d, --debug don't remove temporary files
6621 --recheck update $as_me by reconfiguring in the same conditions
6622 --file=FILE[:TEMPLATE]
6623 instantiate the configuration file FILE
6625 Configuration files:
6628 Report bugs to <bug-autoconf@gnu.org>."
6631 cat >>$CONFIG_STATUS <<_ACEOF
6634 configured by $0, generated by GNU Autoconf 2.59,
6635 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6637 Copyright (C) 2003 Free Software Foundation, Inc.
6638 This config.status script is free software; the Free Software Foundation
6639 gives unlimited permission to copy, distribute and modify it."
6643 cat >>$CONFIG_STATUS <<\_ACEOF
6644 # If no file are specified by the user, then we need to provide default
6645 # value. By we need to know if files were specified by the user.
6651 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6652 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6660 *) # This is not an option, so the user has probably given explicit
6663 ac_need_defaults
=false
;;
6667 # Handling of the options.
6669 cat >>$CONFIG_STATUS <<\_ACEOF
6670 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6672 --version |
--vers* |
-V )
6673 echo "$ac_cs_version"; exit 0 ;;
6675 # Conflict between --help and --header
6676 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6677 Try \`$0 --help' for more information." >&5
6678 echo "$as_me: error: ambiguous option: $1
6679 Try \`$0 --help' for more information." >&2;}
6680 { (exit 1); exit 1; }; };;
6681 --help |
--hel |
-h )
6682 echo "$ac_cs_usage"; exit 0 ;;
6683 --debug |
--d* |
-d )
6685 --file |
--fil |
--fi |
--f )
6687 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6688 ac_need_defaults
=false
;;
6689 --header |
--heade |
--head |
--hea )
6691 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6692 ac_need_defaults
=false
;;
6693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6694 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6698 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6699 Try \`$0 --help' for more information." >&5
6700 echo "$as_me: error: unrecognized option: $1
6701 Try \`$0 --help' for more information." >&2;}
6702 { (exit 1); exit 1; }; } ;;
6704 *) ac_config_targets
="$ac_config_targets $1" ;;
6710 ac_configure_extra_args
=
6712 if $ac_cs_silent; then
6714 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6718 cat >>$CONFIG_STATUS <<_ACEOF
6719 if \$ac_cs_recheck; then
6720 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6721 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6730 cat >>$CONFIG_STATUS <<\_ACEOF
6731 for ac_config_target
in $ac_config_targets
6733 case "$ac_config_target" in
6734 # Handling of arguments.
6735 "audio/gsm-amr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/gsm-amr/Makefile" ;;
6736 "audio/GSM0610/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/GSM0610/Makefile" ;;
6737 "audio/iLBC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/iLBC/Makefile" ;;
6738 "audio/Speex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/Makefile" ;;
6739 "audio/LPC_10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/LPC_10/Makefile" ;;
6740 "audio/G726/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/G726/Makefile" ;;
6741 "audio/IMA_ADPCM/Makefile" ) CONFIG_FILES
="$CONFIG_FILES audio/IMA_ADPCM/Makefile" ;;
6742 "video/H.261-vic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.261-vic/Makefile" ;;
6743 "video/H.263-ffmpeg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES video/H.263-ffmpeg/Makefile" ;;
6744 "audio/Speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES audio/Speex/libspeex/speex_config_types.h" ;;
6745 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6746 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6747 { (exit 1); exit 1; }; };;
6751 # If the user did not use the arguments to specify the items to instantiate,
6752 # then the envvar interface is used. Set only those that are not.
6753 # We use the long form for the default assignment because of an extremely
6754 # bizarre bug on SunOS 4.1.3.
6755 if $ac_need_defaults; then
6756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6759 # Have a temporary directory for convenience. Make it in the build tree
6760 # simply because there is no reason to put it here, and in addition,
6761 # creating and moving files from /tmp can sometimes cause problems.
6762 # Create a temporary directory, and hook for its removal unless debugging.
6765 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6766 trap '{ (exit 1); exit 1; }' 1 2 13 15
6769 # Create a (secure) tmp directory for tmp files.
6772 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6773 test -n "$tmp" && test -d "$tmp"
6776 tmp
=.
/confstat$$
-$RANDOM
6777 (umask 077 && mkdir
$tmp)
6780 echo "$me: cannot create a temporary directory in ." >&2
6781 { (exit 1); exit 1; }
6786 cat >>$CONFIG_STATUS <<_ACEOF
6789 # CONFIG_FILES section.
6792 # No need to generate the scripts if there are no CONFIG_FILES.
6793 # This happens for instance when ./config.status config.h
6794 if test -n "\$CONFIG_FILES"; then
6795 # Protect against being on the right side of a sed subst in config.status.
6796 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6797 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6798 s,@SHELL@,$SHELL,;t t
6799 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6800 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6801 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6802 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6803 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6804 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6805 s,@exec_prefix@,$exec_prefix,;t t
6806 s,@prefix@,$prefix,;t t
6807 s,@program_transform_name@,$program_transform_name,;t t
6808 s,@bindir@,$bindir,;t t
6809 s,@sbindir@,$sbindir,;t t
6810 s,@libexecdir@,$libexecdir,;t t
6811 s,@datadir@,$datadir,;t t
6812 s,@sysconfdir@,$sysconfdir,;t t
6813 s,@sharedstatedir@,$sharedstatedir,;t t
6814 s,@localstatedir@,$localstatedir,;t t
6815 s,@libdir@,$libdir,;t t
6816 s,@includedir@,$includedir,;t t
6817 s,@oldincludedir@,$oldincludedir,;t t
6818 s,@infodir@,$infodir,;t t
6819 s,@mandir@,$mandir,;t t
6820 s,@build_alias@,$build_alias,;t t
6821 s,@host_alias@,$host_alias,;t t
6822 s,@target_alias@,$target_alias,;t t
6824 s,@ECHO_C@,$ECHO_C,;t t
6825 s,@ECHO_N@,$ECHO_N,;t t
6826 s,@ECHO_T@,$ECHO_T,;t t
6829 s,@CXXFLAGS@,$CXXFLAGS,;t t
6830 s,@LDFLAGS@,$LDFLAGS,;t t
6831 s,@CPPFLAGS@,$CPPFLAGS,;t t
6832 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6833 s,@EXEEXT@,$EXEEXT,;t t
6834 s,@OBJEXT@,$OBJEXT,;t t
6836 s,@CFLAGS@,$CFLAGS,;t t
6837 s,@ac_ct_CC@,$ac_ct_CC,;t t
6839 s,@EGREP@,$EGREP,;t t
6840 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6841 s,@LIBDIR@,$LIBDIR,;t t
6842 s,@build@,$build,;t t
6843 s,@build_cpu@,$build_cpu,;t t
6844 s,@build_vendor@,$build_vendor,;t t
6845 s,@build_os@,$build_os,;t t
6847 s,@host_cpu@,$host_cpu,;t t
6848 s,@host_vendor@,$host_vendor,;t t
6849 s,@host_os@,$host_os,;t t
6850 s,@target@,$target,;t t
6851 s,@target_cpu@,$target_cpu,;t t
6852 s,@target_vendor@,$target_vendor,;t t
6853 s,@target_os@,$target_os,;t t
6855 s,@H323_GSMAMR_NB_FLOAT@,$H323_GSMAMR_NB_FLOAT,;t t
6856 s,@H323_SYSTEM_GSM@,$H323_SYSTEM_GSM,;t t
6857 s,@SIZE16@,$SIZE16,;t t
6858 s,@SIZE32@,$SIZE32,;t t
6859 s,@H323_SYSTEM_SPEEX@,$H323_SYSTEM_SPEEX,;t t
6860 s,@LIBOBJS@,$LIBOBJS,;t t
6861 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6866 cat >>$CONFIG_STATUS <<\_ACEOF
6867 # Split the substitutions into bite-sized pieces for seds with
6868 # small command number limits, like on Digital OSF/1 and HP-UX.
6870 ac_sed_frag
=1 # Number of current file.
6871 ac_beg
=1 # First line for current file.
6872 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6875 while $ac_more_lines; do
6876 if test $ac_beg -gt 1; then
6877 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6879 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6881 if test ! -s $tmp/subs.frag
; then
6884 # The purpose of the label and of the branching condition is to
6885 # speed up the sed processing (if there are no `@' at all, there
6886 # is no need to browse any of the substitutions).
6887 # These are the two extra sed commands mentioned above.
6889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6890 if test -z "$ac_sed_cmds"; then
6891 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6893 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6895 ac_sed_frag
=`expr $ac_sed_frag + 1`
6897 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6900 if test -z "$ac_sed_cmds"; then
6903 fi # test -n "$CONFIG_FILES"
6906 cat >>$CONFIG_STATUS <<\_ACEOF
6907 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6908 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6910 - |
*:- |
*:-:* ) # input from stdin
6912 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6913 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6914 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6915 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6916 * ) ac_file_in
=$ac_file.
in ;;
6919 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6920 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6922 X"$ac_file" : 'X\(//\)[^/]' \| \
6923 X"$ac_file" : 'X\(//\)$' \| \
6924 X"$ac_file" : 'X\(/\)' \| \
6925 . : '\(.\)' 2>/dev/null ||
6927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6929 /^X\(\/\/\)$/{ s//\1/; q; }
6930 /^X\(\/\).*/{ s//\1/; q; }
6932 { if $as_mkdir_p; then
6937 while test ! -d "$as_dir"; do
6938 as_dirs
="$as_dir $as_dirs"
6939 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6941 X"$as_dir" : 'X\(//\)[^/]' \| \
6942 X"$as_dir" : 'X\(//\)$' \| \
6943 X"$as_dir" : 'X\(/\)' \| \
6944 . : '\(.\)' 2>/dev/null ||
6946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6948 /^X\(\/\/\)$/{ s//\1/; q; }
6949 /^X\(\/\).*/{ s//\1/; q; }
6952 test ! -n "$as_dirs" || mkdir
$as_dirs
6953 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6954 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6955 { (exit 1); exit 1; }; }; }
6959 if test "$ac_dir" != .
; then
6960 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6961 # A "../" for each directory in $ac_dir_suffix.
6962 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6964 ac_dir_suffix
= ac_top_builddir
=
6968 .
) # No --srcdir option. We are building in place.
6970 if test -z "$ac_top_builddir"; then
6973 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6975 [\\/]* | ?
:[\\/]* ) # Absolute path.
6976 ac_srcdir
=$srcdir$ac_dir_suffix;
6977 ac_top_srcdir
=$srcdir ;;
6979 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6980 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6983 # Do not use `cd foo && pwd` to compute absolute paths, because
6984 # the directories may not exist.
6986 .
) ac_abs_builddir
="$ac_dir";;
6989 .
) ac_abs_builddir
=`pwd`;;
6990 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6991 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6994 case $ac_abs_builddir in
6995 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6997 case ${ac_top_builddir}.
in
6998 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6999 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7000 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7003 case $ac_abs_builddir in
7004 .
) ac_abs_srcdir
=$ac_srcdir;;
7007 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7008 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7009 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7012 case $ac_abs_builddir in
7013 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7015 case $ac_top_srcdir in
7016 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7017 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7018 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7024 if test x
"$ac_file" != x-
; then
7025 { echo "$as_me:$LINENO: creating $ac_file" >&5
7026 echo "$as_me: creating $ac_file" >&6;}
7029 # Let's still pretend it is `configure' which instantiates (i.e., don't
7030 # use $as_me), people would be surprised to read:
7031 # /* config.h. Generated by config.status. */
7032 if test x
"$ac_file" = x-
; then
7035 configure_input
="$ac_file. "
7037 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7038 sed 's,.*/,,'` by configure."
7040 # First look for the input files in the build tree, otherwise in the
7042 ac_file_inputs
=`IFS=:
7043 for f in $ac_file_in; do
7045 -) echo $tmp/stdin ;;
7047 # Absolute (can't be DOS-style, as IFS=:)
7048 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7049 echo "$as_me: error: cannot find input file: $f" >&2;}
7050 { (exit 1); exit 1; }; }
7053 if test -f "$f"; then
7056 elif test -f "$srcdir/$f"; then
7061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7062 echo "$as_me: error: cannot find input file: $f" >&2;}
7063 { (exit 1); exit 1; }; }
7066 done` ||
{ (exit 1); exit 1; }
7068 cat >>$CONFIG_STATUS <<_ACEOF
7072 cat >>$CONFIG_STATUS <<\_ACEOF
7074 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7075 s
,@configure_input@
,$configure_input,;t t
7076 s
,@srcdir@
,$ac_srcdir,;t t
7077 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7078 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7079 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7080 s
,@builddir@
,$ac_builddir,;t t
7081 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7082 s
,@top_builddir@
,$ac_top_builddir,;t t
7083 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7084 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7086 if test x"$ac_file" != x-; then
7087 mv $tmp/out $ac_file
7096 cat >>$CONFIG_STATUS <<\_ACEOF
7098 { (exit 0); exit 0; }
7100 chmod +x $CONFIG_STATUS
7101 ac_clean_files=$ac_clean_files_save
7104 # configure is writing to config.log, and then calls config.status.
7105 # config.status does its own redirection, appending to config.log.
7106 # Unfortunately, on DOS this fails, as config.log is still kept open
7107 # by configure, so config.status won't be able to write to it; its
7108 # output is simply discarded. So we exec the FD to /dev/null,
7109 # effectively closing config.log, so it can be properly (re)opened and
7110 # appended to by config.status. When coming back to configure, we
7111 # need to make the FD available again.
7112 if test "$no_create" != yes; then
7114 ac_config_status_args=
7115 test "$silent" = yes &&
7116 ac_config_status_args="$ac_config_status_args --quiet"
7118 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7120 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7121 # would make configure fail if this is the last instruction.
7122 $ac_cs_success || { (exit 1); exit 1; }