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" || test ! -s conftest.err'
1884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; } &&
1889 { ac_try
='test -s conftest.$ac_objext'
1890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }; }; then
1897 echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.
$ac_ext >&5
1902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1903 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1906 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1908 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1909 ac_test_CFLAGS
=${CFLAGS+set}
1910 ac_save_CFLAGS
=$CFLAGS
1912 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1913 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1914 if test "${ac_cv_prog_cc_g+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.
$ac_ext <<_ACEOF
1920 cat confdefs.h
>>conftest.
$ac_ext
1921 cat >>conftest.
$ac_ext <<_ACEOF
1922 /* end confdefs.h. */
1932 rm -f conftest.
$ac_objext
1933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1934 (eval $ac_compile) 2>conftest.er1
1936 grep -v '^ *+' conftest.er1
>conftest.err
1938 cat conftest.err
>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); } &&
1941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; } &&
1947 { ac_try
='test -s conftest.$ac_objext'
1948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }; }; then
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1962 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1963 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1964 if test "$ac_test_CFLAGS" = set; then
1965 CFLAGS
=$ac_save_CFLAGS
1966 elif test $ac_cv_prog_cc_g = yes; then
1967 if test "$GCC" = yes; then
1973 if test "$GCC" = yes; then
1979 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1980 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1981 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 ac_cv_prog_cc_stdc
=no
1986 cat >conftest.
$ac_ext <<_ACEOF
1989 cat confdefs.h
>>conftest.
$ac_ext
1990 cat >>conftest.
$ac_ext <<_ACEOF
1991 /* end confdefs.h. */
1994 #include <sys/types.h>
1995 #include <sys/stat.h>
1996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1997 struct buf { int x; };
1998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1999 static char *e (p, i)
2005 static char *f (char * (*g) (char **, int), char **p, ...)
2010 s = g (p, va_arg (v,int));
2015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2016 function prototypes and stuff, but not '\xHH' hex character constants.
2017 These don't provoke an error unfortunately, instead are silently treated
2018 as 'x'. The following induces an error, until -std1 is added to get
2019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2020 array size at least. It's necessary to write '\x00'==0 to get something
2021 that's true only with -std1. */
2022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2024 int test (int i, double x);
2025 struct s1 {int (*f) (int a);};
2026 struct s2 {int (*f) (double a);};
2027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2033 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2038 # Don't try gcc -ansi; that turns off useful extensions and
2039 # breaks some systems' header files.
2040 # AIX -qlanglvl=ansi
2041 # Ultrix and OSF/1 -std1
2042 # HP-UX 10.20 and later -Ae
2043 # HP-UX older versions -Aa -D_HPUX_SOURCE
2044 # SVR4 -Xc -D__EXTENSIONS__
2045 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2047 CC
="$ac_save_CC $ac_arg"
2048 rm -f conftest.
$ac_objext
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050 (eval $ac_compile) 2>conftest.er1
2052 grep -v '^ *+' conftest.er1
>conftest.err
2054 cat conftest.err
>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); } &&
2057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; } &&
2063 { ac_try
='test -s conftest.$ac_objext'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; }; then
2069 ac_cv_prog_cc_stdc
=$ac_arg
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2076 rm -f conftest.err conftest.
$ac_objext
2078 rm -f conftest.
$ac_ext conftest.
$ac_objext
2083 case "x$ac_cv_prog_cc_stdc" in
2085 echo "$as_me:$LINENO: result: none needed" >&5
2086 echo "${ECHO_T}none needed" >&6 ;;
2088 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2089 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2090 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2093 # Some people use a C++ compiler to compile C. Since we use `exit',
2094 # in C++ we need to declare it. In case someone uses the same compiler
2095 # for both compiling C and C++ we need to have the C++ compiler decide
2096 # the declaration of exit, since it's the most demanding environment.
2097 cat >conftest.
$ac_ext <<_ACEOF
2102 rm -f conftest.
$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>conftest.er1
2106 grep -v '^ *+' conftest.er1
>conftest.err
2108 cat conftest.err
>&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); } &&
2111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; } &&
2117 { ac_try
='test -s conftest.$ac_objext'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then
2123 for ac_declaration
in \
2125 'extern "C" void std::exit (int) throw (); using std::exit;' \
2126 'extern "C" void std::exit (int); using std::exit;' \
2127 'extern "C" void exit (int) throw ();' \
2128 'extern "C" void exit (int);' \
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2147 rm -f conftest.
$ac_objext
2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2149 (eval $ac_compile) 2>conftest.er1
2151 grep -v '^ *+' conftest.er1
>conftest.err
2153 cat conftest.err
>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; } &&
2162 { ac_try
='test -s conftest.$ac_objext'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; }; then
2170 echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.
$ac_ext >&5
2175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 cat >conftest.
$ac_ext <<_ACEOF
2179 cat confdefs.h
>>conftest.
$ac_ext
2180 cat >>conftest.
$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1
>conftest.err
2197 cat conftest.err
>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try
='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.
$ac_ext >&5
2218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2221 if test -n "$ac_declaration"; then
2222 echo '#ifdef __cplusplus' >>confdefs.h
2223 echo $ac_declaration >>confdefs.h
2224 echo '#endif' >>confdefs.h
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.
$ac_ext >&5
2232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 ac_cpp
='$CPP $CPPFLAGS'
2235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2240 ac_cpp
='$CXXCPP $CPPFLAGS'
2241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2244 if test -n "$ac_tool_prefix"; then
2245 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2248 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2249 echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2251 if test "${ac_cv_prog_CXX+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$CXX"; then
2255 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 if test -n "$CXX"; then
2275 echo "$as_me:$LINENO: result: $CXX" >&5
2276 echo "${ECHO_T}$CXX" >&6
2278 echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6
2282 test -n "$CXX" && break
2285 if test -z "$CXX"; then
2287 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2289 # Extract the first word of "$ac_prog", so it can be a program name with args.
2290 set dummy
$ac_prog; ac_word
=$2
2291 echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2293 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$ac_ct_CXX"; then
2297 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir
=.
2304 for ac_exec_ext
in '' $ac_executable_extensions; do
2305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2316 if test -n "$ac_ct_CXX"; then
2317 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2318 echo "${ECHO_T}$ac_ct_CXX" >&6
2320 echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6
2324 test -n "$ac_ct_CXX" && break
2326 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334 "checking for C++ compiler version" >&5
2335 ac_compiler
=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2352 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2353 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 cat >conftest.
$ac_ext <<_ACEOF
2360 cat confdefs.h
>>conftest.
$ac_ext
2361 cat >>conftest.
$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2375 rm -f conftest.
$ac_objext
2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2377 (eval $ac_compile) 2>conftest.er1
2379 grep -v '^ *+' conftest.er1
>conftest.err
2381 cat conftest.err
>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try
='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2398 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2404 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2407 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2408 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2409 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2410 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2411 ac_save_CXXFLAGS
=$CXXFLAGS
2413 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2414 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2415 if test "${ac_cv_prog_cxx_g+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 cat >conftest.
$ac_ext <<_ACEOF
2421 cat confdefs.h
>>conftest.
$ac_ext
2422 cat >>conftest.
$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2433 rm -f conftest.
$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>conftest.er1
2437 grep -v '^ *+' conftest.er1
>conftest.err
2439 cat conftest.err
>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); } &&
2442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; } &&
2448 { ac_try
='test -s conftest.$ac_objext'
2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2454 ac_cv_prog_cxx_g
=yes
2456 echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.
$ac_ext >&5
2461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2463 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2464 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2465 if test "$ac_test_CXXFLAGS" = set; then
2466 CXXFLAGS
=$ac_save_CXXFLAGS
2467 elif test $ac_cv_prog_cxx_g = yes; then
2468 if test "$GXX" = yes; then
2474 if test "$GXX" = yes; then
2480 for ac_declaration
in \
2482 'extern "C" void std::exit (int) throw (); using std::exit;' \
2483 'extern "C" void std::exit (int); using std::exit;' \
2484 'extern "C" void exit (int) throw ();' \
2485 'extern "C" void exit (int);' \
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2504 rm -f conftest.
$ac_objext
2505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2506 (eval $ac_compile) 2>conftest.er1
2508 grep -v '^ *+' conftest.er1
>conftest.err
2510 cat conftest.err
>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; } &&
2519 { ac_try
='test -s conftest.$ac_objext'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.
$ac_ext >&5
2532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2548 rm -f conftest.
$ac_objext
2549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 (eval $ac_compile) 2>conftest.er1
2552 grep -v '^ *+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } &&
2557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; } &&
2563 { ac_try
='test -s conftest.$ac_objext'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2578 if test -n "$ac_declaration"; then
2579 echo '#ifdef __cplusplus' >>confdefs.h
2580 echo $ac_declaration >>confdefs.h
2581 echo '#endif' >>confdefs.h
2585 ac_cpp
='$CPP $CPPFLAGS'
2586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2591 REQUIRED_PWLIB_MAJOR
=1
2592 REQUIRED_PWLIB_MINOR
=11
2593 REQUIRED_PWLIB_BUILD
=0
2599 if test "x$prefix" = "xNONE"; then
2600 INSTALLPREFIX
="/usr/local"
2602 INSTALLPREFIX
="${prefix}"
2613 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2614 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2615 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2616 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2617 cat >>confdefs.h
<<_ACEOF
2618 #define OPAL_MAJOR ${MAJOR_VERSION}
2621 cat >>confdefs.h
<<_ACEOF
2622 #define OPAL_MINOR ${MINOR_VERSION}
2625 cat >>confdefs.h
<<_ACEOF
2626 #define OPAL_BUILD ${BUILD_NUMBER}
2629 cat >>confdefs.h
<<_ACEOF
2630 #define OPAL_VERSION "$OPAL_VERSION"
2636 if test "${PWLIBDIR:-unset}" != "unset" ; then
2637 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2638 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2639 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2640 if eval "test \"\${$as_ac_File+set}\" = set"; then
2641 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 test "$cross_compiling" = yes &&
2644 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2645 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2646 { (exit 1); exit 1; }; }
2647 if test -r "${PWLIBDIR}/version.h"; then
2648 eval "$as_ac_File=yes"
2650 eval "$as_ac_File=no"
2653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2654 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2655 if test `eval echo '${'$as_ac_File'}'` = yes; then
2660 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2661 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2662 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2663 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2664 if eval "test \"\${$as_ac_File+set}\" = set"; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 test "$cross_compiling" = yes &&
2668 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2669 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2670 { (exit 1); exit 1; }; }
2671 if test -r "${OPALDIR}/../pwlib/version.h"; then
2672 eval "$as_ac_File=yes"
2674 eval "$as_ac_File=no"
2677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2678 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2679 if test `eval echo '${'$as_ac_File'}'` = yes; then
2683 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2684 PWLIBDIR
="${OPALDIR}/../pwlib"
2686 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2687 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2688 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2689 if eval "test \"\${$as_ac_File+set}\" = set"; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 test "$cross_compiling" = yes &&
2693 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2694 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2695 { (exit 1); exit 1; }; }
2696 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2697 eval "$as_ac_File=yes"
2699 eval "$as_ac_File=no"
2702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2703 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2704 if test `eval echo '${'$as_ac_File'}'` = yes; then
2708 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2709 PWLIBDIR
="${HOME}/pwlib"
2711 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2712 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2713 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 test "$cross_compiling" = yes &&
2717 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2718 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2719 { (exit 1); exit 1; }; }
2720 if test -r "/usr/local/include/ptlib.h"; then
2721 ac_cv_file__usr_local_include_ptlib_h
=yes
2723 ac_cv_file__usr_local_include_ptlib_h
=no
2726 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2727 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2728 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2732 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2733 # Extract the first word of "ptlib-config", so it can be a program name with args.
2734 set dummy ptlib-config
; ac_word
=$2
2735 echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2737 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 case $PTLIB_CONFIG in
2742 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 for as_dir
in /usr
/local
/bin
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_exec_ext
in '' $ac_executable_extensions; do
2751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2764 if test -n "$PTLIB_CONFIG"; then
2765 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2766 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2773 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2774 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2775 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 test "$cross_compiling" = yes &&
2779 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2780 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2781 { (exit 1); exit 1; }; }
2782 if test -r "/usr/include/ptlib.h"; then
2783 ac_cv_file__usr_include_ptlib_h
=yes
2785 ac_cv_file__usr_include_ptlib_h
=no
2788 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2789 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2790 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2794 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2795 # Extract the first word of "ptlib-config", so it can be a program name with args.
2796 set dummy ptlib-config
; ac_word
=$2
2797 echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 case $PTLIB_CONFIG in
2804 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 for as_dir
in /usr
/share
/pwlib
/make
/
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2826 if test -n "$PTLIB_CONFIG"; then
2827 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2828 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2840 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2841 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
2842 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
2843 { (exit 1); exit 1; }; }
2846 if test "${PWLIBDIR:-unset}" = "unset" ; then
2847 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2848 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
2849 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
2850 { (exit 1); exit 1; }; }
2852 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2855 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2856 PWLIBDIR
="/usr/share/pwlib/"
2858 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2859 PWLIBDIR
="/usr/local/share/pwlib/"
2863 echo "PWLib prefix set to.... $PWLIBDIR"
2865 if test "${PWLIBDIR:-unset}" = "unset" ; then
2866 PWVERSION
=`$PTLIB_CONFIG --version`
2867 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2868 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2869 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2872 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2873 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2874 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2875 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2878 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2879 if test "${enable_versioncheck+set}" = set; then
2880 enableval
="$enable_versioncheck"
2881 PWLIB_VERSION_CHECK
=$enableval
2884 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2885 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2886 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2887 echo "$as_me:$LINENO: result: check disabled" >&5
2888 echo "${ECHO_T}check disabled" >&6
2890 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2891 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2892 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
2893 { (exit 1); exit 1; }; }
2895 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2896 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2897 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
2898 { (exit 1); exit 1; }; }
2900 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2901 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2902 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
2903 { (exit 1); exit 1; }; }
2905 echo "$as_me:$LINENO: result: ok" >&5
2906 echo "${ECHO_T}ok" >&6
2912 if test x
$GXX = xyes
; then
2914 gcc_version
=`$CXX -dumpversion`
2915 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2916 echo "$as_me: gcc version is $gcc_version" >&6;};
2917 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
2918 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2919 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2921 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
2922 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
2923 if test ${GXX_MAJOR} -lt 3 ; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
2927 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
2928 { (exit 1); exit 1; }; }
2930 echo "$as_me:$LINENO: result: yes" >&5
2931 echo "${ECHO_T}yes" >&6
2937 # Check whether --enable-localspeex or --disable-localspeex was given.
2938 if test "${enable_localspeex+set}" = set; then
2939 enableval
="$enable_localspeex"
2940 localspeex
=$enableval
2945 ac_cpp
='$CPP $CPPFLAGS'
2946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2949 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2950 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2951 # On Suns, sometimes $CPP names a directory.
2952 if test -n "$CPP" && test -d "$CPP"; then
2955 if test -z "$CPP"; then
2956 if test "${ac_cv_prog_CPP+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 # Double quotes because CPP needs to be expanded
2960 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2963 for ac_c_preproc_warn_flag
in '' yes
2965 # Use a header file that comes with gcc, so configuring glibc
2966 # with a fresh cross-compiler works.
2967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2968 # <limits.h> exists even on freestanding compilers.
2969 # On the NeXT, cc -E runs the code through the compiler's parser,
2970 # not just through cpp. "Syntax error" is here to catch this case.
2971 cat >conftest.
$ac_ext <<_ACEOF
2974 cat confdefs.h
>>conftest.
$ac_ext
2975 cat >>conftest.
$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2978 # include <limits.h>
2980 # include <assert.h>
2984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2987 grep -v '^ *+' conftest.er1
>conftest.err
2989 cat conftest.err
>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } >/dev
/null
; then
2992 if test -s conftest.err
; then
2993 ac_cpp_err
=$ac_c_preproc_warn_flag
2994 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3001 if test -z "$ac_cpp_err"; then
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.
$ac_ext >&5
3007 # Broken: fails on valid input.
3010 rm -f conftest.err conftest.
$ac_ext
3012 # OK, works on sane cases. Now check whether non-existent headers
3013 # can be detected and how.
3014 cat >conftest.
$ac_ext <<_ACEOF
3017 cat confdefs.h
>>conftest.
$ac_ext
3018 cat >>conftest.
$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3020 #include <ac_nonexistent.h>
3022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3025 grep -v '^ *+' conftest.er1
>conftest.err
3027 cat conftest.err
>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } >/dev
/null
; then
3030 if test -s conftest.err
; then
3031 ac_cpp_err
=$ac_c_preproc_warn_flag
3032 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3039 if test -z "$ac_cpp_err"; then
3040 # Broken: success on invalid input.
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.
$ac_ext >&5
3046 # Passes both tests.
3050 rm -f conftest.err conftest.
$ac_ext
3053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3054 rm -f conftest.err conftest.
$ac_ext
3055 if $ac_preproc_ok; then
3067 echo "$as_me:$LINENO: result: $CPP" >&5
3068 echo "${ECHO_T}$CPP" >&6
3070 for ac_c_preproc_warn_flag
in '' yes
3072 # Use a header file that comes with gcc, so configuring glibc
3073 # with a fresh cross-compiler works.
3074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3075 # <limits.h> exists even on freestanding compilers.
3076 # On the NeXT, cc -E runs the code through the compiler's parser,
3077 # not just through cpp. "Syntax error" is here to catch this case.
3078 cat >conftest.
$ac_ext <<_ACEOF
3081 cat confdefs.h
>>conftest.
$ac_ext
3082 cat >>conftest.
$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3085 # include <limits.h>
3087 # include <assert.h>
3091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3094 grep -v '^ *+' conftest.er1
>conftest.err
3096 cat conftest.err
>&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } >/dev
/null
; then
3099 if test -s conftest.err
; then
3100 ac_cpp_err
=$ac_c_preproc_warn_flag
3101 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3108 if test -z "$ac_cpp_err"; then
3111 echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.
$ac_ext >&5
3114 # Broken: fails on valid input.
3117 rm -f conftest.err conftest.
$ac_ext
3119 # OK, works on sane cases. Now check whether non-existent headers
3120 # can be detected and how.
3121 cat >conftest.
$ac_ext <<_ACEOF
3124 cat confdefs.h
>>conftest.
$ac_ext
3125 cat >>conftest.
$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3127 #include <ac_nonexistent.h>
3129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3132 grep -v '^ *+' conftest.er1
>conftest.err
3134 cat conftest.err
>&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } >/dev
/null
; then
3137 if test -s conftest.err
; then
3138 ac_cpp_err
=$ac_c_preproc_warn_flag
3139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3146 if test -z "$ac_cpp_err"; then
3147 # Broken: success on invalid input.
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.
$ac_ext >&5
3153 # Passes both tests.
3157 rm -f conftest.err conftest.
$ac_ext
3160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3161 rm -f conftest.err conftest.
$ac_ext
3162 if $ac_preproc_ok; then
3165 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3166 See \`config.log' for more details." >&5
3167 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3168 See \`config.log' for more details." >&2;}
3169 { (exit 1); exit 1; }; }
3173 ac_cpp
='$CPP $CPPFLAGS'
3174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3179 echo "$as_me:$LINENO: checking for egrep" >&5
3180 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3181 if test "${ac_cv_prog_egrep+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3185 then ac_cv_prog_egrep
='grep -E'
3186 else ac_cv_prog_egrep
='egrep'
3189 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3190 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3191 EGREP
=$ac_cv_prog_egrep
3194 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3195 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3196 if test "${ac_cv_header_stdc+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 cat >conftest.
$ac_ext <<_ACEOF
3202 cat confdefs.h
>>conftest.
$ac_ext
3203 cat >>conftest.
$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3218 rm -f conftest.
$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; } &&
3233 { ac_try
='test -s conftest.$ac_objext'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 ac_cv_header_stdc
=yes
3241 echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.
$ac_ext >&5
3244 ac_cv_header_stdc
=no
3246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3248 if test $ac_cv_header_stdc = yes; then
3249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3250 cat >conftest.
$ac_ext <<_ACEOF
3253 cat confdefs.h
>>conftest.
$ac_ext
3254 cat >>conftest.
$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3260 $EGREP "memchr" >/dev
/null
2>&1; then
3263 ac_cv_header_stdc
=no
3269 if test $ac_cv_header_stdc = yes; then
3270 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3271 cat >conftest.
$ac_ext <<_ACEOF
3274 cat confdefs.h
>>conftest.
$ac_ext
3275 cat >>conftest.
$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3281 $EGREP "free" >/dev
/null
2>&1; then
3284 ac_cv_header_stdc
=no
3290 if test $ac_cv_header_stdc = yes; then
3291 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3292 if test "$cross_compiling" = yes; then
3295 cat >conftest.
$ac_ext <<_ACEOF
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3302 #if ((' ' & 0x0FF) == 0x020)
3303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3306 # define ISLOWER(c) \
3307 (('a' <= (c) && (c) <= 'i') \
3308 || ('j' <= (c) && (c) <= 'r') \
3309 || ('s' <= (c) && (c) <= 'z'))
3310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3318 for (i = 0; i < 256; i++)
3319 if (XOR (islower (i), ISLOWER (i))
3320 || toupper (i) != TOUPPER (i))
3325 rm -f conftest
$ac_exeext
3326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3327 (eval $ac_link) 2>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; }; then
3338 echo "$as_me: program exited with status $ac_status" >&5
3339 echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3343 ac_cv_header_stdc
=no
3345 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3349 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3350 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3351 if test $ac_cv_header_stdc = yes; then
3353 cat >>confdefs.h
<<\_ACEOF
3354 #define STDC_HEADERS 1
3359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3369 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3370 inttypes.h stdint.h unistd.h
3372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3373 echo "$as_me:$LINENO: checking for $ac_header" >&5
3374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 cat >conftest.
$ac_ext <<_ACEOF
3381 cat confdefs.h
>>conftest.
$ac_ext
3382 cat >>conftest.
$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3384 $ac_includes_default
3386 #include <$ac_header>
3388 rm -f conftest.
$ac_objext
3389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3390 (eval $ac_compile) 2>conftest.er1
3392 grep -v '^ *+' conftest.er1
>conftest.err
3394 cat conftest.err
>&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); } &&
3397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; } &&
3403 { ac_try
='test -s conftest.$ac_objext'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; }; then
3409 eval "$as_ac_Header=yes"
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.
$ac_ext >&5
3414 eval "$as_ac_Header=no"
3416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3421 cat >>confdefs.h
<<_ACEOF
3422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3430 echo "$as_me:$LINENO: checking for short" >&5
3431 echo $ECHO_N "checking for short... $ECHO_C" >&6
3432 if test "${ac_cv_type_short+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 cat >conftest.
$ac_ext <<_ACEOF
3438 cat confdefs.h
>>conftest.
$ac_ext
3439 cat >>conftest.
$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3441 $ac_includes_default
3453 rm -f conftest.
$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1
>conftest.err
3459 cat conftest.err
>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; } &&
3468 { ac_try
='test -s conftest.$ac_objext'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; }; then
3474 ac_cv_type_short
=yes
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3483 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3484 echo "${ECHO_T}$ac_cv_type_short" >&6
3486 echo "$as_me:$LINENO: checking size of short" >&5
3487 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3488 if test "${ac_cv_sizeof_short+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 if test "$ac_cv_type_short" = yes; then
3492 # The cast to unsigned long works around a bug in the HP C Compiler
3493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3495 # This bug is HP SR number 8606223364.
3496 if test "$cross_compiling" = yes; then
3497 # Depending upon the size, compute the lo and hi bounds.
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 $ac_includes_default
3508 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1
>conftest.err
3521 cat conftest.err
>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; } &&
3530 { ac_try
='test -s conftest.$ac_objext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 $ac_includes_default
3548 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3555 rm -f conftest.
$ac_objext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3557 (eval $ac_compile) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1
>conftest.err
3561 cat conftest.err
>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try
='test -s conftest.$ac_objext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_hi
=$ac_mid; break
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 ac_lo
=`expr $ac_mid + 1`
3582 if test $ac_lo -le $ac_mid; then
3586 ac_mid
=`expr 2 '*' $ac_mid + 1`
3588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3591 echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.
$ac_ext >&5
3594 cat >conftest.
$ac_ext <<_ACEOF
3597 cat confdefs.h
>>conftest.
$ac_ext
3598 cat >>conftest.
$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 $ac_includes_default
3604 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3611 rm -f conftest.
$ac_objext
3612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613 (eval $ac_compile) 2>conftest.er1
3615 grep -v '^ *+' conftest.er1
>conftest.err
3617 cat conftest.err
>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try
='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3634 cat >conftest.
$ac_ext <<_ACEOF
3637 cat confdefs.h
>>conftest.
$ac_ext
3638 cat >>conftest.
$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3640 $ac_includes_default
3644 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3651 rm -f conftest.
$ac_objext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3653 (eval $ac_compile) 2>conftest.er1
3655 grep -v '^ *+' conftest.er1
>conftest.err
3657 cat conftest.err
>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; } &&
3666 { ac_try
='test -s conftest.$ac_objext'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; }; then
3672 ac_lo
=$ac_mid; break
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.
$ac_ext >&5
3677 ac_hi
=`expr '(' $ac_mid ')' - 1`
3678 if test $ac_mid -le $ac_hi; then
3682 ac_mid
=`expr 2 '*' $ac_mid`
3684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.
$ac_ext >&5
3692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3695 # Binary search between lo and hi bounds.
3696 while test "x$ac_lo" != "x$ac_hi"; do
3697 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3698 cat >conftest.
$ac_ext <<_ACEOF
3701 cat confdefs.h
>>conftest.
$ac_ext
3702 cat >>conftest.
$ac_ext <<_ACEOF
3703 /* end confdefs.h. */
3704 $ac_includes_default
3708 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3715 rm -f conftest.
$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717 (eval $ac_compile) 2>conftest.er1
3719 grep -v '^ *+' conftest.er1
>conftest.err
3721 cat conftest.err
>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); }; } &&
3730 { ac_try
='test -s conftest.$ac_objext'
3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }; }; then
3738 echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.
$ac_ext >&5
3741 ac_lo
=`expr '(' $ac_mid ')' + 1`
3743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3746 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3748 See \`config.log' for more details." >&5
3749 echo "$as_me: error: cannot compute sizeof (short), 77
3750 See \`config.log' for more details." >&2;}
3751 { (exit 1); exit 1; }; } ;;
3754 if test "$cross_compiling" = yes; then
3755 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
3756 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
3757 { (exit 1); exit 1; }; }
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3765 $ac_includes_default
3766 long longval () { return (long) (sizeof (short)); }
3767 unsigned long ulongval () { return (long) (sizeof (short)); }
3774 FILE *f = fopen ("conftest.val", "w");
3777 if (((long) (sizeof (short))) < 0)
3779 long i = longval ();
3780 if (i != ((long) (sizeof (short))))
3782 fprintf (f, "%ld\n", i);
3786 unsigned long i = ulongval ();
3787 if (i != ((long) (sizeof (short))))
3789 fprintf (f, "%lu\n", i);
3791 exit (ferror (f) || fclose (f) != 0);
3797 rm -f conftest
$ac_exeext
3798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3799 (eval $ac_link) 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; }; then
3808 ac_cv_sizeof_short
=`cat conftest.val`
3810 echo "$as_me: program exited with status $ac_status" >&5
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3815 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3816 See \`config.log' for more details." >&5
3817 echo "$as_me: error: cannot compute sizeof (short), 77
3818 See \`config.log' for more details." >&2;}
3819 { (exit 1); exit 1; }; }
3821 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3826 ac_cv_sizeof_short
=0
3829 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3830 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3831 cat >>confdefs.h
<<_ACEOF
3832 #define SIZEOF_SHORT $ac_cv_sizeof_short
3836 echo "$as_me:$LINENO: checking for int" >&5
3837 echo $ECHO_N "checking for int... $ECHO_C" >&6
3838 if test "${ac_cv_type_int+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 cat >conftest.
$ac_ext <<_ACEOF
3844 cat confdefs.h
>>conftest.
$ac_ext
3845 cat >>conftest.
$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3847 $ac_includes_default
3859 rm -f conftest.
$ac_objext
3860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3861 (eval $ac_compile) 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try
='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.
$ac_ext >&5
3887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3889 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3890 echo "${ECHO_T}$ac_cv_type_int" >&6
3892 echo "$as_me:$LINENO: checking size of int" >&5
3893 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3894 if test "${ac_cv_sizeof_int+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 if test "$ac_cv_type_int" = yes; then
3898 # The cast to unsigned long works around a bug in the HP C Compiler
3899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3901 # This bug is HP SR number 8606223364.
3902 if test "$cross_compiling" = yes; then
3903 # Depending upon the size, compute the lo and hi bounds.
3904 cat >conftest.
$ac_ext <<_ACEOF
3907 cat confdefs.h
>>conftest.
$ac_ext
3908 cat >>conftest.
$ac_ext <<_ACEOF
3909 /* end confdefs.h. */
3910 $ac_includes_default
3914 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3921 rm -f conftest.
$ac_objext
3922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3923 (eval $ac_compile) 2>conftest.er1
3925 grep -v '^ *+' conftest.er1
>conftest.err
3927 cat conftest.err
>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; } &&
3936 { ac_try
='test -s conftest.$ac_objext'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; }; then
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3954 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3961 rm -f conftest.
$ac_objext
3962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3963 (eval $ac_compile) 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } &&
3970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; } &&
3976 { ac_try
='test -s conftest.$ac_objext'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; }; then
3982 ac_hi
=$ac_mid; break
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 ac_lo
=`expr $ac_mid + 1`
3988 if test $ac_lo -le $ac_mid; then
3992 ac_mid
=`expr 2 '*' $ac_mid + 1`
3994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 $ac_includes_default
4010 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4017 rm -f conftest.
$ac_objext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4019 (eval $ac_compile) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4040 cat >conftest.
$ac_ext <<_ACEOF
4043 cat confdefs.h
>>conftest.
$ac_ext
4044 cat >>conftest.
$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 $ac_includes_default
4050 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4057 rm -f conftest.
$ac_objext
4058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4059 (eval $ac_compile) 2>conftest.er1
4061 grep -v '^ *+' conftest.er1
>conftest.err
4063 cat conftest.err
>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } &&
4066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); }; } &&
4072 { ac_try
='test -s conftest.$ac_objext'
4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then
4078 ac_lo
=$ac_mid; break
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4083 ac_hi
=`expr '(' $ac_mid ')' - 1`
4084 if test $ac_mid -le $ac_hi; then
4088 ac_mid
=`expr 2 '*' $ac_mid`
4090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.
$ac_ext >&5
4098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4101 # Binary search between lo and hi bounds.
4102 while test "x$ac_lo" != "x$ac_hi"; do
4103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4104 cat >conftest.
$ac_ext <<_ACEOF
4107 cat confdefs.h
>>conftest.
$ac_ext
4108 cat >>conftest.
$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4110 $ac_includes_default
4114 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4121 rm -f conftest.
$ac_objext
4122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123 (eval $ac_compile) 2>conftest.er1
4125 grep -v '^ *+' conftest.er1
>conftest.err
4127 cat conftest.err
>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); } &&
4130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; } &&
4136 { ac_try
='test -s conftest.$ac_objext'
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; }; then
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.
$ac_ext >&5
4147 ac_lo
=`expr '(' $ac_mid ')' + 1`
4149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4152 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4153 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4154 See \`config.log' for more details." >&5
4155 echo "$as_me: error: cannot compute sizeof (int), 77
4156 See \`config.log' for more details." >&2;}
4157 { (exit 1); exit 1; }; } ;;
4160 if test "$cross_compiling" = yes; then
4161 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4162 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4163 { (exit 1); exit 1; }; }
4165 cat >conftest.
$ac_ext <<_ACEOF
4168 cat confdefs.h
>>conftest.
$ac_ext
4169 cat >>conftest.
$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4171 $ac_includes_default
4172 long longval () { return (long) (sizeof (int)); }
4173 unsigned long ulongval () { return (long) (sizeof (int)); }
4180 FILE *f = fopen ("conftest.val", "w");
4183 if (((long) (sizeof (int))) < 0)
4185 long i = longval ();
4186 if (i != ((long) (sizeof (int))))
4188 fprintf (f, "%ld\n", i);
4192 unsigned long i = ulongval ();
4193 if (i != ((long) (sizeof (int))))
4195 fprintf (f, "%lu\n", i);
4197 exit (ferror (f) || fclose (f) != 0);
4203 rm -f conftest
$ac_exeext
4204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4205 (eval $ac_link) 2>&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then
4214 ac_cv_sizeof_int
=`cat conftest.val`
4216 echo "$as_me: program exited with status $ac_status" >&5
4217 echo "$as_me: failed program was:" >&5
4218 sed 's/^/| /' conftest.
$ac_ext >&5
4221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4222 See \`config.log' for more details." >&5
4223 echo "$as_me: error: cannot compute sizeof (int), 77
4224 See \`config.log' for more details." >&2;}
4225 { (exit 1); exit 1; }; }
4227 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4235 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4236 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4237 cat >>confdefs.h
<<_ACEOF
4238 #define SIZEOF_INT $ac_cv_sizeof_int
4242 echo "$as_me:$LINENO: checking for long" >&5
4243 echo $ECHO_N "checking for long... $ECHO_C" >&6
4244 if test "${ac_cv_type_long+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 $ac_includes_default
4265 rm -f conftest.
$ac_objext
4266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4267 (eval $ac_compile) 2>conftest.er1
4269 grep -v '^ *+' conftest.er1
>conftest.err
4271 cat conftest.err
>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } &&
4274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); }; } &&
4280 { ac_try
='test -s conftest.$ac_objext'
4281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }; }; then
4288 echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.
$ac_ext >&5
4293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4295 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4296 echo "${ECHO_T}$ac_cv_type_long" >&6
4298 echo "$as_me:$LINENO: checking size of long" >&5
4299 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4300 if test "${ac_cv_sizeof_long+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 if test "$ac_cv_type_long" = yes; then
4304 # The cast to unsigned long works around a bug in the HP C Compiler
4305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4307 # This bug is HP SR number 8606223364.
4308 if test "$cross_compiling" = yes; then
4309 # Depending upon the size, compute the lo and hi bounds.
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 $ac_includes_default
4320 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4327 rm -f conftest.
$ac_objext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329 (eval $ac_compile) 2>conftest.er1
4331 grep -v '^ *+' conftest.er1
>conftest.err
4333 cat conftest.err
>&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); } &&
4336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); }; } &&
4342 { ac_try
='test -s conftest.$ac_objext'
4343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); }; }; then
4350 cat >conftest.
$ac_ext <<_ACEOF
4353 cat confdefs.h
>>conftest.
$ac_ext
4354 cat >>conftest.
$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4356 $ac_includes_default
4360 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4367 rm -f conftest.
$ac_objext
4368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4369 (eval $ac_compile) 2>conftest.er1
4371 grep -v '^ *+' conftest.er1
>conftest.err
4373 cat conftest.err
>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } &&
4376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try
='test -s conftest.$ac_objext'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; }; then
4388 ac_hi
=$ac_mid; break
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.
$ac_ext >&5
4393 ac_lo
=`expr $ac_mid + 1`
4394 if test $ac_lo -le $ac_mid; then
4398 ac_mid
=`expr 2 '*' $ac_mid + 1`
4400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.
$ac_ext >&5
4406 cat >conftest.
$ac_ext <<_ACEOF
4409 cat confdefs.h
>>conftest.
$ac_ext
4410 cat >>conftest.
$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4412 $ac_includes_default
4416 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4423 rm -f conftest.
$ac_objext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425 (eval $ac_compile) 2>conftest.er1
4427 grep -v '^ *+' conftest.er1
>conftest.err
4429 cat conftest.err
>&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } &&
4432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; } &&
4438 { ac_try
='test -s conftest.$ac_objext'
4439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; }; then
4446 cat >conftest.
$ac_ext <<_ACEOF
4449 cat confdefs.h
>>conftest.
$ac_ext
4450 cat >>conftest.
$ac_ext <<_ACEOF
4451 /* end confdefs.h. */
4452 $ac_includes_default
4456 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4463 rm -f conftest.
$ac_objext
4464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4465 (eval $ac_compile) 2>conftest.er1
4467 grep -v '^ *+' conftest.er1
>conftest.err
4469 cat conftest.err
>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } &&
4472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; } &&
4478 { ac_try
='test -s conftest.$ac_objext'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; }; then
4484 ac_lo
=$ac_mid; break
4486 echo "$as_me: failed program was:" >&5
4487 sed 's/^/| /' conftest.
$ac_ext >&5
4489 ac_hi
=`expr '(' $ac_mid ')' - 1`
4490 if test $ac_mid -le $ac_hi; then
4494 ac_mid
=`expr 2 '*' $ac_mid`
4496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4499 echo "$as_me: failed program was:" >&5
4500 sed 's/^/| /' conftest.
$ac_ext >&5
4504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4507 # Binary search between lo and hi bounds.
4508 while test "x$ac_lo" != "x$ac_hi"; do
4509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 $ac_includes_default
4520 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4527 rm -f conftest.
$ac_objext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4529 (eval $ac_compile) 2>conftest.er1
4531 grep -v '^ *+' conftest.er1
>conftest.err
4533 cat conftest.err
>&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; } &&
4542 { ac_try
='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4553 ac_lo
=`expr '(' $ac_mid ')' + 1`
4555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4558 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4560 See \`config.log' for more details." >&5
4561 echo "$as_me: error: cannot compute sizeof (long), 77
4562 See \`config.log' for more details." >&2;}
4563 { (exit 1); exit 1; }; } ;;
4566 if test "$cross_compiling" = yes; then
4567 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4568 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4569 { (exit 1); exit 1; }; }
4571 cat >conftest.
$ac_ext <<_ACEOF
4574 cat confdefs.h
>>conftest.
$ac_ext
4575 cat >>conftest.
$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 $ac_includes_default
4578 long longval () { return (long) (sizeof (long)); }
4579 unsigned long ulongval () { return (long) (sizeof (long)); }
4586 FILE *f = fopen ("conftest.val", "w");
4589 if (((long) (sizeof (long))) < 0)
4591 long i = longval ();
4592 if (i != ((long) (sizeof (long))))
4594 fprintf (f, "%ld\n", i);
4598 unsigned long i = ulongval ();
4599 if (i != ((long) (sizeof (long))))
4601 fprintf (f, "%lu\n", i);
4603 exit (ferror (f) || fclose (f) != 0);
4609 rm -f conftest
$ac_exeext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4611 (eval $ac_link) 2>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 ac_cv_sizeof_long
=`cat conftest.val`
4622 echo "$as_me: program exited with status $ac_status" >&5
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.
$ac_ext >&5
4627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4628 See \`config.log' for more details." >&5
4629 echo "$as_me: error: cannot compute sizeof (long), 77
4630 See \`config.log' for more details." >&2;}
4631 { (exit 1); exit 1; }; }
4633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4642 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4643 cat >>confdefs.h
<<_ACEOF
4644 #define SIZEOF_LONG $ac_cv_sizeof_long
4648 echo "$as_me:$LINENO: checking for long long" >&5
4649 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4650 if test "${ac_cv_type_long_long+set}" = set; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 cat >conftest.
$ac_ext <<_ACEOF
4656 cat confdefs.h
>>conftest.
$ac_ext
4657 cat >>conftest.
$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4659 $ac_includes_default
4663 if ((long long *) 0)
4665 if (sizeof (long long))
4671 rm -f conftest.
$ac_objext
4672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4673 (eval $ac_compile) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } &&
4680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; } &&
4686 { ac_try
='test -s conftest.$ac_objext'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4692 ac_cv_type_long_long
=yes
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.
$ac_ext >&5
4697 ac_cv_type_long_long
=no
4699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4701 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4702 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4704 echo "$as_me:$LINENO: checking size of long long" >&5
4705 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4706 if test "${ac_cv_sizeof_long_long+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 if test "$ac_cv_type_long_long" = yes; then
4710 # The cast to unsigned long works around a bug in the HP C Compiler
4711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4713 # This bug is HP SR number 8606223364.
4714 if test "$cross_compiling" = yes; then
4715 # Depending upon the size, compute the lo and hi bounds.
4716 cat >conftest.
$ac_ext <<_ACEOF
4719 cat confdefs.h
>>conftest.
$ac_ext
4720 cat >>conftest.
$ac_ext <<_ACEOF
4721 /* end confdefs.h. */
4722 $ac_includes_default
4726 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4733 rm -f conftest.
$ac_objext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; } &&
4748 { ac_try
='test -s conftest.$ac_objext'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; }; then
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 $ac_includes_default
4766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4773 rm -f conftest.
$ac_objext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>conftest.er1
4777 grep -v '^ *+' conftest.er1
>conftest.err
4779 cat conftest.err
>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } &&
4782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; } &&
4788 { ac_try
='test -s conftest.$ac_objext'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then
4794 ac_hi
=$ac_mid; break
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.
$ac_ext >&5
4799 ac_lo
=`expr $ac_mid + 1`
4800 if test $ac_lo -le $ac_mid; then
4804 ac_mid
=`expr 2 '*' $ac_mid + 1`
4806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.
$ac_ext >&5
4812 cat >conftest.
$ac_ext <<_ACEOF
4815 cat confdefs.h
>>conftest.
$ac_ext
4816 cat >>conftest.
$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4818 $ac_includes_default
4822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4829 rm -f conftest.
$ac_objext
4830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4831 (eval $ac_compile) 2>conftest.er1
4833 grep -v '^ *+' conftest.er1
>conftest.err
4835 cat conftest.err
>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; } &&
4844 { ac_try
='test -s conftest.$ac_objext'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4852 cat >conftest.
$ac_ext <<_ACEOF
4855 cat confdefs.h
>>conftest.
$ac_ext
4856 cat >>conftest.
$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 $ac_includes_default
4862 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4869 rm -f conftest.
$ac_objext
4870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4871 (eval $ac_compile) 2>conftest.er1
4873 grep -v '^ *+' conftest.er1
>conftest.err
4875 cat conftest.err
>&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } &&
4878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; } &&
4884 { ac_try
='test -s conftest.$ac_objext'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; }; then
4890 ac_lo
=$ac_mid; break
4892 echo "$as_me: failed program was:" >&5
4893 sed 's/^/| /' conftest.
$ac_ext >&5
4895 ac_hi
=`expr '(' $ac_mid ')' - 1`
4896 if test $ac_mid -le $ac_hi; then
4900 ac_mid
=`expr 2 '*' $ac_mid`
4902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4913 # Binary search between lo and hi bounds.
4914 while test "x$ac_lo" != "x$ac_hi"; do
4915 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4916 cat >conftest.
$ac_ext <<_ACEOF
4919 cat confdefs.h
>>conftest.
$ac_ext
4920 cat >>conftest.
$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4922 $ac_includes_default
4926 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4933 rm -f conftest.
$ac_objext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4935 (eval $ac_compile) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } &&
4942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; } &&
4948 { ac_try
='test -s conftest.$ac_objext'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; }; then
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.
$ac_ext >&5
4959 ac_lo
=`expr '(' $ac_mid ')' + 1`
4961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4964 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
4965 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
4966 See \`config.log' for more details." >&5
4967 echo "$as_me: error: cannot compute sizeof (long long), 77
4968 See \`config.log' for more details." >&2;}
4969 { (exit 1); exit 1; }; } ;;
4972 if test "$cross_compiling" = yes; then
4973 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4974 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4975 { (exit 1); exit 1; }; }
4977 cat >conftest.
$ac_ext <<_ACEOF
4980 cat confdefs.h
>>conftest.
$ac_ext
4981 cat >>conftest.
$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 $ac_includes_default
4984 long longval () { return (long) (sizeof (long long)); }
4985 unsigned long ulongval () { return (long) (sizeof (long long)); }
4992 FILE *f = fopen ("conftest.val", "w");
4995 if (((long) (sizeof (long long))) < 0)
4997 long i = longval ();
4998 if (i != ((long) (sizeof (long long))))
5000 fprintf (f, "%ld\n", i);
5004 unsigned long i = ulongval ();
5005 if (i != ((long) (sizeof (long long))))
5007 fprintf (f, "%lu\n", i);
5009 exit (ferror (f) || fclose (f) != 0);
5015 rm -f conftest
$ac_exeext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5017 (eval $ac_link) 2>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; }; then
5026 ac_cv_sizeof_long_long
=`cat conftest.val`
5028 echo "$as_me: program exited with status $ac_status" >&5
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5034 See \`config.log' for more details." >&5
5035 echo "$as_me: error: cannot compute sizeof (long long), 77
5036 See \`config.log' for more details." >&2;}
5037 { (exit 1); exit 1; }; }
5039 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5044 ac_cv_sizeof_long_long
=0
5047 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5048 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5049 cat >>confdefs.h
<<_ACEOF
5050 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5056 $ac_cv_sizeof_short) SIZE16
="short";;
5057 $ac_cv_sizeof_int) SIZE16
="int";;
5061 $ac_cv_sizeof_int) SIZE32
="int";;
5062 $ac_cv_sizeof_long) SIZE32
="long";;
5063 $ac_cv_sizeof_short) SIZE32
="short";;
5070 OPAL_HAVE_SPEEX_SPEEX_H
=
5072 for ac_header
in "speex.h"
5074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5076 echo "$as_me:$LINENO: checking for $ac_header" >&5
5077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5084 # Is the header compilable?
5085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5087 cat >conftest.
$ac_ext <<_ACEOF
5090 cat confdefs.h
>>conftest.
$ac_ext
5091 cat >>conftest.
$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 $ac_includes_default
5094 #include <$ac_header>
5096 rm -f conftest.
$ac_objext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5098 (eval $ac_compile) 2>conftest.er1
5100 grep -v '^ *+' conftest.er1
>conftest.err
5102 cat conftest.err
>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; } &&
5111 { ac_try
='test -s conftest.$ac_objext'
5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }; }; then
5117 ac_header_compiler
=yes
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.
$ac_ext >&5
5122 ac_header_compiler
=no
5124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5126 echo "${ECHO_T}$ac_header_compiler" >&6
5128 # Is the header present?
5129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5131 cat >conftest.
$ac_ext <<_ACEOF
5134 cat confdefs.h
>>conftest.
$ac_ext
5135 cat >>conftest.
$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 #include <$ac_header>
5139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5140 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
5147 if test -s conftest.err
; then
5148 ac_cpp_err
=$ac_c_preproc_warn_flag
5149 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5156 if test -z "$ac_cpp_err"; then
5157 ac_header_preproc
=yes
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.
$ac_ext >&5
5162 ac_header_preproc
=no
5164 rm -f conftest.err conftest.
$ac_ext
5165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5166 echo "${ECHO_T}$ac_header_preproc" >&6
5168 # So? What about this header?
5169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5175 ac_header_preproc
=yes
5178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5192 ## ------------------------------------------ ##
5193 ## Report this to the AC_PACKAGE_NAME lists. ##
5194 ## ------------------------------------------ ##
5197 sed "s/^/$as_me: WARNING: /" >&2
5200 echo "$as_me:$LINENO: checking for $ac_header" >&5
5201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 eval "$as_ac_Header=\$ac_header_preproc"
5207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5212 cat >>confdefs.h
<<_ACEOF
5213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5220 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5221 cat >>confdefs.h
<<\_ACEOF
5222 #define OPAL_HAVE_SPEEX_H 1
5227 for ac_header
in "speex/speex.h"
5229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5231 echo "$as_me:$LINENO: checking for $ac_header" >&5
5232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5239 # Is the header compilable?
5240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5242 cat >conftest.
$ac_ext <<_ACEOF
5245 cat confdefs.h
>>conftest.
$ac_ext
5246 cat >>conftest.
$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 $ac_includes_default
5249 #include <$ac_header>
5251 rm -f conftest.
$ac_objext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5253 (eval $ac_compile) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1
>conftest.err
5257 cat conftest.err
>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; } &&
5266 { ac_try
='test -s conftest.$ac_objext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 ac_header_compiler
=yes
5274 echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.
$ac_ext >&5
5277 ac_header_compiler
=no
5279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5281 echo "${ECHO_T}$ac_header_compiler" >&6
5283 # Is the header present?
5284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5286 cat >conftest.
$ac_ext <<_ACEOF
5289 cat confdefs.h
>>conftest.
$ac_ext
5290 cat >>conftest.
$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5292 #include <$ac_header>
5294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5297 grep -v '^ *+' conftest.er1
>conftest.err
5299 cat conftest.err
>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } >/dev
/null
; then
5302 if test -s conftest.err
; then
5303 ac_cpp_err
=$ac_c_preproc_warn_flag
5304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5311 if test -z "$ac_cpp_err"; then
5312 ac_header_preproc
=yes
5314 echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.
$ac_ext >&5
5317 ac_header_preproc
=no
5319 rm -f conftest.err conftest.
$ac_ext
5320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5321 echo "${ECHO_T}$ac_header_preproc" >&6
5323 # So? What about this header?
5324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5330 ac_header_preproc
=yes
5333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5347 ## ------------------------------------------ ##
5348 ## Report this to the AC_PACKAGE_NAME lists. ##
5349 ## ------------------------------------------ ##
5352 sed "s/^/$as_me: WARNING: /" >&2
5355 echo "$as_me:$LINENO: checking for $ac_header" >&5
5356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5358 echo $ECHO_N "(cached) $ECHO_C" >&6
5360 eval "$as_ac_Header=\$ac_header_preproc"
5362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5367 cat >>confdefs.h
<<_ACEOF
5368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370 OPAL_HAVE_SPEEX_SPEEX_H
=1
5375 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5376 cat >>confdefs.h
<<\_ACEOF
5377 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5383 if test "${localspeex}" = "yes" ; then
5384 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5385 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5386 elif test "${localspeex}" = "no" ; then
5387 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5388 echo "$as_me: Forcing use of system Speex library" >&6;}
5389 cat >>confdefs.h
<<\_ACEOF
5390 #define OPAL_SYSTEM_SPEEX 1
5396 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5397 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5398 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 ac_check_lib_save_LIBS
=$LIBS
5402 LIBS
="-lspeex $LIBS"
5403 cat >conftest.
$ac_ext <<_ACEOF
5406 cat confdefs.h
>>conftest.
$ac_ext
5407 cat >>conftest.
$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5410 /* Override any gcc2 internal prototype to avoid an error. */
5414 /* We use char because int might match the return type of a gcc2
5415 builtin and then its argument prototype would still apply. */
5416 char speex_encoder_destroy ();
5420 speex_encoder_destroy ();
5425 rm -f conftest.
$ac_objext conftest
$ac_exeext
5426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5427 (eval $ac_link) 2>conftest.er1
5429 grep -v '^ *+' conftest.er1
>conftest.err
5431 cat conftest.err
>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } &&
5434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; } &&
5440 { ac_try
='test -s conftest$ac_exeext'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; }; then
5446 ac_cv_lib_speex_speex_encoder_destroy
=yes
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.
$ac_ext >&5
5451 ac_cv_lib_speex_speex_encoder_destroy
=no
5453 rm -f conftest.err conftest.
$ac_objext \
5454 conftest
$ac_exeext conftest.
$ac_ext
5455 LIBS
=$ac_check_lib_save_LIBS
5457 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5458 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5459 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5463 if test "${SPEEX}x" != "x" ; then
5464 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5465 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5466 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 ac_check_lib_save_LIBS
=$LIBS
5470 LIBS
="-lspeex $LIBS"
5471 cat >conftest.
$ac_ext <<_ACEOF
5474 cat confdefs.h
>>conftest.
$ac_ext
5475 cat >>conftest.
$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5478 /* Override any gcc2 internal prototype to avoid an error. */
5482 /* We use char because int might match the return type of a gcc2
5483 builtin and then its argument prototype would still apply. */
5484 char speex_encode_int ();
5488 speex_encode_int ();
5493 rm -f conftest.
$ac_objext conftest
$ac_exeext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5495 (eval $ac_link) 2>conftest.er1
5497 grep -v '^ *+' conftest.er1
>conftest.err
5499 cat conftest.err
>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } &&
5502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); }; } &&
5508 { ac_try
='test -s conftest$ac_exeext'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; }; then
5514 ac_cv_lib_speex_speex_encode_int
=yes
5516 echo "$as_me: failed program was:" >&5
5517 sed 's/^/| /' conftest.
$ac_ext >&5
5519 ac_cv_lib_speex_speex_encode_int
=no
5521 rm -f conftest.err conftest.
$ac_objext \
5522 conftest
$ac_exeext conftest.
$ac_ext
5523 LIBS
=$ac_check_lib_save_LIBS
5525 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5526 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5527 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5534 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5535 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5536 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5538 echo "$as_me:$LINENO: checking system Speex version" >&5
5539 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5540 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5541 echo "#include <speex.h>" > t.c
5542 echo "#include <speex_header.h>" >> t.c
5544 echo "#include <speex/speex.h>" > t.c
5545 echo "#include <speex/speex_header.h>" >> t.c
5549 int main(int argc,char *argv)
5552 speex_init_header(&header, 1, 1, &speex_nb_mode);
5553 printf("%s\n", header.speex_version);
5556 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5557 if test \
! -x t
; then
5558 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5559 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5562 echo "$as_me:$LINENO: result: $SYSVER" >&5
5563 echo "${ECHO_T}$SYSVER" >&6
5564 echo "$as_me:$LINENO: checking library Speex version" >&5
5565 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5566 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5567 echo "$as_me:$LINENO: result: $LIBVER" >&5
5568 echo "${ECHO_T}$LIBVER" >&6
5569 echo "$as_me:$LINENO: checking Speex versions" >&5
5570 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5573 \$sysver = @ARGV[0];
5574 \$libver = @ARGV[1];
5575 @lib = split /\./, \$libver;
5579 @sys = split /\./, \$sysver;
5585 if (@sys[\$i] < @lib[\$i]) {
5594 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5596 if test "x$SPEEX" = "x0" ; then
5597 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5598 echo "${ECHO_T}OPAL version is more recent" >&6
5600 echo "$as_me:$LINENO: result: system version is more recent" >&5
5601 echo "${ECHO_T}system version is more recent" >&6
5602 cat >>confdefs.h
<<\_ACEOF
5603 #define OPAL_SYSTEM_SPEEX 1
5608 echo "$as_me:$LINENO: checking Speex noise type" >&5
5609 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5610 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5611 echo "#include <speex.h>" > t.c
5612 echo "#include <speex_preprocess.h>" >> t.c
5614 echo "#include <speex/speex.h>" > t.c
5615 echo "#include <speex/speex_preprocess.h>" >> t.c
5619 int main(int argc,char *argv)
5621 struct SpeexPreprocessState *st;
5624 speex_preprocess(st, x, echo);
5628 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5629 if test \
! -x t
; then
5630 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5631 echo "${ECHO_T}spx_int32_t" >&6
5633 echo "$as_me:$LINENO: result: float" >&5
5634 echo "${ECHO_T}float" >&6
5635 cat >>confdefs.h
<<\_ACEOF
5636 #define OPAL_SPEEX_FLOAT_NOISE 1
5651 # Check whether --enable-audio or --disable-audio was given.
5652 if test "${enable_audio+set}" = set; then
5653 enableval
="$enable_audio"
5656 echo "$as_me:$LINENO: checking audio codec support" >&5
5657 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6
5658 if test "$audio" = "yes" ; then
5661 cat >>confdefs.h
<<\_ACEOF
5662 #define OPAL_AUDIO 1
5665 echo "$as_me:$LINENO: result: enabled" >&5
5666 echo "${ECHO_T}enabled" >&6
5668 echo "$as_me:$LINENO: result: disabled" >&5
5669 echo "${ECHO_T}disabled" >&6
5675 # Check whether --enable-video or --disable-video was given.
5676 if test "${enable_video+set}" = set; then
5677 enableval
="$enable_video"
5680 echo "$as_me:$LINENO: checking video device support" >&5
5681 echo $ECHO_N "checking video device support... $ECHO_C" >&6
5682 if test "$video" = "yes" ; then
5685 cat >>confdefs.h
<<\_ACEOF
5686 #define OPAL_VIDEO 1
5689 echo "$as_me:$LINENO: result: enabled" >&5
5690 echo "${ECHO_T}enabled" >&6
5692 echo "$as_me:$LINENO: result: disabled" >&5
5693 echo "${ECHO_T}disabled" >&6
5699 # Check whether --enable-sip or --disable-sip was given.
5700 if test "${enable_sip+set}" = set; then
5701 enableval
="$enable_sip"
5704 echo "$as_me:$LINENO: checking SIP protocol" >&5
5705 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5706 if test "$sip" = "yes" ; then
5709 cat >>confdefs.h
<<\_ACEOF
5713 echo "$as_me:$LINENO: result: enabled" >&5
5714 echo "${ECHO_T}enabled" >&6
5716 echo "$as_me:$LINENO: result: disabled" >&5
5717 echo "${ECHO_T}disabled" >&6
5726 # Check whether --enable-h323 or --disable-h323 was given.
5727 if test "${enable_h323+set}" = set; then
5728 enableval
="$enable_h323"
5731 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5732 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5733 if test "$h323" = "yes" ; then
5736 cat >>confdefs.h
<<\_ACEOF
5740 echo "$as_me:$LINENO: result: enabled" >&5
5741 echo "${ECHO_T}enabled" >&6
5745 echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
5746 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6
5751 OPAL_H323
=$OPAL_H323
5757 # Check whether --enable-iax or --disable-iax was given.
5758 if test "${enable_iax+set}" = set; then
5759 enableval
="$enable_iax"
5762 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5763 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5764 if test "$iax" = "yes" ; then
5767 cat >>confdefs.h
<<\_ACEOF
5771 echo "$as_me:$LINENO: result: enabled" >&5
5772 echo "${ECHO_T}enabled" >&6
5774 echo "$as_me:$LINENO: result: disabled" >&5
5775 echo "${ECHO_T}disabled" >&6
5779 # Check whether --enable-h224 or --disable-h224 was given.
5780 if test "${enable_h224+set}" = set; then
5781 enableval
="$enable_h224"
5784 echo "$as_me:$LINENO: checking H224 protocol" >&5
5785 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5786 if test "$h224" = "yes" ; then
5789 cat >>confdefs.h
<<\_ACEOF
5793 echo "$as_me:$LINENO: result: enabled" >&5
5794 echo "${ECHO_T}enabled" >&6
5796 echo "$as_me:$LINENO: result: disabled" >&5
5797 echo "${ECHO_T}disabled" >&6
5802 if test "$t38" = "yes" ; then
5803 # Check whether --enable-t38 or --disable-t38 was given.
5804 if test "${enable_t38+set}" = set; then
5805 enableval
="$enable_t38"
5808 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5809 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5810 if test "$t38" = "yes" ; then
5813 cat >>confdefs.h
<<\_ACEOF
5814 #define OPAL_T38FAX 1
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
5829 if test "$h460" = "yes" ; then
5830 # Check whether --enable-h460 or --disable-h460 was given.
5831 if test "${enable_h460+set}" = set; then
5832 enableval
="$enable_h460"
5835 echo "$as_me:$LINENO: checking H.460 support" >&5
5836 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6
5837 if test "$h460" = "yes" ; then
5840 cat >>confdefs.h
<<\_ACEOF
5844 echo "$as_me:$LINENO: result: enabled" >&5
5845 echo "${ECHO_T}enabled" >&6
5847 echo "$as_me:$LINENO: result: disabled" >&5
5848 echo "${ECHO_T}disabled" >&6
5857 if test "$lid" = "yes" ; then
5858 # Check whether --enable-lid or --disable-lid was given.
5859 if test "${enable_lid+set}" = set; then
5860 enableval
="$enable_lid"
5863 echo "$as_me:$LINENO: checking LID support" >&5
5864 echo $ECHO_N "checking LID support... $ECHO_C" >&6
5865 if test "$lid" = "yes" ; then
5866 cat >>confdefs.h
<<\_ACEOF
5871 echo "$as_me:$LINENO: result: enabled" >&5
5872 echo "${ECHO_T}enabled" >&6
5874 echo "$as_me:$LINENO: result: disabled" >&5
5875 echo "${ECHO_T}disabled" >&6
5884 if test "$ivr" = "yes" ; then
5885 # Check whether --enable-ivr or --disable-ivr was given.
5886 if test "${enable_ivr+set}" = set; then
5887 enableval
="$enable_ivr"
5890 echo "$as_me:$LINENO: checking IVR support" >&5
5891 echo $ECHO_N "checking IVR support... $ECHO_C" >&6
5892 if test "$ivr" = "yes" ; then
5893 cat >>confdefs.h
<<\_ACEOF
5898 echo "$as_me:$LINENO: result: enabled" >&5
5899 echo "${ECHO_T}enabled" >&6
5901 echo "$as_me:$LINENO: result: disabled" >&5
5902 echo "${ECHO_T}disabled" >&6
5911 echo "$as_me:$LINENO: checking for libSRTP" >&5
5912 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5919 #include "srtp/srtp.h"
5923 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; } &&
5943 { ac_try
='test -s conftest.$ac_objext'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.
$ac_ext >&5
5955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5956 if test "${HAS_LIBSRTP}" = "1" ; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 cat >>confdefs.h
<<\_ACEOF
5960 #define HAS_LIBSRTP 1
5966 echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6
5978 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
5979 if test -f $ac_dir/install-sh
; then
5981 ac_install_sh
="$ac_aux_dir/install-sh -c"
5983 elif test -f $ac_dir/install.sh
; then
5985 ac_install_sh
="$ac_aux_dir/install.sh -c"
5987 elif test -f $ac_dir/shtool
; then
5989 ac_install_sh
="$ac_aux_dir/shtool install -c"
5993 if test -z "$ac_aux_dir"; then
5994 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5995 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5996 { (exit 1); exit 1; }; }
5998 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
5999 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6000 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6002 # Find a good install program. We prefer a C program (faster),
6003 # so one script is as good as another. But avoid the broken or
6004 # incompatible versions:
6005 # SysV /etc/install, /usr/sbin/install
6006 # SunOS /usr/etc/install
6007 # IRIX /sbin/install
6009 # AmigaOS /C/install, which installs bootblocks on floppy discs
6010 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6011 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6013 # OS/2's system install, which has a completely different semantic
6014 # ./install, which can be erroneously created by make from ./install.sh.
6015 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6016 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6017 if test -z "$INSTALL"; then
6018 if test "${ac_cv_path_install+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir
=.
6026 # Account for people who put trailing slashes in PATH elements.
6028 .
/ | .
// |
/cC
/* | \
6029 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6030 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6033 # OSF1 and SCO ODT 3.0 have their own names for install.
6034 # Don't use installbsd from OSF since it installs stuff as root
6036 for ac_prog
in ginstall scoinst
install; do
6037 for ac_exec_ext
in '' $ac_executable_extensions; do
6038 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6039 if test $ac_prog = install &&
6040 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6041 # AIX install. It has an incompatible calling convention.
6043 elif test $ac_prog = install &&
6044 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6045 # program-specific install script used by HP pwplus--don't use.
6048 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6060 if test "${ac_cv_path_install+set}" = set; then
6061 INSTALL
=$ac_cv_path_install
6063 # As a last resort, use the slow shell script. We don't cache a
6064 # path for INSTALL within a source directory, because that will
6065 # break other packages using the cache if that directory is
6066 # removed, or if the path is relative.
6067 INSTALL
=$ac_install_sh
6070 echo "$as_me:$LINENO: result: $INSTALL" >&5
6071 echo "${ECHO_T}$INSTALL" >&6
6073 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6074 # It thinks the first close brace ends the variable substitution.
6075 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6077 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6079 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6085 subdirs
="$subdirs plugins"
6089 ac_config_files
="$ac_config_files opal_inc.mak"
6091 ac_config_files
="$ac_config_files Makefile"
6093 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6096 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6097 cat >confcache
<<\_ACEOF
6098 # This file is a shell script that caches the results of configure
6099 # tests run on this system so they can be shared between configure
6100 # scripts and configure runs, see configure's option --config-cache.
6101 # It is not useful on other systems. If it contains results you don't
6102 # want to keep, you may remove or edit it.
6104 # config.status only pays attention to the cache file if you give it
6105 # the --recheck option to rerun configure.
6107 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6108 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6113 # The following way of writing the cache mishandles newlines in values,
6114 # but we know of no workaround that is simple, portable, and efficient.
6115 # So, don't put newlines in cache variables' values.
6116 # Ultrix sh set writes to stderr and can't be redirected directly,
6117 # and sets the high bit in the cache file unless we assign to the vars.
6120 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6122 # `set' does not quote correctly, so add quotes (double-quote
6123 # substitution turns \\\\ into \\, and sed turns \\ into \).
6126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6129 # `set' quotes correctly as required by POSIX, so do not add quotes.
6131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6140 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6142 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6143 if test -w $cache_file; then
6144 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6145 cat confcache
>$cache_file
6147 echo "not updating unwritable cache $cache_file"
6152 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6153 # Let make expand exec_prefix.
6154 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6156 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6157 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6158 # trailing colons and then remove the whole line if VPATH becomes empty
6159 # (actually we leave an empty line to preserve line numbers).
6160 if test "x$srcdir" = x.
; then
6161 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6162 s/:*\$(srcdir):*/:/;
6163 s/:*\${srcdir}:*/:/;
6165 s/^\([^=]*=[ ]*\):*/\1/;
6171 DEFS
=-DHAVE_CONFIG_H
6175 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6176 # 1. Remove the extension, and $U if already installed.
6177 ac_i
=`echo "$ac_i" |
6178 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6180 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6181 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6185 LTLIBOBJS
=$ac_ltlibobjs
6189 : ${CONFIG_STATUS=./config.status}
6190 ac_clean_files_save
=$ac_clean_files
6191 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6192 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6193 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6194 cat >$CONFIG_STATUS <<_ACEOF
6196 # Generated by $as_me.
6197 # Run this file to recreate the current configuration.
6198 # Compiler output produced by configure, useful for debugging
6199 # configure, is in config.log if it exists.
6204 SHELL=\${CONFIG_SHELL-$SHELL}
6207 cat >>$CONFIG_STATUS <<\_ACEOF
6208 ## --------------------- ##
6209 ## M4sh Initialization. ##
6210 ## --------------------- ##
6212 # Be Bourne compatible
6213 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6216 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6217 # is contrary to our usage. Disable this feature.
6218 alias -g '${1+"$@"}'='"$@"'
6219 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6222 DUALCASE
=1; export DUALCASE
# for MKS sh
6224 # Support unset when possible.
6225 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6232 # Work around bugs in pre-3.0 UWIN ksh.
6233 $as_unset ENV MAIL MAILPATH
6240 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6241 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6242 LC_TELEPHONE LC_TIME
6244 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6245 eval $as_var=C
; export $as_var
6251 # Required to use basename.
6252 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6258 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6259 as_basename
=basename
6265 # Name of the executable.
6266 as_me
=`$as_basename "$0" ||
6267 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6268 X"$0" : 'X\(//\)$' \| \
6269 X"$0" : 'X\(/\)$' \| \
6270 . : '\(.\)' 2>/dev/null ||
6272 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6273 /^X\/\(\/\/\)$/{ s//\1/; q; }
6274 /^X\/\(\/\).*/{ s//\1/; q; }
6278 # PATH needs CR, and LINENO needs CR and PATH.
6279 # Avoid depending upon Character Ranges.
6280 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6281 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6282 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6283 as_cr_digits
='0123456789'
6284 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6286 # The user is always right.
6287 if test "${PATH_SEPARATOR+set}" != set; then
6288 echo "#! /bin/sh" >conf$$.sh
6289 echo "exit 0" >>conf$$.sh
6291 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6302 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6303 test "x$as_lineno_1" != "x$as_lineno_2" &&
6304 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6305 # Find who we are. Look in the path if we contain no path at all
6308 *[\\/]* ) as_myself
=$0 ;;
6309 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir
=.
6314 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6319 # We did not find ourselves, most probably we were run as `sh COMMAND'
6320 # in which case we are not to be found in the path.
6321 if test "x$as_myself" = x
; then
6324 if test ! -f "$as_myself"; then
6325 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6326 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6327 { (exit 1); exit 1; }; }
6329 case $CONFIG_SHELL in
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6332 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6335 test -z "$as_dir" && as_dir
=.
6336 for as_base
in sh bash ksh sh5
; do
6339 if ("$as_dir/$as_base" -c '
6342 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6343 test "x$as_lineno_1" != "x$as_lineno_2" &&
6344 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6345 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6346 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6347 CONFIG_SHELL
=$as_dir/$as_base
6349 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6357 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6358 # uniformly replaced by the line number. The first 'sed' inserts a
6359 # line-number line before each line; the second 'sed' does the real
6360 # work. The second script uses 'N' to pair each line-number line
6361 # with the numbered line, and appends trailing '-' during
6362 # substitution so that $LINENO is not a special case at line end.
6363 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6364 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6365 sed '=' <$as_myself |
6370 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6373 s,^['$as_cr_digits']*\n,,
6375 chmod +x
$as_me.lineno ||
6376 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6377 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6378 { (exit 1); exit 1; }; }
6380 # Don't try to exec as it changes $[0], causing all sort of problems
6381 # (the dirname of $[0] is not the place where we might find the
6382 # original and so on. Autoconf is especially sensible to this).
6384 # Exit status is that of the last command.
6389 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6390 *c
*,-n*) ECHO_N
= ECHO_C
='
6392 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6393 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6396 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6402 rm -f conf$$ conf$$.exe conf$$.
file
6404 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6405 # We could just check for DJGPP; but this test a) works b) is more generic
6406 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6407 if test -f conf$$.exe
; then
6408 # Don't use ln at all; we don't have any links
6413 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6418 rm -f conf$$ conf$$.exe conf$$.
file
6420 if mkdir
-p .
2>/dev
/null
; then
6423 test -d .
/-p && rmdir .
/-p
6427 as_executable_p
="test -f"
6429 # Sed expression to map a string onto a valid CPP name.
6430 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6432 # Sed expression to map a string onto a valid variable name.
6433 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6437 # We need space, tab and new line, in precisely that order.
6447 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6448 # report actual input values of CONFIG_FILES etc. instead of their
6449 # values after options handling. Logging --version etc. is OK.
6453 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6454 ## Running $as_me. ##
6459 This file was extended by $as_me, which was
6460 generated by GNU Autoconf 2.59. Invocation command line was
6462 CONFIG_FILES = $CONFIG_FILES
6463 CONFIG_HEADERS = $CONFIG_HEADERS
6464 CONFIG_LINKS = $CONFIG_LINKS
6465 CONFIG_COMMANDS = $CONFIG_COMMANDS
6469 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6473 # Files that config.status was made for.
6474 if test -n "$ac_config_files"; then
6475 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6478 if test -n "$ac_config_headers"; then
6479 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6482 if test -n "$ac_config_links"; then
6483 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6486 if test -n "$ac_config_commands"; then
6487 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6490 cat >>$CONFIG_STATUS <<\_ACEOF
6493 \`$as_me' instantiates files from templates according to the
6494 current configuration.
6496 Usage: $0 [OPTIONS] [FILE]...
6498 -h, --help print this help, then exit
6499 -V, --version print version number, then exit
6500 -q, --quiet do not print progress messages
6501 -d, --debug don't remove temporary files
6502 --recheck update $as_me by reconfiguring in the same conditions
6503 --file=FILE[:TEMPLATE]
6504 instantiate the configuration file FILE
6505 --header=FILE[:TEMPLATE]
6506 instantiate the configuration header FILE
6508 Configuration files:
6511 Configuration headers:
6514 Report bugs to <bug-autoconf@gnu.org>."
6517 cat >>$CONFIG_STATUS <<_ACEOF
6520 configured by $0, generated by GNU Autoconf 2.59,
6521 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6523 Copyright (C) 2003 Free Software Foundation, Inc.
6524 This config.status script is free software; the Free Software Foundation
6525 gives unlimited permission to copy, distribute and modify it."
6530 cat >>$CONFIG_STATUS <<\_ACEOF
6531 # If no file are specified by the user, then we need to provide default
6532 # value. By we need to know if files were specified by the user.
6538 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6539 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6547 *) # This is not an option, so the user has probably given explicit
6550 ac_need_defaults
=false
;;
6554 # Handling of the options.
6556 cat >>$CONFIG_STATUS <<\_ACEOF
6557 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6559 --version |
--vers* |
-V )
6560 echo "$ac_cs_version"; exit 0 ;;
6562 # Conflict between --help and --header
6563 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6564 Try \`$0 --help' for more information." >&5
6565 echo "$as_me: error: ambiguous option: $1
6566 Try \`$0 --help' for more information." >&2;}
6567 { (exit 1); exit 1; }; };;
6568 --help |
--hel |
-h )
6569 echo "$ac_cs_usage"; exit 0 ;;
6570 --debug |
--d* |
-d )
6572 --file |
--fil |
--fi |
--f )
6574 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6575 ac_need_defaults
=false
;;
6576 --header |
--heade |
--head |
--hea )
6578 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6579 ac_need_defaults
=false
;;
6580 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6581 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6585 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6586 Try \`$0 --help' for more information." >&5
6587 echo "$as_me: error: unrecognized option: $1
6588 Try \`$0 --help' for more information." >&2;}
6589 { (exit 1); exit 1; }; } ;;
6591 *) ac_config_targets
="$ac_config_targets $1" ;;
6597 ac_configure_extra_args
=
6599 if $ac_cs_silent; then
6601 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6605 cat >>$CONFIG_STATUS <<_ACEOF
6606 if \$ac_cs_recheck; then
6607 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6608 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6617 cat >>$CONFIG_STATUS <<\_ACEOF
6618 for ac_config_target
in $ac_config_targets
6620 case "$ac_config_target" in
6621 # Handling of arguments.
6622 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
6623 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6624 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
6625 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
6626 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6627 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6628 { (exit 1); exit 1; }; };;
6632 # If the user did not use the arguments to specify the items to instantiate,
6633 # then the envvar interface is used. Set only those that are not.
6634 # We use the long form for the default assignment because of an extremely
6635 # bizarre bug on SunOS 4.1.3.
6636 if $ac_need_defaults; then
6637 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6638 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6641 # Have a temporary directory for convenience. Make it in the build tree
6642 # simply because there is no reason to put it here, and in addition,
6643 # creating and moving files from /tmp can sometimes cause problems.
6644 # Create a temporary directory, and hook for its removal unless debugging.
6647 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6648 trap '{ (exit 1); exit 1; }' 1 2 13 15
6651 # Create a (secure) tmp directory for tmp files.
6654 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6655 test -n "$tmp" && test -d "$tmp"
6658 tmp
=.
/confstat$$
-$RANDOM
6659 (umask 077 && mkdir
$tmp)
6662 echo "$me: cannot create a temporary directory in ." >&2
6663 { (exit 1); exit 1; }
6668 cat >>$CONFIG_STATUS <<_ACEOF
6671 # CONFIG_FILES section.
6674 # No need to generate the scripts if there are no CONFIG_FILES.
6675 # This happens for instance when ./config.status config.h
6676 if test -n "\$CONFIG_FILES"; then
6677 # Protect against being on the right side of a sed subst in config.status.
6678 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6679 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6680 s,@SHELL@,$SHELL,;t t
6681 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6682 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6683 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6684 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6685 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6686 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6687 s,@exec_prefix@,$exec_prefix,;t t
6688 s,@prefix@,$prefix,;t t
6689 s,@program_transform_name@,$program_transform_name,;t t
6690 s,@bindir@,$bindir,;t t
6691 s,@sbindir@,$sbindir,;t t
6692 s,@libexecdir@,$libexecdir,;t t
6693 s,@datadir@,$datadir,;t t
6694 s,@sysconfdir@,$sysconfdir,;t t
6695 s,@sharedstatedir@,$sharedstatedir,;t t
6696 s,@localstatedir@,$localstatedir,;t t
6697 s,@libdir@,$libdir,;t t
6698 s,@includedir@,$includedir,;t t
6699 s,@oldincludedir@,$oldincludedir,;t t
6700 s,@infodir@,$infodir,;t t
6701 s,@mandir@,$mandir,;t t
6702 s,@build_alias@,$build_alias,;t t
6703 s,@host_alias@,$host_alias,;t t
6704 s,@target_alias@,$target_alias,;t t
6706 s,@ECHO_C@,$ECHO_C,;t t
6707 s,@ECHO_N@,$ECHO_N,;t t
6708 s,@ECHO_T@,$ECHO_T,;t t
6711 s,@CFLAGS@,$CFLAGS,;t t
6712 s,@LDFLAGS@,$LDFLAGS,;t t
6713 s,@CPPFLAGS@,$CPPFLAGS,;t t
6714 s,@ac_ct_CC@,$ac_ct_CC,;t t
6715 s,@EXEEXT@,$EXEEXT,;t t
6716 s,@OBJEXT@,$OBJEXT,;t t
6718 s,@CXXFLAGS@,$CXXFLAGS,;t t
6719 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6720 s,@OPALDIR@,$OPALDIR,;t t
6721 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6722 s,@LIBDIR@,$LIBDIR,;t t
6723 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
6724 s,@PWLIBDIR@,$PWLIBDIR,;t t
6726 s,@EGREP@,$EGREP,;t t
6727 s,@SIZE16@,$SIZE16,;t t
6728 s,@SIZE32@,$SIZE32,;t t
6729 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
6730 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
6731 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
6732 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
6733 s,@OPAL_SIP@,$OPAL_SIP,;t t
6734 s,@OPAL_H323@,$OPAL_H323,;t t
6735 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
6736 s,@OPAL_H224@,$OPAL_H224,;t t
6737 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
6738 s,@H323_H460@,$H323_H460,;t t
6739 s,@OPAL_LID@,$OPAL_LID,;t t
6740 s,@OPAL_IVR@,$OPAL_IVR,;t t
6741 s,@OPAL_SRTP@,$OPAL_SRTP,;t t
6742 s,@HAS_LIBSRTP@,$HAS_LIBSRTP,;t t
6743 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
6744 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
6745 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6746 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6747 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6748 s,@subdirs@,$subdirs,;t t
6749 s,@LIBOBJS@,$LIBOBJS,;t t
6750 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6755 cat >>$CONFIG_STATUS <<\_ACEOF
6756 # Split the substitutions into bite-sized pieces for seds with
6757 # small command number limits, like on Digital OSF/1 and HP-UX.
6759 ac_sed_frag
=1 # Number of current file.
6760 ac_beg
=1 # First line for current file.
6761 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6764 while $ac_more_lines; do
6765 if test $ac_beg -gt 1; then
6766 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6768 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6770 if test ! -s $tmp/subs.frag
; then
6773 # The purpose of the label and of the branching condition is to
6774 # speed up the sed processing (if there are no `@' at all, there
6775 # is no need to browse any of the substitutions).
6776 # These are the two extra sed commands mentioned above.
6778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6779 if test -z "$ac_sed_cmds"; then
6780 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6782 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6784 ac_sed_frag
=`expr $ac_sed_frag + 1`
6786 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6789 if test -z "$ac_sed_cmds"; then
6792 fi # test -n "$CONFIG_FILES"
6795 cat >>$CONFIG_STATUS <<\_ACEOF
6796 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6799 - |
*:- |
*:-:* ) # input from stdin
6801 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6802 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6803 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6804 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6805 * ) ac_file_in
=$ac_file.
in ;;
6808 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6809 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6811 X"$ac_file" : 'X\(//\)[^/]' \| \
6812 X"$ac_file" : 'X\(//\)$' \| \
6813 X"$ac_file" : 'X\(/\)' \| \
6814 . : '\(.\)' 2>/dev/null ||
6816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6818 /^X\(\/\/\)$/{ s//\1/; q; }
6819 /^X\(\/\).*/{ s//\1/; q; }
6821 { if $as_mkdir_p; then
6826 while test ! -d "$as_dir"; do
6827 as_dirs
="$as_dir $as_dirs"
6828 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6830 X"$as_dir" : 'X\(//\)[^/]' \| \
6831 X"$as_dir" : 'X\(//\)$' \| \
6832 X"$as_dir" : 'X\(/\)' \| \
6833 . : '\(.\)' 2>/dev/null ||
6835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6837 /^X\(\/\/\)$/{ s//\1/; q; }
6838 /^X\(\/\).*/{ s//\1/; q; }
6841 test ! -n "$as_dirs" || mkdir
$as_dirs
6842 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6844 { (exit 1); exit 1; }; }; }
6848 if test "$ac_dir" != .
; then
6849 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6850 # A "../" for each directory in $ac_dir_suffix.
6851 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6853 ac_dir_suffix
= ac_top_builddir
=
6857 .
) # No --srcdir option. We are building in place.
6859 if test -z "$ac_top_builddir"; then
6862 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6864 [\\/]* | ?
:[\\/]* ) # Absolute path.
6865 ac_srcdir
=$srcdir$ac_dir_suffix;
6866 ac_top_srcdir
=$srcdir ;;
6868 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6869 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6872 # Do not use `cd foo && pwd` to compute absolute paths, because
6873 # the directories may not exist.
6875 .
) ac_abs_builddir
="$ac_dir";;
6878 .
) ac_abs_builddir
=`pwd`;;
6879 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6880 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6883 case $ac_abs_builddir in
6884 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6886 case ${ac_top_builddir}.
in
6887 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6888 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6889 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6892 case $ac_abs_builddir in
6893 .
) ac_abs_srcdir
=$ac_srcdir;;
6896 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6897 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6898 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6901 case $ac_abs_builddir in
6902 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6904 case $ac_top_srcdir in
6905 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6906 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6907 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6913 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6914 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6917 # Let's still pretend it is `configure' which instantiates (i.e., don't
6918 # use $as_me), people would be surprised to read:
6919 # /* config.h. Generated by config.status. */
6920 if test x
"$ac_file" = x-
; then
6923 configure_input
="$ac_file. "
6925 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6926 sed 's,.*/,,'` by configure."
6928 # First look for the input files in the build tree, otherwise in the
6930 ac_file_inputs
=`IFS=:
6931 for f in $ac_file_in; do
6933 -) echo $tmp/stdin ;;
6935 # Absolute (can't be DOS-style, as IFS=:)
6936 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6937 echo "$as_me: error: cannot find input file: $f" >&2;}
6938 { (exit 1); exit 1; }; }
6941 if test -f "$f"; then
6944 elif test -f "$srcdir/$f"; then
6949 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6950 echo "$as_me: error: cannot find input file: $f" >&2;}
6951 { (exit 1); exit 1; }; }
6954 done` ||
{ (exit 1); exit 1; }
6956 if test x
"$ac_file" != x-
; then
6957 { echo "$as_me:$LINENO: creating $ac_file" >&5
6958 echo "$as_me: creating $ac_file" >&6;}
6962 cat >>$CONFIG_STATUS <<_ACEOF
6966 cat >>$CONFIG_STATUS <<\_ACEOF
6968 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6969 s
,@configure_input@
,$configure_input,;t t
6970 s
,@srcdir@
,$ac_srcdir,;t t
6971 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6972 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6973 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6974 s
,@builddir@
,$ac_builddir,;t t
6975 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6976 s
,@top_builddir@
,$ac_top_builddir,;t t
6977 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6978 s
,@INSTALL@
,$ac_INSTALL,;t t
6979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6981 if test x"$ac_file" != x-; then
6982 mv $tmp/out $ac_file
6990 cat >>$CONFIG_STATUS <<\_ACEOF
6993 # CONFIG_HEADER section.
6996 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6997 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6999 # ac_d sets the value in "#define NAME VALUE" lines.
7000 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7001 ac_dB
='[ ].*$,\1#\2'
7004 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7005 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7006 ac_uB
='$,\1#\2define\3'
7010 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7013 - |
*:- |
*:-:* ) # input from stdin
7015 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7016 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7017 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7019 * ) ac_file_in
=$ac_file.
in ;;
7022 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7023 echo "$as_me: creating $ac_file" >&6;}
7025 # First look for the input files in the build tree, otherwise in the
7027 ac_file_inputs
=`IFS=:
7028 for f in $ac_file_in; do
7030 -) echo $tmp/stdin ;;
7032 # Absolute (can't be DOS-style, as IFS=:)
7033 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7034 echo "$as_me: error: cannot find input file: $f" >&2;}
7035 { (exit 1); exit 1; }; }
7036 # Do quote $f, to prevent DOS paths from being IFS'd.
7039 if test -f "$f"; then
7042 elif test -f "$srcdir/$f"; then
7047 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7048 echo "$as_me: error: cannot find input file: $f" >&2;}
7049 { (exit 1); exit 1; }; }
7052 done` ||
{ (exit 1); exit 1; }
7053 # Remove the trailing spaces.
7054 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7058 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7059 # `conftest.undefs', that substitutes the proper values into
7060 # config.h.in to produce config.h. The first handles `#define'
7061 # templates, and the second `#undef' templates.
7062 # And first: Protect against being on the right side of a sed subst in
7063 # config.status. Protect against being in an unquoted here document
7065 rm -f conftest.defines conftest.undefs
7066 # Using a here document instead of a string reduces the quoting nightmare.
7067 # Putting comments in sed scripts is not portable.
7069 # `end' is used to avoid that the second main sed command (meant for
7070 # 0-ary CPP macros) applies to n-ary macro definitions.
7071 # See the Autoconf documentation for `clear'.
7072 cat >confdef2sed.
sed <<\_ACEOF
7077 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7079 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7082 # If some macros were called several times there might be several times
7083 # the same #defines, which is useless. Nevertheless, we may not want to
7084 # sort them, since we want the *last* AC-DEFINE to be honored.
7085 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7086 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7087 rm -f confdef2sed.sed
7089 # This sed command replaces #undef with comments. This is necessary, for
7090 # example, in the case of _POSIX_SOURCE, which is predefined and required
7091 # on some systems where configure will not decide to define it.
7092 cat >>conftest.undefs <<\_ACEOF
7093 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7096 # Break up conftest.defines because some shells have a limit on the size
7097 # of here documents, and old seds have small limits too (100 cmds).
7098 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7099 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7100 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7101 echo ' :' >>$CONFIG_STATUS
7103 while grep . conftest.defines >/dev/null
7105 # Write a limited-size here document to $tmp/defines.sed.
7106 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7107 # Speed up: don't consider the non `#define' lines.
7108 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7109 # Work around the forget-to-reset-the-flag bug.
7110 echo 't clr' >>$CONFIG_STATUS
7111 echo ': clr' >>$CONFIG_STATUS
7112 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7114 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7118 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7119 rm -f conftest.defines
7120 mv conftest.
tail conftest.defines
7122 rm -f conftest.defines
7123 echo ' fi # grep' >>$CONFIG_STATUS
7124 echo >>$CONFIG_STATUS
7126 # Break up conftest.undefs because some shells have a limit on the size
7127 # of here documents, and old seds have small limits too (100 cmds).
7128 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7130 while grep . conftest.undefs
>/dev
/null
7132 # Write a limited-size here document to $tmp/undefs.sed.
7133 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7134 # Speed up: don't consider the non
`#undef'
7135 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7136 # Work around the forget-to-reset-the-flag bug.
7137 echo 't clr' >>$CONFIG_STATUS
7138 echo ': clr' >>$CONFIG_STATUS
7139 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7141 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7145 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7146 rm -f conftest.undefs
7147 mv conftest.tail conftest.undefs
7149 rm -f conftest.undefs
7151 cat >>$CONFIG_STATUS <<\_ACEOF
7152 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7153 # use $as_me), people would be surprised to read:
7154 # /* config.h. Generated by config.status. */
7155 if test x
"$ac_file" = x-
; then
7156 echo "/* Generated by configure. */" >$tmp/config.h
7158 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7160 cat $tmp/in >>$tmp/config.h
7162 if test x
"$ac_file" != x-
; then
7163 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7164 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7165 echo "$as_me: $ac_file is unchanged" >&6;}
7167 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7169 X"$ac_file" : 'X\(//\)[^/]' \| \
7170 X"$ac_file" : 'X\(//\)$' \| \
7171 X"$ac_file" : 'X\(/\)' \| \
7172 . : '\(.\)' 2>/dev/null ||
7174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7176 /^X\(\/\/\)$/{ s//\1/; q; }
7177 /^X\(\/\).*/{ s//\1/; q; }
7179 { if $as_mkdir_p; then
7184 while test ! -d "$as_dir"; do
7185 as_dirs
="$as_dir $as_dirs"
7186 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7188 X"$as_dir" : 'X\(//\)[^/]' \| \
7189 X"$as_dir" : 'X\(//\)$' \| \
7190 X"$as_dir" : 'X\(/\)' \| \
7191 . : '\(.\)' 2>/dev/null ||
7193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7195 /^X\(\/\/\)$/{ s//\1/; q; }
7196 /^X\(\/\).*/{ s//\1/; q; }
7199 test ! -n "$as_dirs" || mkdir
$as_dirs
7200 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7201 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7202 { (exit 1); exit 1; }; }; }
7205 mv $tmp/config.h
$ac_file
7214 cat >>$CONFIG_STATUS <<\_ACEOF
7216 { (exit 0); exit 0; }
7218 chmod +x
$CONFIG_STATUS
7219 ac_clean_files
=$ac_clean_files_save
7222 # configure is writing to config.log, and then calls config.status.
7223 # config.status does its own redirection, appending to config.log.
7224 # Unfortunately, on DOS this fails, as config.log is still kept open
7225 # by configure, so config.status won't be able to write to it; its
7226 # output is simply discarded. So we exec the FD to /dev/null,
7227 # effectively closing config.log, so it can be properly (re)opened and
7228 # appended to by config.status. When coming back to configure, we
7229 # need to make the FD available again.
7230 if test "$no_create" != yes; then
7232 ac_config_status_args
=
7233 test "$silent" = yes &&
7234 ac_config_status_args
="$ac_config_status_args --quiet"
7236 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7238 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7239 # would make configure fail if this is the last instruction.
7240 $ac_cs_success ||
{ (exit 1); exit 1; }
7244 # CONFIG_SUBDIRS section.
7246 if test "$no_recursion" != yes; then
7248 # Remove --cache-file and --srcdir arguments so they do not pile up.
7249 ac_sub_configure_args
=
7251 for ac_arg
in $ac_configure_args; do
7252 if test -n "$ac_prev"; then
7257 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7258 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7259 ac_prev
=cache_file
;;
7260 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7261 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7264 --config-cache |
-C)
7266 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7268 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7270 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7272 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7274 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7278 # Always prepend --prefix to ensure using the same prefix
7279 # in subdir configurations.
7280 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7283 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7285 # Do not complain, so a configure script can configure whichever
7286 # parts of a large source tree are present.
7287 test -d $srcdir/$ac_dir ||
continue
7289 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7290 echo "$as_me: configuring in $ac_dir" >&6;}
7291 { if $as_mkdir_p; then
7296 while test ! -d "$as_dir"; do
7297 as_dirs
="$as_dir $as_dirs"
7298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7300 X"$as_dir" : 'X\(//\)[^/]' \| \
7301 X"$as_dir" : 'X\(//\)$' \| \
7302 X"$as_dir" : 'X\(/\)' \| \
7303 . : '\(.\)' 2>/dev/null ||
7305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7307 /^X\(\/\/\)$/{ s//\1/; q; }
7308 /^X\(\/\).*/{ s//\1/; q; }
7311 test ! -n "$as_dirs" || mkdir
$as_dirs
7312 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7314 { (exit 1); exit 1; }; }; }
7318 if test "$ac_dir" != .
; then
7319 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7320 # A "../" for each directory in $ac_dir_suffix.
7321 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7323 ac_dir_suffix
= ac_top_builddir
=
7327 .
) # No --srcdir option. We are building in place.
7329 if test -z "$ac_top_builddir"; then
7332 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7334 [\\/]* | ?
:[\\/]* ) # Absolute path.
7335 ac_srcdir
=$srcdir$ac_dir_suffix;
7336 ac_top_srcdir
=$srcdir ;;
7338 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7339 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7342 # Do not use `cd foo && pwd` to compute absolute paths, because
7343 # the directories may not exist.
7345 .
) ac_abs_builddir
="$ac_dir";;
7348 .
) ac_abs_builddir
=`pwd`;;
7349 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7350 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7353 case $ac_abs_builddir in
7354 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7356 case ${ac_top_builddir}.
in
7357 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7358 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7359 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7362 case $ac_abs_builddir in
7363 .
) ac_abs_srcdir
=$ac_srcdir;;
7366 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7367 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7368 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7371 case $ac_abs_builddir in
7372 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7374 case $ac_top_srcdir in
7375 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7376 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7377 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7384 # Check for guested configure; otherwise get Cygnus style configure.
7385 if test -f $ac_srcdir/configure.gnu
; then
7386 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7387 elif test -f $ac_srcdir/configure
; then
7388 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7389 elif test -f $ac_srcdir/configure.
in; then
7390 ac_sub_configure
=$ac_configure
7392 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7397 # The recursion is here.
7398 if test -n "$ac_sub_configure"; then
7399 # Make the cache file name correct relative to the subdirectory.
7401 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7403 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7406 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7407 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7408 # The eval makes quoting arguments work.
7409 eval $ac_sub_configure $ac_sub_configure_args \
7410 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7411 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7412 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7413 { (exit 1); exit 1; }; }