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
="include/opal/manager.h"
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OPALDIR INSTALLPREFIX LIBDIR PTLIB_CONFIG PWLIBDIR CPP EGREP RFC2190_AVCODEC RFC2190_AVCODEC_DIR SIZE16 SIZE32 OPAL_SYSTEM_SPEEX OPAL_HAVE_SPEEX_SPEEX_H OPAL_ILBC OPAL_AUDIO OPAL_VIDEO OPAL_SIP OPAL_H323 OPAL_T38FAX OPAL_IAX2 OPAL_H224 H323_H460 HAS_IXJ OPAL_LID HAS_VPB HAS_SANGOMA STDCCFLAGS ENDLDLIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
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_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
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]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --disable-versioncheck disable PWLib version check
852 --enable-h263avcodec specify RFC
2190 compatible avcodec
854 --enable-localspeex use
local version of Speex library rather than system version
855 --disable-ilbc disable iLBC codec support
856 --disable-sip disable SIP protocol support
857 --disable-h323 disable H
.323 protocol support
858 --disable-t38 disable T
.38 protocol support
859 --disable-iax disable IAX2 protocol support
860 --disable-h224 disable H
.224 protocol support
861 --disable-h460 disable H
.460
862 --enable-vpb enable voicetronix vpb
864 Some influential environment variables
:
865 CC C compiler
command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
868 nonstandard directory
<lib dir
>
869 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
870 headers
in a nonstandard directory
<include dir
>
871 CXX C
++ compiler
command
872 CXXFLAGS C
++ compiler flags
875 Use these variables to override the choices made by
`configure' or to help
876 it to find libraries and programs with nonstandard names/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885 test -d $ac_dir || continue
888 if test "$ac_dir" != .; then
889 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix= ac_top_builddir=
897 .) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
904 [\\/]* | ?:[\\/]* ) # Absolute path.
905 ac_srcdir=$srcdir$ac_dir_suffix;
906 ac_top_srcdir=$srcdir ;;
908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo
&& pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .) ac_abs_builddir="$ac_dir";;
918 .) ac_abs_builddir=`pwd`;;
919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
926 case ${ac_top_builddir}. in
927 .) ac_abs_top_builddir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932 case $ac_abs_builddir in
933 .) ac_abs_srcdir=$ac_srcdir;;
936 .) ac_abs_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu; then
955 $SHELL $ac_srcdir/configure.gnu --help=recursive
956 elif test -f $ac_srcdir/configure; then
958 $SHELL $ac_srcdir/configure --help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
974 Copyright (C) 2003 Free Software Foundation, Inc.
975 This configure script is free software; the Free Software Foundation
976 gives unlimited permission to copy, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by $as_me, which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
998 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
999 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1000 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1001 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1004 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1006 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1008 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1009 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1010 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1012 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next=false
1051 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053 | -silent | --silent | --silen | --sile | --sil)
1055 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true; then
1063 ac_must_keep_next=false # Got value, back to normal.
1066 *=* | --config-cache | -C | -disable-* | --disable-* \
1067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1069 | -with-* | --with-* | -without-* | --without-* | --x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next=true ;;
1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1085 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close
' the trap.
1092 trap 'exit_status
=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var
in $ac_subst_vars
1128 eval ac_val
=$
`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var
in $ac_subst_files
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h
; then
1155 sed "/^$/d" confdefs.h |
sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core
*.core
&&
1163 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1166 for ac_signal in 1 2 13 15; do
1167 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE; then
1207 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's
/^
/|
/' "$ac_site_file" >&5
1221 if test -r "$cache_file"; then
1222 # Some versions of bash will fail to source /dev/null (special
1223 # files actually), so we avoid doing that.
1224 if test -f "$cache_file"; then
1225 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226 echo "$as_me: loading cache $cache_file" >&6;}
1228 [\\/]* | ?:[\\/]* ) . $cache_file;;
1229 *) . ./$cache_file;;
1233 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1234 echo "$as_me: creating cache $cache_file" >&6;}
1238 # Check that the precious variables saved in the cache have kept the same
1240 ac_cache_corrupted=false
1241 for ac_var in `(set) 2>&1 |
1242 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1243 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1244 eval ac_new_set=\$ac_env_${ac_var}_set
1245 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1246 eval ac_new_val="\$ac_env_${ac_var}_value"
1247 case $ac_old_set,$ac_new_set in
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1251 ac_cache_corrupted=: ;;
1253 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1258 if test "x$ac_old_val" != "x$ac_new_val"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1260 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1262 echo "$as_me: former value: $ac_old_val" >&2;}
1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1264 echo "$as_me: current value: $ac_new_val" >&2;}
1265 ac_cache_corrupted=:
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1283 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1284 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1285 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1286 { (exit 1); exit 1; }; }
1290 ac_cpp='$CPP $CPPFLAGS'
1291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1292 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 ac_cpp='$CPP $CPPFLAGS'
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 if test -n "$ac_tool_prefix"; then
1320 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1321 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1322 echo "$as_me:$LINENO: checking for $ac_word" >&5
1323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1324 if test "${ac_cv_prog_CC+set}" = set; then
1325 echo $ECHO_N "(cached) $ECHO_C" >&6
1327 if test -n "$CC"; then
1328 ac_cv_prog_CC="$CC" # Let the user override the test.
1330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1334 test -z "$as_dir" && as_dir=.
1335 for ac_exec_ext in '' $ac_executable_extensions; do
1336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1337 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1347 if test -n "$CC"; then
1348 echo "$as_me:$LINENO: result: $CC" >&5
1349 echo "${ECHO_T}$CC" >&6
1351 echo "$as_me:$LINENO: result: no" >&5
1352 echo "${ECHO_T}no" >&6
1356 if test -z "$ac_cv_prog_CC"; then
1358 # Extract the first word of "gcc", so it can be a program name with args.
1359 set dummy gcc; ac_word=$2
1360 echo "$as_me:$LINENO: checking for $ac_word" >&5
1361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1362 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 if test -n "$ac_ct_CC"; then
1366 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir=.
1373 for ac_exec_ext in '' $ac_executable_extensions; do
1374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1375 ac_cv_prog_ac_ct_CC="gcc"
1376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1385 if test -n "$ac_ct_CC"; then
1386 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1387 echo "${ECHO_T}$ac_ct_CC" >&6
1389 echo "$as_me:$LINENO: result: no" >&5
1390 echo "${ECHO_T}no" >&6
1398 if test -z "$CC"; then
1399 if test -n "$ac_tool_prefix"; then
1400 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1401 set dummy ${ac_tool_prefix}cc; ac_word=$2
1402 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404 if test "${ac_cv_prog_CC+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 if test -n "$CC"; then
1408 ac_cv_prog_CC="$CC" # Let the user override the test.
1410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 test -z "$as_dir" && as_dir=.
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417 ac_cv_prog_CC="${ac_tool_prefix}cc"
1418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 if test -n "$CC"; then
1428 echo "$as_me:$LINENO: result: $CC" >&5
1429 echo "${ECHO_T}$CC" >&6
1431 echo "$as_me:$LINENO: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1436 if test -z "$ac_cv_prog_CC"; then
1438 # Extract the first word of "cc", so it can be a program name with args.
1439 set dummy cc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$ac_ct_CC"; then
1446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_ac_ct_CC="cc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1465 if test -n "$ac_ct_CC"; then
1466 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1467 echo "${ECHO_T}$ac_ct_CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1479 if test -z "$CC"; then
1480 # Extract the first word of "cc", so it can be a program name with args.
1481 set dummy cc; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$CC"; then
1488 ac_cv_prog_CC="$CC" # Let the user override the test.
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir=.
1496 for ac_exec_ext in '' $ac_executable_extensions; do
1497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1498 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1499 ac_prog_rejected=yes
1503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1509 if test $ac_prog_rejected = yes; then
1510 # We found a bogon in the path, so make sure we never use it.
1511 set dummy $ac_cv_prog_CC
1513 if test $# != 0; then
1514 # We chose a different compiler from the bogus one.
1515 # However, it has the same basename, so the bogon will be chosen
1516 # first if we set CC to just the basename; use the full file name.
1518 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1524 if test -n "$CC"; then
1525 echo "$as_me:$LINENO: result: $CC" >&5
1526 echo "${ECHO_T}$CC" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1533 if test -z "$CC"; then
1534 if test -n "$ac_tool_prefix"; then
1537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1539 echo "$as_me:$LINENO: checking for $ac_word" >&5
1540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541 if test "${ac_cv_prog_CC+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 if test -n "$CC"; then
1545 ac_cv_prog_CC="$CC" # Let the user override the test.
1547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir=.
1552 for ac_exec_ext in '' $ac_executable_extensions; do
1553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test -n "$CC"; then
1565 echo "$as_me:$LINENO: result: $CC" >&5
1566 echo "${ECHO_T}$CC" >&6
1568 echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1572 test -n "$CC" && break
1575 if test -z "$CC"; then
1579 # Extract the first word of "$ac_prog", so it can be a program name with args.
1580 set dummy $ac_prog; ac_word=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 if test -n "$ac_ct_CC"; then
1587 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir=.
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 ac_cv_prog_ac_ct_CC="$ac_prog"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1606 if test -n "$ac_ct_CC"; then
1607 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1608 echo "${ECHO_T}$ac_ct_CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1614 test -n "$ac_ct_CC" && break
1623 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1624 See \`config.log' for more details.
" >&5
1625 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1626 See \
`config.log' for more details." >&2;}
1627 { (exit 1); exit 1; }; }
1629 # Provide some information about the compiler.
1630 echo "$as_me:$LINENO:" \
1631 "checking for C compiler version" >&5
1632 ac_compiler=`set X
$ac_compile; echo $2`
1633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1634 (eval $ac_compiler --version </dev/null >&5) 2>&5
1636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 (exit $ac_status); }
1638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1639 (eval $ac_compiler -v </dev/null >&5) 2>&5
1641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1642 (exit $ac_status); }
1643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1644 (eval $ac_compiler -V </dev/null >&5) 2>&5
1646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1647 (exit $ac_status); }
1649 cat >conftest.$ac_ext <<_ACEOF
1652 cat confdefs.h >>conftest.$ac_ext
1653 cat >>conftest.$ac_ext <<_ACEOF
1654 /* end confdefs.h. */
1664 ac_clean_files_save=$ac_clean_files
1665 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1666 # Try to create an executable without -o first, disregard a.out.
1667 # It will help us diagnose broken compilers, and finding out an intuition
1669 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1670 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1671 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1672 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1673 (eval $ac_link_default) 2>&5
1675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1676 (exit $ac_status); }; then
1677 # Find the output, starting from the most likely. This scheme is
1678 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1681 # Be careful to initialize this variable, since it used to be cached.
1682 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1684 # b.out is created by i960 compilers.
1685 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1687 test -f "$ac_file" || continue
1689 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1692 # This is the source file.
1695 # We found the default executable, but exeext='' is most
1699 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1700 # FIXME: I believe we export ac_cv_exeext for Libtool,
1701 # but it would be cool to find out if it's true. Does anybody
1702 # maintain Libtool? --akim.
1710 echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1714 See \`config.log
' for more details." >&5
1715 echo "$as_me: error: C compiler cannot create executables
1716 See \`config.log' for more details.
" >&2;}
1717 { (exit 77); exit 77; }; }
1720 ac_exeext=$ac_cv_exeext
1721 echo "$as_me:$LINENO: result
: $ac_file" >&5
1722 echo "${ECHO_T}$ac_file" >&6
1724 # Check the compiler produces executables we can run. If not, either
1725 # the compiler is broken, or we cross compile.
1726 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1727 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1728 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1729 # If not cross compiling, check that we can run a simple program.
1730 if test "$cross_compiling" != yes; then
1731 if { ac_try='./$ac_file'
1732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1736 (exit $ac_status); }; }; then
1739 if test "$cross_compiling" = maybe; then
1742 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1743 If you meant to cross compile
, use \
`--host'.
1744 See \`config.log
' for more details." >&5
1745 echo "$as_me: error: cannot run C compiled programs.
1746 If you meant to cross compile, use \`--host'.
1747 See \
`config.log' for more details." >&2;}
1748 { (exit 1); exit 1; }; }
1752 echo "$as_me:$LINENO: result: yes" >&5
1753 echo "${ECHO_T}yes" >&6
1755 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1756 ac_clean_files=$ac_clean_files_save
1757 # Check the compiler produces executables we can run. If not, either
1758 # the compiler is broken, or we cross compile.
1759 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1760 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1761 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1762 echo "${ECHO_T}$cross_compiling" >&6
1764 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1765 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1767 (eval $ac_link) 2>&5
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); }; then
1771 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1772 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1773 # work properly (i.e., refer to `conftest.exe'), while it won't with
1775 for ac_file
in conftest.exe conftest conftest.
*; do
1776 test -f "$ac_file" ||
continue
1778 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1779 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1786 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1787 See \`config.log' for more details." >&5
1788 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1789 See \`config.log' for more details." >&2;}
1790 { (exit 1); exit 1; }; }
1793 rm -f conftest
$ac_cv_exeext
1794 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1795 echo "${ECHO_T}$ac_cv_exeext" >&6
1797 rm -f conftest.
$ac_ext
1798 EXEEXT
=$ac_cv_exeext
1800 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1801 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1802 if test "${ac_cv_objext+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 cat >conftest.
$ac_ext <<_ACEOF
1808 cat confdefs.h
>>conftest.
$ac_ext
1809 cat >>conftest.
$ac_ext <<_ACEOF
1810 /* end confdefs.h. */
1820 rm -f conftest.o conftest.obj
1821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1822 (eval $ac_compile) 2>&5
1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1825 (exit $ac_status); }; then
1826 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1828 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1829 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1834 echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.
$ac_ext >&5
1837 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1838 See \`config.log' for more details." >&5
1839 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1840 See \`config.log' for more details." >&2;}
1841 { (exit 1); exit 1; }; }
1844 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1846 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1847 echo "${ECHO_T}$ac_cv_objext" >&6
1848 OBJEXT
=$ac_cv_objext
1850 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1851 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 cat >conftest.
$ac_ext <<_ACEOF
1858 cat confdefs.h
>>conftest.
$ac_ext
1859 cat >>conftest.
$ac_ext <<_ACEOF
1860 /* end confdefs.h. */
1873 rm -f conftest.
$ac_objext
1874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1875 (eval $ac_compile) 2>conftest.er1
1877 grep -v '^ *+' conftest.er1
>conftest.err
1879 cat conftest.err
>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); } &&
1882 { ac_try
='test -z "$ac_c_werror_flag"
1883 || test ! -s conftest.err'
1884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; } &&
1889 { ac_try
='test -s conftest.$ac_objext'
1890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }; }; then
1897 echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.
$ac_ext >&5
1902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1903 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1906 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1908 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1909 ac_test_CFLAGS
=${CFLAGS+set}
1910 ac_save_CFLAGS
=$CFLAGS
1912 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1913 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1914 if test "${ac_cv_prog_cc_g+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.
$ac_ext <<_ACEOF
1920 cat confdefs.h
>>conftest.
$ac_ext
1921 cat >>conftest.
$ac_ext <<_ACEOF
1922 /* end confdefs.h. */
1932 rm -f conftest.
$ac_objext
1933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1934 (eval $ac_compile) 2>conftest.er1
1936 grep -v '^ *+' conftest.er1
>conftest.err
1938 cat conftest.err
>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); } &&
1941 { ac_try
='test -z "$ac_c_werror_flag"
1942 || test ! -s conftest.err'
1943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; } &&
1948 { ac_try
='test -s conftest.$ac_objext'
1949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }; }; then
1956 echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.
$ac_ext >&5
1961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1963 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1964 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1965 if test "$ac_test_CFLAGS" = set; then
1966 CFLAGS
=$ac_save_CFLAGS
1967 elif test $ac_cv_prog_cc_g = yes; then
1968 if test "$GCC" = yes; then
1974 if test "$GCC" = yes; then
1980 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1981 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1982 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 ac_cv_prog_cc_stdc
=no
1987 cat >conftest.
$ac_ext <<_ACEOF
1990 cat confdefs.h
>>conftest.
$ac_ext
1991 cat >>conftest.
$ac_ext <<_ACEOF
1992 /* end confdefs.h. */
1995 #include <sys/types.h>
1996 #include <sys/stat.h>
1997 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1998 struct buf { int x; };
1999 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2000 static char *e (p, i)
2006 static char *f (char * (*g) (char **, int), char **p, ...)
2011 s = g (p, va_arg (v,int));
2016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2017 function prototypes and stuff, but not '\xHH' hex character constants.
2018 These don't provoke an error unfortunately, instead are silently treated
2019 as 'x'. The following induces an error, until -std1 is added to get
2020 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2021 array size at least. It's necessary to write '\x00'==0 to get something
2022 that's true only with -std1. */
2023 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2025 int test (int i, double x);
2026 struct s1 {int (*f) (int a);};
2027 struct s2 {int (*f) (double a);};
2028 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2034 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2039 # Don't try gcc -ansi; that turns off useful extensions and
2040 # breaks some systems' header files.
2041 # AIX -qlanglvl=ansi
2042 # Ultrix and OSF/1 -std1
2043 # HP-UX 10.20 and later -Ae
2044 # HP-UX older versions -Aa -D_HPUX_SOURCE
2045 # SVR4 -Xc -D__EXTENSIONS__
2046 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2048 CC
="$ac_save_CC $ac_arg"
2049 rm -f conftest.
$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 (eval $ac_compile) 2>conftest.er1
2053 grep -v '^ *+' conftest.er1
>conftest.err
2055 cat conftest.err
>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); } &&
2058 { ac_try
='test -z "$ac_c_werror_flag"
2059 || test ! -s conftest.err'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; } &&
2065 { ac_try
='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2071 ac_cv_prog_cc_stdc
=$ac_arg
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.
$ac_ext >&5
2078 rm -f conftest.err conftest.
$ac_objext
2080 rm -f conftest.
$ac_ext conftest.
$ac_objext
2085 case "x$ac_cv_prog_cc_stdc" in
2087 echo "$as_me:$LINENO: result: none needed" >&5
2088 echo "${ECHO_T}none needed" >&6 ;;
2090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2091 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2092 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2095 # Some people use a C++ compiler to compile C. Since we use `exit',
2096 # in C++ we need to declare it. In case someone uses the same compiler
2097 # for both compiling C and C++ we need to have the C++ compiler decide
2098 # the declaration of exit, since it's the most demanding environment.
2099 cat >conftest.
$ac_ext <<_ACEOF
2104 rm -f conftest.
$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2108 grep -v '^ *+' conftest.er1
>conftest.err
2110 cat conftest.err
>&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try
='test -z "$ac_c_werror_flag"
2114 || test ! -s conftest.err'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; } &&
2120 { ac_try
='test -s conftest.$ac_objext'
2121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 for ac_declaration
in \
2128 'extern "C" void std::exit (int) throw (); using std::exit;' \
2129 'extern "C" void std::exit (int); using std::exit;' \
2130 'extern "C" void exit (int) throw ();' \
2131 'extern "C" void exit (int);' \
2134 cat >conftest.
$ac_ext <<_ACEOF
2137 cat confdefs.h
>>conftest.
$ac_ext
2138 cat >>conftest.
$ac_ext <<_ACEOF
2139 /* end confdefs.h. */
2150 rm -f conftest.
$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>conftest.er1
2154 grep -v '^ *+' conftest.er1
>conftest.err
2156 cat conftest.err
>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); } &&
2159 { ac_try
='test -z "$ac_c_werror_flag"
2160 || test ! -s conftest.err'
2161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; } &&
2166 { ac_try
='test -s conftest.$ac_objext'
2167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }; }; then
2174 echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.
$ac_ext >&5
2179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 cat >conftest.
$ac_ext <<_ACEOF
2183 cat confdefs.h
>>conftest.
$ac_ext
2184 cat >>conftest.
$ac_ext <<_ACEOF
2185 /* end confdefs.h. */
2195 rm -f conftest.
$ac_objext
2196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2197 (eval $ac_compile) 2>conftest.er1
2199 grep -v '^ *+' conftest.er1
>conftest.err
2201 cat conftest.err
>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); } &&
2204 { ac_try
='test -z "$ac_c_werror_flag"
2205 || test ! -s conftest.err'
2206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); }; } &&
2211 { ac_try
='test -s conftest.$ac_objext'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 echo "$as_me: failed program was:" >&5
2220 sed 's/^/| /' conftest.
$ac_ext >&5
2223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2226 if test -n "$ac_declaration"; then
2227 echo '#ifdef __cplusplus' >>confdefs.h
2228 echo $ac_declaration >>confdefs.h
2229 echo '#endif' >>confdefs.h
2233 echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2239 ac_cpp
='$CPP $CPPFLAGS'
2240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2245 ac_cpp
='$CXXCPP $CPPFLAGS'
2246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2249 if test -n "$ac_tool_prefix"; then
2250 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CXX+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$CXX"; then
2260 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 if test -n "$CXX"; then
2280 echo "$as_me:$LINENO: result: $CXX" >&5
2281 echo "${ECHO_T}$CXX" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CXX" && break
2290 if test -z "$CXX"; then
2292 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy
$ac_prog; ac_word
=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_CXX"; then
2302 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2321 if test -n "$ac_ct_CXX"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2323 echo "${ECHO_T}$ac_ct_CXX" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CXX" && break
2331 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2337 # Provide some information about the compiler.
2338 echo "$as_me:$LINENO:" \
2339 "checking for C++ compiler version" >&5
2340 ac_compiler
=`set X $ac_compile; echo $2`
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2342 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2347 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2352 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2357 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2358 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2359 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 cat >conftest.
$ac_ext <<_ACEOF
2365 cat confdefs.h
>>conftest.
$ac_ext
2366 cat >>conftest.
$ac_ext <<_ACEOF
2367 /* end confdefs.h. */
2380 rm -f conftest.
$ac_objext
2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2382 (eval $ac_compile) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } &&
2389 { ac_try
='test -z "$ac_cxx_werror_flag"
2390 || test ! -s conftest.err'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; } &&
2396 { ac_try
='test -s conftest.$ac_objext'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; }; then
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2410 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2413 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2414 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2415 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2416 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2417 ac_save_CXXFLAGS
=$CXXFLAGS
2419 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2420 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2421 if test "${ac_cv_prog_cxx_g+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2439 rm -f conftest.
$ac_objext
2440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441 (eval $ac_compile) 2>conftest.er1
2443 grep -v '^ *+' conftest.er1
>conftest.err
2445 cat conftest.err
>&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); } &&
2448 { ac_try
='test -z "$ac_cxx_werror_flag"
2449 || test ! -s conftest.err'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; } &&
2455 { ac_try
='test -s conftest.$ac_objext'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; }; then
2461 ac_cv_prog_cxx_g
=yes
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.
$ac_ext >&5
2468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2470 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2471 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2472 if test "$ac_test_CXXFLAGS" = set; then
2473 CXXFLAGS
=$ac_save_CXXFLAGS
2474 elif test $ac_cv_prog_cxx_g = yes; then
2475 if test "$GXX" = yes; then
2481 if test "$GXX" = yes; then
2487 for ac_declaration
in \
2489 'extern "C" void std::exit (int) throw (); using std::exit;' \
2490 'extern "C" void std::exit (int); using std::exit;' \
2491 'extern "C" void exit (int) throw ();' \
2492 'extern "C" void exit (int);' \
2495 cat >conftest.
$ac_ext <<_ACEOF
2498 cat confdefs.h
>>conftest.
$ac_ext
2499 cat >>conftest.
$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2511 rm -f conftest.
$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>conftest.er1
2515 grep -v '^ *+' conftest.er1
>conftest.err
2517 cat conftest.err
>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try
='test -z "$ac_cxx_werror_flag"
2521 || test ! -s conftest.err'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; } &&
2527 { ac_try
='test -s conftest.$ac_objext'
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2541 cat >conftest.
$ac_ext <<_ACEOF
2544 cat confdefs.h
>>conftest.
$ac_ext
2545 cat >>conftest.
$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2556 rm -f conftest.
$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try
='test -z "$ac_cxx_werror_flag"
2566 || test ! -s conftest.err'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; } &&
2572 { ac_try
='test -s conftest.$ac_objext'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; }; then
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.
$ac_ext >&5
2584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2587 if test -n "$ac_declaration"; then
2588 echo '#ifdef __cplusplus' >>confdefs.h
2589 echo $ac_declaration >>confdefs.h
2590 echo '#endif' >>confdefs.h
2594 ac_cpp
='$CPP $CPPFLAGS'
2595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2600 REQUIRED_PWLIB_MAJOR
=1
2601 REQUIRED_PWLIB_MINOR
=10
2602 REQUIRED_PWLIB_BUILD
=0
2608 if test "x$prefix" = "xNONE"; then
2609 INSTALLPREFIX
="/usr/local"
2611 INSTALLPREFIX
="${prefix}"
2620 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2621 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2622 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2623 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2624 cat >>confdefs.h
<<_ACEOF
2625 #define OPAL_MAJOR ${MAJOR_VERSION}
2628 cat >>confdefs.h
<<_ACEOF
2629 #define OPAL_MINOR ${MINOR_VERSION}
2632 cat >>confdefs.h
<<_ACEOF
2633 #define OPAL_BUILD ${BUILD_NUMBER}
2636 cat >>confdefs.h
<<_ACEOF
2637 #define OPAL_VERSION "$OPAL_VERSION"
2643 if test "${PWLIBDIR:-unset}" != "unset" ; then
2644 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2645 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2646 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2647 if eval "test \"\${$as_ac_File+set}\" = set"; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 test "$cross_compiling" = yes &&
2651 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2652 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2653 { (exit 1); exit 1; }; }
2654 if test -r "${PWLIBDIR}/version.h"; then
2655 eval "$as_ac_File=yes"
2657 eval "$as_ac_File=no"
2660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2661 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2662 if test `eval echo '${'$as_ac_File'}'` = yes; then
2667 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2668 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2669 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2670 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2671 if eval "test \"\${$as_ac_File+set}\" = set"; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 test "$cross_compiling" = yes &&
2675 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2676 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2677 { (exit 1); exit 1; }; }
2678 if test -r "${OPALDIR}/../pwlib/version.h"; then
2679 eval "$as_ac_File=yes"
2681 eval "$as_ac_File=no"
2684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2685 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2686 if test `eval echo '${'$as_ac_File'}'` = yes; then
2690 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2691 PWLIBDIR
="${OPALDIR}/../pwlib"
2693 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2694 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2695 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2696 if eval "test \"\${$as_ac_File+set}\" = set"; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 test "$cross_compiling" = yes &&
2700 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2701 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2702 { (exit 1); exit 1; }; }
2703 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2704 eval "$as_ac_File=yes"
2706 eval "$as_ac_File=no"
2709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2710 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2711 if test `eval echo '${'$as_ac_File'}'` = yes; then
2715 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2716 PWLIBDIR
="${HOME}/pwlib"
2718 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2719 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2720 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 test "$cross_compiling" = yes &&
2724 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2725 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2726 { (exit 1); exit 1; }; }
2727 if test -r "/usr/local/include/ptlib.h"; then
2728 ac_cv_file__usr_local_include_ptlib_h
=yes
2730 ac_cv_file__usr_local_include_ptlib_h
=no
2733 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2734 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2735 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2739 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2740 # Extract the first word of "ptlib-config", so it can be a program name with args.
2741 set dummy ptlib-config
; ac_word
=$2
2742 echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2744 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 case $PTLIB_CONFIG in
2749 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 for as_dir
in /usr
/local
/bin
2756 test -z "$as_dir" && as_dir
=.
2757 for ac_exec_ext
in '' $ac_executable_extensions; do
2758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2771 if test -n "$PTLIB_CONFIG"; then
2772 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2773 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2775 echo "$as_me:$LINENO: result: no" >&5
2776 echo "${ECHO_T}no" >&6
2780 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2781 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2782 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 test "$cross_compiling" = yes &&
2786 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2787 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2788 { (exit 1); exit 1; }; }
2789 if test -r "/usr/include/ptlib.h"; then
2790 ac_cv_file__usr_include_ptlib_h
=yes
2792 ac_cv_file__usr_include_ptlib_h
=no
2795 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2796 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2797 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2801 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2802 # Extract the first word of "ptlib-config", so it can be a program name with args.
2803 set dummy ptlib-config
; ac_word
=$2
2804 echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2806 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 case $PTLIB_CONFIG in
2811 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 for as_dir
in /usr
/share
/pwlib
/make
/
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2833 if test -n "$PTLIB_CONFIG"; then
2834 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2835 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2847 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2848 echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
2852 if test "${PWLIBDIR:-unset}" = "unset" ; then
2853 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2854 echo "Cannot find ptlib-config - please install and try again"
2857 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2860 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2861 PWLIBDIR
="/usr/share/pwlib/"
2863 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2864 PWLIBDIR
="/usr/local/share/pwlib/"
2867 echo "PWLib prefix set to.... $PWLIBDIR"
2869 if test "${PWLIBDIR:-unset}" = "unset" ; then
2870 PWVERSION
=`$PTLIB_CONFIG --version`
2871 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2872 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2873 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2876 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2877 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2878 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2879 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2882 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2883 if test "${enable_versioncheck+set}" = set; then
2884 enableval
="$enable_versioncheck"
2885 PWLIB_VERSION_CHECK
=$enableval
2888 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2889 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2890 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2891 echo "$as_me:$LINENO: result: check disabled" >&5
2892 echo "${ECHO_T}check disabled" >&6
2894 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2895 echo "$as_me:$LINENO: result: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2896 echo "${ECHO_T}Major version less than required $REQUIRED_PWLIB_MAJOR" >&6
2899 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2900 echo "$as_me:$LINENO: result: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2901 echo "${ECHO_T}Minor version less than required $REQUIRED_PWLIB_MINOR" >&6
2904 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2905 echo "$as_me:$LINENO: result: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2906 echo "${ECHO_T}Build version less than required $REQUIRED_PWLIB_BUILD" >&6
2909 echo "$as_me:$LINENO: result: ok" >&5
2910 echo "${ECHO_T}ok" >&6
2916 if test x
$GXX = xyes
; then
2918 gcc_version
=`$CXX -dumpversion`
2919 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2920 echo "$as_me: gcc version is $gcc_version" >&6;};
2921 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
2922 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2923 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2925 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
2926 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
2927 if test ${GXX_MAJOR} -lt 3 ; then
2928 echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6
2930 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
2931 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
2932 { (exit 1); exit 1; }; }
2934 echo "$as_me:$LINENO: result: yes" >&5
2935 echo "${ECHO_T}yes" >&6
2940 # Check whether --enable-h263avcodec or --disable-h263avcodec was given.
2941 if test "${enable_h263avcodec+set}" = set; then
2942 enableval
="$enable_h263avcodec"
2943 RFC2190_AVCODEC_DIR
=$enableval
2946 if test "${RFC2190_AVCODEC_DIR}x" = "x" ; then
2947 { echo "$as_me:$LINENO: Skipping tests for RFC 2190 H.263 support" >&5
2948 echo "$as_me: Skipping tests for RFC 2190 H.263 support" >&6;}
2950 { echo "$as_me:$LINENO: Searching for standard RFC2190 compliant H.263 codec" >&5
2951 echo "$as_me: Searching for standard RFC2190 compliant H.263 codec" >&6;}
2957 ac_cpp
='$CPP $CPPFLAGS'
2958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2961 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2962 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2963 # On Suns, sometimes $CPP names a directory.
2964 if test -n "$CPP" && test -d "$CPP"; then
2967 if test -z "$CPP"; then
2968 if test "${ac_cv_prog_CPP+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 # Double quotes because CPP needs to be expanded
2972 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2975 for ac_c_preproc_warn_flag
in '' yes
2977 # Use a header file that comes with gcc, so configuring glibc
2978 # with a fresh cross-compiler works.
2979 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2980 # <limits.h> exists even on freestanding compilers.
2981 # On the NeXT, cc -E runs the code through the compiler's parser,
2982 # not just through cpp. "Syntax error" is here to catch this case.
2983 cat >conftest.
$ac_ext <<_ACEOF
2986 cat confdefs.h
>>conftest.
$ac_ext
2987 cat >>conftest.
$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2990 # include <limits.h>
2992 # include <assert.h>
2996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1
>conftest.err
3001 cat conftest.err
>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } >/dev
/null
; then
3004 if test -s conftest.err
; then
3005 ac_cpp_err
=$ac_c_preproc_warn_flag
3006 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3013 if test -z "$ac_cpp_err"; then
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.
$ac_ext >&5
3019 # Broken: fails on valid input.
3022 rm -f conftest.err conftest.
$ac_ext
3024 # OK, works on sane cases. Now check whether non-existent headers
3025 # can be detected and how.
3026 cat >conftest.
$ac_ext <<_ACEOF
3029 cat confdefs.h
>>conftest.
$ac_ext
3030 cat >>conftest.
$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3032 #include <ac_nonexistent.h>
3034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3037 grep -v '^ *+' conftest.er1
>conftest.err
3039 cat conftest.err
>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } >/dev
/null
; then
3042 if test -s conftest.err
; then
3043 ac_cpp_err
=$ac_c_preproc_warn_flag
3044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3051 if test -z "$ac_cpp_err"; then
3052 # Broken: success on invalid input.
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.
$ac_ext >&5
3058 # Passes both tests.
3062 rm -f conftest.err conftest.
$ac_ext
3065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3066 rm -f conftest.err conftest.
$ac_ext
3067 if $ac_preproc_ok; then
3079 echo "$as_me:$LINENO: result: $CPP" >&5
3080 echo "${ECHO_T}$CPP" >&6
3082 for ac_c_preproc_warn_flag
in '' yes
3084 # Use a header file that comes with gcc, so configuring glibc
3085 # with a fresh cross-compiler works.
3086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3087 # <limits.h> exists even on freestanding compilers.
3088 # On the NeXT, cc -E runs the code through the compiler's parser,
3089 # not just through cpp. "Syntax error" is here to catch this case.
3090 cat >conftest.
$ac_ext <<_ACEOF
3093 cat confdefs.h
>>conftest.
$ac_ext
3094 cat >>conftest.
$ac_ext <<_ACEOF
3095 /* end confdefs.h. */
3097 # include <limits.h>
3099 # include <assert.h>
3103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3106 grep -v '^ *+' conftest.er1
>conftest.err
3108 cat conftest.err
>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } >/dev
/null
; then
3111 if test -s conftest.err
; then
3112 ac_cpp_err
=$ac_c_preproc_warn_flag
3113 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3120 if test -z "$ac_cpp_err"; then
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.
$ac_ext >&5
3126 # Broken: fails on valid input.
3129 rm -f conftest.err conftest.
$ac_ext
3131 # OK, works on sane cases. Now check whether non-existent headers
3132 # can be detected and how.
3133 cat >conftest.
$ac_ext <<_ACEOF
3136 cat confdefs.h
>>conftest.
$ac_ext
3137 cat >>conftest.
$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3139 #include <ac_nonexistent.h>
3141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3144 grep -v '^ *+' conftest.er1
>conftest.err
3146 cat conftest.err
>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } >/dev
/null
; then
3149 if test -s conftest.err
; then
3150 ac_cpp_err
=$ac_c_preproc_warn_flag
3151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3158 if test -z "$ac_cpp_err"; then
3159 # Broken: success on invalid input.
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.
$ac_ext >&5
3165 # Passes both tests.
3169 rm -f conftest.err conftest.
$ac_ext
3172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3173 rm -f conftest.err conftest.
$ac_ext
3174 if $ac_preproc_ok; then
3177 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3178 See \`config.log' for more details." >&5
3179 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3180 See \`config.log' for more details." >&2;}
3181 { (exit 1); exit 1; }; }
3185 ac_cpp
='$CPP $CPPFLAGS'
3186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3191 echo "$as_me:$LINENO: checking for egrep" >&5
3192 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3193 if test "${ac_cv_prog_egrep+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3197 then ac_cv_prog_egrep
='grep -E'
3198 else ac_cv_prog_egrep
='egrep'
3201 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3202 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3203 EGREP
=$ac_cv_prog_egrep
3206 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3207 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3208 if test "${ac_cv_header_stdc+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3211 cat >conftest.
$ac_ext <<_ACEOF
3214 cat confdefs.h
>>conftest.
$ac_ext
3215 cat >>conftest.
$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3230 rm -f conftest.
$ac_objext
3231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3232 (eval $ac_compile) 2>conftest.er1
3234 grep -v '^ *+' conftest.er1
>conftest.err
3236 cat conftest.err
>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } &&
3239 { ac_try
='test -z "$ac_c_werror_flag"
3240 || test ! -s conftest.err'
3241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }; } &&
3246 { ac_try
='test -s conftest.$ac_objext'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; }; then
3252 ac_cv_header_stdc
=yes
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3257 ac_cv_header_stdc
=no
3259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3261 if test $ac_cv_header_stdc = yes; then
3262 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3263 cat >conftest.
$ac_ext <<_ACEOF
3266 cat confdefs.h
>>conftest.
$ac_ext
3267 cat >>conftest.
$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3273 $EGREP "memchr" >/dev
/null
2>&1; then
3276 ac_cv_header_stdc
=no
3282 if test $ac_cv_header_stdc = yes; then
3283 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3284 cat >conftest.
$ac_ext <<_ACEOF
3287 cat confdefs.h
>>conftest.
$ac_ext
3288 cat >>conftest.
$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3294 $EGREP "free" >/dev
/null
2>&1; then
3297 ac_cv_header_stdc
=no
3303 if test $ac_cv_header_stdc = yes; then
3304 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3305 if test "$cross_compiling" = yes; then
3308 cat >conftest.
$ac_ext <<_ACEOF
3311 cat confdefs.h
>>conftest.
$ac_ext
3312 cat >>conftest.
$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3315 #if ((' ' & 0x0FF) == 0x020)
3316 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3317 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3319 # define ISLOWER(c) \
3320 (('a' <= (c) && (c) <= 'i') \
3321 || ('j' <= (c) && (c) <= 'r') \
3322 || ('s' <= (c) && (c) <= 'z'))
3323 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3326 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3331 for (i = 0; i < 256; i++)
3332 if (XOR (islower (i), ISLOWER (i))
3333 || toupper (i) != TOUPPER (i))
3338 rm -f conftest
$ac_exeext
3339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3340 (eval $ac_link) 2>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; }; then
3351 echo "$as_me: program exited with status $ac_status" >&5
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3356 ac_cv_header_stdc
=no
3358 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3362 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3363 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3364 if test $ac_cv_header_stdc = yes; then
3366 cat >>confdefs.h
<<\_ACEOF
3367 #define STDC_HEADERS 1
3372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3382 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3383 inttypes.h stdint.h unistd.h
3385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3386 echo "$as_me:$LINENO: checking for $ac_header" >&5
3387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3388 if eval "test \"\${$as_ac_Header+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
3399 #include <$ac_header>
3401 rm -f conftest.
$ac_objext
3402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3403 (eval $ac_compile) 2>conftest.er1
3405 grep -v '^ *+' conftest.er1
>conftest.err
3407 cat conftest.err
>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } &&
3410 { ac_try
='test -z "$ac_c_werror_flag"
3411 || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try
='test -s conftest.$ac_objext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3423 eval "$as_ac_Header=yes"
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 eval "$as_ac_Header=no"
3430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3435 cat >>confdefs.h
<<_ACEOF
3436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3444 as_ac_Header
=`echo "ac_cv_header_${RFC2190_AVCODEC_DIR}/avcodec.h" | $as_tr_sh`
3445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3446 echo "$as_me:$LINENO: checking for ${RFC2190_AVCODEC_DIR}/avcodec.h" >&5
3447 echo $ECHO_N "checking for ${RFC2190_AVCODEC_DIR}/avcodec.h... $ECHO_C" >&6
3448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3454 # Is the header compilable?
3455 echo "$as_me:$LINENO: checking ${RFC2190_AVCODEC_DIR}/avcodec.h usability" >&5
3456 echo $ECHO_N "checking ${RFC2190_AVCODEC_DIR}/avcodec.h usability... $ECHO_C" >&6
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463 $ac_includes_default
3464 #include <${RFC2190_AVCODEC_DIR}/avcodec.h>
3466 rm -f conftest.
$ac_objext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3468 (eval $ac_compile) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1
>conftest.err
3472 cat conftest.err
>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try
='test -z "$ac_c_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try
='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 ac_header_compiler
=yes
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.
$ac_ext >&5
3493 ac_header_compiler
=no
3495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3497 echo "${ECHO_T}$ac_header_compiler" >&6
3499 # Is the header present?
3500 echo "$as_me:$LINENO: checking ${RFC2190_AVCODEC_DIR}/avcodec.h presence" >&5
3501 echo $ECHO_N "checking ${RFC2190_AVCODEC_DIR}/avcodec.h presence... $ECHO_C" >&6
3502 cat >conftest.
$ac_ext <<_ACEOF
3505 cat confdefs.h
>>conftest.
$ac_ext
3506 cat >>conftest.
$ac_ext <<_ACEOF
3507 /* end confdefs.h. */
3508 #include <${RFC2190_AVCODEC_DIR}/avcodec.h>
3510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } >/dev
/null
; then
3518 if test -s conftest.err
; then
3519 ac_cpp_err
=$ac_c_preproc_warn_flag
3520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3527 if test -z "$ac_cpp_err"; then
3528 ac_header_preproc
=yes
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.
$ac_ext >&5
3533 ac_header_preproc
=no
3535 rm -f conftest.err conftest.
$ac_ext
3536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3537 echo "${ECHO_T}$ac_header_preproc" >&6
3539 # So? What about this header?
3540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3542 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&5
3543 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3544 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the compiler's result" >&5
3545 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the compiler's result" >&2;}
3546 ac_header_preproc
=yes
3549 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: present but cannot be compiled" >&5
3550 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: present but cannot be compiled" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: check for missing prerequisite headers?" >&5
3552 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: check for missing prerequisite headers?" >&2;}
3553 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: see the Autoconf documentation" >&5
3554 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: see the Autoconf documentation" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: section \"Present But Cannot Be Compiled\"" >&5
3556 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: section \"Present But Cannot Be Compiled\"" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the preprocessor's result" >&5
3558 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: proceeding with the preprocessor's result" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: in the future, the compiler will take precedence" >&5
3560 echo "$as_me: WARNING: ${RFC2190_AVCODEC_DIR}/avcodec.h: in the future, the compiler will take precedence" >&2;}
3563 ## ------------------------------------------ ##
3564 ## Report this to the AC_PACKAGE_NAME lists. ##
3565 ## ------------------------------------------ ##
3568 sed "s/^/$as_me: WARNING: /" >&2
3571 echo "$as_me:$LINENO: checking for ${RFC2190_AVCODEC_DIR}/avcodec.h" >&5
3572 echo $ECHO_N "checking for ${RFC2190_AVCODEC_DIR}/avcodec.h... $ECHO_C" >&6
3573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3574 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 eval "$as_ac_Header=\$ac_header_preproc"
3578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3587 if test "${RFC2190_AVCODEC}" == "1" ; then
3591 cat >>confdefs.h
<<\_ACEOF
3592 #define RFC2190_AVCODEC 1
3595 RFC2190_AVCODEC_DIR
=${RFC2190_AVCODEC_DIR}
3597 STDCCFLAGS
="${STDCCFLAGS} -I${RFC2190_AVCODEC_DIR}"
3604 # Check whether --enable-localspeex or --disable-localspeex was given.
3605 if test "${enable_localspeex+set}" = set; then
3606 enableval
="$enable_localspeex"
3607 localspeex
=$enableval
3610 echo "$as_me:$LINENO: checking for short" >&5
3611 echo $ECHO_N "checking for short... $ECHO_C" >&6
3612 if test "${ac_cv_type_short+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 cat >conftest.
$ac_ext <<_ACEOF
3618 cat confdefs.h
>>conftest.
$ac_ext
3619 cat >>conftest.
$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 $ac_includes_default
3633 rm -f conftest.
$ac_objext
3634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3635 (eval $ac_compile) 2>conftest.er1
3637 grep -v '^ *+' conftest.er1
>conftest.err
3639 cat conftest.err
>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } &&
3642 { ac_try
='test -z "$ac_c_werror_flag"
3643 || test ! -s conftest.err'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; } &&
3649 { ac_try
='test -s conftest.$ac_objext'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then
3655 ac_cv_type_short
=yes
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.
$ac_ext >&5
3662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3664 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3665 echo "${ECHO_T}$ac_cv_type_short" >&6
3667 echo "$as_me:$LINENO: checking size of short" >&5
3668 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3669 if test "${ac_cv_sizeof_short+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 if test "$ac_cv_type_short" = yes; then
3673 # The cast to unsigned long works around a bug in the HP C Compiler
3674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3676 # This bug is HP SR number 8606223364.
3677 if test "$cross_compiling" = yes; then
3678 # Depending upon the size, compute the lo and hi bounds.
3679 cat >conftest.
$ac_ext <<_ACEOF
3682 cat confdefs.h
>>conftest.
$ac_ext
3683 cat >>conftest.
$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3685 $ac_includes_default
3689 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3696 rm -f conftest.
$ac_objext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3698 (eval $ac_compile) 2>conftest.er1
3700 grep -v '^ *+' conftest.er1
>conftest.err
3702 cat conftest.err
>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } &&
3705 { ac_try
='test -z "$ac_c_werror_flag"
3706 || test ! -s conftest.err'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; } &&
3712 { ac_try
='test -s conftest.$ac_objext'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; }; then
3720 cat >conftest.
$ac_ext <<_ACEOF
3723 cat confdefs.h
>>conftest.
$ac_ext
3724 cat >>conftest.
$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3726 $ac_includes_default
3730 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3737 rm -f conftest.
$ac_objext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3739 (eval $ac_compile) 2>conftest.er1
3741 grep -v '^ *+' conftest.er1
>conftest.err
3743 cat conftest.err
>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try
='test -z "$ac_c_werror_flag"
3747 || test ! -s conftest.err'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; } &&
3753 { ac_try
='test -s conftest.$ac_objext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3759 ac_hi
=$ac_mid; break
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.
$ac_ext >&5
3764 ac_lo
=`expr $ac_mid + 1`
3765 if test $ac_lo -le $ac_mid; then
3769 ac_mid
=`expr 2 '*' $ac_mid + 1`
3771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3774 echo "$as_me: failed program was:" >&5
3775 sed 's/^/| /' conftest.
$ac_ext >&5
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 $ac_includes_default
3787 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3794 rm -f conftest.
$ac_objext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try
='test -z "$ac_c_werror_flag"
3804 || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try
='test -s conftest.$ac_objext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3818 cat >conftest.
$ac_ext <<_ACEOF
3821 cat confdefs.h
>>conftest.
$ac_ext
3822 cat >>conftest.
$ac_ext <<_ACEOF
3823 /* end confdefs.h. */
3824 $ac_includes_default
3828 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3835 rm -f conftest.
$ac_objext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3837 (eval $ac_compile) 2>conftest.er1
3839 grep -v '^ *+' conftest.er1
>conftest.err
3841 cat conftest.err
>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } &&
3844 { ac_try
='test -z "$ac_c_werror_flag"
3845 || test ! -s conftest.err'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; } &&
3851 { ac_try
='test -s conftest.$ac_objext'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; }; then
3857 ac_lo
=$ac_mid; break
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.
$ac_ext >&5
3862 ac_hi
=`expr '(' $ac_mid ')' - 1`
3863 if test $ac_mid -le $ac_hi; then
3867 ac_mid
=`expr 2 '*' $ac_mid`
3869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.
$ac_ext >&5
3877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3880 # Binary search between lo and hi bounds.
3881 while test "x$ac_lo" != "x$ac_hi"; do
3882 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3883 cat >conftest.
$ac_ext <<_ACEOF
3886 cat confdefs.h
>>conftest.
$ac_ext
3887 cat >>conftest.
$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3889 $ac_includes_default
3893 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3900 rm -f conftest.
$ac_objext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3902 (eval $ac_compile) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag"
3910 || test ! -s conftest.err'
3911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try
='test -s conftest.$ac_objext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.
$ac_ext >&5
3927 ac_lo
=`expr '(' $ac_mid ')' + 1`
3929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3932 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3934 See \`config.log' for more details." >&5
3935 echo "$as_me: error: cannot compute sizeof (short), 77
3936 See \`config.log' for more details." >&2;}
3937 { (exit 1); exit 1; }; } ;;
3940 if test "$cross_compiling" = yes; then
3941 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3942 See \`config.log' for more details." >&5
3943 echo "$as_me: error: cannot run test program while cross compiling
3944 See \`config.log' for more details." >&2;}
3945 { (exit 1); exit 1; }; }
3947 cat >conftest.
$ac_ext <<_ACEOF
3950 cat confdefs.h
>>conftest.
$ac_ext
3951 cat >>conftest.
$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 $ac_includes_default
3954 long longval () { return (long) (sizeof (short)); }
3955 unsigned long ulongval () { return (long) (sizeof (short)); }
3962 FILE *f = fopen ("conftest.val", "w");
3965 if (((long) (sizeof (short))) < 0)
3967 long i = longval ();
3968 if (i != ((long) (sizeof (short))))
3970 fprintf (f, "%ld\n", i);
3974 unsigned long i = ulongval ();
3975 if (i != ((long) (sizeof (short))))
3977 fprintf (f, "%lu\n", i);
3979 exit (ferror (f) || fclose (f) != 0);
3985 rm -f conftest
$ac_exeext
3986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3987 (eval $ac_link) 2>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3996 ac_cv_sizeof_short
=`cat conftest.val`
3998 echo "$as_me: program exited with status $ac_status" >&5
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.
$ac_ext >&5
4003 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4004 See \`config.log' for more details." >&5
4005 echo "$as_me: error: cannot compute sizeof (short), 77
4006 See \`config.log' for more details." >&2;}
4007 { (exit 1); exit 1; }; }
4009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4014 ac_cv_sizeof_short
=0
4017 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4018 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4019 cat >>confdefs.h
<<_ACEOF
4020 #define SIZEOF_SHORT $ac_cv_sizeof_short
4024 echo "$as_me:$LINENO: checking for int" >&5
4025 echo $ECHO_N "checking for int... $ECHO_C" >&6
4026 if test "${ac_cv_type_int+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 cat >conftest.
$ac_ext <<_ACEOF
4032 cat confdefs.h
>>conftest.
$ac_ext
4033 cat >>conftest.
$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 $ac_includes_default
4047 rm -f conftest.
$ac_objext
4048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4049 (eval $ac_compile) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1
>conftest.err
4053 cat conftest.err
>&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } &&
4056 { ac_try
='test -z "$ac_c_werror_flag"
4057 || test ! -s conftest.err'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; } &&
4063 { ac_try
='test -s conftest.$ac_objext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.
$ac_ext >&5
4076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4078 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4079 echo "${ECHO_T}$ac_cv_type_int" >&6
4081 echo "$as_me:$LINENO: checking size of int" >&5
4082 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4083 if test "${ac_cv_sizeof_int+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test "$ac_cv_type_int" = yes; then
4087 # The cast to unsigned long works around a bug in the HP C Compiler
4088 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4089 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4090 # This bug is HP SR number 8606223364.
4091 if test "$cross_compiling" = yes; then
4092 # Depending upon the size, compute the lo and hi bounds.
4093 cat >conftest.
$ac_ext <<_ACEOF
4096 cat confdefs.h
>>conftest.
$ac_ext
4097 cat >>conftest.
$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099 $ac_includes_default
4103 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4110 rm -f conftest.
$ac_objext
4111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112 (eval $ac_compile) 2>conftest.er1
4114 grep -v '^ *+' conftest.er1
>conftest.err
4116 cat conftest.err
>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } &&
4119 { ac_try
='test -z "$ac_c_werror_flag"
4120 || test ! -s conftest.err'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; } &&
4126 { ac_try
='test -s conftest.$ac_objext'
4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; }; then
4134 cat >conftest.
$ac_ext <<_ACEOF
4137 cat confdefs.h
>>conftest.
$ac_ext
4138 cat >>conftest.
$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4140 $ac_includes_default
4144 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4151 rm -f conftest.
$ac_objext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4153 (eval $ac_compile) 2>conftest.er1
4155 grep -v '^ *+' conftest.er1
>conftest.err
4157 cat conftest.err
>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try
='test -z "$ac_c_werror_flag"
4161 || test ! -s conftest.err'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; } &&
4167 { ac_try
='test -s conftest.$ac_objext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 ac_hi
=$ac_mid; break
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.
$ac_ext >&5
4178 ac_lo
=`expr $ac_mid + 1`
4179 if test $ac_lo -le $ac_mid; then
4183 ac_mid
=`expr 2 '*' $ac_mid + 1`
4185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4197 $ac_includes_default
4201 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4208 rm -f conftest.
$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try
='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try
='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4232 cat >conftest.
$ac_ext <<_ACEOF
4235 cat confdefs.h
>>conftest.
$ac_ext
4236 cat >>conftest.
$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4238 $ac_includes_default
4242 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4249 rm -f conftest.
$ac_objext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4251 (eval $ac_compile) 2>conftest.er1
4253 grep -v '^ *+' conftest.er1
>conftest.err
4255 cat conftest.err
>&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } &&
4258 { ac_try
='test -z "$ac_c_werror_flag"
4259 || test ! -s conftest.err'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; } &&
4265 { ac_try
='test -s conftest.$ac_objext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 ac_lo
=$ac_mid; break
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.
$ac_ext >&5
4276 ac_hi
=`expr '(' $ac_mid ')' - 1`
4277 if test $ac_mid -le $ac_hi; then
4281 ac_mid
=`expr 2 '*' $ac_mid`
4283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4294 # Binary search between lo and hi bounds.
4295 while test "x$ac_lo" != "x$ac_hi"; do
4296 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4297 cat >conftest.
$ac_ext <<_ACEOF
4300 cat confdefs.h
>>conftest.
$ac_ext
4301 cat >>conftest.
$ac_ext <<_ACEOF
4302 /* end confdefs.h. */
4303 $ac_includes_default
4307 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4314 rm -f conftest.
$ac_objext
4315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4316 (eval $ac_compile) 2>conftest.er1
4318 grep -v '^ *+' conftest.er1
>conftest.err
4320 cat conftest.err
>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } &&
4323 { ac_try
='test -z "$ac_c_werror_flag"
4324 || test ! -s conftest.err'
4325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; } &&
4330 { ac_try
='test -s conftest.$ac_objext'
4331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }; }; then
4338 echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.
$ac_ext >&5
4341 ac_lo
=`expr '(' $ac_mid ')' + 1`
4343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4346 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4347 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4348 See \`config.log' for more details." >&5
4349 echo "$as_me: error: cannot compute sizeof (int), 77
4350 See \`config.log' for more details." >&2;}
4351 { (exit 1); exit 1; }; } ;;
4354 if test "$cross_compiling" = yes; then
4355 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4356 See \`config.log' for more details." >&5
4357 echo "$as_me: error: cannot run test program while cross compiling
4358 See \`config.log' for more details." >&2;}
4359 { (exit 1); exit 1; }; }
4361 cat >conftest.
$ac_ext <<_ACEOF
4364 cat confdefs.h
>>conftest.
$ac_ext
4365 cat >>conftest.
$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4367 $ac_includes_default
4368 long longval () { return (long) (sizeof (int)); }
4369 unsigned long ulongval () { return (long) (sizeof (int)); }
4376 FILE *f = fopen ("conftest.val", "w");
4379 if (((long) (sizeof (int))) < 0)
4381 long i = longval ();
4382 if (i != ((long) (sizeof (int))))
4384 fprintf (f, "%ld\n", i);
4388 unsigned long i = ulongval ();
4389 if (i != ((long) (sizeof (int))))
4391 fprintf (f, "%lu\n", i);
4393 exit (ferror (f) || fclose (f) != 0);
4399 rm -f conftest
$ac_exeext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4401 (eval $ac_link) 2>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; }; then
4410 ac_cv_sizeof_int
=`cat conftest.val`
4412 echo "$as_me: program exited with status $ac_status" >&5
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4418 See \`config.log' for more details." >&5
4419 echo "$as_me: error: cannot compute sizeof (int), 77
4420 See \`config.log' for more details." >&2;}
4421 { (exit 1); exit 1; }; }
4423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4431 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4432 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4433 cat >>confdefs.h
<<_ACEOF
4434 #define SIZEOF_INT $ac_cv_sizeof_int
4438 echo "$as_me:$LINENO: checking for long" >&5
4439 echo $ECHO_N "checking for long... $ECHO_C" >&6
4440 if test "${ac_cv_type_long+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.
$ac_ext <<_ACEOF
4446 cat confdefs.h
>>conftest.
$ac_ext
4447 cat >>conftest.
$ac_ext <<_ACEOF
4448 /* end confdefs.h. */
4449 $ac_includes_default
4461 rm -f conftest.
$ac_objext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463 (eval $ac_compile) 2>conftest.er1
4465 grep -v '^ *+' conftest.er1
>conftest.err
4467 cat conftest.err
>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } &&
4470 { ac_try
='test -z "$ac_c_werror_flag"
4471 || test ! -s conftest.err'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; } &&
4477 { ac_try
='test -s conftest.$ac_objext'
4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }; }; then
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4492 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4493 echo "${ECHO_T}$ac_cv_type_long" >&6
4495 echo "$as_me:$LINENO: checking size of long" >&5
4496 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4497 if test "${ac_cv_sizeof_long+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 if test "$ac_cv_type_long" = yes; then
4501 # The cast to unsigned long works around a bug in the HP C Compiler
4502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4504 # This bug is HP SR number 8606223364.
4505 if test "$cross_compiling" = yes; then
4506 # Depending upon the size, compute the lo and hi bounds.
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 $ac_includes_default
4517 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4524 rm -f conftest.
$ac_objext
4525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4526 (eval $ac_compile) 2>conftest.er1
4528 grep -v '^ *+' conftest.er1
>conftest.err
4530 cat conftest.err
>&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } &&
4533 { ac_try
='test -z "$ac_c_werror_flag"
4534 || test ! -s conftest.err'
4535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; } &&
4540 { ac_try
='test -s conftest.$ac_objext'
4541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); }; }; then
4548 cat >conftest.
$ac_ext <<_ACEOF
4551 cat confdefs.h
>>conftest.
$ac_ext
4552 cat >>conftest.
$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4554 $ac_includes_default
4558 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4565 rm -f conftest.
$ac_objext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567 (eval $ac_compile) 2>conftest.er1
4569 grep -v '^ *+' conftest.er1
>conftest.err
4571 cat conftest.err
>&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } &&
4574 { ac_try
='test -z "$ac_c_werror_flag"
4575 || test ! -s conftest.err'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try
='test -s conftest.$ac_objext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_hi
=$ac_mid; break
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.
$ac_ext >&5
4592 ac_lo
=`expr $ac_mid + 1`
4593 if test $ac_lo -le $ac_mid; then
4597 ac_mid
=`expr 2 '*' $ac_mid + 1`
4599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.
$ac_ext >&5
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4611 $ac_includes_default
4615 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4622 rm -f conftest.
$ac_objext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624 (eval $ac_compile) 2>conftest.er1
4626 grep -v '^ *+' conftest.er1
>conftest.err
4628 cat conftest.err
>&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } &&
4631 { ac_try
='test -z "$ac_c_werror_flag"
4632 || test ! -s conftest.err'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; } &&
4638 { ac_try
='test -s conftest.$ac_objext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then
4646 cat >conftest.
$ac_ext <<_ACEOF
4649 cat confdefs.h
>>conftest.
$ac_ext
4650 cat >>conftest.
$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4656 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4663 rm -f conftest.
$ac_objext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4665 (eval $ac_compile) 2>conftest.er1
4667 grep -v '^ *+' conftest.er1
>conftest.err
4669 cat conftest.err
>&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } &&
4672 { ac_try
='test -z "$ac_c_werror_flag"
4673 || test ! -s conftest.err'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; } &&
4679 { ac_try
='test -s conftest.$ac_objext'
4680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); }; }; then
4685 ac_lo
=$ac_mid; break
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.
$ac_ext >&5
4690 ac_hi
=`expr '(' $ac_mid ')' - 1`
4691 if test $ac_mid -le $ac_hi; then
4695 ac_mid
=`expr 2 '*' $ac_mid`
4697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.
$ac_ext >&5
4705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4708 # Binary search between lo and hi bounds.
4709 while test "x$ac_lo" != "x$ac_hi"; do
4710 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4711 cat >conftest.
$ac_ext <<_ACEOF
4714 cat confdefs.h
>>conftest.
$ac_ext
4715 cat >>conftest.
$ac_ext <<_ACEOF
4716 /* end confdefs.h. */
4717 $ac_includes_default
4721 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4728 rm -f conftest.
$ac_objext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730 (eval $ac_compile) 2>conftest.er1
4732 grep -v '^ *+' conftest.er1
>conftest.err
4734 cat conftest.err
>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } &&
4737 { ac_try
='test -z "$ac_c_werror_flag"
4738 || test ! -s conftest.err'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; } &&
4744 { ac_try
='test -s conftest.$ac_objext'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.
$ac_ext >&5
4755 ac_lo
=`expr '(' $ac_mid ')' + 1`
4757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4761 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4762 See \`config.log' for more details." >&5
4763 echo "$as_me: error: cannot compute sizeof (long), 77
4764 See \`config.log' for more details." >&2;}
4765 { (exit 1); exit 1; }; } ;;
4768 if test "$cross_compiling" = yes; then
4769 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4770 See \`config.log' for more details." >&5
4771 echo "$as_me: error: cannot run test program while cross compiling
4772 See \`config.log' for more details." >&2;}
4773 { (exit 1); exit 1; }; }
4775 cat >conftest.
$ac_ext <<_ACEOF
4778 cat confdefs.h
>>conftest.
$ac_ext
4779 cat >>conftest.
$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4782 long longval () { return (long) (sizeof (long)); }
4783 unsigned long ulongval () { return (long) (sizeof (long)); }
4790 FILE *f = fopen ("conftest.val", "w");
4793 if (((long) (sizeof (long))) < 0)
4795 long i = longval ();
4796 if (i != ((long) (sizeof (long))))
4798 fprintf (f, "%ld\n", i);
4802 unsigned long i = ulongval ();
4803 if (i != ((long) (sizeof (long))))
4805 fprintf (f, "%lu\n", i);
4807 exit (ferror (f) || fclose (f) != 0);
4813 rm -f conftest
$ac_exeext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4815 (eval $ac_link) 2>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 ac_cv_sizeof_long
=`cat conftest.val`
4826 echo "$as_me: program exited with status $ac_status" >&5
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.
$ac_ext >&5
4831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4832 See \`config.log' for more details." >&5
4833 echo "$as_me: error: cannot compute sizeof (long), 77
4834 See \`config.log' for more details." >&2;}
4835 { (exit 1); exit 1; }; }
4837 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4845 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4846 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4847 cat >>confdefs.h
<<_ACEOF
4848 #define SIZEOF_LONG $ac_cv_sizeof_long
4852 echo "$as_me:$LINENO: checking for long long" >&5
4853 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4854 if test "${ac_cv_type_long_long+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 cat >conftest.
$ac_ext <<_ACEOF
4860 cat confdefs.h
>>conftest.
$ac_ext
4861 cat >>conftest.
$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4863 $ac_includes_default
4867 if ((long long *) 0)
4869 if (sizeof (long long))
4875 rm -f conftest.
$ac_objext
4876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4877 (eval $ac_compile) 2>conftest.er1
4879 grep -v '^ *+' conftest.er1
>conftest.err
4881 cat conftest.err
>&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } &&
4884 { ac_try
='test -z "$ac_c_werror_flag"
4885 || test ! -s conftest.err'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; } &&
4891 { ac_try
='test -s conftest.$ac_objext'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; }; then
4897 ac_cv_type_long_long
=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.
$ac_ext >&5
4902 ac_cv_type_long_long
=no
4904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4907 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4909 echo "$as_me:$LINENO: checking size of long long" >&5
4910 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4911 if test "${ac_cv_sizeof_long_long+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 if test "$ac_cv_type_long_long" = yes; then
4915 # The cast to unsigned long works around a bug in the HP C Compiler
4916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4918 # This bug is HP SR number 8606223364.
4919 if test "$cross_compiling" = yes; then
4920 # Depending upon the size, compute the lo and hi bounds.
4921 cat >conftest.
$ac_ext <<_ACEOF
4924 cat confdefs.h
>>conftest.
$ac_ext
4925 cat >>conftest.
$ac_ext <<_ACEOF
4926 /* end confdefs.h. */
4927 $ac_includes_default
4931 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4938 rm -f conftest.
$ac_objext
4939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4940 (eval $ac_compile) 2>conftest.er1
4942 grep -v '^ *+' conftest.er1
>conftest.err
4944 cat conftest.err
>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } &&
4947 { ac_try
='test -z "$ac_c_werror_flag"
4948 || test ! -s conftest.err'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; } &&
4954 { ac_try
='test -s conftest.$ac_objext'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; }; then
4962 cat >conftest.
$ac_ext <<_ACEOF
4965 cat confdefs.h
>>conftest.
$ac_ext
4966 cat >>conftest.
$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 $ac_includes_default
4972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4979 rm -f conftest.
$ac_objext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4981 (eval $ac_compile) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } &&
4988 { ac_try
='test -z "$ac_c_werror_flag"
4989 || test ! -s conftest.err'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; } &&
4995 { ac_try
='test -s conftest.$ac_objext'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); }; }; then
5001 ac_hi
=$ac_mid; break
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.
$ac_ext >&5
5006 ac_lo
=`expr $ac_mid + 1`
5007 if test $ac_lo -le $ac_mid; then
5011 ac_mid
=`expr 2 '*' $ac_mid + 1`
5013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.
$ac_ext >&5
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5025 $ac_includes_default
5029 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
5036 rm -f conftest.
$ac_objext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>conftest.er1
5040 grep -v '^ *+' conftest.er1
>conftest.err
5042 cat conftest.err
>&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } &&
5045 { ac_try
='test -z "$ac_c_werror_flag"
5046 || test ! -s conftest.err'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; } &&
5052 { ac_try
='test -s conftest.$ac_objext'
5053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; }; then
5060 cat >conftest.
$ac_ext <<_ACEOF
5063 cat confdefs.h
>>conftest.
$ac_ext
5064 cat >>conftest.
$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5066 $ac_includes_default
5070 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
5077 rm -f conftest.
$ac_objext
5078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5079 (eval $ac_compile) 2>conftest.er1
5081 grep -v '^ *+' conftest.er1
>conftest.err
5083 cat conftest.err
>&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } &&
5086 { ac_try
='test -z "$ac_c_werror_flag"
5087 || test ! -s conftest.err'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; } &&
5093 { ac_try
='test -s conftest.$ac_objext'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; }; then
5099 ac_lo
=$ac_mid; break
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5104 ac_hi
=`expr '(' $ac_mid ')' - 1`
5105 if test $ac_mid -le $ac_hi; then
5109 ac_mid
=`expr 2 '*' $ac_mid`
5111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.
$ac_ext >&5
5119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5122 # Binary search between lo and hi bounds.
5123 while test "x$ac_lo" != "x$ac_hi"; do
5124 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5125 cat >conftest.
$ac_ext <<_ACEOF
5128 cat confdefs.h
>>conftest.
$ac_ext
5129 cat >>conftest.
$ac_ext <<_ACEOF
5130 /* end confdefs.h. */
5131 $ac_includes_default
5135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5142 rm -f conftest.
$ac_objext
5143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5144 (eval $ac_compile) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1
>conftest.err
5148 cat conftest.err
>&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } &&
5151 { ac_try
='test -z "$ac_c_werror_flag"
5152 || test ! -s conftest.err'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; } &&
5158 { ac_try
='test -s conftest.$ac_objext'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; }; then
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.
$ac_ext >&5
5169 ac_lo
=`expr '(' $ac_mid ')' + 1`
5171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5174 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5175 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5176 See \`config.log' for more details." >&5
5177 echo "$as_me: error: cannot compute sizeof (long long), 77
5178 See \`config.log' for more details." >&2;}
5179 { (exit 1); exit 1; }; } ;;
5182 if test "$cross_compiling" = yes; then
5183 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5184 See \`config.log' for more details." >&5
5185 echo "$as_me: error: cannot run test program while cross compiling
5186 See \`config.log' for more details." >&2;}
5187 { (exit 1); exit 1; }; }
5189 cat >conftest.
$ac_ext <<_ACEOF
5192 cat confdefs.h
>>conftest.
$ac_ext
5193 cat >>conftest.
$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5195 $ac_includes_default
5196 long longval () { return (long) (sizeof (long long)); }
5197 unsigned long ulongval () { return (long) (sizeof (long long)); }
5204 FILE *f = fopen ("conftest.val", "w");
5207 if (((long) (sizeof (long long))) < 0)
5209 long i = longval ();
5210 if (i != ((long) (sizeof (long long))))
5212 fprintf (f, "%ld\n", i);
5216 unsigned long i = ulongval ();
5217 if (i != ((long) (sizeof (long long))))
5219 fprintf (f, "%lu\n", i);
5221 exit (ferror (f) || fclose (f) != 0);
5227 rm -f conftest
$ac_exeext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5229 (eval $ac_link) 2>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }; }; then
5238 ac_cv_sizeof_long_long
=`cat conftest.val`
5240 echo "$as_me: program exited with status $ac_status" >&5
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.
$ac_ext >&5
5245 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5246 See \`config.log' for more details." >&5
5247 echo "$as_me: error: cannot compute sizeof (long long), 77
5248 See \`config.log' for more details." >&2;}
5249 { (exit 1); exit 1; }; }
5251 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5256 ac_cv_sizeof_long_long
=0
5259 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5260 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5261 cat >>confdefs.h
<<_ACEOF
5262 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5268 $ac_cv_sizeof_short) SIZE16
="short";;
5269 $ac_cv_sizeof_int) SIZE16
="int";;
5273 $ac_cv_sizeof_int) SIZE32
="int";;
5274 $ac_cv_sizeof_long) SIZE32
="long";;
5275 $ac_cv_sizeof_short) SIZE32
="short";;
5282 OPAL_HAVE_SPEEX_SPEEX_H
=
5284 for ac_header
in "speex.h"
5286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5288 echo "$as_me:$LINENO: checking for $ac_header" >&5
5289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5296 # Is the header compilable?
5297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5299 cat >conftest.
$ac_ext <<_ACEOF
5302 cat confdefs.h
>>conftest.
$ac_ext
5303 cat >>conftest.
$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5305 $ac_includes_default
5306 #include <$ac_header>
5308 rm -f conftest.
$ac_objext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>conftest.er1
5312 grep -v '^ *+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -z "$ac_c_werror_flag"
5318 || test ! -s conftest.err'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try
='test -s conftest.$ac_objext'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; }; then
5330 ac_header_compiler
=yes
5332 echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.
$ac_ext >&5
5335 ac_header_compiler
=no
5337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5339 echo "${ECHO_T}$ac_header_compiler" >&6
5341 # Is the header present?
5342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5347 cat confdefs.h
>>conftest.
$ac_ext
5348 cat >>conftest.
$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5350 #include <$ac_header>
5352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5355 grep -v '^ *+' conftest.er1
>conftest.err
5357 cat conftest.err
>&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } >/dev
/null
; then
5360 if test -s conftest.err
; then
5361 ac_cpp_err
=$ac_c_preproc_warn_flag
5362 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5369 if test -z "$ac_cpp_err"; then
5370 ac_header_preproc
=yes
5372 echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.
$ac_ext >&5
5375 ac_header_preproc
=no
5377 rm -f conftest.err conftest.
$ac_ext
5378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379 echo "${ECHO_T}$ac_header_preproc" >&6
5381 # So? What about this header?
5382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388 ac_header_preproc
=yes
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5405 ## ------------------------------------------ ##
5406 ## Report this to the AC_PACKAGE_NAME lists. ##
5407 ## ------------------------------------------ ##
5410 sed "s/^/$as_me: WARNING: /" >&2
5413 echo "$as_me:$LINENO: checking for $ac_header" >&5
5414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 eval "$as_ac_Header=\$ac_header_preproc"
5420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5425 cat >>confdefs.h
<<_ACEOF
5426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5433 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5434 cat >>confdefs.h
<<\_ACEOF
5435 #define OPAL_HAVE_SPEEX_H 1
5440 for ac_header
in "speex/speex.h"
5442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5444 echo "$as_me:$LINENO: checking for $ac_header" >&5
5445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5452 # Is the header compilable?
5453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5455 cat >conftest.
$ac_ext <<_ACEOF
5458 cat confdefs.h
>>conftest.
$ac_ext
5459 cat >>conftest.
$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 $ac_includes_default
5462 #include <$ac_header>
5464 rm -f conftest.
$ac_objext
5465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5466 (eval $ac_compile) 2>conftest.er1
5468 grep -v '^ *+' conftest.er1
>conftest.err
5470 cat conftest.err
>&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); } &&
5473 { ac_try
='test -z "$ac_c_werror_flag"
5474 || test ! -s conftest.err'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; } &&
5480 { ac_try
='test -s conftest.$ac_objext'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_header_compiler
=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.
$ac_ext >&5
5491 ac_header_compiler
=no
5493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5495 echo "${ECHO_T}$ac_header_compiler" >&6
5497 # Is the header present?
5498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5500 cat >conftest.
$ac_ext <<_ACEOF
5503 cat confdefs.h
>>conftest.
$ac_ext
5504 cat >>conftest.
$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 #include <$ac_header>
5508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5511 grep -v '^ *+' conftest.er1
>conftest.err
5513 cat conftest.err
>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } >/dev
/null
; then
5516 if test -s conftest.err
; then
5517 ac_cpp_err
=$ac_c_preproc_warn_flag
5518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5525 if test -z "$ac_cpp_err"; then
5526 ac_header_preproc
=yes
5528 echo "$as_me: failed program was:" >&5
5529 sed 's/^/| /' conftest.
$ac_ext >&5
5531 ac_header_preproc
=no
5533 rm -f conftest.err conftest.
$ac_ext
5534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5535 echo "${ECHO_T}$ac_header_preproc" >&6
5537 # So? What about this header?
5538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5544 ac_header_preproc
=yes
5547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5561 ## ------------------------------------------ ##
5562 ## Report this to the AC_PACKAGE_NAME lists. ##
5563 ## ------------------------------------------ ##
5566 sed "s/^/$as_me: WARNING: /" >&2
5569 echo "$as_me:$LINENO: checking for $ac_header" >&5
5570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 eval "$as_ac_Header=\$ac_header_preproc"
5576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5581 cat >>confdefs.h
<<_ACEOF
5582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5584 OPAL_HAVE_SPEEX_SPEEX_H
=1
5589 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5590 cat >>confdefs.h
<<\_ACEOF
5591 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5597 if test "${localspeex}" = "yes" ; then
5598 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5599 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5600 elif test "${localspeex}" = "no" ; then
5601 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5602 echo "$as_me: Forcing use of system Speex library" >&6;}
5603 cat >>confdefs.h
<<\_ACEOF
5604 #define OPAL_SYSTEM_SPEEX 1
5610 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5611 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5612 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 ac_check_lib_save_LIBS
=$LIBS
5616 LIBS
="-lspeex $LIBS"
5617 cat >conftest.
$ac_ext <<_ACEOF
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5624 /* Override any gcc2 internal prototype to avoid an error. */
5628 /* We use char because int might match the return type of a gcc2
5629 builtin and then its argument prototype would still apply. */
5630 char speex_encoder_destroy ();
5634 speex_encoder_destroy ();
5639 rm -f conftest.
$ac_objext conftest
$ac_exeext
5640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5641 (eval $ac_link) 2>conftest.er1
5643 grep -v '^ *+' conftest.er1
>conftest.err
5645 cat conftest.err
>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } &&
5648 { ac_try
='test -z "$ac_c_werror_flag"
5649 || test ! -s conftest.err'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; } &&
5655 { ac_try
='test -s conftest$ac_exeext'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; }; then
5661 ac_cv_lib_speex_speex_encoder_destroy
=yes
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.
$ac_ext >&5
5666 ac_cv_lib_speex_speex_encoder_destroy
=no
5668 rm -f conftest.err conftest.
$ac_objext \
5669 conftest
$ac_exeext conftest.
$ac_ext
5670 LIBS
=$ac_check_lib_save_LIBS
5672 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5673 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5674 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5678 if test "${SPEEX}x" != "x" ; then
5679 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5680 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5681 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 ac_check_lib_save_LIBS
=$LIBS
5685 LIBS
="-lspeex $LIBS"
5686 cat >conftest.
$ac_ext <<_ACEOF
5689 cat confdefs.h
>>conftest.
$ac_ext
5690 cat >>conftest.
$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5693 /* Override any gcc2 internal prototype to avoid an error. */
5697 /* We use char because int might match the return type of a gcc2
5698 builtin and then its argument prototype would still apply. */
5699 char speex_encode_int ();
5703 speex_encode_int ();
5708 rm -f conftest.
$ac_objext conftest
$ac_exeext
5709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5710 (eval $ac_link) 2>conftest.er1
5712 grep -v '^ *+' conftest.er1
>conftest.err
5714 cat conftest.err
>&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); } &&
5717 { ac_try
='test -z "$ac_c_werror_flag"
5718 || test ! -s conftest.err'
5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; } &&
5724 { ac_try
='test -s conftest$ac_exeext'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then
5730 ac_cv_lib_speex_speex_encode_int
=yes
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.
$ac_ext >&5
5735 ac_cv_lib_speex_speex_encode_int
=no
5737 rm -f conftest.err conftest.
$ac_objext \
5738 conftest
$ac_exeext conftest.
$ac_ext
5739 LIBS
=$ac_check_lib_save_LIBS
5741 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5742 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5743 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5750 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5751 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5752 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5754 echo "$as_me:$LINENO: checking system Speex version" >&5
5755 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5756 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5757 echo "#include <speex.h>" > t.c
5758 echo "#include <speex_header.h>" >> t.c
5760 echo "#include <speex/speex.h>" > t.c
5761 echo "#include <speex/speex_header.h>" >> t.c
5765 int main(int argc,char *argv)
5768 speex_init_header(&header, 1, 1, &speex_nb_mode);
5769 printf("%s\n", header.speex_version);
5772 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5773 if test \
! -x t
; then
5774 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5775 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5778 echo "$as_me:$LINENO: result: $SYSVER" >&5
5779 echo "${ECHO_T}$SYSVER" >&6
5780 echo "$as_me:$LINENO: checking library Speex version" >&5
5781 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5782 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5783 echo "$as_me:$LINENO: result: $LIBVER" >&5
5784 echo "${ECHO_T}$LIBVER" >&6
5785 echo "$as_me:$LINENO: checking Speex versions" >&5
5786 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5789 \$sysver = @ARGV[0];
5790 \$libver = @ARGV[1];
5791 @lib = split /\./, \$libver;
5795 @sys = split /\./, \$sysver;
5801 if (@sys[\$i] < @lib[\$i]) {
5810 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5812 if test "x$SPEEX" = "x0" ; then
5813 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5814 echo "${ECHO_T}OPAL version is more recent" >&6
5816 echo "$as_me:$LINENO: result: system version is more recent" >&5
5817 echo "${ECHO_T}system version is more recent" >&6
5818 cat >>confdefs.h
<<\_ACEOF
5819 #define OPAL_SYSTEM_SPEEX 1
5824 echo "$as_me:$LINENO: checking Speex noise type" >&5
5825 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5826 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5827 echo "#include <speex.h>" > t.c
5828 echo "#include <speex_preprocess.h>" >> t.c
5830 echo "#include <speex/speex.h>" > t.c
5831 echo "#include <speex/speex_preprocess.h>" >> t.c
5835 int main(int argc,char *argv)
5837 struct SpeexPreprocessState *st;
5840 speex_preprocess(st, x, echo);
5844 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5845 if test \
! -x t
; then
5846 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5847 echo "${ECHO_T}spx_int32_t" >&6
5849 echo "$as_me:$LINENO: result: float" >&5
5850 echo "${ECHO_T}float" >&6
5851 cat >>confdefs.h
<<\_ACEOF
5852 #define OPAL_SPEEX_FLOAT_NOISE 1
5866 # Check whether --enable-ilbc or --disable-ilbc was given.
5867 if test "${enable_ilbc+set}" = set; then
5868 enableval
="$enable_ilbc"
5871 echo "$as_me:$LINENO: checking iLBC codec" >&5
5872 echo $ECHO_N "checking iLBC codec... $ECHO_C" >&6
5873 if test "$ilbc" != "yes" ; then
5875 echo "$as_me:$LINENO: result: disabled" >&5
5876 echo "${ECHO_T}disabled" >&6
5877 elif test -f src
/codec
/ilbccodec.cxx
&& test -f src
/codec
/iLBC
/iLBC_encode.c
; then
5879 echo "$as_me:$LINENO: result: enabled" >&5
5880 echo "${ECHO_T}enabled" >&6
5883 echo "$as_me:$LINENO: result: not present" >&5
5884 echo "${ECHO_T}not present" >&6
5887 if test "$ilbc" = "yes" ; then
5890 cat >>confdefs.h
<<\_ACEOF
5899 cat >>confdefs.h
<<\_ACEOF
5900 #define OPAL_AUDIO 1
5906 cat >>confdefs.h
<<\_ACEOF
5907 #define OPAL_VIDEO 1
5914 # Check whether --enable-sip or --disable-sip was given.
5915 if test "${enable_sip+set}" = set; then
5916 enableval
="$enable_sip"
5919 echo "$as_me:$LINENO: checking SIP protocol" >&5
5920 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5921 if test "$sip" = "yes" ; then
5924 cat >>confdefs.h
<<\_ACEOF
5928 echo "$as_me:$LINENO: result: enabled" >&5
5929 echo "${ECHO_T}enabled" >&6
5931 echo "$as_me:$LINENO: result: disabled" >&5
5932 echo "${ECHO_T}disabled" >&6
5939 # Check whether --enable-h323 or --disable-h323 was given.
5940 if test "${enable_h323+set}" = set; then
5941 enableval
="$enable_h323"
5944 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5945 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5946 if test "$h323" = "yes" ; then
5949 cat >>confdefs.h
<<\_ACEOF
5953 echo "$as_me:$LINENO: result: enabled" >&5
5954 echo "${ECHO_T}enabled" >&6
5956 echo "$as_me:$LINENO: result: disabled (T.38 also disabled)" >&5
5957 echo "${ECHO_T}disabled (T.38 also disabled)" >&6
5960 OPAL_H323
=$OPAL_H323
5963 if test "$t38" = "yes" ; then
5964 # Check whether --enable-t38 or --disable-t38 was given.
5965 if test "${enable_t38+set}" = set; then
5966 enableval
="$enable_t38"
5969 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5970 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5971 if test "$t38" = "yes" ; then
5974 cat >>confdefs.h
<<\_ACEOF
5975 #define OPAL_T38FAX 1
5978 echo "$as_me:$LINENO: result: enabled" >&5
5979 echo "${ECHO_T}enabled" >&6
5981 echo "$as_me:$LINENO: result: disabled" >&5
5982 echo "${ECHO_T}disabled" >&6
5988 # Check whether --enable-iax or --disable-iax was given.
5989 if test "${enable_iax+set}" = set; then
5990 enableval
="$enable_iax"
5993 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5994 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5995 if test "$iax" = "yes" ; then
5998 cat >>confdefs.h
<<\_ACEOF
6002 echo "$as_me:$LINENO: result: enabled" >&5
6003 echo "${ECHO_T}enabled" >&6
6005 echo "$as_me:$LINENO: result: disabled" >&5
6006 echo "${ECHO_T}disabled" >&6
6011 # Check whether --enable-h224 or --disable-h224 was given.
6012 if test "${enable_h224+set}" = set; then
6013 enableval
="$enable_h224"
6016 echo "$as_me:$LINENO: checking H224 protocol" >&5
6017 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
6018 if test "$h224" = "yes" ; then
6021 cat >>confdefs.h
<<\_ACEOF
6025 echo "$as_me:$LINENO: result: enabled" >&5
6026 echo "${ECHO_T}enabled" >&6
6028 echo "$as_me:$LINENO: result: disabled" >&5
6029 echo "${ECHO_T}disabled" >&6
6033 # Check whether --enable-h460 or --disable-h460 was given.
6034 if test "${enable_h460+set}" = set; then
6035 enableval
="$enable_h460"
6038 if test "${enable_h460}x" = "x" ; then
6041 if test "$enable_h460" == "yes" ; then
6043 cat >>confdefs.h
<<\_ACEOF
6049 { echo "$as_me:$LINENO: Disabling H.460" >&5
6050 echo "$as_me: Disabling H.460" >&6;}
6059 for ac_header
in linux
/telephony.h sys
/telephony.h
/usr
/local
/include
/sys
/telephony.h
6061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6063 echo "$as_me:$LINENO: checking for $ac_header" >&5
6064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6071 # Is the header compilable?
6072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6081 #include <$ac_header>
6083 rm -f conftest.
$ac_objext
6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6085 (eval $ac_compile) 2>conftest.er1
6087 grep -v '^ *+' conftest.er1
>conftest.err
6089 cat conftest.err
>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } &&
6092 { ac_try
='test -z "$ac_c_werror_flag"
6093 || test ! -s conftest.err'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; } &&
6099 { ac_try
='test -s conftest.$ac_objext'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; }; then
6105 ac_header_compiler
=yes
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.
$ac_ext >&5
6110 ac_header_compiler
=no
6112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6114 echo "${ECHO_T}$ac_header_compiler" >&6
6116 # Is the header present?
6117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 #include <$ac_header>
6127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } >/dev
/null
; then
6135 if test -s conftest.err
; then
6136 ac_cpp_err
=$ac_c_preproc_warn_flag
6137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6144 if test -z "$ac_cpp_err"; then
6145 ac_header_preproc
=yes
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.
$ac_ext >&5
6150 ac_header_preproc
=no
6152 rm -f conftest.err conftest.
$ac_ext
6153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6154 echo "${ECHO_T}$ac_header_preproc" >&6
6156 # So? What about this header?
6157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6163 ac_header_preproc
=yes
6166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6180 ## ------------------------------------------ ##
6181 ## Report this to the AC_PACKAGE_NAME lists. ##
6182 ## ------------------------------------------ ##
6185 sed "s/^/$as_me: WARNING: /" >&2
6188 echo "$as_me:$LINENO: checking for $ac_header" >&5
6189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 eval "$as_ac_Header=\$ac_header_preproc"
6195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6200 cat >>confdefs.h
<<_ACEOF
6201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6208 if test "x$HAS_IXJ" != "x" ; then
6209 echo "$as_me:$LINENO: checking if ixjuser.h actually compiles" >&5
6210 echo $ECHO_N "checking if ixjuser.h actually compiles... $ECHO_C" >&6
6211 cat >conftest.
$ac_ext <<_ACEOF
6214 cat confdefs.h
>>conftest.
$ac_ext
6215 cat >>conftest.
$ac_ext <<_ACEOF
6216 /* end confdefs.h. */
6217 #include <linux/ixjuser.h>
6221 int main(int ac,char **av) { return 0; }
6226 rm -f conftest.
$ac_objext
6227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6228 (eval $ac_compile) 2>conftest.er1
6230 grep -v '^ *+' conftest.er1
>conftest.err
6232 cat conftest.err
>&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); } &&
6235 { ac_try
='test -z "$ac_c_werror_flag"
6236 || test ! -s conftest.err'
6237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; } &&
6242 { ac_try
='test -s conftest.$ac_objext'
6243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); }; }; then
6250 echo "$as_me: failed program was:" >&5
6251 sed 's/^/| /' conftest.
$ac_ext >&5
6255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6256 if test "x$HAS_IXJ" != "x" ; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 cat >>confdefs.h
<<\_ACEOF
6265 echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6
6274 cat >>confdefs.h
<<\_ACEOF
6284 # Check whether --enable-vpb or --disable-vpb was given.
6285 if test "${enable_vpb+set}" = set; then
6286 enableval
="$enable_vpb"
6289 echo "$as_me:$LINENO: checking Voicetronix vpb" >&5
6290 echo $ECHO_N "checking Voicetronix vpb... $ECHO_C" >&6
6291 if test "$vpb" = "yes" ; then
6294 cat >>confdefs.h
<<\_ACEOF
6298 echo "$as_me:$LINENO: result: enabled" >&5
6299 echo "${ECHO_T}enabled" >&6
6302 cat >>confdefs.h
<<\_ACEOF
6309 echo "$as_me:$LINENO: result: disabled" >&5
6310 echo "${ECHO_T}disabled" >&6
6314 OLD_CPPFLAGS
=$CPPFLAGS
6315 CPPFLAGS
=-D__LINUX__
6319 for ac_header
in /usr
/local
/include
/libpri.h
6321 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6323 echo "$as_me:$LINENO: checking for $ac_header" >&5
6324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6331 # Is the header compilable?
6332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6334 cat >conftest.
$ac_ext <<_ACEOF
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 $ac_includes_default
6341 #include <$ac_header>
6343 rm -f conftest.
$ac_objext
6344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6345 (eval $ac_compile) 2>conftest.er1
6347 grep -v '^ *+' conftest.er1
>conftest.err
6349 cat conftest.err
>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } &&
6352 { ac_try
='test -z "$ac_c_werror_flag"
6353 || test ! -s conftest.err'
6354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; } &&
6359 { ac_try
='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6365 ac_header_compiler
=yes
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.
$ac_ext >&5
6370 ac_header_compiler
=no
6372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6374 echo "${ECHO_T}$ac_header_compiler" >&6
6376 # Is the header present?
6377 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6378 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6379 cat >conftest.
$ac_ext <<_ACEOF
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 #include <$ac_header>
6387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } >/dev
/null
; then
6395 if test -s conftest.err
; then
6396 ac_cpp_err
=$ac_c_preproc_warn_flag
6397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6404 if test -z "$ac_cpp_err"; then
6405 ac_header_preproc
=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.
$ac_ext >&5
6410 ac_header_preproc
=no
6412 rm -f conftest.err conftest.
$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6414 echo "${ECHO_T}$ac_header_preproc" >&6
6416 # So? What about this header?
6417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6422 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6423 ac_header_preproc
=yes
6426 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6427 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6428 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6429 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6430 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6431 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6432 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6440 ## ------------------------------------------ ##
6441 ## Report this to the AC_PACKAGE_NAME lists. ##
6442 ## ------------------------------------------ ##
6445 sed "s/^/$as_me: WARNING: /" >&2
6448 echo "$as_me:$LINENO: checking for $ac_header" >&5
6449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 eval "$as_ac_Header=\$ac_header_preproc"
6455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6460 cat >>confdefs.h
<<_ACEOF
6461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6468 if test "x$HAS_SANGOMA" != "x" ; then
6470 for ac_header
in /usr
/local
/include
/libsangoma.h
6472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6474 echo "$as_me:$LINENO: checking for $ac_header" >&5
6475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6482 # Is the header compilable?
6483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6485 cat >conftest.
$ac_ext <<_ACEOF
6488 cat confdefs.h
>>conftest.
$ac_ext
6489 cat >>conftest.
$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_includes_default
6492 #include <$ac_header>
6494 rm -f conftest.
$ac_objext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6496 (eval $ac_compile) 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try
='test -z "$ac_c_werror_flag"
6504 || test ! -s conftest.err'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; } &&
6510 { ac_try
='test -s conftest.$ac_objext'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; }; then
6516 ac_header_compiler
=yes
6518 echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.
$ac_ext >&5
6521 ac_header_compiler
=no
6523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6525 echo "${ECHO_T}$ac_header_compiler" >&6
6527 # Is the header present?
6528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6530 cat >conftest.
$ac_ext <<_ACEOF
6533 cat confdefs.h
>>conftest.
$ac_ext
6534 cat >>conftest.
$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6536 #include <$ac_header>
6538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } >/dev
/null
; then
6546 if test -s conftest.err
; then
6547 ac_cpp_err
=$ac_c_preproc_warn_flag
6548 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6555 if test -z "$ac_cpp_err"; then
6556 ac_header_preproc
=yes
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.
$ac_ext >&5
6561 ac_header_preproc
=no
6563 rm -f conftest.err conftest.
$ac_ext
6564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6565 echo "${ECHO_T}$ac_header_preproc" >&6
6567 # So? What about this header?
6568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6574 ac_header_preproc
=yes
6577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6591 ## ------------------------------------------ ##
6592 ## Report this to the AC_PACKAGE_NAME lists. ##
6593 ## ------------------------------------------ ##
6596 sed "s/^/$as_me: WARNING: /" >&2
6599 echo "$as_me:$LINENO: checking for $ac_header" >&5
6600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 eval "$as_ac_Header=\$ac_header_preproc"
6606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6611 cat >>confdefs.h
<<_ACEOF
6612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6619 if test "x$HAS_SANGOMA" != "x" ; then
6620 echo "$as_me:$LINENO: checking for pri_new_cb in -lpri" >&5
6621 echo $ECHO_N "checking for pri_new_cb in -lpri... $ECHO_C" >&6
6622 if test "${ac_cv_lib_pri_pri_new_cb+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 ac_check_lib_save_LIBS
=$LIBS
6627 cat >conftest.
$ac_ext <<_ACEOF
6630 cat confdefs.h
>>conftest.
$ac_ext
6631 cat >>conftest.
$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6634 /* Override any gcc2 internal prototype to avoid an error. */
6638 /* We use char because int might match the return type of a gcc2
6639 builtin and then its argument prototype would still apply. */
6649 rm -f conftest.
$ac_objext conftest
$ac_exeext
6650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6651 (eval $ac_link) 2>conftest.er1
6653 grep -v '^ *+' conftest.er1
>conftest.err
6655 cat conftest.err
>&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } &&
6658 { ac_try
='test -z "$ac_c_werror_flag"
6659 || test ! -s conftest.err'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; } &&
6665 { ac_try
='test -s conftest$ac_exeext'
6666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); }; }; then
6671 ac_cv_lib_pri_pri_new_cb
=yes
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.
$ac_ext >&5
6676 ac_cv_lib_pri_pri_new_cb
=no
6678 rm -f conftest.err conftest.
$ac_objext \
6679 conftest
$ac_exeext conftest.
$ac_ext
6680 LIBS
=$ac_check_lib_save_LIBS
6682 echo "$as_me:$LINENO: result: $ac_cv_lib_pri_pri_new_cb" >&5
6683 echo "${ECHO_T}$ac_cv_lib_pri_pri_new_cb" >&6
6684 if test $ac_cv_lib_pri_pri_new_cb = yes; then
6688 if test "x$HAS_SANGOMA" = "x" ; then
6689 { echo "$as_me:$LINENO: *** If the latest libri is installed in /usr/local/lib" >&5
6690 echo "$as_me: *** If the latest libri is installed in /usr/local/lib" >&ensure it is not obscured by an older version
in /usr
/lib
;}
6692 echo "$as_me:$LINENO: checking for sangoma_create_socket in -lsangoma" >&5
6693 echo $ECHO_N "checking for sangoma_create_socket in -lsangoma... $ECHO_C" >&6
6694 if test "${ac_cv_lib_sangoma_sangoma_create_socket+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 ac_check_lib_save_LIBS
=$LIBS
6698 LIBS
="-lsangoma $LIBS"
6699 cat >conftest.
$ac_ext <<_ACEOF
6702 cat confdefs.h
>>conftest.
$ac_ext
6703 cat >>conftest.
$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6706 /* Override any gcc2 internal prototype to avoid an error. */
6710 /* We use char because int might match the return type of a gcc2
6711 builtin and then its argument prototype would still apply. */
6712 char sangoma_create_socket ();
6716 sangoma_create_socket ();
6721 rm -f conftest.
$ac_objext conftest
$ac_exeext
6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6723 (eval $ac_link) 2>conftest.er1
6725 grep -v '^ *+' conftest.er1
>conftest.err
6727 cat conftest.err
>&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); } &&
6730 { ac_try
='test -z "$ac_c_werror_flag"
6731 || test ! -s conftest.err'
6732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); }; } &&
6737 { ac_try
='test -s conftest$ac_exeext'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; }; then
6743 ac_cv_lib_sangoma_sangoma_create_socket
=yes
6745 echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.
$ac_ext >&5
6748 ac_cv_lib_sangoma_sangoma_create_socket
=no
6750 rm -f conftest.err conftest.
$ac_objext \
6751 conftest
$ac_exeext conftest.
$ac_ext
6752 LIBS
=$ac_check_lib_save_LIBS
6754 echo "$as_me:$LINENO: result: $ac_cv_lib_sangoma_sangoma_create_socket" >&5
6755 echo "${ECHO_T}$ac_cv_lib_sangoma_sangoma_create_socket" >&6
6756 if test $ac_cv_lib_sangoma_sangoma_create_socket = yes; then
6760 if test "x$HAS_SANGOMA" != "x" ; then
6761 cat >>confdefs.h
<<\_ACEOF
6762 #define HAS_SANGOMA 1
6772 CPPFLAGS
=$OLD_CPPFLAGS
6780 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6781 if test -f $ac_dir/install-sh
; then
6783 ac_install_sh
="$ac_aux_dir/install-sh -c"
6785 elif test -f $ac_dir/install.sh
; then
6787 ac_install_sh
="$ac_aux_dir/install.sh -c"
6789 elif test -f $ac_dir/shtool
; then
6791 ac_install_sh
="$ac_aux_dir/shtool install -c"
6795 if test -z "$ac_aux_dir"; then
6796 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6797 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6798 { (exit 1); exit 1; }; }
6800 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6801 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6802 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6804 # Find a good install program. We prefer a C program (faster),
6805 # so one script is as good as another. But avoid the broken or
6806 # incompatible versions:
6807 # SysV /etc/install, /usr/sbin/install
6808 # SunOS /usr/etc/install
6809 # IRIX /sbin/install
6811 # AmigaOS /C/install, which installs bootblocks on floppy discs
6812 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6813 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6814 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6815 # OS/2's system install, which has a completely different semantic
6816 # ./install, which can be erroneously created by make from ./install.sh.
6817 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6818 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6819 if test -z "$INSTALL"; then
6820 if test "${ac_cv_path_install+set}" = set; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir
=.
6828 # Account for people who put trailing slashes in PATH elements.
6830 .
/ | .
// |
/cC
/* | \
6831 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6832 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6835 # OSF1 and SCO ODT 3.0 have their own names for install.
6836 # Don't use installbsd from OSF since it installs stuff as root
6838 for ac_prog
in ginstall scoinst
install; do
6839 for ac_exec_ext
in '' $ac_executable_extensions; do
6840 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6841 if test $ac_prog = install &&
6842 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6843 # AIX install. It has an incompatible calling convention.
6845 elif test $ac_prog = install &&
6846 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6847 # program-specific install script used by HP pwplus--don't use.
6850 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6862 if test "${ac_cv_path_install+set}" = set; then
6863 INSTALL
=$ac_cv_path_install
6865 # As a last resort, use the slow shell script. We don't cache a
6866 # path for INSTALL within a source directory, because that will
6867 # break other packages using the cache if that directory is
6868 # removed, or if the path is relative.
6869 INSTALL
=$ac_install_sh
6872 echo "$as_me:$LINENO: result: $INSTALL" >&5
6873 echo "${ECHO_T}$INSTALL" >&6
6875 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6876 # It thinks the first close brace ends the variable substitution.
6877 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6879 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6881 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6885 ac_config_files
="$ac_config_files opal_inc.mak"
6887 ac_config_files
="$ac_config_files Makefile"
6889 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6892 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6893 cat >confcache
<<\_ACEOF
6894 # This file is a shell script that caches the results of configure
6895 # tests run on this system so they can be shared between configure
6896 # scripts and configure runs, see configure's option --config-cache.
6897 # It is not useful on other systems. If it contains results you don't
6898 # want to keep, you may remove or edit it.
6900 # config.status only pays attention to the cache file if you give it
6901 # the --recheck option to rerun configure.
6903 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6904 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6909 # The following way of writing the cache mishandles newlines in values,
6910 # but we know of no workaround that is simple, portable, and efficient.
6911 # So, don't put newlines in cache variables' values.
6912 # Ultrix sh set writes to stderr and can't be redirected directly,
6913 # and sets the high bit in the cache file unless we assign to the vars.
6916 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6918 # `set' does not quote correctly, so add quotes (double-quote
6919 # substitution turns \\\\ into \\, and sed turns \\ into \).
6922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6925 # `set' quotes correctly as required by POSIX, so do not add quotes.
6927 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6936 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6938 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6939 if test -w $cache_file; then
6940 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6941 cat confcache
>$cache_file
6943 echo "not updating unwritable cache $cache_file"
6948 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6949 # Let make expand exec_prefix.
6950 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6954 # trailing colons and then remove the whole line if VPATH becomes empty
6955 # (actually we leave an empty line to preserve line numbers).
6956 if test "x$srcdir" = x.
; then
6957 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6958 s/:*\$(srcdir):*/:/;
6959 s/:*\${srcdir}:*/:/;
6961 s/^\([^=]*=[ ]*\):*/\1/;
6967 DEFS
=-DHAVE_CONFIG_H
6971 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6972 # 1. Remove the extension, and $U if already installed.
6973 ac_i
=`echo "$ac_i" |
6974 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6976 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6977 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6981 LTLIBOBJS
=$ac_ltlibobjs
6985 : ${CONFIG_STATUS=./config.status}
6986 ac_clean_files_save
=$ac_clean_files
6987 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6988 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6989 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6990 cat >$CONFIG_STATUS <<_ACEOF
6992 # Generated by $as_me.
6993 # Run this file to recreate the current configuration.
6994 # Compiler output produced by configure, useful for debugging
6995 # configure, is in config.log if it exists.
7000 SHELL=\${CONFIG_SHELL-$SHELL}
7003 cat >>$CONFIG_STATUS <<\_ACEOF
7004 ## --------------------- ##
7005 ## M4sh Initialization. ##
7006 ## --------------------- ##
7008 # Be Bourne compatible
7009 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7012 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7013 # is contrary to our usage. Disable this feature.
7014 alias -g '${1+"$@"}'='"$@"'
7015 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7018 DUALCASE
=1; export DUALCASE
# for MKS sh
7020 # Support unset when possible.
7021 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7028 # Work around bugs in pre-3.0 UWIN ksh.
7029 $as_unset ENV MAIL MAILPATH
7036 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7037 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7038 LC_TELEPHONE LC_TIME
7040 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7041 eval $as_var=C
; export $as_var
7047 # Required to use basename.
7048 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7054 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7055 as_basename
=basename
7061 # Name of the executable.
7062 as_me
=`$as_basename "$0" ||
7063 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7064 X"$0" : 'X\(//\)$' \| \
7065 X"$0" : 'X\(/\)$' \| \
7066 . : '\(.\)' 2>/dev/null ||
7068 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7069 /^X\/\(\/\/\)$/{ s//\1/; q; }
7070 /^X\/\(\/\).*/{ s//\1/; q; }
7074 # PATH needs CR, and LINENO needs CR and PATH.
7075 # Avoid depending upon Character Ranges.
7076 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7077 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7078 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7079 as_cr_digits
='0123456789'
7080 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7082 # The user is always right.
7083 if test "${PATH_SEPARATOR+set}" != set; then
7084 echo "#! /bin/sh" >conf$$.sh
7085 echo "exit 0" >>conf$$.sh
7087 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7098 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7099 test "x$as_lineno_1" != "x$as_lineno_2" &&
7100 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7101 # Find who we are. Look in the path if we contain no path at all
7104 *[\\/]* ) as_myself
=$0 ;;
7105 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7115 # We did not find ourselves, most probably we were run as `sh COMMAND'
7116 # in which case we are not to be found in the path.
7117 if test "x$as_myself" = x
; then
7120 if test ! -f "$as_myself"; then
7121 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7122 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7123 { (exit 1); exit 1; }; }
7125 case $CONFIG_SHELL in
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7131 test -z "$as_dir" && as_dir
=.
7132 for as_base
in sh bash ksh sh5
; do
7135 if ("$as_dir/$as_base" -c '
7138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7139 test "x$as_lineno_1" != "x$as_lineno_2" &&
7140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7141 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7142 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7143 CONFIG_SHELL
=$as_dir/$as_base
7145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7154 # uniformly replaced by the line number. The first 'sed' inserts a
7155 # line-number line before each line; the second 'sed' does the real
7156 # work. The second script uses 'N' to pair each line-number line
7157 # with the numbered line, and appends trailing '-' during
7158 # substitution so that $LINENO is not a special case at line end.
7159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7161 sed '=' <$as_myself |
7166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7169 s,^['$as_cr_digits']*\n,,
7171 chmod +x
$as_me.lineno ||
7172 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7173 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7174 { (exit 1); exit 1; }; }
7176 # Don't try to exec as it changes $[0], causing all sort of problems
7177 # (the dirname of $[0] is not the place where we might find the
7178 # original and so on. Autoconf is especially sensible to this).
7180 # Exit status is that of the last command.
7185 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7186 *c
*,-n*) ECHO_N
= ECHO_C
='
7188 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7189 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7192 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7198 rm -f conf$$ conf$$.exe conf$$.
file
7200 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7201 # We could just check for DJGPP; but this test a) works b) is more generic
7202 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7203 if test -f conf$$.exe
; then
7204 # Don't use ln at all; we don't have any links
7209 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7214 rm -f conf$$ conf$$.exe conf$$.
file
7216 if mkdir
-p .
2>/dev
/null
; then
7219 test -d .
/-p && rmdir .
/-p
7223 as_executable_p
="test -f"
7225 # Sed expression to map a string onto a valid CPP name.
7226 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7228 # Sed expression to map a string onto a valid variable name.
7229 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7233 # We need space, tab and new line, in precisely that order.
7243 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7244 # report actual input values of CONFIG_FILES etc. instead of their
7245 # values after options handling. Logging --version etc. is OK.
7249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7250 ## Running $as_me. ##
7255 This file was extended by $as_me, which was
7256 generated by GNU Autoconf 2.59. Invocation command line was
7258 CONFIG_FILES = $CONFIG_FILES
7259 CONFIG_HEADERS = $CONFIG_HEADERS
7260 CONFIG_LINKS = $CONFIG_LINKS
7261 CONFIG_COMMANDS = $CONFIG_COMMANDS
7265 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7269 # Files that config.status was made for.
7270 if test -n "$ac_config_files"; then
7271 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7274 if test -n "$ac_config_headers"; then
7275 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7278 if test -n "$ac_config_links"; then
7279 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7282 if test -n "$ac_config_commands"; then
7283 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7286 cat >>$CONFIG_STATUS <<\_ACEOF
7289 \`$as_me' instantiates files from templates according to the
7290 current configuration.
7292 Usage: $0 [OPTIONS] [FILE]...
7294 -h, --help print this help, then exit
7295 -V, --version print version number, then exit
7296 -q, --quiet do not print progress messages
7297 -d, --debug don't remove temporary files
7298 --recheck update $as_me by reconfiguring in the same conditions
7299 --file=FILE[:TEMPLATE]
7300 instantiate the configuration file FILE
7301 --header=FILE[:TEMPLATE]
7302 instantiate the configuration header FILE
7304 Configuration files:
7307 Configuration headers:
7310 Report bugs to <bug-autoconf@gnu.org>."
7313 cat >>$CONFIG_STATUS <<_ACEOF
7316 configured by $0, generated by GNU Autoconf 2.59,
7317 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7319 Copyright (C) 2003 Free Software Foundation, Inc.
7320 This config.status script is free software; the Free Software Foundation
7321 gives unlimited permission to copy, distribute and modify it."
7326 cat >>$CONFIG_STATUS <<\_ACEOF
7327 # If no file are specified by the user, then we need to provide default
7328 # value. By we need to know if files were specified by the user.
7334 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7335 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7343 *) # This is not an option, so the user has probably given explicit
7346 ac_need_defaults
=false
;;
7350 # Handling of the options.
7352 cat >>$CONFIG_STATUS <<\_ACEOF
7353 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7355 --version |
--vers* |
-V )
7356 echo "$ac_cs_version"; exit 0 ;;
7358 # Conflict between --help and --header
7359 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7360 Try \`$0 --help' for more information." >&5
7361 echo "$as_me: error: ambiguous option: $1
7362 Try \`$0 --help' for more information." >&2;}
7363 { (exit 1); exit 1; }; };;
7364 --help |
--hel |
-h )
7365 echo "$ac_cs_usage"; exit 0 ;;
7366 --debug |
--d* |
-d )
7368 --file |
--fil |
--fi |
--f )
7370 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7371 ac_need_defaults
=false
;;
7372 --header |
--heade |
--head |
--hea )
7374 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7375 ac_need_defaults
=false
;;
7376 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7377 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7381 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7382 Try \`$0 --help' for more information." >&5
7383 echo "$as_me: error: unrecognized option: $1
7384 Try \`$0 --help' for more information." >&2;}
7385 { (exit 1); exit 1; }; } ;;
7387 *) ac_config_targets
="$ac_config_targets $1" ;;
7393 ac_configure_extra_args
=
7395 if $ac_cs_silent; then
7397 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7401 cat >>$CONFIG_STATUS <<_ACEOF
7402 if \$ac_cs_recheck; then
7403 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7404 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7413 cat >>$CONFIG_STATUS <<\_ACEOF
7414 for ac_config_target
in $ac_config_targets
7416 case "$ac_config_target" in
7417 # Handling of arguments.
7418 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
7419 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7420 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
7421 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
7422 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7423 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7424 { (exit 1); exit 1; }; };;
7428 # If the user did not use the arguments to specify the items to instantiate,
7429 # then the envvar interface is used. Set only those that are not.
7430 # We use the long form for the default assignment because of an extremely
7431 # bizarre bug on SunOS 4.1.3.
7432 if $ac_need_defaults; then
7433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7437 # Have a temporary directory for convenience. Make it in the build tree
7438 # simply because there is no reason to put it here, and in addition,
7439 # creating and moving files from /tmp can sometimes cause problems.
7440 # Create a temporary directory, and hook for its removal unless debugging.
7443 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7444 trap '{ (exit 1); exit 1; }' 1 2 13 15
7447 # Create a (secure) tmp directory for tmp files.
7450 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7451 test -n "$tmp" && test -d "$tmp"
7454 tmp
=.
/confstat$$
-$RANDOM
7455 (umask 077 && mkdir
$tmp)
7458 echo "$me: cannot create a temporary directory in ." >&2
7459 { (exit 1); exit 1; }
7464 cat >>$CONFIG_STATUS <<_ACEOF
7467 # CONFIG_FILES section.
7470 # No need to generate the scripts if there are no CONFIG_FILES.
7471 # This happens for instance when ./config.status config.h
7472 if test -n "\$CONFIG_FILES"; then
7473 # Protect against being on the right side of a sed subst in config.status.
7474 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7475 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7476 s,@SHELL@,$SHELL,;t t
7477 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7478 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7479 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7480 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7481 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7482 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7483 s,@exec_prefix@,$exec_prefix,;t t
7484 s,@prefix@,$prefix,;t t
7485 s,@program_transform_name@,$program_transform_name,;t t
7486 s,@bindir@,$bindir,;t t
7487 s,@sbindir@,$sbindir,;t t
7488 s,@libexecdir@,$libexecdir,;t t
7489 s,@datadir@,$datadir,;t t
7490 s,@sysconfdir@,$sysconfdir,;t t
7491 s,@sharedstatedir@,$sharedstatedir,;t t
7492 s,@localstatedir@,$localstatedir,;t t
7493 s,@libdir@,$libdir,;t t
7494 s,@includedir@,$includedir,;t t
7495 s,@oldincludedir@,$oldincludedir,;t t
7496 s,@infodir@,$infodir,;t t
7497 s,@mandir@,$mandir,;t t
7498 s,@build_alias@,$build_alias,;t t
7499 s,@host_alias@,$host_alias,;t t
7500 s,@target_alias@,$target_alias,;t t
7502 s,@ECHO_C@,$ECHO_C,;t t
7503 s,@ECHO_N@,$ECHO_N,;t t
7504 s,@ECHO_T@,$ECHO_T,;t t
7507 s,@CFLAGS@,$CFLAGS,;t t
7508 s,@LDFLAGS@,$LDFLAGS,;t t
7509 s,@CPPFLAGS@,$CPPFLAGS,;t t
7510 s,@ac_ct_CC@,$ac_ct_CC,;t t
7511 s,@EXEEXT@,$EXEEXT,;t t
7512 s,@OBJEXT@,$OBJEXT,;t t
7514 s,@CXXFLAGS@,$CXXFLAGS,;t t
7515 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7516 s,@OPALDIR@,$OPALDIR,;t t
7517 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7518 s,@LIBDIR@,$LIBDIR,;t t
7519 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
7520 s,@PWLIBDIR@,$PWLIBDIR,;t t
7522 s,@EGREP@,$EGREP,;t t
7523 s,@RFC2190_AVCODEC@,$RFC2190_AVCODEC,;t t
7524 s,@RFC2190_AVCODEC_DIR@,$RFC2190_AVCODEC_DIR,;t t
7525 s,@SIZE16@,$SIZE16,;t t
7526 s,@SIZE32@,$SIZE32,;t t
7527 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
7528 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
7529 s,@OPAL_ILBC@,$OPAL_ILBC,;t t
7530 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
7531 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
7532 s,@OPAL_SIP@,$OPAL_SIP,;t t
7533 s,@OPAL_H323@,$OPAL_H323,;t t
7534 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
7535 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
7536 s,@OPAL_H224@,$OPAL_H224,;t t
7537 s,@H323_H460@,$H323_H460,;t t
7538 s,@HAS_IXJ@,$HAS_IXJ,;t t
7539 s,@OPAL_LID@,$OPAL_LID,;t t
7540 s,@HAS_VPB@,$HAS_VPB,;t t
7541 s,@HAS_SANGOMA@,$HAS_SANGOMA,;t t
7542 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7543 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7544 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7545 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7546 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7547 s,@LIBOBJS@,$LIBOBJS,;t t
7548 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7553 cat >>$CONFIG_STATUS <<\_ACEOF
7554 # Split the substitutions into bite-sized pieces for seds with
7555 # small command number limits, like on Digital OSF/1 and HP-UX.
7557 ac_sed_frag
=1 # Number of current file.
7558 ac_beg
=1 # First line for current file.
7559 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7562 while $ac_more_lines; do
7563 if test $ac_beg -gt 1; then
7564 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7566 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7568 if test ! -s $tmp/subs.frag
; then
7571 # The purpose of the label and of the branching condition is to
7572 # speed up the sed processing (if there are no `@' at all, there
7573 # is no need to browse any of the substitutions).
7574 # These are the two extra sed commands mentioned above.
7576 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7577 if test -z "$ac_sed_cmds"; then
7578 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7580 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7582 ac_sed_frag
=`expr $ac_sed_frag + 1`
7584 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7587 if test -z "$ac_sed_cmds"; then
7590 fi # test -n "$CONFIG_FILES"
7593 cat >>$CONFIG_STATUS <<\_ACEOF
7594 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7595 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7597 - |
*:- |
*:-:* ) # input from stdin
7599 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7600 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7601 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7602 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7603 * ) ac_file_in
=$ac_file.
in ;;
7606 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7607 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7608 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7609 X"$ac_file" : 'X\(//\)[^/]' \| \
7610 X"$ac_file" : 'X\(//\)$' \| \
7611 X"$ac_file" : 'X\(/\)' \| \
7612 . : '\(.\)' 2>/dev/null ||
7614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7616 /^X\(\/\/\)$/{ s//\1/; q; }
7617 /^X\(\/\).*/{ s//\1/; q; }
7619 { if $as_mkdir_p; then
7624 while test ! -d "$as_dir"; do
7625 as_dirs
="$as_dir $as_dirs"
7626 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7627 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7628 X"$as_dir" : 'X\(//\)[^/]' \| \
7629 X"$as_dir" : 'X\(//\)$' \| \
7630 X"$as_dir" : 'X\(/\)' \| \
7631 . : '\(.\)' 2>/dev/null ||
7633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7635 /^X\(\/\/\)$/{ s//\1/; q; }
7636 /^X\(\/\).*/{ s//\1/; q; }
7639 test ! -n "$as_dirs" || mkdir
$as_dirs
7640 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7641 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7642 { (exit 1); exit 1; }; }; }
7646 if test "$ac_dir" != .
; then
7647 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7648 # A "../" for each directory in $ac_dir_suffix.
7649 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7651 ac_dir_suffix
= ac_top_builddir
=
7655 .
) # No --srcdir option. We are building in place.
7657 if test -z "$ac_top_builddir"; then
7660 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7662 [\\/]* | ?
:[\\/]* ) # Absolute path.
7663 ac_srcdir
=$srcdir$ac_dir_suffix;
7664 ac_top_srcdir
=$srcdir ;;
7666 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7667 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7670 # Do not use `cd foo && pwd` to compute absolute paths, because
7671 # the directories may not exist.
7673 .
) ac_abs_builddir
="$ac_dir";;
7676 .
) ac_abs_builddir
=`pwd`;;
7677 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7678 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7681 case $ac_abs_builddir in
7682 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7684 case ${ac_top_builddir}.
in
7685 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7686 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7687 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7690 case $ac_abs_builddir in
7691 .
) ac_abs_srcdir
=$ac_srcdir;;
7694 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7695 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7696 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7699 case $ac_abs_builddir in
7700 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7702 case $ac_top_srcdir in
7703 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7704 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7705 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7711 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7712 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7715 if test x
"$ac_file" != x-
; then
7716 { echo "$as_me:$LINENO: creating $ac_file" >&5
7717 echo "$as_me: creating $ac_file" >&6;}
7720 # Let's still pretend it is `configure' which instantiates (i.e., don't
7721 # use $as_me), people would be surprised to read:
7722 # /* config.h. Generated by config.status. */
7723 if test x
"$ac_file" = x-
; then
7726 configure_input
="$ac_file. "
7728 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7729 sed 's,.*/,,'` by configure."
7731 # First look for the input files in the build tree, otherwise in the
7733 ac_file_inputs
=`IFS=:
7734 for f in $ac_file_in; do
7736 -) echo $tmp/stdin ;;
7738 # Absolute (can't be DOS-style, as IFS=:)
7739 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7740 echo "$as_me: error: cannot find input file: $f" >&2;}
7741 { (exit 1); exit 1; }; }
7744 if test -f "$f"; then
7747 elif test -f "$srcdir/$f"; then
7752 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7753 echo "$as_me: error: cannot find input file: $f" >&2;}
7754 { (exit 1); exit 1; }; }
7757 done` ||
{ (exit 1); exit 1; }
7759 cat >>$CONFIG_STATUS <<_ACEOF
7763 cat >>$CONFIG_STATUS <<\_ACEOF
7765 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7766 s
,@configure_input@
,$configure_input,;t t
7767 s
,@srcdir@
,$ac_srcdir,;t t
7768 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7769 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7770 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7771 s
,@builddir@
,$ac_builddir,;t t
7772 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7773 s
,@top_builddir@
,$ac_top_builddir,;t t
7774 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7775 s
,@INSTALL@
,$ac_INSTALL,;t t
7776 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7778 if test x"$ac_file" != x-; then
7779 mv $tmp/out $ac_file
7787 cat >>$CONFIG_STATUS <<\_ACEOF
7790 # CONFIG_HEADER section.
7793 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7794 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7796 # ac_d sets the value in "#define NAME VALUE" lines.
7797 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7798 ac_dB
='[ ].*$,\1#\2'
7801 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7802 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7803 ac_uB
='$,\1#\2define\3'
7807 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7810 - |
*:- |
*:-:* ) # input from stdin
7812 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7813 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7814 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7815 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7816 * ) ac_file_in
=$ac_file.
in ;;
7819 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7820 echo "$as_me: creating $ac_file" >&6;}
7822 # First look for the input files in the build tree, otherwise in the
7824 ac_file_inputs
=`IFS=:
7825 for f in $ac_file_in; do
7827 -) echo $tmp/stdin ;;
7829 # Absolute (can't be DOS-style, as IFS=:)
7830 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7831 echo "$as_me: error: cannot find input file: $f" >&2;}
7832 { (exit 1); exit 1; }; }
7833 # Do quote $f, to prevent DOS paths from being IFS'd.
7836 if test -f "$f"; then
7839 elif test -f "$srcdir/$f"; then
7844 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7845 echo "$as_me: error: cannot find input file: $f" >&2;}
7846 { (exit 1); exit 1; }; }
7849 done` ||
{ (exit 1); exit 1; }
7850 # Remove the trailing spaces.
7851 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7855 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7856 # `conftest.undefs', that substitutes the proper values into
7857 # config.h.in to produce config.h. The first handles `#define'
7858 # templates, and the second `#undef' templates.
7859 # And first: Protect against being on the right side of a sed subst in
7860 # config.status. Protect against being in an unquoted here document
7862 rm -f conftest.defines conftest.undefs
7863 # Using a here document instead of a string reduces the quoting nightmare.
7864 # Putting comments in sed scripts is not portable.
7866 # `end' is used to avoid that the second main sed command (meant for
7867 # 0-ary CPP macros) applies to n-ary macro definitions.
7868 # See the Autoconf documentation for `clear'.
7869 cat >confdef2sed.
sed <<\_ACEOF
7874 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7876 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7879 # If some macros were called several times there might be several times
7880 # the same #defines, which is useless. Nevertheless, we may not want to
7881 # sort them, since we want the *last* AC-DEFINE to be honored.
7882 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7883 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7884 rm -f confdef2sed.sed
7886 # This sed command replaces #undef with comments. This is necessary, for
7887 # example, in the case of _POSIX_SOURCE, which is predefined and required
7888 # on some systems where configure will not decide to define it.
7889 cat >>conftest.undefs <<\_ACEOF
7890 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7893 # Break up conftest.defines because some shells have a limit on the size
7894 # of here documents, and old seds have small limits too (100 cmds).
7895 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7896 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7897 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7898 echo ' :' >>$CONFIG_STATUS
7900 while grep . conftest.defines >/dev/null
7902 # Write a limited-size here document to $tmp/defines.sed.
7903 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7904 # Speed up: don't consider the non `#define' lines.
7905 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7906 # Work around the forget-to-reset-the-flag bug.
7907 echo 't clr' >>$CONFIG_STATUS
7908 echo ': clr' >>$CONFIG_STATUS
7909 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7911 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7915 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7916 rm -f conftest.defines
7917 mv conftest.
tail conftest.defines
7919 rm -f conftest.defines
7920 echo ' fi # grep' >>$CONFIG_STATUS
7921 echo >>$CONFIG_STATUS
7923 # Break up conftest.undefs because some shells have a limit on the size
7924 # of here documents, and old seds have small limits too (100 cmds).
7925 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7927 while grep . conftest.undefs
>/dev
/null
7929 # Write a limited-size here document to $tmp/undefs.sed.
7930 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7931 # Speed up: don't consider the non
`#undef'
7932 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7933 # Work around the forget-to-reset-the-flag bug.
7934 echo 't clr' >>$CONFIG_STATUS
7935 echo ': clr' >>$CONFIG_STATUS
7936 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7938 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7942 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7943 rm -f conftest.undefs
7944 mv conftest.tail conftest.undefs
7946 rm -f conftest.undefs
7948 cat >>$CONFIG_STATUS <<\_ACEOF
7949 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7950 # use $as_me), people would be surprised to read:
7951 # /* config.h. Generated by config.status. */
7952 if test x
"$ac_file" = x-
; then
7953 echo "/* Generated by configure. */" >$tmp/config.h
7955 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7957 cat $tmp/in >>$tmp/config.h
7959 if test x
"$ac_file" != x-
; then
7960 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7961 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7962 echo "$as_me: $ac_file is unchanged" >&6;}
7964 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7966 X"$ac_file" : 'X\(//\)[^/]' \| \
7967 X"$ac_file" : 'X\(//\)$' \| \
7968 X"$ac_file" : 'X\(/\)' \| \
7969 . : '\(.\)' 2>/dev/null ||
7971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7973 /^X\(\/\/\)$/{ s//\1/; q; }
7974 /^X\(\/\).*/{ s//\1/; q; }
7976 { if $as_mkdir_p; then
7981 while test ! -d "$as_dir"; do
7982 as_dirs
="$as_dir $as_dirs"
7983 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7985 X"$as_dir" : 'X\(//\)[^/]' \| \
7986 X"$as_dir" : 'X\(//\)$' \| \
7987 X"$as_dir" : 'X\(/\)' \| \
7988 . : '\(.\)' 2>/dev/null ||
7990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7992 /^X\(\/\/\)$/{ s//\1/; q; }
7993 /^X\(\/\).*/{ s//\1/; q; }
7996 test ! -n "$as_dirs" || mkdir
$as_dirs
7997 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7998 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7999 { (exit 1); exit 1; }; }; }
8002 mv $tmp/config.h
$ac_file
8011 cat >>$CONFIG_STATUS <<\_ACEOF
8013 { (exit 0); exit 0; }
8015 chmod +x
$CONFIG_STATUS
8016 ac_clean_files
=$ac_clean_files_save
8019 # configure is writing to config.log, and then calls config.status.
8020 # config.status does its own redirection, appending to config.log.
8021 # Unfortunately, on DOS this fails, as config.log is still kept open
8022 # by configure, so config.status won't be able to write to it; its
8023 # output is simply discarded. So we exec the FD to /dev/null,
8024 # effectively closing config.log, so it can be properly (re)opened and
8025 # appended to by config.status. When coming back to configure, we
8026 # need to make the FD available again.
8027 if test "$no_create" != yes; then
8029 ac_config_status_args
=
8030 test "$silent" = yes &&
8031 ac_config_status_args
="$ac_config_status_args --quiet"
8033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8036 # would make configure fail if this is the last instruction.
8037 $ac_cs_success ||
{ (exit 1); exit 1; }