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_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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT OPALDIR INSTALLPREFIX LIBDIR PTLIB_CONFIG PWLIBDIR OPAL_SYSTEM_SPEEX CC CFLAGS ac_ct_CC OPAL_SIP OPAL_H323 OPAL_IAX2 CPP EGREP HAS_IXJ STDCCFLAGS ENDLDLIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CXX_set
=${CXX+set}
754 ac_env_CXX_value
=$CXX
755 ac_cv_env_CXX_set
=${CXX+set}
756 ac_cv_env_CXX_value
=$CXX
757 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
758 ac_env_CXXFLAGS_value
=$CXXFLAGS
759 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CC_set
=${CC+set}
771 ac_cv_env_CC_set
=${CC+set}
772 ac_cv_env_CC_value
=$CC
773 ac_env_CFLAGS_set
=${CFLAGS+set}
774 ac_env_CFLAGS_value
=$CFLAGS
775 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
776 ac_cv_env_CFLAGS_value
=$CFLAGS
777 ac_env_CPP_set
=${CPP+set}
778 ac_env_CPP_value
=$CPP
779 ac_cv_env_CPP_set
=${CPP+set}
780 ac_cv_env_CPP_value
=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --enable-localspeex use
local version of Speex library rather than system version
852 --disable-sip disable SIP protocol support
853 --disable-h323 disable H
.323 protocol support
854 --disable-iax disable IAX2 protocol support
856 Some influential environment variables
:
857 CXX C
++ compiler
command
858 CXXFLAGS C
++ compiler flags
859 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
860 nonstandard directory
<lib dir
>
861 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
862 headers
in a nonstandard directory
<include dir
>
863 CC C compiler
command
864 CFLAGS C compiler flags
867 Use these variables to override the choices made by
`configure' or to help
868 it to find libraries and programs with nonstandard names/locations.
873 if test "$ac_init_help" = "recursive"; then
874 # If there are subdirs, report their specific --help.
876 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877 test -d $ac_dir || continue
880 if test "$ac_dir" != .; then
881 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
882 # A "../" for each directory in $ac_dir_suffix.
883 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
885 ac_dir_suffix= ac_top_builddir=
889 .) # No --srcdir option. We are building in place.
891 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
896 [\\/]* | ?:[\\/]* ) # Absolute path.
897 ac_srcdir=$srcdir$ac_dir_suffix;
898 ac_top_srcdir=$srcdir ;;
900 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 # Do not use `cd foo
&& pwd` to compute absolute paths, because
905 # the directories may not exist.
907 .) ac_abs_builddir="$ac_dir";;
910 .) ac_abs_builddir=`pwd`;;
911 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912 *) ac_abs_builddir=`pwd`/"$ac_dir";;
915 case $ac_abs_builddir in
916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 case ${ac_top_builddir}. in
919 .) ac_abs_top_builddir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 case $ac_abs_builddir in
925 .) ac_abs_srcdir=$ac_srcdir;;
928 .) ac_abs_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 case $ac_abs_builddir in
934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 case $ac_top_srcdir in
937 .) ac_abs_top_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
944 # Check for guested configure; otherwise get Cygnus style configure.
945 if test -f $ac_srcdir/configure.gnu; then
947 $SHELL $ac_srcdir/configure.gnu --help=recursive
948 elif test -f $ac_srcdir/configure; then
950 $SHELL $ac_srcdir/configure --help=recursive
951 elif test -f $ac_srcdir/configure.ac ||
952 test -f $ac_srcdir/configure.in; then
956 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962 test -n "$ac_init_help" && exit 0
963 if $ac_init_version; then
966 Copyright (C) 2003 Free Software Foundation, Inc.
967 This configure script is free software; the Free Software Foundation
968 gives unlimited permission to copy, distribute and modify it.
974 This file contains any messages produced by compilers while
975 running configure, to aid debugging if configure makes a mistake.
977 It was created by $as_me, which was
978 generated by GNU Autoconf 2.59. Invocation command line was
989 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
990 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
991 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
992 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
993 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
995 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
996 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
998 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1000 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1001 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1002 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1004 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 test -z "$as_dir" && as_dir=.
1013 echo "PATH: $as_dir"
1028 # Keep a trace of the command line.
1029 # Strip out --no-create and --no-recursion so they do not pile up.
1030 # Strip out --silent because we don't want to record it for future runs.
1031 # Also quote any args containing shell meta-characters.
1032 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_must_keep_next=false
1043 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045 | -silent | --silent | --silen | --sile | --sil)
1047 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1048 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1051 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1053 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1054 if test $ac_must_keep_next = true; then
1055 ac_must_keep_next=false # Got value, back to normal.
1058 *=* | --config-cache | -C | -disable-* | --disable-* \
1059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061 | -with-* | --with-* | -without-* | --without-* | --x)
1062 case "$ac_configure_args0 " in
1063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1066 -* ) ac_must_keep_next=true ;;
1069 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070 # Get rid of the leading space.
1076 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1077 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1079 # When interrupted or exit'd, cleanup temporary files, and complete
1080 # config.log. We remove comments because anyway the quotes in there
1081 # would cause problems or look ugly.
1082 # WARNING: Be sure not to use single quotes in there, as some shells,
1083 # such as our DU 5.0 friend, will then `close
' the trap.
1084 trap 'exit_status
=$?
1085 # Save into config.log some information that might help in debugging.
1090 ## ---------------- ##
1091 ## Cache variables. ##
1092 ## ---------------- ##
1095 # The following way of writing the cache mishandles newlines in values,
1098 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113 ## ----------------- ##
1114 ## Output variables. ##
1115 ## ----------------- ##
1118 for ac_var
in $ac_subst_vars
1120 eval ac_val
=$
`echo $ac_var`
1121 echo "$ac_var='"'"'$ac_val'"'"'"
1125 if test -n "$ac_subst_files"; then
1132 for ac_var
in $ac_subst_files
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -s confdefs.h
; then
1147 sed "/^$/d" confdefs.h |
sort
1150 test "$ac_signal" != 0 &&
1151 echo "$as_me: caught signal $ac_signal"
1152 echo "$as_me: exit $exit_status"
1154 rm -f core
*.core
&&
1155 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1158 for ac_signal in 1 2 13 15; do
1159 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1164 rm -rf conftest* confdefs.h
1165 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1168 # Predefined preprocessor variables.
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_NAME "$PACKAGE_NAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_STRING "$PACKAGE_STRING"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 # Let the site file select an alternate cache file if it wants to.
1196 # Prefer explicitly selected file to automatically selected ones.
1197 if test -z "$CONFIG_SITE"; then
1198 if test "x$prefix" != xNONE; then
1199 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1201 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1204 for ac_site_file in $CONFIG_SITE; do
1205 if test -r "$ac_site_file"; then
1206 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1207 echo "$as_me: loading site script $ac_site_file" >&6;}
1208 sed 's
/^
/|
/' "$ac_site_file" >&5
1213 if test -r "$cache_file"; then
1214 # Some versions of bash will fail to source /dev/null (special
1215 # files actually), so we avoid doing that.
1216 if test -f "$cache_file"; then
1217 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1218 echo "$as_me: loading cache $cache_file" >&6;}
1220 [\\/]* | ?:[\\/]* ) . $cache_file;;
1221 *) . ./$cache_file;;
1225 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226 echo "$as_me: creating cache $cache_file" >&6;}
1230 # Check that the precious variables saved in the cache have kept the same
1232 ac_cache_corrupted=false
1233 for ac_var in `(set) 2>&1 |
1234 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1235 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1236 eval ac_new_set=\$ac_env_${ac_var}_set
1237 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1238 eval ac_new_val="\$ac_env_${ac_var}_value"
1239 case $ac_old_set,$ac_new_set in
1241 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1242 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1243 ac_cache_corrupted=: ;;
1245 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1250 if test "x$ac_old_val" != "x$ac_new_val"; then
1251 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1252 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1253 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1254 echo "$as_me: former value: $ac_old_val" >&2;}
1255 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1256 echo "$as_me: current value: $ac_new_val" >&2;}
1257 ac_cache_corrupted=:
1260 # Pass precious variables to config.status.
1261 if test "$ac_new_set" = set; then
1263 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1265 *) ac_arg=$ac_var=$ac_new_val ;;
1267 case " $ac_configure_args " in
1268 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1269 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273 if $ac_cache_corrupted; then
1274 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1275 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1276 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1277 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1278 { (exit 1); exit 1; }; }
1282 ac_cpp='$CPP $CPPFLAGS'
1283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1284 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1307 ac_cpp='$CXXCPP $CPPFLAGS'
1308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1309 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1311 if test -n "$ac_tool_prefix"; then
1312 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1316 echo "$as_me:$LINENO: checking for $ac_word" >&5
1317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1318 if test "${ac_cv_prog_CXX+set}" = set; then
1319 echo $ECHO_N "(cached) $ECHO_C" >&6
1321 if test -n "$CXX"; then
1322 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1328 test -z "$as_dir" && as_dir=.
1329 for ac_exec_ext in '' $ac_executable_extensions; do
1330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1331 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1341 if test -n "$CXX"; then
1342 echo "$as_me:$LINENO: result: $CXX" >&5
1343 echo "${ECHO_T}$CXX" >&6
1345 echo "$as_me:$LINENO: result: no" >&5
1346 echo "${ECHO_T}no" >&6
1349 test -n "$CXX" && break
1352 if test -z "$CXX"; then
1354 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1356 # Extract the first word of "$ac_prog", so it can be a program name with args.
1357 set dummy $ac_prog; ac_word=$2
1358 echo "$as_me:$LINENO: checking for $ac_word" >&5
1359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1360 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 if test -n "$ac_ct_CXX"; then
1364 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1370 test -z "$as_dir" && as_dir=.
1371 for ac_exec_ext in '' $ac_executable_extensions; do
1372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1373 ac_cv_prog_ac_ct_CXX="$ac_prog"
1374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1382 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1383 if test -n "$ac_ct_CXX"; then
1384 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1385 echo "${ECHO_T}$ac_ct_CXX" >&6
1387 echo "$as_me:$LINENO: result: no" >&5
1388 echo "${ECHO_T}no" >&6
1391 test -n "$ac_ct_CXX" && break
1393 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1399 # Provide some information about the compiler.
1400 echo "$as_me:$LINENO:" \
1401 "checking for C++ compiler version" >&5
1402 ac_compiler=`set X $ac_compile; echo $2`
1403 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1404 (eval $ac_compiler --version </dev/null >&5) 2>&5
1406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1407 (exit $ac_status); }
1408 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1409 (eval $ac_compiler -v </dev/null >&5) 2>&5
1411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1412 (exit $ac_status); }
1413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1414 (eval $ac_compiler -V </dev/null >&5) 2>&5
1416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1417 (exit $ac_status); }
1419 cat >conftest.$ac_ext <<_ACEOF
1422 cat confdefs.h >>conftest.$ac_ext
1423 cat >>conftest.$ac_ext <<_ACEOF
1424 /* end confdefs.h. */
1434 ac_clean_files_save=$ac_clean_files
1435 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1436 # Try to create an executable without -o first, disregard a.out.
1437 # It will help us diagnose broken compilers, and finding out an intuition
1439 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1440 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1441 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1442 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1443 (eval $ac_link_default) 2>&5
1445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1446 (exit $ac_status); }; then
1447 # Find the output, starting from the most likely. This scheme is
1448 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1451 # Be careful to initialize this variable, since it used to be cached.
1452 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1454 # b.out is created by i960 compilers.
1455 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1457 test -f "$ac_file" ||
continue
1459 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1462 # This is the source file.
1465 # We found the default executable, but exeext='' is most
1469 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1470 # FIXME: I believe we export ac_cv_exeext for Libtool,
1471 # but it would be cool to find out if it's true. Does anybody
1472 # maintain Libtool? --akim.
1480 echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.
$ac_ext >&5
1483 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1484 See \`config.log' for more details." >&5
1485 echo "$as_me: error: C++ compiler cannot create executables
1486 See \`config.log' for more details." >&2;}
1487 { (exit 77); exit 77; }; }
1490 ac_exeext
=$ac_cv_exeext
1491 echo "$as_me:$LINENO: result: $ac_file" >&5
1492 echo "${ECHO_T}$ac_file" >&6
1494 # Check the compiler produces executables we can run. If not, either
1495 # the compiler is broken, or we cross compile.
1496 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1497 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1498 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1499 # If not cross compiling, check that we can run a simple program.
1500 if test "$cross_compiling" != yes; then
1501 if { ac_try
='./$ac_file'
1502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506 (exit $ac_status); }; }; then
1509 if test "$cross_compiling" = maybe
; then
1512 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1513 If you meant to cross compile, use \`--host'.
1514 See \`config.log' for more details." >&5
1515 echo "$as_me: error: cannot run C++ compiled programs.
1516 If you meant to cross compile, use \`--host'.
1517 See \`config.log' for more details." >&2;}
1518 { (exit 1); exit 1; }; }
1522 echo "$as_me:$LINENO: result: yes" >&5
1523 echo "${ECHO_T}yes" >&6
1525 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1526 ac_clean_files
=$ac_clean_files_save
1527 # Check the compiler produces executables we can run. If not, either
1528 # the compiler is broken, or we cross compile.
1529 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1531 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1532 echo "${ECHO_T}$cross_compiling" >&6
1534 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1537 (eval $ac_link) 2>&5
1539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1540 (exit $ac_status); }; then
1541 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1542 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1543 # work properly (i.e., refer to `conftest.exe'), while it won't with
1545 for ac_file
in conftest.exe conftest conftest.
*; do
1546 test -f "$ac_file" ||
continue
1548 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1549 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1556 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1557 See \`config.log' for more details." >&5
1558 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1559 See \`config.log' for more details." >&2;}
1560 { (exit 1); exit 1; }; }
1563 rm -f conftest
$ac_cv_exeext
1564 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1565 echo "${ECHO_T}$ac_cv_exeext" >&6
1567 rm -f conftest.
$ac_ext
1568 EXEEXT
=$ac_cv_exeext
1570 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1571 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1572 if test "${ac_cv_objext+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 cat >conftest.
$ac_ext <<_ACEOF
1578 cat confdefs.h
>>conftest.
$ac_ext
1579 cat >>conftest.
$ac_ext <<_ACEOF
1580 /* end confdefs.h. */
1590 rm -f conftest.o conftest.obj
1591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1592 (eval $ac_compile) 2>&5
1594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1595 (exit $ac_status); }; then
1596 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1598 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1599 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1604 echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.
$ac_ext >&5
1607 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1608 See \`config.log' for more details." >&5
1609 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1610 See \`config.log' for more details." >&2;}
1611 { (exit 1); exit 1; }; }
1614 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1616 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1617 echo "${ECHO_T}$ac_cv_objext" >&6
1618 OBJEXT
=$ac_cv_objext
1620 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1621 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1622 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 cat >conftest.
$ac_ext <<_ACEOF
1628 cat confdefs.h
>>conftest.
$ac_ext
1629 cat >>conftest.
$ac_ext <<_ACEOF
1630 /* end confdefs.h. */
1643 rm -f conftest.
$ac_objext
1644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1645 (eval $ac_compile) 2>conftest.er1
1647 grep -v '^ *+' conftest.er1
>conftest.err
1649 cat conftest.err
>&5
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651 (exit $ac_status); } &&
1652 { ac_try
='test -z "$ac_cxx_werror_flag"
1653 || test ! -s conftest.err'
1654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1658 (exit $ac_status); }; } &&
1659 { ac_try
='test -s conftest.$ac_objext'
1660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1664 (exit $ac_status); }; }; then
1667 echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.
$ac_ext >&5
1672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1673 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1676 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1677 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1678 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1679 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1680 ac_save_CXXFLAGS
=$CXXFLAGS
1682 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1683 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1684 if test "${ac_cv_prog_cxx_g+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 cat >conftest.
$ac_ext <<_ACEOF
1690 cat confdefs.h
>>conftest.
$ac_ext
1691 cat >>conftest.
$ac_ext <<_ACEOF
1692 /* end confdefs.h. */
1702 rm -f conftest.
$ac_objext
1703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1704 (eval $ac_compile) 2>conftest.er1
1706 grep -v '^ *+' conftest.er1
>conftest.err
1708 cat conftest.err
>&5
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710 (exit $ac_status); } &&
1711 { ac_try
='test -z "$ac_cxx_werror_flag"
1712 || test ! -s conftest.err'
1713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }; } &&
1718 { ac_try
='test -s conftest.$ac_objext'
1719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1723 (exit $ac_status); }; }; then
1724 ac_cv_prog_cxx_g
=yes
1726 echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.
$ac_ext >&5
1731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1733 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1734 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1735 if test "$ac_test_CXXFLAGS" = set; then
1736 CXXFLAGS
=$ac_save_CXXFLAGS
1737 elif test $ac_cv_prog_cxx_g = yes; then
1738 if test "$GXX" = yes; then
1744 if test "$GXX" = yes; then
1750 for ac_declaration
in \
1752 'extern "C" void std::exit (int) throw (); using std::exit;' \
1753 'extern "C" void std::exit (int); using std::exit;' \
1754 'extern "C" void exit (int) throw ();' \
1755 'extern "C" void exit (int);' \
1758 cat >conftest.
$ac_ext <<_ACEOF
1761 cat confdefs.h
>>conftest.
$ac_ext
1762 cat >>conftest.
$ac_ext <<_ACEOF
1763 /* end confdefs.h. */
1774 rm -f conftest.
$ac_objext
1775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1776 (eval $ac_compile) 2>conftest.er1
1778 grep -v '^ *+' conftest.er1
>conftest.err
1780 cat conftest.err
>&5
1781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1782 (exit $ac_status); } &&
1783 { ac_try
='test -z "$ac_cxx_werror_flag"
1784 || test ! -s conftest.err'
1785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; } &&
1790 { ac_try
='test -s conftest.$ac_objext'
1791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; }; then
1798 echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1804 cat >conftest.
$ac_ext <<_ACEOF
1807 cat confdefs.h
>>conftest.
$ac_ext
1808 cat >>conftest.
$ac_ext <<_ACEOF
1809 /* end confdefs.h. */
1819 rm -f conftest.
$ac_objext
1820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1821 (eval $ac_compile) 2>conftest.er1
1823 grep -v '^ *+' conftest.er1
>conftest.err
1825 cat conftest.err
>&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); } &&
1828 { ac_try
='test -z "$ac_cxx_werror_flag"
1829 || test ! -s conftest.err'
1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; } &&
1835 { ac_try
='test -s conftest.$ac_objext'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; }; then
1843 echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1850 if test -n "$ac_declaration"; then
1851 echo '#ifdef __cplusplus' >>confdefs.h
1852 echo $ac_declaration >>confdefs.h
1853 echo '#endif' >>confdefs.h
1857 ac_cpp
='$CPP $CPPFLAGS'
1858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1867 if test "x$prefix" = "xNONE"; then
1868 INSTALLPREFIX
="/usr/local"
1870 INSTALLPREFIX
="${prefix}"
1879 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
1880 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
1881 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
1882 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
1883 cat >>confdefs.h
<<_ACEOF
1884 #define OPAL_MAJOR ${MAJOR_VERSION}
1887 cat >>confdefs.h
<<_ACEOF
1888 #define OPAL_MINOR ${MINOR_VERSION}
1891 cat >>confdefs.h
<<_ACEOF
1892 #define OPAL_BUILD ${BUILD_NUMBER}
1895 cat >>confdefs.h
<<_ACEOF
1896 #define OPAL_VERSION "$OPAL_VERSION"
1902 if test "${PWLIBDIR:-unset}" != "unset" ; then
1903 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
1904 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
1905 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
1906 if eval "test \"\${$as_ac_File+set}\" = set"; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 test "$cross_compiling" = yes &&
1910 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1911 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1912 { (exit 1); exit 1; }; }
1913 if test -r "${PWLIBDIR}/version.h"; then
1914 eval "$as_ac_File=yes"
1916 eval "$as_ac_File=no"
1919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1920 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1921 if test `eval echo '${'$as_ac_File'}'` = yes; then
1926 if test "${HAS_PTLIB:-unset}" = "unset" ; then
1927 as_ac_File
=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" | $as_tr_sh`
1928 echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
1929 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6
1930 if eval "test \"\${$as_ac_File+set}\" = set"; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 test "$cross_compiling" = yes &&
1934 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1935 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1936 { (exit 1); exit 1; }; }
1937 if test -r "${OPALDIR}/../pwlib/version.h"; then
1938 eval "$as_ac_File=yes"
1940 eval "$as_ac_File=no"
1943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1944 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1945 if test `eval echo '${'$as_ac_File'}'` = yes; then
1949 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1950 PWLIBDIR
="${OPALDIR}/../pwlib"
1952 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
1953 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
1954 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
1955 if eval "test \"\${$as_ac_File+set}\" = set"; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 test "$cross_compiling" = yes &&
1959 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1960 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1961 { (exit 1); exit 1; }; }
1962 if test -r "${HOME}/pwlib/include/ptlib.h"; then
1963 eval "$as_ac_File=yes"
1965 eval "$as_ac_File=no"
1968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1969 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1970 if test `eval echo '${'$as_ac_File'}'` = yes; then
1974 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1975 PWLIBDIR
="${HOME}/pwlib"
1977 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
1978 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
1979 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
1980 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 test "$cross_compiling" = yes &&
1983 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1984 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1985 { (exit 1); exit 1; }; }
1986 if test -r "/usr/local/include/ptlib.h"; then
1987 ac_cv_file__usr_local_include_ptlib_h
=yes
1989 ac_cv_file__usr_local_include_ptlib_h
=no
1992 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
1993 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
1994 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
1998 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1999 # Extract the first word of "ptlib-config", so it can be a program name with args.
2000 set dummy ptlib-config
; ac_word
=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 case $PTLIB_CONFIG in
2008 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 for as_dir
in /usr
/local
/bin
2015 test -z "$as_dir" && as_dir
=.
2016 for ac_exec_ext
in '' $ac_executable_extensions; do
2017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2018 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2030 if test -n "$PTLIB_CONFIG"; then
2031 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2032 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2039 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
2040 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
2041 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 test "$cross_compiling" = yes &&
2045 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2046 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2047 { (exit 1); exit 1; }; }
2048 if test -r "/usr/include/ptlib.h"; then
2049 ac_cv_file__usr_include_ptlib_h
=yes
2051 ac_cv_file__usr_include_ptlib_h
=no
2054 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
2055 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
2056 if test $ac_cv_file__usr_include_ptlib_h = yes; then
2060 if test "${HAS_PTLIB:-unset}" != "unset" ; then
2061 # Extract the first word of "ptlib-config", so it can be a program name with args.
2062 set dummy ptlib-config
; ac_word
=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 case $PTLIB_CONFIG in
2070 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2074 for as_dir
in /usr
/share
/pwlib
/make
/
2077 test -z "$as_dir" && as_dir
=.
2078 for ac_exec_ext
in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
2092 if test -n "$PTLIB_CONFIG"; then
2093 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
2094 echo "${ECHO_T}$PTLIB_CONFIG" >&6
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2106 if test "${HAS_PTLIB:-unset}" = "unset" ; then
2107 echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
2111 if test "${PWLIBDIR:-unset}" = "unset" ; then
2112 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
2113 echo "Cannot find ptlib-config - please install and try again"
2116 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
2119 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
2120 PWLIBDIR
="/usr/share/pwlib/"
2122 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
2123 PWLIBDIR
="/usr/local/share/pwlib/"
2126 echo "PWLib prefix set to.... $PWLIBDIR"
2136 # Check whether --enable-localspeex or --disable-localspeex was given.
2137 if test "${enable_localspeex+set}" = set; then
2138 enableval
="$enable_localspeex"
2139 localspeex
=$enableval
2142 if test "${localspeex}" = "yes" ; then
2143 { echo "$as_me:$LINENO: Forcing use of local Speex sources" >&5
2144 echo "$as_me: Forcing use of local Speex sources" >&6;}
2145 elif test "${localspeex}" = "no" ; then
2146 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
2147 echo "$as_me: Forcing use of system Speex library" >&6;}
2148 cat >>confdefs.h
<<\_ACEOF
2149 #define OPAL_SYSTEM_SPEEX 1
2156 ac_cpp
='$CPP $CPPFLAGS'
2157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2162 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2163 echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2165 if test "${ac_cv_prog_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC
="$CC" # Let the user override the test.
2171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir
=.
2176 for ac_exec_ext
in '' $ac_executable_extensions; do
2177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2178 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test -n "$CC"; then
2189 echo "$as_me:$LINENO: result: $CC" >&5
2190 echo "${ECHO_T}$CC" >&6
2192 echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6
2197 if test -z "$ac_cv_prog_CC"; then
2199 # Extract the first word of "gcc", so it can be a program name with args.
2200 set dummy gcc
; ac_word
=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$ac_ct_CC"; then
2207 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_ac_ct_CC
="gcc"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2226 if test -n "$ac_ct_CC"; then
2227 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2228 echo "${ECHO_T}$ac_ct_CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2242 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2243 echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC
="$CC" # Let the user override the test.
2251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir
=.
2256 for ac_exec_ext
in '' $ac_executable_extensions; do
2257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test -n "$CC"; then
2269 echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6
2272 echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6
2277 if test -z "$ac_cv_prog_CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc
; ac_word
=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$ac_ct_CC"; then
2287 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296 ac_cv_prog_ac_ct_CC
="cc"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2306 if test -n "$ac_ct_CC"; then
2307 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2308 echo "${ECHO_T}$ac_ct_CC" >&6
2310 echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6
2320 if test -z "$CC"; then
2321 # Extract the first word of "cc", so it can be a program name with args.
2322 set dummy cc
; ac_word
=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$CC"; then
2329 ac_cv_prog_CC
="$CC" # Let the user override the test.
2332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir
=.
2337 for ac_exec_ext
in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2340 ac_prog_rejected
=yes
2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test $ac_prog_rejected = yes; then
2351 # We found a bogon in the path, so make sure we never use it.
2352 set dummy
$ac_cv_prog_CC
2354 if test $# != 0; then
2355 # We chose a different compiler from the bogus one.
2356 # However, it has the same basename, so the bogon will be chosen
2357 # first if we set CC to just the basename; use the full file name.
2359 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2365 if test -n "$CC"; then
2366 echo "$as_me:$LINENO: result: $CC" >&5
2367 echo "${ECHO_T}$CC" >&6
2369 echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6
2374 if test -z "$CC"; then
2375 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2379 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC
="$CC" # Let the user override the test.
2388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir
=.
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 if test -n "$CC"; then
2406 echo "$as_me:$LINENO: result: $CC" >&5
2407 echo "${ECHO_T}$CC" >&6
2409 echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6
2413 test -n "$CC" && break
2416 if test -z "$CC"; then
2420 # Extract the first word of "$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_prog; ac_word
=$2
2422 echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$ac_ct_CC"; then
2428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_ac_ct_CC
="$ac_prog"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2447 if test -n "$ac_ct_CC"; then
2448 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2449 echo "${ECHO_T}$ac_ct_CC" >&6
2451 echo "$as_me:$LINENO: result: no" >&5
2452 echo "${ECHO_T}no" >&6
2455 test -n "$ac_ct_CC" && break
2464 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: no acceptable C compiler found in \$PATH
2467 See \`config.log' for more details." >&2;}
2468 { (exit 1); exit 1; }; }
2470 # Provide some information about the compiler.
2471 echo "$as_me:$LINENO:" \
2472 "checking for C compiler version" >&5
2473 ac_compiler
=`set X $ac_compile; echo $2`
2474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2475 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }
2479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2480 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }
2484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2485 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }
2490 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2491 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 cat >conftest.
$ac_ext <<_ACEOF
2498 cat confdefs.h
>>conftest.
$ac_ext
2499 cat >>conftest.
$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_c_werror_flag"
2523 || test ! -s conftest.err'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; } &&
2529 { ac_try
='test -s conftest.$ac_objext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2546 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2547 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2548 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2549 ac_test_CFLAGS
=${CFLAGS+set}
2550 ac_save_CFLAGS
=$CFLAGS
2552 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2553 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2554 if test "${ac_cv_prog_cc_g+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.
$ac_ext <<_ACEOF
2560 cat confdefs.h
>>conftest.
$ac_ext
2561 cat >>conftest.
$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag"
2582 || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest.$ac_objext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2603 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2604 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2605 if test "$ac_test_CFLAGS" = set; then
2606 CFLAGS
=$ac_save_CFLAGS
2607 elif test $ac_cv_prog_cc_g = yes; then
2608 if test "$GCC" = yes; then
2614 if test "$GCC" = yes; then
2620 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2621 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2622 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 ac_cv_prog_cc_stdc
=no
2627 cat >conftest.
$ac_ext <<_ACEOF
2630 cat confdefs.h
>>conftest.
$ac_ext
2631 cat >>conftest.
$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2635 #include <sys/types.h>
2636 #include <sys/stat.h>
2637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2638 struct buf { int x; };
2639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2640 static char *e (p, i)
2646 static char *f (char * (*g) (char **, int), char **p, ...)
2651 s = g (p, va_arg (v,int));
2656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2657 function prototypes and stuff, but not '\xHH' hex character constants.
2658 These don't provoke an error unfortunately, instead are silently treated
2659 as 'x'. The following induces an error, until -std1 is added to get
2660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2661 array size at least. It's necessary to write '\x00'==0 to get something
2662 that's true only with -std1. */
2663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2665 int test (int i, double x);
2666 struct s1 {int (*f) (int a);};
2667 struct s2 {int (*f) (double a);};
2668 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2674 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2679 # Don't try gcc -ansi; that turns off useful extensions and
2680 # breaks some systems' header files.
2681 # AIX -qlanglvl=ansi
2682 # Ultrix and OSF/1 -std1
2683 # HP-UX 10.20 and later -Ae
2684 # HP-UX older versions -Aa -D_HPUX_SOURCE
2685 # SVR4 -Xc -D__EXTENSIONS__
2686 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2688 CC
="$ac_save_CC $ac_arg"
2689 rm -f conftest.
$ac_objext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2691 (eval $ac_compile) 2>conftest.er1
2693 grep -v '^ *+' conftest.er1
>conftest.err
2695 cat conftest.err
>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } &&
2698 { ac_try
='test -z "$ac_c_werror_flag"
2699 || test ! -s conftest.err'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; } &&
2705 { ac_try
='test -s conftest.$ac_objext'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; }; then
2711 ac_cv_prog_cc_stdc
=$ac_arg
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2718 rm -f conftest.err conftest.
$ac_objext
2720 rm -f conftest.
$ac_ext conftest.
$ac_objext
2725 case "x$ac_cv_prog_cc_stdc" in
2727 echo "$as_me:$LINENO: result: none needed" >&5
2728 echo "${ECHO_T}none needed" >&6 ;;
2730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2731 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2732 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2735 # Some people use a C++ compiler to compile C. Since we use `exit',
2736 # in C++ we need to declare it. In case someone uses the same compiler
2737 # for both compiling C and C++ we need to have the C++ compiler decide
2738 # the declaration of exit, since it's the most demanding environment.
2739 cat >conftest.
$ac_ext <<_ACEOF
2744 rm -f conftest.
$ac_objext
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>conftest.er1
2748 grep -v '^ *+' conftest.er1
>conftest.err
2750 cat conftest.err
>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -z "$ac_c_werror_flag"
2754 || test ! -s conftest.err'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; } &&
2760 { ac_try
='test -s conftest.$ac_objext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2766 for ac_declaration
in \
2768 'extern "C" void std::exit (int) throw (); using std::exit;' \
2769 'extern "C" void std::exit (int); using std::exit;' \
2770 'extern "C" void exit (int) throw ();' \
2771 'extern "C" void exit (int);' \
2774 cat >conftest.
$ac_ext <<_ACEOF
2777 cat confdefs.h
>>conftest.
$ac_ext
2778 cat >>conftest.
$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2790 rm -f conftest.
$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try
='test -z "$ac_c_werror_flag"
2800 || test ! -s conftest.err'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; } &&
2806 { ac_try
='test -s conftest.$ac_objext'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; }; then
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2820 cat >conftest.
$ac_ext <<_ACEOF
2823 cat confdefs.h
>>conftest.
$ac_ext
2824 cat >>conftest.
$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2835 rm -f conftest.
$ac_objext
2836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>conftest.er1
2839 grep -v '^ *+' conftest.er1
>conftest.err
2841 cat conftest.err
>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try
='test -z "$ac_c_werror_flag"
2845 || test ! -s conftest.err'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; } &&
2851 { ac_try
='test -s conftest.$ac_objext'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 if test -n "$ac_declaration"; then
2867 echo '#ifdef __cplusplus' >>confdefs.h
2868 echo $ac_declaration >>confdefs.h
2869 echo '#endif' >>confdefs.h
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.
$ac_ext >&5
2877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2879 ac_cpp
='$CPP $CPPFLAGS'
2880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2885 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
2886 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
2887 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 ac_check_lib_save_LIBS
=$LIBS
2891 LIBS
="-lspeex $LIBS"
2892 cat >conftest.
$ac_ext <<_ACEOF
2895 cat confdefs.h
>>conftest.
$ac_ext
2896 cat >>conftest.
$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2899 /* Override any gcc2 internal prototype to avoid an error. */
2903 /* We use char because int might match the return type of a gcc2
2904 builtin and then its argument prototype would still apply. */
2905 char speex_encoder_destroy ();
2909 speex_encoder_destroy ();
2914 rm -f conftest.
$ac_objext conftest
$ac_exeext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2916 (eval $ac_link) 2>conftest.er1
2918 grep -v '^ *+' conftest.er1
>conftest.err
2920 cat conftest.err
>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try
='test -z "$ac_c_werror_flag"
2924 || test ! -s conftest.err'
2925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try
='test -s conftest$ac_exeext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2936 ac_cv_lib_speex_speex_encoder_destroy
=yes
2938 echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.
$ac_ext >&5
2941 ac_cv_lib_speex_speex_encoder_destroy
=no
2943 rm -f conftest.err conftest.
$ac_objext \
2944 conftest
$ac_exeext conftest.
$ac_ext
2945 LIBS
=$ac_check_lib_save_LIBS
2947 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
2948 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
2949 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
2953 if test "x$SPEEX" = "x"; then
2954 { echo "$as_me:$LINENO: Forcing use of local Speex library" >&5
2955 echo "$as_me: Forcing use of local Speex library" >&6;}
2957 echo "$as_me:$LINENO: checking system Speex version" >&5
2958 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
2961 #include <speex_header.h>
2963 int main(int argc,char *argv)
2966 speex_init_header(&header, 1, 1, &speex_nb_mode);
2967 printf("%s\n", header.speex_version);
2970 cc
-o t t.c
-lspeex > /dev
/null
2>&1
2971 if test \
! -x t
; then
2972 echo "$as_me:$LINENO: result: cannot determine - using library version" >&5
2973 echo "${ECHO_T}cannot determine - using library version" >&6
2977 echo "$as_me:$LINENO: result: $SYSVER" >&5
2978 echo "${ECHO_T}$SYSVER" >&6
2979 echo "$as_me:$LINENO: checking library Speex version" >&5
2980 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
2981 LIBVER
=`grep "#define VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//'`
2982 echo "$as_me:$LINENO: result: $LIBVER" >&5
2983 echo "${ECHO_T}$LIBVER" >&6
2984 echo "$as_me:$LINENO: checking Speex versions" >&5
2985 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
2988 \$sysver = @ARGV[0];
2989 \$libver = @ARGV[1];
2990 @lib = split /\./, \$libver;
2994 @sys = split /\./, \$sysver;
3000 print "comparing " . @sys[\$i] . " and " . @lib[\$i] . "\n";
3001 if (\@sys[\$i] < @lib[\$i]) {
3010 SPEEX
=`perl t.pl $SYSVER $LIBVER`
3012 if test "x$SPEEX" = "x" ; then
3013 echo "$as_me:$LINENO: result: library version is more recent" >&5
3014 echo "${ECHO_T}library version is more recent" >&6
3016 echo "$as_me:$LINENO: result: system version is more recent" >&5
3017 echo "${ECHO_T}system version is more recent" >&6
3018 cat >>confdefs.h
<<\_ACEOF
3019 #define OPAL_SYSTEM_SPEEX 1
3033 # Check whether --enable-sip or --disable-sip was given.
3034 if test "${enable_sip+set}" = set; then
3035 enableval
="$enable_sip"
3038 echo "$as_me:$LINENO: checking SIP protocol" >&5
3039 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
3040 if test "$sip" = "yes" ; then
3043 cat >>confdefs.h
<<\_ACEOF
3047 echo "$as_me:$LINENO: result: enabled" >&5
3048 echo "${ECHO_T}enabled" >&6
3052 echo "$as_me:$LINENO: result: disabled" >&5
3053 echo "${ECHO_T}disabled" >&6
3058 # Check whether --enable-h323 or --disable-h323 was given.
3059 if test "${enable_h323+set}" = set; then
3060 enableval
="$enable_h323"
3063 echo "$as_me:$LINENO: checking H.323 protocol" >&5
3064 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
3065 if test "$h323" = "yes" ; then
3068 cat >>confdefs.h
<<\_ACEOF
3072 echo "$as_me:$LINENO: result: enabled" >&5
3073 echo "${ECHO_T}enabled" >&6
3077 echo "$as_me:$LINENO: result: disabled" >&5
3078 echo "${ECHO_T}disabled" >&6
3080 OPAL_H323
=$OPAL_H323
3085 # Check whether --enable-iax or --disable-iax was given.
3086 if test "${enable_iax+set}" = set; then
3087 enableval
="$enable_iax"
3090 echo "$as_me:$LINENO: checking IAX2 protocol" >&5
3091 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6
3092 if test "$iax" = "yes" ; then
3095 cat >>confdefs.h
<<\_ACEOF
3099 echo "$as_me:$LINENO: result: enabled" >&5
3100 echo "${ECHO_T}enabled" >&6
3104 echo "$as_me:$LINENO: result: disabled" >&5
3105 echo "${ECHO_T}disabled" >&6
3111 ac_cpp
='$CPP $CPPFLAGS'
3112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3115 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3116 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3117 # On Suns, sometimes $CPP names a directory.
3118 if test -n "$CPP" && test -d "$CPP"; then
3121 if test -z "$CPP"; then
3122 if test "${ac_cv_prog_CPP+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 # Double quotes because CPP needs to be expanded
3126 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3129 for ac_c_preproc_warn_flag
in '' yes
3131 # Use a header file that comes with gcc, so configuring glibc
3132 # with a fresh cross-compiler works.
3133 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3134 # <limits.h> exists even on freestanding compilers.
3135 # On the NeXT, cc -E runs the code through the compiler's parser,
3136 # not just through cpp. "Syntax error" is here to catch this case.
3137 cat >conftest.
$ac_ext <<_ACEOF
3140 cat confdefs.h
>>conftest.
$ac_ext
3141 cat >>conftest.
$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3144 # include <limits.h>
3146 # include <assert.h>
3150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3153 grep -v '^ *+' conftest.er1
>conftest.err
3155 cat conftest.err
>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } >/dev
/null
; then
3158 if test -s conftest.err
; then
3159 ac_cpp_err
=$ac_c_preproc_warn_flag
3160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3167 if test -z "$ac_cpp_err"; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.
$ac_ext >&5
3173 # Broken: fails on valid input.
3176 rm -f conftest.err conftest.
$ac_ext
3178 # OK, works on sane cases. Now check whether non-existent headers
3179 # can be detected and how.
3180 cat >conftest.
$ac_ext <<_ACEOF
3183 cat confdefs.h
>>conftest.
$ac_ext
3184 cat >>conftest.
$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3186 #include <ac_nonexistent.h>
3188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3191 grep -v '^ *+' conftest.er1
>conftest.err
3193 cat conftest.err
>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } >/dev
/null
; then
3196 if test -s conftest.err
; then
3197 ac_cpp_err
=$ac_c_preproc_warn_flag
3198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3205 if test -z "$ac_cpp_err"; then
3206 # Broken: success on invalid input.
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.
$ac_ext >&5
3212 # Passes both tests.
3216 rm -f conftest.err conftest.
$ac_ext
3219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3220 rm -f conftest.err conftest.
$ac_ext
3221 if $ac_preproc_ok; then
3233 echo "$as_me:$LINENO: result: $CPP" >&5
3234 echo "${ECHO_T}$CPP" >&6
3236 for ac_c_preproc_warn_flag
in '' yes
3238 # Use a header file that comes with gcc, so configuring glibc
3239 # with a fresh cross-compiler works.
3240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241 # <limits.h> exists even on freestanding compilers.
3242 # On the NeXT, cc -E runs the code through the compiler's parser,
3243 # not just through cpp. "Syntax error" is here to catch this case.
3244 cat >conftest.
$ac_ext <<_ACEOF
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3251 # include <limits.h>
3253 # include <assert.h>
3257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3260 grep -v '^ *+' conftest.er1
>conftest.err
3262 cat conftest.err
>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); } >/dev
/null
; then
3265 if test -s conftest.err
; then
3266 ac_cpp_err
=$ac_c_preproc_warn_flag
3267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3274 if test -z "$ac_cpp_err"; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3280 # Broken: fails on valid input.
3283 rm -f conftest.err conftest.
$ac_ext
3285 # OK, works on sane cases. Now check whether non-existent headers
3286 # can be detected and how.
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3293 #include <ac_nonexistent.h>
3295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1
>conftest.err
3300 cat conftest.err
>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } >/dev
/null
; then
3303 if test -s conftest.err
; then
3304 ac_cpp_err
=$ac_c_preproc_warn_flag
3305 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3312 if test -z "$ac_cpp_err"; then
3313 # Broken: success on invalid input.
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.
$ac_ext >&5
3319 # Passes both tests.
3323 rm -f conftest.err conftest.
$ac_ext
3326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3327 rm -f conftest.err conftest.
$ac_ext
3328 if $ac_preproc_ok; then
3331 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3332 See \`config.log' for more details." >&5
3333 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3334 See \`config.log' for more details." >&2;}
3335 { (exit 1); exit 1; }; }
3339 ac_cpp
='$CPP $CPPFLAGS'
3340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3345 echo "$as_me:$LINENO: checking for egrep" >&5
3346 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3347 if test "${ac_cv_prog_egrep+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3351 then ac_cv_prog_egrep
='grep -E'
3352 else ac_cv_prog_egrep
='egrep'
3355 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3356 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3357 EGREP
=$ac_cv_prog_egrep
3360 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3361 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3362 if test "${ac_cv_header_stdc+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 cat >conftest.
$ac_ext <<_ACEOF
3368 cat confdefs.h
>>conftest.
$ac_ext
3369 cat >>conftest.
$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3384 rm -f conftest.
$ac_objext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3386 (eval $ac_compile) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1
>conftest.err
3390 cat conftest.err
>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try
='test -z "$ac_c_werror_flag"
3394 || test ! -s conftest.err'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try
='test -s conftest.$ac_objext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 ac_cv_header_stdc
=yes
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3411 ac_cv_header_stdc
=no
3413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3415 if test $ac_cv_header_stdc = yes; then
3416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3417 cat >conftest.
$ac_ext <<_ACEOF
3420 cat confdefs.h
>>conftest.
$ac_ext
3421 cat >>conftest.
$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3427 $EGREP "memchr" >/dev
/null
2>&1; then
3430 ac_cv_header_stdc
=no
3436 if test $ac_cv_header_stdc = yes; then
3437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3438 cat >conftest.
$ac_ext <<_ACEOF
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3448 $EGREP "free" >/dev
/null
2>&1; then
3451 ac_cv_header_stdc
=no
3457 if test $ac_cv_header_stdc = yes; then
3458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3459 if test "$cross_compiling" = yes; then
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3469 #if ((' ' & 0x0FF) == 0x020)
3470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3473 # define ISLOWER(c) \
3474 (('a' <= (c) && (c) <= 'i') \
3475 || ('j' <= (c) && (c) <= 'r') \
3476 || ('s' <= (c) && (c) <= 'z'))
3477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3485 for (i = 0; i < 256; i++)
3486 if (XOR (islower (i), ISLOWER (i))
3487 || toupper (i) != TOUPPER (i))
3492 rm -f conftest
$ac_exeext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3494 (eval $ac_link) 2>&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; }; then
3505 echo "$as_me: program exited with status $ac_status" >&5
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.
$ac_ext >&5
3510 ac_cv_header_stdc
=no
3512 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3516 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3517 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3518 if test $ac_cv_header_stdc = yes; then
3520 cat >>confdefs.h
<<\_ACEOF
3521 #define STDC_HEADERS 1
3526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3536 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3537 inttypes.h stdint.h unistd.h
3539 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3540 echo "$as_me:$LINENO: checking for $ac_header" >&5
3541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 cat >conftest.
$ac_ext <<_ACEOF
3548 cat confdefs.h
>>conftest.
$ac_ext
3549 cat >>conftest.
$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3551 $ac_includes_default
3553 #include <$ac_header>
3555 rm -f conftest.
$ac_objext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3557 (eval $ac_compile) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1
>conftest.err
3561 cat conftest.err
>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try
='test -z "$ac_c_werror_flag"
3565 || test ! -s conftest.err'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; } &&
3571 { ac_try
='test -s conftest.$ac_objext'
3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }; }; then
3577 eval "$as_ac_Header=yes"
3579 echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3582 eval "$as_ac_Header=no"
3584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3589 cat >>confdefs.h
<<_ACEOF
3590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3601 for ac_header
in linux
/telephony.h sys
/telephony.h
/usr
/local
/include
/sys
/telephony.h
3603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3605 echo "$as_me:$LINENO: checking for $ac_header" >&5
3606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3613 # Is the header compilable?
3614 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3615 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3616 cat >conftest.
$ac_ext <<_ACEOF
3619 cat confdefs.h
>>conftest.
$ac_ext
3620 cat >>conftest.
$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3622 $ac_includes_default
3623 #include <$ac_header>
3625 rm -f conftest.
$ac_objext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3627 (eval $ac_compile) 2>conftest.er1
3629 grep -v '^ *+' conftest.er1
>conftest.err
3631 cat conftest.err
>&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } &&
3634 { ac_try
='test -z "$ac_c_werror_flag"
3635 || test ! -s conftest.err'
3636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); }; } &&
3641 { ac_try
='test -s conftest.$ac_objext'
3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; }; then
3647 ac_header_compiler
=yes
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.
$ac_ext >&5
3652 ac_header_compiler
=no
3654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3656 echo "${ECHO_T}$ac_header_compiler" >&6
3658 # Is the header present?
3659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3661 cat >conftest.
$ac_ext <<_ACEOF
3664 cat confdefs.h
>>conftest.
$ac_ext
3665 cat >>conftest.
$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3667 #include <$ac_header>
3669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3672 grep -v '^ *+' conftest.er1
>conftest.err
3674 cat conftest.err
>&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } >/dev
/null
; then
3677 if test -s conftest.err
; then
3678 ac_cpp_err
=$ac_c_preproc_warn_flag
3679 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3686 if test -z "$ac_cpp_err"; then
3687 ac_header_preproc
=yes
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.
$ac_ext >&5
3692 ac_header_preproc
=no
3694 rm -f conftest.err conftest.
$ac_ext
3695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3696 echo "${ECHO_T}$ac_header_preproc" >&6
3698 # So? What about this header?
3699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3705 ac_header_preproc
=yes
3708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3722 ## ------------------------------------------ ##
3723 ## Report this to the AC_PACKAGE_NAME lists. ##
3724 ## ------------------------------------------ ##
3727 sed "s/^/$as_me: WARNING: /" >&2
3730 echo "$as_me:$LINENO: checking for $ac_header" >&5
3731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 eval "$as_ac_Header=\$ac_header_preproc"
3737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3742 cat >>confdefs.h
<<_ACEOF
3743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3750 if test "x$HAS_IXJ" != "x" ; then
3751 cat >>confdefs.h
<<\_ACEOF
3769 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
3770 if test -f $ac_dir/install-sh
; then
3772 ac_install_sh
="$ac_aux_dir/install-sh -c"
3774 elif test -f $ac_dir/install.sh
; then
3776 ac_install_sh
="$ac_aux_dir/install.sh -c"
3778 elif test -f $ac_dir/shtool
; then
3780 ac_install_sh
="$ac_aux_dir/shtool install -c"
3784 if test -z "$ac_aux_dir"; then
3785 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3786 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3787 { (exit 1); exit 1; }; }
3789 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3790 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3791 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3793 # Find a good install program. We prefer a C program (faster),
3794 # so one script is as good as another. But avoid the broken or
3795 # incompatible versions:
3796 # SysV /etc/install, /usr/sbin/install
3797 # SunOS /usr/etc/install
3798 # IRIX /sbin/install
3800 # AmigaOS /C/install, which installs bootblocks on floppy discs
3801 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3802 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3803 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3804 # OS/2's system install, which has a completely different semantic
3805 # ./install, which can be erroneously created by make from ./install.sh.
3806 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3807 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3808 if test -z "$INSTALL"; then
3809 if test "${ac_cv_path_install+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir
=.
3817 # Account for people who put trailing slashes in PATH elements.
3819 .
/ | .
// |
/cC
/* | \
3820 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3821 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3824 # OSF1 and SCO ODT 3.0 have their own names for install.
3825 # Don't use installbsd from OSF since it installs stuff as root
3827 for ac_prog
in ginstall scoinst
install; do
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3830 if test $ac_prog = install &&
3831 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3832 # AIX install. It has an incompatible calling convention.
3834 elif test $ac_prog = install &&
3835 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3836 # program-specific install script used by HP pwplus--don't use.
3839 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3851 if test "${ac_cv_path_install+set}" = set; then
3852 INSTALL
=$ac_cv_path_install
3854 # As a last resort, use the slow shell script. We don't cache a
3855 # path for INSTALL within a source directory, because that will
3856 # break other packages using the cache if that directory is
3857 # removed, or if the path is relative.
3858 INSTALL
=$ac_install_sh
3861 echo "$as_me:$LINENO: result: $INSTALL" >&5
3862 echo "${ECHO_T}$INSTALL" >&6
3864 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3865 # It thinks the first close brace ends the variable substitution.
3866 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3868 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3870 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3874 ac_config_files
="$ac_config_files opal_inc.mak"
3876 ac_config_files
="$ac_config_files Makefile"
3878 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
3881 cat >confcache
<<\_ACEOF
3882 # This file is a shell script that caches the results of configure
3883 # tests run on this system so they can be shared between configure
3884 # scripts and configure runs, see configure's option --config-cache.
3885 # It is not useful on other systems. If it contains results you don't
3886 # want to keep, you may remove or edit it.
3888 # config.status only pays attention to the cache file if you give it
3889 # the --recheck option to rerun configure.
3891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3897 # The following way of writing the cache mishandles newlines in values,
3898 # but we know of no workaround that is simple, portable, and efficient.
3899 # So, don't put newlines in cache variables' values.
3900 # Ultrix sh set writes to stderr and can't be redirected directly,
3901 # and sets the high bit in the cache file unless we assign to the vars.
3904 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3906 # `set' does not quote correctly, so add quotes (double-quote
3907 # substitution turns \\\\ into \\, and sed turns \\ into \).
3910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3913 # `set' quotes correctly as required by POSIX, so do not add quotes.
3915 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3924 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3926 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3927 if test -w $cache_file; then
3928 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3929 cat confcache
>$cache_file
3931 echo "not updating unwritable cache $cache_file"
3936 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3937 # Let make expand exec_prefix.
3938 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3940 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3941 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3942 # trailing colons and then remove the whole line if VPATH becomes empty
3943 # (actually we leave an empty line to preserve line numbers).
3944 if test "x$srcdir" = x.
; then
3945 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3946 s/:*\$(srcdir):*/:/;
3947 s/:*\${srcdir}:*/:/;
3949 s/^\([^=]*=[ ]*\):*/\1/;
3955 DEFS
=-DHAVE_CONFIG_H
3959 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3960 # 1. Remove the extension, and $U if already installed.
3961 ac_i
=`echo "$ac_i" |
3962 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3964 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
3965 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
3969 LTLIBOBJS
=$ac_ltlibobjs
3973 : ${CONFIG_STATUS=./config.status}
3974 ac_clean_files_save
=$ac_clean_files
3975 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3976 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3977 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3978 cat >$CONFIG_STATUS <<_ACEOF
3980 # Generated by $as_me.
3981 # Run this file to recreate the current configuration.
3982 # Compiler output produced by configure, useful for debugging
3983 # configure, is in config.log if it exists.
3988 SHELL=\${CONFIG_SHELL-$SHELL}
3991 cat >>$CONFIG_STATUS <<\_ACEOF
3992 ## --------------------- ##
3993 ## M4sh Initialization. ##
3994 ## --------------------- ##
3996 # Be Bourne compatible
3997 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4001 # is contrary to our usage. Disable this feature.
4002 alias -g '${1+"$@"}'='"$@"'
4003 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4006 DUALCASE
=1; export DUALCASE
# for MKS sh
4008 # Support unset when possible.
4009 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4016 # Work around bugs in pre-3.0 UWIN ksh.
4017 $as_unset ENV MAIL MAILPATH
4024 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4025 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4026 LC_TELEPHONE LC_TIME
4028 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4029 eval $as_var=C
; export $as_var
4035 # Required to use basename.
4036 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4042 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4043 as_basename
=basename
4049 # Name of the executable.
4050 as_me
=`$as_basename "$0" ||
4051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4052 X"$0" : 'X\(//\)$' \| \
4053 X"$0" : 'X\(/\)$' \| \
4054 . : '\(.\)' 2>/dev/null ||
4056 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4057 /^X\/\(\/\/\)$/{ s//\1/; q; }
4058 /^X\/\(\/\).*/{ s//\1/; q; }
4062 # PATH needs CR, and LINENO needs CR and PATH.
4063 # Avoid depending upon Character Ranges.
4064 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4065 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4066 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4067 as_cr_digits
='0123456789'
4068 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4070 # The user is always right.
4071 if test "${PATH_SEPARATOR+set}" != set; then
4072 echo "#! /bin/sh" >conf$$.sh
4073 echo "exit 0" >>conf$$.sh
4075 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4086 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4087 test "x$as_lineno_1" != "x$as_lineno_2" &&
4088 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4089 # Find who we are. Look in the path if we contain no path at all
4092 *[\\/]* ) as_myself
=$0 ;;
4093 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4103 # We did not find ourselves, most probably we were run as `sh COMMAND'
4104 # in which case we are not to be found in the path.
4105 if test "x$as_myself" = x
; then
4108 if test ! -f "$as_myself"; then
4109 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4110 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4111 { (exit 1); exit 1; }; }
4113 case $CONFIG_SHELL in
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4116 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4119 test -z "$as_dir" && as_dir
=.
4120 for as_base
in sh bash ksh sh5
; do
4123 if ("$as_dir/$as_base" -c '
4126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4127 test "x$as_lineno_1" != "x$as_lineno_2" &&
4128 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4129 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4130 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4131 CONFIG_SHELL
=$as_dir/$as_base
4133 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4142 # uniformly replaced by the line number. The first 'sed' inserts a
4143 # line-number line before each line; the second 'sed' does the real
4144 # work. The second script uses 'N' to pair each line-number line
4145 # with the numbered line, and appends trailing '-' during
4146 # substitution so that $LINENO is not a special case at line end.
4147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4148 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4149 sed '=' <$as_myself |
4154 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4157 s,^['$as_cr_digits']*\n,,
4159 chmod +x
$as_me.lineno ||
4160 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4161 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4162 { (exit 1); exit 1; }; }
4164 # Don't try to exec as it changes $[0], causing all sort of problems
4165 # (the dirname of $[0] is not the place where we might find the
4166 # original and so on. Autoconf is especially sensible to this).
4168 # Exit status is that of the last command.
4173 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4174 *c
*,-n*) ECHO_N
= ECHO_C
='
4176 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4177 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4180 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4186 rm -f conf$$ conf$$.exe conf$$.
file
4188 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4189 # We could just check for DJGPP; but this test a) works b) is more generic
4190 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4191 if test -f conf$$.exe
; then
4192 # Don't use ln at all; we don't have any links
4197 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4202 rm -f conf$$ conf$$.exe conf$$.
file
4204 if mkdir
-p .
2>/dev
/null
; then
4207 test -d .
/-p && rmdir .
/-p
4211 as_executable_p
="test -f"
4213 # Sed expression to map a string onto a valid CPP name.
4214 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4216 # Sed expression to map a string onto a valid variable name.
4217 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4221 # We need space, tab and new line, in precisely that order.
4231 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4232 # report actual input values of CONFIG_FILES etc. instead of their
4233 # values after options handling. Logging --version etc. is OK.
4237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4238 ## Running $as_me. ##
4243 This file was extended by $as_me, which was
4244 generated by GNU Autoconf 2.59. Invocation command line was
4246 CONFIG_FILES = $CONFIG_FILES
4247 CONFIG_HEADERS = $CONFIG_HEADERS
4248 CONFIG_LINKS = $CONFIG_LINKS
4249 CONFIG_COMMANDS = $CONFIG_COMMANDS
4253 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4257 # Files that config.status was made for.
4258 if test -n "$ac_config_files"; then
4259 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4262 if test -n "$ac_config_headers"; then
4263 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4266 if test -n "$ac_config_links"; then
4267 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4270 if test -n "$ac_config_commands"; then
4271 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4274 cat >>$CONFIG_STATUS <<\_ACEOF
4277 \`$as_me' instantiates files from templates according to the
4278 current configuration.
4280 Usage: $0 [OPTIONS] [FILE]...
4282 -h, --help print this help, then exit
4283 -V, --version print version number, then exit
4284 -q, --quiet do not print progress messages
4285 -d, --debug don't remove temporary files
4286 --recheck update $as_me by reconfiguring in the same conditions
4287 --file=FILE[:TEMPLATE]
4288 instantiate the configuration file FILE
4289 --header=FILE[:TEMPLATE]
4290 instantiate the configuration header FILE
4292 Configuration files:
4295 Configuration headers:
4298 Report bugs to <bug-autoconf@gnu.org>."
4301 cat >>$CONFIG_STATUS <<_ACEOF
4304 configured by $0, generated by GNU Autoconf 2.59,
4305 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4307 Copyright (C) 2003 Free Software Foundation, Inc.
4308 This config.status script is free software; the Free Software Foundation
4309 gives unlimited permission to copy, distribute and modify it."
4314 cat >>$CONFIG_STATUS <<\_ACEOF
4315 # If no file are specified by the user, then we need to provide default
4316 # value. By we need to know if files were specified by the user.
4322 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4323 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4331 *) # This is not an option, so the user has probably given explicit
4334 ac_need_defaults
=false
;;
4338 # Handling of the options.
4340 cat >>$CONFIG_STATUS <<\_ACEOF
4341 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4343 --version |
--vers* |
-V )
4344 echo "$ac_cs_version"; exit 0 ;;
4346 # Conflict between --help and --header
4347 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4348 Try \`$0 --help' for more information." >&5
4349 echo "$as_me: error: ambiguous option: $1
4350 Try \`$0 --help' for more information." >&2;}
4351 { (exit 1); exit 1; }; };;
4352 --help |
--hel |
-h )
4353 echo "$ac_cs_usage"; exit 0 ;;
4354 --debug |
--d* |
-d )
4356 --file |
--fil |
--fi |
--f )
4358 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4359 ac_need_defaults
=false
;;
4360 --header |
--heade |
--head |
--hea )
4362 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4363 ac_need_defaults
=false
;;
4364 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4365 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4369 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4370 Try \`$0 --help' for more information." >&5
4371 echo "$as_me: error: unrecognized option: $1
4372 Try \`$0 --help' for more information." >&2;}
4373 { (exit 1); exit 1; }; } ;;
4375 *) ac_config_targets
="$ac_config_targets $1" ;;
4381 ac_configure_extra_args
=
4383 if $ac_cs_silent; then
4385 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4389 cat >>$CONFIG_STATUS <<_ACEOF
4390 if \$ac_cs_recheck; then
4391 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4392 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4401 cat >>$CONFIG_STATUS <<\_ACEOF
4402 for ac_config_target
in $ac_config_targets
4404 case "$ac_config_target" in
4405 # Handling of arguments.
4406 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
4407 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4408 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
4409 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4410 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4411 { (exit 1); exit 1; }; };;
4415 # If the user did not use the arguments to specify the items to instantiate,
4416 # then the envvar interface is used. Set only those that are not.
4417 # We use the long form for the default assignment because of an extremely
4418 # bizarre bug on SunOS 4.1.3.
4419 if $ac_need_defaults; then
4420 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4421 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4424 # Have a temporary directory for convenience. Make it in the build tree
4425 # simply because there is no reason to put it here, and in addition,
4426 # creating and moving files from /tmp can sometimes cause problems.
4427 # Create a temporary directory, and hook for its removal unless debugging.
4430 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4431 trap '{ (exit 1); exit 1; }' 1 2 13 15
4434 # Create a (secure) tmp directory for tmp files.
4437 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4438 test -n "$tmp" && test -d "$tmp"
4441 tmp
=.
/confstat$$
-$RANDOM
4442 (umask 077 && mkdir
$tmp)
4445 echo "$me: cannot create a temporary directory in ." >&2
4446 { (exit 1); exit 1; }
4451 cat >>$CONFIG_STATUS <<_ACEOF
4454 # CONFIG_FILES section.
4457 # No need to generate the scripts if there are no CONFIG_FILES.
4458 # This happens for instance when ./config.status config.h
4459 if test -n "\$CONFIG_FILES"; then
4460 # Protect against being on the right side of a sed subst in config.status.
4461 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4462 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4463 s,@SHELL@,$SHELL,;t t
4464 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4465 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4466 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4467 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4468 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4469 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4470 s,@exec_prefix@,$exec_prefix,;t t
4471 s,@prefix@,$prefix,;t t
4472 s,@program_transform_name@,$program_transform_name,;t t
4473 s,@bindir@,$bindir,;t t
4474 s,@sbindir@,$sbindir,;t t
4475 s,@libexecdir@,$libexecdir,;t t
4476 s,@datadir@,$datadir,;t t
4477 s,@sysconfdir@,$sysconfdir,;t t
4478 s,@sharedstatedir@,$sharedstatedir,;t t
4479 s,@localstatedir@,$localstatedir,;t t
4480 s,@libdir@,$libdir,;t t
4481 s,@includedir@,$includedir,;t t
4482 s,@oldincludedir@,$oldincludedir,;t t
4483 s,@infodir@,$infodir,;t t
4484 s,@mandir@,$mandir,;t t
4485 s,@build_alias@,$build_alias,;t t
4486 s,@host_alias@,$host_alias,;t t
4487 s,@target_alias@,$target_alias,;t t
4489 s,@ECHO_C@,$ECHO_C,;t t
4490 s,@ECHO_N@,$ECHO_N,;t t
4491 s,@ECHO_T@,$ECHO_T,;t t
4494 s,@CXXFLAGS@,$CXXFLAGS,;t t
4495 s,@LDFLAGS@,$LDFLAGS,;t t
4496 s,@CPPFLAGS@,$CPPFLAGS,;t t
4497 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4498 s,@EXEEXT@,$EXEEXT,;t t
4499 s,@OBJEXT@,$OBJEXT,;t t
4500 s,@OPALDIR@,$OPALDIR,;t t
4501 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
4502 s,@LIBDIR@,$LIBDIR,;t t
4503 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
4504 s,@PWLIBDIR@,$PWLIBDIR,;t t
4505 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
4507 s,@CFLAGS@,$CFLAGS,;t t
4508 s,@ac_ct_CC@,$ac_ct_CC,;t t
4509 s,@OPAL_SIP@,$OPAL_SIP,;t t
4510 s,@OPAL_H323@,$OPAL_H323,;t t
4511 s,@OPAL_IAX2@,$OPAL_IAX2,;t t
4513 s,@EGREP@,$EGREP,;t t
4514 s,@HAS_IXJ@,$HAS_IXJ,;t t
4515 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
4516 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
4517 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4518 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4519 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4520 s,@LIBOBJS@,$LIBOBJS,;t t
4521 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4526 cat >>$CONFIG_STATUS <<\_ACEOF
4527 # Split the substitutions into bite-sized pieces for seds with
4528 # small command number limits, like on Digital OSF/1 and HP-UX.
4530 ac_sed_frag
=1 # Number of current file.
4531 ac_beg
=1 # First line for current file.
4532 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4535 while $ac_more_lines; do
4536 if test $ac_beg -gt 1; then
4537 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4539 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4541 if test ! -s $tmp/subs.frag
; then
4544 # The purpose of the label and of the branching condition is to
4545 # speed up the sed processing (if there are no `@' at all, there
4546 # is no need to browse any of the substitutions).
4547 # These are the two extra sed commands mentioned above.
4549 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4550 if test -z "$ac_sed_cmds"; then
4551 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4553 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4555 ac_sed_frag
=`expr $ac_sed_frag + 1`
4557 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4560 if test -z "$ac_sed_cmds"; then
4563 fi # test -n "$CONFIG_FILES"
4566 cat >>$CONFIG_STATUS <<\_ACEOF
4567 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4568 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4570 - |
*:- |
*:-:* ) # input from stdin
4572 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4573 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4574 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4575 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4576 * ) ac_file_in
=$ac_file.
in ;;
4579 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4580 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4582 X"$ac_file" : 'X\(//\)[^/]' \| \
4583 X"$ac_file" : 'X\(//\)$' \| \
4584 X"$ac_file" : 'X\(/\)' \| \
4585 . : '\(.\)' 2>/dev/null ||
4587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4589 /^X\(\/\/\)$/{ s//\1/; q; }
4590 /^X\(\/\).*/{ s//\1/; q; }
4592 { if $as_mkdir_p; then
4597 while test ! -d "$as_dir"; do
4598 as_dirs
="$as_dir $as_dirs"
4599 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4601 X"$as_dir" : 'X\(//\)[^/]' \| \
4602 X"$as_dir" : 'X\(//\)$' \| \
4603 X"$as_dir" : 'X\(/\)' \| \
4604 . : '\(.\)' 2>/dev/null ||
4606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4607 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4608 /^X\(\/\/\)$/{ s//\1/; q; }
4609 /^X\(\/\).*/{ s//\1/; q; }
4612 test ! -n "$as_dirs" || mkdir
$as_dirs
4613 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4614 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4615 { (exit 1); exit 1; }; }; }
4619 if test "$ac_dir" != .
; then
4620 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4621 # A "../" for each directory in $ac_dir_suffix.
4622 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4624 ac_dir_suffix
= ac_top_builddir
=
4628 .
) # No --srcdir option. We are building in place.
4630 if test -z "$ac_top_builddir"; then
4633 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4635 [\\/]* | ?
:[\\/]* ) # Absolute path.
4636 ac_srcdir
=$srcdir$ac_dir_suffix;
4637 ac_top_srcdir
=$srcdir ;;
4639 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4640 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4643 # Do not use `cd foo && pwd` to compute absolute paths, because
4644 # the directories may not exist.
4646 .
) ac_abs_builddir
="$ac_dir";;
4649 .
) ac_abs_builddir
=`pwd`;;
4650 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4651 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4654 case $ac_abs_builddir in
4655 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4657 case ${ac_top_builddir}.
in
4658 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4659 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4660 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4663 case $ac_abs_builddir in
4664 .
) ac_abs_srcdir
=$ac_srcdir;;
4667 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4668 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4669 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4672 case $ac_abs_builddir in
4673 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4675 case $ac_top_srcdir in
4676 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4677 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4678 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4684 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4685 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4688 if test x
"$ac_file" != x-
; then
4689 { echo "$as_me:$LINENO: creating $ac_file" >&5
4690 echo "$as_me: creating $ac_file" >&6;}
4693 # Let's still pretend it is `configure' which instantiates (i.e., don't
4694 # use $as_me), people would be surprised to read:
4695 # /* config.h. Generated by config.status. */
4696 if test x
"$ac_file" = x-
; then
4699 configure_input
="$ac_file. "
4701 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4702 sed 's,.*/,,'` by configure."
4704 # First look for the input files in the build tree, otherwise in the
4706 ac_file_inputs
=`IFS=:
4707 for f in $ac_file_in; do
4709 -) echo $tmp/stdin ;;
4711 # Absolute (can't be DOS-style, as IFS=:)
4712 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4713 echo "$as_me: error: cannot find input file: $f" >&2;}
4714 { (exit 1); exit 1; }; }
4717 if test -f "$f"; then
4720 elif test -f "$srcdir/$f"; then
4725 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4726 echo "$as_me: error: cannot find input file: $f" >&2;}
4727 { (exit 1); exit 1; }; }
4730 done` ||
{ (exit 1); exit 1; }
4732 cat >>$CONFIG_STATUS <<_ACEOF
4736 cat >>$CONFIG_STATUS <<\_ACEOF
4738 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4739 s
,@configure_input@
,$configure_input,;t t
4740 s
,@srcdir@
,$ac_srcdir,;t t
4741 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4742 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4743 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4744 s
,@builddir@
,$ac_builddir,;t t
4745 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4746 s
,@top_builddir@
,$ac_top_builddir,;t t
4747 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4748 s
,@INSTALL@
,$ac_INSTALL,;t t
4749 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4751 if test x"$ac_file" != x-; then
4752 mv $tmp/out $ac_file
4760 cat >>$CONFIG_STATUS <<\_ACEOF
4763 # CONFIG_HEADER section.
4766 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4767 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4769 # ac_d sets the value in "#define NAME VALUE" lines.
4770 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4771 ac_dB
='[ ].*$,\1#\2'
4774 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4775 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4776 ac_uB
='$,\1#\2define\3'
4780 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4781 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4783 - |
*:- |
*:-:* ) # input from stdin
4785 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4786 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4787 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4788 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4789 * ) ac_file_in
=$ac_file.
in ;;
4792 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4793 echo "$as_me: creating $ac_file" >&6;}
4795 # First look for the input files in the build tree, otherwise in the
4797 ac_file_inputs
=`IFS=:
4798 for f in $ac_file_in; do
4800 -) echo $tmp/stdin ;;
4802 # Absolute (can't be DOS-style, as IFS=:)
4803 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4804 echo "$as_me: error: cannot find input file: $f" >&2;}
4805 { (exit 1); exit 1; }; }
4806 # Do quote $f, to prevent DOS paths from being IFS'd.
4809 if test -f "$f"; then
4812 elif test -f "$srcdir/$f"; then
4817 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4818 echo "$as_me: error: cannot find input file: $f" >&2;}
4819 { (exit 1); exit 1; }; }
4822 done` ||
{ (exit 1); exit 1; }
4823 # Remove the trailing spaces.
4824 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4828 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4829 # `conftest.undefs', that substitutes the proper values into
4830 # config.h.in to produce config.h. The first handles `#define'
4831 # templates, and the second `#undef' templates.
4832 # And first: Protect against being on the right side of a sed subst in
4833 # config.status. Protect against being in an unquoted here document
4835 rm -f conftest.defines conftest.undefs
4836 # Using a here document instead of a string reduces the quoting nightmare.
4837 # Putting comments in sed scripts is not portable.
4839 # `end' is used to avoid that the second main sed command (meant for
4840 # 0-ary CPP macros) applies to n-ary macro definitions.
4841 # See the Autoconf documentation for `clear'.
4842 cat >confdef2sed.
sed <<\_ACEOF
4847 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4849 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4852 # If some macros were called several times there might be several times
4853 # the same #defines, which is useless. Nevertheless, we may not want to
4854 # sort them, since we want the *last* AC-DEFINE to be honored.
4855 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4856 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4857 rm -f confdef2sed.sed
4859 # This sed command replaces #undef with comments. This is necessary, for
4860 # example, in the case of _POSIX_SOURCE, which is predefined and required
4861 # on some systems where configure will not decide to define it.
4862 cat >>conftest.undefs <<\_ACEOF
4863 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4866 # Break up conftest.defines because some shells have a limit on the size
4867 # of here documents, and old seds have small limits too (100 cmds).
4868 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4869 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4870 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4871 echo ' :' >>$CONFIG_STATUS
4873 while grep . conftest.defines >/dev/null
4875 # Write a limited-size here document to $tmp/defines.sed.
4876 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4877 # Speed up: don't consider the non `#define' lines.
4878 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4879 # Work around the forget-to-reset-the-flag bug.
4880 echo 't clr' >>$CONFIG_STATUS
4881 echo ': clr' >>$CONFIG_STATUS
4882 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4884 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4888 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4889 rm -f conftest.defines
4890 mv conftest.
tail conftest.defines
4892 rm -f conftest.defines
4893 echo ' fi # grep' >>$CONFIG_STATUS
4894 echo >>$CONFIG_STATUS
4896 # Break up conftest.undefs because some shells have a limit on the size
4897 # of here documents, and old seds have small limits too (100 cmds).
4898 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4900 while grep . conftest.undefs
>/dev
/null
4902 # Write a limited-size here document to $tmp/undefs.sed.
4903 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4904 # Speed up: don't consider the non
`#undef'
4905 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4906 # Work around the forget-to-reset-the-flag bug.
4907 echo 't clr' >>$CONFIG_STATUS
4908 echo ': clr' >>$CONFIG_STATUS
4909 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4911 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4915 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4916 rm -f conftest.undefs
4917 mv conftest.tail conftest.undefs
4919 rm -f conftest.undefs
4921 cat >>$CONFIG_STATUS <<\_ACEOF
4922 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4923 # use $as_me), people would be surprised to read:
4924 # /* config.h. Generated by config.status. */
4925 if test x
"$ac_file" = x-
; then
4926 echo "/* Generated by configure. */" >$tmp/config.h
4928 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4930 cat $tmp/in >>$tmp/config.h
4932 if test x
"$ac_file" != x-
; then
4933 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
4934 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4935 echo "$as_me: $ac_file is unchanged" >&6;}
4937 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4939 X"$ac_file" : 'X\(//\)[^/]' \| \
4940 X"$ac_file" : 'X\(//\)$' \| \
4941 X"$ac_file" : 'X\(/\)' \| \
4942 . : '\(.\)' 2>/dev/null ||
4944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4946 /^X\(\/\/\)$/{ s//\1/; q; }
4947 /^X\(\/\).*/{ s//\1/; q; }
4949 { if $as_mkdir_p; then
4954 while test ! -d "$as_dir"; do
4955 as_dirs
="$as_dir $as_dirs"
4956 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4958 X"$as_dir" : 'X\(//\)[^/]' \| \
4959 X"$as_dir" : 'X\(//\)$' \| \
4960 X"$as_dir" : 'X\(/\)' \| \
4961 . : '\(.\)' 2>/dev/null ||
4963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4965 /^X\(\/\/\)$/{ s//\1/; q; }
4966 /^X\(\/\).*/{ s//\1/; q; }
4969 test ! -n "$as_dirs" || mkdir
$as_dirs
4970 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4971 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4972 { (exit 1); exit 1; }; }; }
4975 mv $tmp/config.h
$ac_file
4984 cat >>$CONFIG_STATUS <<\_ACEOF
4986 { (exit 0); exit 0; }
4988 chmod +x
$CONFIG_STATUS
4989 ac_clean_files
=$ac_clean_files_save
4992 # configure is writing to config.log, and then calls config.status.
4993 # config.status does its own redirection, appending to config.log.
4994 # Unfortunately, on DOS this fails, as config.log is still kept open
4995 # by configure, so config.status won't be able to write to it; its
4996 # output is simply discarded. So we exec the FD to /dev/null,
4997 # effectively closing config.log, so it can be properly (re)opened and
4998 # appended to by config.status. When coming back to configure, we
4999 # need to make the FD available again.
5000 if test "$no_create" != yes; then
5002 ac_config_status_args
=
5003 test "$silent" = yes &&
5004 ac_config_status_args
="$ac_config_status_args --quiet"
5006 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5008 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5009 # would make configure fail if this is the last instruction.
5010 $ac_cs_success ||
{ (exit 1); exit 1; }