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 OPAL_VERSION PTLIB_CONFIG PWLIBDIR GCC_HAS_CLZ 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 OPAL_H450 OPAL_H460 OPAL_LID OPAL_IVR OPAL_ZRTP HAS_LIBZRTP 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-h450 disable H
.450
862 --disable-h460 disable H
.460
863 --disable-lid disable LID support
864 --disable-ivr disable IVR support
866 Some influential environment variables
:
867 CC C compiler
command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
870 nonstandard directory
<lib dir
>
871 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
872 headers
in a nonstandard directory
<include dir
>
873 CXX C
++ compiler
command
874 CXXFLAGS C
++ compiler flags
877 Use these variables to override the choices made by
`configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1000 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1001 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1002 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1003 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1008 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1011 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1012 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1014 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close
' the trap.
1094 trap 'exit_status
=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var
in $ac_subst_vars
1130 eval ac_val
=$
`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var
in $ac_subst_files
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h
; then
1157 sed "/^$/d" confdefs.h |
sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core
*.core
&&
1165 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's
/^
/|
/' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1262 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1287 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 ac_cpp='$CPP $CPPFLAGS'
1318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1319 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 if test -n "$ac_tool_prefix"; then
1322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1324 echo "$as_me:$LINENO: checking for $ac_word" >&5
1325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326 if test "${ac_cv_prog_CC+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 if test -n "$CC"; then
1330 ac_cv_prog_CC="$CC" # Let the user override the test.
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349 if test -n "$CC"; then
1350 echo "$as_me:$LINENO: result: $CC" >&5
1351 echo "${ECHO_T}$CC" >&6
1353 echo "$as_me:$LINENO: result: no" >&5
1354 echo "${ECHO_T}no" >&6
1358 if test -z "$ac_cv_prog_CC"; then
1360 # Extract the first word of "gcc", so it can be a program name with args.
1361 set dummy gcc; ac_word=$2
1362 echo "$as_me:$LINENO: checking for $ac_word" >&5
1363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 if test -n "$ac_ct_CC"; then
1368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_ac_ct_CC="gcc"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1387 if test -n "$ac_ct_CC"; then
1388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1389 echo "${ECHO_T}$ac_ct_CC" >&6
1391 echo "$as_me:$LINENO: result: no" >&5
1392 echo "${ECHO_T}no" >&6
1400 if test -z "$CC"; then
1401 if test -n "$ac_tool_prefix"; then
1402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1403 set dummy ${ac_tool_prefix}cc; ac_word=$2
1404 echo "$as_me:$LINENO: checking for $ac_word" >&5
1405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406 if test "${ac_cv_prog_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 if test -n "$CC"; then
1410 ac_cv_prog_CC="$CC" # Let the user override the test.
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_CC="${ac_tool_prefix}cc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1429 if test -n "$CC"; then
1430 echo "$as_me:$LINENO: result: $CC" >&5
1431 echo "${ECHO_T}$CC" >&6
1433 echo "$as_me:$LINENO: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1438 if test -z "$ac_cv_prog_CC"; then
1440 # Extract the first word of "cc", so it can be a program name with args.
1441 set dummy cc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$ac_ct_CC"; then
1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_ac_ct_CC="cc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1467 if test -n "$ac_ct_CC"; then
1468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1469 echo "${ECHO_T}$ac_ct_CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1481 if test -z "$CC"; then
1482 # Extract the first word of "cc", so it can be a program name with args.
1483 set dummy cc; ac_word=$2
1484 echo "$as_me:$LINENO: checking for $ac_word" >&5
1485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1486 if test "${ac_cv_prog_CC+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 if test -n "$CC"; then
1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 for ac_exec_ext in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1501 ac_prog_rejected=yes
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test $ac_prog_rejected = yes; then
1512 # We found a bogon in the path, so make sure we never use it.
1513 set dummy $ac_cv_prog_CC
1515 if test $# != 0; then
1516 # We chose a different compiler from the bogus one.
1517 # However, it has the same basename, so the bogon will be chosen
1518 # first if we set CC to just the basename; use the full file name.
1520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1526 if test -n "$CC"; then
1527 echo "$as_me:$LINENO: result: $CC" >&5
1528 echo "${ECHO_T}$CC" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1535 if test -z "$CC"; then
1536 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1574 test -n "$CC" && break
1577 if test -z "$CC"; then
1581 # Extract the first word of "$ac_prog", so it can be a program name with args.
1582 set dummy $ac_prog; ac_word=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 if test -n "$ac_ct_CC"; then
1589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1595 test -z "$as_dir" && as_dir=.
1596 for ac_exec_ext in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_CC="$ac_prog"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1608 if test -n "$ac_ct_CC"; then
1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1610 echo "${ECHO_T}$ac_ct_CC" >&6
1612 echo "$as_me:$LINENO: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1616 test -n "$ac_ct_CC" && break
1625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1626 See \`config.log' for more details.
" >&5
1627 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1628 See \
`config.log' for more details." >&2;}
1629 { (exit 1); exit 1; }; }
1631 # Provide some information about the compiler.
1632 echo "$as_me:$LINENO:" \
1633 "checking for C compiler version" >&5
1634 ac_compiler=`set X
$ac_compile; echo $2`
1635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1636 (eval $ac_compiler --version </dev/null >&5) 2>&5
1638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1639 (exit $ac_status); }
1640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1641 (eval $ac_compiler -v </dev/null >&5) 2>&5
1643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1644 (exit $ac_status); }
1645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1646 (eval $ac_compiler -V </dev/null >&5) 2>&5
1648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1649 (exit $ac_status); }
1651 cat >conftest.$ac_ext <<_ACEOF
1654 cat confdefs.h >>conftest.$ac_ext
1655 cat >>conftest.$ac_ext <<_ACEOF
1656 /* end confdefs.h. */
1666 ac_clean_files_save=$ac_clean_files
1667 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1668 # Try to create an executable without -o first, disregard a.out.
1669 # It will help us diagnose broken compilers, and finding out an intuition
1671 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1672 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1673 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1674 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1675 (eval $ac_link_default) 2>&5
1677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1678 (exit $ac_status); }; then
1679 # Find the output, starting from the most likely. This scheme is
1680 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1683 # Be careful to initialize this variable, since it used to be cached.
1684 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1686 # b.out is created by i960 compilers.
1687 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1689 test -f "$ac_file" || continue
1691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1694 # This is the source file.
1697 # We found the default executable, but exeext='' is most
1701 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1702 # FIXME: I believe we export ac_cv_exeext for Libtool,
1703 # but it would be cool to find out if it's true. Does anybody
1704 # maintain Libtool? --akim.
1712 echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1716 See \`config.log
' for more details." >&5
1717 echo "$as_me: error: C compiler cannot create executables
1718 See \`config.log' for more details.
" >&2;}
1719 { (exit 77); exit 77; }; }
1722 ac_exeext=$ac_cv_exeext
1723 echo "$as_me:$LINENO: result
: $ac_file" >&5
1724 echo "${ECHO_T}$ac_file" >&6
1726 # Check the compiler produces executables we can run. If not, either
1727 # the compiler is broken, or we cross compile.
1728 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1729 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1730 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1731 # If not cross compiling, check that we can run a simple program.
1732 if test "$cross_compiling" != yes; then
1733 if { ac_try='./$ac_file'
1734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1738 (exit $ac_status); }; }; then
1741 if test "$cross_compiling" = maybe; then
1744 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1745 If you meant to cross compile
, use \
`--host'.
1746 See \`config.log
' for more details." >&5
1747 echo "$as_me: error: cannot run C compiled programs.
1748 If you meant to cross compile, use \`--host'.
1749 See \
`config.log' for more details." >&2;}
1750 { (exit 1); exit 1; }; }
1754 echo "$as_me:$LINENO: result: yes" >&5
1755 echo "${ECHO_T}yes" >&6
1757 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1758 ac_clean_files=$ac_clean_files_save
1759 # Check the compiler produces executables we can run. If not, either
1760 # the compiler is broken, or we cross compile.
1761 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1762 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1763 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1764 echo "${ECHO_T}$cross_compiling" >&6
1766 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1767 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1769 (eval $ac_link) 2>&5
1771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1772 (exit $ac_status); }; then
1773 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1774 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1775 # work properly (i.e., refer to `conftest.exe'), while it won't with
1777 for ac_file
in conftest.exe conftest conftest.
*; do
1778 test -f "$ac_file" ||
continue
1780 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1781 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1788 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1789 See \`config.log' for more details." >&5
1790 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1791 See \`config.log' for more details." >&2;}
1792 { (exit 1); exit 1; }; }
1795 rm -f conftest
$ac_cv_exeext
1796 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1797 echo "${ECHO_T}$ac_cv_exeext" >&6
1799 rm -f conftest.
$ac_ext
1800 EXEEXT
=$ac_cv_exeext
1802 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1803 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1804 if test "${ac_cv_objext+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 cat >conftest.
$ac_ext <<_ACEOF
1810 cat confdefs.h
>>conftest.
$ac_ext
1811 cat >>conftest.
$ac_ext <<_ACEOF
1812 /* end confdefs.h. */
1822 rm -f conftest.o conftest.obj
1823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1824 (eval $ac_compile) 2>&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }; then
1828 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1830 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1831 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1836 echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.
$ac_ext >&5
1839 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1840 See \`config.log' for more details." >&5
1841 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1842 See \`config.log' for more details." >&2;}
1843 { (exit 1); exit 1; }; }
1846 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1848 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1849 echo "${ECHO_T}$ac_cv_objext" >&6
1850 OBJEXT
=$ac_cv_objext
1852 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1853 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 cat >conftest.
$ac_ext <<_ACEOF
1860 cat confdefs.h
>>conftest.
$ac_ext
1861 cat >>conftest.
$ac_ext <<_ACEOF
1862 /* end confdefs.h. */
1875 rm -f conftest.
$ac_objext
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>conftest.er1
1879 grep -v '^ *+' conftest.er1
>conftest.err
1881 cat conftest.err
>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); } &&
1884 { ac_try
='test -z "$ac_c_werror_flag"
1885 || test ! -s conftest.err'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; } &&
1891 { ac_try
='test -s conftest.$ac_objext'
1892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }; }; then
1899 echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.
$ac_ext >&5
1904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1905 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1908 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1909 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1910 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1911 ac_test_CFLAGS
=${CFLAGS+set}
1912 ac_save_CFLAGS
=$CFLAGS
1914 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1915 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1916 if test "${ac_cv_prog_cc_g+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 cat >conftest.
$ac_ext <<_ACEOF
1922 cat confdefs.h
>>conftest.
$ac_ext
1923 cat >>conftest.
$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1934 rm -f conftest.
$ac_objext
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>conftest.er1
1938 grep -v '^ *+' conftest.er1
>conftest.err
1940 cat conftest.err
>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); } &&
1943 { ac_try
='test -z "$ac_c_werror_flag"
1944 || test ! -s conftest.err'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; } &&
1950 { ac_try
='test -s conftest.$ac_objext'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; }; then
1958 echo "$as_me: failed program was:" >&5
1959 sed 's/^/| /' conftest.
$ac_ext >&5
1963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1966 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1967 if test "$ac_test_CFLAGS" = set; then
1968 CFLAGS
=$ac_save_CFLAGS
1969 elif test $ac_cv_prog_cc_g = yes; then
1970 if test "$GCC" = yes; then
1976 if test "$GCC" = yes; then
1982 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1983 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1984 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 ac_cv_prog_cc_stdc
=no
1989 cat >conftest.
$ac_ext <<_ACEOF
1992 cat confdefs.h
>>conftest.
$ac_ext
1993 cat >>conftest.
$ac_ext <<_ACEOF
1994 /* end confdefs.h. */
1997 #include <sys/types.h>
1998 #include <sys/stat.h>
1999 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2000 struct buf { int x; };
2001 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2002 static char *e (p, i)
2008 static char *f (char * (*g) (char **, int), char **p, ...)
2013 s = g (p, va_arg (v,int));
2018 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2019 function prototypes and stuff, but not '\xHH' hex character constants.
2020 These don't provoke an error unfortunately, instead are silently treated
2021 as 'x'. The following induces an error, until -std1 is added to get
2022 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2023 array size at least. It's necessary to write '\x00'==0 to get something
2024 that's true only with -std1. */
2025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2027 int test (int i, double x);
2028 struct s1 {int (*f) (int a);};
2029 struct s2 {int (*f) (double a);};
2030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2041 # Don't try gcc -ansi; that turns off useful extensions and
2042 # breaks some systems' header files.
2043 # AIX -qlanglvl=ansi
2044 # Ultrix and OSF/1 -std1
2045 # HP-UX 10.20 and later -Ae
2046 # HP-UX older versions -Aa -D_HPUX_SOURCE
2047 # SVR4 -Xc -D__EXTENSIONS__
2048 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2050 CC
="$ac_save_CC $ac_arg"
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>conftest.er1
2055 grep -v '^ *+' conftest.er1
>conftest.err
2057 cat conftest.err
>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -z "$ac_c_werror_flag"
2061 || test ! -s conftest.err'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; } &&
2067 { ac_try
='test -s conftest.$ac_objext'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; }; then
2073 ac_cv_prog_cc_stdc
=$ac_arg
2076 echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2080 rm -f conftest.err conftest.
$ac_objext
2082 rm -f conftest.
$ac_ext conftest.
$ac_objext
2087 case "x$ac_cv_prog_cc_stdc" in
2089 echo "$as_me:$LINENO: result: none needed" >&5
2090 echo "${ECHO_T}none needed" >&6 ;;
2092 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2093 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2094 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2097 # Some people use a C++ compiler to compile C. Since we use `exit',
2098 # in C++ we need to declare it. In case someone uses the same compiler
2099 # for both compiling C and C++ we need to have the C++ compiler decide
2100 # the declaration of exit, since it's the most demanding environment.
2101 cat >conftest.
$ac_ext <<_ACEOF
2106 rm -f conftest.
$ac_objext
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>conftest.er1
2110 grep -v '^ *+' conftest.er1
>conftest.err
2112 cat conftest.err
>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); } &&
2115 { ac_try
='test -z "$ac_c_werror_flag"
2116 || test ! -s conftest.err'
2117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; } &&
2122 { ac_try
='test -s conftest.$ac_objext'
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; }; then
2128 for ac_declaration
in \
2130 'extern "C" void std::exit (int) throw (); using std::exit;' \
2131 'extern "C" void std::exit (int); using std::exit;' \
2132 'extern "C" void exit (int) throw ();' \
2133 'extern "C" void exit (int);' \
2136 cat >conftest.
$ac_ext <<_ACEOF
2139 cat confdefs.h
>>conftest.
$ac_ext
2140 cat >>conftest.
$ac_ext <<_ACEOF
2141 /* end confdefs.h. */
2152 rm -f conftest.
$ac_objext
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>conftest.er1
2156 grep -v '^ *+' conftest.er1
>conftest.err
2158 cat conftest.err
>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -z "$ac_c_werror_flag"
2162 || test ! -s conftest.err'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; } &&
2168 { ac_try
='test -s conftest.$ac_objext'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.
$ac_ext >&5
2181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 cat >conftest.
$ac_ext <<_ACEOF
2185 cat confdefs.h
>>conftest.
$ac_ext
2186 cat >>conftest.
$ac_ext <<_ACEOF
2187 /* end confdefs.h. */
2197 rm -f conftest.
$ac_objext
2198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2199 (eval $ac_compile) 2>conftest.er1
2201 grep -v '^ *+' conftest.er1
>conftest.err
2203 cat conftest.err
>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } &&
2206 { ac_try
='test -z "$ac_c_werror_flag"
2207 || test ! -s conftest.err'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; } &&
2213 { ac_try
='test -s conftest.$ac_objext'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; }; then
2221 echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.
$ac_ext >&5
2225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2228 if test -n "$ac_declaration"; then
2229 echo '#ifdef __cplusplus' >>confdefs.h
2230 echo $ac_declaration >>confdefs.h
2231 echo '#endif' >>confdefs.h
2235 echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.
$ac_ext >&5
2239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2241 ac_cpp
='$CPP $CPPFLAGS'
2242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2247 ac_cpp
='$CXXCPP $CPPFLAGS'
2248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2251 if test -n "$ac_tool_prefix"; then
2252 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2255 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2256 echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258 if test "${ac_cv_prog_CXX+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test -n "$CXX"; then
2262 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir
=.
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 if test -n "$CXX"; then
2282 echo "$as_me:$LINENO: result: $CXX" >&5
2283 echo "${ECHO_T}$CXX" >&6
2285 echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2289 test -n "$CXX" && break
2292 if test -z "$CXX"; then
2294 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2296 # Extract the first word of "$ac_prog", so it can be a program name with args.
2297 set dummy
$ac_prog; ac_word
=$2
2298 echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$ac_ct_CXX"; then
2304 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir
=.
2311 for ac_exec_ext
in '' $ac_executable_extensions; do
2312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2313 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2323 if test -n "$ac_ct_CXX"; then
2324 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2325 echo "${ECHO_T}$ac_ct_CXX" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2331 test -n "$ac_ct_CXX" && break
2333 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2339 # Provide some information about the compiler.
2340 echo "$as_me:$LINENO:" \
2341 "checking for C++ compiler version" >&5
2342 ac_compiler
=`set X $ac_compile; echo $2`
2343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2344 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2349 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2354 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2359 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2360 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2361 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 cat >conftest.
$ac_ext <<_ACEOF
2367 cat confdefs.h
>>conftest.
$ac_ext
2368 cat >>conftest.
$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2382 rm -f conftest.
$ac_objext
2383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384 (eval $ac_compile) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } &&
2391 { ac_try
='test -z "$ac_cxx_werror_flag"
2392 || test ! -s conftest.err'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; } &&
2398 { ac_try
='test -s conftest.$ac_objext'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.
$ac_ext >&5
2411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2412 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2415 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2416 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2417 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2418 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2419 ac_save_CXXFLAGS
=$CXXFLAGS
2421 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2422 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2423 if test "${ac_cv_prog_cxx_g+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2441 rm -f conftest.
$ac_objext
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>conftest.er1
2445 grep -v '^ *+' conftest.er1
>conftest.err
2447 cat conftest.err
>&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); } &&
2450 { ac_try
='test -z "$ac_cxx_werror_flag"
2451 || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try
='test -s conftest.$ac_objext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2463 ac_cv_prog_cxx_g
=yes
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.
$ac_ext >&5
2470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2472 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2473 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2474 if test "$ac_test_CXXFLAGS" = set; then
2475 CXXFLAGS
=$ac_save_CXXFLAGS
2476 elif test $ac_cv_prog_cxx_g = yes; then
2477 if test "$GXX" = yes; then
2483 if test "$GXX" = yes; then
2489 for ac_declaration
in \
2491 'extern "C" void std::exit (int) throw (); using std::exit;' \
2492 'extern "C" void std::exit (int); using std::exit;' \
2493 'extern "C" void exit (int) throw ();' \
2494 'extern "C" void exit (int);' \
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_cxx_werror_flag"
2523 || test ! -s conftest.err'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; } &&
2529 { ac_try
='test -s conftest.$ac_objext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 cat >conftest.
$ac_ext <<_ACEOF
2546 cat confdefs.h
>>conftest.
$ac_ext
2547 cat >>conftest.
$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2558 rm -f conftest.
$ac_objext
2559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560 (eval $ac_compile) 2>conftest.er1
2562 grep -v '^ *+' conftest.er1
>conftest.err
2564 cat conftest.err
>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try
='test -z "$ac_cxx_werror_flag"
2568 || test ! -s conftest.err'
2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; } &&
2574 { ac_try
='test -s conftest.$ac_objext'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; }; then
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2589 if test -n "$ac_declaration"; then
2590 echo '#ifdef __cplusplus' >>confdefs.h
2591 echo $ac_declaration >>confdefs.h
2592 echo '#endif' >>confdefs.h
2596 ac_cpp
='$CPP $CPPFLAGS'
2597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2612 REQUIRED_PWLIB_MAJOR
=1
2613 REQUIRED_PWLIB_MINOR
=11
2614 REQUIRED_PWLIB_BUILD
=0
2620 if test "x$prefix" = "xNONE"; then
2621 INSTALLPREFIX
="/usr/local"
2623 INSTALLPREFIX
="${prefix}"
2634 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2635 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2636 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2637 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2638 cat >>confdefs.h
<<_ACEOF
2639 #define OPAL_MAJOR ${MAJOR_VERSION}
2642 cat >>confdefs.h
<<_ACEOF
2643 #define OPAL_MINOR ${MINOR_VERSION}
2646 cat >>confdefs.h
<<_ACEOF
2647 #define OPAL_BUILD ${BUILD_NUMBER}
2650 cat >>confdefs.h
<<_ACEOF
2651 #define OPAL_VERSION "$OPAL_VERSION"
2655 { echo "$as_me:$LINENO: Opal version is ${OPAL_VERSION}" >&5
2656 echo "$as_me: Opal version is ${OPAL_VERSION}" >&6;};
2658 #use to set the version in opal.pc
2662 if test "${PWLIBDIR:-unset}" != "unset" ; then
2663 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2664 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2665 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2666 if eval "test \"\${$as_ac_File+set}\" = set"; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 test "$cross_compiling" = yes &&
2670 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2671 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2672 { (exit 1); exit 1; }; }
2673 if test -r "${PWLIBDIR}/version.h"; then
2674 eval "$as_ac_File=yes"
2676 eval "$as_ac_File=no"
2679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2680 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2681 if test `eval echo '${'$as_ac_File'}'` = yes; then
2686 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2687 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2688 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2689 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2690 if eval "test \"\${$as_ac_File+set}\" = set"; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 test "$cross_compiling" = yes &&
2694 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2695 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2696 { (exit 1); exit 1; }; }
2697 if test -r "${OPALDIR}/../pwlib/version.h"; then
2698 eval "$as_ac_File=yes"
2700 eval "$as_ac_File=no"
2703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2704 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2705 if test `eval echo '${'$as_ac_File'}'` = yes; then
2709 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2710 PWLIBDIR
="${OPALDIR}/../pwlib"
2712 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2713 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2714 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2715 if eval "test \"\${$as_ac_File+set}\" = set"; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 test "$cross_compiling" = yes &&
2719 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2720 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2721 { (exit 1); exit 1; }; }
2722 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2723 eval "$as_ac_File=yes"
2725 eval "$as_ac_File=no"
2728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2729 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2730 if test `eval echo '${'$as_ac_File'}'` = yes; then
2734 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2735 PWLIBDIR
="${HOME}/pwlib"
2737 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2738 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2739 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 test "$cross_compiling" = yes &&
2743 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2744 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2745 { (exit 1); exit 1; }; }
2746 if test -r "/usr/local/include/ptlib.h"; then
2747 ac_cv_file__usr_local_include_ptlib_h
=yes
2749 ac_cv_file__usr_local_include_ptlib_h
=no
2752 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2753 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2754 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2758 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2759 # Extract the first word of "ptlib-config", so it can be a program name with args.
2760 set dummy ptlib-config
; ac_word
=$2
2761 echo "$as_me:$LINENO: checking for $ac_word" >&5
2762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2763 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 case $PTLIB_CONFIG in
2768 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 for as_dir
in /usr
/local
/bin
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2790 if test -n "$PTLIB_CONFIG"; then
2791 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2792 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2800 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2801 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 test "$cross_compiling" = yes &&
2805 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2806 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2807 { (exit 1); exit 1; }; }
2808 if test -r "/usr/include/ptlib.h"; then
2809 ac_cv_file__usr_include_ptlib_h
=yes
2811 ac_cv_file__usr_include_ptlib_h
=no
2814 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2815 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2816 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2820 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2821 # Extract the first word of "ptlib-config", so it can be a program name with args.
2822 set dummy ptlib-config
; ac_word
=$2
2823 echo "$as_me:$LINENO: checking for $ac_word" >&5
2824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2825 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 case $PTLIB_CONFIG in
2830 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 for as_dir
in /usr
/share
/pwlib
/make
/
2837 test -z "$as_dir" && as_dir
=.
2838 for ac_exec_ext
in '' $ac_executable_extensions; do
2839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2840 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2852 if test -n "$PTLIB_CONFIG"; then
2853 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2854 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2861 as_ac_File
=`echo "ac_cv_file_${prefix}/include/ptlib.h" | $as_tr_sh`
2862 echo "$as_me:$LINENO: checking for ${prefix}/include/ptlib.h" >&5
2863 echo $ECHO_N "checking for ${prefix}/include/ptlib.h... $ECHO_C" >&6
2864 if eval "test \"\${$as_ac_File+set}\" = set"; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 test "$cross_compiling" = yes &&
2868 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2869 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2870 { (exit 1); exit 1; }; }
2871 if test -r "${prefix}/include/ptlib.h"; then
2872 eval "$as_ac_File=yes"
2874 eval "$as_ac_File=no"
2877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2878 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2879 if test `eval echo '${'$as_ac_File'}'` = yes; then
2883 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2884 # Extract the first word of "ptlib-config", so it can be a program name with args.
2885 set dummy ptlib-config
; ac_word
=$2
2886 echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 case $PTLIB_CONFIG in
2893 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 for as_dir
in ${prefix}/bin
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2915 if test -n "$PTLIB_CONFIG"; then
2916 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2917 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2930 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2931 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
2932 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
2933 { (exit 1); exit 1; }; }
2936 if test "${PWLIBDIR:-unset}" = "unset" ; then
2937 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2938 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
2939 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
2940 { (exit 1); exit 1; }; }
2942 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2945 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2946 PWLIBDIR
="/usr/share/pwlib/"
2948 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2949 PWLIBDIR
="/usr/local/share/pwlib/"
2951 if test "x$PWLIBDIR" = "x${prefix}"; then
2952 PWLIBDIR
="${prefix}/share/pwlib/"
2956 echo "PWLib prefix set to.... $PWLIBDIR"
2958 if test "${PWLIBDIR:-unset}" = "unset" ; then
2959 PWVERSION
=`$PTLIB_CONFIG --version`
2960 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2961 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2962 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2965 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2966 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2967 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2968 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2971 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2972 if test "${enable_versioncheck+set}" = set; then
2973 enableval
="$enable_versioncheck"
2974 PWLIB_VERSION_CHECK
=$enableval
2977 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2978 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2979 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2980 echo "$as_me:$LINENO: result: check disabled" >&5
2981 echo "${ECHO_T}check disabled" >&6
2983 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2984 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2985 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
2986 { (exit 1); exit 1; }; }
2988 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2989 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2990 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
2991 { (exit 1); exit 1; }; }
2993 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2994 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2995 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
2996 { (exit 1); exit 1; }; }
2998 echo "$as_me:$LINENO: result: ok" >&5
2999 echo "${ECHO_T}ok" >&6
3005 if test x
$GXX = xyes
; then
3007 gcc_version
=`$CXX -dumpversion`
3008 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
3009 echo "$as_me: gcc version is $gcc_version" >&6;};
3010 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
3011 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
3012 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
3014 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
3015 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
3016 if test ${GXX_MAJOR} -lt 3 ; then
3017 echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6
3019 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
3020 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
3021 { (exit 1); exit 1; }; }
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3029 echo "$as_me:$LINENO: checking for working bit scan intrinsic" >&5
3030 echo $ECHO_N "checking for working bit scan intrinsic... $ECHO_C" >&6
3033 int main(int argc, char* argv) {
3035 unsigned int val = 0x00000FF0;
3036 if (__builtin_clz(val) == 20)
3042 if test "$cross_compiling" = yes; then
3045 cat >conftest.
$ac_ext <<_ACEOF
3048 cat confdefs.h
>>conftest.
$ac_ext
3049 cat >>conftest.
$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3053 rm -f conftest
$ac_exeext
3054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3055 (eval $ac_link) 2>&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3066 echo "$as_me: program exited with status $ac_status" >&5
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3073 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3075 if test "${GCC_HAS_CLZ}" = "1" ; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 cat >>confdefs.h
<<\_ACEOF
3079 #define GCC_HAS_CLZ 1
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3091 # Check whether --enable-localspeex or --disable-localspeex was given.
3092 if test "${enable_localspeex+set}" = set; then
3093 enableval
="$enable_localspeex"
3094 localspeex
=$enableval
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3102 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3103 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3104 # On Suns, sometimes $CPP names a directory.
3105 if test -n "$CPP" && test -d "$CPP"; then
3108 if test -z "$CPP"; then
3109 if test "${ac_cv_prog_CPP+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 # Double quotes because CPP needs to be expanded
3113 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3116 for ac_c_preproc_warn_flag
in '' yes
3118 # Use a header file that comes with gcc, so configuring glibc
3119 # with a fresh cross-compiler works.
3120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3121 # <limits.h> exists even on freestanding compilers.
3122 # On the NeXT, cc -E runs the code through the compiler's parser,
3123 # not just through cpp. "Syntax error" is here to catch this case.
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3131 # include <limits.h>
3133 # include <assert.h>
3137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1
>conftest.err
3142 cat conftest.err
>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } >/dev
/null
; then
3145 if test -s conftest.err
; then
3146 ac_cpp_err
=$ac_c_preproc_warn_flag
3147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3154 if test -z "$ac_cpp_err"; then
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.
$ac_ext >&5
3160 # Broken: fails on valid input.
3163 rm -f conftest.err conftest.
$ac_ext
3165 # OK, works on sane cases. Now check whether non-existent headers
3166 # can be detected and how.
3167 cat >conftest.
$ac_ext <<_ACEOF
3170 cat confdefs.h
>>conftest.
$ac_ext
3171 cat >>conftest.
$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3173 #include <ac_nonexistent.h>
3175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3178 grep -v '^ *+' conftest.er1
>conftest.err
3180 cat conftest.err
>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev
/null
; then
3183 if test -s conftest.err
; then
3184 ac_cpp_err
=$ac_c_preproc_warn_flag
3185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3192 if test -z "$ac_cpp_err"; then
3193 # Broken: success on invalid input.
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.
$ac_ext >&5
3199 # Passes both tests.
3203 rm -f conftest.err conftest.
$ac_ext
3206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3207 rm -f conftest.err conftest.
$ac_ext
3208 if $ac_preproc_ok; then
3220 echo "$as_me:$LINENO: result: $CPP" >&5
3221 echo "${ECHO_T}$CPP" >&6
3223 for ac_c_preproc_warn_flag
in '' yes
3225 # Use a header file that comes with gcc, so configuring glibc
3226 # with a fresh cross-compiler works.
3227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 # <limits.h> exists even on freestanding compilers.
3229 # On the NeXT, cc -E runs the code through the compiler's parser,
3230 # not just through cpp. "Syntax error" is here to catch this case.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3238 # include <limits.h>
3240 # include <assert.h>
3244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1
>conftest.err
3249 cat conftest.err
>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } >/dev
/null
; then
3252 if test -s conftest.err
; then
3253 ac_cpp_err
=$ac_c_preproc_warn_flag
3254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3261 if test -z "$ac_cpp_err"; then
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.
$ac_ext >&5
3267 # Broken: fails on valid input.
3270 rm -f conftest.err conftest.
$ac_ext
3272 # OK, works on sane cases. Now check whether non-existent headers
3273 # can be detected and how.
3274 cat >conftest.
$ac_ext <<_ACEOF
3277 cat confdefs.h
>>conftest.
$ac_ext
3278 cat >>conftest.
$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev
/null
; then
3290 if test -s conftest.err
; then
3291 ac_cpp_err
=$ac_c_preproc_warn_flag
3292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3299 if test -z "$ac_cpp_err"; then
3300 # Broken: success on invalid input.
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.
$ac_ext >&5
3306 # Passes both tests.
3310 rm -f conftest.err conftest.
$ac_ext
3313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3314 rm -f conftest.err conftest.
$ac_ext
3315 if $ac_preproc_ok; then
3318 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3326 ac_cpp
='$CPP $CPPFLAGS'
3327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3332 echo "$as_me:$LINENO: checking for egrep" >&5
3333 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3334 if test "${ac_cv_prog_egrep+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3338 then ac_cv_prog_egrep
='grep -E'
3339 else ac_cv_prog_egrep
='egrep'
3342 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3343 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3344 EGREP
=$ac_cv_prog_egrep
3347 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3348 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3349 if test "${ac_cv_header_stdc+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 cat >conftest.
$ac_ext <<_ACEOF
3355 cat confdefs.h
>>conftest.
$ac_ext
3356 cat >>conftest.
$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3371 rm -f conftest.
$ac_objext
3372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3373 (eval $ac_compile) 2>conftest.er1
3375 grep -v '^ *+' conftest.er1
>conftest.err
3377 cat conftest.err
>&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } &&
3380 { ac_try
='test -z "$ac_c_werror_flag"
3381 || test ! -s conftest.err'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; } &&
3387 { ac_try
='test -s conftest.$ac_objext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3393 ac_cv_header_stdc
=yes
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 ac_cv_header_stdc
=no
3400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3402 if test $ac_cv_header_stdc = yes; then
3403 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3404 cat >conftest.
$ac_ext <<_ACEOF
3407 cat confdefs.h
>>conftest.
$ac_ext
3408 cat >>conftest.
$ac_ext <<_ACEOF
3409 /* end confdefs.h. */
3413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3414 $EGREP "memchr" >/dev
/null
2>&1; then
3417 ac_cv_header_stdc
=no
3423 if test $ac_cv_header_stdc = yes; then
3424 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3425 cat >conftest.
$ac_ext <<_ACEOF
3428 cat confdefs.h
>>conftest.
$ac_ext
3429 cat >>conftest.
$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3435 $EGREP "free" >/dev
/null
2>&1; then
3438 ac_cv_header_stdc
=no
3444 if test $ac_cv_header_stdc = yes; then
3445 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3446 if test "$cross_compiling" = yes; then
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3456 #if ((' ' & 0x0FF) == 0x020)
3457 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3458 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3460 # define ISLOWER(c) \
3461 (('a' <= (c) && (c) <= 'i') \
3462 || ('j' <= (c) && (c) <= 'r') \
3463 || ('s' <= (c) && (c) <= 'z'))
3464 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3472 for (i = 0; i < 256; i++)
3473 if (XOR (islower (i), ISLOWER (i))
3474 || toupper (i) != TOUPPER (i))
3479 rm -f conftest
$ac_exeext
3480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3481 (eval $ac_link) 2>&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; }; then
3492 echo "$as_me: program exited with status $ac_status" >&5
3493 echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.
$ac_ext >&5
3497 ac_cv_header_stdc
=no
3499 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3503 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3504 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3505 if test $ac_cv_header_stdc = yes; then
3507 cat >>confdefs.h
<<\_ACEOF
3508 #define STDC_HEADERS 1
3513 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3523 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3524 inttypes.h stdint.h unistd.h
3526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3527 echo "$as_me:$LINENO: checking for $ac_header" >&5
3528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 $ac_includes_default
3540 #include <$ac_header>
3542 rm -f conftest.
$ac_objext
3543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3544 (eval $ac_compile) 2>conftest.er1
3546 grep -v '^ *+' conftest.er1
>conftest.err
3548 cat conftest.err
>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); } &&
3551 { ac_try
='test -z "$ac_c_werror_flag"
3552 || test ! -s conftest.err'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; } &&
3558 { ac_try
='test -s conftest.$ac_objext'
3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); }; }; then
3564 eval "$as_ac_Header=yes"
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.
$ac_ext >&5
3569 eval "$as_ac_Header=no"
3571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3576 cat >>confdefs.h
<<_ACEOF
3577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3585 echo "$as_me:$LINENO: checking for short" >&5
3586 echo $ECHO_N "checking for short... $ECHO_C" >&6
3587 if test "${ac_cv_type_short+set}" = set; then
3588 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 cat >conftest.
$ac_ext <<_ACEOF
3593 cat confdefs.h
>>conftest.
$ac_ext
3594 cat >>conftest.
$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3596 $ac_includes_default
3608 rm -f conftest.
$ac_objext
3609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3610 (eval $ac_compile) 2>conftest.er1
3612 grep -v '^ *+' conftest.er1
>conftest.err
3614 cat conftest.err
>&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); } &&
3617 { ac_try
='test -z "$ac_c_werror_flag"
3618 || test ! -s conftest.err'
3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); }; } &&
3624 { ac_try
='test -s conftest.$ac_objext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3630 ac_cv_type_short
=yes
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.
$ac_ext >&5
3637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3639 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3640 echo "${ECHO_T}$ac_cv_type_short" >&6
3642 echo "$as_me:$LINENO: checking size of short" >&5
3643 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3644 if test "${ac_cv_sizeof_short+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 if test "$ac_cv_type_short" = yes; then
3648 # The cast to unsigned long works around a bug in the HP C Compiler
3649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3651 # This bug is HP SR number 8606223364.
3652 if test "$cross_compiling" = yes; then
3653 # Depending upon the size, compute the lo and hi bounds.
3654 cat >conftest.
$ac_ext <<_ACEOF
3657 cat confdefs.h
>>conftest.
$ac_ext
3658 cat >>conftest.
$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 $ac_includes_default
3664 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3671 rm -f conftest.
$ac_objext
3672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3673 (eval $ac_compile) 2>conftest.er1
3675 grep -v '^ *+' conftest.er1
>conftest.err
3677 cat conftest.err
>&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); } &&
3680 { ac_try
='test -z "$ac_c_werror_flag"
3681 || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; } &&
3687 { ac_try
='test -s conftest.$ac_objext'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; }; then
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3701 $ac_includes_default
3705 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3712 rm -f conftest.
$ac_objext
3713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714 (eval $ac_compile) 2>conftest.er1
3716 grep -v '^ *+' conftest.er1
>conftest.err
3718 cat conftest.err
>&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } &&
3721 { ac_try
='test -z "$ac_c_werror_flag"
3722 || test ! -s conftest.err'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; } &&
3728 { ac_try
='test -s conftest.$ac_objext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3734 ac_hi
=$ac_mid; break
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.
$ac_ext >&5
3739 ac_lo
=`expr $ac_mid + 1`
3740 if test $ac_lo -le $ac_mid; then
3744 ac_mid
=`expr 2 '*' $ac_mid + 1`
3746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3752 cat >conftest.
$ac_ext <<_ACEOF
3755 cat confdefs.h
>>conftest.
$ac_ext
3756 cat >>conftest.
$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3758 $ac_includes_default
3762 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3769 rm -f conftest.
$ac_objext
3770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3771 (eval $ac_compile) 2>conftest.er1
3773 grep -v '^ *+' conftest.er1
>conftest.err
3775 cat conftest.err
>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } &&
3778 { ac_try
='test -z "$ac_c_werror_flag"
3779 || test ! -s conftest.err'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } &&
3785 { ac_try
='test -s conftest.$ac_objext'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; }; then
3793 cat >conftest.
$ac_ext <<_ACEOF
3796 cat confdefs.h
>>conftest.
$ac_ext
3797 cat >>conftest.
$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3799 $ac_includes_default
3803 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -z "$ac_c_werror_flag"
3820 || test ! -s conftest.err'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; } &&
3826 { ac_try
='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 ac_lo
=$ac_mid; break
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.
$ac_ext >&5
3837 ac_hi
=`expr '(' $ac_mid ')' - 1`
3838 if test $ac_mid -le $ac_hi; then
3842 ac_mid
=`expr 2 '*' $ac_mid`
3844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3855 # Binary search between lo and hi bounds.
3856 while test "x$ac_lo" != "x$ac_hi"; do
3857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3858 cat >conftest.
$ac_ext <<_ACEOF
3861 cat confdefs.h
>>conftest.
$ac_ext
3862 cat >>conftest.
$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3864 $ac_includes_default
3868 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3875 rm -f conftest.
$ac_objext
3876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3877 (eval $ac_compile) 2>conftest.er1
3879 grep -v '^ *+' conftest.er1
>conftest.err
3881 cat conftest.err
>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } &&
3884 { ac_try
='test -z "$ac_c_werror_flag"
3885 || test ! -s conftest.err'
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; } &&
3891 { ac_try
='test -s conftest.$ac_objext'
3892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then
3899 echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3902 ac_lo
=`expr '(' $ac_mid ')' + 1`
3904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3907 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3908 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3909 See \`config.log' for more details." >&5
3910 echo "$as_me: error: cannot compute sizeof (short), 77
3911 See \`config.log' for more details." >&2;}
3912 { (exit 1); exit 1; }; } ;;
3915 if test "$cross_compiling" = yes; then
3916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3917 See \`config.log' for more details." >&5
3918 echo "$as_me: error: cannot run test program while cross compiling
3919 See \`config.log' for more details." >&2;}
3920 { (exit 1); exit 1; }; }
3922 cat >conftest.
$ac_ext <<_ACEOF
3925 cat confdefs.h
>>conftest.
$ac_ext
3926 cat >>conftest.
$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3928 $ac_includes_default
3929 long longval () { return (long) (sizeof (short)); }
3930 unsigned long ulongval () { return (long) (sizeof (short)); }
3937 FILE *f = fopen ("conftest.val", "w");
3940 if (((long) (sizeof (short))) < 0)
3942 long i = longval ();
3943 if (i != ((long) (sizeof (short))))
3945 fprintf (f, "%ld\n", i);
3949 unsigned long i = ulongval ();
3950 if (i != ((long) (sizeof (short))))
3952 fprintf (f, "%lu\n", i);
3954 exit (ferror (f) || fclose (f) != 0);
3960 rm -f conftest
$ac_exeext
3961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3962 (eval $ac_link) 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; }; then
3971 ac_cv_sizeof_short
=`cat conftest.val`
3973 echo "$as_me: program exited with status $ac_status" >&5
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3979 See \`config.log' for more details." >&5
3980 echo "$as_me: error: cannot compute sizeof (short), 77
3981 See \`config.log' for more details." >&2;}
3982 { (exit 1); exit 1; }; }
3984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3989 ac_cv_sizeof_short
=0
3992 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3993 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3994 cat >>confdefs.h
<<_ACEOF
3995 #define SIZEOF_SHORT $ac_cv_sizeof_short
3999 echo "$as_me:$LINENO: checking for int" >&5
4000 echo $ECHO_N "checking for int... $ECHO_C" >&6
4001 if test "${ac_cv_type_int+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4010 $ac_includes_default
4022 rm -f conftest.
$ac_objext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>conftest.er1
4026 grep -v '^ *+' conftest.er1
>conftest.err
4028 cat conftest.err
>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try
='test -z "$ac_c_werror_flag"
4032 || test ! -s conftest.err'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try
='test -s conftest.$ac_objext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.
$ac_ext >&5
4051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4053 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4054 echo "${ECHO_T}$ac_cv_type_int" >&6
4056 echo "$as_me:$LINENO: checking size of int" >&5
4057 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4058 if test "${ac_cv_sizeof_int+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 if test "$ac_cv_type_int" = yes; then
4062 # The cast to unsigned long works around a bug in the HP C Compiler
4063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4065 # This bug is HP SR number 8606223364.
4066 if test "$cross_compiling" = yes; then
4067 # Depending upon the size, compute the lo and hi bounds.
4068 cat >conftest.
$ac_ext <<_ACEOF
4071 cat confdefs.h
>>conftest.
$ac_ext
4072 cat >>conftest.
$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4074 $ac_includes_default
4078 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4085 rm -f conftest.
$ac_objext
4086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4087 (eval $ac_compile) 2>conftest.er1
4089 grep -v '^ *+' conftest.er1
>conftest.err
4091 cat conftest.err
>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } &&
4094 { ac_try
='test -z "$ac_c_werror_flag"
4095 || test ! -s conftest.err'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; } &&
4101 { ac_try
='test -s conftest.$ac_objext'
4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4109 cat >conftest.
$ac_ext <<_ACEOF
4112 cat confdefs.h
>>conftest.
$ac_ext
4113 cat >>conftest.
$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4115 $ac_includes_default
4119 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4126 rm -f conftest.
$ac_objext
4127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4128 (eval $ac_compile) 2>conftest.er1
4130 grep -v '^ *+' conftest.er1
>conftest.err
4132 cat conftest.err
>&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } &&
4135 { ac_try
='test -z "$ac_c_werror_flag"
4136 || test ! -s conftest.err'
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; } &&
4142 { ac_try
='test -s conftest.$ac_objext'
4143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); }; }; then
4148 ac_hi
=$ac_mid; break
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.
$ac_ext >&5
4153 ac_lo
=`expr $ac_mid + 1`
4154 if test $ac_lo -le $ac_mid; then
4158 ac_mid
=`expr 2 '*' $ac_mid + 1`
4160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.
$ac_ext >&5
4166 cat >conftest.
$ac_ext <<_ACEOF
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 $ac_includes_default
4176 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4183 rm -f conftest.
$ac_objext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4185 (eval $ac_compile) 2>conftest.er1
4187 grep -v '^ *+' conftest.er1
>conftest.err
4189 cat conftest.err
>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } &&
4192 { ac_try
='test -z "$ac_c_werror_flag"
4193 || test ! -s conftest.err'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; } &&
4199 { ac_try
='test -s conftest.$ac_objext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4213 $ac_includes_default
4217 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4224 rm -f conftest.
$ac_objext
4225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4226 (eval $ac_compile) 2>conftest.er1
4228 grep -v '^ *+' conftest.er1
>conftest.err
4230 cat conftest.err
>&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); } &&
4233 { ac_try
='test -z "$ac_c_werror_flag"
4234 || test ! -s conftest.err'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; } &&
4240 { ac_try
='test -s conftest.$ac_objext'
4241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); }; }; then
4246 ac_lo
=$ac_mid; break
4248 echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.
$ac_ext >&5
4251 ac_hi
=`expr '(' $ac_mid ')' - 1`
4252 if test $ac_mid -le $ac_hi; then
4256 ac_mid
=`expr 2 '*' $ac_mid`
4258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.
$ac_ext >&5
4266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4269 # Binary search between lo and hi bounds.
4270 while test "x$ac_lo" != "x$ac_hi"; do
4271 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4272 cat >conftest.
$ac_ext <<_ACEOF
4275 cat confdefs.h
>>conftest.
$ac_ext
4276 cat >>conftest.
$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 $ac_includes_default
4282 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4289 rm -f conftest.
$ac_objext
4290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4291 (eval $ac_compile) 2>conftest.er1
4293 grep -v '^ *+' conftest.er1
>conftest.err
4295 cat conftest.err
>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } &&
4298 { ac_try
='test -z "$ac_c_werror_flag"
4299 || test ! -s conftest.err'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; } &&
4305 { ac_try
='test -s conftest.$ac_objext'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.
$ac_ext >&5
4316 ac_lo
=`expr '(' $ac_mid ')' + 1`
4318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4321 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4322 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4323 See \`config.log' for more details." >&5
4324 echo "$as_me: error: cannot compute sizeof (int), 77
4325 See \`config.log' for more details." >&2;}
4326 { (exit 1); exit 1; }; } ;;
4329 if test "$cross_compiling" = yes; then
4330 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4331 See \`config.log' for more details." >&5
4332 echo "$as_me: error: cannot run test program while cross compiling
4333 See \`config.log' for more details." >&2;}
4334 { (exit 1); exit 1; }; }
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 $ac_includes_default
4343 long longval () { return (long) (sizeof (int)); }
4344 unsigned long ulongval () { return (long) (sizeof (int)); }
4351 FILE *f = fopen ("conftest.val", "w");
4354 if (((long) (sizeof (int))) < 0)
4356 long i = longval ();
4357 if (i != ((long) (sizeof (int))))
4359 fprintf (f, "%ld\n", i);
4363 unsigned long i = ulongval ();
4364 if (i != ((long) (sizeof (int))))
4366 fprintf (f, "%lu\n", i);
4368 exit (ferror (f) || fclose (f) != 0);
4374 rm -f conftest
$ac_exeext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4376 (eval $ac_link) 2>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 ac_cv_sizeof_int
=`cat conftest.val`
4387 echo "$as_me: program exited with status $ac_status" >&5
4388 echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.
$ac_ext >&5
4392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4393 See \`config.log' for more details." >&5
4394 echo "$as_me: error: cannot compute sizeof (int), 77
4395 See \`config.log' for more details." >&2;}
4396 { (exit 1); exit 1; }; }
4398 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4407 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4408 cat >>confdefs.h
<<_ACEOF
4409 #define SIZEOF_INT $ac_cv_sizeof_int
4413 echo "$as_me:$LINENO: checking for long" >&5
4414 echo $ECHO_N "checking for long... $ECHO_C" >&6
4415 if test "${ac_cv_type_long+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 cat >conftest.
$ac_ext <<_ACEOF
4421 cat confdefs.h
>>conftest.
$ac_ext
4422 cat >>conftest.
$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4424 $ac_includes_default
4436 rm -f conftest.
$ac_objext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>conftest.er1
4440 grep -v '^ *+' conftest.er1
>conftest.err
4442 cat conftest.err
>&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } &&
4445 { ac_try
='test -z "$ac_c_werror_flag"
4446 || test ! -s conftest.err'
4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; } &&
4452 { ac_try
='test -s conftest.$ac_objext'
4453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); }; }; then
4460 echo "$as_me: failed program was:" >&5
4461 sed 's/^/| /' conftest.
$ac_ext >&5
4465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4467 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4468 echo "${ECHO_T}$ac_cv_type_long" >&6
4470 echo "$as_me:$LINENO: checking size of long" >&5
4471 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4472 if test "${ac_cv_sizeof_long+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 if test "$ac_cv_type_long" = yes; then
4476 # The cast to unsigned long works around a bug in the HP C Compiler
4477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4479 # This bug is HP SR number 8606223364.
4480 if test "$cross_compiling" = yes; then
4481 # Depending upon the size, compute the lo and hi bounds.
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 $ac_includes_default
4492 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4499 rm -f conftest.
$ac_objext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501 (eval $ac_compile) 2>conftest.er1
4503 grep -v '^ *+' conftest.er1
>conftest.err
4505 cat conftest.err
>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try
='test -z "$ac_c_werror_flag"
4509 || test ! -s conftest.err'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; } &&
4515 { ac_try
='test -s conftest.$ac_objext'
4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; }; then
4523 cat >conftest.
$ac_ext <<_ACEOF
4526 cat confdefs.h
>>conftest.
$ac_ext
4527 cat >>conftest.
$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4529 $ac_includes_default
4533 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4540 rm -f conftest.
$ac_objext
4541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4542 (eval $ac_compile) 2>conftest.er1
4544 grep -v '^ *+' conftest.er1
>conftest.err
4546 cat conftest.err
>&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); } &&
4549 { ac_try
='test -z "$ac_c_werror_flag"
4550 || test ! -s conftest.err'
4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; } &&
4556 { ac_try
='test -s conftest.$ac_objext'
4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }; }; then
4562 ac_hi
=$ac_mid; break
4564 echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.
$ac_ext >&5
4567 ac_lo
=`expr $ac_mid + 1`
4568 if test $ac_lo -le $ac_mid; then
4572 ac_mid
=`expr 2 '*' $ac_mid + 1`
4574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.
$ac_ext >&5
4580 cat >conftest.
$ac_ext <<_ACEOF
4583 cat confdefs.h
>>conftest.
$ac_ext
4584 cat >>conftest.
$ac_ext <<_ACEOF
4585 /* end confdefs.h. */
4586 $ac_includes_default
4590 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4597 rm -f conftest.
$ac_objext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4599 (eval $ac_compile) 2>conftest.er1
4601 grep -v '^ *+' conftest.er1
>conftest.err
4603 cat conftest.err
>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try
='test -z "$ac_c_werror_flag"
4607 || test ! -s conftest.err'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; } &&
4613 { ac_try
='test -s conftest.$ac_objext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4621 cat >conftest.
$ac_ext <<_ACEOF
4624 cat confdefs.h
>>conftest.
$ac_ext
4625 cat >>conftest.
$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 $ac_includes_default
4631 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4638 rm -f conftest.
$ac_objext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4640 (eval $ac_compile) 2>conftest.er1
4642 grep -v '^ *+' conftest.er1
>conftest.err
4644 cat conftest.err
>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try
='test -z "$ac_c_werror_flag"
4648 || test ! -s conftest.err'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try
='test -s conftest.$ac_objext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 ac_lo
=$ac_mid; break
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.
$ac_ext >&5
4665 ac_hi
=`expr '(' $ac_mid ')' - 1`
4666 if test $ac_mid -le $ac_hi; then
4670 ac_mid
=`expr 2 '*' $ac_mid`
4672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 # Binary search between lo and hi bounds.
4684 while test "x$ac_lo" != "x$ac_hi"; do
4685 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4686 cat >conftest.
$ac_ext <<_ACEOF
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 $ac_includes_default
4696 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4703 rm -f conftest.
$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1
>conftest.err
4709 cat conftest.err
>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try
='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4730 ac_lo
=`expr '(' $ac_mid ')' + 1`
4732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4735 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4736 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4737 See \`config.log' for more details." >&5
4738 echo "$as_me: error: cannot compute sizeof (long), 77
4739 See \`config.log' for more details." >&2;}
4740 { (exit 1); exit 1; }; } ;;
4743 if test "$cross_compiling" = yes; then
4744 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4745 See \`config.log' for more details." >&5
4746 echo "$as_me: error: cannot run test program while cross compiling
4747 See \`config.log' for more details." >&2;}
4748 { (exit 1); exit 1; }; }
4750 cat >conftest.
$ac_ext <<_ACEOF
4753 cat confdefs.h
>>conftest.
$ac_ext
4754 cat >>conftest.
$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4756 $ac_includes_default
4757 long longval () { return (long) (sizeof (long)); }
4758 unsigned long ulongval () { return (long) (sizeof (long)); }
4765 FILE *f = fopen ("conftest.val", "w");
4768 if (((long) (sizeof (long))) < 0)
4770 long i = longval ();
4771 if (i != ((long) (sizeof (long))))
4773 fprintf (f, "%ld\n", i);
4777 unsigned long i = ulongval ();
4778 if (i != ((long) (sizeof (long))))
4780 fprintf (f, "%lu\n", i);
4782 exit (ferror (f) || fclose (f) != 0);
4788 rm -f conftest
$ac_exeext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4790 (eval $ac_link) 2>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; }; then
4799 ac_cv_sizeof_long
=`cat conftest.val`
4801 echo "$as_me: program exited with status $ac_status" >&5
4802 echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.
$ac_ext >&5
4806 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4807 See \`config.log' for more details." >&5
4808 echo "$as_me: error: cannot compute sizeof (long), 77
4809 See \`config.log' for more details." >&2;}
4810 { (exit 1); exit 1; }; }
4812 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4820 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4821 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4822 cat >>confdefs.h
<<_ACEOF
4823 #define SIZEOF_LONG $ac_cv_sizeof_long
4827 echo "$as_me:$LINENO: checking for long long" >&5
4828 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4829 if test "${ac_cv_type_long_long+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 cat >conftest.
$ac_ext <<_ACEOF
4835 cat confdefs.h
>>conftest.
$ac_ext
4836 cat >>conftest.
$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 $ac_includes_default
4842 if ((long long *) 0)
4844 if (sizeof (long long))
4850 rm -f conftest.
$ac_objext
4851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4852 (eval $ac_compile) 2>conftest.er1
4854 grep -v '^ *+' conftest.er1
>conftest.err
4856 cat conftest.err
>&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); } &&
4859 { ac_try
='test -z "$ac_c_werror_flag"
4860 || test ! -s conftest.err'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; } &&
4866 { ac_try
='test -s conftest.$ac_objext'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; }; then
4872 ac_cv_type_long_long
=yes
4874 echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.
$ac_ext >&5
4877 ac_cv_type_long_long
=no
4879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4881 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4882 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4884 echo "$as_me:$LINENO: checking size of long long" >&5
4885 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4886 if test "${ac_cv_sizeof_long_long+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 if test "$ac_cv_type_long_long" = yes; then
4890 # The cast to unsigned long works around a bug in the HP C Compiler
4891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4893 # This bug is HP SR number 8606223364.
4894 if test "$cross_compiling" = yes; then
4895 # Depending upon the size, compute the lo and hi bounds.
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 cat confdefs.h
>>conftest.
$ac_ext
4900 cat >>conftest.
$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4902 $ac_includes_default
4906 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4913 rm -f conftest.
$ac_objext
4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4915 (eval $ac_compile) 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try
='test -z "$ac_c_werror_flag"
4923 || test ! -s conftest.err'
4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }; } &&
4929 { ac_try
='test -s conftest.$ac_objext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 $ac_includes_default
4947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4954 rm -f conftest.
$ac_objext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956 (eval $ac_compile) 2>conftest.er1
4958 grep -v '^ *+' conftest.er1
>conftest.err
4960 cat conftest.err
>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } &&
4963 { ac_try
='test -z "$ac_c_werror_flag"
4964 || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest.$ac_objext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_hi
=$ac_mid; break
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.
$ac_ext >&5
4981 ac_lo
=`expr $ac_mid + 1`
4982 if test $ac_lo -le $ac_mid; then
4986 ac_mid
=`expr 2 '*' $ac_mid + 1`
4988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.
$ac_ext >&5
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 $ac_includes_default
5004 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
5011 rm -f conftest.
$ac_objext
5012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5013 (eval $ac_compile) 2>conftest.er1
5015 grep -v '^ *+' conftest.er1
>conftest.err
5017 cat conftest.err
>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } &&
5020 { ac_try
='test -z "$ac_c_werror_flag"
5021 || test ! -s conftest.err'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; } &&
5027 { ac_try
='test -s conftest.$ac_objext'
5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); }; }; then
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 $ac_includes_default
5045 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
5052 rm -f conftest.
$ac_objext
5053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5054 (eval $ac_compile) 2>conftest.er1
5056 grep -v '^ *+' conftest.er1
>conftest.err
5058 cat conftest.err
>&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } &&
5061 { ac_try
='test -z "$ac_c_werror_flag"
5062 || test ! -s conftest.err'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; } &&
5068 { ac_try
='test -s conftest.$ac_objext'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; }; then
5074 ac_lo
=$ac_mid; break
5076 echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.
$ac_ext >&5
5079 ac_hi
=`expr '(' $ac_mid ')' - 1`
5080 if test $ac_mid -le $ac_hi; then
5084 ac_mid
=`expr 2 '*' $ac_mid`
5086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5097 # Binary search between lo and hi bounds.
5098 while test "x$ac_lo" != "x$ac_hi"; do
5099 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5100 cat >conftest.
$ac_ext <<_ACEOF
5103 cat confdefs.h
>>conftest.
$ac_ext
5104 cat >>conftest.
$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5106 $ac_includes_default
5110 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5117 rm -f conftest.
$ac_objext
5118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5119 (eval $ac_compile) 2>conftest.er1
5121 grep -v '^ *+' conftest.er1
>conftest.err
5123 cat conftest.err
>&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } &&
5126 { ac_try
='test -z "$ac_c_werror_flag"
5127 || test ! -s conftest.err'
5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }; } &&
5133 { ac_try
='test -s conftest.$ac_objext'
5134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); }; }; then
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.
$ac_ext >&5
5144 ac_lo
=`expr '(' $ac_mid ')' + 1`
5146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5149 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5150 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5151 See \`config.log' for more details." >&5
5152 echo "$as_me: error: cannot compute sizeof (long long), 77
5153 See \`config.log' for more details." >&2;}
5154 { (exit 1); exit 1; }; } ;;
5157 if test "$cross_compiling" = yes; then
5158 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5159 See \`config.log' for more details." >&5
5160 echo "$as_me: error: cannot run test program while cross compiling
5161 See \`config.log' for more details." >&2;}
5162 { (exit 1); exit 1; }; }
5164 cat >conftest.
$ac_ext <<_ACEOF
5167 cat confdefs.h
>>conftest.
$ac_ext
5168 cat >>conftest.
$ac_ext <<_ACEOF
5169 /* end confdefs.h. */
5170 $ac_includes_default
5171 long longval () { return (long) (sizeof (long long)); }
5172 unsigned long ulongval () { return (long) (sizeof (long long)); }
5179 FILE *f = fopen ("conftest.val", "w");
5182 if (((long) (sizeof (long long))) < 0)
5184 long i = longval ();
5185 if (i != ((long) (sizeof (long long))))
5187 fprintf (f, "%ld\n", i);
5191 unsigned long i = ulongval ();
5192 if (i != ((long) (sizeof (long long))))
5194 fprintf (f, "%lu\n", i);
5196 exit (ferror (f) || fclose (f) != 0);
5202 rm -f conftest
$ac_exeext
5203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5204 (eval $ac_link) 2>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; }; then
5213 ac_cv_sizeof_long_long
=`cat conftest.val`
5215 echo "$as_me: program exited with status $ac_status" >&5
5216 echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.
$ac_ext >&5
5220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5221 See \`config.log' for more details." >&5
5222 echo "$as_me: error: cannot compute sizeof (long long), 77
5223 See \`config.log' for more details." >&2;}
5224 { (exit 1); exit 1; }; }
5226 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5231 ac_cv_sizeof_long_long
=0
5234 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5235 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5236 cat >>confdefs.h
<<_ACEOF
5237 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5243 $ac_cv_sizeof_short) SIZE16
="short";;
5244 $ac_cv_sizeof_int) SIZE16
="int";;
5248 $ac_cv_sizeof_int) SIZE32
="int";;
5249 $ac_cv_sizeof_long) SIZE32
="long";;
5250 $ac_cv_sizeof_short) SIZE32
="short";;
5257 OPAL_HAVE_SPEEX_SPEEX_H
=
5259 for ac_header
in "speex.h"
5261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5263 echo "$as_me:$LINENO: checking for $ac_header" >&5
5264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5271 # Is the header compilable?
5272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5274 cat >conftest.
$ac_ext <<_ACEOF
5277 cat confdefs.h
>>conftest.
$ac_ext
5278 cat >>conftest.
$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 $ac_includes_default
5281 #include <$ac_header>
5283 rm -f conftest.
$ac_objext
5284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5285 (eval $ac_compile) 2>conftest.er1
5287 grep -v '^ *+' conftest.er1
>conftest.err
5289 cat conftest.err
>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } &&
5292 { ac_try
='test -z "$ac_c_werror_flag"
5293 || test ! -s conftest.err'
5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; } &&
5299 { ac_try
='test -s conftest.$ac_objext'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; }; then
5305 ac_header_compiler
=yes
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.
$ac_ext >&5
5310 ac_header_compiler
=no
5312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5314 echo "${ECHO_T}$ac_header_compiler" >&6
5316 # Is the header present?
5317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5319 cat >conftest.
$ac_ext <<_ACEOF
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5325 #include <$ac_header>
5327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5330 grep -v '^ *+' conftest.er1
>conftest.err
5332 cat conftest.err
>&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } >/dev
/null
; then
5335 if test -s conftest.err
; then
5336 ac_cpp_err
=$ac_c_preproc_warn_flag
5337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5344 if test -z "$ac_cpp_err"; then
5345 ac_header_preproc
=yes
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.
$ac_ext >&5
5350 ac_header_preproc
=no
5352 rm -f conftest.err conftest.
$ac_ext
5353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5354 echo "${ECHO_T}$ac_header_preproc" >&6
5356 # So? What about this header?
5357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5363 ac_header_preproc
=yes
5366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5380 ## ------------------------------------------ ##
5381 ## Report this to the AC_PACKAGE_NAME lists. ##
5382 ## ------------------------------------------ ##
5385 sed "s/^/$as_me: WARNING: /" >&2
5388 echo "$as_me:$LINENO: checking for $ac_header" >&5
5389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 eval "$as_ac_Header=\$ac_header_preproc"
5395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5400 cat >>confdefs.h
<<_ACEOF
5401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5408 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5409 cat >>confdefs.h
<<\_ACEOF
5410 #define OPAL_HAVE_SPEEX_H 1
5415 for ac_header
in "speex/speex.h"
5417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5419 echo "$as_me:$LINENO: checking for $ac_header" >&5
5420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5427 # Is the header compilable?
5428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5436 $ac_includes_default
5437 #include <$ac_header>
5439 rm -f conftest.
$ac_objext
5440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5441 (eval $ac_compile) 2>conftest.er1
5443 grep -v '^ *+' conftest.er1
>conftest.err
5445 cat conftest.err
>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } &&
5448 { ac_try
='test -z "$ac_c_werror_flag"
5449 || test ! -s conftest.err'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; } &&
5455 { ac_try
='test -s conftest.$ac_objext'
5456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }; }; then
5461 ac_header_compiler
=yes
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.
$ac_ext >&5
5466 ac_header_compiler
=no
5468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5470 echo "${ECHO_T}$ac_header_compiler" >&6
5472 # Is the header present?
5473 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5481 #include <$ac_header>
5483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5486 grep -v '^ *+' conftest.er1
>conftest.err
5488 cat conftest.err
>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } >/dev
/null
; then
5491 if test -s conftest.err
; then
5492 ac_cpp_err
=$ac_c_preproc_warn_flag
5493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5500 if test -z "$ac_cpp_err"; then
5501 ac_header_preproc
=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.
$ac_ext >&5
5506 ac_header_preproc
=no
5508 rm -f conftest.err conftest.
$ac_ext
5509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5510 echo "${ECHO_T}$ac_header_preproc" >&6
5512 # So? What about this header?
5513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5519 ac_header_preproc
=yes
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5536 ## ------------------------------------------ ##
5537 ## Report this to the AC_PACKAGE_NAME lists. ##
5538 ## ------------------------------------------ ##
5541 sed "s/^/$as_me: WARNING: /" >&2
5544 echo "$as_me:$LINENO: checking for $ac_header" >&5
5545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 eval "$as_ac_Header=\$ac_header_preproc"
5551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5556 cat >>confdefs.h
<<_ACEOF
5557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5559 OPAL_HAVE_SPEEX_SPEEX_H
=1
5564 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5565 cat >>confdefs.h
<<\_ACEOF
5566 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5572 if test "${localspeex}" = "yes" ; then
5573 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5574 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5575 elif test "${localspeex}" = "no" ; then
5576 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5577 echo "$as_me: Forcing use of system Speex library" >&6;}
5578 cat >>confdefs.h
<<\_ACEOF
5579 #define OPAL_SYSTEM_SPEEX 1
5585 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5586 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5587 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 ac_check_lib_save_LIBS
=$LIBS
5591 LIBS
="-lspeex $LIBS"
5592 cat >conftest.
$ac_ext <<_ACEOF
5595 cat confdefs.h
>>conftest.
$ac_ext
5596 cat >>conftest.
$ac_ext <<_ACEOF
5597 /* end confdefs.h. */
5599 /* Override any gcc2 internal prototype to avoid an error. */
5603 /* We use char because int might match the return type of a gcc2
5604 builtin and then its argument prototype would still apply. */
5605 char speex_encoder_destroy ();
5609 speex_encoder_destroy ();
5614 rm -f conftest.
$ac_objext conftest
$ac_exeext
5615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5616 (eval $ac_link) 2>conftest.er1
5618 grep -v '^ *+' conftest.er1
>conftest.err
5620 cat conftest.err
>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } &&
5623 { ac_try
='test -z "$ac_c_werror_flag"
5624 || test ! -s conftest.err'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; } &&
5630 { ac_try
='test -s conftest$ac_exeext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 ac_cv_lib_speex_speex_encoder_destroy
=yes
5638 echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.
$ac_ext >&5
5641 ac_cv_lib_speex_speex_encoder_destroy
=no
5643 rm -f conftest.err conftest.
$ac_objext \
5644 conftest
$ac_exeext conftest.
$ac_ext
5645 LIBS
=$ac_check_lib_save_LIBS
5647 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5648 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5649 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5653 if test "${SPEEX}x" != "x" ; then
5654 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5655 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5656 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 ac_check_lib_save_LIBS
=$LIBS
5660 LIBS
="-lspeex $LIBS"
5661 cat >conftest.
$ac_ext <<_ACEOF
5664 cat confdefs.h
>>conftest.
$ac_ext
5665 cat >>conftest.
$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5668 /* Override any gcc2 internal prototype to avoid an error. */
5672 /* We use char because int might match the return type of a gcc2
5673 builtin and then its argument prototype would still apply. */
5674 char speex_encode_int ();
5678 speex_encode_int ();
5683 rm -f conftest.
$ac_objext conftest
$ac_exeext
5684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5685 (eval $ac_link) 2>conftest.er1
5687 grep -v '^ *+' conftest.er1
>conftest.err
5689 cat conftest.err
>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } &&
5692 { ac_try
='test -z "$ac_c_werror_flag"
5693 || test ! -s conftest.err'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; } &&
5699 { ac_try
='test -s conftest$ac_exeext'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; }; then
5705 ac_cv_lib_speex_speex_encode_int
=yes
5707 echo "$as_me: failed program was:" >&5
5708 sed 's/^/| /' conftest.
$ac_ext >&5
5710 ac_cv_lib_speex_speex_encode_int
=no
5712 rm -f conftest.err conftest.
$ac_objext \
5713 conftest
$ac_exeext conftest.
$ac_ext
5714 LIBS
=$ac_check_lib_save_LIBS
5716 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5717 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5718 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5725 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5726 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5727 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5729 echo "$as_me:$LINENO: checking system Speex version" >&5
5730 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5731 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5732 echo "#include <speex.h>" > t.c
5733 echo "#include <speex_header.h>" >> t.c
5735 echo "#include <speex/speex.h>" > t.c
5736 echo "#include <speex/speex_header.h>" >> t.c
5740 int main(int argc,char *argv)
5743 speex_init_header(&header, 1, 1, &speex_nb_mode);
5744 printf("%s\n", header.speex_version);
5747 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5748 if test \
! -x t
; then
5749 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5750 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5753 echo "$as_me:$LINENO: result: $SYSVER" >&5
5754 echo "${ECHO_T}$SYSVER" >&6
5755 echo "$as_me:$LINENO: checking library Speex version" >&5
5756 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5757 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5758 echo "$as_me:$LINENO: result: $LIBVER" >&5
5759 echo "${ECHO_T}$LIBVER" >&6
5760 echo "$as_me:$LINENO: checking Speex versions" >&5
5761 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5764 \$sysver = @ARGV[0];
5765 \$libver = @ARGV[1];
5766 @lib = split /\./, \$libver;
5770 @sys = split /\./, \$sysver;
5776 if (@sys[\$i] < @lib[\$i]) {
5785 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5787 if test "x$SPEEX" = "x0" ; then
5788 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5789 echo "${ECHO_T}OPAL version is more recent" >&6
5791 echo "$as_me:$LINENO: result: system version is more recent" >&5
5792 echo "${ECHO_T}system version is more recent" >&6
5793 cat >>confdefs.h
<<\_ACEOF
5794 #define OPAL_SYSTEM_SPEEX 1
5799 echo "$as_me:$LINENO: checking Speex noise type" >&5
5800 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5801 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5802 echo "#include <speex.h>" > t.c
5803 echo "#include <speex_preprocess.h>" >> t.c
5805 echo "#include <speex/speex.h>" > t.c
5806 echo "#include <speex/speex_preprocess.h>" >> t.c
5810 int main(int argc,char *argv)
5812 struct SpeexPreprocessState *st;
5815 speex_preprocess(st, x, echo);
5819 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5820 if test \
! -x t
; then
5821 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5822 echo "${ECHO_T}spx_int32_t" >&6
5824 echo "$as_me:$LINENO: result: float" >&5
5825 echo "${ECHO_T}float" >&6
5826 cat >>confdefs.h
<<\_ACEOF
5827 #define OPAL_SPEEX_FLOAT_NOISE 1
5841 # Check whether --enable-audio or --disable-audio was given.
5842 if test "${enable_audio+set}" = set; then
5843 enableval
="$enable_audio"
5846 echo "$as_me:$LINENO: checking audio codec support" >&5
5847 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6
5848 if test "$audio" = "yes" ; then
5851 cat >>confdefs.h
<<\_ACEOF
5852 #define OPAL_AUDIO 1
5855 echo "$as_me:$LINENO: result: enabled" >&5
5856 echo "${ECHO_T}enabled" >&6
5858 echo "$as_me:$LINENO: result: disabled" >&5
5859 echo "${ECHO_T}disabled" >&6
5865 # Check whether --enable-video or --disable-video was given.
5866 if test "${enable_video+set}" = set; then
5867 enableval
="$enable_video"
5870 echo "$as_me:$LINENO: checking video device support" >&5
5871 echo $ECHO_N "checking video device support... $ECHO_C" >&6
5872 if test "$video" = "yes" ; then
5875 cat >>confdefs.h
<<\_ACEOF
5876 #define OPAL_VIDEO 1
5879 echo "$as_me:$LINENO: result: enabled" >&5
5880 echo "${ECHO_T}enabled" >&6
5882 echo "$as_me:$LINENO: result: disabled" >&5
5883 echo "${ECHO_T}disabled" >&6
5888 # Check whether --enable-sip or --disable-sip was given.
5889 if test "${enable_sip+set}" = set; then
5890 enableval
="$enable_sip"
5893 echo "$as_me:$LINENO: checking SIP protocol" >&5
5894 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5895 if test "$sip" = "yes" ; then
5898 cat >>confdefs.h
<<\_ACEOF
5902 echo "$as_me:$LINENO: result: enabled" >&5
5903 echo "${ECHO_T}enabled" >&6
5905 echo "$as_me:$LINENO: result: disabled" >&5
5906 echo "${ECHO_T}disabled" >&6
5911 # Check whether --enable-h323 or --disable-h323 was given.
5912 if test "${enable_h323+set}" = set; then
5913 enableval
="$enable_h323"
5916 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5917 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5918 if test "$h323" = "yes" ; then
5921 cat >>confdefs.h
<<\_ACEOF
5925 echo "$as_me:$LINENO: result: enabled" >&5
5926 echo "${ECHO_T}enabled" >&6
5930 echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
5931 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6
5935 OPAL_H323
=$OPAL_H323
5940 # Check whether --enable-iax or --disable-iax was given.
5941 if test "${enable_iax+set}" = set; then
5942 enableval
="$enable_iax"
5945 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5946 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5947 if test "$iax" = "yes" ; then
5950 cat >>confdefs.h
<<\_ACEOF
5954 echo "$as_me:$LINENO: result: enabled" >&5
5955 echo "${ECHO_T}enabled" >&6
5957 echo "$as_me:$LINENO: result: disabled" >&5
5958 echo "${ECHO_T}disabled" >&6
5963 # Check whether --enable-h224 or --disable-h224 was given.
5964 if test "${enable_h224+set}" = set; then
5965 enableval
="$enable_h224"
5968 echo "$as_me:$LINENO: checking H224 protocol" >&5
5969 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5970 if test "$h224" = "yes" ; then
5973 cat >>confdefs.h
<<\_ACEOF
5977 echo "$as_me:$LINENO: result: enabled" >&5
5978 echo "${ECHO_T}enabled" >&6
5980 echo "$as_me:$LINENO: result: disabled" >&5
5981 echo "${ECHO_T}disabled" >&6
5986 if test "$t38" = "yes" ; then
5987 # Check whether --enable-t38 or --disable-t38 was given.
5988 if test "${enable_t38+set}" = set; then
5989 enableval
="$enable_t38"
5992 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5993 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5994 if test "$t38" = "yes" ; then
5997 cat >>confdefs.h
<<\_ACEOF
5998 #define OPAL_T38FAX 1
6001 echo "$as_me:$LINENO: result: enabled" >&5
6002 echo "${ECHO_T}enabled" >&6
6004 echo "$as_me:$LINENO: result: disabled" >&5
6005 echo "${ECHO_T}disabled" >&6
6013 if test "$h450" = "yes" ; then
6014 # Check whether --enable-h450 or --disable-h450 was given.
6015 if test "${enable_h450+set}" = set; then
6016 enableval
="$enable_h450"
6019 echo "$as_me:$LINENO: checking H.450 support" >&5
6020 echo $ECHO_N "checking H.450 support... $ECHO_C" >&6
6021 if test "$h450" = "yes" ; then
6024 cat >>confdefs.h
<<\_ACEOF
6028 echo "$as_me:$LINENO: result: enabled" >&5
6029 echo "${ECHO_T}enabled" >&6
6031 echo "$as_me:$LINENO: result: disabled" >&5
6032 echo "${ECHO_T}disabled" >&6
6040 if test "$h460" = "yes" ; then
6041 # Check whether --enable-h460 or --disable-h460 was given.
6042 if test "${enable_h460+set}" = set; then
6043 enableval
="$enable_h460"
6046 echo "$as_me:$LINENO: checking H.460 support" >&5
6047 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6
6048 if test "$h460" = "yes" ; then
6051 cat >>confdefs.h
<<\_ACEOF
6055 echo "$as_me:$LINENO: result: enabled" >&5
6056 echo "${ECHO_T}enabled" >&6
6058 echo "$as_me:$LINENO: result: disabled" >&5
6059 echo "${ECHO_T}disabled" >&6
6068 if test "$lid" = "yes" ; then
6069 # Check whether --enable-lid or --disable-lid was given.
6070 if test "${enable_lid+set}" = set; then
6071 enableval
="$enable_lid"
6074 echo "$as_me:$LINENO: checking LID support" >&5
6075 echo $ECHO_N "checking LID support... $ECHO_C" >&6
6076 if test "$lid" = "yes" ; then
6077 cat >>confdefs.h
<<\_ACEOF
6082 echo "$as_me:$LINENO: result: enabled" >&5
6083 echo "${ECHO_T}enabled" >&6
6085 echo "$as_me:$LINENO: result: disabled" >&5
6086 echo "${ECHO_T}disabled" >&6
6095 if test "$ivr" = "yes" ; then
6096 # Check whether --enable-ivr or --disable-ivr was given.
6097 if test "${enable_ivr+set}" = set; then
6098 enableval
="$enable_ivr"
6101 echo "$as_me:$LINENO: checking IVR support" >&5
6102 echo $ECHO_N "checking IVR support... $ECHO_C" >&6
6103 if test "$ivr" = "yes" ; then
6104 cat >>confdefs.h
<<\_ACEOF
6109 echo "$as_me:$LINENO: result: enabled" >&5
6110 echo "${ECHO_T}enabled" >&6
6112 echo "$as_me:$LINENO: result: disabled" >&5
6113 echo "${ECHO_T}disabled" >&6
6131 echo "$as_me:$LINENO: checking for libSRTP" >&5
6132 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6
6133 cat >conftest.
$ac_ext <<_ACEOF
6136 cat confdefs.h
>>conftest.
$ac_ext
6137 cat >>conftest.
$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 #include "srtp/srtp.h"
6143 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
6148 rm -f conftest.
$ac_objext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150 (eval $ac_compile) 2>conftest.er1
6152 grep -v '^ *+' conftest.er1
>conftest.err
6154 cat conftest.err
>&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } &&
6157 { ac_try
='test -z "$ac_c_werror_flag"
6158 || test ! -s conftest.err'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; } &&
6164 { ac_try
='test -s conftest.$ac_objext'
6165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); }; }; then
6172 echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.
$ac_ext >&5
6176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6177 if test "${HAS_LIBSRTP}" = "1" ; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6180 cat >>confdefs.h
<<\_ACEOF
6181 #define HAS_LIBSRTP 1
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6197 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6198 if test -f $ac_dir/install-sh
; then
6200 ac_install_sh
="$ac_aux_dir/install-sh -c"
6202 elif test -f $ac_dir/install.sh
; then
6204 ac_install_sh
="$ac_aux_dir/install.sh -c"
6206 elif test -f $ac_dir/shtool
; then
6208 ac_install_sh
="$ac_aux_dir/shtool install -c"
6212 if test -z "$ac_aux_dir"; then
6213 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6214 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6215 { (exit 1); exit 1; }; }
6217 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6218 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6219 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6221 # Find a good install program. We prefer a C program (faster),
6222 # so one script is as good as another. But avoid the broken or
6223 # incompatible versions:
6224 # SysV /etc/install, /usr/sbin/install
6225 # SunOS /usr/etc/install
6226 # IRIX /sbin/install
6228 # AmigaOS /C/install, which installs bootblocks on floppy discs
6229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6232 # OS/2's system install, which has a completely different semantic
6233 # ./install, which can be erroneously created by make from ./install.sh.
6234 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6235 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6236 if test -z "$INSTALL"; then
6237 if test "${ac_cv_path_install+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir
=.
6245 # Account for people who put trailing slashes in PATH elements.
6247 .
/ | .
// |
/cC
/* | \
6248 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6249 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6252 # OSF1 and SCO ODT 3.0 have their own names for install.
6253 # Don't use installbsd from OSF since it installs stuff as root
6255 for ac_prog
in ginstall scoinst
install; do
6256 for ac_exec_ext
in '' $ac_executable_extensions; do
6257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6258 if test $ac_prog = install &&
6259 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6260 # AIX install. It has an incompatible calling convention.
6262 elif test $ac_prog = install &&
6263 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6264 # program-specific install script used by HP pwplus--don't use.
6267 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6279 if test "${ac_cv_path_install+set}" = set; then
6280 INSTALL
=$ac_cv_path_install
6282 # As a last resort, use the slow shell script. We don't cache a
6283 # path for INSTALL within a source directory, because that will
6284 # break other packages using the cache if that directory is
6285 # removed, or if the path is relative.
6286 INSTALL
=$ac_install_sh
6289 echo "$as_me:$LINENO: result: $INSTALL" >&5
6290 echo "${ECHO_T}$INSTALL" >&6
6292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6293 # It thinks the first close brace ends the variable substitution.
6294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6298 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6304 subdirs
="$subdirs plugins"
6308 ac_config_files
="$ac_config_files opal_inc.mak"
6310 ac_config_files
="$ac_config_files Makefile"
6312 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6314 ac_config_files
="$ac_config_files opal.pc"
6316 ac_config_files
="$ac_config_files opal.spec"
6318 ac_config_files
="$ac_config_files opal_cfg.dxy"
6321 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6322 cat >confcache
<<\_ACEOF
6323 # This file is a shell script that caches the results of configure
6324 # tests run on this system so they can be shared between configure
6325 # scripts and configure runs, see configure's option --config-cache.
6326 # It is not useful on other systems. If it contains results you don't
6327 # want to keep, you may remove or edit it.
6329 # config.status only pays attention to the cache file if you give it
6330 # the --recheck option to rerun configure.
6332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6338 # The following way of writing the cache mishandles newlines in values,
6339 # but we know of no workaround that is simple, portable, and efficient.
6340 # So, don't put newlines in cache variables' values.
6341 # Ultrix sh set writes to stderr and can't be redirected directly,
6342 # and sets the high bit in the cache file unless we assign to the vars.
6345 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6347 # `set' does not quote correctly, so add quotes (double-quote
6348 # substitution turns \\\\ into \\, and sed turns \\ into \).
6351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6354 # `set' quotes correctly as required by POSIX, so do not add quotes.
6356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6365 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6367 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6368 if test -w $cache_file; then
6369 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6370 cat confcache
>$cache_file
6372 echo "not updating unwritable cache $cache_file"
6377 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6378 # Let make expand exec_prefix.
6379 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6381 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6382 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6383 # trailing colons and then remove the whole line if VPATH becomes empty
6384 # (actually we leave an empty line to preserve line numbers).
6385 if test "x$srcdir" = x.
; then
6386 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6387 s/:*\$(srcdir):*/:/;
6388 s/:*\${srcdir}:*/:/;
6390 s/^\([^=]*=[ ]*\):*/\1/;
6396 DEFS
=-DHAVE_CONFIG_H
6400 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6401 # 1. Remove the extension, and $U if already installed.
6402 ac_i
=`echo "$ac_i" |
6403 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6405 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6406 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6410 LTLIBOBJS
=$ac_ltlibobjs
6414 : ${CONFIG_STATUS=./config.status}
6415 ac_clean_files_save
=$ac_clean_files
6416 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6417 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6418 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6419 cat >$CONFIG_STATUS <<_ACEOF
6421 # Generated by $as_me.
6422 # Run this file to recreate the current configuration.
6423 # Compiler output produced by configure, useful for debugging
6424 # configure, is in config.log if it exists.
6429 SHELL=\${CONFIG_SHELL-$SHELL}
6432 cat >>$CONFIG_STATUS <<\_ACEOF
6433 ## --------------------- ##
6434 ## M4sh Initialization. ##
6435 ## --------------------- ##
6437 # Be Bourne compatible
6438 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6441 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6442 # is contrary to our usage. Disable this feature.
6443 alias -g '${1+"$@"}'='"$@"'
6444 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6447 DUALCASE
=1; export DUALCASE
# for MKS sh
6449 # Support unset when possible.
6450 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6457 # Work around bugs in pre-3.0 UWIN ksh.
6458 $as_unset ENV MAIL MAILPATH
6465 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6466 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6467 LC_TELEPHONE LC_TIME
6469 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6470 eval $as_var=C
; export $as_var
6476 # Required to use basename.
6477 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6483 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6484 as_basename
=basename
6490 # Name of the executable.
6491 as_me
=`$as_basename "$0" ||
6492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6493 X"$0" : 'X\(//\)$' \| \
6494 X"$0" : 'X\(/\)$' \| \
6495 . : '\(.\)' 2>/dev/null ||
6497 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6498 /^X\/\(\/\/\)$/{ s//\1/; q; }
6499 /^X\/\(\/\).*/{ s//\1/; q; }
6503 # PATH needs CR, and LINENO needs CR and PATH.
6504 # Avoid depending upon Character Ranges.
6505 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6506 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6507 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6508 as_cr_digits
='0123456789'
6509 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6511 # The user is always right.
6512 if test "${PATH_SEPARATOR+set}" != set; then
6513 echo "#! /bin/sh" >conf$$.sh
6514 echo "exit 0" >>conf$$.sh
6516 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6527 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6528 test "x$as_lineno_1" != "x$as_lineno_2" &&
6529 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6530 # Find who we are. Look in the path if we contain no path at all
6533 *[\\/]* ) as_myself
=$0 ;;
6534 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir
=.
6539 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6544 # We did not find ourselves, most probably we were run as `sh COMMAND'
6545 # in which case we are not to be found in the path.
6546 if test "x$as_myself" = x
; then
6549 if test ! -f "$as_myself"; then
6550 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6551 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6552 { (exit 1); exit 1; }; }
6554 case $CONFIG_SHELL in
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6557 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6560 test -z "$as_dir" && as_dir
=.
6561 for as_base
in sh bash ksh sh5
; do
6564 if ("$as_dir/$as_base" -c '
6567 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6568 test "x$as_lineno_1" != "x$as_lineno_2" &&
6569 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6570 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6571 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6572 CONFIG_SHELL
=$as_dir/$as_base
6574 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6582 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6583 # uniformly replaced by the line number. The first 'sed' inserts a
6584 # line-number line before each line; the second 'sed' does the real
6585 # work. The second script uses 'N' to pair each line-number line
6586 # with the numbered line, and appends trailing '-' during
6587 # substitution so that $LINENO is not a special case at line end.
6588 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6589 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6590 sed '=' <$as_myself |
6595 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6598 s,^['$as_cr_digits']*\n,,
6600 chmod +x
$as_me.lineno ||
6601 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6602 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6603 { (exit 1); exit 1; }; }
6605 # Don't try to exec as it changes $[0], causing all sort of problems
6606 # (the dirname of $[0] is not the place where we might find the
6607 # original and so on. Autoconf is especially sensible to this).
6609 # Exit status is that of the last command.
6614 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6615 *c
*,-n*) ECHO_N
= ECHO_C
='
6617 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6618 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6621 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6627 rm -f conf$$ conf$$.exe conf$$.
file
6629 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6630 # We could just check for DJGPP; but this test a) works b) is more generic
6631 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6632 if test -f conf$$.exe
; then
6633 # Don't use ln at all; we don't have any links
6638 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6643 rm -f conf$$ conf$$.exe conf$$.
file
6645 if mkdir
-p .
2>/dev
/null
; then
6648 test -d .
/-p && rmdir .
/-p
6652 as_executable_p
="test -f"
6654 # Sed expression to map a string onto a valid CPP name.
6655 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6657 # Sed expression to map a string onto a valid variable name.
6658 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6662 # We need space, tab and new line, in precisely that order.
6672 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6673 # report actual input values of CONFIG_FILES etc. instead of their
6674 # values after options handling. Logging --version etc. is OK.
6678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6679 ## Running $as_me. ##
6684 This file was extended by $as_me, which was
6685 generated by GNU Autoconf 2.59. Invocation command line was
6687 CONFIG_FILES = $CONFIG_FILES
6688 CONFIG_HEADERS = $CONFIG_HEADERS
6689 CONFIG_LINKS = $CONFIG_LINKS
6690 CONFIG_COMMANDS = $CONFIG_COMMANDS
6694 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6698 # Files that config.status was made for.
6699 if test -n "$ac_config_files"; then
6700 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6703 if test -n "$ac_config_headers"; then
6704 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6707 if test -n "$ac_config_links"; then
6708 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6711 if test -n "$ac_config_commands"; then
6712 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6715 cat >>$CONFIG_STATUS <<\_ACEOF
6718 \`$as_me' instantiates files from templates according to the
6719 current configuration.
6721 Usage: $0 [OPTIONS] [FILE]...
6723 -h, --help print this help, then exit
6724 -V, --version print version number, then exit
6725 -q, --quiet do not print progress messages
6726 -d, --debug don't remove temporary files
6727 --recheck update $as_me by reconfiguring in the same conditions
6728 --file=FILE[:TEMPLATE]
6729 instantiate the configuration file FILE
6730 --header=FILE[:TEMPLATE]
6731 instantiate the configuration header FILE
6733 Configuration files:
6736 Configuration headers:
6739 Report bugs to <bug-autoconf@gnu.org>."
6742 cat >>$CONFIG_STATUS <<_ACEOF
6745 configured by $0, generated by GNU Autoconf 2.59,
6746 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6748 Copyright (C) 2003 Free Software Foundation, Inc.
6749 This config.status script is free software; the Free Software Foundation
6750 gives unlimited permission to copy, distribute and modify it."
6755 cat >>$CONFIG_STATUS <<\_ACEOF
6756 # If no file are specified by the user, then we need to provide default
6757 # value. By we need to know if files were specified by the user.
6763 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6764 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6772 *) # This is not an option, so the user has probably given explicit
6775 ac_need_defaults
=false
;;
6779 # Handling of the options.
6781 cat >>$CONFIG_STATUS <<\_ACEOF
6782 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6784 --version |
--vers* |
-V )
6785 echo "$ac_cs_version"; exit 0 ;;
6787 # Conflict between --help and --header
6788 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6789 Try \`$0 --help' for more information." >&5
6790 echo "$as_me: error: ambiguous option: $1
6791 Try \`$0 --help' for more information." >&2;}
6792 { (exit 1); exit 1; }; };;
6793 --help |
--hel |
-h )
6794 echo "$ac_cs_usage"; exit 0 ;;
6795 --debug |
--d* |
-d )
6797 --file |
--fil |
--fi |
--f )
6799 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6800 ac_need_defaults
=false
;;
6801 --header |
--heade |
--head |
--hea )
6803 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6804 ac_need_defaults
=false
;;
6805 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6806 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6810 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6811 Try \`$0 --help' for more information." >&5
6812 echo "$as_me: error: unrecognized option: $1
6813 Try \`$0 --help' for more information." >&2;}
6814 { (exit 1); exit 1; }; } ;;
6816 *) ac_config_targets
="$ac_config_targets $1" ;;
6822 ac_configure_extra_args
=
6824 if $ac_cs_silent; then
6826 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6830 cat >>$CONFIG_STATUS <<_ACEOF
6831 if \$ac_cs_recheck; then
6832 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6833 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6842 cat >>$CONFIG_STATUS <<\_ACEOF
6843 for ac_config_target
in $ac_config_targets
6845 case "$ac_config_target" in
6846 # Handling of arguments.
6847 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
6848 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6849 "opal.pc" ) CONFIG_FILES
="$CONFIG_FILES opal.pc" ;;
6850 "opal.spec" ) CONFIG_FILES
="$CONFIG_FILES opal.spec" ;;
6851 "opal_cfg.dxy" ) CONFIG_FILES
="$CONFIG_FILES opal_cfg.dxy" ;;
6852 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
6853 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
6854 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6855 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6856 { (exit 1); exit 1; }; };;
6860 # If the user did not use the arguments to specify the items to instantiate,
6861 # then the envvar interface is used. Set only those that are not.
6862 # We use the long form for the default assignment because of an extremely
6863 # bizarre bug on SunOS 4.1.3.
6864 if $ac_need_defaults; then
6865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6869 # Have a temporary directory for convenience. Make it in the build tree
6870 # simply because there is no reason to put it here, and in addition,
6871 # creating and moving files from /tmp can sometimes cause problems.
6872 # Create a temporary directory, and hook for its removal unless debugging.
6875 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6876 trap '{ (exit 1); exit 1; }' 1 2 13 15
6879 # Create a (secure) tmp directory for tmp files.
6882 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6883 test -n "$tmp" && test -d "$tmp"
6886 tmp
=.
/confstat$$
-$RANDOM
6887 (umask 077 && mkdir
$tmp)
6890 echo "$me: cannot create a temporary directory in ." >&2
6891 { (exit 1); exit 1; }
6896 cat >>$CONFIG_STATUS <<_ACEOF
6899 # CONFIG_FILES section.
6902 # No need to generate the scripts if there are no CONFIG_FILES.
6903 # This happens for instance when ./config.status config.h
6904 if test -n "\$CONFIG_FILES"; then
6905 # Protect against being on the right side of a sed subst in config.status.
6906 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6907 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6908 s,@SHELL@,$SHELL,;t t
6909 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6910 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6911 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6912 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6913 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6914 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6915 s,@exec_prefix@,$exec_prefix,;t t
6916 s,@prefix@,$prefix,;t t
6917 s,@program_transform_name@,$program_transform_name,;t t
6918 s,@bindir@,$bindir,;t t
6919 s,@sbindir@,$sbindir,;t t
6920 s,@libexecdir@,$libexecdir,;t t
6921 s,@datadir@,$datadir,;t t
6922 s,@sysconfdir@,$sysconfdir,;t t
6923 s,@sharedstatedir@,$sharedstatedir,;t t
6924 s,@localstatedir@,$localstatedir,;t t
6925 s,@libdir@,$libdir,;t t
6926 s,@includedir@,$includedir,;t t
6927 s,@oldincludedir@,$oldincludedir,;t t
6928 s,@infodir@,$infodir,;t t
6929 s,@mandir@,$mandir,;t t
6930 s,@build_alias@,$build_alias,;t t
6931 s,@host_alias@,$host_alias,;t t
6932 s,@target_alias@,$target_alias,;t t
6934 s,@ECHO_C@,$ECHO_C,;t t
6935 s,@ECHO_N@,$ECHO_N,;t t
6936 s,@ECHO_T@,$ECHO_T,;t t
6939 s,@CFLAGS@,$CFLAGS,;t t
6940 s,@LDFLAGS@,$LDFLAGS,;t t
6941 s,@CPPFLAGS@,$CPPFLAGS,;t t
6942 s,@ac_ct_CC@,$ac_ct_CC,;t t
6943 s,@EXEEXT@,$EXEEXT,;t t
6944 s,@OBJEXT@,$OBJEXT,;t t
6946 s,@CXXFLAGS@,$CXXFLAGS,;t t
6947 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6948 s,@OPALDIR@,$OPALDIR,;t t
6949 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6950 s,@LIBDIR@,$LIBDIR,;t t
6951 s,@OPAL_VERSION@,$OPAL_VERSION,;t t
6952 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
6953 s,@PWLIBDIR@,$PWLIBDIR,;t t
6954 s,@GCC_HAS_CLZ@,$GCC_HAS_CLZ,;t t
6956 s,@EGREP@,$EGREP,;t t
6957 s,@SIZE16@,$SIZE16,;t t
6958 s,@SIZE32@,$SIZE32,;t t
6959 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
6960 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
6961 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
6962 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
6963 s,@OPAL_SIP@,$OPAL_SIP,;t t
6964 s,@OPAL_H323@,$OPAL_H323,;t t
6965 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
6966 s,@OPAL_H224@,$OPAL_H224,;t t
6967 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
6968 s,@OPAL_H450@,$OPAL_H450,;t t
6969 s,@OPAL_H460@,$OPAL_H460,;t t
6970 s,@OPAL_LID@,$OPAL_LID,;t t
6971 s,@OPAL_IVR@,$OPAL_IVR,;t t
6972 s,@OPAL_ZRTP@,$OPAL_ZRTP,;t t
6973 s,@HAS_LIBZRTP@,$HAS_LIBZRTP,;t t
6974 s,@OPAL_SRTP@,$OPAL_SRTP,;t t
6975 s,@HAS_LIBSRTP@,$HAS_LIBSRTP,;t t
6976 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
6977 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
6978 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6979 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6980 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6981 s,@subdirs@,$subdirs,;t t
6982 s,@LIBOBJS@,$LIBOBJS,;t t
6983 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6988 cat >>$CONFIG_STATUS <<\_ACEOF
6989 # Split the substitutions into bite-sized pieces for seds with
6990 # small command number limits, like on Digital OSF/1 and HP-UX.
6992 ac_sed_frag
=1 # Number of current file.
6993 ac_beg
=1 # First line for current file.
6994 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6997 while $ac_more_lines; do
6998 if test $ac_beg -gt 1; then
6999 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7001 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7003 if test ! -s $tmp/subs.frag
; then
7006 # The purpose of the label and of the branching condition is to
7007 # speed up the sed processing (if there are no `@' at all, there
7008 # is no need to browse any of the substitutions).
7009 # These are the two extra sed commands mentioned above.
7011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7012 if test -z "$ac_sed_cmds"; then
7013 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7015 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7017 ac_sed_frag
=`expr $ac_sed_frag + 1`
7019 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7022 if test -z "$ac_sed_cmds"; then
7025 fi # test -n "$CONFIG_FILES"
7028 cat >>$CONFIG_STATUS <<\_ACEOF
7029 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7030 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7032 - |
*:- |
*:-:* ) # input from stdin
7034 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7036 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7037 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7038 * ) ac_file_in
=$ac_file.
in ;;
7041 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7042 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7044 X"$ac_file" : 'X\(//\)[^/]' \| \
7045 X"$ac_file" : 'X\(//\)$' \| \
7046 X"$ac_file" : 'X\(/\)' \| \
7047 . : '\(.\)' 2>/dev/null ||
7049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7051 /^X\(\/\/\)$/{ s//\1/; q; }
7052 /^X\(\/\).*/{ s//\1/; q; }
7054 { if $as_mkdir_p; then
7059 while test ! -d "$as_dir"; do
7060 as_dirs
="$as_dir $as_dirs"
7061 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7063 X"$as_dir" : 'X\(//\)[^/]' \| \
7064 X"$as_dir" : 'X\(//\)$' \| \
7065 X"$as_dir" : 'X\(/\)' \| \
7066 . : '\(.\)' 2>/dev/null ||
7068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7070 /^X\(\/\/\)$/{ s//\1/; q; }
7071 /^X\(\/\).*/{ s//\1/; q; }
7074 test ! -n "$as_dirs" || mkdir
$as_dirs
7075 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7076 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7077 { (exit 1); exit 1; }; }; }
7081 if test "$ac_dir" != .
; then
7082 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7083 # A "../" for each directory in $ac_dir_suffix.
7084 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7086 ac_dir_suffix
= ac_top_builddir
=
7090 .
) # No --srcdir option. We are building in place.
7092 if test -z "$ac_top_builddir"; then
7095 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7097 [\\/]* | ?
:[\\/]* ) # Absolute path.
7098 ac_srcdir
=$srcdir$ac_dir_suffix;
7099 ac_top_srcdir
=$srcdir ;;
7101 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7102 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7105 # Do not use `cd foo && pwd` to compute absolute paths, because
7106 # the directories may not exist.
7108 .
) ac_abs_builddir
="$ac_dir";;
7111 .
) ac_abs_builddir
=`pwd`;;
7112 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7113 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7116 case $ac_abs_builddir in
7117 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7119 case ${ac_top_builddir}.
in
7120 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7121 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7122 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7125 case $ac_abs_builddir in
7126 .
) ac_abs_srcdir
=$ac_srcdir;;
7129 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7130 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7131 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7134 case $ac_abs_builddir in
7135 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7137 case $ac_top_srcdir in
7138 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7139 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7140 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7146 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7147 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7150 if test x
"$ac_file" != x-
; then
7151 { echo "$as_me:$LINENO: creating $ac_file" >&5
7152 echo "$as_me: creating $ac_file" >&6;}
7155 # Let's still pretend it is `configure' which instantiates (i.e., don't
7156 # use $as_me), people would be surprised to read:
7157 # /* config.h. Generated by config.status. */
7158 if test x
"$ac_file" = x-
; then
7161 configure_input
="$ac_file. "
7163 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7164 sed 's,.*/,,'` by configure."
7166 # First look for the input files in the build tree, otherwise in the
7168 ac_file_inputs
=`IFS=:
7169 for f in $ac_file_in; do
7171 -) echo $tmp/stdin ;;
7173 # Absolute (can't be DOS-style, as IFS=:)
7174 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7175 echo "$as_me: error: cannot find input file: $f" >&2;}
7176 { (exit 1); exit 1; }; }
7179 if test -f "$f"; then
7182 elif test -f "$srcdir/$f"; then
7187 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7188 echo "$as_me: error: cannot find input file: $f" >&2;}
7189 { (exit 1); exit 1; }; }
7192 done` ||
{ (exit 1); exit 1; }
7194 cat >>$CONFIG_STATUS <<_ACEOF
7198 cat >>$CONFIG_STATUS <<\_ACEOF
7200 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7201 s
,@configure_input@
,$configure_input,;t t
7202 s
,@srcdir@
,$ac_srcdir,;t t
7203 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7204 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7205 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7206 s
,@builddir@
,$ac_builddir,;t t
7207 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7208 s
,@top_builddir@
,$ac_top_builddir,;t t
7209 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7210 s
,@INSTALL@
,$ac_INSTALL,;t t
7211 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7213 if test x"$ac_file" != x-; then
7214 mv $tmp/out $ac_file
7222 cat >>$CONFIG_STATUS <<\_ACEOF
7225 # CONFIG_HEADER section.
7228 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7229 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7231 # ac_d sets the value in "#define NAME VALUE" lines.
7232 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7233 ac_dB
='[ ].*$,\1#\2'
7236 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7237 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7238 ac_uB
='$,\1#\2define\3'
7242 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7243 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7245 - |
*:- |
*:-:* ) # input from stdin
7247 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7248 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7249 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7250 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7251 * ) ac_file_in
=$ac_file.
in ;;
7254 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7255 echo "$as_me: creating $ac_file" >&6;}
7257 # First look for the input files in the build tree, otherwise in the
7259 ac_file_inputs
=`IFS=:
7260 for f in $ac_file_in; do
7262 -) echo $tmp/stdin ;;
7264 # Absolute (can't be DOS-style, as IFS=:)
7265 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7266 echo "$as_me: error: cannot find input file: $f" >&2;}
7267 { (exit 1); exit 1; }; }
7268 # Do quote $f, to prevent DOS paths from being IFS'd.
7271 if test -f "$f"; then
7274 elif test -f "$srcdir/$f"; then
7279 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7280 echo "$as_me: error: cannot find input file: $f" >&2;}
7281 { (exit 1); exit 1; }; }
7284 done` ||
{ (exit 1); exit 1; }
7285 # Remove the trailing spaces.
7286 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7290 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7291 # `conftest.undefs', that substitutes the proper values into
7292 # config.h.in to produce config.h. The first handles `#define'
7293 # templates, and the second `#undef' templates.
7294 # And first: Protect against being on the right side of a sed subst in
7295 # config.status. Protect against being in an unquoted here document
7297 rm -f conftest.defines conftest.undefs
7298 # Using a here document instead of a string reduces the quoting nightmare.
7299 # Putting comments in sed scripts is not portable.
7301 # `end' is used to avoid that the second main sed command (meant for
7302 # 0-ary CPP macros) applies to n-ary macro definitions.
7303 # See the Autoconf documentation for `clear'.
7304 cat >confdef2sed.
sed <<\_ACEOF
7309 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7311 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7314 # If some macros were called several times there might be several times
7315 # the same #defines, which is useless. Nevertheless, we may not want to
7316 # sort them, since we want the *last* AC-DEFINE to be honored.
7317 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7318 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7319 rm -f confdef2sed.sed
7321 # This sed command replaces #undef with comments. This is necessary, for
7322 # example, in the case of _POSIX_SOURCE, which is predefined and required
7323 # on some systems where configure will not decide to define it.
7324 cat >>conftest.undefs <<\_ACEOF
7325 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7328 # Break up conftest.defines because some shells have a limit on the size
7329 # of here documents, and old seds have small limits too (100 cmds).
7330 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7331 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7332 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7333 echo ' :' >>$CONFIG_STATUS
7335 while grep . conftest.defines >/dev/null
7337 # Write a limited-size here document to $tmp/defines.sed.
7338 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7339 # Speed up: don't consider the non `#define' lines.
7340 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7341 # Work around the forget-to-reset-the-flag bug.
7342 echo 't clr' >>$CONFIG_STATUS
7343 echo ': clr' >>$CONFIG_STATUS
7344 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7346 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7350 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7351 rm -f conftest.defines
7352 mv conftest.
tail conftest.defines
7354 rm -f conftest.defines
7355 echo ' fi # grep' >>$CONFIG_STATUS
7356 echo >>$CONFIG_STATUS
7358 # Break up conftest.undefs because some shells have a limit on the size
7359 # of here documents, and old seds have small limits too (100 cmds).
7360 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7362 while grep . conftest.undefs
>/dev
/null
7364 # Write a limited-size here document to $tmp/undefs.sed.
7365 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7366 # Speed up: don't consider the non
`#undef'
7367 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7368 # Work around the forget-to-reset-the-flag bug.
7369 echo 't clr' >>$CONFIG_STATUS
7370 echo ': clr' >>$CONFIG_STATUS
7371 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7373 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7377 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7378 rm -f conftest.undefs
7379 mv conftest.tail conftest.undefs
7381 rm -f conftest.undefs
7383 cat >>$CONFIG_STATUS <<\_ACEOF
7384 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7385 # use $as_me), people would be surprised to read:
7386 # /* config.h. Generated by config.status. */
7387 if test x
"$ac_file" = x-
; then
7388 echo "/* Generated by configure. */" >$tmp/config.h
7390 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7392 cat $tmp/in >>$tmp/config.h
7394 if test x
"$ac_file" != x-
; then
7395 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7396 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7397 echo "$as_me: $ac_file is unchanged" >&6;}
7399 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7400 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7401 X"$ac_file" : 'X\(//\)[^/]' \| \
7402 X"$ac_file" : 'X\(//\)$' \| \
7403 X"$ac_file" : 'X\(/\)' \| \
7404 . : '\(.\)' 2>/dev/null ||
7406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7408 /^X\(\/\/\)$/{ s//\1/; q; }
7409 /^X\(\/\).*/{ s//\1/; q; }
7411 { if $as_mkdir_p; then
7416 while test ! -d "$as_dir"; do
7417 as_dirs
="$as_dir $as_dirs"
7418 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7419 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7420 X"$as_dir" : 'X\(//\)[^/]' \| \
7421 X"$as_dir" : 'X\(//\)$' \| \
7422 X"$as_dir" : 'X\(/\)' \| \
7423 . : '\(.\)' 2>/dev/null ||
7425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7426 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7427 /^X\(\/\/\)$/{ s//\1/; q; }
7428 /^X\(\/\).*/{ s//\1/; q; }
7431 test ! -n "$as_dirs" || mkdir
$as_dirs
7432 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7433 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7434 { (exit 1); exit 1; }; }; }
7437 mv $tmp/config.h
$ac_file
7446 cat >>$CONFIG_STATUS <<\_ACEOF
7448 { (exit 0); exit 0; }
7450 chmod +x
$CONFIG_STATUS
7451 ac_clean_files
=$ac_clean_files_save
7454 # configure is writing to config.log, and then calls config.status.
7455 # config.status does its own redirection, appending to config.log.
7456 # Unfortunately, on DOS this fails, as config.log is still kept open
7457 # by configure, so config.status won't be able to write to it; its
7458 # output is simply discarded. So we exec the FD to /dev/null,
7459 # effectively closing config.log, so it can be properly (re)opened and
7460 # appended to by config.status. When coming back to configure, we
7461 # need to make the FD available again.
7462 if test "$no_create" != yes; then
7464 ac_config_status_args
=
7465 test "$silent" = yes &&
7466 ac_config_status_args
="$ac_config_status_args --quiet"
7468 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7470 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7471 # would make configure fail if this is the last instruction.
7472 $ac_cs_success ||
{ (exit 1); exit 1; }
7476 # CONFIG_SUBDIRS section.
7478 if test "$no_recursion" != yes; then
7480 # Remove --cache-file and --srcdir arguments so they do not pile up.
7481 ac_sub_configure_args
=
7483 for ac_arg
in $ac_configure_args; do
7484 if test -n "$ac_prev"; then
7489 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7490 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7491 ac_prev
=cache_file
;;
7492 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7493 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7496 --config-cache |
-C)
7498 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7500 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7506 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7510 # Always prepend --prefix to ensure using the same prefix
7511 # in subdir configurations.
7512 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7515 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7517 # Do not complain, so a configure script can configure whichever
7518 # parts of a large source tree are present.
7519 test -d $srcdir/$ac_dir ||
continue
7521 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7522 echo "$as_me: configuring in $ac_dir" >&6;}
7523 { if $as_mkdir_p; then
7528 while test ! -d "$as_dir"; do
7529 as_dirs
="$as_dir $as_dirs"
7530 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7532 X"$as_dir" : 'X\(//\)[^/]' \| \
7533 X"$as_dir" : 'X\(//\)$' \| \
7534 X"$as_dir" : 'X\(/\)' \| \
7535 . : '\(.\)' 2>/dev/null ||
7537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7539 /^X\(\/\/\)$/{ s//\1/; q; }
7540 /^X\(\/\).*/{ s//\1/; q; }
7543 test ! -n "$as_dirs" || mkdir
$as_dirs
7544 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7545 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7546 { (exit 1); exit 1; }; }; }
7550 if test "$ac_dir" != .
; then
7551 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7552 # A "../" for each directory in $ac_dir_suffix.
7553 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7555 ac_dir_suffix
= ac_top_builddir
=
7559 .
) # No --srcdir option. We are building in place.
7561 if test -z "$ac_top_builddir"; then
7564 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7566 [\\/]* | ?
:[\\/]* ) # Absolute path.
7567 ac_srcdir
=$srcdir$ac_dir_suffix;
7568 ac_top_srcdir
=$srcdir ;;
7570 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7571 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7574 # Do not use `cd foo && pwd` to compute absolute paths, because
7575 # the directories may not exist.
7577 .
) ac_abs_builddir
="$ac_dir";;
7580 .
) ac_abs_builddir
=`pwd`;;
7581 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7582 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7585 case $ac_abs_builddir in
7586 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7588 case ${ac_top_builddir}.
in
7589 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7590 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7591 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7594 case $ac_abs_builddir in
7595 .
) ac_abs_srcdir
=$ac_srcdir;;
7598 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7599 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7600 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7603 case $ac_abs_builddir in
7604 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7606 case $ac_top_srcdir in
7607 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7608 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7609 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7616 # Check for guested configure; otherwise get Cygnus style configure.
7617 if test -f $ac_srcdir/configure.gnu
; then
7618 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7619 elif test -f $ac_srcdir/configure
; then
7620 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7621 elif test -f $ac_srcdir/configure.
in; then
7622 ac_sub_configure
=$ac_configure
7624 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7625 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7629 # The recursion is here.
7630 if test -n "$ac_sub_configure"; then
7631 # Make the cache file name correct relative to the subdirectory.
7633 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7635 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7638 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7639 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7640 # The eval makes quoting arguments work.
7641 eval $ac_sub_configure $ac_sub_configure_args \
7642 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7643 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7644 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7645 { (exit 1); exit 1; }; }