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 CPP EGREP SIZE16 SIZE32 OPAL_SYSTEM_SPEEX OPAL_HAVE_SPEEX_SPEEX_H OPAL_AUDIO OPAL_VIDEO OPAL_SIP OPAL_H323 OPAL_IAX2 OPAL_H224 OPAL_T38FAX H323_H460 OPAL_LID OPAL_IVR OPAL_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-h460 disable H
.460
862 --disable-lid disable LID support
863 --disable-ivr disable IVR support
865 Some influential environment variables
:
866 CC C compiler
command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
869 nonstandard directory
<lib dir
>
870 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
871 headers
in a nonstandard directory
<include dir
>
872 CXX C
++ compiler
command
873 CXXFLAGS C
++ compiler flags
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 ac_cpp='$CPP $CPPFLAGS'
1317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1318 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1320 if test -n "$ac_tool_prefix"; then
1321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1323 echo "$as_me:$LINENO: checking for $ac_word" >&5
1324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1325 if test "${ac_cv_prog_CC+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 if test -n "$CC"; then
1329 ac_cv_prog_CC="$CC" # Let the user override the test.
1331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335 test -z "$as_dir" && as_dir=.
1336 for ac_exec_ext in '' $ac_executable_extensions; do
1337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1338 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1348 if test -n "$CC"; then
1349 echo "$as_me:$LINENO: result: $CC" >&5
1350 echo "${ECHO_T}$CC" >&6
1352 echo "$as_me:$LINENO: result: no" >&5
1353 echo "${ECHO_T}no" >&6
1357 if test -z "$ac_cv_prog_CC"; then
1359 # Extract the first word of "gcc", so it can be a program name with args.
1360 set dummy gcc; ac_word=$2
1361 echo "$as_me:$LINENO: checking for $ac_word" >&5
1362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 if test -n "$ac_ct_CC"; then
1367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir=.
1374 for ac_exec_ext in '' $ac_executable_extensions; do
1375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1376 ac_cv_prog_ac_ct_CC="gcc"
1377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1385 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1386 if test -n "$ac_ct_CC"; then
1387 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1388 echo "${ECHO_T}$ac_ct_CC" >&6
1390 echo "$as_me:$LINENO: result: no" >&5
1391 echo "${ECHO_T}no" >&6
1399 if test -z "$CC"; then
1400 if test -n "$ac_tool_prefix"; then
1401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1402 set dummy ${ac_tool_prefix}cc; ac_word=$2
1403 echo "$as_me:$LINENO: checking for $ac_word" >&5
1404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1405 if test "${ac_cv_prog_CC+set}" = set; then
1406 echo $ECHO_N "(cached) $ECHO_C" >&6
1408 if test -n "$CC"; then
1409 ac_cv_prog_CC="$CC" # Let the user override the test.
1411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1415 test -z "$as_dir" && as_dir=.
1416 for ac_exec_ext in '' $ac_executable_extensions; do
1417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1418 ac_cv_prog_CC="${ac_tool_prefix}cc"
1419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1428 if test -n "$CC"; then
1429 echo "$as_me:$LINENO: result: $CC" >&5
1430 echo "${ECHO_T}$CC" >&6
1432 echo "$as_me:$LINENO: result: no" >&5
1433 echo "${ECHO_T}no" >&6
1437 if test -z "$ac_cv_prog_CC"; then
1439 # Extract the first word of "cc", so it can be a program name with args.
1440 set dummy cc; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$ac_ct_CC"; then
1447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_ac_ct_CC="cc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1466 if test -n "$ac_ct_CC"; then
1467 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1468 echo "${ECHO_T}$ac_ct_CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1480 if test -z "$CC"; then
1481 # Extract the first word of "cc", so it can be a program name with args.
1482 set dummy cc; ac_word=$2
1483 echo "$as_me:$LINENO: checking for $ac_word" >&5
1484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1485 if test "${ac_cv_prog_CC+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 if test -n "$CC"; then
1489 ac_cv_prog_CC="$CC" # Let the user override the test.
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 for ac_exec_ext in '' $ac_executable_extensions; do
1498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1500 ac_prog_rejected=yes
1504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 if test $ac_prog_rejected = yes; then
1511 # We found a bogon in the path, so make sure we never use it.
1512 set dummy $ac_cv_prog_CC
1514 if test $# != 0; then
1515 # We chose a different compiler from the bogus one.
1516 # However, it has the same basename, so the bogon will be chosen
1517 # first if we set CC to just the basename; use the full file name.
1519 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1525 if test -n "$CC"; then
1526 echo "$as_me:$LINENO: result: $CC" >&5
1527 echo "${ECHO_T}$CC" >&6
1529 echo "$as_me:$LINENO: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 if test -n "$ac_tool_prefix"; then
1538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC="$CC" # Let the user override the test.
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1573 test -n "$CC" && break
1576 if test -z "$CC"; then
1580 # Extract the first word of "$ac_prog", so it can be a program name with args.
1581 set dummy $ac_prog; ac_word=$2
1582 echo "$as_me:$LINENO: checking for $ac_word" >&5
1583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 if test -n "$ac_ct_CC"; then
1588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir=.
1595 for ac_exec_ext in '' $ac_executable_extensions; do
1596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597 ac_cv_prog_ac_ct_CC="$ac_prog"
1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1607 if test -n "$ac_ct_CC"; then
1608 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1609 echo "${ECHO_T}$ac_ct_CC" >&6
1611 echo "$as_me:$LINENO: result: no" >&5
1612 echo "${ECHO_T}no" >&6
1615 test -n "$ac_ct_CC" && break
1624 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1625 See \`config.log' for more details.
" >&5
1626 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1627 See \
`config.log' for more details." >&2;}
1628 { (exit 1); exit 1; }; }
1630 # Provide some information about the compiler.
1631 echo "$as_me:$LINENO:" \
1632 "checking for C compiler version" >&5
1633 ac_compiler=`set X
$ac_compile; echo $2`
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1635 (eval $ac_compiler --version </dev/null >&5) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1639 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1640 (eval $ac_compiler -v </dev/null >&5) 2>&5
1642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1643 (exit $ac_status); }
1644 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1645 (eval $ac_compiler -V </dev/null >&5) 2>&5
1647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1648 (exit $ac_status); }
1650 cat >conftest.$ac_ext <<_ACEOF
1653 cat confdefs.h >>conftest.$ac_ext
1654 cat >>conftest.$ac_ext <<_ACEOF
1655 /* end confdefs.h. */
1665 ac_clean_files_save=$ac_clean_files
1666 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1667 # Try to create an executable without -o first, disregard a.out.
1668 # It will help us diagnose broken compilers, and finding out an intuition
1670 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1671 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1672 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1673 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1674 (eval $ac_link_default) 2>&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; then
1678 # Find the output, starting from the most likely. This scheme is
1679 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1682 # Be careful to initialize this variable, since it used to be cached.
1683 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1685 # b.out is created by i960 compilers.
1686 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1688 test -f "$ac_file" || continue
1690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1693 # This is the source file.
1696 # We found the default executable, but exeext='' is most
1700 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1701 # FIXME: I believe we export ac_cv_exeext for Libtool,
1702 # but it would be cool to find out if it's true. Does anybody
1703 # maintain Libtool? --akim.
1711 echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1714 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1715 See \`config.log
' for more details." >&5
1716 echo "$as_me: error: C compiler cannot create executables
1717 See \`config.log' for more details.
" >&2;}
1718 { (exit 77); exit 77; }; }
1721 ac_exeext=$ac_cv_exeext
1722 echo "$as_me:$LINENO: result
: $ac_file" >&5
1723 echo "${ECHO_T}$ac_file" >&6
1725 # Check the compiler produces executables we can run. If not, either
1726 # the compiler is broken, or we cross compile.
1727 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1728 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1729 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1730 # If not cross compiling, check that we can run a simple program.
1731 if test "$cross_compiling" != yes; then
1732 if { ac_try='./$ac_file'
1733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1737 (exit $ac_status); }; }; then
1740 if test "$cross_compiling" = maybe; then
1743 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1744 If you meant to cross compile
, use \
`--host'.
1745 See \`config.log
' for more details." >&5
1746 echo "$as_me: error: cannot run C compiled programs.
1747 If you meant to cross compile, use \`--host'.
1748 See \
`config.log' for more details." >&2;}
1749 { (exit 1); exit 1; }; }
1753 echo "$as_me:$LINENO: result: yes" >&5
1754 echo "${ECHO_T}yes" >&6
1756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1757 ac_clean_files=$ac_clean_files_save
1758 # Check the compiler produces executables we can run. If not, either
1759 # the compiler is broken, or we cross compile.
1760 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1762 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1763 echo "${ECHO_T}$cross_compiling" >&6
1765 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1768 (eval $ac_link) 2>&5
1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771 (exit $ac_status); }; then
1772 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1773 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1774 # work properly (i.e., refer to `conftest.exe'), while it won't with
1776 for ac_file
in conftest.exe conftest conftest.
*; do
1777 test -f "$ac_file" ||
continue
1779 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1780 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1787 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1788 See \`config.log' for more details." >&5
1789 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1790 See \`config.log' for more details." >&2;}
1791 { (exit 1); exit 1; }; }
1794 rm -f conftest
$ac_cv_exeext
1795 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1796 echo "${ECHO_T}$ac_cv_exeext" >&6
1798 rm -f conftest.
$ac_ext
1799 EXEEXT
=$ac_cv_exeext
1801 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1802 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1803 if test "${ac_cv_objext+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 cat >conftest.
$ac_ext <<_ACEOF
1809 cat confdefs.h
>>conftest.
$ac_ext
1810 cat >>conftest.
$ac_ext <<_ACEOF
1811 /* end confdefs.h. */
1821 rm -f conftest.o conftest.obj
1822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1823 (eval $ac_compile) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; then
1827 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1829 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1830 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1835 echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1838 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1839 See \`config.log' for more details." >&5
1840 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1841 See \`config.log' for more details." >&2;}
1842 { (exit 1); exit 1; }; }
1845 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1847 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1848 echo "${ECHO_T}$ac_cv_objext" >&6
1849 OBJEXT
=$ac_cv_objext
1851 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1852 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1853 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 cat >conftest.
$ac_ext <<_ACEOF
1859 cat confdefs.h
>>conftest.
$ac_ext
1860 cat >>conftest.
$ac_ext <<_ACEOF
1861 /* end confdefs.h. */
1874 rm -f conftest.
$ac_objext
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>conftest.er1
1878 grep -v '^ *+' conftest.er1
>conftest.err
1880 cat conftest.err
>&5
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); } &&
1883 { ac_try
='test -z "$ac_c_werror_flag"
1884 || test ! -s conftest.err'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; } &&
1890 { ac_try
='test -s conftest.$ac_objext'
1891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; }; then
1898 echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.
$ac_ext >&5
1903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1904 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1907 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1908 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1909 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1910 ac_test_CFLAGS
=${CFLAGS+set}
1911 ac_save_CFLAGS
=$CFLAGS
1913 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1914 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1915 if test "${ac_cv_prog_cc_g+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.
$ac_ext <<_ACEOF
1921 cat confdefs.h
>>conftest.
$ac_ext
1922 cat >>conftest.
$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 rm -f conftest.
$ac_objext
1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1935 (eval $ac_compile) 2>conftest.er1
1937 grep -v '^ *+' conftest.er1
>conftest.err
1939 cat conftest.err
>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); } &&
1942 { ac_try
='test -z "$ac_c_werror_flag"
1943 || test ! -s conftest.err'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; } &&
1949 { ac_try
='test -s conftest.$ac_objext'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; }; then
1957 echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.
$ac_ext >&5
1962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1965 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1966 if test "$ac_test_CFLAGS" = set; then
1967 CFLAGS
=$ac_save_CFLAGS
1968 elif test $ac_cv_prog_cc_g = yes; then
1969 if test "$GCC" = yes; then
1975 if test "$GCC" = yes; then
1981 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1982 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1983 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 ac_cv_prog_cc_stdc
=no
1988 cat >conftest.
$ac_ext <<_ACEOF
1991 cat confdefs.h
>>conftest.
$ac_ext
1992 cat >>conftest.
$ac_ext <<_ACEOF
1993 /* end confdefs.h. */
1996 #include <sys/types.h>
1997 #include <sys/stat.h>
1998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1999 struct buf { int x; };
2000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2001 static char *e (p, i)
2007 static char *f (char * (*g) (char **, int), char **p, ...)
2012 s = g (p, va_arg (v,int));
2017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2018 function prototypes and stuff, but not '\xHH' hex character constants.
2019 These don't provoke an error unfortunately, instead are silently treated
2020 as 'x'. The following induces an error, until -std1 is added to get
2021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2022 array size at least. It's necessary to write '\x00'==0 to get something
2023 that's true only with -std1. */
2024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2026 int test (int i, double x);
2027 struct s1 {int (*f) (int a);};
2028 struct s2 {int (*f) (double a);};
2029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2040 # Don't try gcc -ansi; that turns off useful extensions and
2041 # breaks some systems' header files.
2042 # AIX -qlanglvl=ansi
2043 # Ultrix and OSF/1 -std1
2044 # HP-UX 10.20 and later -Ae
2045 # HP-UX older versions -Aa -D_HPUX_SOURCE
2046 # SVR4 -Xc -D__EXTENSIONS__
2047 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2049 CC
="$ac_save_CC $ac_arg"
2050 rm -f conftest.
$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2054 grep -v '^ *+' conftest.er1
>conftest.err
2056 cat conftest.err
>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try
='test -z "$ac_c_werror_flag"
2060 || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2072 ac_cv_prog_cc_stdc
=$ac_arg
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext
2081 rm -f conftest.
$ac_ext conftest.
$ac_objext
2086 case "x$ac_cv_prog_cc_stdc" in
2088 echo "$as_me:$LINENO: result: none needed" >&5
2089 echo "${ECHO_T}none needed" >&6 ;;
2091 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2092 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2093 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2096 # Some people use a C++ compiler to compile C. Since we use `exit',
2097 # in C++ we need to declare it. In case someone uses the same compiler
2098 # for both compiling C and C++ we need to have the C++ compiler decide
2099 # the declaration of exit, since it's the most demanding environment.
2100 cat >conftest.
$ac_ext <<_ACEOF
2105 rm -f conftest.
$ac_objext
2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107 (eval $ac_compile) 2>conftest.er1
2109 grep -v '^ *+' conftest.er1
>conftest.err
2111 cat conftest.err
>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try
='test -z "$ac_c_werror_flag"
2115 || test ! -s conftest.err'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; } &&
2121 { ac_try
='test -s conftest.$ac_objext'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 for ac_declaration
in \
2129 'extern "C" void std::exit (int) throw (); using std::exit;' \
2130 'extern "C" void std::exit (int); using std::exit;' \
2131 'extern "C" void exit (int) throw ();' \
2132 'extern "C" void exit (int);' \
2135 cat >conftest.
$ac_ext <<_ACEOF
2138 cat confdefs.h
>>conftest.
$ac_ext
2139 cat >>conftest.
$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2151 rm -f conftest.
$ac_objext
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>conftest.er1
2155 grep -v '^ *+' conftest.er1
>conftest.err
2157 cat conftest.err
>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); } &&
2160 { ac_try
='test -z "$ac_c_werror_flag"
2161 || test ! -s conftest.err'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; } &&
2167 { ac_try
='test -s conftest.$ac_objext'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; }; then
2175 echo "$as_me: failed program was:" >&5
2176 sed 's/^/| /' conftest.
$ac_ext >&5
2180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2196 rm -f conftest.
$ac_objext
2197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2198 (eval $ac_compile) 2>conftest.er1
2200 grep -v '^ *+' conftest.er1
>conftest.err
2202 cat conftest.err
>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); } &&
2205 { ac_try
='test -z "$ac_c_werror_flag"
2206 || test ! -s conftest.err'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; } &&
2212 { ac_try
='test -s conftest.$ac_objext'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.
$ac_ext >&5
2224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2227 if test -n "$ac_declaration"; then
2228 echo '#ifdef __cplusplus' >>confdefs.h
2229 echo $ac_declaration >>confdefs.h
2230 echo '#endif' >>confdefs.h
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.
$ac_ext >&5
2238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2240 ac_cpp
='$CPP $CPPFLAGS'
2241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 ac_cpp
='$CXXCPP $CPPFLAGS'
2247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2250 if test -n "$ac_tool_prefix"; then
2251 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2254 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_CXX+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$CXX"; then
2261 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir
=.
2268 for ac_exec_ext
in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$CXX"; then
2281 echo "$as_me:$LINENO: result: $CXX" >&5
2282 echo "${ECHO_T}$CXX" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2288 test -n "$CXX" && break
2291 if test -z "$CXX"; then
2293 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2295 # Extract the first word of "$ac_prog", so it can be a program name with args.
2296 set dummy
$ac_prog; ac_word
=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$ac_ct_CXX"; then
2303 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir
=.
2310 for ac_exec_ext
in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2322 if test -n "$ac_ct_CXX"; then
2323 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2324 echo "${ECHO_T}$ac_ct_CXX" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2330 test -n "$ac_ct_CXX" && break
2332 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2338 # Provide some information about the compiler.
2339 echo "$as_me:$LINENO:" \
2340 "checking for C++ compiler version" >&5
2341 ac_compiler
=`set X $ac_compile; echo $2`
2342 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2343 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2348 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }
2352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2353 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2358 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2359 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2360 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 cat >conftest.
$ac_ext <<_ACEOF
2366 cat confdefs.h
>>conftest.
$ac_ext
2367 cat >>conftest.
$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2381 rm -f conftest.
$ac_objext
2382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 (eval $ac_compile) 2>conftest.er1
2385 grep -v '^ *+' conftest.er1
>conftest.err
2387 cat conftest.err
>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); } &&
2390 { ac_try
='test -z "$ac_cxx_werror_flag"
2391 || test ! -s conftest.err'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; } &&
2397 { ac_try
='test -s conftest.$ac_objext'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; }; then
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2411 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2414 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2415 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2416 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2417 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2418 ac_save_CXXFLAGS
=$CXXFLAGS
2420 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2421 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2422 if test "${ac_cv_prog_cxx_g+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 rm -f conftest.
$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2444 grep -v '^ *+' conftest.er1
>conftest.err
2446 cat conftest.err
>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try
='test -z "$ac_cxx_werror_flag"
2450 || test ! -s conftest.err'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; } &&
2456 { ac_try
='test -s conftest.$ac_objext'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2462 ac_cv_prog_cxx_g
=yes
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.
$ac_ext >&5
2469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2471 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2473 if test "$ac_test_CXXFLAGS" = set; then
2474 CXXFLAGS
=$ac_save_CXXFLAGS
2475 elif test $ac_cv_prog_cxx_g = yes; then
2476 if test "$GXX" = yes; then
2482 if test "$GXX" = yes; then
2488 for ac_declaration
in \
2490 'extern "C" void std::exit (int) throw (); using std::exit;' \
2491 'extern "C" void std::exit (int); using std::exit;' \
2492 'extern "C" void exit (int) throw ();' \
2493 'extern "C" void exit (int);' \
2496 cat >conftest.
$ac_ext <<_ACEOF
2499 cat confdefs.h
>>conftest.
$ac_ext
2500 cat >>conftest.
$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2512 rm -f conftest.
$ac_objext
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1
>conftest.err
2518 cat conftest.err
>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } &&
2521 { ac_try
='test -z "$ac_cxx_werror_flag"
2522 || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2542 cat >conftest.
$ac_ext <<_ACEOF
2545 cat confdefs.h
>>conftest.
$ac_ext
2546 cat >>conftest.
$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2557 rm -f conftest.
$ac_objext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>conftest.er1
2561 grep -v '^ *+' conftest.er1
>conftest.err
2563 cat conftest.err
>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } &&
2566 { ac_try
='test -z "$ac_cxx_werror_flag"
2567 || test ! -s conftest.err'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try
='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 if test -n "$ac_declaration"; then
2589 echo '#ifdef __cplusplus' >>confdefs.h
2590 echo $ac_declaration >>confdefs.h
2591 echo '#endif' >>confdefs.h
2595 ac_cpp
='$CPP $CPPFLAGS'
2596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2601 REQUIRED_PWLIB_MAJOR
=1
2602 REQUIRED_PWLIB_MINOR
=11
2603 REQUIRED_PWLIB_BUILD
=0
2609 if test "x$prefix" = "xNONE"; then
2610 INSTALLPREFIX
="/usr/local"
2612 INSTALLPREFIX
="${prefix}"
2623 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2624 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2625 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2626 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2627 cat >>confdefs.h
<<_ACEOF
2628 #define OPAL_MAJOR ${MAJOR_VERSION}
2631 cat >>confdefs.h
<<_ACEOF
2632 #define OPAL_MINOR ${MINOR_VERSION}
2635 cat >>confdefs.h
<<_ACEOF
2636 #define OPAL_BUILD ${BUILD_NUMBER}
2639 cat >>confdefs.h
<<_ACEOF
2640 #define OPAL_VERSION "$OPAL_VERSION"
2644 { echo "$as_me:$LINENO: Opal version is ${OPAL_VERSION}" >&5
2645 echo "$as_me: Opal version is ${OPAL_VERSION}" >&6;};
2647 #use to set the version in opal.pc
2651 if test "${PWLIBDIR:-unset}" != "unset" ; then
2652 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
2653 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
2654 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
2655 if eval "test \"\${$as_ac_File+set}\" = set"; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 test "$cross_compiling" = yes &&
2659 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2660 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2661 { (exit 1); exit 1; }; }
2662 if test -r "${PWLIBDIR}/version.h"; then
2663 eval "$as_ac_File=yes"
2665 eval "$as_ac_File=no"
2668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2669 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2670 if test `eval echo '${'$as_ac_File'}'` = yes; then
2675 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2676 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
2677 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
2678 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
2679 if eval "test \"\${$as_ac_File+set}\" = set"; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 test "$cross_compiling" = yes &&
2683 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2684 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2685 { (exit 1); exit 1; }; }
2686 if test -r "${OPALDIR}/../pwlib/version.h"; then
2687 eval "$as_ac_File=yes"
2689 eval "$as_ac_File=no"
2692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2693 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2694 if test `eval echo '${'$as_ac_File'}'` = yes; then
2698 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2699 PWLIBDIR
="${OPALDIR}/../pwlib"
2701 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
2702 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
2703 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
2704 if eval "test \"\${$as_ac_File+set}\" = set"; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 test "$cross_compiling" = yes &&
2708 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2709 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2710 { (exit 1); exit 1; }; }
2711 if test -r "${HOME}/pwlib/include/ptlib.h"; then
2712 eval "$as_ac_File=yes"
2714 eval "$as_ac_File=no"
2717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2718 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2719 if test `eval echo '${'$as_ac_File'}'` = yes; then
2723 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2724 PWLIBDIR
="${HOME}/pwlib"
2726 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
2727 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
2728 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 test "$cross_compiling" = yes &&
2732 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2733 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2734 { (exit 1); exit 1; }; }
2735 if test -r "/usr/local/include/ptlib.h"; then
2736 ac_cv_file__usr_local_include_ptlib_h
=yes
2738 ac_cv_file__usr_local_include_ptlib_h
=no
2741 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
2742 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
2743 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
2747 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2748 # Extract the first word of "ptlib-config", so it can be a program name with args.
2749 set dummy ptlib-config
; ac_word
=$2
2750 echo "$as_me:$LINENO: checking for $ac_word" >&5
2751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2752 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2753 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 case $PTLIB_CONFIG in
2757 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 for as_dir
in /usr
/local
/bin
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2779 if test -n "$PTLIB_CONFIG"; then
2780 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2781 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2788 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2789 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2790 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 test "$cross_compiling" = yes &&
2794 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2795 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2796 { (exit 1); exit 1; }; }
2797 if test -r "/usr/include/ptlib.h"; then
2798 ac_cv_file__usr_include_ptlib_h
=yes
2800 ac_cv_file__usr_include_ptlib_h
=no
2803 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2804 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2805 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2809 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2810 # Extract the first word of "ptlib-config", so it can be a program name with args.
2811 set dummy ptlib-config
; ac_word
=$2
2812 echo "$as_me:$LINENO: checking for $ac_word" >&5
2813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2814 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 case $PTLIB_CONFIG in
2819 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 for as_dir
in /usr
/share
/pwlib
/make
/
2826 test -z "$as_dir" && as_dir
=.
2827 for ac_exec_ext
in '' $ac_executable_extensions; do
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2841 if test -n "$PTLIB_CONFIG"; then
2842 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2843 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2850 as_ac_File
=`echo "ac_cv_file_${prefix}/include/ptlib.h" | $as_tr_sh`
2851 echo "$as_me:$LINENO: checking for ${prefix}/include/ptlib.h" >&5
2852 echo $ECHO_N "checking for ${prefix}/include/ptlib.h... $ECHO_C" >&6
2853 if eval "test \"\${$as_ac_File+set}\" = set"; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 test "$cross_compiling" = yes &&
2857 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2858 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2859 { (exit 1); exit 1; }; }
2860 if test -r "${prefix}/include/ptlib.h"; then
2861 eval "$as_ac_File=yes"
2863 eval "$as_ac_File=no"
2866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2867 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2868 if test `eval echo '${'$as_ac_File'}'` = yes; then
2872 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2873 # Extract the first word of "ptlib-config", so it can be a program name with args.
2874 set dummy ptlib-config
; ac_word
=$2
2875 echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 case $PTLIB_CONFIG in
2882 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 for as_dir
in ${prefix}/bin
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2904 if test -n "$PTLIB_CONFIG"; then
2905 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2906 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2919 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2920 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
2921 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
2922 { (exit 1); exit 1; }; }
2925 if test "${PWLIBDIR:-unset}" = "unset" ; then
2926 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2927 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
2928 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
2929 { (exit 1); exit 1; }; }
2931 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2934 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2935 PWLIBDIR
="/usr/share/pwlib/"
2937 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2938 PWLIBDIR
="/usr/local/share/pwlib/"
2940 if test "x$PWLIBDIR" = "x${prefix}"; then
2941 PWLIBDIR
="${prefix}/share/pwlib/"
2945 echo "PWLib prefix set to.... $PWLIBDIR"
2947 if test "${PWLIBDIR:-unset}" = "unset" ; then
2948 PWVERSION
=`$PTLIB_CONFIG --version`
2949 PW_MAJOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f1`
2950 PW_MINOR_VERSION
=`echo $PW_VERSION | cut -d'.' -f2`
2951 PW_BUILD_NUMBER
=`echo $PW_VERSION | cut -d'.' -f3`
2954 PW_MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2955 PW_MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2956 PW_BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2957 PWVERSION
="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
2960 # Check whether --enable-versioncheck or --disable-versioncheck was given.
2961 if test "${enable_versioncheck+set}" = set; then
2962 enableval
="$enable_versioncheck"
2963 PWLIB_VERSION_CHECK
=$enableval
2966 echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
2967 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6
2968 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
2969 echo "$as_me:$LINENO: result: check disabled" >&5
2970 echo "${ECHO_T}check disabled" >&6
2972 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
2973 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
2974 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
2975 { (exit 1); exit 1; }; }
2977 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
2978 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
2979 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
2980 { (exit 1); exit 1; }; }
2982 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
2983 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
2984 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
2985 { (exit 1); exit 1; }; }
2987 echo "$as_me:$LINENO: result: ok" >&5
2988 echo "${ECHO_T}ok" >&6
2994 if test x
$GXX = xyes
; then
2996 gcc_version
=`$CXX -dumpversion`
2997 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2998 echo "$as_me: gcc version is $gcc_version" >&6;};
2999 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
3000 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
3001 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
3003 echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
3004 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6
3005 if test ${GXX_MAJOR} -lt 3 ; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
3009 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
3010 { (exit 1); exit 1; }; }
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3019 # Check whether --enable-localspeex or --disable-localspeex was given.
3020 if test "${enable_localspeex+set}" = set; then
3021 enableval
="$enable_localspeex"
3022 localspeex
=$enableval
3027 ac_cpp
='$CPP $CPPFLAGS'
3028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3031 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3032 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3033 # On Suns, sometimes $CPP names a directory.
3034 if test -n "$CPP" && test -d "$CPP"; then
3037 if test -z "$CPP"; then
3038 if test "${ac_cv_prog_CPP+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 # Double quotes because CPP needs to be expanded
3042 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3045 for ac_c_preproc_warn_flag
in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat >conftest.
$ac_ext <<_ACEOF
3056 cat confdefs.h
>>conftest.
$ac_ext
3057 cat >>conftest.
$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3060 # include <limits.h>
3062 # include <assert.h>
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3069 grep -v '^ *+' conftest.er1
>conftest.err
3071 cat conftest.err
>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev
/null
; then
3074 if test -s conftest.err
; then
3075 ac_cpp_err
=$ac_c_preproc_warn_flag
3076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3083 if test -z "$ac_cpp_err"; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 # Broken: fails on valid input.
3092 rm -f conftest.err conftest.
$ac_ext
3094 # OK, works on sane cases. Now check whether non-existent headers
3095 # can be detected and how.
3096 cat >conftest.
$ac_ext <<_ACEOF
3099 cat confdefs.h
>>conftest.
$ac_ext
3100 cat >>conftest.
$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } >/dev
/null
; then
3112 if test -s conftest.err
; then
3113 ac_cpp_err
=$ac_c_preproc_warn_flag
3114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3121 if test -z "$ac_cpp_err"; then
3122 # Broken: success on invalid input.
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3128 # Passes both tests.
3132 rm -f conftest.err conftest.
$ac_ext
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.err conftest.
$ac_ext
3137 if $ac_preproc_ok; then
3149 echo "$as_me:$LINENO: result: $CPP" >&5
3150 echo "${ECHO_T}$CPP" >&6
3152 for ac_c_preproc_warn_flag
in '' yes
3154 # Use a header file that comes with gcc, so configuring glibc
3155 # with a fresh cross-compiler works.
3156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3157 # <limits.h> exists even on freestanding compilers.
3158 # On the NeXT, cc -E runs the code through the compiler's parser,
3159 # not just through cpp. "Syntax error" is here to catch this case.
3160 cat >conftest.
$ac_ext <<_ACEOF
3163 cat confdefs.h
>>conftest.
$ac_ext
3164 cat >>conftest.
$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3167 # include <limits.h>
3169 # include <assert.h>
3173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3176 grep -v '^ *+' conftest.er1
>conftest.err
3178 cat conftest.err
>&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } >/dev
/null
; then
3181 if test -s conftest.err
; then
3182 ac_cpp_err
=$ac_c_preproc_warn_flag
3183 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3190 if test -z "$ac_cpp_err"; then
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.
$ac_ext >&5
3196 # Broken: fails on valid input.
3199 rm -f conftest.err conftest.
$ac_ext
3201 # OK, works on sane cases. Now check whether non-existent headers
3202 # can be detected and how.
3203 cat >conftest.
$ac_ext <<_ACEOF
3206 cat confdefs.h
>>conftest.
$ac_ext
3207 cat >>conftest.
$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3209 #include <ac_nonexistent.h>
3211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3214 grep -v '^ *+' conftest.er1
>conftest.err
3216 cat conftest.err
>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); } >/dev
/null
; then
3219 if test -s conftest.err
; then
3220 ac_cpp_err
=$ac_c_preproc_warn_flag
3221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3228 if test -z "$ac_cpp_err"; then
3229 # Broken: success on invalid input.
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.
$ac_ext >&5
3235 # Passes both tests.
3239 rm -f conftest.err conftest.
$ac_ext
3242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3243 rm -f conftest.err conftest.
$ac_ext
3244 if $ac_preproc_ok; then
3247 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3248 See \`config.log' for more details." >&5
3249 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3250 See \`config.log' for more details." >&2;}
3251 { (exit 1); exit 1; }; }
3255 ac_cpp
='$CPP $CPPFLAGS'
3256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3261 echo "$as_me:$LINENO: checking for egrep" >&5
3262 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3263 if test "${ac_cv_prog_egrep+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3267 then ac_cv_prog_egrep
='grep -E'
3268 else ac_cv_prog_egrep
='egrep'
3271 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3272 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3273 EGREP
=$ac_cv_prog_egrep
3276 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3278 if test "${ac_cv_header_stdc+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 cat >conftest.
$ac_ext <<_ACEOF
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3300 rm -f conftest.
$ac_objext
3301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302 (eval $ac_compile) 2>conftest.er1
3304 grep -v '^ *+' conftest.er1
>conftest.err
3306 cat conftest.err
>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); } &&
3309 { ac_try
='test -z "$ac_c_werror_flag"
3310 || test ! -s conftest.err'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; } &&
3316 { ac_try
='test -s conftest.$ac_objext'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3322 ac_cv_header_stdc
=yes
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 ac_cv_header_stdc
=no
3329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3331 if test $ac_cv_header_stdc = yes; then
3332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3343 $EGREP "memchr" >/dev
/null
2>&1; then
3346 ac_cv_header_stdc
=no
3352 if test $ac_cv_header_stdc = yes; then
3353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3354 cat >conftest.
$ac_ext <<_ACEOF
3357 cat confdefs.h
>>conftest.
$ac_ext
3358 cat >>conftest.
$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3364 $EGREP "free" >/dev
/null
2>&1; then
3367 ac_cv_header_stdc
=no
3373 if test $ac_cv_header_stdc = yes; then
3374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3375 if test "$cross_compiling" = yes; then
3378 cat >conftest.
$ac_ext <<_ACEOF
3381 cat confdefs.h
>>conftest.
$ac_ext
3382 cat >>conftest.
$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3385 #if ((' ' & 0x0FF) == 0x020)
3386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3389 # define ISLOWER(c) \
3390 (('a' <= (c) && (c) <= 'i') \
3391 || ('j' <= (c) && (c) <= 'r') \
3392 || ('s' <= (c) && (c) <= 'z'))
3393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3401 for (i = 0; i < 256; i++)
3402 if (XOR (islower (i), ISLOWER (i))
3403 || toupper (i) != TOUPPER (i))
3408 rm -f conftest
$ac_exeext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3410 (eval $ac_link) 2>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3421 echo "$as_me: program exited with status $ac_status" >&5
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.
$ac_ext >&5
3426 ac_cv_header_stdc
=no
3428 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3432 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3433 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3434 if test $ac_cv_header_stdc = yes; then
3436 cat >>confdefs.h
<<\_ACEOF
3437 #define STDC_HEADERS 1
3442 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3452 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3453 inttypes.h stdint.h unistd.h
3455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3456 echo "$as_me:$LINENO: checking for $ac_header" >&5
3457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 cat >conftest.
$ac_ext <<_ACEOF
3464 cat confdefs.h
>>conftest.
$ac_ext
3465 cat >>conftest.
$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3467 $ac_includes_default
3469 #include <$ac_header>
3471 rm -f conftest.
$ac_objext
3472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3473 (eval $ac_compile) 2>conftest.er1
3475 grep -v '^ *+' conftest.er1
>conftest.err
3477 cat conftest.err
>&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } &&
3480 { ac_try
='test -z "$ac_c_werror_flag"
3481 || test ! -s conftest.err'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; } &&
3487 { ac_try
='test -s conftest.$ac_objext'
3488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); }; }; then
3493 eval "$as_ac_Header=yes"
3495 echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.
$ac_ext >&5
3498 eval "$as_ac_Header=no"
3500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3505 cat >>confdefs.h
<<_ACEOF
3506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3514 echo "$as_me:$LINENO: checking for short" >&5
3515 echo $ECHO_N "checking for short... $ECHO_C" >&6
3516 if test "${ac_cv_type_short+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 cat >conftest.
$ac_ext <<_ACEOF
3522 cat confdefs.h
>>conftest.
$ac_ext
3523 cat >>conftest.
$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 $ac_includes_default
3537 rm -f conftest.
$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try
='test -z "$ac_c_werror_flag"
3547 || test ! -s conftest.err'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; } &&
3553 { ac_try
='test -s conftest.$ac_objext'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; }; then
3559 ac_cv_type_short
=yes
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.
$ac_ext >&5
3566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3568 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3569 echo "${ECHO_T}$ac_cv_type_short" >&6
3571 echo "$as_me:$LINENO: checking size of short" >&5
3572 echo $ECHO_N "checking size of short... $ECHO_C" >&6
3573 if test "${ac_cv_sizeof_short+set}" = set; then
3574 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 if test "$ac_cv_type_short" = yes; then
3577 # The cast to unsigned long works around a bug in the HP C Compiler
3578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3580 # This bug is HP SR number 8606223364.
3581 if test "$cross_compiling" = yes; then
3582 # Depending upon the size, compute the lo and hi bounds.
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3589 $ac_includes_default
3593 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3600 rm -f conftest.
$ac_objext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>conftest.er1
3604 grep -v '^ *+' conftest.er1
>conftest.err
3606 cat conftest.err
>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } &&
3609 { ac_try
='test -z "$ac_c_werror_flag"
3610 || test ! -s conftest.err'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; } &&
3616 { ac_try
='test -s conftest.$ac_objext'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; }; then
3624 cat >conftest.
$ac_ext <<_ACEOF
3627 cat confdefs.h
>>conftest.
$ac_ext
3628 cat >>conftest.
$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 $ac_includes_default
3634 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3641 rm -f conftest.
$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3645 grep -v '^ *+' conftest.er1
>conftest.err
3647 cat conftest.err
>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try
='test -z "$ac_c_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try
='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_hi
=$ac_mid; break
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.
$ac_ext >&5
3668 ac_lo
=`expr $ac_mid + 1`
3669 if test $ac_lo -le $ac_mid; then
3673 ac_mid
=`expr 2 '*' $ac_mid + 1`
3675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.
$ac_ext >&5
3681 cat >conftest.
$ac_ext <<_ACEOF
3684 cat confdefs.h
>>conftest.
$ac_ext
3685 cat >>conftest.
$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 $ac_includes_default
3691 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3698 rm -f conftest.
$ac_objext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700 (eval $ac_compile) 2>conftest.er1
3702 grep -v '^ *+' conftest.er1
>conftest.err
3704 cat conftest.err
>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try
='test -z "$ac_c_werror_flag"
3708 || test ! -s conftest.err'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; } &&
3714 { ac_try
='test -s conftest.$ac_objext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3722 cat >conftest.
$ac_ext <<_ACEOF
3725 cat confdefs.h
>>conftest.
$ac_ext
3726 cat >>conftest.
$ac_ext <<_ACEOF
3727 /* end confdefs.h. */
3728 $ac_includes_default
3732 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
3739 rm -f conftest.
$ac_objext
3740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3741 (eval $ac_compile) 2>conftest.er1
3743 grep -v '^ *+' conftest.er1
>conftest.err
3745 cat conftest.err
>&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } &&
3748 { ac_try
='test -z "$ac_c_werror_flag"
3749 || test ! -s conftest.err'
3750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); }; } &&
3755 { ac_try
='test -s conftest.$ac_objext'
3756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); }; }; then
3761 ac_lo
=$ac_mid; break
3763 echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.
$ac_ext >&5
3766 ac_hi
=`expr '(' $ac_mid ')' - 1`
3767 if test $ac_mid -le $ac_hi; then
3771 ac_mid
=`expr 2 '*' $ac_mid`
3773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.
$ac_ext >&5
3781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3784 # Binary search between lo and hi bounds.
3785 while test "x$ac_lo" != "x$ac_hi"; do
3786 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3787 cat >conftest.
$ac_ext <<_ACEOF
3790 cat confdefs.h
>>conftest.
$ac_ext
3791 cat >>conftest.
$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 $ac_includes_default
3797 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3804 rm -f conftest.
$ac_objext
3805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3806 (eval $ac_compile) 2>conftest.er1
3808 grep -v '^ *+' conftest.er1
>conftest.err
3810 cat conftest.err
>&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } &&
3813 { ac_try
='test -z "$ac_c_werror_flag"
3814 || test ! -s conftest.err'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; } &&
3820 { ac_try
='test -s conftest.$ac_objext'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.
$ac_ext >&5
3831 ac_lo
=`expr '(' $ac_mid ')' + 1`
3833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3836 ?
*) ac_cv_sizeof_short
=$ac_lo;;
3837 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3838 See \`config.log' for more details." >&5
3839 echo "$as_me: error: cannot compute sizeof (short), 77
3840 See \`config.log' for more details." >&2;}
3841 { (exit 1); exit 1; }; } ;;
3844 if test "$cross_compiling" = yes; then
3845 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3846 See \`config.log' for more details." >&5
3847 echo "$as_me: error: cannot run test program while cross compiling
3848 See \`config.log' for more details." >&2;}
3849 { (exit 1); exit 1; }; }
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 $ac_includes_default
3858 long longval () { return (long) (sizeof (short)); }
3859 unsigned long ulongval () { return (long) (sizeof (short)); }
3866 FILE *f = fopen ("conftest.val", "w");
3869 if (((long) (sizeof (short))) < 0)
3871 long i = longval ();
3872 if (i != ((long) (sizeof (short))))
3874 fprintf (f, "%ld\n", i);
3878 unsigned long i = ulongval ();
3879 if (i != ((long) (sizeof (short))))
3881 fprintf (f, "%lu\n", i);
3883 exit (ferror (f) || fclose (f) != 0);
3889 rm -f conftest
$ac_exeext
3890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3891 (eval $ac_link) 2>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3900 ac_cv_sizeof_short
=`cat conftest.val`
3902 echo "$as_me: program exited with status $ac_status" >&5
3903 echo "$as_me: failed program was:" >&5
3904 sed 's/^/| /' conftest.
$ac_ext >&5
3907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
3908 See \`config.log' for more details." >&5
3909 echo "$as_me: error: cannot compute sizeof (short), 77
3910 See \`config.log' for more details." >&2;}
3911 { (exit 1); exit 1; }; }
3913 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3918 ac_cv_sizeof_short
=0
3921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
3922 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
3923 cat >>confdefs.h
<<_ACEOF
3924 #define SIZEOF_SHORT $ac_cv_sizeof_short
3928 echo "$as_me:$LINENO: checking for int" >&5
3929 echo $ECHO_N "checking for int... $ECHO_C" >&6
3930 if test "${ac_cv_type_int+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 cat >conftest.
$ac_ext <<_ACEOF
3936 cat confdefs.h
>>conftest.
$ac_ext
3937 cat >>conftest.
$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3939 $ac_includes_default
3951 rm -f conftest.
$ac_objext
3952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3953 (eval $ac_compile) 2>conftest.er1
3955 grep -v '^ *+' conftest.er1
>conftest.err
3957 cat conftest.err
>&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } &&
3960 { ac_try
='test -z "$ac_c_werror_flag"
3961 || test ! -s conftest.err'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; } &&
3967 { ac_try
='test -s conftest.$ac_objext'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; }; then
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3982 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3983 echo "${ECHO_T}$ac_cv_type_int" >&6
3985 echo "$as_me:$LINENO: checking size of int" >&5
3986 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3987 if test "${ac_cv_sizeof_int+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 if test "$ac_cv_type_int" = yes; then
3991 # The cast to unsigned long works around a bug in the HP C Compiler
3992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3994 # This bug is HP SR number 8606223364.
3995 if test "$cross_compiling" = yes; then
3996 # Depending upon the size, compute the lo and hi bounds.
3997 cat >conftest.
$ac_ext <<_ACEOF
4000 cat confdefs.h
>>conftest.
$ac_ext
4001 cat >>conftest.
$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4003 $ac_includes_default
4007 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4014 rm -f conftest.
$ac_objext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4016 (eval $ac_compile) 2>conftest.er1
4018 grep -v '^ *+' conftest.er1
>conftest.err
4020 cat conftest.err
>&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } &&
4023 { ac_try
='test -z "$ac_c_werror_flag"
4024 || test ! -s conftest.err'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; } &&
4030 { ac_try
='test -s conftest.$ac_objext'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; }; then
4038 cat >conftest.
$ac_ext <<_ACEOF
4041 cat confdefs.h
>>conftest.
$ac_ext
4042 cat >>conftest.
$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4044 $ac_includes_default
4048 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4055 rm -f conftest.
$ac_objext
4056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4057 (eval $ac_compile) 2>conftest.er1
4059 grep -v '^ *+' conftest.er1
>conftest.err
4061 cat conftest.err
>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } &&
4064 { ac_try
='test -z "$ac_c_werror_flag"
4065 || test ! -s conftest.err'
4066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; } &&
4071 { ac_try
='test -s conftest.$ac_objext'
4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); }; }; then
4077 ac_hi
=$ac_mid; break
4079 echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.
$ac_ext >&5
4082 ac_lo
=`expr $ac_mid + 1`
4083 if test $ac_lo -le $ac_mid; then
4087 ac_mid
=`expr 2 '*' $ac_mid + 1`
4089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.
$ac_ext >&5
4095 cat >conftest.
$ac_ext <<_ACEOF
4098 cat confdefs.h
>>conftest.
$ac_ext
4099 cat >>conftest.
$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 $ac_includes_default
4105 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4112 rm -f conftest.
$ac_objext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114 (eval $ac_compile) 2>conftest.er1
4116 grep -v '^ *+' conftest.er1
>conftest.err
4118 cat conftest.err
>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try
='test -z "$ac_c_werror_flag"
4122 || test ! -s conftest.err'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; } &&
4128 { ac_try
='test -s conftest.$ac_objext'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; }; then
4136 cat >conftest.
$ac_ext <<_ACEOF
4139 cat confdefs.h
>>conftest.
$ac_ext
4140 cat >>conftest.
$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4142 $ac_includes_default
4146 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4153 rm -f conftest.
$ac_objext
4154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4155 (eval $ac_compile) 2>conftest.er1
4157 grep -v '^ *+' conftest.er1
>conftest.err
4159 cat conftest.err
>&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } &&
4162 { ac_try
='test -z "$ac_c_werror_flag"
4163 || test ! -s conftest.err'
4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; } &&
4169 { ac_try
='test -s conftest.$ac_objext'
4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }; }; then
4175 ac_lo
=$ac_mid; break
4177 echo "$as_me: failed program was:" >&5
4178 sed 's/^/| /' conftest.
$ac_ext >&5
4180 ac_hi
=`expr '(' $ac_mid ')' - 1`
4181 if test $ac_mid -le $ac_hi; then
4185 ac_mid
=`expr 2 '*' $ac_mid`
4187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4190 echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.
$ac_ext >&5
4195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 # Binary search between lo and hi bounds.
4199 while test "x$ac_lo" != "x$ac_hi"; do
4200 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4207 $ac_includes_default
4211 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4218 rm -f conftest.
$ac_objext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>conftest.er1
4222 grep -v '^ *+' conftest.er1
>conftest.err
4224 cat conftest.err
>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } &&
4227 { ac_try
='test -z "$ac_c_werror_flag"
4228 || test ! -s conftest.err'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try
='test -s conftest.$ac_objext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4245 ac_lo
=`expr '(' $ac_mid ')' + 1`
4247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4250 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4251 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4252 See \`config.log' for more details." >&5
4253 echo "$as_me: error: cannot compute sizeof (int), 77
4254 See \`config.log' for more details." >&2;}
4255 { (exit 1); exit 1; }; } ;;
4258 if test "$cross_compiling" = yes; then
4259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4260 See \`config.log' for more details." >&5
4261 echo "$as_me: error: cannot run test program while cross compiling
4262 See \`config.log' for more details." >&2;}
4263 { (exit 1); exit 1; }; }
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 $ac_includes_default
4272 long longval () { return (long) (sizeof (int)); }
4273 unsigned long ulongval () { return (long) (sizeof (int)); }
4280 FILE *f = fopen ("conftest.val", "w");
4283 if (((long) (sizeof (int))) < 0)
4285 long i = longval ();
4286 if (i != ((long) (sizeof (int))))
4288 fprintf (f, "%ld\n", i);
4292 unsigned long i = ulongval ();
4293 if (i != ((long) (sizeof (int))))
4295 fprintf (f, "%lu\n", i);
4297 exit (ferror (f) || fclose (f) != 0);
4303 rm -f conftest
$ac_exeext
4304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4305 (eval $ac_link) 2>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; }; then
4314 ac_cv_sizeof_int
=`cat conftest.val`
4316 echo "$as_me: program exited with status $ac_status" >&5
4317 echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.
$ac_ext >&5
4321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4322 See \`config.log' for more details." >&5
4323 echo "$as_me: error: cannot compute sizeof (int), 77
4324 See \`config.log' for more details." >&2;}
4325 { (exit 1); exit 1; }; }
4327 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4335 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4336 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4337 cat >>confdefs.h
<<_ACEOF
4338 #define SIZEOF_INT $ac_cv_sizeof_int
4342 echo "$as_me:$LINENO: checking for long" >&5
4343 echo $ECHO_N "checking for long... $ECHO_C" >&6
4344 if test "${ac_cv_type_long+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4353 $ac_includes_default
4365 rm -f conftest.
$ac_objext
4366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4367 (eval $ac_compile) 2>conftest.er1
4369 grep -v '^ *+' conftest.er1
>conftest.err
4371 cat conftest.err
>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try
='test -z "$ac_c_werror_flag"
4375 || test ! -s conftest.err'
4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; } &&
4381 { ac_try
='test -s conftest.$ac_objext'
4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4396 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4397 echo "${ECHO_T}$ac_cv_type_long" >&6
4399 echo "$as_me:$LINENO: checking size of long" >&5
4400 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4401 if test "${ac_cv_sizeof_long+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if test "$ac_cv_type_long" = yes; then
4405 # The cast to unsigned long works around a bug in the HP C Compiler
4406 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4407 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4408 # This bug is HP SR number 8606223364.
4409 if test "$cross_compiling" = yes; then
4410 # Depending upon the size, compute the lo and hi bounds.
4411 cat >conftest.
$ac_ext <<_ACEOF
4414 cat confdefs.h
>>conftest.
$ac_ext
4415 cat >>conftest.
$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4417 $ac_includes_default
4421 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4428 rm -f conftest.
$ac_objext
4429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430 (eval $ac_compile) 2>conftest.er1
4432 grep -v '^ *+' conftest.er1
>conftest.err
4434 cat conftest.err
>&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } &&
4437 { ac_try
='test -z "$ac_c_werror_flag"
4438 || test ! -s conftest.err'
4439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; } &&
4444 { ac_try
='test -s conftest.$ac_objext'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; }; then
4452 cat >conftest.
$ac_ext <<_ACEOF
4455 cat confdefs.h
>>conftest.
$ac_ext
4456 cat >>conftest.
$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4458 $ac_includes_default
4462 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4469 rm -f conftest.
$ac_objext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag"
4479 || test ! -s conftest.err'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; } &&
4485 { ac_try
='test -s conftest.$ac_objext'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; }; then
4491 ac_hi
=$ac_mid; break
4493 echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.
$ac_ext >&5
4496 ac_lo
=`expr $ac_mid + 1`
4497 if test $ac_lo -le $ac_mid; then
4501 ac_mid
=`expr 2 '*' $ac_mid + 1`
4503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 $ac_includes_default
4519 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4526 rm -f conftest.
$ac_objext
4527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4528 (eval $ac_compile) 2>conftest.er1
4530 grep -v '^ *+' conftest.er1
>conftest.err
4532 cat conftest.err
>&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); } &&
4535 { ac_try
='test -z "$ac_c_werror_flag"
4536 || test ! -s conftest.err'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; } &&
4542 { ac_try
='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4550 cat >conftest.
$ac_ext <<_ACEOF
4553 cat confdefs.h
>>conftest.
$ac_ext
4554 cat >>conftest.
$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4556 $ac_includes_default
4560 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4567 rm -f conftest.
$ac_objext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>conftest.er1
4571 grep -v '^ *+' conftest.er1
>conftest.err
4573 cat conftest.err
>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } &&
4576 { ac_try
='test -z "$ac_c_werror_flag"
4577 || test ! -s conftest.err'
4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; } &&
4583 { ac_try
='test -s conftest.$ac_objext'
4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; }; then
4589 ac_lo
=$ac_mid; break
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.
$ac_ext >&5
4594 ac_hi
=`expr '(' $ac_mid ')' - 1`
4595 if test $ac_mid -le $ac_hi; then
4599 ac_mid
=`expr 2 '*' $ac_mid`
4601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 # Binary search between lo and hi bounds.
4613 while test "x$ac_lo" != "x$ac_hi"; do
4614 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 $ac_includes_default
4625 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4632 rm -f conftest.
$ac_objext
4633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4634 (eval $ac_compile) 2>conftest.er1
4636 grep -v '^ *+' conftest.er1
>conftest.err
4638 cat conftest.err
>&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } &&
4641 { ac_try
='test -z "$ac_c_werror_flag"
4642 || test ! -s conftest.err'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; } &&
4648 { ac_try
='test -s conftest.$ac_objext'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; }; then
4656 echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.
$ac_ext >&5
4659 ac_lo
=`expr '(' $ac_mid ')' + 1`
4661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4664 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4665 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4666 See \`config.log' for more details." >&5
4667 echo "$as_me: error: cannot compute sizeof (long), 77
4668 See \`config.log' for more details." >&2;}
4669 { (exit 1); exit 1; }; } ;;
4672 if test "$cross_compiling" = yes; then
4673 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4674 See \`config.log' for more details." >&5
4675 echo "$as_me: error: cannot run test program while cross compiling
4676 See \`config.log' for more details." >&2;}
4677 { (exit 1); exit 1; }; }
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4685 $ac_includes_default
4686 long longval () { return (long) (sizeof (long)); }
4687 unsigned long ulongval () { return (long) (sizeof (long)); }
4694 FILE *f = fopen ("conftest.val", "w");
4697 if (((long) (sizeof (long))) < 0)
4699 long i = longval ();
4700 if (i != ((long) (sizeof (long))))
4702 fprintf (f, "%ld\n", i);
4706 unsigned long i = ulongval ();
4707 if (i != ((long) (sizeof (long))))
4709 fprintf (f, "%lu\n", i);
4711 exit (ferror (f) || fclose (f) != 0);
4717 rm -f conftest
$ac_exeext
4718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4719 (eval $ac_link) 2>&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; }; then
4728 ac_cv_sizeof_long
=`cat conftest.val`
4730 echo "$as_me: program exited with status $ac_status" >&5
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.
$ac_ext >&5
4735 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4736 See \`config.log' for more details." >&5
4737 echo "$as_me: error: cannot compute sizeof (long), 77
4738 See \`config.log' for more details." >&2;}
4739 { (exit 1); exit 1; }; }
4741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4749 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4750 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4751 cat >>confdefs.h
<<_ACEOF
4752 #define SIZEOF_LONG $ac_cv_sizeof_long
4756 echo "$as_me:$LINENO: checking for long long" >&5
4757 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4758 if test "${ac_cv_type_long_long+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4767 $ac_includes_default
4771 if ((long long *) 0)
4773 if (sizeof (long long))
4779 rm -f conftest.
$ac_objext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>conftest.er1
4783 grep -v '^ *+' conftest.er1
>conftest.err
4785 cat conftest.err
>&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try
='test -z "$ac_c_werror_flag"
4789 || test ! -s conftest.err'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; } &&
4795 { ac_try
='test -s conftest.$ac_objext'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then
4801 ac_cv_type_long_long
=yes
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4806 ac_cv_type_long_long
=no
4808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4811 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4813 echo "$as_me:$LINENO: checking size of long long" >&5
4814 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4815 if test "${ac_cv_sizeof_long_long+set}" = set; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 if test "$ac_cv_type_long_long" = yes; then
4819 # The cast to unsigned long works around a bug in the HP C Compiler
4820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4822 # This bug is HP SR number 8606223364.
4823 if test "$cross_compiling" = yes; then
4824 # Depending upon the size, compute the lo and hi bounds.
4825 cat >conftest.
$ac_ext <<_ACEOF
4828 cat confdefs.h
>>conftest.
$ac_ext
4829 cat >>conftest.
$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 $ac_includes_default
4835 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
4842 rm -f conftest.
$ac_objext
4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844 (eval $ac_compile) 2>conftest.er1
4846 grep -v '^ *+' conftest.er1
>conftest.err
4848 cat conftest.err
>&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } &&
4851 { ac_try
='test -z "$ac_c_werror_flag"
4852 || test ! -s conftest.err'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; } &&
4858 { ac_try
='test -s conftest.$ac_objext'
4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 $ac_includes_default
4876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
4883 rm -f conftest.
$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>conftest.er1
4887 grep -v '^ *+' conftest.er1
>conftest.err
4889 cat conftest.err
>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try
='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try
='test -s conftest.$ac_objext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 ac_hi
=$ac_mid; break
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.
$ac_ext >&5
4910 ac_lo
=`expr $ac_mid + 1`
4911 if test $ac_lo -le $ac_mid; then
4915 ac_mid
=`expr 2 '*' $ac_mid + 1`
4917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.
$ac_ext >&5
4923 cat >conftest.
$ac_ext <<_ACEOF
4926 cat confdefs.h
>>conftest.
$ac_ext
4927 cat >>conftest.
$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4929 $ac_includes_default
4933 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
4940 rm -f conftest.
$ac_objext
4941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4942 (eval $ac_compile) 2>conftest.er1
4944 grep -v '^ *+' conftest.er1
>conftest.err
4946 cat conftest.err
>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } &&
4949 { ac_try
='test -z "$ac_c_werror_flag"
4950 || test ! -s conftest.err'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; } &&
4956 { ac_try
='test -s conftest.$ac_objext'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; }; then
4964 cat >conftest.
$ac_ext <<_ACEOF
4967 cat confdefs.h
>>conftest.
$ac_ext
4968 cat >>conftest.
$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4970 $ac_includes_default
4974 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
4981 rm -f conftest.
$ac_objext
4982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>conftest.er1
4985 grep -v '^ *+' conftest.er1
>conftest.err
4987 cat conftest.err
>&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } &&
4990 { ac_try
='test -z "$ac_c_werror_flag"
4991 || test ! -s conftest.err'
4992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; } &&
4997 { ac_try
='test -s conftest.$ac_objext'
4998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); }; }; then
5003 ac_lo
=$ac_mid; break
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.
$ac_ext >&5
5008 ac_hi
=`expr '(' $ac_mid ')' - 1`
5009 if test $ac_mid -le $ac_hi; then
5013 ac_mid
=`expr 2 '*' $ac_mid`
5015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 # Binary search between lo and hi bounds.
5027 while test "x$ac_lo" != "x$ac_hi"; do
5028 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5029 cat >conftest.
$ac_ext <<_ACEOF
5032 cat confdefs.h
>>conftest.
$ac_ext
5033 cat >>conftest.
$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5035 $ac_includes_default
5039 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5046 rm -f conftest.
$ac_objext
5047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5048 (eval $ac_compile) 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try
='test -z "$ac_c_werror_flag"
5056 || test ! -s conftest.err'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; } &&
5062 { ac_try
='test -s conftest.$ac_objext'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; }; then
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5073 ac_lo
=`expr '(' $ac_mid ')' + 1`
5075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5078 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
5079 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5080 See \`config.log' for more details." >&5
5081 echo "$as_me: error: cannot compute sizeof (long long), 77
5082 See \`config.log' for more details." >&2;}
5083 { (exit 1); exit 1; }; } ;;
5086 if test "$cross_compiling" = yes; then
5087 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5088 See \`config.log' for more details." >&5
5089 echo "$as_me: error: cannot run test program while cross compiling
5090 See \`config.log' for more details." >&2;}
5091 { (exit 1); exit 1; }; }
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 $ac_includes_default
5100 long longval () { return (long) (sizeof (long long)); }
5101 unsigned long ulongval () { return (long) (sizeof (long long)); }
5108 FILE *f = fopen ("conftest.val", "w");
5111 if (((long) (sizeof (long long))) < 0)
5113 long i = longval ();
5114 if (i != ((long) (sizeof (long long))))
5116 fprintf (f, "%ld\n", i);
5120 unsigned long i = ulongval ();
5121 if (i != ((long) (sizeof (long long))))
5123 fprintf (f, "%lu\n", i);
5125 exit (ferror (f) || fclose (f) != 0);
5131 rm -f conftest
$ac_exeext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5133 (eval $ac_link) 2>&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; }; then
5142 ac_cv_sizeof_long_long
=`cat conftest.val`
5144 echo "$as_me: program exited with status $ac_status" >&5
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.
$ac_ext >&5
5149 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5150 See \`config.log' for more details." >&5
5151 echo "$as_me: error: cannot compute sizeof (long long), 77
5152 See \`config.log' for more details." >&2;}
5153 { (exit 1); exit 1; }; }
5155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5160 ac_cv_sizeof_long_long
=0
5163 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5164 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
5165 cat >>confdefs.h
<<_ACEOF
5166 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5172 $ac_cv_sizeof_short) SIZE16
="short";;
5173 $ac_cv_sizeof_int) SIZE16
="int";;
5177 $ac_cv_sizeof_int) SIZE32
="int";;
5178 $ac_cv_sizeof_long) SIZE32
="long";;
5179 $ac_cv_sizeof_short) SIZE32
="short";;
5186 OPAL_HAVE_SPEEX_SPEEX_H
=
5188 for ac_header
in "speex.h"
5190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5192 echo "$as_me:$LINENO: checking for $ac_header" >&5
5193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5200 # Is the header compilable?
5201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5209 $ac_includes_default
5210 #include <$ac_header>
5212 rm -f conftest.
$ac_objext
5213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5214 (eval $ac_compile) 2>conftest.er1
5216 grep -v '^ *+' conftest.er1
>conftest.err
5218 cat conftest.err
>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } &&
5221 { ac_try
='test -z "$ac_c_werror_flag"
5222 || test ! -s conftest.err'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; } &&
5228 { ac_try
='test -s conftest.$ac_objext'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; }; then
5234 ac_header_compiler
=yes
5236 echo "$as_me: failed program was:" >&5
5237 sed 's/^/| /' conftest.
$ac_ext >&5
5239 ac_header_compiler
=no
5241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5243 echo "${ECHO_T}$ac_header_compiler" >&6
5245 # Is the header present?
5246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 #include <$ac_header>
5256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1
>conftest.err
5261 cat conftest.err
>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } >/dev
/null
; then
5264 if test -s conftest.err
; then
5265 ac_cpp_err
=$ac_c_preproc_warn_flag
5266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5273 if test -z "$ac_cpp_err"; then
5274 ac_header_preproc
=yes
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.
$ac_ext >&5
5279 ac_header_preproc
=no
5281 rm -f conftest.err conftest.
$ac_ext
5282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5283 echo "${ECHO_T}$ac_header_preproc" >&6
5285 # So? What about this header?
5286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5292 ac_header_preproc
=yes
5295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5309 ## ------------------------------------------ ##
5310 ## Report this to the AC_PACKAGE_NAME lists. ##
5311 ## ------------------------------------------ ##
5314 sed "s/^/$as_me: WARNING: /" >&2
5317 echo "$as_me:$LINENO: checking for $ac_header" >&5
5318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 eval "$as_ac_Header=\$ac_header_preproc"
5324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5329 cat >>confdefs.h
<<_ACEOF
5330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5337 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5338 cat >>confdefs.h
<<\_ACEOF
5339 #define OPAL_HAVE_SPEEX_H 1
5344 for ac_header
in "speex/speex.h"
5346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5348 echo "$as_me:$LINENO: checking for $ac_header" >&5
5349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5356 # Is the header compilable?
5357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5359 cat >conftest.
$ac_ext <<_ACEOF
5362 cat confdefs.h
>>conftest.
$ac_ext
5363 cat >>conftest.
$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5365 $ac_includes_default
5366 #include <$ac_header>
5368 rm -f conftest.
$ac_objext
5369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5370 (eval $ac_compile) 2>conftest.er1
5372 grep -v '^ *+' conftest.er1
>conftest.err
5374 cat conftest.err
>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } &&
5377 { ac_try
='test -z "$ac_c_werror_flag"
5378 || test ! -s conftest.err'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; } &&
5384 { ac_try
='test -s conftest.$ac_objext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5390 ac_header_compiler
=yes
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_header_compiler
=no
5397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5399 echo "${ECHO_T}$ac_header_compiler" >&6
5401 # Is the header present?
5402 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5404 cat >conftest.
$ac_ext <<_ACEOF
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 #include <$ac_header>
5412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5415 grep -v '^ *+' conftest.er1
>conftest.err
5417 cat conftest.err
>&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } >/dev
/null
; then
5420 if test -s conftest.err
; then
5421 ac_cpp_err
=$ac_c_preproc_warn_flag
5422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5429 if test -z "$ac_cpp_err"; then
5430 ac_header_preproc
=yes
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.
$ac_ext >&5
5435 ac_header_preproc
=no
5437 rm -f conftest.err conftest.
$ac_ext
5438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5439 echo "${ECHO_T}$ac_header_preproc" >&6
5441 # So? What about this header?
5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5447 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5448 ac_header_preproc
=yes
5451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5455 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5456 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5457 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5458 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5461 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5462 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5465 ## ------------------------------------------ ##
5466 ## Report this to the AC_PACKAGE_NAME lists. ##
5467 ## ------------------------------------------ ##
5470 sed "s/^/$as_me: WARNING: /" >&2
5473 echo "$as_me:$LINENO: checking for $ac_header" >&5
5474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 eval "$as_ac_Header=\$ac_header_preproc"
5480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5485 cat >>confdefs.h
<<_ACEOF
5486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5488 OPAL_HAVE_SPEEX_SPEEX_H
=1
5493 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
5494 cat >>confdefs.h
<<\_ACEOF
5495 #define OPAL_HAVE_SPEEX_SPEEX_H 1
5501 if test "${localspeex}" = "yes" ; then
5502 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
5503 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
5504 elif test "${localspeex}" = "no" ; then
5505 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
5506 echo "$as_me: Forcing use of system Speex library" >&6;}
5507 cat >>confdefs.h
<<\_ACEOF
5508 #define OPAL_SYSTEM_SPEEX 1
5514 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
5515 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
5516 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_check_lib_save_LIBS
=$LIBS
5520 LIBS
="-lspeex $LIBS"
5521 cat >conftest.
$ac_ext <<_ACEOF
5524 cat confdefs.h
>>conftest.
$ac_ext
5525 cat >>conftest.
$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5528 /* Override any gcc2 internal prototype to avoid an error. */
5532 /* We use char because int might match the return type of a gcc2
5533 builtin and then its argument prototype would still apply. */
5534 char speex_encoder_destroy ();
5538 speex_encoder_destroy ();
5543 rm -f conftest.
$ac_objext conftest
$ac_exeext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5545 (eval $ac_link) 2>conftest.er1
5547 grep -v '^ *+' conftest.er1
>conftest.err
5549 cat conftest.err
>&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } &&
5552 { ac_try
='test -z "$ac_c_werror_flag"
5553 || test ! -s conftest.err'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; } &&
5559 { ac_try
='test -s conftest$ac_exeext'
5560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 ac_cv_lib_speex_speex_encoder_destroy
=yes
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.
$ac_ext >&5
5570 ac_cv_lib_speex_speex_encoder_destroy
=no
5572 rm -f conftest.err conftest.
$ac_objext \
5573 conftest
$ac_exeext conftest.
$ac_ext
5574 LIBS
=$ac_check_lib_save_LIBS
5576 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
5577 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
5578 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
5582 if test "${SPEEX}x" != "x" ; then
5583 echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
5584 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6
5585 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 ac_check_lib_save_LIBS
=$LIBS
5589 LIBS
="-lspeex $LIBS"
5590 cat >conftest.
$ac_ext <<_ACEOF
5593 cat confdefs.h
>>conftest.
$ac_ext
5594 cat >>conftest.
$ac_ext <<_ACEOF
5595 /* end confdefs.h. */
5597 /* Override any gcc2 internal prototype to avoid an error. */
5601 /* We use char because int might match the return type of a gcc2
5602 builtin and then its argument prototype would still apply. */
5603 char speex_encode_int ();
5607 speex_encode_int ();
5612 rm -f conftest.
$ac_objext conftest
$ac_exeext
5613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5614 (eval $ac_link) 2>conftest.er1
5616 grep -v '^ *+' conftest.er1
>conftest.err
5618 cat conftest.err
>&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } &&
5621 { ac_try
='test -z "$ac_c_werror_flag"
5622 || test ! -s conftest.err'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; } &&
5628 { ac_try
='test -s conftest$ac_exeext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then
5634 ac_cv_lib_speex_speex_encode_int
=yes
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.
$ac_ext >&5
5639 ac_cv_lib_speex_speex_encode_int
=no
5641 rm -f conftest.err conftest.
$ac_objext \
5642 conftest
$ac_exeext conftest.
$ac_ext
5643 LIBS
=$ac_check_lib_save_LIBS
5645 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
5646 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6
5647 if test $ac_cv_lib_speex_speex_encode_int = yes; then
5654 if test "x$SPEEX" = "x" -o \
( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \
); then
5655 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
5656 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
5658 echo "$as_me:$LINENO: checking system Speex version" >&5
5659 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
5660 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5661 echo "#include <speex.h>" > t.c
5662 echo "#include <speex_header.h>" >> t.c
5664 echo "#include <speex/speex.h>" > t.c
5665 echo "#include <speex/speex_header.h>" >> t.c
5669 int main(int argc,char *argv)
5672 speex_init_header(&header, 1, 1, &speex_nb_mode);
5673 printf("%s\n", header.speex_version);
5676 cc
-o t t.c
-lspeex > /dev
/null
2>&1
5677 if test \
! -x t
; then
5678 echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
5679 echo "${ECHO_T}cannot determine - using OPAL version" >&6
5682 echo "$as_me:$LINENO: result: $SYSVER" >&5
5683 echo "${ECHO_T}$SYSVER" >&6
5684 echo "$as_me:$LINENO: checking library Speex version" >&5
5685 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
5686 LIBVER
=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//' -e 's/\/.*//'`
5687 echo "$as_me:$LINENO: result: $LIBVER" >&5
5688 echo "${ECHO_T}$LIBVER" >&6
5689 echo "$as_me:$LINENO: checking Speex versions" >&5
5690 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
5693 \$sysver = @ARGV[0];
5694 \$libver = @ARGV[1];
5695 @lib = split /\./, \$libver;
5699 @sys = split /\./, \$sysver;
5705 if (@sys[\$i] < @lib[\$i]) {
5714 SPEEX
=`perl t.pl $SYSVER $LIBVER`
5716 if test "x$SPEEX" = "x0" ; then
5717 echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
5718 echo "${ECHO_T}OPAL version is more recent" >&6
5720 echo "$as_me:$LINENO: result: system version is more recent" >&5
5721 echo "${ECHO_T}system version is more recent" >&6
5722 cat >>confdefs.h
<<\_ACEOF
5723 #define OPAL_SYSTEM_SPEEX 1
5728 echo "$as_me:$LINENO: checking Speex noise type" >&5
5729 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6
5730 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5731 echo "#include <speex.h>" > t.c
5732 echo "#include <speex_preprocess.h>" >> t.c
5734 echo "#include <speex/speex.h>" > t.c
5735 echo "#include <speex/speex_preprocess.h>" >> t.c
5739 int main(int argc,char *argv)
5741 struct SpeexPreprocessState *st;
5744 speex_preprocess(st, x, echo);
5748 cc
-Werror -o t t.c
-lspeex > /dev
/null
2>&1
5749 if test \
! -x t
; then
5750 echo "$as_me:$LINENO: result: spx_int32_t" >&5
5751 echo "${ECHO_T}spx_int32_t" >&6
5753 echo "$as_me:$LINENO: result: float" >&5
5754 echo "${ECHO_T}float" >&6
5755 cat >>confdefs.h
<<\_ACEOF
5756 #define OPAL_SPEEX_FLOAT_NOISE 1
5771 # Check whether --enable-audio or --disable-audio was given.
5772 if test "${enable_audio+set}" = set; then
5773 enableval
="$enable_audio"
5776 echo "$as_me:$LINENO: checking audio codec support" >&5
5777 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6
5778 if test "$audio" = "yes" ; then
5781 cat >>confdefs.h
<<\_ACEOF
5782 #define OPAL_AUDIO 1
5785 echo "$as_me:$LINENO: result: enabled" >&5
5786 echo "${ECHO_T}enabled" >&6
5788 echo "$as_me:$LINENO: result: disabled" >&5
5789 echo "${ECHO_T}disabled" >&6
5795 # Check whether --enable-video or --disable-video was given.
5796 if test "${enable_video+set}" = set; then
5797 enableval
="$enable_video"
5800 echo "$as_me:$LINENO: checking video device support" >&5
5801 echo $ECHO_N "checking video device support... $ECHO_C" >&6
5802 if test "$video" = "yes" ; then
5805 cat >>confdefs.h
<<\_ACEOF
5806 #define OPAL_VIDEO 1
5809 echo "$as_me:$LINENO: result: enabled" >&5
5810 echo "${ECHO_T}enabled" >&6
5812 echo "$as_me:$LINENO: result: disabled" >&5
5813 echo "${ECHO_T}disabled" >&6
5819 # Check whether --enable-sip or --disable-sip was given.
5820 if test "${enable_sip+set}" = set; then
5821 enableval
="$enable_sip"
5824 echo "$as_me:$LINENO: checking SIP protocol" >&5
5825 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
5826 if test "$sip" = "yes" ; then
5829 cat >>confdefs.h
<<\_ACEOF
5833 echo "$as_me:$LINENO: result: enabled" >&5
5834 echo "${ECHO_T}enabled" >&6
5836 echo "$as_me:$LINENO: result: disabled" >&5
5837 echo "${ECHO_T}disabled" >&6
5846 # Check whether --enable-h323 or --disable-h323 was given.
5847 if test "${enable_h323+set}" = set; then
5848 enableval
="$enable_h323"
5851 echo "$as_me:$LINENO: checking H.323 protocol" >&5
5852 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
5853 if test "$h323" = "yes" ; then
5856 cat >>confdefs.h
<<\_ACEOF
5860 echo "$as_me:$LINENO: result: enabled" >&5
5861 echo "${ECHO_T}enabled" >&6
5865 echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
5866 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6
5871 OPAL_H323
=$OPAL_H323
5877 # Check whether --enable-iax or --disable-iax was given.
5878 if test "${enable_iax+set}" = set; then
5879 enableval
="$enable_iax"
5882 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
5883 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
5884 if test "$iax" = "yes" ; then
5887 cat >>confdefs.h
<<\_ACEOF
5891 echo "$as_me:$LINENO: result: enabled" >&5
5892 echo "${ECHO_T}enabled" >&6
5894 echo "$as_me:$LINENO: result: disabled" >&5
5895 echo "${ECHO_T}disabled" >&6
5899 # Check whether --enable-h224 or --disable-h224 was given.
5900 if test "${enable_h224+set}" = set; then
5901 enableval
="$enable_h224"
5904 echo "$as_me:$LINENO: checking H224 protocol" >&5
5905 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6
5906 if test "$h224" = "yes" ; then
5909 cat >>confdefs.h
<<\_ACEOF
5913 echo "$as_me:$LINENO: result: enabled" >&5
5914 echo "${ECHO_T}enabled" >&6
5916 echo "$as_me:$LINENO: result: disabled" >&5
5917 echo "${ECHO_T}disabled" >&6
5922 if test "$t38" = "yes" ; then
5923 # Check whether --enable-t38 or --disable-t38 was given.
5924 if test "${enable_t38+set}" = set; then
5925 enableval
="$enable_t38"
5928 echo "$as_me:$LINENO: checking T.38 protocol" >&5
5929 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6
5930 if test "$t38" = "yes" ; then
5933 cat >>confdefs.h
<<\_ACEOF
5934 #define OPAL_T38FAX 1
5937 echo "$as_me:$LINENO: result: enabled" >&5
5938 echo "${ECHO_T}enabled" >&6
5940 echo "$as_me:$LINENO: result: disabled" >&5
5941 echo "${ECHO_T}disabled" >&6
5949 if test "$h460" = "yes" ; then
5950 # Check whether --enable-h460 or --disable-h460 was given.
5951 if test "${enable_h460+set}" = set; then
5952 enableval
="$enable_h460"
5955 echo "$as_me:$LINENO: checking H.460 support" >&5
5956 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6
5957 if test "$h460" = "yes" ; then
5960 cat >>confdefs.h
<<\_ACEOF
5964 echo "$as_me:$LINENO: result: enabled" >&5
5965 echo "${ECHO_T}enabled" >&6
5967 echo "$as_me:$LINENO: result: disabled" >&5
5968 echo "${ECHO_T}disabled" >&6
5977 if test "$lid" = "yes" ; then
5978 # Check whether --enable-lid or --disable-lid was given.
5979 if test "${enable_lid+set}" = set; then
5980 enableval
="$enable_lid"
5983 echo "$as_me:$LINENO: checking LID support" >&5
5984 echo $ECHO_N "checking LID support... $ECHO_C" >&6
5985 if test "$lid" = "yes" ; then
5986 cat >>confdefs.h
<<\_ACEOF
5991 echo "$as_me:$LINENO: result: enabled" >&5
5992 echo "${ECHO_T}enabled" >&6
5994 echo "$as_me:$LINENO: result: disabled" >&5
5995 echo "${ECHO_T}disabled" >&6
6004 if test "$ivr" = "yes" ; then
6005 # Check whether --enable-ivr or --disable-ivr was given.
6006 if test "${enable_ivr+set}" = set; then
6007 enableval
="$enable_ivr"
6010 echo "$as_me:$LINENO: checking IVR support" >&5
6011 echo $ECHO_N "checking IVR support... $ECHO_C" >&6
6012 if test "$ivr" = "yes" ; then
6013 cat >>confdefs.h
<<\_ACEOF
6018 echo "$as_me:$LINENO: result: enabled" >&5
6019 echo "${ECHO_T}enabled" >&6
6021 echo "$as_me:$LINENO: result: disabled" >&5
6022 echo "${ECHO_T}disabled" >&6
6040 echo "$as_me:$LINENO: checking for libSRTP" >&5
6041 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 #include "srtp/srtp.h"
6052 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
6057 rm -f conftest.
$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059 (eval $ac_compile) 2>conftest.er1
6061 grep -v '^ *+' conftest.er1
>conftest.err
6063 cat conftest.err
>&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try
='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try
='test -s conftest.$ac_objext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.
$ac_ext >&5
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 if test "${HAS_LIBSRTP}" = "1" ; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6089 cat >>confdefs.h
<<\_ACEOF
6090 #define HAS_LIBSRTP 1
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6106 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6107 if test -f $ac_dir/install-sh
; then
6109 ac_install_sh
="$ac_aux_dir/install-sh -c"
6111 elif test -f $ac_dir/install.sh
; then
6113 ac_install_sh
="$ac_aux_dir/install.sh -c"
6115 elif test -f $ac_dir/shtool
; then
6117 ac_install_sh
="$ac_aux_dir/shtool install -c"
6121 if test -z "$ac_aux_dir"; then
6122 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6123 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6124 { (exit 1); exit 1; }; }
6126 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
6127 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
6128 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6130 # Find a good install program. We prefer a C program (faster),
6131 # so one script is as good as another. But avoid the broken or
6132 # incompatible versions:
6133 # SysV /etc/install, /usr/sbin/install
6134 # SunOS /usr/etc/install
6135 # IRIX /sbin/install
6137 # AmigaOS /C/install, which installs bootblocks on floppy discs
6138 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6139 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6140 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6141 # OS/2's system install, which has a completely different semantic
6142 # ./install, which can be erroneously created by make from ./install.sh.
6143 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6144 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6145 if test -z "$INSTALL"; then
6146 if test "${ac_cv_path_install+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir
=.
6154 # Account for people who put trailing slashes in PATH elements.
6156 .
/ | .
// |
/cC
/* | \
6157 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6158 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6161 # OSF1 and SCO ODT 3.0 have their own names for install.
6162 # Don't use installbsd from OSF since it installs stuff as root
6164 for ac_prog
in ginstall scoinst
install; do
6165 for ac_exec_ext
in '' $ac_executable_extensions; do
6166 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6167 if test $ac_prog = install &&
6168 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6169 # AIX install. It has an incompatible calling convention.
6171 elif test $ac_prog = install &&
6172 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6173 # program-specific install script used by HP pwplus--don't use.
6176 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6188 if test "${ac_cv_path_install+set}" = set; then
6189 INSTALL
=$ac_cv_path_install
6191 # As a last resort, use the slow shell script. We don't cache a
6192 # path for INSTALL within a source directory, because that will
6193 # break other packages using the cache if that directory is
6194 # removed, or if the path is relative.
6195 INSTALL
=$ac_install_sh
6198 echo "$as_me:$LINENO: result: $INSTALL" >&5
6199 echo "${ECHO_T}$INSTALL" >&6
6201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6202 # It thinks the first close brace ends the variable substitution.
6203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6205 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6207 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6213 subdirs
="$subdirs plugins"
6217 ac_config_files
="$ac_config_files opal_inc.mak"
6219 ac_config_files
="$ac_config_files Makefile"
6221 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6223 ac_config_files
="$ac_config_files opal.pc"
6225 ac_config_files
="$ac_config_files opal.spec"
6227 ac_config_files
="$ac_config_files opal_cfg.dxy"
6230 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6231 cat >confcache
<<\_ACEOF
6232 # This file is a shell script that caches the results of configure
6233 # tests run on this system so they can be shared between configure
6234 # scripts and configure runs, see configure's option --config-cache.
6235 # It is not useful on other systems. If it contains results you don't
6236 # want to keep, you may remove or edit it.
6238 # config.status only pays attention to the cache file if you give it
6239 # the --recheck option to rerun configure.
6241 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6242 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6247 # The following way of writing the cache mishandles newlines in values,
6248 # but we know of no workaround that is simple, portable, and efficient.
6249 # So, don't put newlines in cache variables' values.
6250 # Ultrix sh set writes to stderr and can't be redirected directly,
6251 # and sets the high bit in the cache file unless we assign to the vars.
6254 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6256 # `set' does not quote correctly, so add quotes (double-quote
6257 # substitution turns \\\\ into \\, and sed turns \\ into \).
6260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6263 # `set' quotes correctly as required by POSIX, so do not add quotes.
6265 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6274 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6276 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6277 if test -w $cache_file; then
6278 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6279 cat confcache
>$cache_file
6281 echo "not updating unwritable cache $cache_file"
6286 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6287 # Let make expand exec_prefix.
6288 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6292 # trailing colons and then remove the whole line if VPATH becomes empty
6293 # (actually we leave an empty line to preserve line numbers).
6294 if test "x$srcdir" = x.
; then
6295 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6296 s/:*\$(srcdir):*/:/;
6297 s/:*\${srcdir}:*/:/;
6299 s/^\([^=]*=[ ]*\):*/\1/;
6305 DEFS
=-DHAVE_CONFIG_H
6309 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6310 # 1. Remove the extension, and $U if already installed.
6311 ac_i
=`echo "$ac_i" |
6312 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6314 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6315 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6319 LTLIBOBJS
=$ac_ltlibobjs
6323 : ${CONFIG_STATUS=./config.status}
6324 ac_clean_files_save
=$ac_clean_files
6325 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6326 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6327 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6328 cat >$CONFIG_STATUS <<_ACEOF
6330 # Generated by $as_me.
6331 # Run this file to recreate the current configuration.
6332 # Compiler output produced by configure, useful for debugging
6333 # configure, is in config.log if it exists.
6338 SHELL=\${CONFIG_SHELL-$SHELL}
6341 cat >>$CONFIG_STATUS <<\_ACEOF
6342 ## --------------------- ##
6343 ## M4sh Initialization. ##
6344 ## --------------------- ##
6346 # Be Bourne compatible
6347 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6350 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6351 # is contrary to our usage. Disable this feature.
6352 alias -g '${1+"$@"}'='"$@"'
6353 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6356 DUALCASE
=1; export DUALCASE
# for MKS sh
6358 # Support unset when possible.
6359 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6366 # Work around bugs in pre-3.0 UWIN ksh.
6367 $as_unset ENV MAIL MAILPATH
6374 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6375 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6376 LC_TELEPHONE LC_TIME
6378 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6379 eval $as_var=C
; export $as_var
6385 # Required to use basename.
6386 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6392 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6393 as_basename
=basename
6399 # Name of the executable.
6400 as_me
=`$as_basename "$0" ||
6401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6402 X"$0" : 'X\(//\)$' \| \
6403 X"$0" : 'X\(/\)$' \| \
6404 . : '\(.\)' 2>/dev/null ||
6406 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6407 /^X\/\(\/\/\)$/{ s//\1/; q; }
6408 /^X\/\(\/\).*/{ s//\1/; q; }
6412 # PATH needs CR, and LINENO needs CR and PATH.
6413 # Avoid depending upon Character Ranges.
6414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6417 as_cr_digits
='0123456789'
6418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6420 # The user is always right.
6421 if test "${PATH_SEPARATOR+set}" != set; then
6422 echo "#! /bin/sh" >conf$$.sh
6423 echo "exit 0" >>conf$$.sh
6425 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6436 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6437 test "x$as_lineno_1" != "x$as_lineno_2" &&
6438 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6439 # Find who we are. Look in the path if we contain no path at all
6442 *[\\/]* ) as_myself
=$0 ;;
6443 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir
=.
6448 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6453 # We did not find ourselves, most probably we were run as `sh COMMAND'
6454 # in which case we are not to be found in the path.
6455 if test "x$as_myself" = x
; then
6458 if test ! -f "$as_myself"; then
6459 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6460 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6461 { (exit 1); exit 1; }; }
6463 case $CONFIG_SHELL in
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6469 test -z "$as_dir" && as_dir
=.
6470 for as_base
in sh bash ksh sh5
; do
6473 if ("$as_dir/$as_base" -c '
6476 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6477 test "x$as_lineno_1" != "x$as_lineno_2" &&
6478 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6479 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6480 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6481 CONFIG_SHELL
=$as_dir/$as_base
6483 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6491 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6492 # uniformly replaced by the line number. The first 'sed' inserts a
6493 # line-number line before each line; the second 'sed' does the real
6494 # work. The second script uses 'N' to pair each line-number line
6495 # with the numbered line, and appends trailing '-' during
6496 # substitution so that $LINENO is not a special case at line end.
6497 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6498 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6499 sed '=' <$as_myself |
6504 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6507 s,^['$as_cr_digits']*\n,,
6509 chmod +x
$as_me.lineno ||
6510 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6511 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6512 { (exit 1); exit 1; }; }
6514 # Don't try to exec as it changes $[0], causing all sort of problems
6515 # (the dirname of $[0] is not the place where we might find the
6516 # original and so on. Autoconf is especially sensible to this).
6518 # Exit status is that of the last command.
6523 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6524 *c
*,-n*) ECHO_N
= ECHO_C
='
6526 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6527 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6530 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6536 rm -f conf$$ conf$$.exe conf$$.
file
6538 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6539 # We could just check for DJGPP; but this test a) works b) is more generic
6540 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6541 if test -f conf$$.exe
; then
6542 # Don't use ln at all; we don't have any links
6547 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6552 rm -f conf$$ conf$$.exe conf$$.
file
6554 if mkdir
-p .
2>/dev
/null
; then
6557 test -d .
/-p && rmdir .
/-p
6561 as_executable_p
="test -f"
6563 # Sed expression to map a string onto a valid CPP name.
6564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6566 # Sed expression to map a string onto a valid variable name.
6567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6571 # We need space, tab and new line, in precisely that order.
6581 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6582 # report actual input values of CONFIG_FILES etc. instead of their
6583 # values after options handling. Logging --version etc. is OK.
6587 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6588 ## Running $as_me. ##
6593 This file was extended by $as_me, which was
6594 generated by GNU Autoconf 2.59. Invocation command line was
6596 CONFIG_FILES = $CONFIG_FILES
6597 CONFIG_HEADERS = $CONFIG_HEADERS
6598 CONFIG_LINKS = $CONFIG_LINKS
6599 CONFIG_COMMANDS = $CONFIG_COMMANDS
6603 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6607 # Files that config.status was made for.
6608 if test -n "$ac_config_files"; then
6609 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6612 if test -n "$ac_config_headers"; then
6613 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6616 if test -n "$ac_config_links"; then
6617 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6620 if test -n "$ac_config_commands"; then
6621 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6624 cat >>$CONFIG_STATUS <<\_ACEOF
6627 \`$as_me' instantiates files from templates according to the
6628 current configuration.
6630 Usage: $0 [OPTIONS] [FILE]...
6632 -h, --help print this help, then exit
6633 -V, --version print version number, then exit
6634 -q, --quiet do not print progress messages
6635 -d, --debug don't remove temporary files
6636 --recheck update $as_me by reconfiguring in the same conditions
6637 --file=FILE[:TEMPLATE]
6638 instantiate the configuration file FILE
6639 --header=FILE[:TEMPLATE]
6640 instantiate the configuration header FILE
6642 Configuration files:
6645 Configuration headers:
6648 Report bugs to <bug-autoconf@gnu.org>."
6651 cat >>$CONFIG_STATUS <<_ACEOF
6654 configured by $0, generated by GNU Autoconf 2.59,
6655 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6657 Copyright (C) 2003 Free Software Foundation, Inc.
6658 This config.status script is free software; the Free Software Foundation
6659 gives unlimited permission to copy, distribute and modify it."
6664 cat >>$CONFIG_STATUS <<\_ACEOF
6665 # If no file are specified by the user, then we need to provide default
6666 # value. By we need to know if files were specified by the user.
6672 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6673 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6681 *) # This is not an option, so the user has probably given explicit
6684 ac_need_defaults
=false
;;
6688 # Handling of the options.
6690 cat >>$CONFIG_STATUS <<\_ACEOF
6691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6693 --version |
--vers* |
-V )
6694 echo "$ac_cs_version"; exit 0 ;;
6696 # Conflict between --help and --header
6697 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6698 Try \`$0 --help' for more information." >&5
6699 echo "$as_me: error: ambiguous option: $1
6700 Try \`$0 --help' for more information." >&2;}
6701 { (exit 1); exit 1; }; };;
6702 --help |
--hel |
-h )
6703 echo "$ac_cs_usage"; exit 0 ;;
6704 --debug |
--d* |
-d )
6706 --file |
--fil |
--fi |
--f )
6708 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6709 ac_need_defaults
=false
;;
6710 --header |
--heade |
--head |
--hea )
6712 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6713 ac_need_defaults
=false
;;
6714 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6715 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6719 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6720 Try \`$0 --help' for more information." >&5
6721 echo "$as_me: error: unrecognized option: $1
6722 Try \`$0 --help' for more information." >&2;}
6723 { (exit 1); exit 1; }; } ;;
6725 *) ac_config_targets
="$ac_config_targets $1" ;;
6731 ac_configure_extra_args
=
6733 if $ac_cs_silent; then
6735 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6739 cat >>$CONFIG_STATUS <<_ACEOF
6740 if \$ac_cs_recheck; then
6741 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6742 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6751 cat >>$CONFIG_STATUS <<\_ACEOF
6752 for ac_config_target
in $ac_config_targets
6754 case "$ac_config_target" in
6755 # Handling of arguments.
6756 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
6757 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6758 "opal.pc" ) CONFIG_FILES
="$CONFIG_FILES opal.pc" ;;
6759 "opal.spec" ) CONFIG_FILES
="$CONFIG_FILES opal.spec" ;;
6760 "opal_cfg.dxy" ) CONFIG_FILES
="$CONFIG_FILES opal_cfg.dxy" ;;
6761 "src/codec/speex/libspeex/speex_config_types.h" ) CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
6762 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
6763 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6764 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6765 { (exit 1); exit 1; }; };;
6769 # If the user did not use the arguments to specify the items to instantiate,
6770 # then the envvar interface is used. Set only those that are not.
6771 # We use the long form for the default assignment because of an extremely
6772 # bizarre bug on SunOS 4.1.3.
6773 if $ac_need_defaults; then
6774 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6775 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6778 # Have a temporary directory for convenience. Make it in the build tree
6779 # simply because there is no reason to put it here, and in addition,
6780 # creating and moving files from /tmp can sometimes cause problems.
6781 # Create a temporary directory, and hook for its removal unless debugging.
6784 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6785 trap '{ (exit 1); exit 1; }' 1 2 13 15
6788 # Create a (secure) tmp directory for tmp files.
6791 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6792 test -n "$tmp" && test -d "$tmp"
6795 tmp
=.
/confstat$$
-$RANDOM
6796 (umask 077 && mkdir
$tmp)
6799 echo "$me: cannot create a temporary directory in ." >&2
6800 { (exit 1); exit 1; }
6805 cat >>$CONFIG_STATUS <<_ACEOF
6808 # CONFIG_FILES section.
6811 # No need to generate the scripts if there are no CONFIG_FILES.
6812 # This happens for instance when ./config.status config.h
6813 if test -n "\$CONFIG_FILES"; then
6814 # Protect against being on the right side of a sed subst in config.status.
6815 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6816 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6817 s,@SHELL@,$SHELL,;t t
6818 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6819 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6820 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6821 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6822 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6823 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6824 s,@exec_prefix@,$exec_prefix,;t t
6825 s,@prefix@,$prefix,;t t
6826 s,@program_transform_name@,$program_transform_name,;t t
6827 s,@bindir@,$bindir,;t t
6828 s,@sbindir@,$sbindir,;t t
6829 s,@libexecdir@,$libexecdir,;t t
6830 s,@datadir@,$datadir,;t t
6831 s,@sysconfdir@,$sysconfdir,;t t
6832 s,@sharedstatedir@,$sharedstatedir,;t t
6833 s,@localstatedir@,$localstatedir,;t t
6834 s,@libdir@,$libdir,;t t
6835 s,@includedir@,$includedir,;t t
6836 s,@oldincludedir@,$oldincludedir,;t t
6837 s,@infodir@,$infodir,;t t
6838 s,@mandir@,$mandir,;t t
6839 s,@build_alias@,$build_alias,;t t
6840 s,@host_alias@,$host_alias,;t t
6841 s,@target_alias@,$target_alias,;t t
6843 s,@ECHO_C@,$ECHO_C,;t t
6844 s,@ECHO_N@,$ECHO_N,;t t
6845 s,@ECHO_T@,$ECHO_T,;t t
6848 s,@CFLAGS@,$CFLAGS,;t t
6849 s,@LDFLAGS@,$LDFLAGS,;t t
6850 s,@CPPFLAGS@,$CPPFLAGS,;t t
6851 s,@ac_ct_CC@,$ac_ct_CC,;t t
6852 s,@EXEEXT@,$EXEEXT,;t t
6853 s,@OBJEXT@,$OBJEXT,;t t
6855 s,@CXXFLAGS@,$CXXFLAGS,;t t
6856 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6857 s,@OPALDIR@,$OPALDIR,;t t
6858 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6859 s,@LIBDIR@,$LIBDIR,;t t
6860 s,@OPAL_VERSION@,$OPAL_VERSION,;t t
6861 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
6862 s,@PWLIBDIR@,$PWLIBDIR,;t t
6864 s,@EGREP@,$EGREP,;t t
6865 s,@SIZE16@,$SIZE16,;t t
6866 s,@SIZE32@,$SIZE32,;t t
6867 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
6868 s,@OPAL_HAVE_SPEEX_SPEEX_H@,$OPAL_HAVE_SPEEX_SPEEX_H,;t t
6869 s,@OPAL_AUDIO@,$OPAL_AUDIO,;t t
6870 s,@OPAL_VIDEO@,$OPAL_VIDEO,;t t
6871 s,@OPAL_SIP@,$OPAL_SIP,;t t
6872 s,@OPAL_H323@,$OPAL_H323,;t t
6873 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
6874 s,@OPAL_H224@,$OPAL_H224,;t t
6875 s,@OPAL_T38FAX@,$OPAL_T38FAX,;t t
6876 s,@H323_H460@,$H323_H460,;t t
6877 s,@OPAL_LID@,$OPAL_LID,;t t
6878 s,@OPAL_IVR@,$OPAL_IVR,;t t
6879 s,@OPAL_ZRTP@,$OPAL_ZRTP,;t t
6880 s,@HAS_LIBZRTP@,$HAS_LIBZRTP,;t t
6881 s,@OPAL_SRTP@,$OPAL_SRTP,;t t
6882 s,@HAS_LIBSRTP@,$HAS_LIBSRTP,;t t
6883 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
6884 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
6885 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6886 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6887 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6888 s,@subdirs@,$subdirs,;t t
6889 s,@LIBOBJS@,$LIBOBJS,;t t
6890 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6895 cat >>$CONFIG_STATUS <<\_ACEOF
6896 # Split the substitutions into bite-sized pieces for seds with
6897 # small command number limits, like on Digital OSF/1 and HP-UX.
6899 ac_sed_frag
=1 # Number of current file.
6900 ac_beg
=1 # First line for current file.
6901 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6904 while $ac_more_lines; do
6905 if test $ac_beg -gt 1; then
6906 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6908 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6910 if test ! -s $tmp/subs.frag
; then
6913 # The purpose of the label and of the branching condition is to
6914 # speed up the sed processing (if there are no `@' at all, there
6915 # is no need to browse any of the substitutions).
6916 # These are the two extra sed commands mentioned above.
6918 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6919 if test -z "$ac_sed_cmds"; then
6920 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6922 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6924 ac_sed_frag
=`expr $ac_sed_frag + 1`
6926 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6929 if test -z "$ac_sed_cmds"; then
6932 fi # test -n "$CONFIG_FILES"
6935 cat >>$CONFIG_STATUS <<\_ACEOF
6936 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6937 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6939 - |
*:- |
*:-:* ) # input from stdin
6941 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6942 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6943 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6944 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6945 * ) ac_file_in
=$ac_file.
in ;;
6948 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6949 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6951 X"$ac_file" : 'X\(//\)[^/]' \| \
6952 X"$ac_file" : 'X\(//\)$' \| \
6953 X"$ac_file" : 'X\(/\)' \| \
6954 . : '\(.\)' 2>/dev/null ||
6956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6958 /^X\(\/\/\)$/{ s//\1/; q; }
6959 /^X\(\/\).*/{ s//\1/; q; }
6961 { if $as_mkdir_p; then
6966 while test ! -d "$as_dir"; do
6967 as_dirs
="$as_dir $as_dirs"
6968 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6970 X"$as_dir" : 'X\(//\)[^/]' \| \
6971 X"$as_dir" : 'X\(//\)$' \| \
6972 X"$as_dir" : 'X\(/\)' \| \
6973 . : '\(.\)' 2>/dev/null ||
6975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6977 /^X\(\/\/\)$/{ s//\1/; q; }
6978 /^X\(\/\).*/{ s//\1/; q; }
6981 test ! -n "$as_dirs" || mkdir
$as_dirs
6982 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6983 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6984 { (exit 1); exit 1; }; }; }
6988 if test "$ac_dir" != .
; then
6989 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6990 # A "../" for each directory in $ac_dir_suffix.
6991 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6993 ac_dir_suffix
= ac_top_builddir
=
6997 .
) # No --srcdir option. We are building in place.
6999 if test -z "$ac_top_builddir"; then
7002 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7004 [\\/]* | ?
:[\\/]* ) # Absolute path.
7005 ac_srcdir
=$srcdir$ac_dir_suffix;
7006 ac_top_srcdir
=$srcdir ;;
7008 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7009 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7012 # Do not use `cd foo && pwd` to compute absolute paths, because
7013 # the directories may not exist.
7015 .
) ac_abs_builddir
="$ac_dir";;
7018 .
) ac_abs_builddir
=`pwd`;;
7019 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7020 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7023 case $ac_abs_builddir in
7024 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7026 case ${ac_top_builddir}.
in
7027 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7028 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7029 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7032 case $ac_abs_builddir in
7033 .
) ac_abs_srcdir
=$ac_srcdir;;
7036 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7037 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7038 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7041 case $ac_abs_builddir in
7042 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7044 case $ac_top_srcdir in
7045 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7046 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7047 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7053 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7054 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7057 if test x
"$ac_file" != x-
; then
7058 { echo "$as_me:$LINENO: creating $ac_file" >&5
7059 echo "$as_me: creating $ac_file" >&6;}
7062 # Let's still pretend it is `configure' which instantiates (i.e., don't
7063 # use $as_me), people would be surprised to read:
7064 # /* config.h. Generated by config.status. */
7065 if test x
"$ac_file" = x-
; then
7068 configure_input
="$ac_file. "
7070 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7071 sed 's,.*/,,'` by configure."
7073 # First look for the input files in the build tree, otherwise in the
7075 ac_file_inputs
=`IFS=:
7076 for f in $ac_file_in; do
7078 -) echo $tmp/stdin ;;
7080 # Absolute (can't be DOS-style, as IFS=:)
7081 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7082 echo "$as_me: error: cannot find input file: $f" >&2;}
7083 { (exit 1); exit 1; }; }
7086 if test -f "$f"; then
7089 elif test -f "$srcdir/$f"; then
7094 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7095 echo "$as_me: error: cannot find input file: $f" >&2;}
7096 { (exit 1); exit 1; }; }
7099 done` ||
{ (exit 1); exit 1; }
7101 cat >>$CONFIG_STATUS <<_ACEOF
7105 cat >>$CONFIG_STATUS <<\_ACEOF
7107 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7108 s
,@configure_input@
,$configure_input,;t t
7109 s
,@srcdir@
,$ac_srcdir,;t t
7110 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7111 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7112 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7113 s
,@builddir@
,$ac_builddir,;t t
7114 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7115 s
,@top_builddir@
,$ac_top_builddir,;t t
7116 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7117 s
,@INSTALL@
,$ac_INSTALL,;t t
7118 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7120 if test x"$ac_file" != x-; then
7121 mv $tmp/out $ac_file
7129 cat >>$CONFIG_STATUS <<\_ACEOF
7132 # CONFIG_HEADER section.
7135 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7136 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7138 # ac_d sets the value in "#define NAME VALUE" lines.
7139 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7140 ac_dB
='[ ].*$,\1#\2'
7143 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7144 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7145 ac_uB
='$,\1#\2define\3'
7149 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7150 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7152 - |
*:- |
*:-:* ) # input from stdin
7154 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7155 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7156 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7157 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7158 * ) ac_file_in
=$ac_file.
in ;;
7161 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7162 echo "$as_me: creating $ac_file" >&6;}
7164 # First look for the input files in the build tree, otherwise in the
7166 ac_file_inputs
=`IFS=:
7167 for f in $ac_file_in; do
7169 -) echo $tmp/stdin ;;
7171 # Absolute (can't be DOS-style, as IFS=:)
7172 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7173 echo "$as_me: error: cannot find input file: $f" >&2;}
7174 { (exit 1); exit 1; }; }
7175 # Do quote $f, to prevent DOS paths from being IFS'd.
7178 if test -f "$f"; then
7181 elif test -f "$srcdir/$f"; then
7186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7187 echo "$as_me: error: cannot find input file: $f" >&2;}
7188 { (exit 1); exit 1; }; }
7191 done` ||
{ (exit 1); exit 1; }
7192 # Remove the trailing spaces.
7193 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7197 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7198 # `conftest.undefs', that substitutes the proper values into
7199 # config.h.in to produce config.h. The first handles `#define'
7200 # templates, and the second `#undef' templates.
7201 # And first: Protect against being on the right side of a sed subst in
7202 # config.status. Protect against being in an unquoted here document
7204 rm -f conftest.defines conftest.undefs
7205 # Using a here document instead of a string reduces the quoting nightmare.
7206 # Putting comments in sed scripts is not portable.
7208 # `end' is used to avoid that the second main sed command (meant for
7209 # 0-ary CPP macros) applies to n-ary macro definitions.
7210 # See the Autoconf documentation for `clear'.
7211 cat >confdef2sed.
sed <<\_ACEOF
7216 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7218 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7221 # If some macros were called several times there might be several times
7222 # the same #defines, which is useless. Nevertheless, we may not want to
7223 # sort them, since we want the *last* AC-DEFINE to be honored.
7224 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7225 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7226 rm -f confdef2sed.sed
7228 # This sed command replaces #undef with comments. This is necessary, for
7229 # example, in the case of _POSIX_SOURCE, which is predefined and required
7230 # on some systems where configure will not decide to define it.
7231 cat >>conftest.undefs <<\_ACEOF
7232 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7235 # Break up conftest.defines because some shells have a limit on the size
7236 # of here documents, and old seds have small limits too (100 cmds).
7237 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7238 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7239 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7240 echo ' :' >>$CONFIG_STATUS
7242 while grep . conftest.defines >/dev/null
7244 # Write a limited-size here document to $tmp/defines.sed.
7245 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7246 # Speed up: don't consider the non `#define' lines.
7247 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7248 # Work around the forget-to-reset-the-flag bug.
7249 echo 't clr' >>$CONFIG_STATUS
7250 echo ': clr' >>$CONFIG_STATUS
7251 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7253 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7257 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7258 rm -f conftest.defines
7259 mv conftest.
tail conftest.defines
7261 rm -f conftest.defines
7262 echo ' fi # grep' >>$CONFIG_STATUS
7263 echo >>$CONFIG_STATUS
7265 # Break up conftest.undefs because some shells have a limit on the size
7266 # of here documents, and old seds have small limits too (100 cmds).
7267 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7269 while grep . conftest.undefs
>/dev
/null
7271 # Write a limited-size here document to $tmp/undefs.sed.
7272 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7273 # Speed up: don't consider the non
`#undef'
7274 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7275 # Work around the forget-to-reset-the-flag bug.
7276 echo 't clr' >>$CONFIG_STATUS
7277 echo ': clr' >>$CONFIG_STATUS
7278 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7280 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7284 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7285 rm -f conftest.undefs
7286 mv conftest.tail conftest.undefs
7288 rm -f conftest.undefs
7290 cat >>$CONFIG_STATUS <<\_ACEOF
7291 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7292 # use $as_me), people would be surprised to read:
7293 # /* config.h. Generated by config.status. */
7294 if test x
"$ac_file" = x-
; then
7295 echo "/* Generated by configure. */" >$tmp/config.h
7297 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7299 cat $tmp/in >>$tmp/config.h
7301 if test x
"$ac_file" != x-
; then
7302 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7303 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7304 echo "$as_me: $ac_file is unchanged" >&6;}
7306 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7308 X"$ac_file" : 'X\(//\)[^/]' \| \
7309 X"$ac_file" : 'X\(//\)$' \| \
7310 X"$ac_file" : 'X\(/\)' \| \
7311 . : '\(.\)' 2>/dev/null ||
7313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7315 /^X\(\/\/\)$/{ s//\1/; q; }
7316 /^X\(\/\).*/{ s//\1/; q; }
7318 { if $as_mkdir_p; then
7323 while test ! -d "$as_dir"; do
7324 as_dirs
="$as_dir $as_dirs"
7325 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7327 X"$as_dir" : 'X\(//\)[^/]' \| \
7328 X"$as_dir" : 'X\(//\)$' \| \
7329 X"$as_dir" : 'X\(/\)' \| \
7330 . : '\(.\)' 2>/dev/null ||
7332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7334 /^X\(\/\/\)$/{ s//\1/; q; }
7335 /^X\(\/\).*/{ s//\1/; q; }
7338 test ! -n "$as_dirs" || mkdir
$as_dirs
7339 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7340 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7341 { (exit 1); exit 1; }; }; }
7344 mv $tmp/config.h
$ac_file
7353 cat >>$CONFIG_STATUS <<\_ACEOF
7355 { (exit 0); exit 0; }
7357 chmod +x
$CONFIG_STATUS
7358 ac_clean_files
=$ac_clean_files_save
7361 # configure is writing to config.log, and then calls config.status.
7362 # config.status does its own redirection, appending to config.log.
7363 # Unfortunately, on DOS this fails, as config.log is still kept open
7364 # by configure, so config.status won't be able to write to it; its
7365 # output is simply discarded. So we exec the FD to /dev/null,
7366 # effectively closing config.log, so it can be properly (re)opened and
7367 # appended to by config.status. When coming back to configure, we
7368 # need to make the FD available again.
7369 if test "$no_create" != yes; then
7371 ac_config_status_args
=
7372 test "$silent" = yes &&
7373 ac_config_status_args
="$ac_config_status_args --quiet"
7375 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7378 # would make configure fail if this is the last instruction.
7379 $ac_cs_success ||
{ (exit 1); exit 1; }
7383 # CONFIG_SUBDIRS section.
7385 if test "$no_recursion" != yes; then
7387 # Remove --cache-file and --srcdir arguments so they do not pile up.
7388 ac_sub_configure_args
=
7390 for ac_arg
in $ac_configure_args; do
7391 if test -n "$ac_prev"; then
7396 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7397 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7398 ac_prev
=cache_file
;;
7399 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7400 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7403 --config-cache |
-C)
7405 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7407 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7409 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7411 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7413 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7417 # Always prepend --prefix to ensure using the same prefix
7418 # in subdir configurations.
7419 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7422 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7424 # Do not complain, so a configure script can configure whichever
7425 # parts of a large source tree are present.
7426 test -d $srcdir/$ac_dir ||
continue
7428 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7429 echo "$as_me: configuring in $ac_dir" >&6;}
7430 { if $as_mkdir_p; then
7435 while test ! -d "$as_dir"; do
7436 as_dirs
="$as_dir $as_dirs"
7437 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7439 X"$as_dir" : 'X\(//\)[^/]' \| \
7440 X"$as_dir" : 'X\(//\)$' \| \
7441 X"$as_dir" : 'X\(/\)' \| \
7442 . : '\(.\)' 2>/dev/null ||
7444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7446 /^X\(\/\/\)$/{ s//\1/; q; }
7447 /^X\(\/\).*/{ s//\1/; q; }
7450 test ! -n "$as_dirs" || mkdir
$as_dirs
7451 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7452 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7453 { (exit 1); exit 1; }; }; }
7457 if test "$ac_dir" != .
; then
7458 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7459 # A "../" for each directory in $ac_dir_suffix.
7460 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7462 ac_dir_suffix
= ac_top_builddir
=
7466 .
) # No --srcdir option. We are building in place.
7468 if test -z "$ac_top_builddir"; then
7471 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7473 [\\/]* | ?
:[\\/]* ) # Absolute path.
7474 ac_srcdir
=$srcdir$ac_dir_suffix;
7475 ac_top_srcdir
=$srcdir ;;
7477 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7478 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7481 # Do not use `cd foo && pwd` to compute absolute paths, because
7482 # the directories may not exist.
7484 .
) ac_abs_builddir
="$ac_dir";;
7487 .
) ac_abs_builddir
=`pwd`;;
7488 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7489 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7492 case $ac_abs_builddir in
7493 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7495 case ${ac_top_builddir}.
in
7496 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7497 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7498 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7501 case $ac_abs_builddir in
7502 .
) ac_abs_srcdir
=$ac_srcdir;;
7505 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7506 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7507 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7510 case $ac_abs_builddir in
7511 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7513 case $ac_top_srcdir in
7514 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7515 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7516 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7523 # Check for guested configure; otherwise get Cygnus style configure.
7524 if test -f $ac_srcdir/configure.gnu
; then
7525 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7526 elif test -f $ac_srcdir/configure
; then
7527 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7528 elif test -f $ac_srcdir/configure.
in; then
7529 ac_sub_configure
=$ac_configure
7531 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7532 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7536 # The recursion is here.
7537 if test -n "$ac_sub_configure"; then
7538 # Make the cache file name correct relative to the subdirectory.
7540 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7542 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7545 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7546 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7547 # The eval makes quoting arguments work.
7548 eval $ac_sub_configure $ac_sub_configure_args \
7549 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7550 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7551 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7552 { (exit 1); exit 1; }; }