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_RFC4175 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
865 --disable-rfc4175 disable RFC4175 support
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
874 CXX C
++ compiler
command
875 CXXFLAGS C
++ compiler flags
878 Use these variables to override the choices made by
`configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Do not use `cd foo
&& pwd` to compute absolute paths, because
916 # the directories may not exist.
918 .) ac_abs_builddir="$ac_dir";;
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by $as_me, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1001 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1002 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1003 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1004 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1007 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1009 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1011 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1012 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1013 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1015 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close
' the trap.
1095 trap 'exit_status
=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var
in $ac_subst_vars
1131 eval ac_val
=$
`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var
in $ac_subst_files
1145 eval ac_val
=$
`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h
; then
1158 sed "/^$/d" confdefs.h |
sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core
*.core
&&
1166 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's
/^
/|
/' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1263 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1288 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1295 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 ac_cpp='$CPP $CPPFLAGS'
1319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1320 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 if test -n "$ac_tool_prefix"; then
1323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1324 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1325 echo "$as_me:$LINENO: checking for $ac_word" >&5
1326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1327 if test "${ac_cv_prog_CC+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 if test -n "$CC"; then
1331 ac_cv_prog_CC="$CC" # Let the user override the test.
1333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1337 test -z "$as_dir" && as_dir=.
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1350 if test -n "$CC"; then
1351 echo "$as_me:$LINENO: result: $CC" >&5
1352 echo "${ECHO_T}$CC" >&6
1354 echo "$as_me:$LINENO: result: no" >&5
1355 echo "${ECHO_T}no" >&6
1359 if test -z "$ac_cv_prog_CC"; then
1361 # Extract the first word of "gcc", so it can be a program name with args.
1362 set dummy gcc; ac_word=$2
1363 echo "$as_me:$LINENO: checking for $ac_word" >&5
1364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 if test -n "$ac_ct_CC"; then
1369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375 test -z "$as_dir" && as_dir=.
1376 for ac_exec_ext in '' $ac_executable_extensions; do
1377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1378 ac_cv_prog_ac_ct_CC="gcc"
1379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1388 if test -n "$ac_ct_CC"; then
1389 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1390 echo "${ECHO_T}$ac_ct_CC" >&6
1392 echo "$as_me:$LINENO: result: no" >&5
1393 echo "${ECHO_T}no" >&6
1401 if test -z "$CC"; then
1402 if test -n "$ac_tool_prefix"; then
1403 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1404 set dummy ${ac_tool_prefix}cc; ac_word=$2
1405 echo "$as_me:$LINENO: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_CC+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 if test -n "$CC"; then
1411 ac_cv_prog_CC="$CC" # Let the user override the test.
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 test -z "$as_dir" && as_dir=.
1418 for ac_exec_ext in '' $ac_executable_extensions; do
1419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1420 ac_cv_prog_CC="${ac_tool_prefix}cc"
1421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1430 if test -n "$CC"; then
1431 echo "$as_me:$LINENO: result: $CC" >&5
1432 echo "${ECHO_T}$CC" >&6
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1439 if test -z "$ac_cv_prog_CC"; then
1441 # Extract the first word of "cc", so it can be a program name with args.
1442 set dummy cc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$ac_ct_CC"; then
1449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_ac_ct_CC="cc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1468 if test -n "$ac_ct_CC"; then
1469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1470 echo "${ECHO_T}$ac_ct_CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1482 if test -z "$CC"; then
1483 # Extract the first word of "cc", so it can be a program name with args.
1484 set dummy cc; ac_word=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_CC+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 if test -n "$CC"; then
1491 ac_cv_prog_CC="$CC" # Let the user override the test.
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1502 ac_prog_rejected=yes
1506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1512 if test $ac_prog_rejected = yes; then
1513 # We found a bogon in the path, so make sure we never use it.
1514 set dummy $ac_cv_prog_CC
1516 if test $# != 0; then
1517 # We chose a different compiler from the bogus one.
1518 # However, it has the same basename, so the bogon will be chosen
1519 # first if we set CC to just the basename; use the full file name.
1521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1527 if test -n "$CC"; then
1528 echo "$as_me:$LINENO: result: $CC" >&5
1529 echo "${ECHO_T}$CC" >&6
1531 echo "$as_me:$LINENO: result: no" >&5
1532 echo "${ECHO_T}no" >&6
1536 if test -z "$CC"; then
1537 if test -n "$ac_tool_prefix"; then
1540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1542 echo "$as_me:$LINENO: checking for $ac_word" >&5
1543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1544 if test "${ac_cv_prog_CC+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 if test -n "$CC"; then
1548 ac_cv_prog_CC="$CC" # Let the user override the test.
1550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554 test -z "$as_dir" && as_dir=.
1555 for ac_exec_ext in '' $ac_executable_extensions; do
1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test -n "$CC"; then
1568 echo "$as_me:$LINENO: result: $CC" >&5
1569 echo "${ECHO_T}$CC" >&6
1571 echo "$as_me:$LINENO: result: no" >&5
1572 echo "${ECHO_T}no" >&6
1575 test -n "$CC" && break
1578 if test -z "$CC"; then
1582 # Extract the first word of "$ac_prog", so it can be a program name with args.
1583 set dummy $ac_prog; ac_word=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC="$ac_prog"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1617 test -n "$ac_ct_CC" && break
1626 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1627 See \`config.log' for more details.
" >&5
1628 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1629 See \
`config.log' for more details." >&2;}
1630 { (exit 1); exit 1; }; }
1632 # Provide some information about the compiler.
1633 echo "$as_me:$LINENO:" \
1634 "checking for C compiler version" >&5
1635 ac_compiler=`set X
$ac_compile; echo $2`
1636 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1637 (eval $ac_compiler --version </dev/null >&5) 2>&5
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1642 (eval $ac_compiler -v </dev/null >&5) 2>&5
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1646 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1647 (eval $ac_compiler -V </dev/null >&5) 2>&5
1649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1650 (exit $ac_status); }
1652 cat >conftest.$ac_ext <<_ACEOF
1655 cat confdefs.h >>conftest.$ac_ext
1656 cat >>conftest.$ac_ext <<_ACEOF
1657 /* end confdefs.h. */
1667 ac_clean_files_save=$ac_clean_files
1668 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1669 # Try to create an executable without -o first, disregard a.out.
1670 # It will help us diagnose broken compilers, and finding out an intuition
1672 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1673 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1674 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1675 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1676 (eval $ac_link_default) 2>&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; then
1680 # Find the output, starting from the most likely. This scheme is
1681 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1684 # Be careful to initialize this variable, since it used to be cached.
1685 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1687 # b.out is created by i960 compilers.
1688 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1690 test -f "$ac_file" || continue
1692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1695 # This is the source file.
1698 # We found the default executable, but exeext='' is most
1702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1703 # FIXME: I believe we export ac_cv_exeext for Libtool,
1704 # but it would be cool to find out if it's true. Does anybody
1705 # maintain Libtool? --akim.
1713 echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1716 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1717 See \`config.log
' for more details." >&5
1718 echo "$as_me: error: C compiler cannot create executables
1719 See \`config.log' for more details.
" >&2;}
1720 { (exit 77); exit 77; }; }
1723 ac_exeext=$ac_cv_exeext
1724 echo "$as_me:$LINENO: result
: $ac_file" >&5
1725 echo "${ECHO_T}$ac_file" >&6
1727 # Check the compiler produces executables we can run. If not, either
1728 # the compiler is broken, or we cross compile.
1729 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1730 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1731 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1732 # If not cross compiling, check that we can run a simple program.
1733 if test "$cross_compiling" != yes; then
1734 if { ac_try='./$ac_file'
1735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1739 (exit $ac_status); }; }; then
1742 if test "$cross_compiling" = maybe; then
1745 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1746 If you meant to cross compile
, use \
`--host'.
1747 See \`config.log
' for more details." >&5
1748 echo "$as_me: error: cannot run C compiled programs.
1749 If you meant to cross compile, use \`--host'.
1750 See \
`config.log' for more details." >&2;}
1751 { (exit 1); exit 1; }; }
1755 echo "$as_me:$LINENO: result: yes" >&5
1756 echo "${ECHO_T}yes" >&6
1758 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1759 ac_clean_files=$ac_clean_files_save
1760 # Check the compiler produces executables we can run. If not, either
1761 # the compiler is broken, or we cross compile.
1762 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1763 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1764 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1765 echo "${ECHO_T}$cross_compiling" >&6
1767 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1768 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1770 (eval $ac_link) 2>&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; then
1774 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1775 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1776 # work properly (i.e., refer to `conftest.exe'), while it won't with
1778 for ac_file
in conftest.exe conftest conftest.
*; do
1779 test -f "$ac_file" ||
continue
1781 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1782 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1789 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1790 See \`config.log' for more details." >&5
1791 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1792 See \`config.log' for more details." >&2;}
1793 { (exit 1); exit 1; }; }
1796 rm -f conftest
$ac_cv_exeext
1797 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1798 echo "${ECHO_T}$ac_cv_exeext" >&6
1800 rm -f conftest.
$ac_ext
1801 EXEEXT
=$ac_cv_exeext
1803 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1804 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1805 if test "${ac_cv_objext+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 cat >conftest.
$ac_ext <<_ACEOF
1811 cat confdefs.h
>>conftest.
$ac_ext
1812 cat >>conftest.
$ac_ext <<_ACEOF
1813 /* end confdefs.h. */
1823 rm -f conftest.o conftest.obj
1824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825 (eval $ac_compile) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1831 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1832 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1837 echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.
$ac_ext >&5
1840 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1841 See \`config.log' for more details." >&5
1842 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1843 See \`config.log' for more details." >&2;}
1844 { (exit 1); exit 1; }; }
1847 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1849 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1850 echo "${ECHO_T}$ac_cv_objext" >&6
1851 OBJEXT
=$ac_cv_objext
1853 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1854 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1855 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 cat >conftest.
$ac_ext <<_ACEOF
1861 cat confdefs.h
>>conftest.
$ac_ext
1862 cat >>conftest.
$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1876 rm -f conftest.
$ac_objext
1877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1878 (eval $ac_compile) 2>conftest.er1
1880 grep -v '^ *+' conftest.er1
>conftest.err
1882 cat conftest.err
>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); } &&
1885 { ac_try
='test -z "$ac_c_werror_flag"
1886 || test ! -s conftest.err'
1887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; } &&
1892 { ac_try
='test -s conftest.$ac_objext'
1893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1897 (exit $ac_status); }; }; then
1900 echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.
$ac_ext >&5
1905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1906 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1909 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1910 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1911 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1912 ac_test_CFLAGS
=${CFLAGS+set}
1913 ac_save_CFLAGS
=$CFLAGS
1915 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1916 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1917 if test "${ac_cv_prog_cc_g+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 cat >conftest.
$ac_ext <<_ACEOF
1923 cat confdefs.h
>>conftest.
$ac_ext
1924 cat >>conftest.
$ac_ext <<_ACEOF
1925 /* end confdefs.h. */
1935 rm -f conftest.
$ac_objext
1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>conftest.er1
1939 grep -v '^ *+' conftest.er1
>conftest.err
1941 cat conftest.err
>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); } &&
1944 { ac_try
='test -z "$ac_c_werror_flag"
1945 || test ! -s conftest.err'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; } &&
1951 { ac_try
='test -s conftest.$ac_objext'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; }; then
1959 echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.
$ac_ext >&5
1964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1966 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1967 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1968 if test "$ac_test_CFLAGS" = set; then
1969 CFLAGS
=$ac_save_CFLAGS
1970 elif test $ac_cv_prog_cc_g = yes; then
1971 if test "$GCC" = yes; then
1977 if test "$GCC" = yes; then
1983 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1984 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1985 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 ac_cv_prog_cc_stdc
=no
1990 cat >conftest.
$ac_ext <<_ACEOF
1993 cat confdefs.h
>>conftest.
$ac_ext
1994 cat >>conftest.
$ac_ext <<_ACEOF
1995 /* end confdefs.h. */
1998 #include <sys/types.h>
1999 #include <sys/stat.h>
2000 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2001 struct buf { int x; };
2002 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2003 static char *e (p, i)
2009 static char *f (char * (*g) (char **, int), char **p, ...)
2014 s = g (p, va_arg (v,int));
2019 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2020 function prototypes and stuff, but not '\xHH' hex character constants.
2021 These don't provoke an error unfortunately, instead are silently treated
2022 as 'x'. The following induces an error, until -std1 is added to get
2023 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2024 array size at least. It's necessary to write '\x00'==0 to get something
2025 that's true only with -std1. */
2026 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2028 int test (int i, double x);
2029 struct s1 {int (*f) (int a);};
2030 struct s2 {int (*f) (double a);};
2031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2037 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2042 # Don't try gcc -ansi; that turns off useful extensions and
2043 # breaks some systems' header files.
2044 # AIX -qlanglvl=ansi
2045 # Ultrix and OSF/1 -std1
2046 # HP-UX 10.20 and later -Ae
2047 # HP-UX older versions -Aa -D_HPUX_SOURCE
2048 # SVR4 -Xc -D__EXTENSIONS__
2049 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2051 CC
="$ac_save_CC $ac_arg"
2052 rm -f conftest.
$ac_objext
2053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2054 (eval $ac_compile) 2>conftest.er1
2056 grep -v '^ *+' conftest.er1
>conftest.err
2058 cat conftest.err
>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try
='test -z "$ac_c_werror_flag"
2062 || test ! -s conftest.err'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; } &&
2068 { ac_try
='test -s conftest.$ac_objext'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; }; then
2074 ac_cv_prog_cc_stdc
=$ac_arg
2077 echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.
$ac_ext >&5
2081 rm -f conftest.err conftest.
$ac_objext
2083 rm -f conftest.
$ac_ext conftest.
$ac_objext
2088 case "x$ac_cv_prog_cc_stdc" in
2090 echo "$as_me:$LINENO: result: none needed" >&5
2091 echo "${ECHO_T}none needed" >&6 ;;
2093 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2094 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2095 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2098 # Some people use a C++ compiler to compile C. Since we use `exit',
2099 # in C++ we need to declare it. In case someone uses the same compiler
2100 # for both compiling C and C++ we need to have the C++ compiler decide
2101 # the declaration of exit, since it's the most demanding environment.
2102 cat >conftest.
$ac_ext <<_ACEOF
2107 rm -f conftest.
$ac_objext
2108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2109 (eval $ac_compile) 2>conftest.er1
2111 grep -v '^ *+' conftest.er1
>conftest.err
2113 cat conftest.err
>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); } &&
2116 { ac_try
='test -z "$ac_c_werror_flag"
2117 || test ! -s conftest.err'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; } &&
2123 { ac_try
='test -s conftest.$ac_objext'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 for ac_declaration
in \
2131 'extern "C" void std::exit (int) throw (); using std::exit;' \
2132 'extern "C" void std::exit (int); using std::exit;' \
2133 'extern "C" void exit (int) throw ();' \
2134 'extern "C" void exit (int);' \
2137 cat >conftest.
$ac_ext <<_ACEOF
2140 cat confdefs.h
>>conftest.
$ac_ext
2141 cat >>conftest.
$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2153 rm -f conftest.
$ac_objext
2154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2155 (eval $ac_compile) 2>conftest.er1
2157 grep -v '^ *+' conftest.er1
>conftest.err
2159 cat conftest.err
>&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); } &&
2162 { ac_try
='test -z "$ac_c_werror_flag"
2163 || test ! -s conftest.err'
2164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); }; } &&
2169 { ac_try
='test -s conftest.$ac_objext'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; }; then
2177 echo "$as_me: failed program was:" >&5
2178 sed 's/^/| /' conftest.
$ac_ext >&5
2182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2183 cat >conftest.
$ac_ext <<_ACEOF
2186 cat confdefs.h
>>conftest.
$ac_ext
2187 cat >>conftest.
$ac_ext <<_ACEOF
2188 /* end confdefs.h. */
2198 rm -f conftest.
$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1
>conftest.err
2204 cat conftest.err
>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try
='test -z "$ac_c_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try
='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.
$ac_ext >&5
2226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2229 if test -n "$ac_declaration"; then
2230 echo '#ifdef __cplusplus' >>confdefs.h
2231 echo $ac_declaration >>confdefs.h
2232 echo '#endif' >>confdefs.h
2236 echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.
$ac_ext >&5
2240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 ac_cpp
='$CPP $CPPFLAGS'
2243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2248 ac_cpp
='$CXXCPP $CPPFLAGS'
2249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CXX+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$CXX"; then
2263 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test -n "$CXX"; then
2283 echo "$as_me:$LINENO: result: $CXX" >&5
2284 echo "${ECHO_T}$CXX" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CXX" && break
2293 if test -z "$CXX"; then
2295 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy
$ac_prog; ac_word
=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$ac_ct_CXX"; then
2305 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 for ac_exec_ext
in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2324 if test -n "$ac_ct_CXX"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2326 echo "${ECHO_T}$ac_ct_CXX" >&6
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CXX" && break
2334 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2340 # Provide some information about the compiler.
2341 echo "$as_me:$LINENO:" \
2342 "checking for C++ compiler version" >&5
2343 ac_compiler
=`set X $ac_compile; echo $2`
2344 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2345 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2350 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2354 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2355 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2360 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2361 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2362 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 cat >conftest.
$ac_ext <<_ACEOF
2368 cat confdefs.h
>>conftest.
$ac_ext
2369 cat >>conftest.
$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2383 rm -f conftest.
$ac_objext
2384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385 (eval $ac_compile) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -z "$ac_cxx_werror_flag"
2393 || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try
='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.
$ac_ext >&5
2412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2413 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2416 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2417 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2418 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2419 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2420 ac_save_CXXFLAGS
=$CXXFLAGS
2422 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2423 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2424 if test "${ac_cv_prog_cxx_g+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 cat >conftest.
$ac_ext <<_ACEOF
2430 cat confdefs.h
>>conftest.
$ac_ext
2431 cat >>conftest.
$ac_ext <<_ACEOF
2432 /* end confdefs.h. */
2442 rm -f conftest.
$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444 (eval $ac_compile) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1
>conftest.err
2448 cat conftest.err
>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try
='test -z "$ac_cxx_werror_flag"
2452 || test ! -s conftest.err'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; } &&
2458 { ac_try
='test -s conftest.$ac_objext'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2464 ac_cv_prog_cxx_g
=yes
2466 echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.
$ac_ext >&5
2471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2473 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2474 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2475 if test "$ac_test_CXXFLAGS" = set; then
2476 CXXFLAGS
=$ac_save_CXXFLAGS
2477 elif test $ac_cv_prog_cxx_g = yes; then
2478 if test "$GXX" = yes; then
2484 if test "$GXX" = yes; then
2490 for ac_declaration
in \
2492 'extern "C" void std::exit (int) throw (); using std::exit;' \
2493 'extern "C" void std::exit (int); using std::exit;' \
2494 'extern "C" void exit (int) throw ();' \
2495 'extern "C" void exit (int);' \
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2514 rm -f conftest.
$ac_objext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2516 (eval $ac_compile) 2>conftest.er1
2518 grep -v '^ *+' conftest.er1
>conftest.err
2520 cat conftest.err
>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try
='test -z "$ac_cxx_werror_flag"
2524 || test ! -s conftest.err'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; } &&
2530 { ac_try
='test -s conftest.$ac_objext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.
$ac_ext >&5
2543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2544 cat >conftest.
$ac_ext <<_ACEOF
2547 cat confdefs.h
>>conftest.
$ac_ext
2548 cat >>conftest.
$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2559 rm -f conftest.
$ac_objext
2560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561 (eval $ac_compile) 2>conftest.er1
2563 grep -v '^ *+' conftest.er1
>conftest.err
2565 cat conftest.err
>&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); } &&
2568 { ac_try
='test -z "$ac_cxx_werror_flag"
2569 || test ! -s conftest.err'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; } &&
2575 { ac_try
='test -s conftest.$ac_objext'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; }; then
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2590 if test -n "$ac_declaration"; then
2591 echo '#ifdef __cplusplus' >>confdefs.h
2592 echo $ac_declaration >>confdefs.h
2593 echo '#endif' >>confdefs.h
2597 ac_cpp
='$CPP $CPPFLAGS'
2598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2613 REQUIRED_PWLIB_MAJOR
=1
2614 REQUIRED_PWLIB_MINOR
=11
2615 REQUIRED_PWLIB_BUILD
=0
2621 if test "x$prefix" = "xNONE"; then
2622 INSTALLPREFIX
="/usr/local"
2624 INSTALLPREFIX
="${prefix}"
2635 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2636 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2637 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2638 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2639 cat >>confdefs.h
<<_ACEOF
2640 #define OPAL_MAJOR ${MAJOR_VERSION}
2643 cat >>confdefs.h
<<_ACEOF
2644 #define OPAL_MINOR ${MINOR_VERSION}
2647 cat >>confdefs.h
<<_ACEOF
2648 #define OPAL_BUILD ${BUILD_NUMBER}
2651 cat >>confdefs.h
<<_ACEOF
2652 #define OPAL_VERSION "$OPAL_VERSION"
2656 { echo "$as_me:$LINENO: Opal version is ${OPAL_VERSION}" >&5
2657 echo "$as_me: Opal version is ${OPAL_VERSION}" >&6;};
2659 #use to set the version in opal.pc
2663 if test "${PWLIBDIR:-unset}" != "unset" ; then
2664 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2665 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2666 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2667 if eval "test \"\${$as_ac_File+set}\" = set"; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 test "$cross_compiling" = yes &&
2671 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2672 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2673 { (exit 1); exit 1; }; }
2674 if test -r "${PWLIBDIR}/version.h"; then
2675 eval "$as_ac_File=yes"
2677 eval "$as_ac_File=no"
2680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2681 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2682 if test `eval echo '${'$as_ac_File'}'` = yes; then
2687 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2688 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2689 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2690 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2691 if eval "test \"\${$as_ac_File+set}\" = set"; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 test "$cross_compiling" = yes &&
2695 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2696 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2697 { (exit 1); exit 1; }; }
2698 if test -r "${OPALDIR}/../pwlib/version.h"; then
2699 eval "$as_ac_File=yes"
2701 eval "$as_ac_File=no"
2704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2705 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2706 if test `eval echo '${'$as_ac_File'}'` = yes; then
2710 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2711 PWLIBDIR
="${OPALDIR}/../pwlib"
2713 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2714 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2715 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2716 if eval "test \"\${$as_ac_File+set}\" = set"; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 test "$cross_compiling" = yes &&
2720 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2721 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2722 { (exit 1); exit 1; }; }
2723 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2724 eval "$as_ac_File=yes"
2726 eval "$as_ac_File=no"
2729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2730 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2731 if test `eval echo '${'$as_ac_File'}'` = yes; then
2735 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2736 PWLIBDIR
="${HOME}/pwlib"
2738 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2739 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2740 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 test "$cross_compiling" = yes &&
2744 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2745 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2746 { (exit 1); exit 1; }; }
2747 if test -r "/usr/local/include/ptlib.h"; then
2748 ac_cv_file__usr_local_include_ptlib_h
=yes
2750 ac_cv_file__usr_local_include_ptlib_h
=no
2753 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2754 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2755 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2759 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2760 # Extract the first word of "ptlib-config", so it can be a program name with args.
2761 set dummy ptlib-config
; ac_word
=$2
2762 echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2764 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 case $PTLIB_CONFIG in
2769 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 for as_dir
in /usr
/local
/bin
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2791 if test -n "$PTLIB_CONFIG"; then
2792 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2793 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2800 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2801 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2802 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 test "$cross_compiling" = yes &&
2806 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2807 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2808 { (exit 1); exit 1; }; }
2809 if test -r "/usr/include/ptlib.h"; then
2810 ac_cv_file__usr_include_ptlib_h
=yes
2812 ac_cv_file__usr_include_ptlib_h
=no
2815 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2816 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2817 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2821 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2822 # Extract the first word of "ptlib-config", so it can be a program name with args.
2823 set dummy ptlib-config
; ac_word
=$2
2824 echo "$as_me:$LINENO: checking for $ac_word" >&5
2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2826 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 case $PTLIB_CONFIG in
2831 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 for as_dir
in /usr
/share
/pwlib
/make
/
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2853 if test -n "$PTLIB_CONFIG"; then
2854 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2855 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2862 as_ac_File
=`echo "ac_cv_file_${prefix}/include/ptlib.h" | $as_tr_sh`
2863 echo "$as_me:$LINENO: checking for ${prefix}/include/ptlib.h" >&5
2864 echo $ECHO_N "checking for ${prefix}/include/ptlib.h... $ECHO_C" >&6
2865 if eval "test \"\${$as_ac_File+set}\" = set"; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 test "$cross_compiling" = yes &&
2869 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2870 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2871 { (exit 1); exit 1; }; }
2872 if test -r "${prefix}/include/ptlib.h"; then
2873 eval "$as_ac_File=yes"
2875 eval "$as_ac_File=no"
2878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2879 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2880 if test `eval echo '${'$as_ac_File'}'` = yes; then
2884 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2885 # Extract the first word of "ptlib-config", so it can be a program name with args.
2886 set dummy ptlib-config
; ac_word
=$2
2887 echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2889 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 case $PTLIB_CONFIG in
2894 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 for as_dir
in ${prefix}/bin
2901 test -z "$as_dir" && as_dir
=.
2902 for ac_exec_ext
in '' $ac_executable_extensions; do
2903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2916 if test -n "$PTLIB_CONFIG"; then
2917 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2918 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2931 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2932 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
2933 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
2934 { (exit 1); exit 1; }; }
2937 if test "${PWLIBDIR:-unset}" = "unset" ; then
2938 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2939 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
2940 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
2941 { (exit 1); exit 1; }; }
2943 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2946 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2947 PWLIBDIR
="/usr/share/pwlib/"
2949 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2950 PWLIBDIR
="/usr/local/share/pwlib/"
2952 if test "x$PWLIBDIR" = "x${prefix}"; then
2953 PWLIBDIR
="${prefix}/share/pwlib/"
2957 echo "PWLib prefix set to.... $PWLIBDIR"
2959 if test "${PWLIBDIR:-unset}" = "unset" ; then
2960 PWVERSION
=`$PTLIB_CONFIG --version`
2961 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2962 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2963 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2966 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2967 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2968 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2969 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2972 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2973 if test "${enable_versioncheck+set}" = set; then
2974 enableval
="$enable_versioncheck"
2975 PWLIB_VERSION_CHECK
=$enableval
2978 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2979 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2980 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2981 echo "$as_me:$LINENO: result: check disabled" >&5
2982 echo "${ECHO_T}check disabled" >&6
2984 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2985 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2986 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
2987 { (exit 1); exit 1; }; }
2989 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2990 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2991 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
2992 { (exit 1); exit 1; }; }
2994 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2995 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2996 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
2997 { (exit 1); exit 1; }; }
2999 echo "$as_me:$LINENO: result: ok" >&5
3000 echo "${ECHO_T}ok" >&6
3006 if test x
$GXX = xyes
; then
3008 gcc_version
=`$CXX -dumpversion`
3009 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
3010 echo "$as_me: gcc version is $gcc_version" >&6;};
3011 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
3012 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
3013 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
3015 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
3016 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
3017 if test ${GXX_MAJOR} -lt 3 ; then
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3020 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
3021 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
3022 { (exit 1); exit 1; }; }
3024 echo "$as_me:$LINENO: result: yes" >&5
3025 echo "${ECHO_T}yes" >&6
3030 echo "$as_me:$LINENO: checking for working bit scan intrinsic" >&5
3031 echo $ECHO_N "checking for working bit scan intrinsic... $ECHO_C" >&6
3034 int main(int argc, char* argv) {
3036 unsigned int val = 0x00000FF0;
3037 if (__builtin_clz(val) == 20)
3043 if test "$cross_compiling" = yes; then
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3054 rm -f conftest
$ac_exeext
3055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3056 (eval $ac_link) 2>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; }; then
3067 echo "$as_me: program exited with status $ac_status" >&5
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.
$ac_ext >&5
3074 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3076 if test "${GCC_HAS_CLZ}" = "1" ; then
3077 echo "$as_me:$LINENO: result: yes" >&5
3078 echo "${ECHO_T}yes" >&6
3079 cat >>confdefs.h
<<\_ACEOF
3080 #define GCC_HAS_CLZ 1
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3092 # Check whether --enable-localspeex or --disable-localspeex was given.
3093 if test "${enable_localspeex+set}" = set; then
3094 enableval
="$enable_localspeex"
3095 localspeex
=$enableval
3099 ac_cpp
='$CPP $CPPFLAGS'
3100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3103 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3104 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3105 # On Suns, sometimes $CPP names a directory.
3106 if test -n "$CPP" && test -d "$CPP"; then
3109 if test -z "$CPP"; then
3110 if test "${ac_cv_prog_CPP+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 # Double quotes because CPP needs to be expanded
3114 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3117 for ac_c_preproc_warn_flag
in '' yes
3119 # Use a header file that comes with gcc, so configuring glibc
3120 # with a fresh cross-compiler works.
3121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3122 # <limits.h> exists even on freestanding compilers.
3123 # On the NeXT, cc -E runs the code through the compiler's parser,
3124 # not just through cpp. "Syntax error" is here to catch this case.
3125 cat >conftest.
$ac_ext <<_ACEOF
3128 cat confdefs.h
>>conftest.
$ac_ext
3129 cat >>conftest.
$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3132 # include <limits.h>
3134 # include <assert.h>
3138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3141 grep -v '^ *+' conftest.er1
>conftest.err
3143 cat conftest.err
>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } >/dev
/null
; then
3146 if test -s conftest.err
; then
3147 ac_cpp_err
=$ac_c_preproc_warn_flag
3148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3155 if test -z "$ac_cpp_err"; then
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.
$ac_ext >&5
3161 # Broken: fails on valid input.
3164 rm -f conftest.err conftest.
$ac_ext
3166 # OK, works on sane cases. Now check whether non-existent headers
3167 # can be detected and how.
3168 cat >conftest.
$ac_ext <<_ACEOF
3171 cat confdefs.h
>>conftest.
$ac_ext
3172 cat >>conftest.
$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3174 #include <ac_nonexistent.h>
3176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3179 grep -v '^ *+' conftest.er1
>conftest.err
3181 cat conftest.err
>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } >/dev
/null
; then
3184 if test -s conftest.err
; then
3185 ac_cpp_err
=$ac_c_preproc_warn_flag
3186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3193 if test -z "$ac_cpp_err"; then
3194 # Broken: success on invalid input.
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3200 # Passes both tests.
3204 rm -f conftest.err conftest.
$ac_ext
3207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3208 rm -f conftest.err conftest.
$ac_ext
3209 if $ac_preproc_ok; then
3221 echo "$as_me:$LINENO: result: $CPP" >&5
3222 echo "${ECHO_T}$CPP" >&6
3224 for ac_c_preproc_warn_flag
in '' yes
3226 # Use a header file that comes with gcc, so configuring glibc
3227 # with a fresh cross-compiler works.
3228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3229 # <limits.h> exists even on freestanding compilers.
3230 # On the NeXT, cc -E runs the code through the compiler's parser,
3231 # not just through cpp. "Syntax error" is here to catch this case.
3232 cat >conftest.
$ac_ext <<_ACEOF
3235 cat confdefs.h
>>conftest.
$ac_ext
3236 cat >>conftest.
$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3239 # include <limits.h>
3241 # include <assert.h>
3245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3246 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3248 grep -v '^ *+' conftest.er1
>conftest.err
3250 cat conftest.err
>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } >/dev
/null
; then
3253 if test -s conftest.err
; then
3254 ac_cpp_err
=$ac_c_preproc_warn_flag
3255 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3262 if test -z "$ac_cpp_err"; then
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.
$ac_ext >&5
3268 # Broken: fails on valid input.
3271 rm -f conftest.err conftest.
$ac_ext
3273 # OK, works on sane cases. Now check whether non-existent headers
3274 # can be detected and how.
3275 cat >conftest.
$ac_ext <<_ACEOF
3278 cat confdefs.h
>>conftest.
$ac_ext
3279 cat >>conftest.
$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3281 #include <ac_nonexistent.h>
3283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3286 grep -v '^ *+' conftest.er1
>conftest.err
3288 cat conftest.err
>&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } >/dev
/null
; then
3291 if test -s conftest.err
; then
3292 ac_cpp_err
=$ac_c_preproc_warn_flag
3293 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3300 if test -z "$ac_cpp_err"; then
3301 # Broken: success on invalid input.
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.
$ac_ext >&5
3307 # Passes both tests.
3311 rm -f conftest.err conftest.
$ac_ext
3314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3315 rm -f conftest.err conftest.
$ac_ext
3316 if $ac_preproc_ok; then
3319 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3320 See \`config.log' for more details." >&5
3321 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3322 See \`config.log' for more details." >&2;}
3323 { (exit 1); exit 1; }; }
3327 ac_cpp
='$CPP $CPPFLAGS'
3328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3333 echo "$as_me:$LINENO: checking for egrep" >&5
3334 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3335 if test "${ac_cv_prog_egrep+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3339 then ac_cv_prog_egrep
='grep -E'
3340 else ac_cv_prog_egrep
='egrep'
3343 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3344 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3345 EGREP
=$ac_cv_prog_egrep
3348 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3349 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3350 if test "${ac_cv_header_stdc+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 cat >conftest.
$ac_ext <<_ACEOF
3356 cat confdefs.h
>>conftest.
$ac_ext
3357 cat >>conftest.
$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3372 rm -f conftest.
$ac_objext
3373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3374 (eval $ac_compile) 2>conftest.er1
3376 grep -v '^ *+' conftest.er1
>conftest.err
3378 cat conftest.err
>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } &&
3381 { ac_try
='test -z "$ac_c_werror_flag"
3382 || test ! -s conftest.err'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; } &&
3388 { ac_try
='test -s conftest.$ac_objext'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; }; then
3394 ac_cv_header_stdc
=yes
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.
$ac_ext >&5
3399 ac_cv_header_stdc
=no
3401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3403 if test $ac_cv_header_stdc = yes; then
3404 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3405 cat >conftest.
$ac_ext <<_ACEOF
3408 cat confdefs.h
>>conftest.
$ac_ext
3409 cat >>conftest.
$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3415 $EGREP "memchr" >/dev
/null
2>&1; then
3418 ac_cv_header_stdc
=no
3424 if test $ac_cv_header_stdc = yes; then
3425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3426 cat >conftest.
$ac_ext <<_ACEOF
3429 cat confdefs.h
>>conftest.
$ac_ext
3430 cat >>conftest.
$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3436 $EGREP "free" >/dev
/null
2>&1; then
3439 ac_cv_header_stdc
=no
3445 if test $ac_cv_header_stdc = yes; then
3446 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3447 if test "$cross_compiling" = yes; then
3450 cat >conftest.
$ac_ext <<_ACEOF
3453 cat confdefs.h
>>conftest.
$ac_ext
3454 cat >>conftest.
$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3457 #if ((' ' & 0x0FF) == 0x020)
3458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3461 # define ISLOWER(c) \
3462 (('a' <= (c) && (c) <= 'i') \
3463 || ('j' <= (c) && (c) <= 'r') \
3464 || ('s' <= (c) && (c) <= 'z'))
3465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3473 for (i = 0; i < 256; i++)
3474 if (XOR (islower (i), ISLOWER (i))
3475 || toupper (i) != TOUPPER (i))
3480 rm -f conftest
$ac_exeext
3481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3482 (eval $ac_link) 2>&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; }; then
3493 echo "$as_me: program exited with status $ac_status" >&5
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3498 ac_cv_header_stdc
=no
3500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3504 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3505 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3506 if test $ac_cv_header_stdc = yes; then
3508 cat >>confdefs.h
<<\_ACEOF
3509 #define STDC_HEADERS 1
3514 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3524 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3525 inttypes.h stdint.h unistd.h
3527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3528 echo "$as_me:$LINENO: checking for $ac_header" >&5
3529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 cat >conftest.
$ac_ext <<_ACEOF
3536 cat confdefs.h
>>conftest.
$ac_ext
3537 cat >>conftest.
$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3539 $ac_includes_default
3541 #include <$ac_header>
3543 rm -f conftest.
$ac_objext
3544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3545 (eval $ac_compile) 2>conftest.er1
3547 grep -v '^ *+' conftest.er1
>conftest.err
3549 cat conftest.err
>&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); } &&
3552 { ac_try
='test -z "$ac_c_werror_flag"
3553 || test ! -s conftest.err'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; } &&
3559 { ac_try
='test -s conftest.$ac_objext'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; }; then
3565 eval "$as_ac_Header=yes"
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.
$ac_ext >&5
3570 eval "$as_ac_Header=no"
3572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3577 cat >>confdefs.h
<<_ACEOF
3578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3586 echo "$as_me:$LINENO: checking for short" >&5
3587 echo $ECHO_N "checking for short... $ECHO_C" >&6
3588 if test "${ac_cv_type_short+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $ac_includes_default
3609 rm -f conftest.
$ac_objext
3610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3611 (eval $ac_compile) 2>conftest.er1
3613 grep -v '^ *+' conftest.er1
>conftest.err
3615 cat conftest.err
>&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } &&
3618 { ac_try
='test -z "$ac_c_werror_flag"
3619 || test ! -s conftest.err'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; } &&
3625 { ac_try
='test -s conftest.$ac_objext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_cv_type_short
=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3640 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3641 echo "${ECHO_T}$ac_cv_type_short" >&6
3643 echo "$as_me:$LINENO: checking size of short" >&5
3644 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3645 if test "${ac_cv_sizeof_short+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 if test "$ac_cv_type_short" = yes; then
3649 # The cast to unsigned long works around a bug in the HP C Compiler
3650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3652 # This bug is HP SR number 8606223364.
3653 if test "$cross_compiling" = yes; then
3654 # Depending upon the size, compute the lo and hi bounds.
3655 cat >conftest.
$ac_ext <<_ACEOF
3658 cat confdefs.h
>>conftest.
$ac_ext
3659 cat >>conftest.
$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3661 $ac_includes_default
3665 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3672 rm -f conftest.
$ac_objext
3673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3674 (eval $ac_compile) 2>conftest.er1
3676 grep -v '^ *+' conftest.er1
>conftest.err
3678 cat conftest.err
>&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } &&
3681 { ac_try
='test -z "$ac_c_werror_flag"
3682 || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest.$ac_objext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3696 cat >conftest.
$ac_ext <<_ACEOF
3699 cat confdefs.h
>>conftest.
$ac_ext
3700 cat >>conftest.
$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3702 $ac_includes_default
3706 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3713 rm -f conftest.
$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1
>conftest.err
3719 cat conftest.err
>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try
='test -z "$ac_c_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try
='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 ac_hi
=$ac_mid; break
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.
$ac_ext >&5
3740 ac_lo
=`expr $ac_mid + 1`
3741 if test $ac_lo -le $ac_mid; then
3745 ac_mid
=`expr 2 '*' $ac_mid + 1`
3747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.
$ac_ext >&5
3753 cat >conftest.
$ac_ext <<_ACEOF
3756 cat confdefs.h
>>conftest.
$ac_ext
3757 cat >>conftest.
$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3759 $ac_includes_default
3763 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3770 rm -f conftest.
$ac_objext
3771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3772 (eval $ac_compile) 2>conftest.er1
3774 grep -v '^ *+' conftest.er1
>conftest.err
3776 cat conftest.err
>&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } &&
3779 { ac_try
='test -z "$ac_c_werror_flag"
3780 || test ! -s conftest.err'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; } &&
3786 { ac_try
='test -s conftest.$ac_objext'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 $ac_includes_default
3804 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3811 rm -f conftest.
$ac_objext
3812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3813 (eval $ac_compile) 2>conftest.er1
3815 grep -v '^ *+' conftest.er1
>conftest.err
3817 cat conftest.err
>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } &&
3820 { ac_try
='test -z "$ac_c_werror_flag"
3821 || test ! -s conftest.err'
3822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); }; } &&
3827 { ac_try
='test -s conftest.$ac_objext'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; }; then
3833 ac_lo
=$ac_mid; break
3835 echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.
$ac_ext >&5
3838 ac_hi
=`expr '(' $ac_mid ')' - 1`
3839 if test $ac_mid -le $ac_hi; then
3843 ac_mid
=`expr 2 '*' $ac_mid`
3845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.
$ac_ext >&5
3853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3856 # Binary search between lo and hi bounds.
3857 while test "x$ac_lo" != "x$ac_hi"; do
3858 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3865 $ac_includes_default
3869 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3876 rm -f conftest.
$ac_objext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3878 (eval $ac_compile) 2>conftest.er1
3880 grep -v '^ *+' conftest.er1
>conftest.err
3882 cat conftest.err
>&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try
='test -z "$ac_c_werror_flag"
3886 || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try
='test -s conftest.$ac_objext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.
$ac_ext >&5
3903 ac_lo
=`expr '(' $ac_mid ')' + 1`
3905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3910 See \`config.log' for more details." >&5
3911 echo "$as_me: error: cannot compute sizeof (short), 77
3912 See \`config.log' for more details." >&2;}
3913 { (exit 1); exit 1; }; } ;;
3916 if test "$cross_compiling" = yes; then
3917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3918 See \`config.log' for more details." >&5
3919 echo "$as_me: error: cannot run test program while cross compiling
3920 See \`config.log' for more details." >&2;}
3921 { (exit 1); exit 1; }; }
3923 cat >conftest.
$ac_ext <<_ACEOF
3926 cat confdefs.h
>>conftest.
$ac_ext
3927 cat >>conftest.
$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3929 $ac_includes_default
3930 long longval () { return (long) (sizeof (short)); }
3931 unsigned long ulongval () { return (long) (sizeof (short)); }
3938 FILE *f = fopen ("conftest.val", "w");
3941 if (((long) (sizeof (short))) < 0)
3943 long i = longval ();
3944 if (i != ((long) (sizeof (short))))
3946 fprintf (f, "%ld\n", i);
3950 unsigned long i = ulongval ();
3951 if (i != ((long) (sizeof (short))))
3953 fprintf (f, "%lu\n", i);
3955 exit (ferror (f) || fclose (f) != 0);
3961 rm -f conftest
$ac_exeext
3962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3963 (eval $ac_link) 2>&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; }; then
3972 ac_cv_sizeof_short
=`cat conftest.val`
3974 echo "$as_me: program exited with status $ac_status" >&5
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3980 See \`config.log' for more details." >&5
3981 echo "$as_me: error: cannot compute sizeof (short), 77
3982 See \`config.log' for more details." >&2;}
3983 { (exit 1); exit 1; }; }
3985 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3990 ac_cv_sizeof_short
=0
3993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3994 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3995 cat >>confdefs.h
<<_ACEOF
3996 #define SIZEOF_SHORT $ac_cv_sizeof_short
4000 echo "$as_me:$LINENO: checking for int" >&5
4001 echo $ECHO_N "checking for int... $ECHO_C" >&6
4002 if test "${ac_cv_type_int+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 $ac_includes_default
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_c_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4055 echo "${ECHO_T}$ac_cv_type_int" >&6
4057 echo "$as_me:$LINENO: checking size of int" >&5
4058 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4059 if test "${ac_cv_sizeof_int+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 if test "$ac_cv_type_int" = yes; then
4063 # The cast to unsigned long works around a bug in the HP C Compiler
4064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4066 # This bug is HP SR number 8606223364.
4067 if test "$cross_compiling" = yes; then
4068 # Depending upon the size, compute the lo and hi bounds.
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 $ac_includes_default
4079 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4086 rm -f conftest.
$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088 (eval $ac_compile) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1
>conftest.err
4092 cat conftest.err
>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -z "$ac_c_werror_flag"
4096 || test ! -s conftest.err'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try
='test -s conftest.$ac_objext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4110 cat >conftest.
$ac_ext <<_ACEOF
4113 cat confdefs.h
>>conftest.
$ac_ext
4114 cat >>conftest.
$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4116 $ac_includes_default
4120 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4127 rm -f conftest.
$ac_objext
4128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4129 (eval $ac_compile) 2>conftest.er1
4131 grep -v '^ *+' conftest.er1
>conftest.err
4133 cat conftest.err
>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } &&
4136 { ac_try
='test -z "$ac_c_werror_flag"
4137 || test ! -s conftest.err'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; } &&
4143 { ac_try
='test -s conftest.$ac_objext'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; }; then
4149 ac_hi
=$ac_mid; break
4151 echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.
$ac_ext >&5
4154 ac_lo
=`expr $ac_mid + 1`
4155 if test $ac_lo -le $ac_mid; then
4159 ac_mid
=`expr 2 '*' $ac_mid + 1`
4161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.
$ac_ext >&5
4167 cat >conftest.
$ac_ext <<_ACEOF
4170 cat confdefs.h
>>conftest.
$ac_ext
4171 cat >>conftest.
$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4173 $ac_includes_default
4177 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4184 rm -f conftest.
$ac_objext
4185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4186 (eval $ac_compile) 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } &&
4193 { ac_try
='test -z "$ac_c_werror_flag"
4194 || test ! -s conftest.err'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; } &&
4200 { ac_try
='test -s conftest.$ac_objext'
4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); }; }; then
4208 cat >conftest.
$ac_ext <<_ACEOF
4211 cat confdefs.h
>>conftest.
$ac_ext
4212 cat >>conftest.
$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 $ac_includes_default
4218 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4225 rm -f conftest.
$ac_objext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4227 (eval $ac_compile) 2>conftest.er1
4229 grep -v '^ *+' conftest.er1
>conftest.err
4231 cat conftest.err
>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try
='test -z "$ac_c_werror_flag"
4235 || test ! -s conftest.err'
4236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); }; } &&
4241 { ac_try
='test -s conftest.$ac_objext'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 ac_lo
=$ac_mid; break
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.
$ac_ext >&5
4252 ac_hi
=`expr '(' $ac_mid ')' - 1`
4253 if test $ac_mid -le $ac_hi; then
4257 ac_mid
=`expr 2 '*' $ac_mid`
4259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4262 echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.
$ac_ext >&5
4267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4270 # Binary search between lo and hi bounds.
4271 while test "x$ac_lo" != "x$ac_hi"; do
4272 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4273 cat >conftest.
$ac_ext <<_ACEOF
4276 cat confdefs.h
>>conftest.
$ac_ext
4277 cat >>conftest.
$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4279 $ac_includes_default
4283 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4290 rm -f conftest.
$ac_objext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4292 (eval $ac_compile) 2>conftest.er1
4294 grep -v '^ *+' conftest.er1
>conftest.err
4296 cat conftest.err
>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try
='test -z "$ac_c_werror_flag"
4300 || test ! -s conftest.err'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try
='test -s conftest.$ac_objext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.
$ac_ext >&5
4317 ac_lo
=`expr '(' $ac_mid ')' + 1`
4319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4324 See \`config.log' for more details." >&5
4325 echo "$as_me: error: cannot compute sizeof (int), 77
4326 See \`config.log' for more details." >&2;}
4327 { (exit 1); exit 1; }; } ;;
4330 if test "$cross_compiling" = yes; then
4331 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4332 See \`config.log' for more details." >&5
4333 echo "$as_me: error: cannot run test program while cross compiling
4334 See \`config.log' for more details." >&2;}
4335 { (exit 1); exit 1; }; }
4337 cat >conftest.
$ac_ext <<_ACEOF
4340 cat confdefs.h
>>conftest.
$ac_ext
4341 cat >>conftest.
$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4343 $ac_includes_default
4344 long longval () { return (long) (sizeof (int)); }
4345 unsigned long ulongval () { return (long) (sizeof (int)); }
4352 FILE *f = fopen ("conftest.val", "w");
4355 if (((long) (sizeof (int))) < 0)
4357 long i = longval ();
4358 if (i != ((long) (sizeof (int))))
4360 fprintf (f, "%ld\n", i);
4364 unsigned long i = ulongval ();
4365 if (i != ((long) (sizeof (int))))
4367 fprintf (f, "%lu\n", i);
4369 exit (ferror (f) || fclose (f) != 0);
4375 rm -f conftest
$ac_exeext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4377 (eval $ac_link) 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then
4386 ac_cv_sizeof_int
=`cat conftest.val`
4388 echo "$as_me: program exited with status $ac_status" >&5
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4394 See \`config.log' for more details." >&5
4395 echo "$as_me: error: cannot compute sizeof (int), 77
4396 See \`config.log' for more details." >&2;}
4397 { (exit 1); exit 1; }; }
4399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4408 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4409 cat >>confdefs.h
<<_ACEOF
4410 #define SIZEOF_INT $ac_cv_sizeof_int
4414 echo "$as_me:$LINENO: checking for long" >&5
4415 echo $ECHO_N "checking for long... $ECHO_C" >&6
4416 if test "${ac_cv_type_long+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 cat >conftest.
$ac_ext <<_ACEOF
4422 cat confdefs.h
>>conftest.
$ac_ext
4423 cat >>conftest.
$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4425 $ac_includes_default
4437 rm -f conftest.
$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -z "$ac_c_werror_flag"
4447 || test ! -s conftest.err'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; } &&
4453 { ac_try
='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.
$ac_ext >&5
4466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4468 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4469 echo "${ECHO_T}$ac_cv_type_long" >&6
4471 echo "$as_me:$LINENO: checking size of long" >&5
4472 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4473 if test "${ac_cv_sizeof_long+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 if test "$ac_cv_type_long" = yes; then
4477 # The cast to unsigned long works around a bug in the HP C Compiler
4478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4480 # This bug is HP SR number 8606223364.
4481 if test "$cross_compiling" = yes; then
4482 # Depending upon the size, compute the lo and hi bounds.
4483 cat >conftest.
$ac_ext <<_ACEOF
4486 cat confdefs.h
>>conftest.
$ac_ext
4487 cat >>conftest.
$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4489 $ac_includes_default
4493 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4500 rm -f conftest.
$ac_objext
4501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4502 (eval $ac_compile) 2>conftest.er1
4504 grep -v '^ *+' conftest.er1
>conftest.err
4506 cat conftest.err
>&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } &&
4509 { ac_try
='test -z "$ac_c_werror_flag"
4510 || test ! -s conftest.err'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; } &&
4516 { ac_try
='test -s conftest.$ac_objext'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4524 cat >conftest.
$ac_ext <<_ACEOF
4527 cat confdefs.h
>>conftest.
$ac_ext
4528 cat >>conftest.
$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4530 $ac_includes_default
4534 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4541 rm -f conftest.
$ac_objext
4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4543 (eval $ac_compile) 2>conftest.er1
4545 grep -v '^ *+' conftest.er1
>conftest.err
4547 cat conftest.err
>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -z "$ac_c_werror_flag"
4551 || test ! -s conftest.err'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; } &&
4557 { ac_try
='test -s conftest.$ac_objext'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; }; then
4563 ac_hi
=$ac_mid; break
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4568 ac_lo
=`expr $ac_mid + 1`
4569 if test $ac_lo -le $ac_mid; then
4573 ac_mid
=`expr 2 '*' $ac_mid + 1`
4575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 cat >conftest.
$ac_ext <<_ACEOF
4584 cat confdefs.h
>>conftest.
$ac_ext
4585 cat >>conftest.
$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 $ac_includes_default
4591 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4598 rm -f conftest.
$ac_objext
4599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4600 (eval $ac_compile) 2>conftest.er1
4602 grep -v '^ *+' conftest.er1
>conftest.err
4604 cat conftest.err
>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } &&
4607 { ac_try
='test -z "$ac_c_werror_flag"
4608 || test ! -s conftest.err'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; } &&
4614 { ac_try
='test -s conftest.$ac_objext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4622 cat >conftest.
$ac_ext <<_ACEOF
4625 cat confdefs.h
>>conftest.
$ac_ext
4626 cat >>conftest.
$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 $ac_includes_default
4632 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4639 rm -f conftest.
$ac_objext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4641 (eval $ac_compile) 2>conftest.er1
4643 grep -v '^ *+' conftest.er1
>conftest.err
4645 cat conftest.err
>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try
='test -z "$ac_c_werror_flag"
4649 || test ! -s conftest.err'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; } &&
4655 { ac_try
='test -s conftest.$ac_objext'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 ac_lo
=$ac_mid; break
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 ac_hi
=`expr '(' $ac_mid ')' - 1`
4667 if test $ac_mid -le $ac_hi; then
4671 ac_mid
=`expr 2 '*' $ac_mid`
4673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.
$ac_ext >&5
4681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4684 # Binary search between lo and hi bounds.
4685 while test "x$ac_lo" != "x$ac_hi"; do
4686 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4687 cat >conftest.
$ac_ext <<_ACEOF
4690 cat confdefs.h
>>conftest.
$ac_ext
4691 cat >>conftest.
$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 $ac_includes_default
4697 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4704 rm -f conftest.
$ac_objext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706 (eval $ac_compile) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1
>conftest.err
4710 cat conftest.err
>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try
='test -z "$ac_c_werror_flag"
4714 || test ! -s conftest.err'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; } &&
4720 { ac_try
='test -s conftest.$ac_objext'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4728 echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.
$ac_ext >&5
4731 ac_lo
=`expr '(' $ac_mid ')' + 1`
4733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4737 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4738 See \`config.log' for more details." >&5
4739 echo "$as_me: error: cannot compute sizeof (long), 77
4740 See \`config.log' for more details." >&2;}
4741 { (exit 1); exit 1; }; } ;;
4744 if test "$cross_compiling" = yes; then
4745 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4746 See \`config.log' for more details." >&5
4747 echo "$as_me: error: cannot run test program while cross compiling
4748 See \`config.log' for more details." >&2;}
4749 { (exit 1); exit 1; }; }
4751 cat >conftest.
$ac_ext <<_ACEOF
4754 cat confdefs.h
>>conftest.
$ac_ext
4755 cat >>conftest.
$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 $ac_includes_default
4758 long longval () { return (long) (sizeof (long)); }
4759 unsigned long ulongval () { return (long) (sizeof (long)); }
4766 FILE *f = fopen ("conftest.val", "w");
4769 if (((long) (sizeof (long))) < 0)
4771 long i = longval ();
4772 if (i != ((long) (sizeof (long))))
4774 fprintf (f, "%ld\n", i);
4778 unsigned long i = ulongval ();
4779 if (i != ((long) (sizeof (long))))
4781 fprintf (f, "%lu\n", i);
4783 exit (ferror (f) || fclose (f) != 0);
4789 rm -f conftest
$ac_exeext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4791 (eval $ac_link) 2>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4800 ac_cv_sizeof_long
=`cat conftest.val`
4802 echo "$as_me: program exited with status $ac_status" >&5
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4807 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4808 See \`config.log' for more details." >&5
4809 echo "$as_me: error: cannot compute sizeof (long), 77
4810 See \`config.log' for more details." >&2;}
4811 { (exit 1); exit 1; }; }
4813 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4822 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4823 cat >>confdefs.h
<<_ACEOF
4824 #define SIZEOF_LONG $ac_cv_sizeof_long
4828 echo "$as_me:$LINENO: checking for long long" >&5
4829 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4830 if test "${ac_cv_type_long_long+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 cat >conftest.
$ac_ext <<_ACEOF
4836 cat confdefs.h
>>conftest.
$ac_ext
4837 cat >>conftest.
$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4839 $ac_includes_default
4843 if ((long long *) 0)
4845 if (sizeof (long long))
4851 rm -f conftest.
$ac_objext
4852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4853 (eval $ac_compile) 2>conftest.er1
4855 grep -v '^ *+' conftest.er1
>conftest.err
4857 cat conftest.err
>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try
='test -z "$ac_c_werror_flag"
4861 || test ! -s conftest.err'
4862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }; } &&
4867 { ac_try
='test -s conftest.$ac_objext'
4868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; }; then
4873 ac_cv_type_long_long
=yes
4875 echo "$as_me: failed program was:" >&5
4876 sed 's/^/| /' conftest.
$ac_ext >&5
4878 ac_cv_type_long_long
=no
4880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4882 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4883 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4885 echo "$as_me:$LINENO: checking size of long long" >&5
4886 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4887 if test "${ac_cv_sizeof_long_long+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 if test "$ac_cv_type_long_long" = yes; then
4891 # The cast to unsigned long works around a bug in the HP C Compiler
4892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4894 # This bug is HP SR number 8606223364.
4895 if test "$cross_compiling" = yes; then
4896 # Depending upon the size, compute the lo and hi bounds.
4897 cat >conftest.
$ac_ext <<_ACEOF
4900 cat confdefs.h
>>conftest.
$ac_ext
4901 cat >>conftest.
$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4903 $ac_includes_default
4907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4914 rm -f conftest.
$ac_objext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4916 (eval $ac_compile) 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try
='test -z "$ac_c_werror_flag"
4924 || test ! -s conftest.err'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try
='test -s conftest.$ac_objext'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4938 cat >conftest.
$ac_ext <<_ACEOF
4941 cat confdefs.h
>>conftest.
$ac_ext
4942 cat >>conftest.
$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 $ac_includes_default
4948 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4955 rm -f conftest.
$ac_objext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957 (eval $ac_compile) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1
>conftest.err
4961 cat conftest.err
>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try
='test -z "$ac_c_werror_flag"
4965 || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try
='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 ac_hi
=$ac_mid; break
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.
$ac_ext >&5
4982 ac_lo
=`expr $ac_mid + 1`
4983 if test $ac_lo -le $ac_mid; then
4987 ac_mid
=`expr 2 '*' $ac_mid + 1`
4989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4995 cat >conftest.
$ac_ext <<_ACEOF
4998 cat confdefs.h
>>conftest.
$ac_ext
4999 cat >>conftest.
$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5001 $ac_includes_default
5005 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
5012 rm -f conftest.
$ac_objext
5013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5014 (eval $ac_compile) 2>conftest.er1
5016 grep -v '^ *+' conftest.er1
>conftest.err
5018 cat conftest.err
>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try
='test -z "$ac_c_werror_flag"
5022 || test ! -s conftest.err'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try
='test -s conftest.$ac_objext'
5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; }; then
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 $ac_includes_default
5046 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
5053 rm -f conftest.
$ac_objext
5054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5055 (eval $ac_compile) 2>conftest.er1
5057 grep -v '^ *+' conftest.er1
>conftest.err
5059 cat conftest.err
>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } &&
5062 { ac_try
='test -z "$ac_c_werror_flag"
5063 || test ! -s conftest.err'
5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; } &&
5069 { ac_try
='test -s conftest.$ac_objext'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; }; then
5075 ac_lo
=$ac_mid; break
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 ac_hi
=`expr '(' $ac_mid ')' - 1`
5081 if test $ac_mid -le $ac_hi; then
5085 ac_mid
=`expr 2 '*' $ac_mid`
5087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.
$ac_ext >&5
5095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5098 # Binary search between lo and hi bounds.
5099 while test "x$ac_lo" != "x$ac_hi"; do
5100 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5101 cat >conftest.
$ac_ext <<_ACEOF
5104 cat confdefs.h
>>conftest.
$ac_ext
5105 cat >>conftest.
$ac_ext <<_ACEOF
5106 /* end confdefs.h. */
5107 $ac_includes_default
5111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5118 rm -f conftest.
$ac_objext
5119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5120 (eval $ac_compile) 2>conftest.er1
5122 grep -v '^ *+' conftest.er1
>conftest.err
5124 cat conftest.err
>&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); } &&
5127 { ac_try
='test -z "$ac_c_werror_flag"
5128 || test ! -s conftest.err'
5129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); }; } &&
5134 { ac_try
='test -s conftest.$ac_objext'
5135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); }; }; then
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.
$ac_ext >&5
5145 ac_lo
=`expr '(' $ac_mid ')' + 1`
5147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5150 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5151 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5152 See \`config.log' for more details." >&5
5153 echo "$as_me: error: cannot compute sizeof (long long), 77
5154 See \`config.log' for more details." >&2;}
5155 { (exit 1); exit 1; }; } ;;
5158 if test "$cross_compiling" = yes; then
5159 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5160 See \`config.log' for more details." >&5
5161 echo "$as_me: error: cannot run test program while cross compiling
5162 See \`config.log' for more details." >&2;}
5163 { (exit 1); exit 1; }; }
5165 cat >conftest.
$ac_ext <<_ACEOF
5168 cat confdefs.h
>>conftest.
$ac_ext
5169 cat >>conftest.
$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 $ac_includes_default
5172 long longval () { return (long) (sizeof (long long)); }
5173 unsigned long ulongval () { return (long) (sizeof (long long)); }
5180 FILE *f = fopen ("conftest.val", "w");
5183 if (((long) (sizeof (long long))) < 0)
5185 long i = longval ();
5186 if (i != ((long) (sizeof (long long))))
5188 fprintf (f, "%ld\n", i);
5192 unsigned long i = ulongval ();
5193 if (i != ((long) (sizeof (long long))))
5195 fprintf (f, "%lu\n", i);
5197 exit (ferror (f) || fclose (f) != 0);
5203 rm -f conftest
$ac_exeext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5205 (eval $ac_link) 2>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; }; then
5214 ac_cv_sizeof_long_long
=`cat conftest.val`
5216 echo "$as_me: program exited with status $ac_status" >&5
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.
$ac_ext >&5
5221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5222 See \`config.log' for more details." >&5
5223 echo "$as_me: error: cannot compute sizeof (long long), 77
5224 See \`config.log' for more details." >&2;}
5225 { (exit 1); exit 1; }; }
5227 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5232 ac_cv_sizeof_long_long
=0
5235 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5236 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5237 cat >>confdefs.h
<<_ACEOF
5238 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5244 $ac_cv_sizeof_short) SIZE16
="short";;
5245 $ac_cv_sizeof_int) SIZE16
="int";;
5249 $ac_cv_sizeof_int) SIZE32
="int";;
5250 $ac_cv_sizeof_long) SIZE32
="long";;
5251 $ac_cv_sizeof_short) SIZE32
="short";;
5258 OPAL_HAVE_SPEEX_SPEEX_H
=
5260 for ac_header
in "speex.h"
5262 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5264 echo "$as_me:$LINENO: checking for $ac_header" >&5
5265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5272 # Is the header compilable?
5273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5275 cat >conftest.
$ac_ext <<_ACEOF
5278 cat confdefs.h
>>conftest.
$ac_ext
5279 cat >>conftest.
$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5281 $ac_includes_default
5282 #include <$ac_header>
5284 rm -f conftest.
$ac_objext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5286 (eval $ac_compile) 2>conftest.er1
5288 grep -v '^ *+' conftest.er1
>conftest.err
5290 cat conftest.err
>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try
='test -z "$ac_c_werror_flag"
5294 || test ! -s conftest.err'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; } &&
5300 { ac_try
='test -s conftest.$ac_objext'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_header_compiler
=yes
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.
$ac_ext >&5
5311 ac_header_compiler
=no
5313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5315 echo "${ECHO_T}$ac_header_compiler" >&6
5317 # Is the header present?
5318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5320 cat >conftest.
$ac_ext <<_ACEOF
5323 cat confdefs.h
>>conftest.
$ac_ext
5324 cat >>conftest.
$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #include <$ac_header>
5328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5331 grep -v '^ *+' conftest.er1
>conftest.err
5333 cat conftest.err
>&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } >/dev
/null
; then
5336 if test -s conftest.err
; then
5337 ac_cpp_err
=$ac_c_preproc_warn_flag
5338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5345 if test -z "$ac_cpp_err"; then
5346 ac_header_preproc
=yes
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.
$ac_ext >&5
5351 ac_header_preproc
=no
5353 rm -f conftest.err conftest.
$ac_ext
5354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5355 echo "${ECHO_T}$ac_header_preproc" >&6
5357 # So? What about this header?
5358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5364 ac_header_preproc
=yes
5367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5381 ## ------------------------------------------ ##
5382 ## Report this to the AC_PACKAGE_NAME lists. ##
5383 ## ------------------------------------------ ##
5386 sed "s/^/$as_me: WARNING: /" >&2
5389 echo "$as_me:$LINENO: checking for $ac_header" >&5
5390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 eval "$as_ac_Header=\$ac_header_preproc"
5396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5401 cat >>confdefs.h
<<_ACEOF
5402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5409 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5410 cat >>confdefs.h
<<\_ACEOF
5411 #define OPAL_HAVE_SPEEX_H 1
5416 for ac_header
in "speex/speex.h"
5418 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5420 echo "$as_me:$LINENO: checking for $ac_header" >&5
5421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5428 # Is the header compilable?
5429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5431 cat >conftest.
$ac_ext <<_ACEOF
5434 cat confdefs.h
>>conftest.
$ac_ext
5435 cat >>conftest.
$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5437 $ac_includes_default
5438 #include <$ac_header>
5440 rm -f conftest.
$ac_objext
5441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5442 (eval $ac_compile) 2>conftest.er1
5444 grep -v '^ *+' conftest.er1
>conftest.err
5446 cat conftest.err
>&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } &&
5449 { ac_try
='test -z "$ac_c_werror_flag"
5450 || test ! -s conftest.err'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; } &&
5456 { ac_try
='test -s conftest.$ac_objext'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5462 ac_header_compiler
=yes
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.
$ac_ext >&5
5467 ac_header_compiler
=no
5469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5471 echo "${ECHO_T}$ac_header_compiler" >&6
5473 # Is the header present?
5474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5479 cat confdefs.h
>>conftest.
$ac_ext
5480 cat >>conftest.
$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5482 #include <$ac_header>
5484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5487 grep -v '^ *+' conftest.er1
>conftest.err
5489 cat conftest.err
>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } >/dev
/null
; then
5492 if test -s conftest.err
; then
5493 ac_cpp_err
=$ac_c_preproc_warn_flag
5494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5501 if test -z "$ac_cpp_err"; then
5502 ac_header_preproc
=yes
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.
$ac_ext >&5
5507 ac_header_preproc
=no
5509 rm -f conftest.err conftest.
$ac_ext
5510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5511 echo "${ECHO_T}$ac_header_preproc" >&6
5513 # So? What about this header?
5514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5520 ac_header_preproc
=yes
5523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5537 ## ------------------------------------------ ##
5538 ## Report this to the AC_PACKAGE_NAME lists. ##
5539 ## ------------------------------------------ ##
5542 sed "s/^/$as_me: WARNING: /" >&2
5545 echo "$as_me:$LINENO: checking for $ac_header" >&5
5546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 eval "$as_ac_Header=\$ac_header_preproc"
5552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5557 cat >>confdefs.h
<<_ACEOF
5558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5560 OPAL_HAVE_SPEEX_SPEEX_H
=1
5565 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5566 cat >>confdefs.h
<<\_ACEOF
5567 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5573 if test "${localspeex}" = "yes" ; then
5574 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5575 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5576 elif test "${localspeex}" = "no" ; then
5577 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5578 echo "$as_me: Forcing use of system Speex library" >&6;}
5579 cat >>confdefs.h
<<\_ACEOF
5580 #define OPAL_SYSTEM_SPEEX 1
5586 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5587 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5588 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_check_lib_save_LIBS
=$LIBS
5592 LIBS
="-lspeex $LIBS"
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5600 /* Override any gcc2 internal prototype to avoid an error. */
5604 /* We use char because int might match the return type of a gcc2
5605 builtin and then its argument prototype would still apply. */
5606 char speex_encoder_destroy ();
5610 speex_encoder_destroy ();
5615 rm -f conftest.
$ac_objext conftest
$ac_exeext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5617 (eval $ac_link) 2>conftest.er1
5619 grep -v '^ *+' conftest.er1
>conftest.err
5621 cat conftest.err
>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } &&
5624 { ac_try
='test -z "$ac_c_werror_flag"
5625 || test ! -s conftest.err'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; } &&
5631 { ac_try
='test -s conftest$ac_exeext'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; }; then
5637 ac_cv_lib_speex_speex_encoder_destroy
=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5642 ac_cv_lib_speex_speex_encoder_destroy
=no
5644 rm -f conftest.err conftest.
$ac_objext \
5645 conftest
$ac_exeext conftest.
$ac_ext
5646 LIBS
=$ac_check_lib_save_LIBS
5648 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5649 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5650 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5654 if test "${SPEEX}x" != "x" ; then
5655 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5656 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5657 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 ac_check_lib_save_LIBS
=$LIBS
5661 LIBS
="-lspeex $LIBS"
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5669 /* Override any gcc2 internal prototype to avoid an error. */
5673 /* We use char because int might match the return type of a gcc2
5674 builtin and then its argument prototype would still apply. */
5675 char speex_encode_int ();
5679 speex_encode_int ();
5684 rm -f conftest.
$ac_objext conftest
$ac_exeext
5685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5686 (eval $ac_link) 2>conftest.er1
5688 grep -v '^ *+' conftest.er1
>conftest.err
5690 cat conftest.err
>&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try
='test -z "$ac_c_werror_flag"
5694 || test ! -s conftest.err'
5695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); }; } &&
5700 { ac_try
='test -s conftest$ac_exeext'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; }; then
5706 ac_cv_lib_speex_speex_encode_int
=yes
5708 echo "$as_me: failed program was:" >&5
5709 sed 's/^/| /' conftest.
$ac_ext >&5
5711 ac_cv_lib_speex_speex_encode_int
=no
5713 rm -f conftest.err conftest.
$ac_objext \
5714 conftest
$ac_exeext conftest.
$ac_ext
5715 LIBS
=$ac_check_lib_save_LIBS
5717 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5718 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5719 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5726 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5727 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5728 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5730 echo "$as_me:$LINENO: checking system Speex version" >&5
5731 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5732 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5733 echo "#include <speex.h>" > t.c
5734 echo "#include <speex_header.h>" >> t.c
5736 echo "#include <speex/speex.h>" > t.c
5737 echo "#include <speex/speex_header.h>" >> t.c
5741 int main(int argc,char *argv)
5744 speex_init_header(&header, 1, 1, &speex_nb_mode);
5745 printf("%s\n", header.speex_version);
5748 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5749 if test \
! -x t
; then
5750 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5751 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5754 echo "$as_me:$LINENO: result: $SYSVER" >&5
5755 echo "${ECHO_T}$SYSVER" >&6
5756 echo "$as_me:$LINENO: checking OPAL Speex version" >&5
5757 echo $ECHO_N "checking OPAL Speex version... $ECHO_C" >&6
5758 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5759 echo "$as_me:$LINENO: result: $LIBVER" >&5
5760 echo "${ECHO_T}$LIBVER" >&6
5761 echo "$as_me:$LINENO: checking Speex versions" >&5
5762 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5765 \$sysver = @ARGV[0];
5766 \$libver = @ARGV[1];
5767 @lib = split /\./, \$libver;
5771 @sys = split /\./, \$sysver;
5777 if (@sys[\$i] < @lib[\$i]) {
5786 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5788 if test "x$SPEEX" = "x0" ; then
5789 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5790 echo "${ECHO_T}OPAL version is more recent" >&6
5792 echo "$as_me:$LINENO: result: system version is more recent" >&5
5793 echo "${ECHO_T}system version is more recent" >&6
5794 cat >>confdefs.h
<<\_ACEOF
5795 #define OPAL_SYSTEM_SPEEX 1
5800 echo "$as_me:$LINENO: checking Speex noise type" >&5
5801 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5802 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5803 echo "#include <speex.h>" > t.c
5804 echo "#include <speex_preprocess.h>" >> t.c
5806 echo "#include <speex/speex.h>" > t.c
5807 echo "#include <speex/speex_preprocess.h>" >> t.c
5811 int main(int argc,char *argv)
5813 struct SpeexPreprocessState *st;
5816 speex_preprocess(st, x, echo);
5820 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5821 if test \
! -x t
; then
5822 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5823 echo "${ECHO_T}spx_int32_t" >&6
5825 echo "$as_me:$LINENO: result: float" >&5
5826 echo "${ECHO_T}float" >&6
5827 cat >>confdefs.h
<<\_ACEOF
5828 #define OPAL_SPEEX_FLOAT_NOISE 1
5842 # Check whether --enable-audio or --disable-audio was given.
5843 if test "${enable_audio+set}" = set; then
5844 enableval
="$enable_audio"
5847 echo "$as_me:$LINENO: checking audio codec support" >&5
5848 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6
5849 if test "$audio" = "yes" ; then
5852 cat >>confdefs.h
<<\_ACEOF
5853 #define OPAL_AUDIO 1
5856 echo "$as_me:$LINENO: result: enabled" >&5
5857 echo "${ECHO_T}enabled" >&6
5859 echo "$as_me:$LINENO: result: disabled" >&5
5860 echo "${ECHO_T}disabled" >&6
5866 # Check whether --enable-video or --disable-video was given.
5867 if test "${enable_video+set}" = set; then
5868 enableval
="$enable_video"
5871 echo "$as_me:$LINENO: checking video device support" >&5
5872 echo $ECHO_N "checking video device support... $ECHO_C" >&6
5873 if test "$video" = "yes" ; then
5876 cat >>confdefs.h
<<\_ACEOF
5877 #define OPAL_VIDEO 1
5880 echo "$as_me:$LINENO: result: enabled" >&5
5881 echo "${ECHO_T}enabled" >&6
5883 echo "$as_me:$LINENO: result: disabled" >&5
5884 echo "${ECHO_T}disabled" >&6
5889 # Check whether --enable-sip or --disable-sip was given.
5890 if test "${enable_sip+set}" = set; then
5891 enableval
="$enable_sip"
5894 echo "$as_me:$LINENO: checking SIP protocol" >&5
5895 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5896 if test "$sip" = "yes" ; then
5899 cat >>confdefs.h
<<\_ACEOF
5903 echo "$as_me:$LINENO: result: enabled" >&5
5904 echo "${ECHO_T}enabled" >&6
5906 echo "$as_me:$LINENO: result: disabled" >&5
5907 echo "${ECHO_T}disabled" >&6
5912 # Check whether --enable-h323 or --disable-h323 was given.
5913 if test "${enable_h323+set}" = set; then
5914 enableval
="$enable_h323"
5917 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5918 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5919 if test "$h323" = "yes" ; then
5922 cat >>confdefs.h
<<\_ACEOF
5926 echo "$as_me:$LINENO: result: enabled" >&5
5927 echo "${ECHO_T}enabled" >&6
5931 echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
5932 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6
5936 OPAL_H323
=$OPAL_H323
5941 # Check whether --enable-iax or --disable-iax was given.
5942 if test "${enable_iax+set}" = set; then
5943 enableval
="$enable_iax"
5946 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5947 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5948 if test "$iax" = "yes" ; then
5951 cat >>confdefs.h
<<\_ACEOF
5955 echo "$as_me:$LINENO: result: enabled" >&5
5956 echo "${ECHO_T}enabled" >&6
5958 echo "$as_me:$LINENO: result: disabled" >&5
5959 echo "${ECHO_T}disabled" >&6
5964 # Check whether --enable-h224 or --disable-h224 was given.
5965 if test "${enable_h224+set}" = set; then
5966 enableval
="$enable_h224"
5969 echo "$as_me:$LINENO: checking H224 protocol" >&5
5970 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5971 if test "$h224" = "yes" ; then
5974 cat >>confdefs.h
<<\_ACEOF
5978 echo "$as_me:$LINENO: result: enabled" >&5
5979 echo "${ECHO_T}enabled" >&6
5981 echo "$as_me:$LINENO: result: disabled" >&5
5982 echo "${ECHO_T}disabled" >&6
5987 if test "$t38" = "yes" ; then
5988 # Check whether --enable-t38 or --disable-t38 was given.
5989 if test "${enable_t38+set}" = set; then
5990 enableval
="$enable_t38"
5993 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5994 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5995 if test "$t38" = "yes" ; then
5998 cat >>confdefs.h
<<\_ACEOF
5999 #define OPAL_T38FAX 1
6002 echo "$as_me:$LINENO: result: enabled" >&5
6003 echo "${ECHO_T}enabled" >&6
6005 echo "$as_me:$LINENO: result: disabled" >&5
6006 echo "${ECHO_T}disabled" >&6
6014 if test "$h450" = "yes" ; then
6015 # Check whether --enable-h450 or --disable-h450 was given.
6016 if test "${enable_h450+set}" = set; then
6017 enableval
="$enable_h450"
6020 echo "$as_me:$LINENO: checking H.450 support" >&5
6021 echo $ECHO_N "checking H.450 support... $ECHO_C" >&6
6022 if test "$h450" = "yes" ; then
6025 cat >>confdefs.h
<<\_ACEOF
6029 echo "$as_me:$LINENO: result: enabled" >&5
6030 echo "${ECHO_T}enabled" >&6
6032 echo "$as_me:$LINENO: result: disabled" >&5
6033 echo "${ECHO_T}disabled" >&6
6041 if test "$h460" = "yes" ; then
6042 # Check whether --enable-h460 or --disable-h460 was given.
6043 if test "${enable_h460+set}" = set; then
6044 enableval
="$enable_h460"
6047 echo "$as_me:$LINENO: checking H.460 support" >&5
6048 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6
6049 if test "$h460" = "yes" ; then
6052 cat >>confdefs.h
<<\_ACEOF
6056 echo "$as_me:$LINENO: result: enabled" >&5
6057 echo "${ECHO_T}enabled" >&6
6059 echo "$as_me:$LINENO: result: disabled" >&5
6060 echo "${ECHO_T}disabled" >&6
6069 if test "$lid" = "yes" ; then
6070 # Check whether --enable-lid or --disable-lid was given.
6071 if test "${enable_lid+set}" = set; then
6072 enableval
="$enable_lid"
6075 echo "$as_me:$LINENO: checking LID support" >&5
6076 echo $ECHO_N "checking LID support... $ECHO_C" >&6
6077 if test "$lid" = "yes" ; then
6078 cat >>confdefs.h
<<\_ACEOF
6083 echo "$as_me:$LINENO: result: enabled" >&5
6084 echo "${ECHO_T}enabled" >&6
6086 echo "$as_me:$LINENO: result: disabled" >&5
6087 echo "${ECHO_T}disabled" >&6
6096 if test "$ivr" = "yes" ; then
6097 # Check whether --enable-ivr or --disable-ivr was given.
6098 if test "${enable_ivr+set}" = set; then
6099 enableval
="$enable_ivr"
6102 echo "$as_me:$LINENO: checking IVR support" >&5
6103 echo $ECHO_N "checking IVR support... $ECHO_C" >&6
6104 if test "$ivr" = "yes" ; then
6105 cat >>confdefs.h
<<\_ACEOF
6110 echo "$as_me:$LINENO: result: enabled" >&5
6111 echo "${ECHO_T}enabled" >&6
6113 echo "$as_me:$LINENO: result: disabled" >&5
6114 echo "${ECHO_T}disabled" >&6
6123 if test "$rfc4175" = "yes" ; then
6124 # Check whether --enable-rfc4175 or --disable-rfc4175 was given.
6125 if test "${enable_rfc4175+set}" = set; then
6126 enableval
="$enable_rfc4175"
6129 echo "$as_me:$LINENO: checking RFC4175 codec" >&5
6130 echo $ECHO_N "checking RFC4175 codec... $ECHO_C" >&6
6131 if test "$rfc4175" = "yes" ; then
6134 cat >>confdefs.h
<<\_ACEOF
6135 #define OPAL_RFC4175 1
6138 echo "$as_me:$LINENO: result: enabled" >&5
6139 echo "${ECHO_T}enabled" >&6
6141 echo "$as_me:$LINENO: result: disabled" >&5
6142 echo "${ECHO_T}disabled" >&6
6157 echo "$as_me:$LINENO: checking for libSRTP" >&5
6158 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6165 #include "srtp/srtp.h"
6169 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
6174 rm -f conftest.
$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^ *+' conftest.er1
>conftest.err
6180 cat conftest.err
>&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try
='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try
='test -s conftest.$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6203 if test "${HAS_LIBSRTP}" = "1" ; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6206 cat >>confdefs.h
<<\_ACEOF
6207 #define HAS_LIBSRTP 1
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6223 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6224 if test -f $ac_dir/install-sh
; then
6226 ac_install_sh
="$ac_aux_dir/install-sh -c"
6228 elif test -f $ac_dir/install.sh
; then
6230 ac_install_sh
="$ac_aux_dir/install.sh -c"
6232 elif test -f $ac_dir/shtool
; then
6234 ac_install_sh
="$ac_aux_dir/shtool install -c"
6238 if test -z "$ac_aux_dir"; then
6239 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6240 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6241 { (exit 1); exit 1; }; }
6243 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6244 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6245 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6247 # Find a good install program. We prefer a C program (faster),
6248 # so one script is as good as another. But avoid the broken or
6249 # incompatible versions:
6250 # SysV /etc/install, /usr/sbin/install
6251 # SunOS /usr/etc/install
6252 # IRIX /sbin/install
6254 # AmigaOS /C/install, which installs bootblocks on floppy discs
6255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6258 # OS/2's system install, which has a completely different semantic
6259 # ./install, which can be erroneously created by make from ./install.sh.
6260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6262 if test -z "$INSTALL"; then
6263 if test "${ac_cv_path_install+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir
=.
6271 # Account for people who put trailing slashes in PATH elements.
6273 .
/ | .
// |
/cC
/* | \
6274 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6275 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6278 # OSF1 and SCO ODT 3.0 have their own names for install.
6279 # Don't use installbsd from OSF since it installs stuff as root
6281 for ac_prog
in ginstall scoinst
install; do
6282 for ac_exec_ext
in '' $ac_executable_extensions; do
6283 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6284 if test $ac_prog = install &&
6285 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6286 # AIX install. It has an incompatible calling convention.
6288 elif test $ac_prog = install &&
6289 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6290 # program-specific install script used by HP pwplus--don't use.
6293 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6305 if test "${ac_cv_path_install+set}" = set; then
6306 INSTALL
=$ac_cv_path_install
6308 # As a last resort, use the slow shell script. We don't cache a
6309 # path for INSTALL within a source directory, because that will
6310 # break other packages using the cache if that directory is
6311 # removed, or if the path is relative.
6312 INSTALL
=$ac_install_sh
6315 echo "$as_me:$LINENO: result: $INSTALL" >&5
6316 echo "${ECHO_T}$INSTALL" >&6
6318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6319 # It thinks the first close brace ends the variable substitution.
6320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6324 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6330 subdirs
="$subdirs plugins"
6334 ac_config_files
="$ac_config_files opal_inc.mak"
6336 ac_config_files
="$ac_config_files Makefile"
6338 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6340 ac_config_files
="$ac_config_files opal.pc"
6342 ac_config_files
="$ac_config_files opal.spec"
6344 ac_config_files
="$ac_config_files opal_cfg.dxy"
6347 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6348 cat >confcache
<<\_ACEOF
6349 # This file is a shell script that caches the results of configure
6350 # tests run on this system so they can be shared between configure
6351 # scripts and configure runs, see configure's option --config-cache.
6352 # It is not useful on other systems. If it contains results you don't
6353 # want to keep, you may remove or edit it.
6355 # config.status only pays attention to the cache file if you give it
6356 # the --recheck option to rerun configure.
6358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6364 # The following way of writing the cache mishandles newlines in values,
6365 # but we know of no workaround that is simple, portable, and efficient.
6366 # So, don't put newlines in cache variables' values.
6367 # Ultrix sh set writes to stderr and can't be redirected directly,
6368 # and sets the high bit in the cache file unless we assign to the vars.
6371 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6373 # `set' does not quote correctly, so add quotes (double-quote
6374 # substitution turns \\\\ into \\, and sed turns \\ into \).
6377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6380 # `set' quotes correctly as required by POSIX, so do not add quotes.
6382 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6391 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6393 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6394 if test -w $cache_file; then
6395 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6396 cat confcache
>$cache_file
6398 echo "not updating unwritable cache $cache_file"
6403 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6404 # Let make expand exec_prefix.
6405 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6407 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6408 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6409 # trailing colons and then remove the whole line if VPATH becomes empty
6410 # (actually we leave an empty line to preserve line numbers).
6411 if test "x$srcdir" = x.
; then
6412 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6413 s/:*\$(srcdir):*/:/;
6414 s/:*\${srcdir}:*/:/;
6416 s/^\([^=]*=[ ]*\):*/\1/;
6422 DEFS
=-DHAVE_CONFIG_H
6426 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6427 # 1. Remove the extension, and $U if already installed.
6428 ac_i
=`echo "$ac_i" |
6429 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6431 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6432 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6436 LTLIBOBJS
=$ac_ltlibobjs
6440 : ${CONFIG_STATUS=./config.status}
6441 ac_clean_files_save
=$ac_clean_files
6442 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6443 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6444 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6445 cat >$CONFIG_STATUS <<_ACEOF
6447 # Generated by $as_me.
6448 # Run this file to recreate the current configuration.
6449 # Compiler output produced by configure, useful for debugging
6450 # configure, is in config.log if it exists.
6455 SHELL=\${CONFIG_SHELL-$SHELL}
6458 cat >>$CONFIG_STATUS <<\_ACEOF
6459 ## --------------------- ##
6460 ## M4sh Initialization. ##
6461 ## --------------------- ##
6463 # Be Bourne compatible
6464 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6468 # is contrary to our usage. Disable this feature.
6469 alias -g '${1+"$@"}'='"$@"'
6470 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6473 DUALCASE
=1; export DUALCASE
# for MKS sh
6475 # Support unset when possible.
6476 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6483 # Work around bugs in pre-3.0 UWIN ksh.
6484 $as_unset ENV MAIL MAILPATH
6491 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6492 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6493 LC_TELEPHONE LC_TIME
6495 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6496 eval $as_var=C
; export $as_var
6502 # Required to use basename.
6503 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6509 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6510 as_basename
=basename
6516 # Name of the executable.
6517 as_me
=`$as_basename "$0" ||
6518 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6519 X"$0" : 'X\(//\)$' \| \
6520 X"$0" : 'X\(/\)$' \| \
6521 . : '\(.\)' 2>/dev/null ||
6523 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6524 /^X\/\(\/\/\)$/{ s//\1/; q; }
6525 /^X\/\(\/\).*/{ s//\1/; q; }
6529 # PATH needs CR, and LINENO needs CR and PATH.
6530 # Avoid depending upon Character Ranges.
6531 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6532 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6533 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6534 as_cr_digits
='0123456789'
6535 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6537 # The user is always right.
6538 if test "${PATH_SEPARATOR+set}" != set; then
6539 echo "#! /bin/sh" >conf$$.sh
6540 echo "exit 0" >>conf$$.sh
6542 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6553 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6554 test "x$as_lineno_1" != "x$as_lineno_2" &&
6555 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6556 # Find who we are. Look in the path if we contain no path at all
6559 *[\\/]* ) as_myself
=$0 ;;
6560 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir
=.
6565 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6570 # We did not find ourselves, most probably we were run as `sh COMMAND'
6571 # in which case we are not to be found in the path.
6572 if test "x$as_myself" = x
; then
6575 if test ! -f "$as_myself"; then
6576 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6577 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6578 { (exit 1); exit 1; }; }
6580 case $CONFIG_SHELL in
6582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6583 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6586 test -z "$as_dir" && as_dir
=.
6587 for as_base
in sh bash ksh sh5
; do
6590 if ("$as_dir/$as_base" -c '
6593 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6594 test "x$as_lineno_1" != "x$as_lineno_2" &&
6595 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6596 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6597 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6598 CONFIG_SHELL
=$as_dir/$as_base
6600 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6608 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6609 # uniformly replaced by the line number. The first 'sed' inserts a
6610 # line-number line before each line; the second 'sed' does the real
6611 # work. The second script uses 'N' to pair each line-number line
6612 # with the numbered line, and appends trailing '-' during
6613 # substitution so that $LINENO is not a special case at line end.
6614 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6615 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6616 sed '=' <$as_myself |
6621 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6624 s,^['$as_cr_digits']*\n,,
6626 chmod +x
$as_me.lineno ||
6627 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6628 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6629 { (exit 1); exit 1; }; }
6631 # Don't try to exec as it changes $[0], causing all sort of problems
6632 # (the dirname of $[0] is not the place where we might find the
6633 # original and so on. Autoconf is especially sensible to this).
6635 # Exit status is that of the last command.
6640 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6641 *c
*,-n*) ECHO_N
= ECHO_C
='
6643 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6644 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6647 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6653 rm -f conf$$ conf$$.exe conf$$.
file
6655 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6656 # We could just check for DJGPP; but this test a) works b) is more generic
6657 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6658 if test -f conf$$.exe
; then
6659 # Don't use ln at all; we don't have any links
6664 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6669 rm -f conf$$ conf$$.exe conf$$.
file
6671 if mkdir
-p .
2>/dev
/null
; then
6674 test -d .
/-p && rmdir .
/-p
6678 as_executable_p
="test -f"
6680 # Sed expression to map a string onto a valid CPP name.
6681 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6683 # Sed expression to map a string onto a valid variable name.
6684 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6688 # We need space, tab and new line, in precisely that order.
6698 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6699 # report actual input values of CONFIG_FILES etc. instead of their
6700 # values after options handling. Logging --version etc. is OK.
6704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6705 ## Running $as_me. ##
6710 This file was extended by $as_me, which was
6711 generated by GNU Autoconf 2.59. Invocation command line was
6713 CONFIG_FILES = $CONFIG_FILES
6714 CONFIG_HEADERS = $CONFIG_HEADERS
6715 CONFIG_LINKS = $CONFIG_LINKS
6716 CONFIG_COMMANDS = $CONFIG_COMMANDS
6720 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6724 # Files that config.status was made for.
6725 if test -n "$ac_config_files"; then
6726 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6729 if test -n "$ac_config_headers"; then
6730 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6733 if test -n "$ac_config_links"; then
6734 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6737 if test -n "$ac_config_commands"; then
6738 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6741 cat >>$CONFIG_STATUS <<\_ACEOF
6744 \`$as_me' instantiates files from templates according to the
6745 current configuration.
6747 Usage: $0 [OPTIONS] [FILE]...
6749 -h, --help print this help, then exit
6750 -V, --version print version number, then exit
6751 -q, --quiet do not print progress messages
6752 -d, --debug don't remove temporary files
6753 --recheck update $as_me by reconfiguring in the same conditions
6754 --file=FILE[:TEMPLATE]
6755 instantiate the configuration file FILE
6756 --header=FILE[:TEMPLATE]
6757 instantiate the configuration header FILE
6759 Configuration files:
6762 Configuration headers:
6765 Report bugs to <bug-autoconf@gnu.org>."
6768 cat >>$CONFIG_STATUS <<_ACEOF
6771 configured by $0, generated by GNU Autoconf 2.59,
6772 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6774 Copyright (C) 2003 Free Software Foundation, Inc.
6775 This config.status script is free software; the Free Software Foundation
6776 gives unlimited permission to copy, distribute and modify it."
6781 cat >>$CONFIG_STATUS <<\_ACEOF
6782 # If no file are specified by the user, then we need to provide default
6783 # value. By we need to know if files were specified by the user.
6789 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6790 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6798 *) # This is not an option, so the user has probably given explicit
6801 ac_need_defaults
=false
;;
6805 # Handling of the options.
6807 cat >>$CONFIG_STATUS <<\_ACEOF
6808 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6810 --version |
--vers* |
-V )
6811 echo "$ac_cs_version"; exit 0 ;;
6813 # Conflict between --help and --header
6814 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6815 Try \`$0 --help' for more information." >&5
6816 echo "$as_me: error: ambiguous option: $1
6817 Try \`$0 --help' for more information." >&2;}
6818 { (exit 1); exit 1; }; };;
6819 --help |
--hel |
-h )
6820 echo "$ac_cs_usage"; exit 0 ;;
6821 --debug |
--d* |
-d )
6823 --file |
--fil |
--fi |
--f )
6825 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6826 ac_need_defaults
=false
;;
6827 --header |
--heade |
--head |
--hea )
6829 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6830 ac_need_defaults
=false
;;
6831 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6832 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6836 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6837 Try \`$0 --help' for more information." >&5
6838 echo "$as_me: error: unrecognized option: $1
6839 Try \`$0 --help' for more information." >&2;}
6840 { (exit 1); exit 1; }; } ;;
6842 *) ac_config_targets
="$ac_config_targets $1" ;;
6848 ac_configure_extra_args
=
6850 if $ac_cs_silent; then
6852 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6856 cat >>$CONFIG_STATUS <<_ACEOF
6857 if \$ac_cs_recheck; then
6858 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6859 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6868 cat >>$CONFIG_STATUS <<\_ACEOF
6869 for ac_config_target
in $ac_config_targets
6871 case "$ac_config_target" in
6872 # Handling of arguments.
6873 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
6874 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6875 "opal.pc" ) CONFIG_FILES
="$CONFIG_FILES opal.pc" ;;
6876 "opal.spec" ) CONFIG_FILES
="$CONFIG_FILES opal.spec" ;;
6877 "opal_cfg.dxy" ) CONFIG_FILES
="$CONFIG_FILES opal_cfg.dxy" ;;
6878 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
6879 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
6880 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6881 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6882 { (exit 1); exit 1; }; };;
6886 # If the user did not use the arguments to specify the items to instantiate,
6887 # then the envvar interface is used. Set only those that are not.
6888 # We use the long form for the default assignment because of an extremely
6889 # bizarre bug on SunOS 4.1.3.
6890 if $ac_need_defaults; then
6891 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6892 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6895 # Have a temporary directory for convenience. Make it in the build tree
6896 # simply because there is no reason to put it here, and in addition,
6897 # creating and moving files from /tmp can sometimes cause problems.
6898 # Create a temporary directory, and hook for its removal unless debugging.
6901 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6902 trap '{ (exit 1); exit 1; }' 1 2 13 15
6905 # Create a (secure) tmp directory for tmp files.
6908 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6909 test -n "$tmp" && test -d "$tmp"
6912 tmp
=.
/confstat$$
-$RANDOM
6913 (umask 077 && mkdir
$tmp)
6916 echo "$me: cannot create a temporary directory in ." >&2
6917 { (exit 1); exit 1; }
6922 cat >>$CONFIG_STATUS <<_ACEOF
6925 # CONFIG_FILES section.
6928 # No need to generate the scripts if there are no CONFIG_FILES.
6929 # This happens for instance when ./config.status config.h
6930 if test -n "\$CONFIG_FILES"; then
6931 # Protect against being on the right side of a sed subst in config.status.
6932 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6933 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6934 s,@SHELL@,$SHELL,;t t
6935 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6936 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6937 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6938 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6939 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6940 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6941 s,@exec_prefix@,$exec_prefix,;t t
6942 s,@prefix@,$prefix,;t t
6943 s,@program_transform_name@,$program_transform_name,;t t
6944 s,@bindir@,$bindir,;t t
6945 s,@sbindir@,$sbindir,;t t
6946 s,@libexecdir@,$libexecdir,;t t
6947 s,@datadir@,$datadir,;t t
6948 s,@sysconfdir@,$sysconfdir,;t t
6949 s,@sharedstatedir@,$sharedstatedir,;t t
6950 s,@localstatedir@,$localstatedir,;t t
6951 s,@libdir@,$libdir,;t t
6952 s,@includedir@,$includedir,;t t
6953 s,@oldincludedir@,$oldincludedir,;t t
6954 s,@infodir@,$infodir,;t t
6955 s,@mandir@,$mandir,;t t
6956 s,@build_alias@,$build_alias,;t t
6957 s,@host_alias@,$host_alias,;t t
6958 s,@target_alias@,$target_alias,;t t
6960 s,@ECHO_C@,$ECHO_C,;t t
6961 s,@ECHO_N@,$ECHO_N,;t t
6962 s,@ECHO_T@,$ECHO_T,;t t
6965 s,@CFLAGS@,$CFLAGS,;t t
6966 s,@LDFLAGS@,$LDFLAGS,;t t
6967 s,@CPPFLAGS@,$CPPFLAGS,;t t
6968 s,@ac_ct_CC@,$ac_ct_CC,;t t
6969 s,@EXEEXT@,$EXEEXT,;t t
6970 s,@OBJEXT@,$OBJEXT,;t t
6972 s,@CXXFLAGS@,$CXXFLAGS,;t t
6973 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6974 s,@OPALDIR@,$OPALDIR,;t t
6975 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6976 s,@LIBDIR@,$LIBDIR,;t t
6977 s,@OPAL_VERSION@,$OPAL_VERSION,;t t
6978 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
6979 s,@PWLIBDIR@,$PWLIBDIR,;t t
6980 s,@GCC_HAS_CLZ@,$GCC_HAS_CLZ,;t t
6982 s,@EGREP@,$EGREP,;t t
6983 s,@SIZE16@,$SIZE16,;t t
6984 s,@SIZE32@,$SIZE32,;t t
6985 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
6986 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
6987 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
6988 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
6989 s,@OPAL_SIP@,$OPAL_SIP,;t t
6990 s,@OPAL_H323@,$OPAL_H323,;t t
6991 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
6992 s,@OPAL_H224@,$OPAL_H224,;t t
6993 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
6994 s,@OPAL_H450@,$OPAL_H450,;t t
6995 s,@OPAL_H460@,$OPAL_H460,;t t
6996 s,@OPAL_LID@,$OPAL_LID,;t t
6997 s,@OPAL_IVR@,$OPAL_IVR,;t t
6998 s,@OPAL_RFC4175@,$OPAL_RFC4175,;t t
6999 s,@OPAL_ZRTP@,$OPAL_ZRTP,;t t
7000 s,@HAS_LIBZRTP@,$HAS_LIBZRTP,;t t
7001 s,@OPAL_SRTP@,$OPAL_SRTP,;t t
7002 s,@HAS_LIBSRTP@,$HAS_LIBSRTP,;t t
7003 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7004 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7005 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7006 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7007 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7008 s,@subdirs@,$subdirs,;t t
7009 s,@LIBOBJS@,$LIBOBJS,;t t
7010 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7015 cat >>$CONFIG_STATUS <<\_ACEOF
7016 # Split the substitutions into bite-sized pieces for seds with
7017 # small command number limits, like on Digital OSF/1 and HP-UX.
7019 ac_sed_frag
=1 # Number of current file.
7020 ac_beg
=1 # First line for current file.
7021 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7024 while $ac_more_lines; do
7025 if test $ac_beg -gt 1; then
7026 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7028 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7030 if test ! -s $tmp/subs.frag
; then
7033 # The purpose of the label and of the branching condition is to
7034 # speed up the sed processing (if there are no `@' at all, there
7035 # is no need to browse any of the substitutions).
7036 # These are the two extra sed commands mentioned above.
7038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7039 if test -z "$ac_sed_cmds"; then
7040 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7042 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7044 ac_sed_frag
=`expr $ac_sed_frag + 1`
7046 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7049 if test -z "$ac_sed_cmds"; then
7052 fi # test -n "$CONFIG_FILES"
7055 cat >>$CONFIG_STATUS <<\_ACEOF
7056 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7057 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7059 - |
*:- |
*:-:* ) # input from stdin
7061 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7062 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7063 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7064 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7065 * ) ac_file_in
=$ac_file.
in ;;
7068 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7069 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7071 X"$ac_file" : 'X\(//\)[^/]' \| \
7072 X"$ac_file" : 'X\(//\)$' \| \
7073 X"$ac_file" : 'X\(/\)' \| \
7074 . : '\(.\)' 2>/dev/null ||
7076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7078 /^X\(\/\/\)$/{ s//\1/; q; }
7079 /^X\(\/\).*/{ s//\1/; q; }
7081 { if $as_mkdir_p; then
7086 while test ! -d "$as_dir"; do
7087 as_dirs
="$as_dir $as_dirs"
7088 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7090 X"$as_dir" : 'X\(//\)[^/]' \| \
7091 X"$as_dir" : 'X\(//\)$' \| \
7092 X"$as_dir" : 'X\(/\)' \| \
7093 . : '\(.\)' 2>/dev/null ||
7095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7097 /^X\(\/\/\)$/{ s//\1/; q; }
7098 /^X\(\/\).*/{ s//\1/; q; }
7101 test ! -n "$as_dirs" || mkdir
$as_dirs
7102 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7103 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7104 { (exit 1); exit 1; }; }; }
7108 if test "$ac_dir" != .
; then
7109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7110 # A "../" for each directory in $ac_dir_suffix.
7111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7113 ac_dir_suffix
= ac_top_builddir
=
7117 .
) # No --srcdir option. We are building in place.
7119 if test -z "$ac_top_builddir"; then
7122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7124 [\\/]* | ?
:[\\/]* ) # Absolute path.
7125 ac_srcdir
=$srcdir$ac_dir_suffix;
7126 ac_top_srcdir
=$srcdir ;;
7128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7132 # Do not use `cd foo && pwd` to compute absolute paths, because
7133 # the directories may not exist.
7135 .
) ac_abs_builddir
="$ac_dir";;
7138 .
) ac_abs_builddir
=`pwd`;;
7139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7143 case $ac_abs_builddir in
7144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7146 case ${ac_top_builddir}.
in
7147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7152 case $ac_abs_builddir in
7153 .
) ac_abs_srcdir
=$ac_srcdir;;
7156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7161 case $ac_abs_builddir in
7162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7164 case $ac_top_srcdir in
7165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7173 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7174 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7177 if test x
"$ac_file" != x-
; then
7178 { echo "$as_me:$LINENO: creating $ac_file" >&5
7179 echo "$as_me: creating $ac_file" >&6;}
7182 # Let's still pretend it is `configure' which instantiates (i.e., don't
7183 # use $as_me), people would be surprised to read:
7184 # /* config.h. Generated by config.status. */
7185 if test x
"$ac_file" = x-
; then
7188 configure_input
="$ac_file. "
7190 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7191 sed 's,.*/,,'` by configure."
7193 # First look for the input files in the build tree, otherwise in the
7195 ac_file_inputs
=`IFS=:
7196 for f in $ac_file_in; do
7198 -) echo $tmp/stdin ;;
7200 # Absolute (can't be DOS-style, as IFS=:)
7201 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7202 echo "$as_me: error: cannot find input file: $f" >&2;}
7203 { (exit 1); exit 1; }; }
7206 if test -f "$f"; then
7209 elif test -f "$srcdir/$f"; then
7214 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7215 echo "$as_me: error: cannot find input file: $f" >&2;}
7216 { (exit 1); exit 1; }; }
7219 done` ||
{ (exit 1); exit 1; }
7221 cat >>$CONFIG_STATUS <<_ACEOF
7225 cat >>$CONFIG_STATUS <<\_ACEOF
7227 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7228 s
,@configure_input@
,$configure_input,;t t
7229 s
,@srcdir@
,$ac_srcdir,;t t
7230 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7231 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7232 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7233 s
,@builddir@
,$ac_builddir,;t t
7234 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7235 s
,@top_builddir@
,$ac_top_builddir,;t t
7236 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7237 s
,@INSTALL@
,$ac_INSTALL,;t t
7238 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7240 if test x"$ac_file" != x-; then
7241 mv $tmp/out $ac_file
7249 cat >>$CONFIG_STATUS <<\_ACEOF
7252 # CONFIG_HEADER section.
7255 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7256 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7258 # ac_d sets the value in "#define NAME VALUE" lines.
7259 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7260 ac_dB
='[ ].*$,\1#\2'
7263 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7264 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7265 ac_uB
='$,\1#\2define\3'
7269 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7272 - |
*:- |
*:-:* ) # input from stdin
7274 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7275 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7276 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7278 * ) ac_file_in
=$ac_file.
in ;;
7281 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7282 echo "$as_me: creating $ac_file" >&6;}
7284 # First look for the input files in the build tree, otherwise in the
7286 ac_file_inputs
=`IFS=:
7287 for f in $ac_file_in; do
7289 -) echo $tmp/stdin ;;
7291 # Absolute (can't be DOS-style, as IFS=:)
7292 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7293 echo "$as_me: error: cannot find input file: $f" >&2;}
7294 { (exit 1); exit 1; }; }
7295 # Do quote $f, to prevent DOS paths from being IFS'd.
7298 if test -f "$f"; then
7301 elif test -f "$srcdir/$f"; then
7306 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7307 echo "$as_me: error: cannot find input file: $f" >&2;}
7308 { (exit 1); exit 1; }; }
7311 done` ||
{ (exit 1); exit 1; }
7312 # Remove the trailing spaces.
7313 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7317 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7318 # `conftest.undefs', that substitutes the proper values into
7319 # config.h.in to produce config.h. The first handles `#define'
7320 # templates, and the second `#undef' templates.
7321 # And first: Protect against being on the right side of a sed subst in
7322 # config.status. Protect against being in an unquoted here document
7324 rm -f conftest.defines conftest.undefs
7325 # Using a here document instead of a string reduces the quoting nightmare.
7326 # Putting comments in sed scripts is not portable.
7328 # `end' is used to avoid that the second main sed command (meant for
7329 # 0-ary CPP macros) applies to n-ary macro definitions.
7330 # See the Autoconf documentation for `clear'.
7331 cat >confdef2sed.
sed <<\_ACEOF
7336 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7338 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7341 # If some macros were called several times there might be several times
7342 # the same #defines, which is useless. Nevertheless, we may not want to
7343 # sort them, since we want the *last* AC-DEFINE to be honored.
7344 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7345 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7346 rm -f confdef2sed.sed
7348 # This sed command replaces #undef with comments. This is necessary, for
7349 # example, in the case of _POSIX_SOURCE, which is predefined and required
7350 # on some systems where configure will not decide to define it.
7351 cat >>conftest.undefs <<\_ACEOF
7352 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7355 # Break up conftest.defines because some shells have a limit on the size
7356 # of here documents, and old seds have small limits too (100 cmds).
7357 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7358 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7359 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7360 echo ' :' >>$CONFIG_STATUS
7362 while grep . conftest.defines >/dev/null
7364 # Write a limited-size here document to $tmp/defines.sed.
7365 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7366 # Speed up: don't consider the non `#define' lines.
7367 echo '/^[ ]*#[ ]*define/!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.defines
>>$CONFIG_STATUS
7373 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7377 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7378 rm -f conftest.defines
7379 mv conftest.
tail conftest.defines
7381 rm -f conftest.defines
7382 echo ' fi # grep' >>$CONFIG_STATUS
7383 echo >>$CONFIG_STATUS
7385 # Break up conftest.undefs because some shells have a limit on the size
7386 # of here documents, and old seds have small limits too (100 cmds).
7387 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7389 while grep . conftest.undefs
>/dev
/null
7391 # Write a limited-size here document to $tmp/undefs.sed.
7392 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7393 # Speed up: don't consider the non
`#undef'
7394 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7395 # Work around the forget-to-reset-the-flag bug.
7396 echo 't clr' >>$CONFIG_STATUS
7397 echo ': clr' >>$CONFIG_STATUS
7398 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7400 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7404 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7405 rm -f conftest.undefs
7406 mv conftest.tail conftest.undefs
7408 rm -f conftest.undefs
7410 cat >>$CONFIG_STATUS <<\_ACEOF
7411 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7412 # use $as_me), people would be surprised to read:
7413 # /* config.h. Generated by config.status. */
7414 if test x
"$ac_file" = x-
; then
7415 echo "/* Generated by configure. */" >$tmp/config.h
7417 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7419 cat $tmp/in >>$tmp/config.h
7421 if test x
"$ac_file" != x-
; then
7422 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7423 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7424 echo "$as_me: $ac_file is unchanged" >&6;}
7426 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7427 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7428 X"$ac_file" : 'X\(//\)[^/]' \| \
7429 X"$ac_file" : 'X\(//\)$' \| \
7430 X"$ac_file" : 'X\(/\)' \| \
7431 . : '\(.\)' 2>/dev/null ||
7433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7435 /^X\(\/\/\)$/{ s//\1/; q; }
7436 /^X\(\/\).*/{ s//\1/; q; }
7438 { if $as_mkdir_p; then
7443 while test ! -d "$as_dir"; do
7444 as_dirs
="$as_dir $as_dirs"
7445 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7447 X"$as_dir" : 'X\(//\)[^/]' \| \
7448 X"$as_dir" : 'X\(//\)$' \| \
7449 X"$as_dir" : 'X\(/\)' \| \
7450 . : '\(.\)' 2>/dev/null ||
7452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7454 /^X\(\/\/\)$/{ s//\1/; q; }
7455 /^X\(\/\).*/{ s//\1/; q; }
7458 test ! -n "$as_dirs" || mkdir
$as_dirs
7459 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7460 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7461 { (exit 1); exit 1; }; }; }
7464 mv $tmp/config.h
$ac_file
7473 cat >>$CONFIG_STATUS <<\_ACEOF
7475 { (exit 0); exit 0; }
7477 chmod +x
$CONFIG_STATUS
7478 ac_clean_files
=$ac_clean_files_save
7481 # configure is writing to config.log, and then calls config.status.
7482 # config.status does its own redirection, appending to config.log.
7483 # Unfortunately, on DOS this fails, as config.log is still kept open
7484 # by configure, so config.status won't be able to write to it; its
7485 # output is simply discarded. So we exec the FD to /dev/null,
7486 # effectively closing config.log, so it can be properly (re)opened and
7487 # appended to by config.status. When coming back to configure, we
7488 # need to make the FD available again.
7489 if test "$no_create" != yes; then
7491 ac_config_status_args
=
7492 test "$silent" = yes &&
7493 ac_config_status_args
="$ac_config_status_args --quiet"
7495 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7497 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7498 # would make configure fail if this is the last instruction.
7499 $ac_cs_success ||
{ (exit 1); exit 1; }
7503 # CONFIG_SUBDIRS section.
7505 if test "$no_recursion" != yes; then
7507 # Remove --cache-file and --srcdir arguments so they do not pile up.
7508 ac_sub_configure_args
=
7510 for ac_arg
in $ac_configure_args; do
7511 if test -n "$ac_prev"; then
7516 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7517 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7518 ac_prev
=cache_file
;;
7519 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7520 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7523 --config-cache |
-C)
7525 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7527 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7529 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7531 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7533 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7537 # Always prepend --prefix to ensure using the same prefix
7538 # in subdir configurations.
7539 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7542 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7544 # Do not complain, so a configure script can configure whichever
7545 # parts of a large source tree are present.
7546 test -d $srcdir/$ac_dir ||
continue
7548 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7549 echo "$as_me: configuring in $ac_dir" >&6;}
7550 { if $as_mkdir_p; then
7555 while test ! -d "$as_dir"; do
7556 as_dirs
="$as_dir $as_dirs"
7557 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7558 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7559 X"$as_dir" : 'X\(//\)[^/]' \| \
7560 X"$as_dir" : 'X\(//\)$' \| \
7561 X"$as_dir" : 'X\(/\)' \| \
7562 . : '\(.\)' 2>/dev/null ||
7564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7565 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7566 /^X\(\/\/\)$/{ s//\1/; q; }
7567 /^X\(\/\).*/{ s//\1/; q; }
7570 test ! -n "$as_dirs" || mkdir
$as_dirs
7571 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7572 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7573 { (exit 1); exit 1; }; }; }
7577 if test "$ac_dir" != .
; then
7578 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7579 # A "../" for each directory in $ac_dir_suffix.
7580 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7582 ac_dir_suffix
= ac_top_builddir
=
7586 .
) # No --srcdir option. We are building in place.
7588 if test -z "$ac_top_builddir"; then
7591 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7593 [\\/]* | ?
:[\\/]* ) # Absolute path.
7594 ac_srcdir
=$srcdir$ac_dir_suffix;
7595 ac_top_srcdir
=$srcdir ;;
7597 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7598 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7601 # Do not use `cd foo && pwd` to compute absolute paths, because
7602 # the directories may not exist.
7604 .
) ac_abs_builddir
="$ac_dir";;
7607 .
) ac_abs_builddir
=`pwd`;;
7608 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7609 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7612 case $ac_abs_builddir in
7613 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7615 case ${ac_top_builddir}.
in
7616 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7617 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7618 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7621 case $ac_abs_builddir in
7622 .
) ac_abs_srcdir
=$ac_srcdir;;
7625 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7626 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7627 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7630 case $ac_abs_builddir in
7631 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7633 case $ac_top_srcdir in
7634 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7635 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7636 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7643 # Check for guested configure; otherwise get Cygnus style configure.
7644 if test -f $ac_srcdir/configure.gnu
; then
7645 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7646 elif test -f $ac_srcdir/configure
; then
7647 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7648 elif test -f $ac_srcdir/configure.
in; then
7649 ac_sub_configure
=$ac_configure
7651 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7652 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7656 # The recursion is here.
7657 if test -n "$ac_sub_configure"; then
7658 # Make the cache file name correct relative to the subdirectory.
7660 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7662 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7665 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7666 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7667 # The eval makes quoting arguments work.
7668 eval $ac_sub_configure $ac_sub_configure_args \
7669 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7670 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7671 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7672 { (exit 1); exit 1; }; }