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_subdirs_all
="$ac_subdirs_all plugins"
313 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 SIZE16 SIZE32 OPAL_SYSTEM_SPEEX OPAL_HAVE_SPEEX_SPEEX_H OPAL_AUDIO OPAL_VIDEO OPAL_SIP OPAL_H323 OPAL_IAX2 OPAL_H224 OPAL_T38FAX H323_H460 HAS_IXJ OPAL_LID HAS_VPB HAS_SANGOMA STDCCFLAGS ENDLDLIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA subdirs LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CXX_set
=${CXX+set}
771 ac_env_CXX_value
=$CXX
772 ac_cv_env_CXX_set
=${CXX+set}
773 ac_cv_env_CXX_value
=$CXX
774 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
775 ac_env_CXXFLAGS_value
=$CXXFLAGS
776 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
777 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
778 ac_env_CPP_set
=${CPP+set}
779 ac_env_CPP_value
=$CPP
780 ac_cv_env_CPP_set
=${CPP+set}
781 ac_cv_env_CPP_value
=$CPP
784 # Report the --help message.
786 if test "$ac_init_help" = "long"; then
787 # Omit some internal or obsolete options to make the list less imposing.
788 # This message is too long to be a string in the A/UX 3.1 sh.
790 \`configure' configures this package to adapt to many kinds of systems.
792 Usage: $0 [OPTION]... [VAR=VALUE]...
794 To assign environment variables (e.g., CC, CFLAGS...), specify them as
795 VAR=VALUE. See below for descriptions of some of the useful variables.
797 Defaults for the options are specified in brackets.
800 -h, --help display this help and exit
801 --help=short display options specific to this package
802 --help=recursive display the short help of all the included packages
803 -V, --version display version information and exit
804 -q, --quiet, --silent do not print \`checking...' messages
805 --cache-file=FILE cache test results in FILE [disabled]
806 -C, --config-cache alias for \`--cache-file=config.cache'
807 -n, --no-create do not create output files
808 --srcdir=DIR find the sources in DIR [configure dir or \`..']
813 Installation directories:
814 --prefix=PREFIX install architecture-independent files in PREFIX
816 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 By default, \`make install' will install all the files in
820 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
821 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
822 for instance \`--prefix=\$HOME'.
824 For better control, use the options below.
826 Fine tuning of the installation directories:
827 --bindir=DIR user executables [EPREFIX/bin]
828 --sbindir=DIR system admin executables [EPREFIX/sbin]
829 --libexecdir=DIR program executables [EPREFIX/libexec]
830 --datadir=DIR read-only architecture-independent data [PREFIX/share]
831 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
832 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
833 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
834 --libdir=DIR object code libraries [EPREFIX/lib]
835 --includedir=DIR C header files [PREFIX/include]
836 --oldincludedir=DIR C header files for non-gcc [/usr/include]
837 --infodir=DIR info documentation [PREFIX/info]
838 --mandir=DIR man documentation [PREFIX/man]
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-versioncheck disable PWLib version check
853 --enable-localspeex use
local version of Speex library rather than system version
854 --disable-sip disable SIP protocol support
855 --disable-h323 disable H
.323 protocol support
856 --disable-iax disable IAX2 protocol support
857 --disable-h224 disable H
.224 protocol support
858 --disable-t38 disable T
.38 protocol support
859 --disable-h460 disable H
.460
860 --enable-vpb enable voicetronix vpb
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
869 CXX C
++ compiler
command
870 CXXFLAGS C
++ compiler flags
873 Use these variables to override the choices made by
`configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883 test -d $ac_dir || continue
886 if test "$ac_dir" != .; then
887 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix= ac_top_builddir=
895 .) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
902 [\\/]* | ?:[\\/]* ) # Absolute path.
903 ac_srcdir=$srcdir$ac_dir_suffix;
904 ac_top_srcdir=$srcdir ;;
906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
910 # Do not use `cd foo
&& pwd` to compute absolute paths, because
911 # the directories may not exist.
913 .) ac_abs_builddir="$ac_dir";;
916 .) ac_abs_builddir=`pwd`;;
917 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
918 *) ac_abs_builddir=`pwd`/"$ac_dir";;
921 case $ac_abs_builddir in
922 .) ac_abs_top_builddir=${ac_top_builddir}.;;
924 case ${ac_top_builddir}. in
925 .) ac_abs_top_builddir=$ac_abs_builddir;;
926 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
927 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
930 case $ac_abs_builddir in
931 .) ac_abs_srcdir=$ac_srcdir;;
934 .) ac_abs_srcdir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
936 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
939 case $ac_abs_builddir in
940 .) ac_abs_top_srcdir=$ac_top_srcdir;;
942 case $ac_top_srcdir in
943 .) ac_abs_top_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
945 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
950 # Check for guested configure; otherwise get Cygnus style configure.
951 if test -f $ac_srcdir/configure.gnu; then
953 $SHELL $ac_srcdir/configure.gnu --help=recursive
954 elif test -f $ac_srcdir/configure; then
956 $SHELL $ac_srcdir/configure --help=recursive
957 elif test -f $ac_srcdir/configure.ac ||
958 test -f $ac_srcdir/configure.in; then
962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
968 test -n "$ac_init_help" && exit 0
969 if $ac_init_version; then
972 Copyright (C) 2003 Free Software Foundation, Inc.
973 This configure script is free software; the Free Software Foundation
974 gives unlimited permission to copy, distribute and modify it.
980 This file contains any messages produced by compilers while
981 running configure, to aid debugging if configure makes a mistake.
983 It was created by $as_me, which was
984 generated by GNU Autoconf 2.59. Invocation command line was
995 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
996 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
997 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
998 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
999 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1001 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1002 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1004 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1006 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1007 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1008 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1010 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1018 test -z "$as_dir" && as_dir=.
1019 echo "PATH: $as_dir"
1034 # Keep a trace of the command line.
1035 # Strip out --no-create and --no-recursion so they do not pile up.
1036 # Strip out --silent because we don't want to record it for future runs.
1037 # Also quote any args containing shell meta-characters.
1038 # Make two passes to allow for proper duplicate-argument suppression.
1043 ac_must_keep_next=false
1049 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1053 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1054 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1057 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1060 if test $ac_must_keep_next = true; then
1061 ac_must_keep_next=false # Got value, back to normal.
1064 *=* | --config-cache | -C | -disable-* | --disable-* \
1065 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1066 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1067 | -with-* | --with-* | -without-* | --without-* | --x)
1068 case "$ac_configure_args0 " in
1069 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1072 -* ) ac_must_keep_next=true ;;
1075 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1076 # Get rid of the leading space.
1082 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1083 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085 # When interrupted or exit'd, cleanup temporary files, and complete
1086 # config.log. We remove comments because anyway the quotes in there
1087 # would cause problems or look ugly.
1088 # WARNING: Be sure not to use single quotes in there, as some shells,
1089 # such as our DU 5.0 friend, will then `close
' the trap.
1090 trap 'exit_status
=$?
1091 # Save into config.log some information that might help in debugging.
1096 ## ---------------- ##
1097 ## Cache variables. ##
1098 ## ---------------- ##
1101 # The following way of writing the cache mishandles newlines in values,
1104 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1107 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1112 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1119 ## ----------------- ##
1120 ## Output variables. ##
1121 ## ----------------- ##
1124 for ac_var
in $ac_subst_vars
1126 eval ac_val
=$
`echo $ac_var`
1127 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -n "$ac_subst_files"; then
1138 for ac_var
in $ac_subst_files
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1146 if test -s confdefs.h
; then
1153 sed "/^$/d" confdefs.h |
sort
1156 test "$ac_signal" != 0 &&
1157 echo "$as_me: caught signal $ac_signal"
1158 echo "$as_me: exit $exit_status"
1160 rm -f core
*.core
&&
1161 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1164 for ac_signal in 1 2 13 15; do
1165 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1169 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1170 rm -rf conftest* confdefs.h
1171 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1174 # Predefined preprocessor variables.
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_NAME "$PACKAGE_NAME"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_STRING "$PACKAGE_STRING"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1201 # Let the site file select an alternate cache file if it wants to.
1202 # Prefer explicitly selected file to automatically selected ones.
1203 if test -z "$CONFIG_SITE"; then
1204 if test "x$prefix" != xNONE; then
1205 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1210 for ac_site_file in $CONFIG_SITE; do
1211 if test -r "$ac_site_file"; then
1212 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1213 echo "$as_me: loading site script $ac_site_file" >&6;}
1214 sed 's
/^
/|
/' "$ac_site_file" >&5
1219 if test -r "$cache_file"; then
1220 # Some versions of bash will fail to source /dev/null (special
1221 # files actually), so we avoid doing that.
1222 if test -f "$cache_file"; then
1223 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1224 echo "$as_me: loading cache $cache_file" >&6;}
1226 [\\/]* | ?:[\\/]* ) . $cache_file;;
1227 *) . ./$cache_file;;
1231 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1232 echo "$as_me: creating cache $cache_file" >&6;}
1236 # Check that the precious variables saved in the cache have kept the same
1238 ac_cache_corrupted=false
1239 for ac_var in `(set) 2>&1 |
1240 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1242 eval ac_new_set=\$ac_env_${ac_var}_set
1243 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1244 eval ac_new_val="\$ac_env_${ac_var}_value"
1245 case $ac_old_set,$ac_new_set in
1247 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1249 ac_cache_corrupted=: ;;
1251 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1256 if test "x$ac_old_val" != "x$ac_new_val"; then
1257 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1258 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1259 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1260 echo "$as_me: former value: $ac_old_val" >&2;}
1261 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1262 echo "$as_me: current value: $ac_new_val" >&2;}
1263 ac_cache_corrupted=:
1266 # Pass precious variables to config.status.
1267 if test "$ac_new_set" = set; then
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1271 *) ac_arg=$ac_var=$ac_new_val ;;
1273 case " $ac_configure_args " in
1274 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1275 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1279 if $ac_cache_corrupted; then
1280 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1281 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1282 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1283 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1284 { (exit 1); exit 1; }; }
1288 ac_cpp='$CPP $CPPFLAGS'
1289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1290 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1313 ac_cpp='$CPP $CPPFLAGS'
1314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1315 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 if test -n "$ac_tool_prefix"; then
1318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1320 echo "$as_me:$LINENO: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CC+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1325 if test -n "$CC"; then
1326 ac_cv_prog_CC="$CC" # Let the user override the test.
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1332 test -z "$as_dir" && as_dir=.
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1335 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1345 if test -n "$CC"; then
1346 echo "$as_me:$LINENO: result: $CC" >&5
1347 echo "${ECHO_T}$CC" >&6
1349 echo "$as_me:$LINENO: result: no" >&5
1350 echo "${ECHO_T}no" >&6
1354 if test -z "$ac_cv_prog_CC"; then
1356 # Extract the first word of "gcc", so it can be a program name with args.
1357 set dummy gcc; ac_word=$2
1358 echo "$as_me:$LINENO: checking for $ac_word" >&5
1359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 if test -n "$ac_ct_CC"; then
1364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1370 test -z "$as_dir" && as_dir=.
1371 for ac_exec_ext in '' $ac_executable_extensions; do
1372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1373 ac_cv_prog_ac_ct_CC="gcc"
1374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1383 if test -n "$ac_ct_CC"; then
1384 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1385 echo "${ECHO_T}$ac_ct_CC" >&6
1387 echo "$as_me:$LINENO: result: no" >&5
1388 echo "${ECHO_T}no" >&6
1396 if test -z "$CC"; then
1397 if test -n "$ac_tool_prefix"; then
1398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1399 set dummy ${ac_tool_prefix}cc; ac_word=$2
1400 echo "$as_me:$LINENO: checking for $ac_word" >&5
1401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402 if test "${ac_cv_prog_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 if test -n "$CC"; then
1406 ac_cv_prog_CC="$CC" # Let the user override the test.
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_CC="${ac_tool_prefix}cc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1425 if test -n "$CC"; then
1426 echo "$as_me:$LINENO: result: $CC" >&5
1427 echo "${ECHO_T}$CC" >&6
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1434 if test -z "$ac_cv_prog_CC"; then
1436 # Extract the first word of "cc", so it can be a program name with args.
1437 set dummy cc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$ac_ct_CC"; then
1444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_ac_ct_CC="cc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1463 if test -n "$ac_ct_CC"; then
1464 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1465 echo "${ECHO_T}$ac_ct_CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1477 if test -z "$CC"; then
1478 # Extract the first word of "cc", so it can be a program name with args.
1479 set dummy cc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$CC"; then
1486 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1497 ac_prog_rejected=yes
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test $ac_prog_rejected = yes; then
1508 # We found a bogon in the path, so make sure we never use it.
1509 set dummy $ac_cv_prog_CC
1511 if test $# != 0; then
1512 # We chose a different compiler from the bogus one.
1513 # However, it has the same basename, so the bogon will be chosen
1514 # first if we set CC to just the basename; use the full file name.
1516 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1522 if test -n "$CC"; then
1523 echo "$as_me:$LINENO: result: $CC" >&5
1524 echo "${ECHO_T}$CC" >&6
1526 echo "$as_me:$LINENO: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1531 if test -z "$CC"; then
1532 if test -n "$ac_tool_prefix"; then
1535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1536 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC="$CC" # Let the user override the test.
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir=.
1550 for ac_exec_ext in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 if test -n "$CC"; then
1563 echo "$as_me:$LINENO: result: $CC" >&5
1564 echo "${ECHO_T}$CC" >&6
1566 echo "$as_me:$LINENO: result: no" >&5
1567 echo "${ECHO_T}no" >&6
1570 test -n "$CC" && break
1573 if test -z "$CC"; then
1577 # Extract the first word of "$ac_prog", so it can be a program name with args.
1578 set dummy $ac_prog; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC="$ac_prog"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1612 test -n "$ac_ct_CC" && break
1621 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1622 See \`config.log' for more details.
" >&5
1623 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1624 See \
`config.log' for more details." >&2;}
1625 { (exit 1); exit 1; }; }
1627 # Provide some information about the compiler.
1628 echo "$as_me:$LINENO:" \
1629 "checking for C compiler version" >&5
1630 ac_compiler=`set X
$ac_compile; echo $2`
1631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1632 (eval $ac_compiler --version </dev/null >&5) 2>&5
1634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1635 (exit $ac_status); }
1636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1637 (eval $ac_compiler -v </dev/null >&5) 2>&5
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1642 (eval $ac_compiler -V </dev/null >&5) 2>&5
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1647 cat >conftest.$ac_ext <<_ACEOF
1650 cat confdefs.h >>conftest.$ac_ext
1651 cat >>conftest.$ac_ext <<_ACEOF
1652 /* end confdefs.h. */
1662 ac_clean_files_save=$ac_clean_files
1663 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1664 # Try to create an executable without -o first, disregard a.out.
1665 # It will help us diagnose broken compilers, and finding out an intuition
1667 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1668 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1669 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1670 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1671 (eval $ac_link_default) 2>&5
1673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1674 (exit $ac_status); }; then
1675 # Find the output, starting from the most likely. This scheme is
1676 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1679 # Be careful to initialize this variable, since it used to be cached.
1680 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1682 # b.out is created by i960 compilers.
1683 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1685 test -f "$ac_file" || continue
1687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1690 # This is the source file.
1693 # We found the default executable, but exeext='' is most
1697 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1698 # FIXME: I believe we export ac_cv_exeext for Libtool,
1699 # but it would be cool to find out if it's true. Does anybody
1700 # maintain Libtool? --akim.
1708 echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1712 See \`config.log
' for more details." >&5
1713 echo "$as_me: error: C compiler cannot create executables
1714 See \`config.log' for more details.
" >&2;}
1715 { (exit 77); exit 77; }; }
1718 ac_exeext=$ac_cv_exeext
1719 echo "$as_me:$LINENO: result
: $ac_file" >&5
1720 echo "${ECHO_T}$ac_file" >&6
1722 # Check the compiler produces executables we can run. If not, either
1723 # the compiler is broken, or we cross compile.
1724 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1725 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1726 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1727 # If not cross compiling, check that we can run a simple program.
1728 if test "$cross_compiling" != yes; then
1729 if { ac_try='./$ac_file'
1730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1734 (exit $ac_status); }; }; then
1737 if test "$cross_compiling" = maybe; then
1740 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1741 If you meant to cross compile
, use \
`--host'.
1742 See \`config.log
' for more details." >&5
1743 echo "$as_me: error: cannot run C compiled programs.
1744 If you meant to cross compile, use \`--host'.
1745 See \
`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1750 echo "$as_me:$LINENO: result: yes" >&5
1751 echo "${ECHO_T}yes" >&6
1753 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1754 ac_clean_files=$ac_clean_files_save
1755 # Check the compiler produces executables we can run. If not, either
1756 # the compiler is broken, or we cross compile.
1757 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1758 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1759 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1760 echo "${ECHO_T}$cross_compiling" >&6
1762 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1763 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1765 (eval $ac_link) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }; then
1769 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1770 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1771 # work properly (i.e., refer to `conftest.exe'), while it won't with
1773 for ac_file
in conftest.exe conftest conftest.
*; do
1774 test -f "$ac_file" ||
continue
1776 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1777 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1785 See \`config.log' for more details." >&5
1786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1787 See \`config.log' for more details." >&2;}
1788 { (exit 1); exit 1; }; }
1791 rm -f conftest
$ac_cv_exeext
1792 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1793 echo "${ECHO_T}$ac_cv_exeext" >&6
1795 rm -f conftest.
$ac_ext
1796 EXEEXT
=$ac_cv_exeext
1798 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1800 if test "${ac_cv_objext+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 cat >conftest.
$ac_ext <<_ACEOF
1806 cat confdefs.h
>>conftest.
$ac_ext
1807 cat >>conftest.
$ac_ext <<_ACEOF
1808 /* end confdefs.h. */
1818 rm -f conftest.o conftest.obj
1819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1820 (eval $ac_compile) 2>&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; then
1824 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1826 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1827 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.
$ac_ext >&5
1835 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1836 See \`config.log' for more details." >&5
1837 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1838 See \`config.log' for more details." >&2;}
1839 { (exit 1); exit 1; }; }
1842 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1844 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1845 echo "${ECHO_T}$ac_cv_objext" >&6
1846 OBJEXT
=$ac_cv_objext
1848 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1849 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1850 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 cat >conftest.
$ac_ext <<_ACEOF
1856 cat confdefs.h
>>conftest.
$ac_ext
1857 cat >>conftest.
$ac_ext <<_ACEOF
1858 /* end confdefs.h. */
1871 rm -f conftest.
$ac_objext
1872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1873 (eval $ac_compile) 2>conftest.er1
1875 grep -v '^ *+' conftest.er1
>conftest.err
1877 cat conftest.err
>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); } &&
1880 { ac_try
='test -z "$ac_c_werror_flag"
1881 || test ! -s conftest.err'
1882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; } &&
1887 { ac_try
='test -s conftest.$ac_objext'
1888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 (exit $ac_status); }; }; then
1895 echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.
$ac_ext >&5
1900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1901 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1904 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1906 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1907 ac_test_CFLAGS
=${CFLAGS+set}
1908 ac_save_CFLAGS
=$CFLAGS
1910 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1911 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1912 if test "${ac_cv_prog_cc_g+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 cat >conftest.
$ac_ext <<_ACEOF
1918 cat confdefs.h
>>conftest.
$ac_ext
1919 cat >>conftest.
$ac_ext <<_ACEOF
1920 /* end confdefs.h. */
1930 rm -f conftest.
$ac_objext
1931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1932 (eval $ac_compile) 2>conftest.er1
1934 grep -v '^ *+' conftest.er1
>conftest.err
1936 cat conftest.err
>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); } &&
1939 { ac_try
='test -z "$ac_c_werror_flag"
1940 || test ! -s conftest.err'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; } &&
1946 { ac_try
='test -s conftest.$ac_objext'
1947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }; }; then
1954 echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.
$ac_ext >&5
1959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1961 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1962 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1963 if test "$ac_test_CFLAGS" = set; then
1964 CFLAGS
=$ac_save_CFLAGS
1965 elif test $ac_cv_prog_cc_g = yes; then
1966 if test "$GCC" = yes; then
1972 if test "$GCC" = yes; then
1978 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1979 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1980 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 ac_cv_prog_cc_stdc
=no
1985 cat >conftest.
$ac_ext <<_ACEOF
1988 cat confdefs.h
>>conftest.
$ac_ext
1989 cat >>conftest.
$ac_ext <<_ACEOF
1990 /* end confdefs.h. */
1993 #include <sys/types.h>
1994 #include <sys/stat.h>
1995 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1996 struct buf { int x; };
1997 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1998 static char *e (p, i)
2004 static char *f (char * (*g) (char **, int), char **p, ...)
2009 s = g (p, va_arg (v,int));
2014 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2015 function prototypes and stuff, but not '\xHH' hex character constants.
2016 These don't provoke an error unfortunately, instead are silently treated
2017 as 'x'. The following induces an error, until -std1 is added to get
2018 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2019 array size at least. It's necessary to write '\x00'==0 to get something
2020 that's true only with -std1. */
2021 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2023 int test (int i, double x);
2024 struct s1 {int (*f) (int a);};
2025 struct s2 {int (*f) (double a);};
2026 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2032 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2037 # Don't try gcc -ansi; that turns off useful extensions and
2038 # breaks some systems' header files.
2039 # AIX -qlanglvl=ansi
2040 # Ultrix and OSF/1 -std1
2041 # HP-UX 10.20 and later -Ae
2042 # HP-UX older versions -Aa -D_HPUX_SOURCE
2043 # SVR4 -Xc -D__EXTENSIONS__
2044 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2046 CC
="$ac_save_CC $ac_arg"
2047 rm -f conftest.
$ac_objext
2048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049 (eval $ac_compile) 2>conftest.er1
2051 grep -v '^ *+' conftest.er1
>conftest.err
2053 cat conftest.err
>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); } &&
2056 { ac_try
='test -z "$ac_c_werror_flag"
2057 || test ! -s conftest.err'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; } &&
2063 { ac_try
='test -s conftest.$ac_objext'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; }; then
2069 ac_cv_prog_cc_stdc
=$ac_arg
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2076 rm -f conftest.err conftest.
$ac_objext
2078 rm -f conftest.
$ac_ext conftest.
$ac_objext
2083 case "x$ac_cv_prog_cc_stdc" in
2085 echo "$as_me:$LINENO: result: none needed" >&5
2086 echo "${ECHO_T}none needed" >&6 ;;
2088 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2089 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2090 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2093 # Some people use a C++ compiler to compile C. Since we use `exit',
2094 # in C++ we need to declare it. In case someone uses the same compiler
2095 # for both compiling C and C++ we need to have the C++ compiler decide
2096 # the declaration of exit, since it's the most demanding environment.
2097 cat >conftest.
$ac_ext <<_ACEOF
2102 rm -f conftest.
$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>conftest.er1
2106 grep -v '^ *+' conftest.er1
>conftest.err
2108 cat conftest.err
>&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); } &&
2111 { ac_try
='test -z "$ac_c_werror_flag"
2112 || test ! -s conftest.err'
2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; } &&
2118 { ac_try
='test -s conftest.$ac_objext'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2124 for ac_declaration
in \
2126 'extern "C" void std::exit (int) throw (); using std::exit;' \
2127 'extern "C" void std::exit (int); using std::exit;' \
2128 'extern "C" void exit (int) throw ();' \
2129 'extern "C" void exit (int);' \
2132 cat >conftest.
$ac_ext <<_ACEOF
2135 cat confdefs.h
>>conftest.
$ac_ext
2136 cat >>conftest.
$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2148 rm -f conftest.
$ac_objext
2149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2150 (eval $ac_compile) 2>conftest.er1
2152 grep -v '^ *+' conftest.er1
>conftest.err
2154 cat conftest.err
>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); } &&
2157 { ac_try
='test -z "$ac_c_werror_flag"
2158 || test ! -s conftest.err'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; } &&
2164 { ac_try
='test -s conftest.$ac_objext'
2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; }; then
2172 echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.
$ac_ext >&5
2177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 cat >conftest.
$ac_ext <<_ACEOF
2181 cat confdefs.h
>>conftest.
$ac_ext
2182 cat >>conftest.
$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2217 echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.
$ac_ext >&5
2221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2224 if test -n "$ac_declaration"; then
2225 echo '#ifdef __cplusplus' >>confdefs.h
2226 echo $ac_declaration >>confdefs.h
2227 echo '#endif' >>confdefs.h
2231 echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.
$ac_ext >&5
2235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2237 ac_cpp
='$CPP $CPPFLAGS'
2238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2243 ac_cpp
='$CXXCPP $CPPFLAGS'
2244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2247 if test -n "$ac_tool_prefix"; then
2248 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2251 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2252 echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254 if test "${ac_cv_prog_CXX+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$CXX"; then
2258 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 for ac_exec_ext
in '' $ac_executable_extensions; do
2266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 if test -n "$CXX"; then
2278 echo "$as_me:$LINENO: result: $CXX" >&5
2279 echo "${ECHO_T}$CXX" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2285 test -n "$CXX" && break
2288 if test -z "$CXX"; then
2290 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2292 # Extract the first word of "$ac_prog", so it can be a program name with args.
2293 set dummy
$ac_prog; ac_word
=$2
2294 echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2296 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 if test -n "$ac_ct_CXX"; then
2300 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 for ac_exec_ext
in '' $ac_executable_extensions; do
2308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2319 if test -n "$ac_ct_CXX"; then
2320 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2321 echo "${ECHO_T}$ac_ct_CXX" >&6
2323 echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6
2327 test -n "$ac_ct_CXX" && break
2329 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO:" \
2337 "checking for C++ compiler version" >&5
2338 ac_compiler
=`set X $ac_compile; echo $2`
2339 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2340 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2345 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2350 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2355 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2356 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2357 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 cat >conftest.
$ac_ext <<_ACEOF
2363 cat confdefs.h
>>conftest.
$ac_ext
2364 cat >>conftest.
$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2378 rm -f conftest.
$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>conftest.er1
2382 grep -v '^ *+' conftest.er1
>conftest.err
2384 cat conftest.err
>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } &&
2387 { ac_try
='test -z "$ac_cxx_werror_flag"
2388 || test ! -s conftest.err'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2408 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2411 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2412 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2413 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2414 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2415 ac_save_CXXFLAGS
=$CXXFLAGS
2417 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2418 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2419 if test "${ac_cv_prog_cxx_g+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2437 rm -f conftest.
$ac_objext
2438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2439 (eval $ac_compile) 2>conftest.er1
2441 grep -v '^ *+' conftest.er1
>conftest.err
2443 cat conftest.err
>&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); } &&
2446 { ac_try
='test -z "$ac_cxx_werror_flag"
2447 || test ! -s conftest.err'
2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; } &&
2453 { ac_try
='test -s conftest.$ac_objext'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2459 ac_cv_prog_cxx_g
=yes
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.
$ac_ext >&5
2466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2468 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2469 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2470 if test "$ac_test_CXXFLAGS" = set; then
2471 CXXFLAGS
=$ac_save_CXXFLAGS
2472 elif test $ac_cv_prog_cxx_g = yes; then
2473 if test "$GXX" = yes; then
2479 if test "$GXX" = yes; then
2485 for ac_declaration
in \
2487 'extern "C" void std::exit (int) throw (); using std::exit;' \
2488 'extern "C" void std::exit (int); using std::exit;' \
2489 'extern "C" void exit (int) throw ();' \
2490 'extern "C" void exit (int);' \
2493 cat >conftest.
$ac_ext <<_ACEOF
2496 cat confdefs.h
>>conftest.
$ac_ext
2497 cat >>conftest.
$ac_ext <<_ACEOF
2498 /* end confdefs.h. */
2509 rm -f conftest.
$ac_objext
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>conftest.er1
2513 grep -v '^ *+' conftest.er1
>conftest.err
2515 cat conftest.err
>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); } &&
2518 { ac_try
='test -z "$ac_cxx_werror_flag"
2519 || test ! -s conftest.err'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; } &&
2525 { ac_try
='test -s conftest.$ac_objext'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; }; then
2533 echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2539 cat >conftest.
$ac_ext <<_ACEOF
2542 cat confdefs.h
>>conftest.
$ac_ext
2543 cat >>conftest.
$ac_ext <<_ACEOF
2544 /* end confdefs.h. */
2554 rm -f conftest.
$ac_objext
2555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556 (eval $ac_compile) 2>conftest.er1
2558 grep -v '^ *+' conftest.er1
>conftest.err
2560 cat conftest.err
>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); } &&
2563 { ac_try
='test -z "$ac_cxx_werror_flag"
2564 || test ! -s conftest.err'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; } &&
2570 { ac_try
='test -s conftest.$ac_objext'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2578 echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.
$ac_ext >&5
2582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2585 if test -n "$ac_declaration"; then
2586 echo '#ifdef __cplusplus' >>confdefs.h
2587 echo $ac_declaration >>confdefs.h
2588 echo '#endif' >>confdefs.h
2592 ac_cpp
='$CPP $CPPFLAGS'
2593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2598 REQUIRED_PWLIB_MAJOR
=1
2599 REQUIRED_PWLIB_MINOR
=11
2600 REQUIRED_PWLIB_BUILD
=0
2606 if test "x$prefix" = "xNONE"; then
2607 INSTALLPREFIX
="/usr/local"
2609 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/"
2868 echo "PWLib prefix set to.... $PWLIBDIR"
2870 if test "${PWLIBDIR:-unset}" = "unset" ; then
2871 PWVERSION
=`$PTLIB_CONFIG --version`
2872 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2873 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2874 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2877 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2878 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2879 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2880 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2883 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2884 if test "${enable_versioncheck+set}" = set; then
2885 enableval
="$enable_versioncheck"
2886 PWLIB_VERSION_CHECK
=$enableval
2889 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2890 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2891 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2892 echo "$as_me:$LINENO: result: check disabled" >&5
2893 echo "${ECHO_T}check disabled" >&6
2895 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2896 echo "$as_me:$LINENO: result: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2897 echo "${ECHO_T}Major version less than required $REQUIRED_PWLIB_MAJOR" >&6
2900 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2901 echo "$as_me:$LINENO: result: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2902 echo "${ECHO_T}Minor version less than required $REQUIRED_PWLIB_MINOR" >&6
2905 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2906 echo "$as_me:$LINENO: result: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2907 echo "${ECHO_T}Build version less than required $REQUIRED_PWLIB_BUILD" >&6
2910 echo "$as_me:$LINENO: result: ok" >&5
2911 echo "${ECHO_T}ok" >&6
2917 if test x
$GXX = xyes
; then
2919 gcc_version
=`$CXX -dumpversion`
2920 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2921 echo "$as_me: gcc version is $gcc_version" >&6;};
2922 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
2923 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2924 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2926 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
2927 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
2928 if test ${GXX_MAJOR} -lt 3 ; then
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2931 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
2932 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
2933 { (exit 1); exit 1; }; }
2935 echo "$as_me:$LINENO: result: yes" >&5
2936 echo "${ECHO_T}yes" >&6
2942 # Check whether --enable-localspeex or --disable-localspeex was given.
2943 if test "${enable_localspeex+set}" = set; then
2944 enableval
="$enable_localspeex"
2945 localspeex
=$enableval
2950 ac_cpp
='$CPP $CPPFLAGS'
2951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2954 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2955 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2956 # On Suns, sometimes $CPP names a directory.
2957 if test -n "$CPP" && test -d "$CPP"; then
2960 if test -z "$CPP"; then
2961 if test "${ac_cv_prog_CPP+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 # Double quotes because CPP needs to be expanded
2965 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2968 for ac_c_preproc_warn_flag
in '' yes
2970 # Use a header file that comes with gcc, so configuring glibc
2971 # with a fresh cross-compiler works.
2972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2973 # <limits.h> exists even on freestanding compilers.
2974 # On the NeXT, cc -E runs the code through the compiler's parser,
2975 # not just through cpp. "Syntax error" is here to catch this case.
2976 cat >conftest.
$ac_ext <<_ACEOF
2979 cat confdefs.h
>>conftest.
$ac_ext
2980 cat >>conftest.
$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2983 # include <limits.h>
2985 # include <assert.h>
2989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2992 grep -v '^ *+' conftest.er1
>conftest.err
2994 cat conftest.err
>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } >/dev
/null
; then
2997 if test -s conftest.err
; then
2998 ac_cpp_err
=$ac_c_preproc_warn_flag
2999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3006 if test -z "$ac_cpp_err"; then
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3012 # Broken: fails on valid input.
3015 rm -f conftest.err conftest.
$ac_ext
3017 # OK, works on sane cases. Now check whether non-existent headers
3018 # can be detected and how.
3019 cat >conftest.
$ac_ext <<_ACEOF
3022 cat confdefs.h
>>conftest.
$ac_ext
3023 cat >>conftest.
$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3025 #include <ac_nonexistent.h>
3027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3030 grep -v '^ *+' conftest.er1
>conftest.err
3032 cat conftest.err
>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } >/dev
/null
; then
3035 if test -s conftest.err
; then
3036 ac_cpp_err
=$ac_c_preproc_warn_flag
3037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3044 if test -z "$ac_cpp_err"; then
3045 # Broken: success on invalid input.
3048 echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.
$ac_ext >&5
3051 # Passes both tests.
3055 rm -f conftest.err conftest.
$ac_ext
3058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3059 rm -f conftest.err conftest.
$ac_ext
3060 if $ac_preproc_ok; then
3072 echo "$as_me:$LINENO: result: $CPP" >&5
3073 echo "${ECHO_T}$CPP" >&6
3075 for ac_c_preproc_warn_flag
in '' yes
3077 # Use a header file that comes with gcc, so configuring glibc
3078 # with a fresh cross-compiler works.
3079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3080 # <limits.h> exists even on freestanding compilers.
3081 # On the NeXT, cc -E runs the code through the compiler's parser,
3082 # not just through cpp. "Syntax error" is here to catch this case.
3083 cat >conftest.
$ac_ext <<_ACEOF
3086 cat confdefs.h
>>conftest.
$ac_ext
3087 cat >>conftest.
$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3090 # include <limits.h>
3092 # include <assert.h>
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1
>conftest.err
3101 cat conftest.err
>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev
/null
; then
3104 if test -s conftest.err
; then
3105 ac_cpp_err
=$ac_c_preproc_warn_flag
3106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3113 if test -z "$ac_cpp_err"; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.
$ac_ext >&5
3119 # Broken: fails on valid input.
3122 rm -f conftest.err conftest.
$ac_ext
3124 # OK, works on sane cases. Now check whether non-existent headers
3125 # can be detected and how.
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3132 #include <ac_nonexistent.h>
3134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3137 grep -v '^ *+' conftest.er1
>conftest.err
3139 cat conftest.err
>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } >/dev
/null
; then
3142 if test -s conftest.err
; then
3143 ac_cpp_err
=$ac_c_preproc_warn_flag
3144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3151 if test -z "$ac_cpp_err"; then
3152 # Broken: success on invalid input.
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.
$ac_ext >&5
3158 # Passes both tests.
3162 rm -f conftest.err conftest.
$ac_ext
3165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3166 rm -f conftest.err conftest.
$ac_ext
3167 if $ac_preproc_ok; then
3170 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3171 See \`config.log' for more details." >&5
3172 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3173 See \`config.log' for more details." >&2;}
3174 { (exit 1); exit 1; }; }
3178 ac_cpp
='$CPP $CPPFLAGS'
3179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3184 echo "$as_me:$LINENO: checking for egrep" >&5
3185 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3186 if test "${ac_cv_prog_egrep+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3190 then ac_cv_prog_egrep
='grep -E'
3191 else ac_cv_prog_egrep
='egrep'
3194 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3195 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3196 EGREP
=$ac_cv_prog_egrep
3199 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3200 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3201 if test "${ac_cv_header_stdc+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 cat >conftest.
$ac_ext <<_ACEOF
3207 cat confdefs.h
>>conftest.
$ac_ext
3208 cat >>conftest.
$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3223 rm -f conftest.
$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>conftest.er1
3227 grep -v '^ *+' conftest.er1
>conftest.err
3229 cat conftest.err
>&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try
='test -z "$ac_c_werror_flag"
3233 || test ! -s conftest.err'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; } &&
3239 { ac_try
='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3245 ac_cv_header_stdc
=yes
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3250 ac_cv_header_stdc
=no
3252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3254 if test $ac_cv_header_stdc = yes; then
3255 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3256 cat >conftest.
$ac_ext <<_ACEOF
3259 cat confdefs.h
>>conftest.
$ac_ext
3260 cat >>conftest.
$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3266 $EGREP "memchr" >/dev
/null
2>&1; then
3269 ac_cv_header_stdc
=no
3275 if test $ac_cv_header_stdc = yes; then
3276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3277 cat >conftest.
$ac_ext <<_ACEOF
3280 cat confdefs.h
>>conftest.
$ac_ext
3281 cat >>conftest.
$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3287 $EGREP "free" >/dev
/null
2>&1; then
3290 ac_cv_header_stdc
=no
3296 if test $ac_cv_header_stdc = yes; then
3297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3298 if test "$cross_compiling" = yes; then
3301 cat >conftest.
$ac_ext <<_ACEOF
3304 cat confdefs.h
>>conftest.
$ac_ext
3305 cat >>conftest.
$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3308 #if ((' ' & 0x0FF) == 0x020)
3309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3312 # define ISLOWER(c) \
3313 (('a' <= (c) && (c) <= 'i') \
3314 || ('j' <= (c) && (c) <= 'r') \
3315 || ('s' <= (c) && (c) <= 'z'))
3316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3324 for (i = 0; i < 256; i++)
3325 if (XOR (islower (i), ISLOWER (i))
3326 || toupper (i) != TOUPPER (i))
3331 rm -f conftest
$ac_exeext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3333 (eval $ac_link) 2>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 echo "$as_me: program exited with status $ac_status" >&5
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3349 ac_cv_header_stdc
=no
3351 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3355 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3356 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3357 if test $ac_cv_header_stdc = yes; then
3359 cat >>confdefs.h
<<\_ACEOF
3360 #define STDC_HEADERS 1
3365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3375 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3376 inttypes.h stdint.h unistd.h
3378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3379 echo "$as_me:$LINENO: checking for $ac_header" >&5
3380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 cat >conftest.
$ac_ext <<_ACEOF
3387 cat confdefs.h
>>conftest.
$ac_ext
3388 cat >>conftest.
$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3390 $ac_includes_default
3392 #include <$ac_header>
3394 rm -f conftest.
$ac_objext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1
>conftest.err
3400 cat conftest.err
>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try
='test -z "$ac_c_werror_flag"
3404 || test ! -s conftest.err'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try
='test -s conftest.$ac_objext'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; }; then
3416 eval "$as_ac_Header=yes"
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 eval "$as_ac_Header=no"
3423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3428 cat >>confdefs.h
<<_ACEOF
3429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3437 echo "$as_me:$LINENO: checking for short" >&5
3438 echo $ECHO_N "checking for short... $ECHO_C" >&6
3439 if test "${ac_cv_type_short+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.
$ac_ext <<_ACEOF
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 $ac_includes_default
3460 rm -f conftest.
$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462 (eval $ac_compile) 2>conftest.er1
3464 grep -v '^ *+' conftest.er1
>conftest.err
3466 cat conftest.err
>&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
3469 { ac_try
='test -z "$ac_c_werror_flag"
3470 || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try
='test -s conftest.$ac_objext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_cv_type_short
=yes
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.
$ac_ext >&5
3489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3491 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3492 echo "${ECHO_T}$ac_cv_type_short" >&6
3494 echo "$as_me:$LINENO: checking size of short" >&5
3495 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3496 if test "${ac_cv_sizeof_short+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 if test "$ac_cv_type_short" = yes; then
3500 # The cast to unsigned long works around a bug in the HP C Compiler
3501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3503 # This bug is HP SR number 8606223364.
3504 if test "$cross_compiling" = yes; then
3505 # Depending upon the size, compute the lo and hi bounds.
3506 cat >conftest.
$ac_ext <<_ACEOF
3509 cat confdefs.h
>>conftest.
$ac_ext
3510 cat >>conftest.
$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3512 $ac_includes_default
3516 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3523 rm -f conftest.
$ac_objext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3525 (eval $ac_compile) 2>conftest.er1
3527 grep -v '^ *+' conftest.er1
>conftest.err
3529 cat conftest.err
>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } &&
3532 { ac_try
='test -z "$ac_c_werror_flag"
3533 || test ! -s conftest.err'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; } &&
3539 { ac_try
='test -s conftest.$ac_objext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3547 cat >conftest.
$ac_ext <<_ACEOF
3550 cat confdefs.h
>>conftest.
$ac_ext
3551 cat >>conftest.
$ac_ext <<_ACEOF
3552 /* end confdefs.h. */
3553 $ac_includes_default
3557 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3564 rm -f conftest.
$ac_objext
3565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3566 (eval $ac_compile) 2>conftest.er1
3568 grep -v '^ *+' conftest.er1
>conftest.err
3570 cat conftest.err
>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try
='test -z "$ac_c_werror_flag"
3574 || test ! -s conftest.err'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; } &&
3580 { ac_try
='test -s conftest.$ac_objext'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; }; then
3586 ac_hi
=$ac_mid; break
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 ac_lo
=`expr $ac_mid + 1`
3592 if test $ac_lo -le $ac_mid; then
3596 ac_mid
=`expr 2 '*' $ac_mid + 1`
3598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 echo "$as_me: failed program was:" >&5
3602 sed 's/^/| /' conftest.
$ac_ext >&5
3604 cat >conftest.
$ac_ext <<_ACEOF
3607 cat confdefs.h
>>conftest.
$ac_ext
3608 cat >>conftest.
$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 $ac_includes_default
3614 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3621 rm -f conftest.
$ac_objext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3623 (eval $ac_compile) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag"
3631 || test ! -s conftest.err'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; } &&
3637 { ac_try
='test -s conftest.$ac_objext'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3645 cat >conftest.
$ac_ext <<_ACEOF
3648 cat confdefs.h
>>conftest.
$ac_ext
3649 cat >>conftest.
$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 $ac_includes_default
3655 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3662 rm -f conftest.
$ac_objext
3663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3664 (eval $ac_compile) 2>conftest.er1
3666 grep -v '^ *+' conftest.er1
>conftest.err
3668 cat conftest.err
>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } &&
3671 { ac_try
='test -z "$ac_c_werror_flag"
3672 || test ! -s conftest.err'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; } &&
3678 { ac_try
='test -s conftest.$ac_objext'
3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; }; then
3684 ac_lo
=$ac_mid; break
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.
$ac_ext >&5
3689 ac_hi
=`expr '(' $ac_mid ')' - 1`
3690 if test $ac_mid -le $ac_hi; then
3694 ac_mid
=`expr 2 '*' $ac_mid`
3696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.
$ac_ext >&5
3704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3707 # Binary search between lo and hi bounds.
3708 while test "x$ac_lo" != "x$ac_hi"; do
3709 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3710 cat >conftest.
$ac_ext <<_ACEOF
3713 cat confdefs.h
>>conftest.
$ac_ext
3714 cat >>conftest.
$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 $ac_includes_default
3720 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3727 rm -f conftest.
$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>conftest.er1
3731 grep -v '^ *+' conftest.er1
>conftest.err
3733 cat conftest.err
>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try
='test -z "$ac_c_werror_flag"
3737 || test ! -s conftest.err'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; } &&
3743 { ac_try
='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.
$ac_ext >&5
3754 ac_lo
=`expr '(' $ac_mid ')' + 1`
3756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3759 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3760 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3761 See \`config.log' for more details." >&5
3762 echo "$as_me: error: cannot compute sizeof (short), 77
3763 See \`config.log' for more details." >&2;}
3764 { (exit 1); exit 1; }; } ;;
3767 if test "$cross_compiling" = yes; then
3768 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3769 See \`config.log' for more details." >&5
3770 echo "$as_me: error: cannot run test program while cross compiling
3771 See \`config.log' for more details." >&2;}
3772 { (exit 1); exit 1; }; }
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 $ac_includes_default
3781 long longval () { return (long) (sizeof (short)); }
3782 unsigned long ulongval () { return (long) (sizeof (short)); }
3789 FILE *f = fopen ("conftest.val", "w");
3792 if (((long) (sizeof (short))) < 0)
3794 long i = longval ();
3795 if (i != ((long) (sizeof (short))))
3797 fprintf (f, "%ld\n", i);
3801 unsigned long i = ulongval ();
3802 if (i != ((long) (sizeof (short))))
3804 fprintf (f, "%lu\n", i);
3806 exit (ferror (f) || fclose (f) != 0);
3812 rm -f conftest
$ac_exeext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3814 (eval $ac_link) 2>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; }; then
3823 ac_cv_sizeof_short
=`cat conftest.val`
3825 echo "$as_me: program exited with status $ac_status" >&5
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.
$ac_ext >&5
3830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3831 See \`config.log' for more details." >&5
3832 echo "$as_me: error: cannot compute sizeof (short), 77
3833 See \`config.log' for more details." >&2;}
3834 { (exit 1); exit 1; }; }
3836 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3841 ac_cv_sizeof_short
=0
3844 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3845 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3846 cat >>confdefs.h
<<_ACEOF
3847 #define SIZEOF_SHORT $ac_cv_sizeof_short
3851 echo "$as_me:$LINENO: checking for int" >&5
3852 echo $ECHO_N "checking for int... $ECHO_C" >&6
3853 if test "${ac_cv_type_int+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 cat >conftest.
$ac_ext <<_ACEOF
3859 cat confdefs.h
>>conftest.
$ac_ext
3860 cat >>conftest.
$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 $ac_includes_default
3874 rm -f conftest.
$ac_objext
3875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3876 (eval $ac_compile) 2>conftest.er1
3878 grep -v '^ *+' conftest.er1
>conftest.err
3880 cat conftest.err
>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } &&
3883 { ac_try
='test -z "$ac_c_werror_flag"
3884 || test ! -s conftest.err'
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); }; } &&
3890 { ac_try
='test -s conftest.$ac_objext'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; }; then
3898 echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.
$ac_ext >&5
3903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3905 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3906 echo "${ECHO_T}$ac_cv_type_int" >&6
3908 echo "$as_me:$LINENO: checking size of int" >&5
3909 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3910 if test "${ac_cv_sizeof_int+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 if test "$ac_cv_type_int" = yes; then
3914 # The cast to unsigned long works around a bug in the HP C Compiler
3915 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3916 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3917 # This bug is HP SR number 8606223364.
3918 if test "$cross_compiling" = yes; then
3919 # Depending upon the size, compute the lo and hi bounds.
3920 cat >conftest.
$ac_ext <<_ACEOF
3923 cat confdefs.h
>>conftest.
$ac_ext
3924 cat >>conftest.
$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3926 $ac_includes_default
3930 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3937 rm -f conftest.
$ac_objext
3938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3939 (eval $ac_compile) 2>conftest.er1
3941 grep -v '^ *+' conftest.er1
>conftest.err
3943 cat conftest.err
>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } &&
3946 { ac_try
='test -z "$ac_c_werror_flag"
3947 || test ! -s conftest.err'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; } &&
3953 { ac_try
='test -s conftest.$ac_objext'
3954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }; }; then
3961 cat >conftest.
$ac_ext <<_ACEOF
3964 cat confdefs.h
>>conftest.
$ac_ext
3965 cat >>conftest.
$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 $ac_includes_default
3971 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3978 rm -f conftest.
$ac_objext
3979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3980 (eval $ac_compile) 2>conftest.er1
3982 grep -v '^ *+' conftest.er1
>conftest.err
3984 cat conftest.err
>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try
='test -z "$ac_c_werror_flag"
3988 || test ! -s conftest.err'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; } &&
3994 { ac_try
='test -s conftest.$ac_objext'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; }; then
4000 ac_hi
=$ac_mid; break
4002 echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.
$ac_ext >&5
4005 ac_lo
=`expr $ac_mid + 1`
4006 if test $ac_lo -le $ac_mid; then
4010 ac_mid
=`expr 2 '*' $ac_mid + 1`
4012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4015 echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.
$ac_ext >&5
4018 cat >conftest.
$ac_ext <<_ACEOF
4021 cat confdefs.h
>>conftest.
$ac_ext
4022 cat >>conftest.
$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4024 $ac_includes_default
4028 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4035 rm -f conftest.
$ac_objext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 (eval $ac_compile) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1
>conftest.err
4041 cat conftest.err
>&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } &&
4044 { ac_try
='test -z "$ac_c_werror_flag"
4045 || test ! -s conftest.err'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; } &&
4051 { ac_try
='test -s conftest.$ac_objext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4065 $ac_includes_default
4069 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4076 rm -f conftest.
$ac_objext
4077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4078 (eval $ac_compile) 2>conftest.er1
4080 grep -v '^ *+' conftest.er1
>conftest.err
4082 cat conftest.err
>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } &&
4085 { ac_try
='test -z "$ac_c_werror_flag"
4086 || test ! -s conftest.err'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; } &&
4092 { ac_try
='test -s conftest.$ac_objext'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; }; then
4098 ac_lo
=$ac_mid; break
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.
$ac_ext >&5
4103 ac_hi
=`expr '(' $ac_mid ')' - 1`
4104 if test $ac_mid -le $ac_hi; then
4108 ac_mid
=`expr 2 '*' $ac_mid`
4110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.
$ac_ext >&5
4118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4121 # Binary search between lo and hi bounds.
4122 while test "x$ac_lo" != "x$ac_hi"; do
4123 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4124 cat >conftest.
$ac_ext <<_ACEOF
4127 cat confdefs.h
>>conftest.
$ac_ext
4128 cat >>conftest.
$ac_ext <<_ACEOF
4129 /* end confdefs.h. */
4130 $ac_includes_default
4134 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4141 rm -f conftest.
$ac_objext
4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4143 (eval $ac_compile) 2>conftest.er1
4145 grep -v '^ *+' conftest.er1
>conftest.err
4147 cat conftest.err
>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try
='test -z "$ac_c_werror_flag"
4151 || test ! -s conftest.err'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; } &&
4157 { ac_try
='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4165 echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.
$ac_ext >&5
4168 ac_lo
=`expr '(' $ac_mid ')' + 1`
4170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4173 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4175 See \`config.log' for more details." >&5
4176 echo "$as_me: error: cannot compute sizeof (int), 77
4177 See \`config.log' for more details." >&2;}
4178 { (exit 1); exit 1; }; } ;;
4181 if test "$cross_compiling" = yes; then
4182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4183 See \`config.log' for more details." >&5
4184 echo "$as_me: error: cannot run test program while cross compiling
4185 See \`config.log' for more details." >&2;}
4186 { (exit 1); exit 1; }; }
4188 cat >conftest.
$ac_ext <<_ACEOF
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4194 $ac_includes_default
4195 long longval () { return (long) (sizeof (int)); }
4196 unsigned long ulongval () { return (long) (sizeof (int)); }
4203 FILE *f = fopen ("conftest.val", "w");
4206 if (((long) (sizeof (int))) < 0)
4208 long i = longval ();
4209 if (i != ((long) (sizeof (int))))
4211 fprintf (f, "%ld\n", i);
4215 unsigned long i = ulongval ();
4216 if (i != ((long) (sizeof (int))))
4218 fprintf (f, "%lu\n", i);
4220 exit (ferror (f) || fclose (f) != 0);
4226 rm -f conftest
$ac_exeext
4227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4228 (eval $ac_link) 2>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; }; then
4237 ac_cv_sizeof_int
=`cat conftest.val`
4239 echo "$as_me: program exited with status $ac_status" >&5
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.
$ac_ext >&5
4244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4245 See \`config.log' for more details." >&5
4246 echo "$as_me: error: cannot compute sizeof (int), 77
4247 See \`config.log' for more details." >&2;}
4248 { (exit 1); exit 1; }; }
4250 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4258 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4259 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4260 cat >>confdefs.h
<<_ACEOF
4261 #define SIZEOF_INT $ac_cv_sizeof_int
4265 echo "$as_me:$LINENO: checking for long" >&5
4266 echo $ECHO_N "checking for long... $ECHO_C" >&6
4267 if test "${ac_cv_type_long+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 $ac_includes_default
4288 rm -f conftest.
$ac_objext
4289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4290 (eval $ac_compile) 2>conftest.er1
4292 grep -v '^ *+' conftest.er1
>conftest.err
4294 cat conftest.err
>&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } &&
4297 { ac_try
='test -z "$ac_c_werror_flag"
4298 || test ! -s conftest.err'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; } &&
4304 { ac_try
='test -s conftest.$ac_objext'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; }; then
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4319 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4320 echo "${ECHO_T}$ac_cv_type_long" >&6
4322 echo "$as_me:$LINENO: checking size of long" >&5
4323 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4324 if test "${ac_cv_sizeof_long+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 if test "$ac_cv_type_long" = yes; then
4328 # The cast to unsigned long works around a bug in the HP C Compiler
4329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4331 # This bug is HP SR number 8606223364.
4332 if test "$cross_compiling" = yes; then
4333 # Depending upon the size, compute the lo and hi bounds.
4334 cat >conftest.
$ac_ext <<_ACEOF
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 $ac_includes_default
4344 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4351 rm -f conftest.
$ac_objext
4352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4353 (eval $ac_compile) 2>conftest.er1
4355 grep -v '^ *+' conftest.er1
>conftest.err
4357 cat conftest.err
>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } &&
4360 { ac_try
='test -z "$ac_c_werror_flag"
4361 || test ! -s conftest.err'
4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; } &&
4367 { ac_try
='test -s conftest.$ac_objext'
4368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); }; }; then
4375 cat >conftest.
$ac_ext <<_ACEOF
4378 cat confdefs.h
>>conftest.
$ac_ext
4379 cat >>conftest.
$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4381 $ac_includes_default
4385 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4392 rm -f conftest.
$ac_objext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>conftest.er1
4396 grep -v '^ *+' conftest.er1
>conftest.err
4398 cat conftest.err
>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } &&
4401 { ac_try
='test -z "$ac_c_werror_flag"
4402 || test ! -s conftest.err'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; } &&
4408 { ac_try
='test -s conftest.$ac_objext'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; }; then
4414 ac_hi
=$ac_mid; break
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.
$ac_ext >&5
4419 ac_lo
=`expr $ac_mid + 1`
4420 if test $ac_lo -le $ac_mid; then
4424 ac_mid
=`expr 2 '*' $ac_mid + 1`
4426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 $ac_includes_default
4442 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4449 rm -f conftest.
$ac_objext
4450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4451 (eval $ac_compile) 2>conftest.er1
4453 grep -v '^ *+' conftest.er1
>conftest.err
4455 cat conftest.err
>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } &&
4458 { ac_try
='test -z "$ac_c_werror_flag"
4459 || test ! -s conftest.err'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try
='test -s conftest.$ac_objext'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; }; then
4473 cat >conftest.
$ac_ext <<_ACEOF
4476 cat confdefs.h
>>conftest.
$ac_ext
4477 cat >>conftest.
$ac_ext <<_ACEOF
4478 /* end confdefs.h. */
4479 $ac_includes_default
4483 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4490 rm -f conftest.
$ac_objext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1
>conftest.err
4496 cat conftest.err
>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try
='test -z "$ac_c_werror_flag"
4500 || test ! -s conftest.err'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; } &&
4506 { ac_try
='test -s conftest.$ac_objext'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; }; then
4512 ac_lo
=$ac_mid; break
4514 echo "$as_me: failed program was:" >&5
4515 sed 's/^/| /' conftest.
$ac_ext >&5
4517 ac_hi
=`expr '(' $ac_mid ')' - 1`
4518 if test $ac_mid -le $ac_hi; then
4522 ac_mid
=`expr 2 '*' $ac_mid`
4524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.
$ac_ext >&5
4532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4535 # Binary search between lo and hi bounds.
4536 while test "x$ac_lo" != "x$ac_hi"; do
4537 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4538 cat >conftest.
$ac_ext <<_ACEOF
4541 cat confdefs.h
>>conftest.
$ac_ext
4542 cat >>conftest.
$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4544 $ac_includes_default
4548 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4555 rm -f conftest.
$ac_objext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4557 (eval $ac_compile) 2>conftest.er1
4559 grep -v '^ *+' conftest.er1
>conftest.err
4561 cat conftest.err
>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } &&
4564 { ac_try
='test -z "$ac_c_werror_flag"
4565 || test ! -s conftest.err'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; } &&
4571 { ac_try
='test -s conftest.$ac_objext'
4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; }; then
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.
$ac_ext >&5
4582 ac_lo
=`expr '(' $ac_mid ')' + 1`
4584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4588 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4589 See \`config.log' for more details." >&5
4590 echo "$as_me: error: cannot compute sizeof (long), 77
4591 See \`config.log' for more details." >&2;}
4592 { (exit 1); exit 1; }; } ;;
4595 if test "$cross_compiling" = yes; then
4596 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4597 See \`config.log' for more details." >&5
4598 echo "$as_me: error: cannot run test program while cross compiling
4599 See \`config.log' for more details." >&2;}
4600 { (exit 1); exit 1; }; }
4602 cat >conftest.
$ac_ext <<_ACEOF
4605 cat confdefs.h
>>conftest.
$ac_ext
4606 cat >>conftest.
$ac_ext <<_ACEOF
4607 /* end confdefs.h. */
4608 $ac_includes_default
4609 long longval () { return (long) (sizeof (long)); }
4610 unsigned long ulongval () { return (long) (sizeof (long)); }
4617 FILE *f = fopen ("conftest.val", "w");
4620 if (((long) (sizeof (long))) < 0)
4622 long i = longval ();
4623 if (i != ((long) (sizeof (long))))
4625 fprintf (f, "%ld\n", i);
4629 unsigned long i = ulongval ();
4630 if (i != ((long) (sizeof (long))))
4632 fprintf (f, "%lu\n", i);
4634 exit (ferror (f) || fclose (f) != 0);
4640 rm -f conftest
$ac_exeext
4641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4642 (eval $ac_link) 2>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_sizeof_long
=`cat conftest.val`
4653 echo "$as_me: program exited with status $ac_status" >&5
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.
$ac_ext >&5
4658 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4659 See \`config.log' for more details." >&5
4660 echo "$as_me: error: cannot compute sizeof (long), 77
4661 See \`config.log' for more details." >&2;}
4662 { (exit 1); exit 1; }; }
4664 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4672 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4673 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4674 cat >>confdefs.h
<<_ACEOF
4675 #define SIZEOF_LONG $ac_cv_sizeof_long
4679 echo "$as_me:$LINENO: checking for long long" >&5
4680 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4681 if test "${ac_cv_type_long_long+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4690 $ac_includes_default
4694 if ((long long *) 0)
4696 if (sizeof (long long))
4702 rm -f conftest.
$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>conftest.er1
4706 grep -v '^ *+' conftest.er1
>conftest.err
4708 cat conftest.err
>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } &&
4711 { ac_try
='test -z "$ac_c_werror_flag"
4712 || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try
='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4724 ac_cv_type_long_long
=yes
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.
$ac_ext >&5
4729 ac_cv_type_long_long
=no
4731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4733 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4734 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4736 echo "$as_me:$LINENO: checking size of long long" >&5
4737 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4738 if test "${ac_cv_sizeof_long_long+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 if test "$ac_cv_type_long_long" = yes; then
4742 # The cast to unsigned long works around a bug in the HP C Compiler
4743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4745 # This bug is HP SR number 8606223364.
4746 if test "$cross_compiling" = yes; then
4747 # Depending upon the size, compute the lo and hi bounds.
4748 cat >conftest.
$ac_ext <<_ACEOF
4751 cat confdefs.h
>>conftest.
$ac_ext
4752 cat >>conftest.
$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4754 $ac_includes_default
4758 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_c_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try
='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4789 cat >conftest.
$ac_ext <<_ACEOF
4792 cat confdefs.h
>>conftest.
$ac_ext
4793 cat >>conftest.
$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 $ac_includes_default
4799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4806 rm -f conftest.
$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>conftest.er1
4810 grep -v '^ *+' conftest.er1
>conftest.err
4812 cat conftest.err
>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try
='test -z "$ac_c_werror_flag"
4816 || test ! -s conftest.err'
4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; } &&
4822 { ac_try
='test -s conftest.$ac_objext'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; }; then
4828 ac_hi
=$ac_mid; break
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.
$ac_ext >&5
4833 ac_lo
=`expr $ac_mid + 1`
4834 if test $ac_lo -le $ac_mid; then
4838 ac_mid
=`expr 2 '*' $ac_mid + 1`
4840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.
$ac_ext >&5
4846 cat >conftest.
$ac_ext <<_ACEOF
4849 cat confdefs.h
>>conftest.
$ac_ext
4850 cat >>conftest.
$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4852 $ac_includes_default
4856 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4863 rm -f conftest.
$ac_objext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1
>conftest.err
4869 cat conftest.err
>&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try
='test -z "$ac_c_werror_flag"
4873 || test ! -s conftest.err'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try
='test -s conftest.$ac_objext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4887 cat >conftest.
$ac_ext <<_ACEOF
4890 cat confdefs.h
>>conftest.
$ac_ext
4891 cat >>conftest.
$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4893 $ac_includes_default
4897 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4904 rm -f conftest.
$ac_objext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4906 (eval $ac_compile) 2>conftest.er1
4908 grep -v '^ *+' conftest.er1
>conftest.err
4910 cat conftest.err
>&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try
='test -z "$ac_c_werror_flag"
4914 || test ! -s conftest.err'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; } &&
4920 { ac_try
='test -s conftest.$ac_objext'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 ac_lo
=$ac_mid; break
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 ac_hi
=`expr '(' $ac_mid ')' - 1`
4932 if test $ac_mid -le $ac_hi; then
4936 ac_mid
=`expr 2 '*' $ac_mid`
4938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 # Binary search between lo and hi bounds.
4950 while test "x$ac_lo" != "x$ac_hi"; do
4951 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4952 cat >conftest.
$ac_ext <<_ACEOF
4955 cat confdefs.h
>>conftest.
$ac_ext
4956 cat >>conftest.
$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4958 $ac_includes_default
4962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4969 rm -f conftest.
$ac_objext
4970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4971 (eval $ac_compile) 2>conftest.er1
4973 grep -v '^ *+' conftest.er1
>conftest.err
4975 cat conftest.err
>&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } &&
4978 { ac_try
='test -z "$ac_c_werror_flag"
4979 || test ! -s conftest.err'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; } &&
4985 { ac_try
='test -s conftest.$ac_objext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.
$ac_ext >&5
4996 ac_lo
=`expr '(' $ac_mid ')' + 1`
4998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5001 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5002 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5003 See \`config.log' for more details." >&5
5004 echo "$as_me: error: cannot compute sizeof (long long), 77
5005 See \`config.log' for more details." >&2;}
5006 { (exit 1); exit 1; }; } ;;
5009 if test "$cross_compiling" = yes; then
5010 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5011 See \`config.log' for more details." >&5
5012 echo "$as_me: error: cannot run test program while cross compiling
5013 See \`config.log' for more details." >&2;}
5014 { (exit 1); exit 1; }; }
5016 cat >conftest.
$ac_ext <<_ACEOF
5019 cat confdefs.h
>>conftest.
$ac_ext
5020 cat >>conftest.
$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5022 $ac_includes_default
5023 long longval () { return (long) (sizeof (long long)); }
5024 unsigned long ulongval () { return (long) (sizeof (long long)); }
5031 FILE *f = fopen ("conftest.val", "w");
5034 if (((long) (sizeof (long long))) < 0)
5036 long i = longval ();
5037 if (i != ((long) (sizeof (long long))))
5039 fprintf (f, "%ld\n", i);
5043 unsigned long i = ulongval ();
5044 if (i != ((long) (sizeof (long long))))
5046 fprintf (f, "%lu\n", i);
5048 exit (ferror (f) || fclose (f) != 0);
5054 rm -f conftest
$ac_exeext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5056 (eval $ac_link) 2>&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; }; then
5065 ac_cv_sizeof_long_long
=`cat conftest.val`
5067 echo "$as_me: program exited with status $ac_status" >&5
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.
$ac_ext >&5
5072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5073 See \`config.log' for more details." >&5
5074 echo "$as_me: error: cannot compute sizeof (long long), 77
5075 See \`config.log' for more details." >&2;}
5076 { (exit 1); exit 1; }; }
5078 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5083 ac_cv_sizeof_long_long
=0
5086 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5087 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5088 cat >>confdefs.h
<<_ACEOF
5089 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5095 $ac_cv_sizeof_short) SIZE16
="short";;
5096 $ac_cv_sizeof_int) SIZE16
="int";;
5100 $ac_cv_sizeof_int) SIZE32
="int";;
5101 $ac_cv_sizeof_long) SIZE32
="long";;
5102 $ac_cv_sizeof_short) SIZE32
="short";;
5109 OPAL_HAVE_SPEEX_SPEEX_H
=
5111 for ac_header
in "speex.h"
5113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5115 echo "$as_me:$LINENO: checking for $ac_header" >&5
5116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5123 # Is the header compilable?
5124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5126 cat >conftest.
$ac_ext <<_ACEOF
5129 cat confdefs.h
>>conftest.
$ac_ext
5130 cat >>conftest.
$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5132 $ac_includes_default
5133 #include <$ac_header>
5135 rm -f conftest.
$ac_objext
5136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5137 (eval $ac_compile) 2>conftest.er1
5139 grep -v '^ *+' conftest.er1
>conftest.err
5141 cat conftest.err
>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } &&
5144 { ac_try
='test -z "$ac_c_werror_flag"
5145 || test ! -s conftest.err'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; } &&
5151 { ac_try
='test -s conftest.$ac_objext'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; }; then
5157 ac_header_compiler
=yes
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.
$ac_ext >&5
5162 ac_header_compiler
=no
5164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5166 echo "${ECHO_T}$ac_header_compiler" >&6
5168 # Is the header present?
5169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5177 #include <$ac_header>
5179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5182 grep -v '^ *+' conftest.er1
>conftest.err
5184 cat conftest.err
>&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); } >/dev
/null
; then
5187 if test -s conftest.err
; then
5188 ac_cpp_err
=$ac_c_preproc_warn_flag
5189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5196 if test -z "$ac_cpp_err"; then
5197 ac_header_preproc
=yes
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.
$ac_ext >&5
5202 ac_header_preproc
=no
5204 rm -f conftest.err conftest.
$ac_ext
5205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5206 echo "${ECHO_T}$ac_header_preproc" >&6
5208 # So? What about this header?
5209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5215 ac_header_preproc
=yes
5218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5232 ## ------------------------------------------ ##
5233 ## Report this to the AC_PACKAGE_NAME lists. ##
5234 ## ------------------------------------------ ##
5237 sed "s/^/$as_me: WARNING: /" >&2
5240 echo "$as_me:$LINENO: checking for $ac_header" >&5
5241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 eval "$as_ac_Header=\$ac_header_preproc"
5247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5252 cat >>confdefs.h
<<_ACEOF
5253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5260 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5261 cat >>confdefs.h
<<\_ACEOF
5262 #define OPAL_HAVE_SPEEX_H 1
5267 for ac_header
in "speex/speex.h"
5269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5271 echo "$as_me:$LINENO: checking for $ac_header" >&5
5272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5279 # Is the header compilable?
5280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5282 cat >conftest.
$ac_ext <<_ACEOF
5285 cat confdefs.h
>>conftest.
$ac_ext
5286 cat >>conftest.
$ac_ext <<_ACEOF
5287 /* end confdefs.h. */
5288 $ac_includes_default
5289 #include <$ac_header>
5291 rm -f conftest.
$ac_objext
5292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293 (eval $ac_compile) 2>conftest.er1
5295 grep -v '^ *+' conftest.er1
>conftest.err
5297 cat conftest.err
>&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } &&
5300 { ac_try
='test -z "$ac_c_werror_flag"
5301 || test ! -s conftest.err'
5302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; } &&
5307 { ac_try
='test -s conftest.$ac_objext'
5308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); }; }; then
5313 ac_header_compiler
=yes
5315 echo "$as_me: failed program was:" >&5
5316 sed 's/^/| /' conftest.
$ac_ext >&5
5318 ac_header_compiler
=no
5320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5322 echo "${ECHO_T}$ac_header_compiler" >&6
5324 # Is the header present?
5325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5327 cat >conftest.
$ac_ext <<_ACEOF
5330 cat confdefs.h
>>conftest.
$ac_ext
5331 cat >>conftest.
$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5333 #include <$ac_header>
5335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5338 grep -v '^ *+' conftest.er1
>conftest.err
5340 cat conftest.err
>&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } >/dev
/null
; then
5343 if test -s conftest.err
; then
5344 ac_cpp_err
=$ac_c_preproc_warn_flag
5345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5352 if test -z "$ac_cpp_err"; then
5353 ac_header_preproc
=yes
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.
$ac_ext >&5
5358 ac_header_preproc
=no
5360 rm -f conftest.err conftest.
$ac_ext
5361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5362 echo "${ECHO_T}$ac_header_preproc" >&6
5364 # So? What about this header?
5365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5371 ac_header_preproc
=yes
5374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5388 ## ------------------------------------------ ##
5389 ## Report this to the AC_PACKAGE_NAME lists. ##
5390 ## ------------------------------------------ ##
5393 sed "s/^/$as_me: WARNING: /" >&2
5396 echo "$as_me:$LINENO: checking for $ac_header" >&5
5397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 eval "$as_ac_Header=\$ac_header_preproc"
5403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5408 cat >>confdefs.h
<<_ACEOF
5409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5411 OPAL_HAVE_SPEEX_SPEEX_H
=1
5416 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5417 cat >>confdefs.h
<<\_ACEOF
5418 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5424 if test "${localspeex}" = "yes" ; then
5425 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5426 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5427 elif test "${localspeex}" = "no" ; then
5428 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5429 echo "$as_me: Forcing use of system Speex library" >&6;}
5430 cat >>confdefs.h
<<\_ACEOF
5431 #define OPAL_SYSTEM_SPEEX 1
5437 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5438 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5439 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 ac_check_lib_save_LIBS
=$LIBS
5443 LIBS
="-lspeex $LIBS"
5444 cat >conftest.
$ac_ext <<_ACEOF
5447 cat confdefs.h
>>conftest.
$ac_ext
5448 cat >>conftest.
$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5451 /* Override any gcc2 internal prototype to avoid an error. */
5455 /* We use char because int might match the return type of a gcc2
5456 builtin and then its argument prototype would still apply. */
5457 char speex_encoder_destroy ();
5461 speex_encoder_destroy ();
5466 rm -f conftest.
$ac_objext conftest
$ac_exeext
5467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5468 (eval $ac_link) 2>conftest.er1
5470 grep -v '^ *+' conftest.er1
>conftest.err
5472 cat conftest.err
>&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } &&
5475 { ac_try
='test -z "$ac_c_werror_flag"
5476 || test ! -s conftest.err'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; } &&
5482 { ac_try
='test -s conftest$ac_exeext'
5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); }; }; then
5488 ac_cv_lib_speex_speex_encoder_destroy
=yes
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5493 ac_cv_lib_speex_speex_encoder_destroy
=no
5495 rm -f conftest.err conftest.
$ac_objext \
5496 conftest
$ac_exeext conftest.
$ac_ext
5497 LIBS
=$ac_check_lib_save_LIBS
5499 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5500 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5501 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5505 if test "${SPEEX}x" != "x" ; then
5506 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5507 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5508 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 ac_check_lib_save_LIBS
=$LIBS
5512 LIBS
="-lspeex $LIBS"
5513 cat >conftest.
$ac_ext <<_ACEOF
5516 cat confdefs.h
>>conftest.
$ac_ext
5517 cat >>conftest.
$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5520 /* Override any gcc2 internal prototype to avoid an error. */
5524 /* We use char because int might match the return type of a gcc2
5525 builtin and then its argument prototype would still apply. */
5526 char speex_encode_int ();
5530 speex_encode_int ();
5535 rm -f conftest.
$ac_objext conftest
$ac_exeext
5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5537 (eval $ac_link) 2>conftest.er1
5539 grep -v '^ *+' conftest.er1
>conftest.err
5541 cat conftest.err
>&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } &&
5544 { ac_try
='test -z "$ac_c_werror_flag"
5545 || test ! -s conftest.err'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; } &&
5551 { ac_try
='test -s conftest$ac_exeext'
5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5557 ac_cv_lib_speex_speex_encode_int
=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.
$ac_ext >&5
5562 ac_cv_lib_speex_speex_encode_int
=no
5564 rm -f conftest.err conftest.
$ac_objext \
5565 conftest
$ac_exeext conftest.
$ac_ext
5566 LIBS
=$ac_check_lib_save_LIBS
5568 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5569 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5570 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5577 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5578 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5579 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5581 echo "$as_me:$LINENO: checking system Speex version" >&5
5582 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5583 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5584 echo "#include <speex.h>" > t.c
5585 echo "#include <speex_header.h>" >> t.c
5587 echo "#include <speex/speex.h>" > t.c
5588 echo "#include <speex/speex_header.h>" >> t.c
5592 int main(int argc,char *argv)
5595 speex_init_header(&header, 1, 1, &speex_nb_mode);
5596 printf("%s\n", header.speex_version);
5599 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5600 if test \
! -x t
; then
5601 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5602 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5605 echo "$as_me:$LINENO: result: $SYSVER" >&5
5606 echo "${ECHO_T}$SYSVER" >&6
5607 echo "$as_me:$LINENO: checking library Speex version" >&5
5608 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5609 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5610 echo "$as_me:$LINENO: result: $LIBVER" >&5
5611 echo "${ECHO_T}$LIBVER" >&6
5612 echo "$as_me:$LINENO: checking Speex versions" >&5
5613 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5616 \$sysver = @ARGV[0];
5617 \$libver = @ARGV[1];
5618 @lib = split /\./, \$libver;
5622 @sys = split /\./, \$sysver;
5628 if (@sys[\$i] < @lib[\$i]) {
5637 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5639 if test "x$SPEEX" = "x0" ; then
5640 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5641 echo "${ECHO_T}OPAL version is more recent" >&6
5643 echo "$as_me:$LINENO: result: system version is more recent" >&5
5644 echo "${ECHO_T}system version is more recent" >&6
5645 cat >>confdefs.h
<<\_ACEOF
5646 #define OPAL_SYSTEM_SPEEX 1
5651 echo "$as_me:$LINENO: checking Speex noise type" >&5
5652 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5653 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5654 echo "#include <speex.h>" > t.c
5655 echo "#include <speex_preprocess.h>" >> t.c
5657 echo "#include <speex/speex.h>" > t.c
5658 echo "#include <speex/speex_preprocess.h>" >> t.c
5662 int main(int argc,char *argv)
5664 struct SpeexPreprocessState *st;
5667 speex_preprocess(st, x, echo);
5671 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5672 if test \
! -x t
; then
5673 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5674 echo "${ECHO_T}spx_int32_t" >&6
5676 echo "$as_me:$LINENO: result: float" >&5
5677 echo "${ECHO_T}float" >&6
5678 cat >>confdefs.h
<<\_ACEOF
5679 #define OPAL_SPEEX_FLOAT_NOISE 1
5694 cat >>confdefs.h
<<\_ACEOF
5695 #define OPAL_AUDIO 1
5702 cat >>confdefs.h
<<\_ACEOF
5703 #define OPAL_VIDEO 1
5710 # Check whether --enable-sip or --disable-sip was given.
5711 if test "${enable_sip+set}" = set; then
5712 enableval
="$enable_sip"
5715 echo "$as_me:$LINENO: checking SIP protocol" >&5
5716 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5717 if test "$sip" = "yes" ; then
5720 cat >>confdefs.h
<<\_ACEOF
5724 echo "$as_me:$LINENO: result: enabled" >&5
5725 echo "${ECHO_T}enabled" >&6
5727 echo "$as_me:$LINENO: result: disabled" >&5
5728 echo "${ECHO_T}disabled" >&6
5734 # Check whether --enable-h323 or --disable-h323 was given.
5735 if test "${enable_h323+set}" = set; then
5736 enableval
="$enable_h323"
5739 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5740 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5741 if test "$h323" = "yes" ; then
5744 cat >>confdefs.h
<<\_ACEOF
5748 echo "$as_me:$LINENO: result: enabled" >&5
5749 echo "${ECHO_T}enabled" >&6
5753 echo "$as_me:$LINENO: result: disabled (T.38 also disabled)" >&5
5754 echo "${ECHO_T}disabled (T.38 also disabled)" >&6
5757 OPAL_H323
=$OPAL_H323
5763 # Check whether --enable-iax or --disable-iax was given.
5764 if test "${enable_iax+set}" = set; then
5765 enableval
="$enable_iax"
5768 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5769 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5770 if test "$iax" = "yes" ; then
5773 cat >>confdefs.h
<<\_ACEOF
5777 echo "$as_me:$LINENO: result: enabled" >&5
5778 echo "${ECHO_T}enabled" >&6
5780 echo "$as_me:$LINENO: result: disabled" >&5
5781 echo "${ECHO_T}disabled" >&6
5786 # Check whether --enable-h224 or --disable-h224 was given.
5787 if test "${enable_h224+set}" = set; then
5788 enableval
="$enable_h224"
5791 echo "$as_me:$LINENO: checking H224 protocol" >&5
5792 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5793 if test "$h224" = "yes" ; then
5796 cat >>confdefs.h
<<\_ACEOF
5800 echo "$as_me:$LINENO: result: enabled" >&5
5801 echo "${ECHO_T}enabled" >&6
5803 echo "$as_me:$LINENO: result: disabled" >&5
5804 echo "${ECHO_T}disabled" >&6
5810 if test "$t38" = "yes" ; then
5811 # Check whether --enable-t38 or --disable-t38 was given.
5812 if test "${enable_t38+set}" = set; then
5813 enableval
="$enable_t38"
5816 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5817 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5818 if test "$t38" = "yes" ; then
5821 cat >>confdefs.h
<<\_ACEOF
5822 #define OPAL_T38FAX 1
5825 echo "$as_me:$LINENO: result: enabled" >&5
5826 echo "${ECHO_T}enabled" >&6
5828 echo "$as_me:$LINENO: result: disabled" >&5
5829 echo "${ECHO_T}disabled" >&6
5836 # Check whether --enable-h460 or --disable-h460 was given.
5837 if test "${enable_h460+set}" = set; then
5838 enableval
="$enable_h460"
5841 if test "${enable_h460}x" = "x" ; then
5844 if test "$enable_h460" == "yes" ; then
5846 cat >>confdefs.h
<<\_ACEOF
5852 { echo "$as_me:$LINENO: Disabling H.460" >&5
5853 echo "$as_me: Disabling H.460" >&6;}
5862 for ac_header
in linux
/telephony.h sys
/telephony.h
/usr
/local
/include
/sys
/telephony.h
5864 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5866 echo "$as_me:$LINENO: checking for $ac_header" >&5
5867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5874 # Is the header compilable?
5875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 $ac_includes_default
5884 #include <$ac_header>
5886 rm -f conftest.
$ac_objext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888 (eval $ac_compile) 2>conftest.er1
5890 grep -v '^ *+' conftest.er1
>conftest.err
5892 cat conftest.err
>&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } &&
5895 { ac_try
='test -z "$ac_c_werror_flag"
5896 || test ! -s conftest.err'
5897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; } &&
5902 { ac_try
='test -s conftest.$ac_objext'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; }; then
5908 ac_header_compiler
=yes
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.
$ac_ext >&5
5913 ac_header_compiler
=no
5915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5917 echo "${ECHO_T}$ac_header_compiler" >&6
5919 # Is the header present?
5920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5922 cat >conftest.
$ac_ext <<_ACEOF
5925 cat confdefs.h
>>conftest.
$ac_ext
5926 cat >>conftest.
$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 #include <$ac_header>
5930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5933 grep -v '^ *+' conftest.er1
>conftest.err
5935 cat conftest.err
>&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } >/dev
/null
; then
5938 if test -s conftest.err
; then
5939 ac_cpp_err
=$ac_c_preproc_warn_flag
5940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5947 if test -z "$ac_cpp_err"; then
5948 ac_header_preproc
=yes
5950 echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5953 ac_header_preproc
=no
5955 rm -f conftest.err conftest.
$ac_ext
5956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5957 echo "${ECHO_T}$ac_header_preproc" >&6
5959 # So? What about this header?
5960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5966 ac_header_preproc
=yes
5969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5983 ## ------------------------------------------ ##
5984 ## Report this to the AC_PACKAGE_NAME lists. ##
5985 ## ------------------------------------------ ##
5988 sed "s/^/$as_me: WARNING: /" >&2
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 eval "$as_ac_Header=\$ac_header_preproc"
5998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6003 cat >>confdefs.h
<<_ACEOF
6004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6011 if test "x$HAS_IXJ" != "x" ; then
6012 echo "$as_me:$LINENO: checking if ixjuser.h actually compiles" >&5
6013 echo $ECHO_N "checking if ixjuser.h actually compiles... $ECHO_C" >&6
6014 cat >conftest.
$ac_ext <<_ACEOF
6017 cat confdefs.h
>>conftest.
$ac_ext
6018 cat >>conftest.
$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6020 #include <linux/ixjuser.h>
6024 int main(int ac,char **av) { return 0; }
6029 rm -f conftest.
$ac_objext
6030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6031 (eval $ac_compile) 2>conftest.er1
6033 grep -v '^ *+' conftest.er1
>conftest.err
6035 cat conftest.err
>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); } &&
6038 { ac_try
='test -z "$ac_c_werror_flag"
6039 || test ! -s conftest.err'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; } &&
6045 { ac_try
='test -s conftest.$ac_objext'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; }; then
6053 echo "$as_me: failed program was:" >&5
6054 sed 's/^/| /' conftest.
$ac_ext >&5
6058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6059 if test "x$HAS_IXJ" != "x" ; then
6060 echo "$as_me:$LINENO: result: yes" >&5
6061 echo "${ECHO_T}yes" >&6
6062 cat >>confdefs.h
<<\_ACEOF
6068 echo "$as_me:$LINENO: result: no" >&5
6069 echo "${ECHO_T}no" >&6
6077 cat >>confdefs.h
<<\_ACEOF
6086 # Check whether --enable-vpb or --disable-vpb was given.
6087 if test "${enable_vpb+set}" = set; then
6088 enableval
="$enable_vpb"
6091 echo "$as_me:$LINENO: checking Voicetronix vpb" >&5
6092 echo $ECHO_N "checking Voicetronix vpb... $ECHO_C" >&6
6093 if test "$vpb" = "yes" ; then
6096 cat >>confdefs.h
<<\_ACEOF
6100 echo "$as_me:$LINENO: result: enabled" >&5
6101 echo "${ECHO_T}enabled" >&6
6104 cat >>confdefs.h
<<\_ACEOF
6111 echo "$as_me:$LINENO: result: disabled" >&5
6112 echo "${ECHO_T}disabled" >&6
6116 OLD_CPPFLAGS
=$CPPFLAGS
6117 CPPFLAGS
=-D__LINUX__
6121 for ac_header
in /usr
/local
/include
/libpri.h
6123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6125 echo "$as_me:$LINENO: checking for $ac_header" >&5
6126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6133 # Is the header compilable?
6134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6136 cat >conftest.
$ac_ext <<_ACEOF
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 $ac_includes_default
6143 #include <$ac_header>
6145 rm -f conftest.
$ac_objext
6146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6147 (eval $ac_compile) 2>conftest.er1
6149 grep -v '^ *+' conftest.er1
>conftest.err
6151 cat conftest.err
>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try
='test -z "$ac_c_werror_flag"
6155 || test ! -s conftest.err'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; } &&
6161 { ac_try
='test -s conftest.$ac_objext'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; }; then
6167 ac_header_compiler
=yes
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.
$ac_ext >&5
6172 ac_header_compiler
=no
6174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6176 echo "${ECHO_T}$ac_header_compiler" >&6
6178 # Is the header present?
6179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6184 cat confdefs.h
>>conftest.
$ac_ext
6185 cat >>conftest.
$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6187 #include <$ac_header>
6189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6192 grep -v '^ *+' conftest.er1
>conftest.err
6194 cat conftest.err
>&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } >/dev
/null
; then
6197 if test -s conftest.err
; then
6198 ac_cpp_err
=$ac_c_preproc_warn_flag
6199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6206 if test -z "$ac_cpp_err"; then
6207 ac_header_preproc
=yes
6209 echo "$as_me: failed program was:" >&5
6210 sed 's/^/| /' conftest.
$ac_ext >&5
6212 ac_header_preproc
=no
6214 rm -f conftest.err conftest.
$ac_ext
6215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6216 echo "${ECHO_T}$ac_header_preproc" >&6
6218 # So? What about this header?
6219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6225 ac_header_preproc
=yes
6228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6242 ## ------------------------------------------ ##
6243 ## Report this to the AC_PACKAGE_NAME lists. ##
6244 ## ------------------------------------------ ##
6247 sed "s/^/$as_me: WARNING: /" >&2
6250 echo "$as_me:$LINENO: checking for $ac_header" >&5
6251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 eval "$as_ac_Header=\$ac_header_preproc"
6257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6262 cat >>confdefs.h
<<_ACEOF
6263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6270 if test "x$HAS_SANGOMA" != "x" ; then
6272 for ac_header
in /usr
/local
/include
/libsangoma.h
6274 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276 echo "$as_me:$LINENO: checking for $ac_header" >&5
6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6284 # Is the header compilable?
6285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6290 cat confdefs.h
>>conftest.
$ac_ext
6291 cat >>conftest.
$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6294 #include <$ac_header>
6296 rm -f conftest.
$ac_objext
6297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6298 (eval $ac_compile) 2>conftest.er1
6300 grep -v '^ *+' conftest.er1
>conftest.err
6302 cat conftest.err
>&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); } &&
6305 { ac_try
='test -z "$ac_c_werror_flag"
6306 || test ! -s conftest.err'
6307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }; } &&
6312 { ac_try
='test -s conftest.$ac_objext'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 ac_header_compiler
=yes
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.
$ac_ext >&5
6323 ac_header_compiler
=no
6325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6327 echo "${ECHO_T}$ac_header_compiler" >&6
6329 # Is the header present?
6330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6332 cat >conftest.
$ac_ext <<_ACEOF
6335 cat confdefs.h
>>conftest.
$ac_ext
6336 cat >>conftest.
$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 #include <$ac_header>
6340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6343 grep -v '^ *+' conftest.er1
>conftest.err
6345 cat conftest.err
>&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } >/dev
/null
; then
6348 if test -s conftest.err
; then
6349 ac_cpp_err
=$ac_c_preproc_warn_flag
6350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6357 if test -z "$ac_cpp_err"; then
6358 ac_header_preproc
=yes
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.
$ac_ext >&5
6363 ac_header_preproc
=no
6365 rm -f conftest.err conftest.
$ac_ext
6366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6367 echo "${ECHO_T}$ac_header_preproc" >&6
6369 # So? What about this header?
6370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6376 ac_header_preproc
=yes
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6393 ## ------------------------------------------ ##
6394 ## Report this to the AC_PACKAGE_NAME lists. ##
6395 ## ------------------------------------------ ##
6398 sed "s/^/$as_me: WARNING: /" >&2
6401 echo "$as_me:$LINENO: checking for $ac_header" >&5
6402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 eval "$as_ac_Header=\$ac_header_preproc"
6408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6413 cat >>confdefs.h
<<_ACEOF
6414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6421 if test "x$HAS_SANGOMA" != "x" ; then
6422 echo "$as_me:$LINENO: checking for pri_new_cb in -lpri" >&5
6423 echo $ECHO_N "checking for pri_new_cb in -lpri... $ECHO_C" >&6
6424 if test "${ac_cv_lib_pri_pri_new_cb+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 ac_check_lib_save_LIBS
=$LIBS
6429 cat >conftest.
$ac_ext <<_ACEOF
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6436 /* Override any gcc2 internal prototype to avoid an error. */
6440 /* We use char because int might match the return type of a gcc2
6441 builtin and then its argument prototype would still apply. */
6451 rm -f conftest.
$ac_objext conftest
$ac_exeext
6452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6453 (eval $ac_link) 2>conftest.er1
6455 grep -v '^ *+' conftest.er1
>conftest.err
6457 cat conftest.err
>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } &&
6460 { ac_try
='test -z "$ac_c_werror_flag"
6461 || test ! -s conftest.err'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; } &&
6467 { ac_try
='test -s conftest$ac_exeext'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; }; then
6473 ac_cv_lib_pri_pri_new_cb
=yes
6475 echo "$as_me: failed program was:" >&5
6476 sed 's/^/| /' conftest.
$ac_ext >&5
6478 ac_cv_lib_pri_pri_new_cb
=no
6480 rm -f conftest.err conftest.
$ac_objext \
6481 conftest
$ac_exeext conftest.
$ac_ext
6482 LIBS
=$ac_check_lib_save_LIBS
6484 echo "$as_me:$LINENO: result: $ac_cv_lib_pri_pri_new_cb" >&5
6485 echo "${ECHO_T}$ac_cv_lib_pri_pri_new_cb" >&6
6486 if test $ac_cv_lib_pri_pri_new_cb = yes; then
6490 if test "x$HAS_SANGOMA" = "x" ; then
6491 { echo "$as_me:$LINENO: *** If the latest libri is installed in /usr/local/lib" >&5
6492 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
;}
6494 echo "$as_me:$LINENO: checking for sangoma_create_socket in -lsangoma" >&5
6495 echo $ECHO_N "checking for sangoma_create_socket in -lsangoma... $ECHO_C" >&6
6496 if test "${ac_cv_lib_sangoma_sangoma_create_socket+set}" = set; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6499 ac_check_lib_save_LIBS
=$LIBS
6500 LIBS
="-lsangoma $LIBS"
6501 cat >conftest.
$ac_ext <<_ACEOF
6504 cat confdefs.h
>>conftest.
$ac_ext
6505 cat >>conftest.
$ac_ext <<_ACEOF
6506 /* end confdefs.h. */
6508 /* Override any gcc2 internal prototype to avoid an error. */
6512 /* We use char because int might match the return type of a gcc2
6513 builtin and then its argument prototype would still apply. */
6514 char sangoma_create_socket ();
6518 sangoma_create_socket ();
6523 rm -f conftest.
$ac_objext conftest
$ac_exeext
6524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6525 (eval $ac_link) 2>conftest.er1
6527 grep -v '^ *+' conftest.er1
>conftest.err
6529 cat conftest.err
>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } &&
6532 { ac_try
='test -z "$ac_c_werror_flag"
6533 || test ! -s conftest.err'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; } &&
6539 { ac_try
='test -s conftest$ac_exeext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6545 ac_cv_lib_sangoma_sangoma_create_socket
=yes
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.
$ac_ext >&5
6550 ac_cv_lib_sangoma_sangoma_create_socket
=no
6552 rm -f conftest.err conftest.
$ac_objext \
6553 conftest
$ac_exeext conftest.
$ac_ext
6554 LIBS
=$ac_check_lib_save_LIBS
6556 echo "$as_me:$LINENO: result: $ac_cv_lib_sangoma_sangoma_create_socket" >&5
6557 echo "${ECHO_T}$ac_cv_lib_sangoma_sangoma_create_socket" >&6
6558 if test $ac_cv_lib_sangoma_sangoma_create_socket = yes; then
6562 if test "x$HAS_SANGOMA" != "x" ; then
6563 cat >>confdefs.h
<<\_ACEOF
6564 #define HAS_SANGOMA 1
6574 CPPFLAGS
=$OLD_CPPFLAGS
6582 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6583 if test -f $ac_dir/install-sh
; then
6585 ac_install_sh
="$ac_aux_dir/install-sh -c"
6587 elif test -f $ac_dir/install.sh
; then
6589 ac_install_sh
="$ac_aux_dir/install.sh -c"
6591 elif test -f $ac_dir/shtool
; then
6593 ac_install_sh
="$ac_aux_dir/shtool install -c"
6597 if test -z "$ac_aux_dir"; then
6598 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6599 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6600 { (exit 1); exit 1; }; }
6602 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6603 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6604 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6606 # Find a good install program. We prefer a C program (faster),
6607 # so one script is as good as another. But avoid the broken or
6608 # incompatible versions:
6609 # SysV /etc/install, /usr/sbin/install
6610 # SunOS /usr/etc/install
6611 # IRIX /sbin/install
6613 # AmigaOS /C/install, which installs bootblocks on floppy discs
6614 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6615 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6616 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6617 # OS/2's system install, which has a completely different semantic
6618 # ./install, which can be erroneously created by make from ./install.sh.
6619 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6620 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6621 if test -z "$INSTALL"; then
6622 if test "${ac_cv_path_install+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir
=.
6630 # Account for people who put trailing slashes in PATH elements.
6632 .
/ | .
// |
/cC
/* | \
6633 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6634 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6637 # OSF1 and SCO ODT 3.0 have their own names for install.
6638 # Don't use installbsd from OSF since it installs stuff as root
6640 for ac_prog
in ginstall scoinst
install; do
6641 for ac_exec_ext
in '' $ac_executable_extensions; do
6642 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6643 if test $ac_prog = install &&
6644 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6645 # AIX install. It has an incompatible calling convention.
6647 elif test $ac_prog = install &&
6648 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6649 # program-specific install script used by HP pwplus--don't use.
6652 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6664 if test "${ac_cv_path_install+set}" = set; then
6665 INSTALL
=$ac_cv_path_install
6667 # As a last resort, use the slow shell script. We don't cache a
6668 # path for INSTALL within a source directory, because that will
6669 # break other packages using the cache if that directory is
6670 # removed, or if the path is relative.
6671 INSTALL
=$ac_install_sh
6674 echo "$as_me:$LINENO: result: $INSTALL" >&5
6675 echo "${ECHO_T}$INSTALL" >&6
6677 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6678 # It thinks the first close brace ends the variable substitution.
6679 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6681 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6683 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6689 subdirs
="$subdirs plugins"
6693 ac_config_files
="$ac_config_files opal_inc.mak"
6695 ac_config_files
="$ac_config_files Makefile"
6697 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6700 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6701 cat >confcache
<<\_ACEOF
6702 # This file is a shell script that caches the results of configure
6703 # tests run on this system so they can be shared between configure
6704 # scripts and configure runs, see configure's option --config-cache.
6705 # It is not useful on other systems. If it contains results you don't
6706 # want to keep, you may remove or edit it.
6708 # config.status only pays attention to the cache file if you give it
6709 # the --recheck option to rerun configure.
6711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6717 # The following way of writing the cache mishandles newlines in values,
6718 # but we know of no workaround that is simple, portable, and efficient.
6719 # So, don't put newlines in cache variables' values.
6720 # Ultrix sh set writes to stderr and can't be redirected directly,
6721 # and sets the high bit in the cache file unless we assign to the vars.
6724 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6726 # `set' does not quote correctly, so add quotes (double-quote
6727 # substitution turns \\\\ into \\, and sed turns \\ into \).
6730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6733 # `set' quotes correctly as required by POSIX, so do not add quotes.
6735 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6744 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6746 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6747 if test -w $cache_file; then
6748 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6749 cat confcache
>$cache_file
6751 echo "not updating unwritable cache $cache_file"
6756 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6757 # Let make expand exec_prefix.
6758 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6760 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6761 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6762 # trailing colons and then remove the whole line if VPATH becomes empty
6763 # (actually we leave an empty line to preserve line numbers).
6764 if test "x$srcdir" = x.
; then
6765 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6766 s/:*\$(srcdir):*/:/;
6767 s/:*\${srcdir}:*/:/;
6769 s/^\([^=]*=[ ]*\):*/\1/;
6775 DEFS
=-DHAVE_CONFIG_H
6779 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6780 # 1. Remove the extension, and $U if already installed.
6781 ac_i
=`echo "$ac_i" |
6782 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6784 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6785 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6789 LTLIBOBJS
=$ac_ltlibobjs
6793 : ${CONFIG_STATUS=./config.status}
6794 ac_clean_files_save
=$ac_clean_files
6795 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6796 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6797 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6798 cat >$CONFIG_STATUS <<_ACEOF
6800 # Generated by $as_me.
6801 # Run this file to recreate the current configuration.
6802 # Compiler output produced by configure, useful for debugging
6803 # configure, is in config.log if it exists.
6808 SHELL=\${CONFIG_SHELL-$SHELL}
6811 cat >>$CONFIG_STATUS <<\_ACEOF
6812 ## --------------------- ##
6813 ## M4sh Initialization. ##
6814 ## --------------------- ##
6816 # Be Bourne compatible
6817 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6820 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6821 # is contrary to our usage. Disable this feature.
6822 alias -g '${1+"$@"}'='"$@"'
6823 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6826 DUALCASE
=1; export DUALCASE
# for MKS sh
6828 # Support unset when possible.
6829 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6836 # Work around bugs in pre-3.0 UWIN ksh.
6837 $as_unset ENV MAIL MAILPATH
6844 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6845 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6846 LC_TELEPHONE LC_TIME
6848 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6849 eval $as_var=C
; export $as_var
6855 # Required to use basename.
6856 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6862 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6863 as_basename
=basename
6869 # Name of the executable.
6870 as_me
=`$as_basename "$0" ||
6871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6872 X"$0" : 'X\(//\)$' \| \
6873 X"$0" : 'X\(/\)$' \| \
6874 . : '\(.\)' 2>/dev/null ||
6876 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6877 /^X\/\(\/\/\)$/{ s//\1/; q; }
6878 /^X\/\(\/\).*/{ s//\1/; q; }
6882 # PATH needs CR, and LINENO needs CR and PATH.
6883 # Avoid depending upon Character Ranges.
6884 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6885 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6886 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6887 as_cr_digits
='0123456789'
6888 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6890 # The user is always right.
6891 if test "${PATH_SEPARATOR+set}" != set; then
6892 echo "#! /bin/sh" >conf$$.sh
6893 echo "exit 0" >>conf$$.sh
6895 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6906 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6907 test "x$as_lineno_1" != "x$as_lineno_2" &&
6908 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6909 # Find who we are. Look in the path if we contain no path at all
6912 *[\\/]* ) as_myself
=$0 ;;
6913 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir
=.
6918 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6923 # We did not find ourselves, most probably we were run as `sh COMMAND'
6924 # in which case we are not to be found in the path.
6925 if test "x$as_myself" = x
; then
6928 if test ! -f "$as_myself"; then
6929 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6930 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6931 { (exit 1); exit 1; }; }
6933 case $CONFIG_SHELL in
6935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6936 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6939 test -z "$as_dir" && as_dir
=.
6940 for as_base
in sh bash ksh sh5
; do
6943 if ("$as_dir/$as_base" -c '
6946 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6947 test "x$as_lineno_1" != "x$as_lineno_2" &&
6948 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6949 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6950 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6951 CONFIG_SHELL
=$as_dir/$as_base
6953 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6961 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6962 # uniformly replaced by the line number. The first 'sed' inserts a
6963 # line-number line before each line; the second 'sed' does the real
6964 # work. The second script uses 'N' to pair each line-number line
6965 # with the numbered line, and appends trailing '-' during
6966 # substitution so that $LINENO is not a special case at line end.
6967 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6968 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6969 sed '=' <$as_myself |
6974 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6977 s,^['$as_cr_digits']*\n,,
6979 chmod +x
$as_me.lineno ||
6980 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6981 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6982 { (exit 1); exit 1; }; }
6984 # Don't try to exec as it changes $[0], causing all sort of problems
6985 # (the dirname of $[0] is not the place where we might find the
6986 # original and so on. Autoconf is especially sensible to this).
6988 # Exit status is that of the last command.
6993 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6994 *c
*,-n*) ECHO_N
= ECHO_C
='
6996 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6997 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7000 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7006 rm -f conf$$ conf$$.exe conf$$.
file
7008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7009 # We could just check for DJGPP; but this test a) works b) is more generic
7010 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7011 if test -f conf$$.exe
; then
7012 # Don't use ln at all; we don't have any links
7017 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7022 rm -f conf$$ conf$$.exe conf$$.
file
7024 if mkdir
-p .
2>/dev
/null
; then
7027 test -d .
/-p && rmdir .
/-p
7031 as_executable_p
="test -f"
7033 # Sed expression to map a string onto a valid CPP name.
7034 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7036 # Sed expression to map a string onto a valid variable name.
7037 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7041 # We need space, tab and new line, in precisely that order.
7051 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7052 # report actual input values of CONFIG_FILES etc. instead of their
7053 # values after options handling. Logging --version etc. is OK.
7057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7058 ## Running $as_me. ##
7063 This file was extended by $as_me, which was
7064 generated by GNU Autoconf 2.59. Invocation command line was
7066 CONFIG_FILES = $CONFIG_FILES
7067 CONFIG_HEADERS = $CONFIG_HEADERS
7068 CONFIG_LINKS = $CONFIG_LINKS
7069 CONFIG_COMMANDS = $CONFIG_COMMANDS
7073 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7077 # Files that config.status was made for.
7078 if test -n "$ac_config_files"; then
7079 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7082 if test -n "$ac_config_headers"; then
7083 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7086 if test -n "$ac_config_links"; then
7087 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7090 if test -n "$ac_config_commands"; then
7091 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7094 cat >>$CONFIG_STATUS <<\_ACEOF
7097 \`$as_me' instantiates files from templates according to the
7098 current configuration.
7100 Usage: $0 [OPTIONS] [FILE]...
7102 -h, --help print this help, then exit
7103 -V, --version print version number, then exit
7104 -q, --quiet do not print progress messages
7105 -d, --debug don't remove temporary files
7106 --recheck update $as_me by reconfiguring in the same conditions
7107 --file=FILE[:TEMPLATE]
7108 instantiate the configuration file FILE
7109 --header=FILE[:TEMPLATE]
7110 instantiate the configuration header FILE
7112 Configuration files:
7115 Configuration headers:
7118 Report bugs to <bug-autoconf@gnu.org>."
7121 cat >>$CONFIG_STATUS <<_ACEOF
7124 configured by $0, generated by GNU Autoconf 2.59,
7125 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7127 Copyright (C) 2003 Free Software Foundation, Inc.
7128 This config.status script is free software; the Free Software Foundation
7129 gives unlimited permission to copy, distribute and modify it."
7134 cat >>$CONFIG_STATUS <<\_ACEOF
7135 # If no file are specified by the user, then we need to provide default
7136 # value. By we need to know if files were specified by the user.
7142 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7143 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7151 *) # This is not an option, so the user has probably given explicit
7154 ac_need_defaults
=false
;;
7158 # Handling of the options.
7160 cat >>$CONFIG_STATUS <<\_ACEOF
7161 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7163 --version |
--vers* |
-V )
7164 echo "$ac_cs_version"; exit 0 ;;
7166 # Conflict between --help and --header
7167 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7168 Try \`$0 --help' for more information." >&5
7169 echo "$as_me: error: ambiguous option: $1
7170 Try \`$0 --help' for more information." >&2;}
7171 { (exit 1); exit 1; }; };;
7172 --help |
--hel |
-h )
7173 echo "$ac_cs_usage"; exit 0 ;;
7174 --debug |
--d* |
-d )
7176 --file |
--fil |
--fi |
--f )
7178 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7179 ac_need_defaults
=false
;;
7180 --header |
--heade |
--head |
--hea )
7182 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7183 ac_need_defaults
=false
;;
7184 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7185 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7189 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7190 Try \`$0 --help' for more information." >&5
7191 echo "$as_me: error: unrecognized option: $1
7192 Try \`$0 --help' for more information." >&2;}
7193 { (exit 1); exit 1; }; } ;;
7195 *) ac_config_targets
="$ac_config_targets $1" ;;
7201 ac_configure_extra_args
=
7203 if $ac_cs_silent; then
7205 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7209 cat >>$CONFIG_STATUS <<_ACEOF
7210 if \$ac_cs_recheck; then
7211 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7212 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7221 cat >>$CONFIG_STATUS <<\_ACEOF
7222 for ac_config_target
in $ac_config_targets
7224 case "$ac_config_target" in
7225 # Handling of arguments.
7226 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
7227 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7228 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
7229 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
7230 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7231 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7232 { (exit 1); exit 1; }; };;
7236 # If the user did not use the arguments to specify the items to instantiate,
7237 # then the envvar interface is used. Set only those that are not.
7238 # We use the long form for the default assignment because of an extremely
7239 # bizarre bug on SunOS 4.1.3.
7240 if $ac_need_defaults; then
7241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7245 # Have a temporary directory for convenience. Make it in the build tree
7246 # simply because there is no reason to put it here, and in addition,
7247 # creating and moving files from /tmp can sometimes cause problems.
7248 # Create a temporary directory, and hook for its removal unless debugging.
7251 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7252 trap '{ (exit 1); exit 1; }' 1 2 13 15
7255 # Create a (secure) tmp directory for tmp files.
7258 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7259 test -n "$tmp" && test -d "$tmp"
7262 tmp
=.
/confstat$$
-$RANDOM
7263 (umask 077 && mkdir
$tmp)
7266 echo "$me: cannot create a temporary directory in ." >&2
7267 { (exit 1); exit 1; }
7272 cat >>$CONFIG_STATUS <<_ACEOF
7275 # CONFIG_FILES section.
7278 # No need to generate the scripts if there are no CONFIG_FILES.
7279 # This happens for instance when ./config.status config.h
7280 if test -n "\$CONFIG_FILES"; then
7281 # Protect against being on the right side of a sed subst in config.status.
7282 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7283 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7284 s,@SHELL@,$SHELL,;t t
7285 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7286 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7287 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7288 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7289 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7290 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7291 s,@exec_prefix@,$exec_prefix,;t t
7292 s,@prefix@,$prefix,;t t
7293 s,@program_transform_name@,$program_transform_name,;t t
7294 s,@bindir@,$bindir,;t t
7295 s,@sbindir@,$sbindir,;t t
7296 s,@libexecdir@,$libexecdir,;t t
7297 s,@datadir@,$datadir,;t t
7298 s,@sysconfdir@,$sysconfdir,;t t
7299 s,@sharedstatedir@,$sharedstatedir,;t t
7300 s,@localstatedir@,$localstatedir,;t t
7301 s,@libdir@,$libdir,;t t
7302 s,@includedir@,$includedir,;t t
7303 s,@oldincludedir@,$oldincludedir,;t t
7304 s,@infodir@,$infodir,;t t
7305 s,@mandir@,$mandir,;t t
7306 s,@build_alias@,$build_alias,;t t
7307 s,@host_alias@,$host_alias,;t t
7308 s,@target_alias@,$target_alias,;t t
7310 s,@ECHO_C@,$ECHO_C,;t t
7311 s,@ECHO_N@,$ECHO_N,;t t
7312 s,@ECHO_T@,$ECHO_T,;t t
7315 s,@CFLAGS@,$CFLAGS,;t t
7316 s,@LDFLAGS@,$LDFLAGS,;t t
7317 s,@CPPFLAGS@,$CPPFLAGS,;t t
7318 s,@ac_ct_CC@,$ac_ct_CC,;t t
7319 s,@EXEEXT@,$EXEEXT,;t t
7320 s,@OBJEXT@,$OBJEXT,;t t
7322 s,@CXXFLAGS@,$CXXFLAGS,;t t
7323 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7324 s,@OPALDIR@,$OPALDIR,;t t
7325 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7326 s,@LIBDIR@,$LIBDIR,;t t
7327 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
7328 s,@PWLIBDIR@,$PWLIBDIR,;t t
7330 s,@EGREP@,$EGREP,;t t
7331 s,@SIZE16@,$SIZE16,;t t
7332 s,@SIZE32@,$SIZE32,;t t
7333 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
7334 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
7335 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
7336 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
7337 s,@OPAL_SIP@,$OPAL_SIP,;t t
7338 s,@OPAL_H323@,$OPAL_H323,;t t
7339 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
7340 s,@OPAL_H224@,$OPAL_H224,;t t
7341 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
7342 s,@H323_H460@,$H323_H460,;t t
7343 s,@HAS_IXJ@,$HAS_IXJ,;t t
7344 s,@OPAL_LID@,$OPAL_LID,;t t
7345 s,@HAS_VPB@,$HAS_VPB,;t t
7346 s,@HAS_SANGOMA@,$HAS_SANGOMA,;t t
7347 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7348 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7349 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7350 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7351 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7352 s,@subdirs@,$subdirs,;t t
7353 s,@LIBOBJS@,$LIBOBJS,;t t
7354 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7359 cat >>$CONFIG_STATUS <<\_ACEOF
7360 # Split the substitutions into bite-sized pieces for seds with
7361 # small command number limits, like on Digital OSF/1 and HP-UX.
7363 ac_sed_frag
=1 # Number of current file.
7364 ac_beg
=1 # First line for current file.
7365 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7368 while $ac_more_lines; do
7369 if test $ac_beg -gt 1; then
7370 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7372 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7374 if test ! -s $tmp/subs.frag
; then
7377 # The purpose of the label and of the branching condition is to
7378 # speed up the sed processing (if there are no `@' at all, there
7379 # is no need to browse any of the substitutions).
7380 # These are the two extra sed commands mentioned above.
7382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7383 if test -z "$ac_sed_cmds"; then
7384 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7386 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7388 ac_sed_frag
=`expr $ac_sed_frag + 1`
7390 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7393 if test -z "$ac_sed_cmds"; then
7396 fi # test -n "$CONFIG_FILES"
7399 cat >>$CONFIG_STATUS <<\_ACEOF
7400 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7401 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7403 - |
*:- |
*:-:* ) # input from stdin
7405 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7406 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7407 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7408 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7409 * ) ac_file_in
=$ac_file.
in ;;
7412 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7413 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7414 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7415 X"$ac_file" : 'X\(//\)[^/]' \| \
7416 X"$ac_file" : 'X\(//\)$' \| \
7417 X"$ac_file" : 'X\(/\)' \| \
7418 . : '\(.\)' 2>/dev/null ||
7420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7422 /^X\(\/\/\)$/{ s//\1/; q; }
7423 /^X\(\/\).*/{ s//\1/; q; }
7425 { if $as_mkdir_p; then
7430 while test ! -d "$as_dir"; do
7431 as_dirs
="$as_dir $as_dirs"
7432 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7434 X"$as_dir" : 'X\(//\)[^/]' \| \
7435 X"$as_dir" : 'X\(//\)$' \| \
7436 X"$as_dir" : 'X\(/\)' \| \
7437 . : '\(.\)' 2>/dev/null ||
7439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7441 /^X\(\/\/\)$/{ s//\1/; q; }
7442 /^X\(\/\).*/{ s//\1/; q; }
7445 test ! -n "$as_dirs" || mkdir
$as_dirs
7446 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7447 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7448 { (exit 1); exit 1; }; }; }
7452 if test "$ac_dir" != .
; then
7453 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7454 # A "../" for each directory in $ac_dir_suffix.
7455 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7457 ac_dir_suffix
= ac_top_builddir
=
7461 .
) # No --srcdir option. We are building in place.
7463 if test -z "$ac_top_builddir"; then
7466 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7468 [\\/]* | ?
:[\\/]* ) # Absolute path.
7469 ac_srcdir
=$srcdir$ac_dir_suffix;
7470 ac_top_srcdir
=$srcdir ;;
7472 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7473 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7476 # Do not use `cd foo && pwd` to compute absolute paths, because
7477 # the directories may not exist.
7479 .
) ac_abs_builddir
="$ac_dir";;
7482 .
) ac_abs_builddir
=`pwd`;;
7483 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7484 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7487 case $ac_abs_builddir in
7488 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7490 case ${ac_top_builddir}.
in
7491 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7492 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7493 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7496 case $ac_abs_builddir in
7497 .
) ac_abs_srcdir
=$ac_srcdir;;
7500 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7501 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7502 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7505 case $ac_abs_builddir in
7506 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7508 case $ac_top_srcdir in
7509 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7510 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7511 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7517 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7518 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7521 if test x
"$ac_file" != x-
; then
7522 { echo "$as_me:$LINENO: creating $ac_file" >&5
7523 echo "$as_me: creating $ac_file" >&6;}
7526 # Let's still pretend it is `configure' which instantiates (i.e., don't
7527 # use $as_me), people would be surprised to read:
7528 # /* config.h. Generated by config.status. */
7529 if test x
"$ac_file" = x-
; then
7532 configure_input
="$ac_file. "
7534 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7535 sed 's,.*/,,'` by configure."
7537 # First look for the input files in the build tree, otherwise in the
7539 ac_file_inputs
=`IFS=:
7540 for f in $ac_file_in; do
7542 -) echo $tmp/stdin ;;
7544 # Absolute (can't be DOS-style, as IFS=:)
7545 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7546 echo "$as_me: error: cannot find input file: $f" >&2;}
7547 { (exit 1); exit 1; }; }
7550 if test -f "$f"; then
7553 elif test -f "$srcdir/$f"; then
7558 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7559 echo "$as_me: error: cannot find input file: $f" >&2;}
7560 { (exit 1); exit 1; }; }
7563 done` ||
{ (exit 1); exit 1; }
7565 cat >>$CONFIG_STATUS <<_ACEOF
7569 cat >>$CONFIG_STATUS <<\_ACEOF
7571 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7572 s
,@configure_input@
,$configure_input,;t t
7573 s
,@srcdir@
,$ac_srcdir,;t t
7574 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7575 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7576 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7577 s
,@builddir@
,$ac_builddir,;t t
7578 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7579 s
,@top_builddir@
,$ac_top_builddir,;t t
7580 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7581 s
,@INSTALL@
,$ac_INSTALL,;t t
7582 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7584 if test x"$ac_file" != x-; then
7585 mv $tmp/out $ac_file
7593 cat >>$CONFIG_STATUS <<\_ACEOF
7596 # CONFIG_HEADER section.
7599 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7600 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7602 # ac_d sets the value in "#define NAME VALUE" lines.
7603 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7604 ac_dB
='[ ].*$,\1#\2'
7607 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7608 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7609 ac_uB
='$,\1#\2define\3'
7613 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7614 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7616 - |
*:- |
*:-:* ) # input from stdin
7618 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7619 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7620 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7621 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7622 * ) ac_file_in
=$ac_file.
in ;;
7625 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7626 echo "$as_me: creating $ac_file" >&6;}
7628 # First look for the input files in the build tree, otherwise in the
7630 ac_file_inputs
=`IFS=:
7631 for f in $ac_file_in; do
7633 -) echo $tmp/stdin ;;
7635 # Absolute (can't be DOS-style, as IFS=:)
7636 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7637 echo "$as_me: error: cannot find input file: $f" >&2;}
7638 { (exit 1); exit 1; }; }
7639 # Do quote $f, to prevent DOS paths from being IFS'd.
7642 if test -f "$f"; then
7645 elif test -f "$srcdir/$f"; then
7650 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7651 echo "$as_me: error: cannot find input file: $f" >&2;}
7652 { (exit 1); exit 1; }; }
7655 done` ||
{ (exit 1); exit 1; }
7656 # Remove the trailing spaces.
7657 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7661 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7662 # `conftest.undefs', that substitutes the proper values into
7663 # config.h.in to produce config.h. The first handles `#define'
7664 # templates, and the second `#undef' templates.
7665 # And first: Protect against being on the right side of a sed subst in
7666 # config.status. Protect against being in an unquoted here document
7668 rm -f conftest.defines conftest.undefs
7669 # Using a here document instead of a string reduces the quoting nightmare.
7670 # Putting comments in sed scripts is not portable.
7672 # `end' is used to avoid that the second main sed command (meant for
7673 # 0-ary CPP macros) applies to n-ary macro definitions.
7674 # See the Autoconf documentation for `clear'.
7675 cat >confdef2sed.
sed <<\_ACEOF
7680 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7682 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7685 # If some macros were called several times there might be several times
7686 # the same #defines, which is useless. Nevertheless, we may not want to
7687 # sort them, since we want the *last* AC-DEFINE to be honored.
7688 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7689 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7690 rm -f confdef2sed.sed
7692 # This sed command replaces #undef with comments. This is necessary, for
7693 # example, in the case of _POSIX_SOURCE, which is predefined and required
7694 # on some systems where configure will not decide to define it.
7695 cat >>conftest.undefs <<\_ACEOF
7696 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7699 # Break up conftest.defines because some shells have a limit on the size
7700 # of here documents, and old seds have small limits too (100 cmds).
7701 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7702 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7703 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7704 echo ' :' >>$CONFIG_STATUS
7706 while grep . conftest.defines >/dev/null
7708 # Write a limited-size here document to $tmp/defines.sed.
7709 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7710 # Speed up: don't consider the non `#define' lines.
7711 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7712 # Work around the forget-to-reset-the-flag bug.
7713 echo 't clr' >>$CONFIG_STATUS
7714 echo ': clr' >>$CONFIG_STATUS
7715 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7717 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7721 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7722 rm -f conftest.defines
7723 mv conftest.
tail conftest.defines
7725 rm -f conftest.defines
7726 echo ' fi # grep' >>$CONFIG_STATUS
7727 echo >>$CONFIG_STATUS
7729 # Break up conftest.undefs because some shells have a limit on the size
7730 # of here documents, and old seds have small limits too (100 cmds).
7731 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7733 while grep . conftest.undefs
>/dev
/null
7735 # Write a limited-size here document to $tmp/undefs.sed.
7736 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7737 # Speed up: don't consider the non
`#undef'
7738 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7739 # Work around the forget-to-reset-the-flag bug.
7740 echo 't clr' >>$CONFIG_STATUS
7741 echo ': clr' >>$CONFIG_STATUS
7742 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7744 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7748 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7749 rm -f conftest.undefs
7750 mv conftest.tail conftest.undefs
7752 rm -f conftest.undefs
7754 cat >>$CONFIG_STATUS <<\_ACEOF
7755 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7756 # use $as_me), people would be surprised to read:
7757 # /* config.h. Generated by config.status. */
7758 if test x
"$ac_file" = x-
; then
7759 echo "/* Generated by configure. */" >$tmp/config.h
7761 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7763 cat $tmp/in >>$tmp/config.h
7765 if test x
"$ac_file" != x-
; then
7766 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7767 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7768 echo "$as_me: $ac_file is unchanged" >&6;}
7770 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7772 X"$ac_file" : 'X\(//\)[^/]' \| \
7773 X"$ac_file" : 'X\(//\)$' \| \
7774 X"$ac_file" : 'X\(/\)' \| \
7775 . : '\(.\)' 2>/dev/null ||
7777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7779 /^X\(\/\/\)$/{ s//\1/; q; }
7780 /^X\(\/\).*/{ s//\1/; q; }
7782 { if $as_mkdir_p; then
7787 while test ! -d "$as_dir"; do
7788 as_dirs
="$as_dir $as_dirs"
7789 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7791 X"$as_dir" : 'X\(//\)[^/]' \| \
7792 X"$as_dir" : 'X\(//\)$' \| \
7793 X"$as_dir" : 'X\(/\)' \| \
7794 . : '\(.\)' 2>/dev/null ||
7796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7798 /^X\(\/\/\)$/{ s//\1/; q; }
7799 /^X\(\/\).*/{ s//\1/; q; }
7802 test ! -n "$as_dirs" || mkdir
$as_dirs
7803 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7804 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7805 { (exit 1); exit 1; }; }; }
7808 mv $tmp/config.h
$ac_file
7817 cat >>$CONFIG_STATUS <<\_ACEOF
7819 { (exit 0); exit 0; }
7821 chmod +x
$CONFIG_STATUS
7822 ac_clean_files
=$ac_clean_files_save
7825 # configure is writing to config.log, and then calls config.status.
7826 # config.status does its own redirection, appending to config.log.
7827 # Unfortunately, on DOS this fails, as config.log is still kept open
7828 # by configure, so config.status won't be able to write to it; its
7829 # output is simply discarded. So we exec the FD to /dev/null,
7830 # effectively closing config.log, so it can be properly (re)opened and
7831 # appended to by config.status. When coming back to configure, we
7832 # need to make the FD available again.
7833 if test "$no_create" != yes; then
7835 ac_config_status_args
=
7836 test "$silent" = yes &&
7837 ac_config_status_args
="$ac_config_status_args --quiet"
7839 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7841 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7842 # would make configure fail if this is the last instruction.
7843 $ac_cs_success ||
{ (exit 1); exit 1; }
7847 # CONFIG_SUBDIRS section.
7849 if test "$no_recursion" != yes; then
7851 # Remove --cache-file and --srcdir arguments so they do not pile up.
7852 ac_sub_configure_args
=
7854 for ac_arg
in $ac_configure_args; do
7855 if test -n "$ac_prev"; then
7860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7862 ac_prev
=cache_file
;;
7863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7867 --config-cache |
-C)
7869 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7871 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7873 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7875 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7877 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7881 # Always prepend --prefix to ensure using the same prefix
7882 # in subdir configurations.
7883 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7886 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7888 # Do not complain, so a configure script can configure whichever
7889 # parts of a large source tree are present.
7890 test -d $srcdir/$ac_dir ||
continue
7892 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7893 echo "$as_me: configuring in $ac_dir" >&6;}
7894 { if $as_mkdir_p; then
7899 while test ! -d "$as_dir"; do
7900 as_dirs
="$as_dir $as_dirs"
7901 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7903 X"$as_dir" : 'X\(//\)[^/]' \| \
7904 X"$as_dir" : 'X\(//\)$' \| \
7905 X"$as_dir" : 'X\(/\)' \| \
7906 . : '\(.\)' 2>/dev/null ||
7908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7910 /^X\(\/\/\)$/{ s//\1/; q; }
7911 /^X\(\/\).*/{ s//\1/; q; }
7914 test ! -n "$as_dirs" || mkdir
$as_dirs
7915 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7916 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7917 { (exit 1); exit 1; }; }; }
7921 if test "$ac_dir" != .
; then
7922 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7923 # A "../" for each directory in $ac_dir_suffix.
7924 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7926 ac_dir_suffix
= ac_top_builddir
=
7930 .
) # No --srcdir option. We are building in place.
7932 if test -z "$ac_top_builddir"; then
7935 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7937 [\\/]* | ?
:[\\/]* ) # Absolute path.
7938 ac_srcdir
=$srcdir$ac_dir_suffix;
7939 ac_top_srcdir
=$srcdir ;;
7941 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7942 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7945 # Do not use `cd foo && pwd` to compute absolute paths, because
7946 # the directories may not exist.
7948 .
) ac_abs_builddir
="$ac_dir";;
7951 .
) ac_abs_builddir
=`pwd`;;
7952 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7953 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7956 case $ac_abs_builddir in
7957 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7959 case ${ac_top_builddir}.
in
7960 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7961 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7962 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7965 case $ac_abs_builddir in
7966 .
) ac_abs_srcdir
=$ac_srcdir;;
7969 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7970 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7971 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7974 case $ac_abs_builddir in
7975 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7977 case $ac_top_srcdir in
7978 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7979 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7980 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7987 # Check for guested configure; otherwise get Cygnus style configure.
7988 if test -f $ac_srcdir/configure.gnu
; then
7989 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7990 elif test -f $ac_srcdir/configure
; then
7991 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7992 elif test -f $ac_srcdir/configure.
in; then
7993 ac_sub_configure
=$ac_configure
7995 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8000 # The recursion is here.
8001 if test -n "$ac_sub_configure"; then
8002 # Make the cache file name correct relative to the subdirectory.
8004 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8006 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
8009 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8010 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8011 # The eval makes quoting arguments work.
8012 eval $ac_sub_configure $ac_sub_configure_args \
8013 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
8014 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8015 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8016 { (exit 1); exit 1; }; }