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 OPAL_LID OPAL_IVR OPAL_SRTP HAS_LIBSRTP 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-audio disable audio codec support
855 --disable-video disable video codec support
856 --disable-sip disable SIP protocol support
857 --disable-h323 disable H
.323 protocol support
858 --disable-iax disable IAX2 protocol support
859 --disable-h224 disable H
.224 protocol support
860 --disable-t38 disable T
.38 protocol support
861 --disable-h460 disable H
.460
862 --disable-lid disable LID support
863 --disable-ivr disable IVR support
865 Some influential environment variables
:
866 CC C compiler
command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
869 nonstandard directory
<lib dir
>
870 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
871 headers
in a nonstandard directory
<include dir
>
872 CXX C
++ compiler
command
873 CXXFLAGS C
++ compiler flags
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 ac_cpp='$CPP $CPPFLAGS'
1317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1318 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1320 if test -n "$ac_tool_prefix"; then
1321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1323 echo "$as_me:$LINENO: checking for $ac_word" >&5
1324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1325 if test "${ac_cv_prog_CC+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 if test -n "$CC"; then
1329 ac_cv_prog_CC="$CC" # Let the user override the test.
1331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335 test -z "$as_dir" && as_dir=.
1336 for ac_exec_ext in '' $ac_executable_extensions; do
1337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1338 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1348 if test -n "$CC"; then
1349 echo "$as_me:$LINENO: result: $CC" >&5
1350 echo "${ECHO_T}$CC" >&6
1352 echo "$as_me:$LINENO: result: no" >&5
1353 echo "${ECHO_T}no" >&6
1357 if test -z "$ac_cv_prog_CC"; then
1359 # Extract the first word of "gcc", so it can be a program name with args.
1360 set dummy gcc; ac_word=$2
1361 echo "$as_me:$LINENO: checking for $ac_word" >&5
1362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 if test -n "$ac_ct_CC"; then
1367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir=.
1374 for ac_exec_ext in '' $ac_executable_extensions; do
1375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1376 ac_cv_prog_ac_ct_CC="gcc"
1377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1385 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1386 if test -n "$ac_ct_CC"; then
1387 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1388 echo "${ECHO_T}$ac_ct_CC" >&6
1390 echo "$as_me:$LINENO: result: no" >&5
1391 echo "${ECHO_T}no" >&6
1399 if test -z "$CC"; then
1400 if test -n "$ac_tool_prefix"; then
1401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1402 set dummy ${ac_tool_prefix}cc; ac_word=$2
1403 echo "$as_me:$LINENO: checking for $ac_word" >&5
1404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1405 if test "${ac_cv_prog_CC+set}" = set; then
1406 echo $ECHO_N "(cached) $ECHO_C" >&6
1408 if test -n "$CC"; then
1409 ac_cv_prog_CC="$CC" # Let the user override the test.
1411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1415 test -z "$as_dir" && as_dir=.
1416 for ac_exec_ext in '' $ac_executable_extensions; do
1417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1418 ac_cv_prog_CC="${ac_tool_prefix}cc"
1419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1428 if test -n "$CC"; then
1429 echo "$as_me:$LINENO: result: $CC" >&5
1430 echo "${ECHO_T}$CC" >&6
1432 echo "$as_me:$LINENO: result: no" >&5
1433 echo "${ECHO_T}no" >&6
1437 if test -z "$ac_cv_prog_CC"; then
1439 # Extract the first word of "cc", so it can be a program name with args.
1440 set dummy cc; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$ac_ct_CC"; then
1447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_ac_ct_CC="cc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1466 if test -n "$ac_ct_CC"; then
1467 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1468 echo "${ECHO_T}$ac_ct_CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1480 if test -z "$CC"; then
1481 # Extract the first word of "cc", so it can be a program name with args.
1482 set dummy cc; ac_word=$2
1483 echo "$as_me:$LINENO: checking for $ac_word" >&5
1484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1485 if test "${ac_cv_prog_CC+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 if test -n "$CC"; then
1489 ac_cv_prog_CC="$CC" # Let the user override the test.
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 for ac_exec_ext in '' $ac_executable_extensions; do
1498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1500 ac_prog_rejected=yes
1504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 if test $ac_prog_rejected = yes; then
1511 # We found a bogon in the path, so make sure we never use it.
1512 set dummy $ac_cv_prog_CC
1514 if test $# != 0; then
1515 # We chose a different compiler from the bogus one.
1516 # However, it has the same basename, so the bogon will be chosen
1517 # first if we set CC to just the basename; use the full file name.
1519 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1525 if test -n "$CC"; then
1526 echo "$as_me:$LINENO: result: $CC" >&5
1527 echo "${ECHO_T}$CC" >&6
1529 echo "$as_me:$LINENO: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 if test -n "$ac_tool_prefix"; then
1538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC="$CC" # Let the user override the test.
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1573 test -n "$CC" && break
1576 if test -z "$CC"; then
1580 # Extract the first word of "$ac_prog", so it can be a program name with args.
1581 set dummy $ac_prog; ac_word=$2
1582 echo "$as_me:$LINENO: checking for $ac_word" >&5
1583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 if test -n "$ac_ct_CC"; then
1588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir=.
1595 for ac_exec_ext in '' $ac_executable_extensions; do
1596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597 ac_cv_prog_ac_ct_CC="$ac_prog"
1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1607 if test -n "$ac_ct_CC"; then
1608 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1609 echo "${ECHO_T}$ac_ct_CC" >&6
1611 echo "$as_me:$LINENO: result: no" >&5
1612 echo "${ECHO_T}no" >&6
1615 test -n "$ac_ct_CC" && break
1624 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1625 See \`config.log' for more details.
" >&5
1626 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1627 See \
`config.log' for more details." >&2;}
1628 { (exit 1); exit 1; }; }
1630 # Provide some information about the compiler.
1631 echo "$as_me:$LINENO:" \
1632 "checking for C compiler version" >&5
1633 ac_compiler=`set X
$ac_compile; echo $2`
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1635 (eval $ac_compiler --version </dev/null >&5) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1639 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1640 (eval $ac_compiler -v </dev/null >&5) 2>&5
1642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1643 (exit $ac_status); }
1644 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1645 (eval $ac_compiler -V </dev/null >&5) 2>&5
1647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1648 (exit $ac_status); }
1650 cat >conftest.$ac_ext <<_ACEOF
1653 cat confdefs.h >>conftest.$ac_ext
1654 cat >>conftest.$ac_ext <<_ACEOF
1655 /* end confdefs.h. */
1665 ac_clean_files_save=$ac_clean_files
1666 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1667 # Try to create an executable without -o first, disregard a.out.
1668 # It will help us diagnose broken compilers, and finding out an intuition
1670 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1671 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1672 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1673 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1674 (eval $ac_link_default) 2>&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; then
1678 # Find the output, starting from the most likely. This scheme is
1679 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1682 # Be careful to initialize this variable, since it used to be cached.
1683 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1685 # b.out is created by i960 compilers.
1686 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1688 test -f "$ac_file" || continue
1690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1693 # This is the source file.
1696 # We found the default executable, but exeext='' is most
1700 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1701 # FIXME: I believe we export ac_cv_exeext for Libtool,
1702 # but it would be cool to find out if it's true. Does anybody
1703 # maintain Libtool? --akim.
1711 echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1714 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1715 See \`config.log
' for more details." >&5
1716 echo "$as_me: error: C compiler cannot create executables
1717 See \`config.log' for more details.
" >&2;}
1718 { (exit 77); exit 77; }; }
1721 ac_exeext=$ac_cv_exeext
1722 echo "$as_me:$LINENO: result
: $ac_file" >&5
1723 echo "${ECHO_T}$ac_file" >&6
1725 # Check the compiler produces executables we can run. If not, either
1726 # the compiler is broken, or we cross compile.
1727 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1728 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1729 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1730 # If not cross compiling, check that we can run a simple program.
1731 if test "$cross_compiling" != yes; then
1732 if { ac_try='./$ac_file'
1733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1737 (exit $ac_status); }; }; then
1740 if test "$cross_compiling" = maybe; then
1743 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1744 If you meant to cross compile
, use \
`--host'.
1745 See \`config.log
' for more details." >&5
1746 echo "$as_me: error: cannot run C compiled programs.
1747 If you meant to cross compile, use \`--host'.
1748 See \
`config.log' for more details." >&2;}
1749 { (exit 1); exit 1; }; }
1753 echo "$as_me:$LINENO: result: yes" >&5
1754 echo "${ECHO_T}yes" >&6
1756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1757 ac_clean_files=$ac_clean_files_save
1758 # Check the compiler produces executables we can run. If not, either
1759 # the compiler is broken, or we cross compile.
1760 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1762 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1763 echo "${ECHO_T}$cross_compiling" >&6
1765 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1768 (eval $ac_link) 2>&5
1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771 (exit $ac_status); }; then
1772 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1773 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1774 # work properly (i.e., refer to `conftest.exe'), while it won't with
1776 for ac_file
in conftest.exe conftest conftest.
*; do
1777 test -f "$ac_file" ||
continue
1779 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1780 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1787 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1788 See \`config.log' for more details." >&5
1789 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1790 See \`config.log' for more details." >&2;}
1791 { (exit 1); exit 1; }; }
1794 rm -f conftest
$ac_cv_exeext
1795 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1796 echo "${ECHO_T}$ac_cv_exeext" >&6
1798 rm -f conftest.
$ac_ext
1799 EXEEXT
=$ac_cv_exeext
1801 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1802 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1803 if test "${ac_cv_objext+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 cat >conftest.
$ac_ext <<_ACEOF
1809 cat confdefs.h
>>conftest.
$ac_ext
1810 cat >>conftest.
$ac_ext <<_ACEOF
1811 /* end confdefs.h. */
1821 rm -f conftest.o conftest.obj
1822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1823 (eval $ac_compile) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; then
1827 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1829 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1830 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1835 echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1838 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1839 See \`config.log' for more details." >&5
1840 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1841 See \`config.log' for more details." >&2;}
1842 { (exit 1); exit 1; }; }
1845 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1847 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1848 echo "${ECHO_T}$ac_cv_objext" >&6
1849 OBJEXT
=$ac_cv_objext
1851 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1852 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1853 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 cat >conftest.
$ac_ext <<_ACEOF
1859 cat confdefs.h
>>conftest.
$ac_ext
1860 cat >>conftest.
$ac_ext <<_ACEOF
1861 /* end confdefs.h. */
1874 rm -f conftest.
$ac_objext
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>conftest.er1
1878 grep -v '^ *+' conftest.er1
>conftest.err
1880 cat conftest.err
>&5
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); } &&
1883 { ac_try
='test -z "$ac_c_werror_flag"
1884 || test ! -s conftest.err'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; } &&
1890 { ac_try
='test -s conftest.$ac_objext'
1891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; }; then
1898 echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.
$ac_ext >&5
1903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1904 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1907 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1908 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1909 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1910 ac_test_CFLAGS
=${CFLAGS+set}
1911 ac_save_CFLAGS
=$CFLAGS
1913 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1914 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1915 if test "${ac_cv_prog_cc_g+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.
$ac_ext <<_ACEOF
1921 cat confdefs.h
>>conftest.
$ac_ext
1922 cat >>conftest.
$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 rm -f conftest.
$ac_objext
1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1935 (eval $ac_compile) 2>conftest.er1
1937 grep -v '^ *+' conftest.er1
>conftest.err
1939 cat conftest.err
>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); } &&
1942 { ac_try
='test -z "$ac_c_werror_flag"
1943 || test ! -s conftest.err'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; } &&
1949 { ac_try
='test -s conftest.$ac_objext'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; }; then
1957 echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.
$ac_ext >&5
1962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1965 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1966 if test "$ac_test_CFLAGS" = set; then
1967 CFLAGS
=$ac_save_CFLAGS
1968 elif test $ac_cv_prog_cc_g = yes; then
1969 if test "$GCC" = yes; then
1975 if test "$GCC" = yes; then
1981 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1982 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1983 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 ac_cv_prog_cc_stdc
=no
1988 cat >conftest.
$ac_ext <<_ACEOF
1991 cat confdefs.h
>>conftest.
$ac_ext
1992 cat >>conftest.
$ac_ext <<_ACEOF
1993 /* end confdefs.h. */
1996 #include <sys/types.h>
1997 #include <sys/stat.h>
1998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1999 struct buf { int x; };
2000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2001 static char *e (p, i)
2007 static char *f (char * (*g) (char **, int), char **p, ...)
2012 s = g (p, va_arg (v,int));
2017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2018 function prototypes and stuff, but not '\xHH' hex character constants.
2019 These don't provoke an error unfortunately, instead are silently treated
2020 as 'x'. The following induces an error, until -std1 is added to get
2021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2022 array size at least. It's necessary to write '\x00'==0 to get something
2023 that's true only with -std1. */
2024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2026 int test (int i, double x);
2027 struct s1 {int (*f) (int a);};
2028 struct s2 {int (*f) (double a);};
2029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2040 # Don't try gcc -ansi; that turns off useful extensions and
2041 # breaks some systems' header files.
2042 # AIX -qlanglvl=ansi
2043 # Ultrix and OSF/1 -std1
2044 # HP-UX 10.20 and later -Ae
2045 # HP-UX older versions -Aa -D_HPUX_SOURCE
2046 # SVR4 -Xc -D__EXTENSIONS__
2047 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2049 CC
="$ac_save_CC $ac_arg"
2050 rm -f conftest.
$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2054 grep -v '^ *+' conftest.er1
>conftest.err
2056 cat conftest.err
>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try
='test -z "$ac_c_werror_flag"
2060 || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2072 ac_cv_prog_cc_stdc
=$ac_arg
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext
2081 rm -f conftest.
$ac_ext conftest.
$ac_objext
2086 case "x$ac_cv_prog_cc_stdc" in
2088 echo "$as_me:$LINENO: result: none needed" >&5
2089 echo "${ECHO_T}none needed" >&6 ;;
2091 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2092 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2093 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2096 # Some people use a C++ compiler to compile C. Since we use `exit',
2097 # in C++ we need to declare it. In case someone uses the same compiler
2098 # for both compiling C and C++ we need to have the C++ compiler decide
2099 # the declaration of exit, since it's the most demanding environment.
2100 cat >conftest.
$ac_ext <<_ACEOF
2105 rm -f conftest.
$ac_objext
2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107 (eval $ac_compile) 2>conftest.er1
2109 grep -v '^ *+' conftest.er1
>conftest.err
2111 cat conftest.err
>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try
='test -z "$ac_c_werror_flag"
2115 || test ! -s conftest.err'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; } &&
2121 { ac_try
='test -s conftest.$ac_objext'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 for ac_declaration
in \
2129 'extern "C" void std::exit (int) throw (); using std::exit;' \
2130 'extern "C" void std::exit (int); using std::exit;' \
2131 'extern "C" void exit (int) throw ();' \
2132 'extern "C" void exit (int);' \
2135 cat >conftest.
$ac_ext <<_ACEOF
2138 cat confdefs.h
>>conftest.
$ac_ext
2139 cat >>conftest.
$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2151 rm -f conftest.
$ac_objext
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>conftest.er1
2155 grep -v '^ *+' conftest.er1
>conftest.err
2157 cat conftest.err
>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); } &&
2160 { ac_try
='test -z "$ac_c_werror_flag"
2161 || test ! -s conftest.err'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; } &&
2167 { ac_try
='test -s conftest.$ac_objext'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; }; then
2175 echo "$as_me: failed program was:" >&5
2176 sed 's/^/| /' conftest.
$ac_ext >&5
2180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2196 rm -f conftest.
$ac_objext
2197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2198 (eval $ac_compile) 2>conftest.er1
2200 grep -v '^ *+' conftest.er1
>conftest.err
2202 cat conftest.err
>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); } &&
2205 { ac_try
='test -z "$ac_c_werror_flag"
2206 || test ! -s conftest.err'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; } &&
2212 { ac_try
='test -s conftest.$ac_objext'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.
$ac_ext >&5
2224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2227 if test -n "$ac_declaration"; then
2228 echo '#ifdef __cplusplus' >>confdefs.h
2229 echo $ac_declaration >>confdefs.h
2230 echo '#endif' >>confdefs.h
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.
$ac_ext >&5
2238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2240 ac_cpp
='$CPP $CPPFLAGS'
2241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 ac_cpp
='$CXXCPP $CPPFLAGS'
2247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2250 if test -n "$ac_tool_prefix"; then
2251 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2254 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_CXX+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$CXX"; then
2261 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir
=.
2268 for ac_exec_ext
in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$CXX"; then
2281 echo "$as_me:$LINENO: result: $CXX" >&5
2282 echo "${ECHO_T}$CXX" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2288 test -n "$CXX" && break
2291 if test -z "$CXX"; then
2293 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2295 # Extract the first word of "$ac_prog", so it can be a program name with args.
2296 set dummy
$ac_prog; ac_word
=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$ac_ct_CXX"; then
2303 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir
=.
2310 for ac_exec_ext
in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2322 if test -n "$ac_ct_CXX"; then
2323 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2324 echo "${ECHO_T}$ac_ct_CXX" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2330 test -n "$ac_ct_CXX" && break
2332 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2338 # Provide some information about the compiler.
2339 echo "$as_me:$LINENO:" \
2340 "checking for C++ compiler version" >&5
2341 ac_compiler
=`set X $ac_compile; echo $2`
2342 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2343 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2348 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }
2352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2353 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2358 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2359 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2360 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 cat >conftest.
$ac_ext <<_ACEOF
2366 cat confdefs.h
>>conftest.
$ac_ext
2367 cat >>conftest.
$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2381 rm -f conftest.
$ac_objext
2382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 (eval $ac_compile) 2>conftest.er1
2385 grep -v '^ *+' conftest.er1
>conftest.err
2387 cat conftest.err
>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); } &&
2390 { ac_try
='test -z "$ac_cxx_werror_flag"
2391 || test ! -s conftest.err'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; } &&
2397 { ac_try
='test -s conftest.$ac_objext'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; }; then
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2411 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2414 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2415 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2416 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2417 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2418 ac_save_CXXFLAGS
=$CXXFLAGS
2420 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2421 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2422 if test "${ac_cv_prog_cxx_g+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 rm -f conftest.
$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2444 grep -v '^ *+' conftest.er1
>conftest.err
2446 cat conftest.err
>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try
='test -z "$ac_cxx_werror_flag"
2450 || test ! -s conftest.err'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; } &&
2456 { ac_try
='test -s conftest.$ac_objext'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2462 ac_cv_prog_cxx_g
=yes
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.
$ac_ext >&5
2469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2471 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2473 if test "$ac_test_CXXFLAGS" = set; then
2474 CXXFLAGS
=$ac_save_CXXFLAGS
2475 elif test $ac_cv_prog_cxx_g = yes; then
2476 if test "$GXX" = yes; then
2482 if test "$GXX" = yes; then
2488 for ac_declaration
in \
2490 'extern "C" void std::exit (int) throw (); using std::exit;' \
2491 'extern "C" void std::exit (int); using std::exit;' \
2492 'extern "C" void exit (int) throw ();' \
2493 'extern "C" void exit (int);' \
2496 cat >conftest.
$ac_ext <<_ACEOF
2499 cat confdefs.h
>>conftest.
$ac_ext
2500 cat >>conftest.
$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2512 rm -f conftest.
$ac_objext
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1
>conftest.err
2518 cat conftest.err
>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } &&
2521 { ac_try
='test -z "$ac_cxx_werror_flag"
2522 || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2542 cat >conftest.
$ac_ext <<_ACEOF
2545 cat confdefs.h
>>conftest.
$ac_ext
2546 cat >>conftest.
$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2557 rm -f conftest.
$ac_objext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>conftest.er1
2561 grep -v '^ *+' conftest.er1
>conftest.err
2563 cat conftest.err
>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } &&
2566 { ac_try
='test -z "$ac_cxx_werror_flag"
2567 || test ! -s conftest.err'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try
='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 if test -n "$ac_declaration"; then
2589 echo '#ifdef __cplusplus' >>confdefs.h
2590 echo $ac_declaration >>confdefs.h
2591 echo '#endif' >>confdefs.h
2595 ac_cpp
='$CPP $CPPFLAGS'
2596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2601 REQUIRED_PWLIB_MAJOR
=1
2602 REQUIRED_PWLIB_MINOR
=11
2603 REQUIRED_PWLIB_BUILD
=0
2609 if test "x$prefix" = "xNONE"; then
2610 INSTALLPREFIX
="/usr/local"
2612 INSTALLPREFIX
="${prefix}"
2623 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2624 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2625 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2626 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2627 cat >>confdefs.h
<<_ACEOF
2628 #define OPAL_MAJOR ${MAJOR_VERSION}
2631 cat >>confdefs.h
<<_ACEOF
2632 #define OPAL_MINOR ${MINOR_VERSION}
2635 cat >>confdefs.h
<<_ACEOF
2636 #define OPAL_BUILD ${BUILD_NUMBER}
2639 cat >>confdefs.h
<<_ACEOF
2640 #define OPAL_VERSION "$OPAL_VERSION"
2646 if test "${PWLIBDIR:-unset}" != "unset" ; then
2647 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2648 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2649 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2650 if eval "test \"\${$as_ac_File+set}\" = set"; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 test "$cross_compiling" = yes &&
2654 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2655 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2656 { (exit 1); exit 1; }; }
2657 if test -r "${PWLIBDIR}/version.h"; then
2658 eval "$as_ac_File=yes"
2660 eval "$as_ac_File=no"
2663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2664 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2665 if test `eval echo '${'$as_ac_File'}'` = yes; then
2670 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2671 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2672 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2673 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2674 if eval "test \"\${$as_ac_File+set}\" = set"; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 test "$cross_compiling" = yes &&
2678 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2679 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2680 { (exit 1); exit 1; }; }
2681 if test -r "${OPALDIR}/../pwlib/version.h"; then
2682 eval "$as_ac_File=yes"
2684 eval "$as_ac_File=no"
2687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2688 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2689 if test `eval echo '${'$as_ac_File'}'` = yes; then
2693 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2694 PWLIBDIR
="${OPALDIR}/../pwlib"
2696 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2697 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2698 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2699 if eval "test \"\${$as_ac_File+set}\" = set"; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 test "$cross_compiling" = yes &&
2703 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2704 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2705 { (exit 1); exit 1; }; }
2706 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2707 eval "$as_ac_File=yes"
2709 eval "$as_ac_File=no"
2712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2713 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2714 if test `eval echo '${'$as_ac_File'}'` = yes; then
2718 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2719 PWLIBDIR
="${HOME}/pwlib"
2721 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2722 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2723 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 test "$cross_compiling" = yes &&
2727 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2728 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2729 { (exit 1); exit 1; }; }
2730 if test -r "/usr/local/include/ptlib.h"; then
2731 ac_cv_file__usr_local_include_ptlib_h
=yes
2733 ac_cv_file__usr_local_include_ptlib_h
=no
2736 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2737 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2738 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2742 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2743 # Extract the first word of "ptlib-config", so it can be a program name with args.
2744 set dummy ptlib-config
; ac_word
=$2
2745 echo "$as_me:$LINENO: checking for $ac_word" >&5
2746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2747 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 case $PTLIB_CONFIG in
2752 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 for as_dir
in /usr
/local
/bin
2759 test -z "$as_dir" && as_dir
=.
2760 for ac_exec_ext
in '' $ac_executable_extensions; do
2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2774 if test -n "$PTLIB_CONFIG"; then
2775 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2776 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2783 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2784 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2785 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 test "$cross_compiling" = yes &&
2789 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2790 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2791 { (exit 1); exit 1; }; }
2792 if test -r "/usr/include/ptlib.h"; then
2793 ac_cv_file__usr_include_ptlib_h
=yes
2795 ac_cv_file__usr_include_ptlib_h
=no
2798 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2799 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2800 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2804 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2805 # Extract the first word of "ptlib-config", so it can be a program name with args.
2806 set dummy ptlib-config
; ac_word
=$2
2807 echo "$as_me:$LINENO: checking for $ac_word" >&5
2808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2809 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 case $PTLIB_CONFIG in
2814 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 for as_dir
in /usr
/share
/pwlib
/make
/
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2836 if test -n "$PTLIB_CONFIG"; then
2837 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2838 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2850 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2851 echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
2855 if test "${PWLIBDIR:-unset}" = "unset" ; then
2856 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2857 echo "Cannot find ptlib-config - please install and try again"
2860 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2863 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2864 PWLIBDIR
="/usr/share/pwlib/"
2866 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2867 PWLIBDIR
="/usr/local/share/pwlib/"
2871 echo "PWLib prefix set to.... $PWLIBDIR"
2873 if test "${PWLIBDIR:-unset}" = "unset" ; then
2874 PWVERSION
=`$PTLIB_CONFIG --version`
2875 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2876 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2877 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2880 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2881 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2882 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2883 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2886 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2887 if test "${enable_versioncheck+set}" = set; then
2888 enableval
="$enable_versioncheck"
2889 PWLIB_VERSION_CHECK
=$enableval
2892 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2893 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2894 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2895 echo "$as_me:$LINENO: result: check disabled" >&5
2896 echo "${ECHO_T}check disabled" >&6
2898 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2899 echo "$as_me:$LINENO: result: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2900 echo "${ECHO_T}Major version less than required $REQUIRED_PWLIB_MAJOR" >&6
2903 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2904 echo "$as_me:$LINENO: result: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2905 echo "${ECHO_T}Minor version less than required $REQUIRED_PWLIB_MINOR" >&6
2908 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2909 echo "$as_me:$LINENO: result: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2910 echo "${ECHO_T}Build version less than required $REQUIRED_PWLIB_BUILD" >&6
2913 echo "$as_me:$LINENO: result: ok" >&5
2914 echo "${ECHO_T}ok" >&6
2920 if test x
$GXX = xyes
; then
2922 gcc_version
=`$CXX -dumpversion`
2923 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2924 echo "$as_me: gcc version is $gcc_version" >&6;};
2925 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
2926 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2927 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2929 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
2930 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
2931 if test ${GXX_MAJOR} -lt 3 ; then
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2934 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
2935 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
2936 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2945 # Check whether --enable-localspeex or --disable-localspeex was given.
2946 if test "${enable_localspeex+set}" = set; then
2947 enableval
="$enable_localspeex"
2948 localspeex
=$enableval
2953 ac_cpp
='$CPP $CPPFLAGS'
2954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2957 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2958 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2959 # On Suns, sometimes $CPP names a directory.
2960 if test -n "$CPP" && test -d "$CPP"; then
2963 if test -z "$CPP"; then
2964 if test "${ac_cv_prog_CPP+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 # Double quotes because CPP needs to be expanded
2968 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2971 for ac_c_preproc_warn_flag
in '' yes
2973 # Use a header file that comes with gcc, so configuring glibc
2974 # with a fresh cross-compiler works.
2975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2976 # <limits.h> exists even on freestanding compilers.
2977 # On the NeXT, cc -E runs the code through the compiler's parser,
2978 # not just through cpp. "Syntax error" is here to catch this case.
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2986 # include <limits.h>
2988 # include <assert.h>
2992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } >/dev
/null
; then
3000 if test -s conftest.err
; then
3001 ac_cpp_err
=$ac_c_preproc_warn_flag
3002 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3009 if test -z "$ac_cpp_err"; then
3012 echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.
$ac_ext >&5
3015 # Broken: fails on valid input.
3018 rm -f conftest.err conftest.
$ac_ext
3020 # OK, works on sane cases. Now check whether non-existent headers
3021 # can be detected and how.
3022 cat >conftest.
$ac_ext <<_ACEOF
3025 cat confdefs.h
>>conftest.
$ac_ext
3026 cat >>conftest.
$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3028 #include <ac_nonexistent.h>
3030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3033 grep -v '^ *+' conftest.er1
>conftest.err
3035 cat conftest.err
>&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } >/dev
/null
; then
3038 if test -s conftest.err
; then
3039 ac_cpp_err
=$ac_c_preproc_warn_flag
3040 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3047 if test -z "$ac_cpp_err"; then
3048 # Broken: success on invalid input.
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3054 # Passes both tests.
3058 rm -f conftest.err conftest.
$ac_ext
3061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3062 rm -f conftest.err conftest.
$ac_ext
3063 if $ac_preproc_ok; then
3075 echo "$as_me:$LINENO: result: $CPP" >&5
3076 echo "${ECHO_T}$CPP" >&6
3078 for ac_c_preproc_warn_flag
in '' yes
3080 # Use a header file that comes with gcc, so configuring glibc
3081 # with a fresh cross-compiler works.
3082 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3083 # <limits.h> exists even on freestanding compilers.
3084 # On the NeXT, cc -E runs the code through the compiler's parser,
3085 # not just through cpp. "Syntax error" is here to catch this case.
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3093 # include <limits.h>
3095 # include <assert.h>
3099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3102 grep -v '^ *+' conftest.er1
>conftest.err
3104 cat conftest.err
>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } >/dev
/null
; then
3107 if test -s conftest.err
; then
3108 ac_cpp_err
=$ac_c_preproc_warn_flag
3109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3116 if test -z "$ac_cpp_err"; then
3119 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.
$ac_ext >&5
3122 # Broken: fails on valid input.
3125 rm -f conftest.err conftest.
$ac_ext
3127 # OK, works on sane cases. Now check whether non-existent headers
3128 # can be detected and how.
3129 cat >conftest.
$ac_ext <<_ACEOF
3132 cat confdefs.h
>>conftest.
$ac_ext
3133 cat >>conftest.
$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3135 #include <ac_nonexistent.h>
3137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1
>conftest.err
3142 cat conftest.err
>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } >/dev
/null
; then
3145 if test -s conftest.err
; then
3146 ac_cpp_err
=$ac_c_preproc_warn_flag
3147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3154 if test -z "$ac_cpp_err"; then
3155 # Broken: success on invalid input.
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.
$ac_ext >&5
3161 # Passes both tests.
3165 rm -f conftest.err conftest.
$ac_ext
3168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3169 rm -f conftest.err conftest.
$ac_ext
3170 if $ac_preproc_ok; then
3173 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3174 See \`config.log' for more details." >&5
3175 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3176 See \`config.log' for more details." >&2;}
3177 { (exit 1); exit 1; }; }
3181 ac_cpp
='$CPP $CPPFLAGS'
3182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3187 echo "$as_me:$LINENO: checking for egrep" >&5
3188 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3189 if test "${ac_cv_prog_egrep+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3193 then ac_cv_prog_egrep
='grep -E'
3194 else ac_cv_prog_egrep
='egrep'
3197 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3198 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3199 EGREP
=$ac_cv_prog_egrep
3202 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3203 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3204 if test "${ac_cv_header_stdc+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 cat >conftest.
$ac_ext <<_ACEOF
3210 cat confdefs.h
>>conftest.
$ac_ext
3211 cat >>conftest.
$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3226 rm -f conftest.
$ac_objext
3227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3228 (eval $ac_compile) 2>conftest.er1
3230 grep -v '^ *+' conftest.er1
>conftest.err
3232 cat conftest.err
>&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } &&
3235 { ac_try
='test -z "$ac_c_werror_flag"
3236 || test ! -s conftest.err'
3237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); }; } &&
3242 { ac_try
='test -s conftest.$ac_objext'
3243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; }; then
3248 ac_cv_header_stdc
=yes
3250 echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.
$ac_ext >&5
3253 ac_cv_header_stdc
=no
3255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3257 if test $ac_cv_header_stdc = yes; then
3258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3259 cat >conftest.
$ac_ext <<_ACEOF
3262 cat confdefs.h
>>conftest.
$ac_ext
3263 cat >>conftest.
$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3269 $EGREP "memchr" >/dev
/null
2>&1; then
3272 ac_cv_header_stdc
=no
3278 if test $ac_cv_header_stdc = yes; then
3279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3280 cat >conftest.
$ac_ext <<_ACEOF
3283 cat confdefs.h
>>conftest.
$ac_ext
3284 cat >>conftest.
$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3290 $EGREP "free" >/dev
/null
2>&1; then
3293 ac_cv_header_stdc
=no
3299 if test $ac_cv_header_stdc = yes; then
3300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3301 if test "$cross_compiling" = yes; then
3304 cat >conftest.
$ac_ext <<_ACEOF
3307 cat confdefs.h
>>conftest.
$ac_ext
3308 cat >>conftest.
$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3311 #if ((' ' & 0x0FF) == 0x020)
3312 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3313 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3315 # define ISLOWER(c) \
3316 (('a' <= (c) && (c) <= 'i') \
3317 || ('j' <= (c) && (c) <= 'r') \
3318 || ('s' <= (c) && (c) <= 'z'))
3319 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3322 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3327 for (i = 0; i < 256; i++)
3328 if (XOR (islower (i), ISLOWER (i))
3329 || toupper (i) != TOUPPER (i))
3334 rm -f conftest
$ac_exeext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3336 (eval $ac_link) 2>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; }; then
3347 echo "$as_me: program exited with status $ac_status" >&5
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.
$ac_ext >&5
3352 ac_cv_header_stdc
=no
3354 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3358 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3359 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3360 if test $ac_cv_header_stdc = yes; then
3362 cat >>confdefs.h
<<\_ACEOF
3363 #define STDC_HEADERS 1
3368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3378 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3379 inttypes.h stdint.h unistd.h
3381 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382 echo "$as_me:$LINENO: checking for $ac_header" >&5
3383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 $ac_includes_default
3395 #include <$ac_header>
3397 rm -f conftest.
$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1
>conftest.err
3403 cat conftest.err
>&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try
='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try
='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 eval "$as_ac_Header=yes"
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.
$ac_ext >&5
3424 eval "$as_ac_Header=no"
3426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3431 cat >>confdefs.h
<<_ACEOF
3432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3440 echo "$as_me:$LINENO: checking for short" >&5
3441 echo $ECHO_N "checking for short... $ECHO_C" >&6
3442 if test "${ac_cv_type_short+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 $ac_includes_default
3463 rm -f conftest.
$ac_objext
3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3465 (eval $ac_compile) 2>conftest.er1
3467 grep -v '^ *+' conftest.er1
>conftest.err
3469 cat conftest.err
>&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } &&
3472 { ac_try
='test -z "$ac_c_werror_flag"
3473 || test ! -s conftest.err'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; } &&
3479 { ac_try
='test -s conftest.$ac_objext'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3485 ac_cv_type_short
=yes
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3494 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3495 echo "${ECHO_T}$ac_cv_type_short" >&6
3497 echo "$as_me:$LINENO: checking size of short" >&5
3498 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3499 if test "${ac_cv_sizeof_short+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 if test "$ac_cv_type_short" = yes; then
3503 # The cast to unsigned long works around a bug in the HP C Compiler
3504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3506 # This bug is HP SR number 8606223364.
3507 if test "$cross_compiling" = yes; then
3508 # Depending upon the size, compute the lo and hi bounds.
3509 cat >conftest.
$ac_ext <<_ACEOF
3512 cat confdefs.h
>>conftest.
$ac_ext
3513 cat >>conftest.
$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3515 $ac_includes_default
3519 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3526 rm -f conftest.
$ac_objext
3527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3528 (eval $ac_compile) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1
>conftest.err
3532 cat conftest.err
>&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } &&
3535 { ac_try
='test -z "$ac_c_werror_flag"
3536 || test ! -s conftest.err'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; } &&
3542 { ac_try
='test -s conftest.$ac_objext'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3550 cat >conftest.
$ac_ext <<_ACEOF
3553 cat confdefs.h
>>conftest.
$ac_ext
3554 cat >>conftest.
$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3556 $ac_includes_default
3560 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3567 rm -f conftest.
$ac_objext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3569 (eval $ac_compile) 2>conftest.er1
3571 grep -v '^ *+' conftest.er1
>conftest.err
3573 cat conftest.err
>&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } &&
3576 { ac_try
='test -z "$ac_c_werror_flag"
3577 || test ! -s conftest.err'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; } &&
3583 { ac_try
='test -s conftest.$ac_objext'
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; }; then
3589 ac_hi
=$ac_mid; break
3591 echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.
$ac_ext >&5
3594 ac_lo
=`expr $ac_mid + 1`
3595 if test $ac_lo -le $ac_mid; then
3599 ac_mid
=`expr 2 '*' $ac_mid + 1`
3601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3607 cat >conftest.
$ac_ext <<_ACEOF
3610 cat confdefs.h
>>conftest.
$ac_ext
3611 cat >>conftest.
$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3613 $ac_includes_default
3617 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3624 rm -f conftest.
$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3628 grep -v '^ *+' conftest.er1
>conftest.err
3630 cat conftest.err
>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try
='test -z "$ac_c_werror_flag"
3634 || test ! -s conftest.err'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; } &&
3640 { ac_try
='test -s conftest.$ac_objext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 $ac_includes_default
3658 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3665 rm -f conftest.
$ac_objext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3667 (eval $ac_compile) 2>conftest.er1
3669 grep -v '^ *+' conftest.er1
>conftest.err
3671 cat conftest.err
>&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); } &&
3674 { ac_try
='test -z "$ac_c_werror_flag"
3675 || test ! -s conftest.err'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; } &&
3681 { ac_try
='test -s conftest.$ac_objext'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then
3687 ac_lo
=$ac_mid; break
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.
$ac_ext >&5
3692 ac_hi
=`expr '(' $ac_mid ')' - 1`
3693 if test $ac_mid -le $ac_hi; then
3697 ac_mid
=`expr 2 '*' $ac_mid`
3699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.
$ac_ext >&5
3707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3710 # Binary search between lo and hi bounds.
3711 while test "x$ac_lo" != "x$ac_hi"; do
3712 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3713 cat >conftest.
$ac_ext <<_ACEOF
3716 cat confdefs.h
>>conftest.
$ac_ext
3717 cat >>conftest.
$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3719 $ac_includes_default
3723 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3730 rm -f conftest.
$ac_objext
3731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3732 (eval $ac_compile) 2>conftest.er1
3734 grep -v '^ *+' conftest.er1
>conftest.err
3736 cat conftest.err
>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } &&
3739 { ac_try
='test -z "$ac_c_werror_flag"
3740 || test ! -s conftest.err'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; } &&
3746 { ac_try
='test -s conftest.$ac_objext'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; }; then
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.
$ac_ext >&5
3757 ac_lo
=`expr '(' $ac_mid ')' + 1`
3759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3762 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3763 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3764 See \`config.log' for more details." >&5
3765 echo "$as_me: error: cannot compute sizeof (short), 77
3766 See \`config.log' for more details." >&2;}
3767 { (exit 1); exit 1; }; } ;;
3770 if test "$cross_compiling" = yes; then
3771 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3772 See \`config.log' for more details." >&5
3773 echo "$as_me: error: cannot run test program while cross compiling
3774 See \`config.log' for more details." >&2;}
3775 { (exit 1); exit 1; }; }
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 $ac_includes_default
3784 long longval () { return (long) (sizeof (short)); }
3785 unsigned long ulongval () { return (long) (sizeof (short)); }
3792 FILE *f = fopen ("conftest.val", "w");
3795 if (((long) (sizeof (short))) < 0)
3797 long i = longval ();
3798 if (i != ((long) (sizeof (short))))
3800 fprintf (f, "%ld\n", i);
3804 unsigned long i = ulongval ();
3805 if (i != ((long) (sizeof (short))))
3807 fprintf (f, "%lu\n", i);
3809 exit (ferror (f) || fclose (f) != 0);
3815 rm -f conftest
$ac_exeext
3816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3817 (eval $ac_link) 2>&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3826 ac_cv_sizeof_short
=`cat conftest.val`
3828 echo "$as_me: program exited with status $ac_status" >&5
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.
$ac_ext >&5
3833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3834 See \`config.log' for more details." >&5
3835 echo "$as_me: error: cannot compute sizeof (short), 77
3836 See \`config.log' for more details." >&2;}
3837 { (exit 1); exit 1; }; }
3839 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3844 ac_cv_sizeof_short
=0
3847 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3848 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3849 cat >>confdefs.h
<<_ACEOF
3850 #define SIZEOF_SHORT $ac_cv_sizeof_short
3854 echo "$as_me:$LINENO: checking for int" >&5
3855 echo $ECHO_N "checking for int... $ECHO_C" >&6
3856 if test "${ac_cv_type_int+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3865 $ac_includes_default
3877 rm -f conftest.
$ac_objext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3879 (eval $ac_compile) 2>conftest.er1
3881 grep -v '^ *+' conftest.er1
>conftest.err
3883 cat conftest.err
>&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try
='test -z "$ac_c_werror_flag"
3887 || test ! -s conftest.err'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; } &&
3893 { ac_try
='test -s conftest.$ac_objext'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; }; then
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.
$ac_ext >&5
3906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3909 echo "${ECHO_T}$ac_cv_type_int" >&6
3911 echo "$as_me:$LINENO: checking size of int" >&5
3912 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3913 if test "${ac_cv_sizeof_int+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if test "$ac_cv_type_int" = yes; then
3917 # The cast to unsigned long works around a bug in the HP C Compiler
3918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3920 # This bug is HP SR number 8606223364.
3921 if test "$cross_compiling" = yes; then
3922 # Depending upon the size, compute the lo and hi bounds.
3923 cat >conftest.
$ac_ext <<_ACEOF
3926 cat confdefs.h
>>conftest.
$ac_ext
3927 cat >>conftest.
$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3929 $ac_includes_default
3933 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3940 rm -f conftest.
$ac_objext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3942 (eval $ac_compile) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1
>conftest.err
3946 cat conftest.err
>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try
='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest.$ac_objext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3964 cat >conftest.
$ac_ext <<_ACEOF
3967 cat confdefs.h
>>conftest.
$ac_ext
3968 cat >>conftest.
$ac_ext <<_ACEOF
3969 /* end confdefs.h. */
3970 $ac_includes_default
3974 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3981 rm -f conftest.
$ac_objext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3983 (eval $ac_compile) 2>conftest.er1
3985 grep -v '^ *+' conftest.er1
>conftest.err
3987 cat conftest.err
>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } &&
3990 { ac_try
='test -z "$ac_c_werror_flag"
3991 || test ! -s conftest.err'
3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }; } &&
3997 { ac_try
='test -s conftest.$ac_objext'
3998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); }; }; then
4003 ac_hi
=$ac_mid; break
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.
$ac_ext >&5
4008 ac_lo
=`expr $ac_mid + 1`
4009 if test $ac_lo -le $ac_mid; then
4013 ac_mid
=`expr 2 '*' $ac_mid + 1`
4015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4018 echo "$as_me: failed program was:" >&5
4019 sed 's/^/| /' conftest.
$ac_ext >&5
4021 cat >conftest.
$ac_ext <<_ACEOF
4024 cat confdefs.h
>>conftest.
$ac_ext
4025 cat >>conftest.
$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4027 $ac_includes_default
4031 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4038 rm -f conftest.
$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_c_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try
='test -s conftest.$ac_objext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4062 cat >conftest.
$ac_ext <<_ACEOF
4065 cat confdefs.h
>>conftest.
$ac_ext
4066 cat >>conftest.
$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 $ac_includes_default
4072 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4079 rm -f conftest.
$ac_objext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>conftest.er1
4083 grep -v '^ *+' conftest.er1
>conftest.err
4085 cat conftest.err
>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try
='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try
='test -s conftest.$ac_objext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_lo
=$ac_mid; break
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.
$ac_ext >&5
4106 ac_hi
=`expr '(' $ac_mid ')' - 1`
4107 if test $ac_mid -le $ac_hi; then
4111 ac_mid
=`expr 2 '*' $ac_mid`
4113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4116 echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.
$ac_ext >&5
4121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4124 # Binary search between lo and hi bounds.
4125 while test "x$ac_lo" != "x$ac_hi"; do
4126 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4127 cat >conftest.
$ac_ext <<_ACEOF
4130 cat confdefs.h
>>conftest.
$ac_ext
4131 cat >>conftest.
$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 $ac_includes_default
4137 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4144 rm -f conftest.
$ac_objext
4145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4146 (eval $ac_compile) 2>conftest.er1
4148 grep -v '^ *+' conftest.er1
>conftest.err
4150 cat conftest.err
>&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } &&
4153 { ac_try
='test -z "$ac_c_werror_flag"
4154 || test ! -s conftest.err'
4155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; } &&
4160 { ac_try
='test -s conftest.$ac_objext'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; }; then
4168 echo "$as_me: failed program was:" >&5
4169 sed 's/^/| /' conftest.
$ac_ext >&5
4171 ac_lo
=`expr '(' $ac_mid ')' + 1`
4173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4176 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4177 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4178 See \`config.log' for more details." >&5
4179 echo "$as_me: error: cannot compute sizeof (int), 77
4180 See \`config.log' for more details." >&2;}
4181 { (exit 1); exit 1; }; } ;;
4184 if test "$cross_compiling" = yes; then
4185 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4186 See \`config.log' for more details." >&5
4187 echo "$as_me: error: cannot run test program while cross compiling
4188 See \`config.log' for more details." >&2;}
4189 { (exit 1); exit 1; }; }
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4197 $ac_includes_default
4198 long longval () { return (long) (sizeof (int)); }
4199 unsigned long ulongval () { return (long) (sizeof (int)); }
4206 FILE *f = fopen ("conftest.val", "w");
4209 if (((long) (sizeof (int))) < 0)
4211 long i = longval ();
4212 if (i != ((long) (sizeof (int))))
4214 fprintf (f, "%ld\n", i);
4218 unsigned long i = ulongval ();
4219 if (i != ((long) (sizeof (int))))
4221 fprintf (f, "%lu\n", i);
4223 exit (ferror (f) || fclose (f) != 0);
4229 rm -f conftest
$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4240 ac_cv_sizeof_int
=`cat conftest.val`
4242 echo "$as_me: program exited with status $ac_status" >&5
4243 echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.
$ac_ext >&5
4247 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4248 See \`config.log' for more details." >&5
4249 echo "$as_me: error: cannot compute sizeof (int), 77
4250 See \`config.log' for more details." >&2;}
4251 { (exit 1); exit 1; }; }
4253 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4261 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4262 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4263 cat >>confdefs.h
<<_ACEOF
4264 #define SIZEOF_INT $ac_cv_sizeof_int
4268 echo "$as_me:$LINENO: checking for long" >&5
4269 echo $ECHO_N "checking for long... $ECHO_C" >&6
4270 if test "${ac_cv_type_long+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 cat >conftest.
$ac_ext <<_ACEOF
4276 cat confdefs.h
>>conftest.
$ac_ext
4277 cat >>conftest.
$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4279 $ac_includes_default
4291 rm -f conftest.
$ac_objext
4292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4293 (eval $ac_compile) 2>conftest.er1
4295 grep -v '^ *+' conftest.er1
>conftest.err
4297 cat conftest.err
>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } &&
4300 { ac_try
='test -z "$ac_c_werror_flag"
4301 || test ! -s conftest.err'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; } &&
4307 { ac_try
='test -s conftest.$ac_objext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then
4315 echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.
$ac_ext >&5
4320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4323 echo "${ECHO_T}$ac_cv_type_long" >&6
4325 echo "$as_me:$LINENO: checking size of long" >&5
4326 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4327 if test "${ac_cv_sizeof_long+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 if test "$ac_cv_type_long" = yes; then
4331 # The cast to unsigned long works around a bug in the HP C Compiler
4332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4334 # This bug is HP SR number 8606223364.
4335 if test "$cross_compiling" = yes; then
4336 # Depending upon the size, compute the lo and hi bounds.
4337 cat >conftest.
$ac_ext <<_ACEOF
4340 cat confdefs.h
>>conftest.
$ac_ext
4341 cat >>conftest.
$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4343 $ac_includes_default
4347 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4354 rm -f conftest.
$ac_objext
4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4356 (eval $ac_compile) 2>conftest.er1
4358 grep -v '^ *+' conftest.er1
>conftest.err
4360 cat conftest.err
>&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } &&
4363 { ac_try
='test -z "$ac_c_werror_flag"
4364 || test ! -s conftest.err'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; } &&
4370 { ac_try
='test -s conftest.$ac_objext'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; }; then
4378 cat >conftest.
$ac_ext <<_ACEOF
4381 cat confdefs.h
>>conftest.
$ac_ext
4382 cat >>conftest.
$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4384 $ac_includes_default
4388 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>conftest.er1
4399 grep -v '^ *+' conftest.er1
>conftest.err
4401 cat conftest.err
>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } &&
4404 { ac_try
='test -z "$ac_c_werror_flag"
4405 || test ! -s conftest.err'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; } &&
4411 { ac_try
='test -s conftest.$ac_objext'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4417 ac_hi
=$ac_mid; break
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.
$ac_ext >&5
4422 ac_lo
=`expr $ac_mid + 1`
4423 if test $ac_lo -le $ac_mid; then
4427 ac_mid
=`expr 2 '*' $ac_mid + 1`
4429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4435 cat >conftest.
$ac_ext <<_ACEOF
4438 cat confdefs.h
>>conftest.
$ac_ext
4439 cat >>conftest.
$ac_ext <<_ACEOF
4440 /* end confdefs.h. */
4441 $ac_includes_default
4445 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4452 rm -f conftest.
$ac_objext
4453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4454 (eval $ac_compile) 2>conftest.er1
4456 grep -v '^ *+' conftest.er1
>conftest.err
4458 cat conftest.err
>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } &&
4461 { ac_try
='test -z "$ac_c_werror_flag"
4462 || test ! -s conftest.err'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; } &&
4468 { ac_try
='test -s conftest.$ac_objext'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4476 cat >conftest.
$ac_ext <<_ACEOF
4479 cat confdefs.h
>>conftest.
$ac_ext
4480 cat >>conftest.
$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 $ac_includes_default
4486 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4493 rm -f conftest.
$ac_objext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4495 (eval $ac_compile) 2>conftest.er1
4497 grep -v '^ *+' conftest.er1
>conftest.err
4499 cat conftest.err
>&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); } &&
4502 { ac_try
='test -z "$ac_c_werror_flag"
4503 || test ! -s conftest.err'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; } &&
4509 { ac_try
='test -s conftest.$ac_objext'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 ac_lo
=$ac_mid; break
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4520 ac_hi
=`expr '(' $ac_mid ')' - 1`
4521 if test $ac_mid -le $ac_hi; then
4525 ac_mid
=`expr 2 '*' $ac_mid`
4527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.
$ac_ext >&5
4535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 # Binary search between lo and hi bounds.
4539 while test "x$ac_lo" != "x$ac_hi"; do
4540 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4541 cat >conftest.
$ac_ext <<_ACEOF
4544 cat confdefs.h
>>conftest.
$ac_ext
4545 cat >>conftest.
$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4547 $ac_includes_default
4551 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4558 rm -f conftest.
$ac_objext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>conftest.er1
4562 grep -v '^ *+' conftest.er1
>conftest.err
4564 cat conftest.err
>&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } &&
4567 { ac_try
='test -z "$ac_c_werror_flag"
4568 || test ! -s conftest.err'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; } &&
4574 { ac_try
='test -s conftest.$ac_objext'
4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; }; then
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.
$ac_ext >&5
4585 ac_lo
=`expr '(' $ac_mid ')' + 1`
4587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4591 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4592 See \`config.log' for more details." >&5
4593 echo "$as_me: error: cannot compute sizeof (long), 77
4594 See \`config.log' for more details." >&2;}
4595 { (exit 1); exit 1; }; } ;;
4598 if test "$cross_compiling" = yes; then
4599 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4600 See \`config.log' for more details." >&5
4601 echo "$as_me: error: cannot run test program while cross compiling
4602 See \`config.log' for more details." >&2;}
4603 { (exit 1); exit 1; }; }
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4611 $ac_includes_default
4612 long longval () { return (long) (sizeof (long)); }
4613 unsigned long ulongval () { return (long) (sizeof (long)); }
4620 FILE *f = fopen ("conftest.val", "w");
4623 if (((long) (sizeof (long))) < 0)
4625 long i = longval ();
4626 if (i != ((long) (sizeof (long))))
4628 fprintf (f, "%ld\n", i);
4632 unsigned long i = ulongval ();
4633 if (i != ((long) (sizeof (long))))
4635 fprintf (f, "%lu\n", i);
4637 exit (ferror (f) || fclose (f) != 0);
4643 rm -f conftest
$ac_exeext
4644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4645 (eval $ac_link) 2>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; }; then
4654 ac_cv_sizeof_long
=`cat conftest.val`
4656 echo "$as_me: program exited with status $ac_status" >&5
4657 echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4661 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4662 See \`config.log' for more details." >&5
4663 echo "$as_me: error: cannot compute sizeof (long), 77
4664 See \`config.log' for more details." >&2;}
4665 { (exit 1); exit 1; }; }
4667 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4675 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4676 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4677 cat >>confdefs.h
<<_ACEOF
4678 #define SIZEOF_LONG $ac_cv_sizeof_long
4682 echo "$as_me:$LINENO: checking for long long" >&5
4683 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4684 if test "${ac_cv_type_long_long+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 cat >conftest.
$ac_ext <<_ACEOF
4690 cat confdefs.h
>>conftest.
$ac_ext
4691 cat >>conftest.
$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 $ac_includes_default
4697 if ((long long *) 0)
4699 if (sizeof (long long))
4705 rm -f conftest.
$ac_objext
4706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4707 (eval $ac_compile) 2>conftest.er1
4709 grep -v '^ *+' conftest.er1
>conftest.err
4711 cat conftest.err
>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } &&
4714 { ac_try
='test -z "$ac_c_werror_flag"
4715 || test ! -s conftest.err'
4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; } &&
4721 { ac_try
='test -s conftest.$ac_objext'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; }; then
4727 ac_cv_type_long_long
=yes
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.
$ac_ext >&5
4732 ac_cv_type_long_long
=no
4734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4737 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4739 echo "$as_me:$LINENO: checking size of long long" >&5
4740 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4741 if test "${ac_cv_sizeof_long_long+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 if test "$ac_cv_type_long_long" = yes; then
4745 # The cast to unsigned long works around a bug in the HP C Compiler
4746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4748 # This bug is HP SR number 8606223364.
4749 if test "$cross_compiling" = yes; then
4750 # Depending upon the size, compute the lo and hi bounds.
4751 cat >conftest.
$ac_ext <<_ACEOF
4754 cat confdefs.h
>>conftest.
$ac_ext
4755 cat >>conftest.
$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 $ac_includes_default
4761 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4768 rm -f conftest.
$ac_objext
4769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4770 (eval $ac_compile) 2>conftest.er1
4772 grep -v '^ *+' conftest.er1
>conftest.err
4774 cat conftest.err
>&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); } &&
4777 { ac_try
='test -z "$ac_c_werror_flag"
4778 || test ! -s conftest.err'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; } &&
4784 { ac_try
='test -s conftest.$ac_objext'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; }; then
4792 cat >conftest.
$ac_ext <<_ACEOF
4795 cat confdefs.h
>>conftest.
$ac_ext
4796 cat >>conftest.
$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 $ac_includes_default
4802 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>conftest.er1
4813 grep -v '^ *+' conftest.er1
>conftest.err
4815 cat conftest.err
>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try
='test -z "$ac_c_werror_flag"
4819 || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_hi
=$ac_mid; break
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4836 ac_lo
=`expr $ac_mid + 1`
4837 if test $ac_lo -le $ac_mid; then
4841 ac_mid
=`expr 2 '*' $ac_mid + 1`
4843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4846 echo "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.
$ac_ext >&5
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4855 $ac_includes_default
4859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4866 rm -f conftest.
$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try
='test -z "$ac_c_werror_flag"
4876 || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try
='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4890 cat >conftest.
$ac_ext <<_ACEOF
4893 cat confdefs.h
>>conftest.
$ac_ext
4894 cat >>conftest.
$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 $ac_includes_default
4900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4907 rm -f conftest.
$ac_objext
4908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4909 (eval $ac_compile) 2>conftest.er1
4911 grep -v '^ *+' conftest.er1
>conftest.err
4913 cat conftest.err
>&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try
='test -z "$ac_c_werror_flag"
4917 || test ! -s conftest.err'
4918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; } &&
4923 { ac_try
='test -s conftest.$ac_objext'
4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }; }; then
4929 ac_lo
=$ac_mid; break
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.
$ac_ext >&5
4934 ac_hi
=`expr '(' $ac_mid ')' - 1`
4935 if test $ac_mid -le $ac_hi; then
4939 ac_mid
=`expr 2 '*' $ac_mid`
4941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.
$ac_ext >&5
4949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 # Binary search between lo and hi bounds.
4953 while test "x$ac_lo" != "x$ac_hi"; do
4954 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4955 cat >conftest.
$ac_ext <<_ACEOF
4958 cat confdefs.h
>>conftest.
$ac_ext
4959 cat >>conftest.
$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4961 $ac_includes_default
4965 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4972 rm -f conftest.
$ac_objext
4973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4974 (eval $ac_compile) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } &&
4981 { ac_try
='test -z "$ac_c_werror_flag"
4982 || test ! -s conftest.err'
4983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; } &&
4988 { ac_try
='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.
$ac_ext >&5
4999 ac_lo
=`expr '(' $ac_mid ')' + 1`
5001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5004 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5006 See \`config.log' for more details." >&5
5007 echo "$as_me: error: cannot compute sizeof (long long), 77
5008 See \`config.log' for more details." >&2;}
5009 { (exit 1); exit 1; }; } ;;
5012 if test "$cross_compiling" = yes; then
5013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5014 See \`config.log' for more details." >&5
5015 echo "$as_me: error: cannot run test program while cross compiling
5016 See \`config.log' for more details." >&2;}
5017 { (exit 1); exit 1; }; }
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5025 $ac_includes_default
5026 long longval () { return (long) (sizeof (long long)); }
5027 unsigned long ulongval () { return (long) (sizeof (long long)); }
5034 FILE *f = fopen ("conftest.val", "w");
5037 if (((long) (sizeof (long long))) < 0)
5039 long i = longval ();
5040 if (i != ((long) (sizeof (long long))))
5042 fprintf (f, "%ld\n", i);
5046 unsigned long i = ulongval ();
5047 if (i != ((long) (sizeof (long long))))
5049 fprintf (f, "%lu\n", i);
5051 exit (ferror (f) || fclose (f) != 0);
5057 rm -f conftest
$ac_exeext
5058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5059 (eval $ac_link) 2>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; }; then
5068 ac_cv_sizeof_long_long
=`cat conftest.val`
5070 echo "$as_me: program exited with status $ac_status" >&5
5071 echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.
$ac_ext >&5
5075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5076 See \`config.log' for more details." >&5
5077 echo "$as_me: error: cannot compute sizeof (long long), 77
5078 See \`config.log' for more details." >&2;}
5079 { (exit 1); exit 1; }; }
5081 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5086 ac_cv_sizeof_long_long
=0
5089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5090 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5091 cat >>confdefs.h
<<_ACEOF
5092 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5098 $ac_cv_sizeof_short) SIZE16
="short";;
5099 $ac_cv_sizeof_int) SIZE16
="int";;
5103 $ac_cv_sizeof_int) SIZE32
="int";;
5104 $ac_cv_sizeof_long) SIZE32
="long";;
5105 $ac_cv_sizeof_short) SIZE32
="short";;
5112 OPAL_HAVE_SPEEX_SPEEX_H
=
5114 for ac_header
in "speex.h"
5116 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5118 echo "$as_me:$LINENO: checking for $ac_header" >&5
5119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5126 # Is the header compilable?
5127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5129 cat >conftest.
$ac_ext <<_ACEOF
5132 cat confdefs.h
>>conftest.
$ac_ext
5133 cat >>conftest.
$ac_ext <<_ACEOF
5134 /* end confdefs.h. */
5135 $ac_includes_default
5136 #include <$ac_header>
5138 rm -f conftest.
$ac_objext
5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5140 (eval $ac_compile) 2>conftest.er1
5142 grep -v '^ *+' conftest.er1
>conftest.err
5144 cat conftest.err
>&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } &&
5147 { ac_try
='test -z "$ac_c_werror_flag"
5148 || test ! -s conftest.err'
5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; } &&
5154 { ac_try
='test -s conftest.$ac_objext'
5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); }; }; then
5160 ac_header_compiler
=yes
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.
$ac_ext >&5
5165 ac_header_compiler
=no
5167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5169 echo "${ECHO_T}$ac_header_compiler" >&6
5171 # Is the header present?
5172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5174 cat >conftest.
$ac_ext <<_ACEOF
5177 cat confdefs.h
>>conftest.
$ac_ext
5178 cat >>conftest.
$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5180 #include <$ac_header>
5182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5185 grep -v '^ *+' conftest.er1
>conftest.err
5187 cat conftest.err
>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } >/dev
/null
; then
5190 if test -s conftest.err
; then
5191 ac_cpp_err
=$ac_c_preproc_warn_flag
5192 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5199 if test -z "$ac_cpp_err"; then
5200 ac_header_preproc
=yes
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 ac_header_preproc
=no
5207 rm -f conftest.err conftest.
$ac_ext
5208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5209 echo "${ECHO_T}$ac_header_preproc" >&6
5211 # So? What about this header?
5212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5218 ac_header_preproc
=yes
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5235 ## ------------------------------------------ ##
5236 ## Report this to the AC_PACKAGE_NAME lists. ##
5237 ## ------------------------------------------ ##
5240 sed "s/^/$as_me: WARNING: /" >&2
5243 echo "$as_me:$LINENO: checking for $ac_header" >&5
5244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 eval "$as_ac_Header=\$ac_header_preproc"
5250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5255 cat >>confdefs.h
<<_ACEOF
5256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5263 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5264 cat >>confdefs.h
<<\_ACEOF
5265 #define OPAL_HAVE_SPEEX_H 1
5270 for ac_header
in "speex/speex.h"
5272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5274 echo "$as_me:$LINENO: checking for $ac_header" >&5
5275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5282 # Is the header compilable?
5283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5285 cat >conftest.
$ac_ext <<_ACEOF
5288 cat confdefs.h
>>conftest.
$ac_ext
5289 cat >>conftest.
$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 $ac_includes_default
5292 #include <$ac_header>
5294 rm -f conftest.
$ac_objext
5295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5296 (eval $ac_compile) 2>conftest.er1
5298 grep -v '^ *+' conftest.er1
>conftest.err
5300 cat conftest.err
>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); } &&
5303 { ac_try
='test -z "$ac_c_werror_flag"
5304 || test ! -s conftest.err'
5305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; } &&
5310 { ac_try
='test -s conftest.$ac_objext'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; }; then
5316 ac_header_compiler
=yes
5318 echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.
$ac_ext >&5
5321 ac_header_compiler
=no
5323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5325 echo "${ECHO_T}$ac_header_compiler" >&6
5327 # Is the header present?
5328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5330 cat >conftest.
$ac_ext <<_ACEOF
5333 cat confdefs.h
>>conftest.
$ac_ext
5334 cat >>conftest.
$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 #include <$ac_header>
5338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } >/dev
/null
; then
5346 if test -s conftest.err
; then
5347 ac_cpp_err
=$ac_c_preproc_warn_flag
5348 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5355 if test -z "$ac_cpp_err"; then
5356 ac_header_preproc
=yes
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.
$ac_ext >&5
5361 ac_header_preproc
=no
5363 rm -f conftest.err conftest.
$ac_ext
5364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5365 echo "${ECHO_T}$ac_header_preproc" >&6
5367 # So? What about this header?
5368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5374 ac_header_preproc
=yes
5377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5391 ## ------------------------------------------ ##
5392 ## Report this to the AC_PACKAGE_NAME lists. ##
5393 ## ------------------------------------------ ##
5396 sed "s/^/$as_me: WARNING: /" >&2
5399 echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 eval "$as_ac_Header=\$ac_header_preproc"
5406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5411 cat >>confdefs.h
<<_ACEOF
5412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5414 OPAL_HAVE_SPEEX_SPEEX_H
=1
5419 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5420 cat >>confdefs.h
<<\_ACEOF
5421 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5427 if test "${localspeex}" = "yes" ; then
5428 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5429 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5430 elif test "${localspeex}" = "no" ; then
5431 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5432 echo "$as_me: Forcing use of system Speex library" >&6;}
5433 cat >>confdefs.h
<<\_ACEOF
5434 #define OPAL_SYSTEM_SPEEX 1
5440 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5441 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5442 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 ac_check_lib_save_LIBS
=$LIBS
5446 LIBS
="-lspeex $LIBS"
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5454 /* Override any gcc2 internal prototype to avoid an error. */
5458 /* We use char because int might match the return type of a gcc2
5459 builtin and then its argument prototype would still apply. */
5460 char speex_encoder_destroy ();
5464 speex_encoder_destroy ();
5469 rm -f conftest.
$ac_objext conftest
$ac_exeext
5470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5471 (eval $ac_link) 2>conftest.er1
5473 grep -v '^ *+' conftest.er1
>conftest.err
5475 cat conftest.err
>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } &&
5478 { ac_try
='test -z "$ac_c_werror_flag"
5479 || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try
='test -s conftest$ac_exeext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_lib_speex_speex_encoder_destroy
=yes
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5496 ac_cv_lib_speex_speex_encoder_destroy
=no
5498 rm -f conftest.err conftest.
$ac_objext \
5499 conftest
$ac_exeext conftest.
$ac_ext
5500 LIBS
=$ac_check_lib_save_LIBS
5502 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5503 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5504 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5508 if test "${SPEEX}x" != "x" ; then
5509 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5510 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5511 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 ac_check_lib_save_LIBS
=$LIBS
5515 LIBS
="-lspeex $LIBS"
5516 cat >conftest.
$ac_ext <<_ACEOF
5519 cat confdefs.h
>>conftest.
$ac_ext
5520 cat >>conftest.
$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5523 /* Override any gcc2 internal prototype to avoid an error. */
5527 /* We use char because int might match the return type of a gcc2
5528 builtin and then its argument prototype would still apply. */
5529 char speex_encode_int ();
5533 speex_encode_int ();
5538 rm -f conftest.
$ac_objext conftest
$ac_exeext
5539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5540 (eval $ac_link) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } &&
5547 { ac_try
='test -z "$ac_c_werror_flag"
5548 || test ! -s conftest.err'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; } &&
5554 { ac_try
='test -s conftest$ac_exeext'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; }; then
5560 ac_cv_lib_speex_speex_encode_int
=yes
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.
$ac_ext >&5
5565 ac_cv_lib_speex_speex_encode_int
=no
5567 rm -f conftest.err conftest.
$ac_objext \
5568 conftest
$ac_exeext conftest.
$ac_ext
5569 LIBS
=$ac_check_lib_save_LIBS
5571 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5572 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5573 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5580 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5581 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5582 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5584 echo "$as_me:$LINENO: checking system Speex version" >&5
5585 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5586 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5587 echo "#include <speex.h>" > t.c
5588 echo "#include <speex_header.h>" >> t.c
5590 echo "#include <speex/speex.h>" > t.c
5591 echo "#include <speex/speex_header.h>" >> t.c
5595 int main(int argc,char *argv)
5598 speex_init_header(&header, 1, 1, &speex_nb_mode);
5599 printf("%s\n", header.speex_version);
5602 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5603 if test \
! -x t
; then
5604 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5605 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5608 echo "$as_me:$LINENO: result: $SYSVER" >&5
5609 echo "${ECHO_T}$SYSVER" >&6
5610 echo "$as_me:$LINENO: checking library Speex version" >&5
5611 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5612 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5613 echo "$as_me:$LINENO: result: $LIBVER" >&5
5614 echo "${ECHO_T}$LIBVER" >&6
5615 echo "$as_me:$LINENO: checking Speex versions" >&5
5616 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5619 \$sysver = @ARGV[0];
5620 \$libver = @ARGV[1];
5621 @lib = split /\./, \$libver;
5625 @sys = split /\./, \$sysver;
5631 if (@sys[\$i] < @lib[\$i]) {
5640 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5642 if test "x$SPEEX" = "x0" ; then
5643 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5644 echo "${ECHO_T}OPAL version is more recent" >&6
5646 echo "$as_me:$LINENO: result: system version is more recent" >&5
5647 echo "${ECHO_T}system version is more recent" >&6
5648 cat >>confdefs.h
<<\_ACEOF
5649 #define OPAL_SYSTEM_SPEEX 1
5654 echo "$as_me:$LINENO: checking Speex noise type" >&5
5655 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5656 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5657 echo "#include <speex.h>" > t.c
5658 echo "#include <speex_preprocess.h>" >> t.c
5660 echo "#include <speex/speex.h>" > t.c
5661 echo "#include <speex/speex_preprocess.h>" >> t.c
5665 int main(int argc,char *argv)
5667 struct SpeexPreprocessState *st;
5670 speex_preprocess(st, x, echo);
5674 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5675 if test \
! -x t
; then
5676 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5677 echo "${ECHO_T}spx_int32_t" >&6
5679 echo "$as_me:$LINENO: result: float" >&5
5680 echo "${ECHO_T}float" >&6
5681 cat >>confdefs.h
<<\_ACEOF
5682 #define OPAL_SPEEX_FLOAT_NOISE 1
5697 # Check whether --enable-audio or --disable-audio was given.
5698 if test "${enable_audio+set}" = set; then
5699 enableval
="$enable_audio"
5702 echo "$as_me:$LINENO: checking audio codec support" >&5
5703 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6
5704 if test "$audio" = "yes" ; then
5707 cat >>confdefs.h
<<\_ACEOF
5708 #define OPAL_AUDIO 1
5711 echo "$as_me:$LINENO: result: enabled" >&5
5712 echo "${ECHO_T}enabled" >&6
5714 echo "$as_me:$LINENO: result: disabled" >&5
5715 echo "${ECHO_T}disabled" >&6
5721 # Check whether --enable-video or --disable-video was given.
5722 if test "${enable_video+set}" = set; then
5723 enableval
="$enable_video"
5726 echo "$as_me:$LINENO: checking video device support" >&5
5727 echo $ECHO_N "checking video device support... $ECHO_C" >&6
5728 if test "$video" = "yes" ; then
5731 cat >>confdefs.h
<<\_ACEOF
5732 #define OPAL_VIDEO 1
5735 echo "$as_me:$LINENO: result: enabled" >&5
5736 echo "${ECHO_T}enabled" >&6
5738 echo "$as_me:$LINENO: result: disabled" >&5
5739 echo "${ECHO_T}disabled" >&6
5745 # Check whether --enable-sip or --disable-sip was given.
5746 if test "${enable_sip+set}" = set; then
5747 enableval
="$enable_sip"
5750 echo "$as_me:$LINENO: checking SIP protocol" >&5
5751 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5752 if test "$sip" = "yes" ; then
5755 cat >>confdefs.h
<<\_ACEOF
5759 echo "$as_me:$LINENO: result: enabled" >&5
5760 echo "${ECHO_T}enabled" >&6
5762 echo "$as_me:$LINENO: result: disabled" >&5
5763 echo "${ECHO_T}disabled" >&6
5772 # Check whether --enable-h323 or --disable-h323 was given.
5773 if test "${enable_h323+set}" = set; then
5774 enableval
="$enable_h323"
5777 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5778 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5779 if test "$h323" = "yes" ; then
5782 cat >>confdefs.h
<<\_ACEOF
5786 echo "$as_me:$LINENO: result: enabled" >&5
5787 echo "${ECHO_T}enabled" >&6
5791 echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
5792 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6
5797 OPAL_H323
=$OPAL_H323
5803 # Check whether --enable-iax or --disable-iax was given.
5804 if test "${enable_iax+set}" = set; then
5805 enableval
="$enable_iax"
5808 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5809 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5810 if test "$iax" = "yes" ; then
5813 cat >>confdefs.h
<<\_ACEOF
5817 echo "$as_me:$LINENO: result: enabled" >&5
5818 echo "${ECHO_T}enabled" >&6
5820 echo "$as_me:$LINENO: result: disabled" >&5
5821 echo "${ECHO_T}disabled" >&6
5825 # Check whether --enable-h224 or --disable-h224 was given.
5826 if test "${enable_h224+set}" = set; then
5827 enableval
="$enable_h224"
5830 echo "$as_me:$LINENO: checking H224 protocol" >&5
5831 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5832 if test "$h224" = "yes" ; then
5835 cat >>confdefs.h
<<\_ACEOF
5839 echo "$as_me:$LINENO: result: enabled" >&5
5840 echo "${ECHO_T}enabled" >&6
5842 echo "$as_me:$LINENO: result: disabled" >&5
5843 echo "${ECHO_T}disabled" >&6
5848 if test "$t38" = "yes" ; then
5849 # Check whether --enable-t38 or --disable-t38 was given.
5850 if test "${enable_t38+set}" = set; then
5851 enableval
="$enable_t38"
5854 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5855 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5856 if test "$t38" = "yes" ; then
5859 cat >>confdefs.h
<<\_ACEOF
5860 #define OPAL_T38FAX 1
5863 echo "$as_me:$LINENO: result: enabled" >&5
5864 echo "${ECHO_T}enabled" >&6
5866 echo "$as_me:$LINENO: result: disabled" >&5
5867 echo "${ECHO_T}disabled" >&6
5875 if test "$h460" = "yes" ; then
5876 # Check whether --enable-h460 or --disable-h460 was given.
5877 if test "${enable_h460+set}" = set; then
5878 enableval
="$enable_h460"
5881 echo "$as_me:$LINENO: checking H.460 support" >&5
5882 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6
5883 if test "$h460" = "yes" ; then
5886 cat >>confdefs.h
<<\_ACEOF
5890 echo "$as_me:$LINENO: result: enabled" >&5
5891 echo "${ECHO_T}enabled" >&6
5893 echo "$as_me:$LINENO: result: disabled" >&5
5894 echo "${ECHO_T}disabled" >&6
5903 if test "$lid" = "yes" ; then
5904 # Check whether --enable-lid or --disable-lid was given.
5905 if test "${enable_lid+set}" = set; then
5906 enableval
="$enable_lid"
5909 echo "$as_me:$LINENO: checking LID support" >&5
5910 echo $ECHO_N "checking LID support... $ECHO_C" >&6
5911 if test "$lid" = "yes" ; then
5912 cat >>confdefs.h
<<\_ACEOF
5917 echo "$as_me:$LINENO: result: enabled" >&5
5918 echo "${ECHO_T}enabled" >&6
5920 echo "$as_me:$LINENO: result: disabled" >&5
5921 echo "${ECHO_T}disabled" >&6
5930 if test "$ivr" = "yes" ; then
5931 # Check whether --enable-ivr or --disable-ivr was given.
5932 if test "${enable_ivr+set}" = set; then
5933 enableval
="$enable_ivr"
5936 echo "$as_me:$LINENO: checking IVR support" >&5
5937 echo $ECHO_N "checking IVR support... $ECHO_C" >&6
5938 if test "$ivr" = "yes" ; then
5939 cat >>confdefs.h
<<\_ACEOF
5944 echo "$as_me:$LINENO: result: enabled" >&5
5945 echo "${ECHO_T}enabled" >&6
5947 echo "$as_me:$LINENO: result: disabled" >&5
5948 echo "${ECHO_T}disabled" >&6
5957 echo "$as_me:$LINENO: checking for libSRTP" >&5
5958 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6
5959 cat >conftest.
$ac_ext <<_ACEOF
5962 cat confdefs.h
>>conftest.
$ac_ext
5963 cat >>conftest.
$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 #include "srtp/srtp.h"
5969 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
5974 rm -f conftest.
$ac_objext
5975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5976 (eval $ac_compile) 2>conftest.er1
5978 grep -v '^ *+' conftest.er1
>conftest.err
5980 cat conftest.err
>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try
='test -z "$ac_c_werror_flag"
5984 || test ! -s conftest.err'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; } &&
5990 { ac_try
='test -s conftest.$ac_objext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.
$ac_ext >&5
6002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6003 if test "${HAS_LIBSRTP}" = "1" ; then
6004 echo "$as_me:$LINENO: result: yes" >&5
6005 echo "${ECHO_T}yes" >&6
6006 cat >>confdefs.h
<<\_ACEOF
6007 #define HAS_LIBSRTP 1
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6025 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6026 if test -f $ac_dir/install-sh
; then
6028 ac_install_sh
="$ac_aux_dir/install-sh -c"
6030 elif test -f $ac_dir/install.sh
; then
6032 ac_install_sh
="$ac_aux_dir/install.sh -c"
6034 elif test -f $ac_dir/shtool
; then
6036 ac_install_sh
="$ac_aux_dir/shtool install -c"
6040 if test -z "$ac_aux_dir"; then
6041 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6042 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6043 { (exit 1); exit 1; }; }
6045 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6046 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6047 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6049 # Find a good install program. We prefer a C program (faster),
6050 # so one script is as good as another. But avoid the broken or
6051 # incompatible versions:
6052 # SysV /etc/install, /usr/sbin/install
6053 # SunOS /usr/etc/install
6054 # IRIX /sbin/install
6056 # AmigaOS /C/install, which installs bootblocks on floppy discs
6057 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6058 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6059 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6060 # OS/2's system install, which has a completely different semantic
6061 # ./install, which can be erroneously created by make from ./install.sh.
6062 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6063 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6064 if test -z "$INSTALL"; then
6065 if test "${ac_cv_path_install+set}" = set; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 # Account for people who put trailing slashes in PATH elements.
6075 .
/ | .
// |
/cC
/* | \
6076 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6077 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6080 # OSF1 and SCO ODT 3.0 have their own names for install.
6081 # Don't use installbsd from OSF since it installs stuff as root
6083 for ac_prog
in ginstall scoinst
install; do
6084 for ac_exec_ext
in '' $ac_executable_extensions; do
6085 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6086 if test $ac_prog = install &&
6087 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6088 # AIX install. It has an incompatible calling convention.
6090 elif test $ac_prog = install &&
6091 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6092 # program-specific install script used by HP pwplus--don't use.
6095 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6107 if test "${ac_cv_path_install+set}" = set; then
6108 INSTALL
=$ac_cv_path_install
6110 # As a last resort, use the slow shell script. We don't cache a
6111 # path for INSTALL within a source directory, because that will
6112 # break other packages using the cache if that directory is
6113 # removed, or if the path is relative.
6114 INSTALL
=$ac_install_sh
6117 echo "$as_me:$LINENO: result: $INSTALL" >&5
6118 echo "${ECHO_T}$INSTALL" >&6
6120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6121 # It thinks the first close brace ends the variable substitution.
6122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6124 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6126 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6132 subdirs
="$subdirs plugins"
6136 ac_config_files
="$ac_config_files opal_inc.mak"
6138 ac_config_files
="$ac_config_files Makefile"
6140 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6143 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6144 cat >confcache
<<\_ACEOF
6145 # This file is a shell script that caches the results of configure
6146 # tests run on this system so they can be shared between configure
6147 # scripts and configure runs, see configure's option --config-cache.
6148 # It is not useful on other systems. If it contains results you don't
6149 # want to keep, you may remove or edit it.
6151 # config.status only pays attention to the cache file if you give it
6152 # the --recheck option to rerun configure.
6154 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6155 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6160 # The following way of writing the cache mishandles newlines in values,
6161 # but we know of no workaround that is simple, portable, and efficient.
6162 # So, don't put newlines in cache variables' values.
6163 # Ultrix sh set writes to stderr and can't be redirected directly,
6164 # and sets the high bit in the cache file unless we assign to the vars.
6167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6169 # `set' does not quote correctly, so add quotes (double-quote
6170 # substitution turns \\\\ into \\, and sed turns \\ into \).
6173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6176 # `set' quotes correctly as required by POSIX, so do not add quotes.
6178 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6187 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6189 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6190 if test -w $cache_file; then
6191 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6192 cat confcache
>$cache_file
6194 echo "not updating unwritable cache $cache_file"
6199 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6200 # Let make expand exec_prefix.
6201 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6205 # trailing colons and then remove the whole line if VPATH becomes empty
6206 # (actually we leave an empty line to preserve line numbers).
6207 if test "x$srcdir" = x.
; then
6208 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6209 s/:*\$(srcdir):*/:/;
6210 s/:*\${srcdir}:*/:/;
6212 s/^\([^=]*=[ ]*\):*/\1/;
6218 DEFS
=-DHAVE_CONFIG_H
6222 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6223 # 1. Remove the extension, and $U if already installed.
6224 ac_i
=`echo "$ac_i" |
6225 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6227 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6228 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6232 LTLIBOBJS
=$ac_ltlibobjs
6236 : ${CONFIG_STATUS=./config.status}
6237 ac_clean_files_save
=$ac_clean_files
6238 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6241 cat >$CONFIG_STATUS <<_ACEOF
6243 # Generated by $as_me.
6244 # Run this file to recreate the current configuration.
6245 # Compiler output produced by configure, useful for debugging
6246 # configure, is in config.log if it exists.
6251 SHELL=\${CONFIG_SHELL-$SHELL}
6254 cat >>$CONFIG_STATUS <<\_ACEOF
6255 ## --------------------- ##
6256 ## M4sh Initialization. ##
6257 ## --------------------- ##
6259 # Be Bourne compatible
6260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6264 # is contrary to our usage. Disable this feature.
6265 alias -g '${1+"$@"}'='"$@"'
6266 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6269 DUALCASE
=1; export DUALCASE
# for MKS sh
6271 # Support unset when possible.
6272 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6279 # Work around bugs in pre-3.0 UWIN ksh.
6280 $as_unset ENV MAIL MAILPATH
6287 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6288 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6289 LC_TELEPHONE LC_TIME
6291 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6292 eval $as_var=C
; export $as_var
6298 # Required to use basename.
6299 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6305 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6306 as_basename
=basename
6312 # Name of the executable.
6313 as_me
=`$as_basename "$0" ||
6314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6315 X"$0" : 'X\(//\)$' \| \
6316 X"$0" : 'X\(/\)$' \| \
6317 . : '\(.\)' 2>/dev/null ||
6319 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6320 /^X\/\(\/\/\)$/{ s//\1/; q; }
6321 /^X\/\(\/\).*/{ s//\1/; q; }
6325 # PATH needs CR, and LINENO needs CR and PATH.
6326 # Avoid depending upon Character Ranges.
6327 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6328 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6329 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6330 as_cr_digits
='0123456789'
6331 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6333 # The user is always right.
6334 if test "${PATH_SEPARATOR+set}" != set; then
6335 echo "#! /bin/sh" >conf$$.sh
6336 echo "exit 0" >>conf$$.sh
6338 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6349 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6350 test "x$as_lineno_1" != "x$as_lineno_2" &&
6351 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6352 # Find who we are. Look in the path if we contain no path at all
6355 *[\\/]* ) as_myself
=$0 ;;
6356 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir
=.
6361 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6366 # We did not find ourselves, most probably we were run as `sh COMMAND'
6367 # in which case we are not to be found in the path.
6368 if test "x$as_myself" = x
; then
6371 if test ! -f "$as_myself"; then
6372 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6373 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6374 { (exit 1); exit 1; }; }
6376 case $CONFIG_SHELL in
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6379 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6382 test -z "$as_dir" && as_dir
=.
6383 for as_base
in sh bash ksh sh5
; do
6386 if ("$as_dir/$as_base" -c '
6389 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6390 test "x$as_lineno_1" != "x$as_lineno_2" &&
6391 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6392 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6393 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6394 CONFIG_SHELL
=$as_dir/$as_base
6396 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6404 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6405 # uniformly replaced by the line number. The first 'sed' inserts a
6406 # line-number line before each line; the second 'sed' does the real
6407 # work. The second script uses 'N' to pair each line-number line
6408 # with the numbered line, and appends trailing '-' during
6409 # substitution so that $LINENO is not a special case at line end.
6410 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6411 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6412 sed '=' <$as_myself |
6417 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6420 s,^['$as_cr_digits']*\n,,
6422 chmod +x
$as_me.lineno ||
6423 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6424 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6425 { (exit 1); exit 1; }; }
6427 # Don't try to exec as it changes $[0], causing all sort of problems
6428 # (the dirname of $[0] is not the place where we might find the
6429 # original and so on. Autoconf is especially sensible to this).
6431 # Exit status is that of the last command.
6436 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6437 *c
*,-n*) ECHO_N
= ECHO_C
='
6439 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6440 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6443 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6449 rm -f conf$$ conf$$.exe conf$$.
file
6451 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6452 # We could just check for DJGPP; but this test a) works b) is more generic
6453 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6454 if test -f conf$$.exe
; then
6455 # Don't use ln at all; we don't have any links
6460 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6465 rm -f conf$$ conf$$.exe conf$$.
file
6467 if mkdir
-p .
2>/dev
/null
; then
6470 test -d .
/-p && rmdir .
/-p
6474 as_executable_p
="test -f"
6476 # Sed expression to map a string onto a valid CPP name.
6477 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6479 # Sed expression to map a string onto a valid variable name.
6480 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6484 # We need space, tab and new line, in precisely that order.
6494 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6495 # report actual input values of CONFIG_FILES etc. instead of their
6496 # values after options handling. Logging --version etc. is OK.
6500 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6501 ## Running $as_me. ##
6506 This file was extended by $as_me, which was
6507 generated by GNU Autoconf 2.59. Invocation command line was
6509 CONFIG_FILES = $CONFIG_FILES
6510 CONFIG_HEADERS = $CONFIG_HEADERS
6511 CONFIG_LINKS = $CONFIG_LINKS
6512 CONFIG_COMMANDS = $CONFIG_COMMANDS
6516 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6520 # Files that config.status was made for.
6521 if test -n "$ac_config_files"; then
6522 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6525 if test -n "$ac_config_headers"; then
6526 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6529 if test -n "$ac_config_links"; then
6530 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6533 if test -n "$ac_config_commands"; then
6534 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6537 cat >>$CONFIG_STATUS <<\_ACEOF
6540 \`$as_me' instantiates files from templates according to the
6541 current configuration.
6543 Usage: $0 [OPTIONS] [FILE]...
6545 -h, --help print this help, then exit
6546 -V, --version print version number, then exit
6547 -q, --quiet do not print progress messages
6548 -d, --debug don't remove temporary files
6549 --recheck update $as_me by reconfiguring in the same conditions
6550 --file=FILE[:TEMPLATE]
6551 instantiate the configuration file FILE
6552 --header=FILE[:TEMPLATE]
6553 instantiate the configuration header FILE
6555 Configuration files:
6558 Configuration headers:
6561 Report bugs to <bug-autoconf@gnu.org>."
6564 cat >>$CONFIG_STATUS <<_ACEOF
6567 configured by $0, generated by GNU Autoconf 2.59,
6568 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6570 Copyright (C) 2003 Free Software Foundation, Inc.
6571 This config.status script is free software; the Free Software Foundation
6572 gives unlimited permission to copy, distribute and modify it."
6577 cat >>$CONFIG_STATUS <<\_ACEOF
6578 # If no file are specified by the user, then we need to provide default
6579 # value. By we need to know if files were specified by the user.
6585 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6586 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6594 *) # This is not an option, so the user has probably given explicit
6597 ac_need_defaults
=false
;;
6601 # Handling of the options.
6603 cat >>$CONFIG_STATUS <<\_ACEOF
6604 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6606 --version |
--vers* |
-V )
6607 echo "$ac_cs_version"; exit 0 ;;
6609 # Conflict between --help and --header
6610 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6611 Try \`$0 --help' for more information." >&5
6612 echo "$as_me: error: ambiguous option: $1
6613 Try \`$0 --help' for more information." >&2;}
6614 { (exit 1); exit 1; }; };;
6615 --help |
--hel |
-h )
6616 echo "$ac_cs_usage"; exit 0 ;;
6617 --debug |
--d* |
-d )
6619 --file |
--fil |
--fi |
--f )
6621 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6622 ac_need_defaults
=false
;;
6623 --header |
--heade |
--head |
--hea )
6625 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6626 ac_need_defaults
=false
;;
6627 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6628 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6632 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6633 Try \`$0 --help' for more information." >&5
6634 echo "$as_me: error: unrecognized option: $1
6635 Try \`$0 --help' for more information." >&2;}
6636 { (exit 1); exit 1; }; } ;;
6638 *) ac_config_targets
="$ac_config_targets $1" ;;
6644 ac_configure_extra_args
=
6646 if $ac_cs_silent; then
6648 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6652 cat >>$CONFIG_STATUS <<_ACEOF
6653 if \$ac_cs_recheck; then
6654 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6655 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6664 cat >>$CONFIG_STATUS <<\_ACEOF
6665 for ac_config_target
in $ac_config_targets
6667 case "$ac_config_target" in
6668 # Handling of arguments.
6669 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
6670 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6671 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
6672 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
6673 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6674 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6675 { (exit 1); exit 1; }; };;
6679 # If the user did not use the arguments to specify the items to instantiate,
6680 # then the envvar interface is used. Set only those that are not.
6681 # We use the long form for the default assignment because of an extremely
6682 # bizarre bug on SunOS 4.1.3.
6683 if $ac_need_defaults; then
6684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6688 # Have a temporary directory for convenience. Make it in the build tree
6689 # simply because there is no reason to put it here, and in addition,
6690 # creating and moving files from /tmp can sometimes cause problems.
6691 # Create a temporary directory, and hook for its removal unless debugging.
6694 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6695 trap '{ (exit 1); exit 1; }' 1 2 13 15
6698 # Create a (secure) tmp directory for tmp files.
6701 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6702 test -n "$tmp" && test -d "$tmp"
6705 tmp
=.
/confstat$$
-$RANDOM
6706 (umask 077 && mkdir
$tmp)
6709 echo "$me: cannot create a temporary directory in ." >&2
6710 { (exit 1); exit 1; }
6715 cat >>$CONFIG_STATUS <<_ACEOF
6718 # CONFIG_FILES section.
6721 # No need to generate the scripts if there are no CONFIG_FILES.
6722 # This happens for instance when ./config.status config.h
6723 if test -n "\$CONFIG_FILES"; then
6724 # Protect against being on the right side of a sed subst in config.status.
6725 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6726 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6727 s,@SHELL@,$SHELL,;t t
6728 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6729 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6730 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6731 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6732 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6733 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6734 s,@exec_prefix@,$exec_prefix,;t t
6735 s,@prefix@,$prefix,;t t
6736 s,@program_transform_name@,$program_transform_name,;t t
6737 s,@bindir@,$bindir,;t t
6738 s,@sbindir@,$sbindir,;t t
6739 s,@libexecdir@,$libexecdir,;t t
6740 s,@datadir@,$datadir,;t t
6741 s,@sysconfdir@,$sysconfdir,;t t
6742 s,@sharedstatedir@,$sharedstatedir,;t t
6743 s,@localstatedir@,$localstatedir,;t t
6744 s,@libdir@,$libdir,;t t
6745 s,@includedir@,$includedir,;t t
6746 s,@oldincludedir@,$oldincludedir,;t t
6747 s,@infodir@,$infodir,;t t
6748 s,@mandir@,$mandir,;t t
6749 s,@build_alias@,$build_alias,;t t
6750 s,@host_alias@,$host_alias,;t t
6751 s,@target_alias@,$target_alias,;t t
6753 s,@ECHO_C@,$ECHO_C,;t t
6754 s,@ECHO_N@,$ECHO_N,;t t
6755 s,@ECHO_T@,$ECHO_T,;t t
6758 s,@CFLAGS@,$CFLAGS,;t t
6759 s,@LDFLAGS@,$LDFLAGS,;t t
6760 s,@CPPFLAGS@,$CPPFLAGS,;t t
6761 s,@ac_ct_CC@,$ac_ct_CC,;t t
6762 s,@EXEEXT@,$EXEEXT,;t t
6763 s,@OBJEXT@,$OBJEXT,;t t
6765 s,@CXXFLAGS@,$CXXFLAGS,;t t
6766 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6767 s,@OPALDIR@,$OPALDIR,;t t
6768 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6769 s,@LIBDIR@,$LIBDIR,;t t
6770 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
6771 s,@PWLIBDIR@,$PWLIBDIR,;t t
6773 s,@EGREP@,$EGREP,;t t
6774 s,@SIZE16@,$SIZE16,;t t
6775 s,@SIZE32@,$SIZE32,;t t
6776 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
6777 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
6778 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
6779 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
6780 s,@OPAL_SIP@,$OPAL_SIP,;t t
6781 s,@OPAL_H323@,$OPAL_H323,;t t
6782 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
6783 s,@OPAL_H224@,$OPAL_H224,;t t
6784 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
6785 s,@H323_H460@,$H323_H460,;t t
6786 s,@OPAL_LID@,$OPAL_LID,;t t
6787 s,@OPAL_IVR@,$OPAL_IVR,;t t
6788 s,@OPAL_SRTP@,$OPAL_SRTP,;t t
6789 s,@HAS_LIBSRTP@,$HAS_LIBSRTP,;t t
6790 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
6791 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
6792 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6793 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6794 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6795 s,@subdirs@,$subdirs,;t t
6796 s,@LIBOBJS@,$LIBOBJS,;t t
6797 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6802 cat >>$CONFIG_STATUS <<\_ACEOF
6803 # Split the substitutions into bite-sized pieces for seds with
6804 # small command number limits, like on Digital OSF/1 and HP-UX.
6806 ac_sed_frag
=1 # Number of current file.
6807 ac_beg
=1 # First line for current file.
6808 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6811 while $ac_more_lines; do
6812 if test $ac_beg -gt 1; then
6813 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6815 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6817 if test ! -s $tmp/subs.frag
; then
6820 # The purpose of the label and of the branching condition is to
6821 # speed up the sed processing (if there are no `@' at all, there
6822 # is no need to browse any of the substitutions).
6823 # These are the two extra sed commands mentioned above.
6825 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6826 if test -z "$ac_sed_cmds"; then
6827 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6829 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6831 ac_sed_frag
=`expr $ac_sed_frag + 1`
6833 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6836 if test -z "$ac_sed_cmds"; then
6839 fi # test -n "$CONFIG_FILES"
6842 cat >>$CONFIG_STATUS <<\_ACEOF
6843 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6844 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6846 - |
*:- |
*:-:* ) # input from stdin
6848 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6849 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6850 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6851 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6852 * ) ac_file_in
=$ac_file.
in ;;
6855 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6856 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6858 X"$ac_file" : 'X\(//\)[^/]' \| \
6859 X"$ac_file" : 'X\(//\)$' \| \
6860 X"$ac_file" : 'X\(/\)' \| \
6861 . : '\(.\)' 2>/dev/null ||
6863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6865 /^X\(\/\/\)$/{ s//\1/; q; }
6866 /^X\(\/\).*/{ s//\1/; q; }
6868 { if $as_mkdir_p; then
6873 while test ! -d "$as_dir"; do
6874 as_dirs
="$as_dir $as_dirs"
6875 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6877 X"$as_dir" : 'X\(//\)[^/]' \| \
6878 X"$as_dir" : 'X\(//\)$' \| \
6879 X"$as_dir" : 'X\(/\)' \| \
6880 . : '\(.\)' 2>/dev/null ||
6882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6884 /^X\(\/\/\)$/{ s//\1/; q; }
6885 /^X\(\/\).*/{ s//\1/; q; }
6888 test ! -n "$as_dirs" || mkdir
$as_dirs
6889 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6891 { (exit 1); exit 1; }; }; }
6895 if test "$ac_dir" != .
; then
6896 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6897 # A "../" for each directory in $ac_dir_suffix.
6898 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6900 ac_dir_suffix
= ac_top_builddir
=
6904 .
) # No --srcdir option. We are building in place.
6906 if test -z "$ac_top_builddir"; then
6909 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6911 [\\/]* | ?
:[\\/]* ) # Absolute path.
6912 ac_srcdir
=$srcdir$ac_dir_suffix;
6913 ac_top_srcdir
=$srcdir ;;
6915 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6916 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6919 # Do not use `cd foo && pwd` to compute absolute paths, because
6920 # the directories may not exist.
6922 .
) ac_abs_builddir
="$ac_dir";;
6925 .
) ac_abs_builddir
=`pwd`;;
6926 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6927 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6930 case $ac_abs_builddir in
6931 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6933 case ${ac_top_builddir}.
in
6934 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6935 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6936 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6939 case $ac_abs_builddir in
6940 .
) ac_abs_srcdir
=$ac_srcdir;;
6943 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6944 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6945 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6948 case $ac_abs_builddir in
6949 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6951 case $ac_top_srcdir in
6952 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6953 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6954 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6960 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6961 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6964 if test x
"$ac_file" != x-
; then
6965 { echo "$as_me:$LINENO: creating $ac_file" >&5
6966 echo "$as_me: creating $ac_file" >&6;}
6969 # Let's still pretend it is `configure' which instantiates (i.e., don't
6970 # use $as_me), people would be surprised to read:
6971 # /* config.h. Generated by config.status. */
6972 if test x
"$ac_file" = x-
; then
6975 configure_input
="$ac_file. "
6977 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6978 sed 's,.*/,,'` by configure."
6980 # First look for the input files in the build tree, otherwise in the
6982 ac_file_inputs
=`IFS=:
6983 for f in $ac_file_in; do
6985 -) echo $tmp/stdin ;;
6987 # Absolute (can't be DOS-style, as IFS=:)
6988 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6989 echo "$as_me: error: cannot find input file: $f" >&2;}
6990 { (exit 1); exit 1; }; }
6993 if test -f "$f"; then
6996 elif test -f "$srcdir/$f"; then
7001 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7002 echo "$as_me: error: cannot find input file: $f" >&2;}
7003 { (exit 1); exit 1; }; }
7006 done` ||
{ (exit 1); exit 1; }
7008 cat >>$CONFIG_STATUS <<_ACEOF
7012 cat >>$CONFIG_STATUS <<\_ACEOF
7014 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7015 s
,@configure_input@
,$configure_input,;t t
7016 s
,@srcdir@
,$ac_srcdir,;t t
7017 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7018 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7019 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7020 s
,@builddir@
,$ac_builddir,;t t
7021 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7022 s
,@top_builddir@
,$ac_top_builddir,;t t
7023 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7024 s
,@INSTALL@
,$ac_INSTALL,;t t
7025 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7027 if test x"$ac_file" != x-; then
7028 mv $tmp/out $ac_file
7036 cat >>$CONFIG_STATUS <<\_ACEOF
7039 # CONFIG_HEADER section.
7042 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7043 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7045 # ac_d sets the value in "#define NAME VALUE" lines.
7046 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7047 ac_dB
='[ ].*$,\1#\2'
7050 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7051 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7052 ac_uB
='$,\1#\2define\3'
7056 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7057 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7059 - |
*:- |
*:-:* ) # input from stdin
7061 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7062 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7063 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7064 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7065 * ) ac_file_in
=$ac_file.
in ;;
7068 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7069 echo "$as_me: creating $ac_file" >&6;}
7071 # First look for the input files in the build tree, otherwise in the
7073 ac_file_inputs
=`IFS=:
7074 for f in $ac_file_in; do
7076 -) echo $tmp/stdin ;;
7078 # Absolute (can't be DOS-style, as IFS=:)
7079 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7080 echo "$as_me: error: cannot find input file: $f" >&2;}
7081 { (exit 1); exit 1; }; }
7082 # Do quote $f, to prevent DOS paths from being IFS'd.
7085 if test -f "$f"; then
7088 elif test -f "$srcdir/$f"; then
7093 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7094 echo "$as_me: error: cannot find input file: $f" >&2;}
7095 { (exit 1); exit 1; }; }
7098 done` ||
{ (exit 1); exit 1; }
7099 # Remove the trailing spaces.
7100 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7104 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7105 # `conftest.undefs', that substitutes the proper values into
7106 # config.h.in to produce config.h. The first handles `#define'
7107 # templates, and the second `#undef' templates.
7108 # And first: Protect against being on the right side of a sed subst in
7109 # config.status. Protect against being in an unquoted here document
7111 rm -f conftest.defines conftest.undefs
7112 # Using a here document instead of a string reduces the quoting nightmare.
7113 # Putting comments in sed scripts is not portable.
7115 # `end' is used to avoid that the second main sed command (meant for
7116 # 0-ary CPP macros) applies to n-ary macro definitions.
7117 # See the Autoconf documentation for `clear'.
7118 cat >confdef2sed.
sed <<\_ACEOF
7123 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7125 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7128 # If some macros were called several times there might be several times
7129 # the same #defines, which is useless. Nevertheless, we may not want to
7130 # sort them, since we want the *last* AC-DEFINE to be honored.
7131 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7132 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7133 rm -f confdef2sed.sed
7135 # This sed command replaces #undef with comments. This is necessary, for
7136 # example, in the case of _POSIX_SOURCE, which is predefined and required
7137 # on some systems where configure will not decide to define it.
7138 cat >>conftest.undefs <<\_ACEOF
7139 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7142 # Break up conftest.defines because some shells have a limit on the size
7143 # of here documents, and old seds have small limits too (100 cmds).
7144 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7145 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7146 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7147 echo ' :' >>$CONFIG_STATUS
7149 while grep . conftest.defines >/dev/null
7151 # Write a limited-size here document to $tmp/defines.sed.
7152 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7153 # Speed up: don't consider the non `#define' lines.
7154 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7155 # Work around the forget-to-reset-the-flag bug.
7156 echo 't clr' >>$CONFIG_STATUS
7157 echo ': clr' >>$CONFIG_STATUS
7158 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7160 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7164 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7165 rm -f conftest.defines
7166 mv conftest.
tail conftest.defines
7168 rm -f conftest.defines
7169 echo ' fi # grep' >>$CONFIG_STATUS
7170 echo >>$CONFIG_STATUS
7172 # Break up conftest.undefs because some shells have a limit on the size
7173 # of here documents, and old seds have small limits too (100 cmds).
7174 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7176 while grep . conftest.undefs
>/dev
/null
7178 # Write a limited-size here document to $tmp/undefs.sed.
7179 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7180 # Speed up: don't consider the non
`#undef'
7181 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7182 # Work around the forget-to-reset-the-flag bug.
7183 echo 't clr' >>$CONFIG_STATUS
7184 echo ': clr' >>$CONFIG_STATUS
7185 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7187 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7191 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7192 rm -f conftest.undefs
7193 mv conftest.tail conftest.undefs
7195 rm -f conftest.undefs
7197 cat >>$CONFIG_STATUS <<\_ACEOF
7198 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7199 # use $as_me), people would be surprised to read:
7200 # /* config.h. Generated by config.status. */
7201 if test x
"$ac_file" = x-
; then
7202 echo "/* Generated by configure. */" >$tmp/config.h
7204 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7206 cat $tmp/in >>$tmp/config.h
7208 if test x
"$ac_file" != x-
; then
7209 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7210 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7211 echo "$as_me: $ac_file is unchanged" >&6;}
7213 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7214 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7215 X"$ac_file" : 'X\(//\)[^/]' \| \
7216 X"$ac_file" : 'X\(//\)$' \| \
7217 X"$ac_file" : 'X\(/\)' \| \
7218 . : '\(.\)' 2>/dev/null ||
7220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7222 /^X\(\/\/\)$/{ s//\1/; q; }
7223 /^X\(\/\).*/{ s//\1/; q; }
7225 { if $as_mkdir_p; then
7230 while test ! -d "$as_dir"; do
7231 as_dirs
="$as_dir $as_dirs"
7232 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7233 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7234 X"$as_dir" : 'X\(//\)[^/]' \| \
7235 X"$as_dir" : 'X\(//\)$' \| \
7236 X"$as_dir" : 'X\(/\)' \| \
7237 . : '\(.\)' 2>/dev/null ||
7239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7241 /^X\(\/\/\)$/{ s//\1/; q; }
7242 /^X\(\/\).*/{ s//\1/; q; }
7245 test ! -n "$as_dirs" || mkdir
$as_dirs
7246 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7247 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7248 { (exit 1); exit 1; }; }; }
7251 mv $tmp/config.h
$ac_file
7260 cat >>$CONFIG_STATUS <<\_ACEOF
7262 { (exit 0); exit 0; }
7264 chmod +x
$CONFIG_STATUS
7265 ac_clean_files
=$ac_clean_files_save
7268 # configure is writing to config.log, and then calls config.status.
7269 # config.status does its own redirection, appending to config.log.
7270 # Unfortunately, on DOS this fails, as config.log is still kept open
7271 # by configure, so config.status won't be able to write to it; its
7272 # output is simply discarded. So we exec the FD to /dev/null,
7273 # effectively closing config.log, so it can be properly (re)opened and
7274 # appended to by config.status. When coming back to configure, we
7275 # need to make the FD available again.
7276 if test "$no_create" != yes; then
7278 ac_config_status_args
=
7279 test "$silent" = yes &&
7280 ac_config_status_args
="$ac_config_status_args --quiet"
7282 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7284 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7285 # would make configure fail if this is the last instruction.
7286 $ac_cs_success ||
{ (exit 1); exit 1; }
7290 # CONFIG_SUBDIRS section.
7292 if test "$no_recursion" != yes; then
7294 # Remove --cache-file and --srcdir arguments so they do not pile up.
7295 ac_sub_configure_args
=
7297 for ac_arg
in $ac_configure_args; do
7298 if test -n "$ac_prev"; then
7303 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7304 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7305 ac_prev
=cache_file
;;
7306 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7307 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7310 --config-cache |
-C)
7312 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7314 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7316 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7318 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7320 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7324 # Always prepend --prefix to ensure using the same prefix
7325 # in subdir configurations.
7326 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7329 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7331 # Do not complain, so a configure script can configure whichever
7332 # parts of a large source tree are present.
7333 test -d $srcdir/$ac_dir ||
continue
7335 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7336 echo "$as_me: configuring in $ac_dir" >&6;}
7337 { if $as_mkdir_p; then
7342 while test ! -d "$as_dir"; do
7343 as_dirs
="$as_dir $as_dirs"
7344 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7346 X"$as_dir" : 'X\(//\)[^/]' \| \
7347 X"$as_dir" : 'X\(//\)$' \| \
7348 X"$as_dir" : 'X\(/\)' \| \
7349 . : '\(.\)' 2>/dev/null ||
7351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7353 /^X\(\/\/\)$/{ s//\1/; q; }
7354 /^X\(\/\).*/{ s//\1/; q; }
7357 test ! -n "$as_dirs" || mkdir
$as_dirs
7358 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7359 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7360 { (exit 1); exit 1; }; }; }
7364 if test "$ac_dir" != .
; then
7365 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7366 # A "../" for each directory in $ac_dir_suffix.
7367 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7369 ac_dir_suffix
= ac_top_builddir
=
7373 .
) # No --srcdir option. We are building in place.
7375 if test -z "$ac_top_builddir"; then
7378 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7380 [\\/]* | ?
:[\\/]* ) # Absolute path.
7381 ac_srcdir
=$srcdir$ac_dir_suffix;
7382 ac_top_srcdir
=$srcdir ;;
7384 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7385 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7388 # Do not use `cd foo && pwd` to compute absolute paths, because
7389 # the directories may not exist.
7391 .
) ac_abs_builddir
="$ac_dir";;
7394 .
) ac_abs_builddir
=`pwd`;;
7395 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7396 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7399 case $ac_abs_builddir in
7400 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7402 case ${ac_top_builddir}.
in
7403 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7404 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7405 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7408 case $ac_abs_builddir in
7409 .
) ac_abs_srcdir
=$ac_srcdir;;
7412 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7413 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7414 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7417 case $ac_abs_builddir in
7418 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7420 case $ac_top_srcdir in
7421 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7422 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7423 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7430 # Check for guested configure; otherwise get Cygnus style configure.
7431 if test -f $ac_srcdir/configure.gnu
; then
7432 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7433 elif test -f $ac_srcdir/configure
; then
7434 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7435 elif test -f $ac_srcdir/configure.
in; then
7436 ac_sub_configure
=$ac_configure
7438 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7439 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7443 # The recursion is here.
7444 if test -n "$ac_sub_configure"; then
7445 # Make the cache file name correct relative to the subdirectory.
7447 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7449 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7452 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7453 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7454 # The eval makes quoting arguments work.
7455 eval $ac_sub_configure $ac_sub_configure_args \
7456 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7457 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7458 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7459 { (exit 1); exit 1; }; }