2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="include/opal/manager.h"
274 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 OPAL_VERSION PTLIB_CONFIG PWLIBDIR OPAL_SYSTEM_SPEEX CC CFLAGS ac_ct_CC OPAL_SIP OPAL_H323 STDCCFLAGS ENDLDLIBS LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version
=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name
=s
,x
,x
,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir
='${exec_prefix}/bin'
303 sbindir
='${exec_prefix}/sbin'
304 libexecdir
='${exec_prefix}/libexec'
305 datadir
='${prefix}/share'
306 sysconfdir
='${prefix}/etc'
307 sharedstatedir
='${prefix}/com'
308 localstatedir
='${prefix}/var'
309 libdir
='${exec_prefix}/lib'
310 includedir
='${prefix}/include'
311 oldincludedir
='/usr/include'
312 infodir
='${prefix}/info'
313 mandir
='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
333 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
336 -build |
--build |
--buil |
--bui |
--bu)
337 ac_prev
=build_alias
;;
338 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
339 build_alias
=$ac_optarg ;;
341 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
342 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
343 ac_prev
=cache_file
;;
344 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
345 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
346 cache_file
=$ac_optarg ;;
349 cache_file
=config.cache
;;
351 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
353 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
355 datadir
=$ac_optarg ;;
357 -disable-* |
--disable-*)
358 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* |
--enable-*)
367 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
380 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
381 |
--exec |
--exe |
--ex)
382 ac_prev
=exec_prefix
;;
383 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
384 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
385 |
--exec=* |
--exe=* |
--ex=*)
386 exec_prefix
=$ac_optarg ;;
388 -gas |
--gas |
--ga |
--g)
389 # Obsolete; use --with-gas.
392 -help |
--help |
--hel |
--he |
-h)
394 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
395 ac_init_help
=recursive
;;
396 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
397 ac_init_help
=short
;;
399 -host |
--host |
--hos |
--ho)
400 ac_prev
=host_alias
;;
401 -host=* |
--host=* |
--hos=* |
--ho=*)
402 host_alias
=$ac_optarg ;;
404 -includedir |
--includedir |
--includedi |
--included |
--include \
405 |
--includ |
--inclu |
--incl |
--inc)
406 ac_prev
=includedir
;;
407 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
408 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
409 includedir
=$ac_optarg ;;
411 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
413 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
414 infodir
=$ac_optarg ;;
416 -libdir |
--libdir |
--libdi |
--libd)
418 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
421 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
422 |
--libexe |
--libex |
--libe)
423 ac_prev
=libexecdir
;;
424 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
425 |
--libexe=* |
--libex=* |
--libe=*)
426 libexecdir
=$ac_optarg ;;
428 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
429 |
--localstate |
--localstat |
--localsta |
--localst \
430 |
--locals |
--local |
--loca |
--loc |
--lo)
431 ac_prev
=localstatedir
;;
432 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
433 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
434 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
435 localstatedir
=$ac_optarg ;;
437 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
439 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
443 # Obsolete; use --without-fp.
446 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
447 |
--no-cr |
--no-c |
-n)
450 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
451 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
454 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
455 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
456 |
--oldin |
--oldi |
--old |
--ol |
--o)
457 ac_prev
=oldincludedir
;;
458 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
459 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
460 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
461 oldincludedir
=$ac_optarg ;;
463 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
465 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
468 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
469 |
--program-pre |
--program-pr |
--program-p)
470 ac_prev
=program_prefix
;;
471 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
472 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
473 program_prefix
=$ac_optarg ;;
475 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
476 |
--program-suf |
--program-su |
--program-s)
477 ac_prev
=program_suffix
;;
478 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
479 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
480 program_suffix
=$ac_optarg ;;
482 -program-transform-name |
--program-transform-name \
483 |
--program-transform-nam |
--program-transform-na \
484 |
--program-transform-n |
--program-transform- \
485 |
--program-transform |
--program-transfor \
486 |
--program-transfo |
--program-transf \
487 |
--program-trans |
--program-tran \
488 |
--progr-tra |
--program-tr |
--program-t)
489 ac_prev
=program_transform_name
;;
490 -program-transform-name=* |
--program-transform-name=* \
491 |
--program-transform-nam=* |
--program-transform-na=* \
492 |
--program-transform-n=* |
--program-transform-=* \
493 |
--program-transform=* |
--program-transfor=* \
494 |
--program-transfo=* |
--program-transf=* \
495 |
--program-trans=* |
--program-tran=* \
496 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
497 program_transform_name
=$ac_optarg ;;
499 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
500 |
-silent |
--silent |
--silen |
--sile |
--sil)
503 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
505 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
507 sbindir
=$ac_optarg ;;
509 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
510 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
511 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
513 ac_prev
=sharedstatedir
;;
514 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
515 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
516 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
518 sharedstatedir
=$ac_optarg ;;
520 -site |
--site |
--sit)
522 -site=* |
--site=* |
--sit=*)
525 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
527 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
530 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
531 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
532 ac_prev
=sysconfdir
;;
533 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
534 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
535 sysconfdir
=$ac_optarg ;;
537 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
538 ac_prev
=target_alias
;;
539 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
540 target_alias
=$ac_optarg ;;
542 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
545 -version |
--version |
--versio |
--versi |
--vers |
-V)
549 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package
=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* |
--without-*)
562 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package
=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
575 |
--x-incl |
--x-inc |
--x-in |
--x-i)
576 ac_prev
=x_includes
;;
577 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
578 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
579 x_includes
=$ac_optarg ;;
581 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
582 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
583 ac_prev
=x_libraries
;;
584 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
585 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
586 x_libraries
=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var
in exec_prefix prefix
623 eval ac_val
=$
`echo $ac_var`
625 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val
=$
`echo $ac_var`
637 [\\/$
]* | ?
:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x
; then
652 if test "x$build_alias" = x
; then
653 cross_compiling
=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
664 test "$silent" = yes && exec 6>/dev
/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted
=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir
=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted
=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set
=${build_alias+set}
704 ac_env_build_alias_value
=$build_alias
705 ac_cv_env_build_alias_set
=${build_alias+set}
706 ac_cv_env_build_alias_value
=$build_alias
707 ac_env_host_alias_set
=${host_alias+set}
708 ac_env_host_alias_value
=$host_alias
709 ac_cv_env_host_alias_set
=${host_alias+set}
710 ac_cv_env_host_alias_value
=$host_alias
711 ac_env_target_alias_set
=${target_alias+set}
712 ac_env_target_alias_value
=$target_alias
713 ac_cv_env_target_alias_set
=${target_alias+set}
714 ac_cv_env_target_alias_value
=$target_alias
715 ac_env_CXX_set
=${CXX+set}
716 ac_env_CXX_value
=$CXX
717 ac_cv_env_CXX_set
=${CXX+set}
718 ac_cv_env_CXX_value
=$CXX
719 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
720 ac_env_CXXFLAGS_value
=$CXXFLAGS
721 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
722 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
723 ac_env_LDFLAGS_set
=${LDFLAGS+set}
724 ac_env_LDFLAGS_value
=$LDFLAGS
725 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value
=$LDFLAGS
727 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value
=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
731 ac_env_CC_set
=${CC+set}
733 ac_cv_env_CC_set
=${CC+set}
734 ac_cv_env_CC_value
=$CC
735 ac_env_CFLAGS_set
=${CFLAGS+set}
736 ac_env_CFLAGS_value
=$CFLAGS
737 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
738 ac_cv_env_CFLAGS_value
=$CFLAGS
741 # Report the --help message.
743 if test "$ac_init_help" = "long"; then
744 # Omit some internal or obsolete options to make the list less imposing.
745 # This message is too long to be a string in the A/UX 3.1 sh.
747 \`configure' configures this package to adapt to many kinds of systems.
749 Usage: $0 [OPTION]... [VAR=VALUE]...
751 To assign environment variables (e.g., CC, CFLAGS...), specify them as
752 VAR=VALUE. See below for descriptions of some of the useful variables.
754 Defaults for the options are specified in brackets.
757 -h, --help display this help and exit
758 --help=short display options specific to this package
759 --help=recursive display the short help of all the included packages
760 -V, --version display version information and exit
761 -q, --quiet, --silent do not print \`checking...' messages
762 --cache-file=FILE cache test results in FILE [disabled]
763 -C, --config-cache alias for \`--cache-file=config.cache'
764 -n, --no-create do not create output files
765 --srcdir=DIR find the sources in DIR [configure dir or \`..']
770 Installation directories:
771 --prefix=PREFIX install architecture-independent files in PREFIX
773 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
776 By default, \`make install' will install all the files in
777 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
778 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
779 for instance \`--prefix=\$HOME'.
781 For better control, use the options below.
783 Fine tuning of the installation directories:
784 --bindir=DIR user executables [EPREFIX/bin]
785 --sbindir=DIR system admin executables [EPREFIX/sbin]
786 --libexecdir=DIR program executables [EPREFIX/libexec]
787 --datadir=DIR read-only architecture-independent data [PREFIX/share]
788 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
789 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
790 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
791 --libdir=DIR object code libraries [EPREFIX/lib]
792 --includedir=DIR C header files [PREFIX/include]
793 --oldincludedir=DIR C header files for non-gcc [/usr/include]
794 --infodir=DIR info documentation [PREFIX/info]
795 --mandir=DIR man documentation [PREFIX/man]
802 if test -n "$ac_init_help"; then
807 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
808 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
809 --enable-localspeex use
local version of Speex library rather than system version
810 --disable-sip disable SIP protocol support
811 --disable-h323 disable H
.323 protocol support
813 Some influential environment variables
:
814 CXX C
++ compiler
command
815 CXXFLAGS C
++ compiler flags
816 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
817 nonstandard directory
<lib dir
>
818 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
819 headers
in a nonstandard directory
<include dir
>
820 CC C compiler
command
821 CFLAGS C compiler flags
823 Use these variables to override the choices made by
`configure' or to help
824 it to find libraries and programs with nonstandard names/locations.
829 if test "$ac_init_help" = "recursive"; then
830 # If there are subdirs, report their specific --help.
832 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
833 test -d $ac_dir || continue
836 if test "$ac_dir" != .; then
837 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
838 # A "../" for each directory in $ac_dir_suffix.
839 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
841 ac_dir_suffix= ac_top_builddir=
845 .) # No --srcdir option. We are building in place.
847 if test -z "$ac_top_builddir"; then
850 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
852 [\\/]* | ?:[\\/]* ) # Absolute path.
853 ac_srcdir=$srcdir$ac_dir_suffix;
854 ac_top_srcdir=$srcdir ;;
856 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
857 ac_top_srcdir=$ac_top_builddir$srcdir ;;
859 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
861 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
862 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
863 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
864 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
867 # Check for guested configure; otherwise get Cygnus style configure.
868 if test -f $ac_srcdir/configure.gnu; then
870 $SHELL $ac_srcdir/configure.gnu --help=recursive
871 elif test -f $ac_srcdir/configure; then
873 $SHELL $ac_srcdir/configure --help=recursive
874 elif test -f $ac_srcdir/configure.ac ||
875 test -f $ac_srcdir/configure.in; then
879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
885 test -n "$ac_init_help" && exit 0
886 if $ac_init_version; then
889 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
890 Free Software Foundation, Inc.
891 This configure script is free software; the Free Software Foundation
892 gives unlimited permission to copy, distribute and modify it.
898 This file contains any messages produced by compilers while
899 running configure, to aid debugging if configure makes a mistake.
901 It was created by $as_me, which was
902 generated by GNU Autoconf 2.57. Invocation command line was
913 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
914 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
915 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
916 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
917 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
919 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
920 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
922 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
923 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
924 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
925 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
926 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
927 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
928 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
936 test -z "$as_dir" && as_dir=.
952 # Keep a trace of the command line.
953 # Strip out --no-create and --no-recursion so they do not pile up.
954 # Strip out --silent because we don't want to record it for future runs.
955 # Also quote any args containing shell meta-characters.
956 # Make two passes to allow for proper duplicate-argument suppression.
961 ac_must_keep_next=false
967 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
969 | -silent | --silent | --silen | --sile | --sil)
971 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
972 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
975 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
977 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
978 if test $ac_must_keep_next = true; then
979 ac_must_keep_next=false # Got value, back to normal.
982 *=* | --config-cache | -C | -disable-* | --disable-* \
983 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
984 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
985 | -with-* | --with-* | -without-* | --without-* | --x)
986 case "$ac_configure_args0 " in
987 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
990 -* ) ac_must_keep_next=true ;;
993 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994 # Get rid of the leading space.
1000 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1001 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1003 # When interrupted or exit'd, cleanup temporary files, and complete
1004 # config.log. We remove comments because anyway the quotes in there
1005 # would cause problems or look ugly.
1006 # WARNING: Be sure not to use single quotes in there, as some shells,
1007 # such as our DU 5.0 friend, will then `close
' the trap.
1008 trap 'exit_status
=$?
1009 # Save into config.log some information that might help in debugging.
1014 ## ---------------- ##
1015 ## Cache variables. ##
1016 ## ---------------- ##
1019 # The following way of writing the cache mishandles newlines in values,
1022 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1025 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1030 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1037 ## ----------------- ##
1038 ## Output variables. ##
1039 ## ----------------- ##
1042 for ac_var
in $ac_subst_vars
1044 eval ac_val
=$
`echo $ac_var`
1045 echo "$ac_var='"'"'$ac_val'"'"'"
1049 if test -n "$ac_subst_files"; then
1056 for ac_var
in $ac_subst_files
1058 eval ac_val
=$
`echo $ac_var`
1059 echo "$ac_var='"'"'$ac_val'"'"'"
1064 if test -s confdefs.h
; then
1071 sed "/^$/d" confdefs.h |
sort
1074 test "$ac_signal" != 0 &&
1075 echo "$as_me: caught signal $ac_signal"
1076 echo "$as_me: exit $exit_status"
1078 rm -f core core.
* *.core
&&
1079 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1082 for ac_signal in 1 2 13 15; do
1083 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1088 rm -rf conftest* confdefs.h
1089 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1092 # Predefined preprocessor variables.
1094 cat >>confdefs.h <<_ACEOF
1095 #define PACKAGE_NAME "$PACKAGE_NAME"
1099 cat >>confdefs.h <<_ACEOF
1100 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1104 cat >>confdefs.h <<_ACEOF
1105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1109 cat >>confdefs.h <<_ACEOF
1110 #define PACKAGE_STRING "$PACKAGE_STRING"
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1119 # Let the site file select an alternate cache file if it wants to.
1120 # Prefer explicitly selected file to automatically selected ones.
1121 if test -z "$CONFIG_SITE"; then
1122 if test "x$prefix" != xNONE; then
1123 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1128 for ac_site_file in $CONFIG_SITE; do
1129 if test -r "$ac_site_file"; then
1130 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1131 echo "$as_me: loading site script $ac_site_file" >&6;}
1132 sed 's
/^
/|
/' "$ac_site_file" >&5
1137 if test -r "$cache_file"; then
1138 # Some versions of bash will fail to source /dev/null (special
1139 # files actually), so we avoid doing that.
1140 if test -f "$cache_file"; then
1141 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1142 echo "$as_me: loading cache $cache_file" >&6;}
1144 [\\/]* | ?:[\\/]* ) . $cache_file;;
1145 *) . ./$cache_file;;
1149 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1150 echo "$as_me: creating cache $cache_file" >&6;}
1154 # Check that the precious variables saved in the cache have kept the same
1156 ac_cache_corrupted=false
1157 for ac_var in `(set) 2>&1 |
1158 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1160 eval ac_new_set=\$ac_env_${ac_var}_set
1161 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1162 eval ac_new_val="\$ac_env_${ac_var}_value"
1163 case $ac_old_set,$ac_new_set in
1165 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1166 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1167 ac_cache_corrupted=: ;;
1169 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1170 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1171 ac_cache_corrupted=: ;;
1174 if test "x$ac_old_val" != "x$ac_new_val"; then
1175 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1176 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1177 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1178 echo "$as_me: former value: $ac_old_val" >&2;}
1179 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1180 echo "$as_me: current value: $ac_new_val" >&2;}
1181 ac_cache_corrupted=:
1184 # Pass precious variables to config.status.
1185 if test "$ac_new_set" = set; then
1187 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1188 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1189 *) ac_arg=$ac_var=$ac_new_val ;;
1191 case " $ac_configure_args " in
1192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1193 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1197 if $ac_cache_corrupted; then
1198 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1199 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1200 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1201 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1202 { (exit 1); exit 1; }; }
1206 ac_cpp='$CPP $CPPFLAGS'
1207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1208 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1231 ac_cpp='$CXXCPP $CPPFLAGS'
1232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1233 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1235 if test -n "$ac_tool_prefix"; then
1236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1240 echo "$as_me:$LINENO: checking for $ac_word" >&5
1241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1242 if test "${ac_cv_prog_CXX+set}" = set; then
1243 echo $ECHO_N "(cached) $ECHO_C" >&6
1245 if test -n "$CXX"; then
1246 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1252 test -z "$as_dir" && as_dir=.
1253 for ac_exec_ext in '' $ac_executable_extensions; do
1254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1255 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1265 if test -n "$CXX"; then
1266 echo "$as_me:$LINENO: result: $CXX" >&5
1267 echo "${ECHO_T}$CXX" >&6
1269 echo "$as_me:$LINENO: result: no" >&5
1270 echo "${ECHO_T}no" >&6
1273 test -n "$CXX" && break
1276 if test -z "$CXX"; then
1278 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1280 # Extract the first word of "$ac_prog", so it can be a program name with args.
1281 set dummy $ac_prog; ac_word=$2
1282 echo "$as_me:$LINENO: checking for $ac_word" >&5
1283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1284 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1285 echo $ECHO_N "(cached) $ECHO_C" >&6
1287 if test -n "$ac_ct_CXX"; then
1288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1294 test -z "$as_dir" && as_dir=.
1295 for ac_exec_ext in '' $ac_executable_extensions; do
1296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1297 ac_cv_prog_ac_ct_CXX="$ac_prog"
1298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1306 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1307 if test -n "$ac_ct_CXX"; then
1308 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1309 echo "${ECHO_T}$ac_ct_CXX" >&6
1311 echo "$as_me:$LINENO: result: no" >&5
1312 echo "${ECHO_T}no" >&6
1315 test -n "$ac_ct_CXX" && break
1317 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1323 # Provide some information about the compiler.
1324 echo "$as_me:$LINENO:" \
1325 "checking for C++ compiler version" >&5
1326 ac_compiler=`set X $ac_compile; echo $2`
1327 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1328 (eval $ac_compiler --version </dev/null >&5) 2>&5
1330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1331 (exit $ac_status); }
1332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1333 (eval $ac_compiler -v </dev/null >&5) 2>&5
1335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1336 (exit $ac_status); }
1337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1338 (eval $ac_compiler -V </dev/null >&5) 2>&5
1340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1341 (exit $ac_status); }
1343 cat >conftest.$ac_ext <<_ACEOF
1344 #line $LINENO "configure"
1347 cat confdefs.h >>conftest.$ac_ext
1348 cat >>conftest.$ac_ext <<_ACEOF
1349 /* end confdefs.h. */
1359 ac_clean_files_save=$ac_clean_files
1360 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1361 # Try to create an executable without -o first, disregard a.out.
1362 # It will help us diagnose broken compilers, and finding out an intuition
1364 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1365 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1366 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1367 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1368 (eval $ac_link_default) 2>&5
1370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1371 (exit $ac_status); }; then
1372 # Find the output, starting from the most likely. This scheme is
1373 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1376 # Be careful to initialize this variable, since it used to be cached.
1377 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1379 # b.out is created by i960 compilers.
1380 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1382 test -f "$ac_file" ||
continue
1384 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1387 # This is the source file.
1390 # We found the default executable, but exeext='' is most
1394 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1395 # FIXME: I believe we export ac_cv_exeext for Libtool,
1396 # but it would be cool to find out if it's true. Does anybody
1397 # maintain Libtool? --akim.
1405 echo "$as_me: failed program was:" >&5
1406 sed 's/^/| /' conftest.
$ac_ext >&5
1408 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1409 See \`config.log' for more details." >&5
1410 echo "$as_me: error: C++ compiler cannot create executables
1411 See \`config.log' for more details." >&2;}
1412 { (exit 77); exit 77; }; }
1415 ac_exeext
=$ac_cv_exeext
1416 echo "$as_me:$LINENO: result: $ac_file" >&5
1417 echo "${ECHO_T}$ac_file" >&6
1419 # Check the compiler produces executables we can run. If not, either
1420 # the compiler is broken, or we cross compile.
1421 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1422 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1423 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1424 # If not cross compiling, check that we can run a simple program.
1425 if test "$cross_compiling" != yes; then
1426 if { ac_try
='./$ac_file'
1427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1431 (exit $ac_status); }; }; then
1434 if test "$cross_compiling" = maybe
; then
1437 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1438 If you meant to cross compile, use \`--host'.
1439 See \`config.log' for more details." >&5
1440 echo "$as_me: error: cannot run C++ compiled programs.
1441 If you meant to cross compile, use \`--host'.
1442 See \`config.log' for more details." >&2;}
1443 { (exit 1); exit 1; }; }
1447 echo "$as_me:$LINENO: result: yes" >&5
1448 echo "${ECHO_T}yes" >&6
1450 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1451 ac_clean_files
=$ac_clean_files_save
1452 # Check the compiler produces executables we can run. If not, either
1453 # the compiler is broken, or we cross compile.
1454 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1455 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1456 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1457 echo "${ECHO_T}$cross_compiling" >&6
1459 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1460 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1462 (eval $ac_link) 2>&5
1464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1465 (exit $ac_status); }; then
1466 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1467 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1468 # work properly (i.e., refer to `conftest.exe'), while it won't with
1470 for ac_file
in conftest.exe conftest conftest.
*; do
1471 test -f "$ac_file" ||
continue
1473 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1474 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1481 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1482 See \`config.log' for more details." >&5
1483 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1484 See \`config.log' for more details." >&2;}
1485 { (exit 1); exit 1; }; }
1488 rm -f conftest
$ac_cv_exeext
1489 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1490 echo "${ECHO_T}$ac_cv_exeext" >&6
1492 rm -f conftest.
$ac_ext
1493 EXEEXT
=$ac_cv_exeext
1495 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1496 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1497 if test "${ac_cv_objext+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.
$ac_ext <<_ACEOF
1501 #line $LINENO "configure"
1504 cat confdefs.h
>>conftest.
$ac_ext
1505 cat >>conftest.
$ac_ext <<_ACEOF
1506 /* end confdefs.h. */
1516 rm -f conftest.o conftest.obj
1517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1518 (eval $ac_compile) 2>&5
1520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1521 (exit $ac_status); }; then
1522 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1524 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1525 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1530 echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.
$ac_ext >&5
1533 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1534 See \`config.log' for more details." >&5
1535 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1536 See \`config.log' for more details." >&2;}
1537 { (exit 1); exit 1; }; }
1540 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1542 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1543 echo "${ECHO_T}$ac_cv_objext" >&6
1544 OBJEXT
=$ac_cv_objext
1546 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1547 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1548 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 cat >conftest.
$ac_ext <<_ACEOF
1552 #line $LINENO "configure"
1555 cat confdefs.h
>>conftest.
$ac_ext
1556 cat >>conftest.
$ac_ext <<_ACEOF
1557 /* end confdefs.h. */
1570 rm -f conftest.
$ac_objext
1571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1572 (eval $ac_compile) 2>&5
1574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1575 (exit $ac_status); } &&
1576 { ac_try
='test -s conftest.$ac_objext'
1577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1581 (exit $ac_status); }; }; then
1584 echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.
$ac_ext >&5
1589 rm -f conftest.
$ac_objext conftest.
$ac_ext
1590 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1593 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1594 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1595 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1596 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1597 ac_save_CXXFLAGS
=$CXXFLAGS
1599 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1600 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1601 if test "${ac_cv_prog_cxx_g+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 cat >conftest.
$ac_ext <<_ACEOF
1605 #line $LINENO "configure"
1608 cat confdefs.h
>>conftest.
$ac_ext
1609 cat >>conftest.
$ac_ext <<_ACEOF
1610 /* end confdefs.h. */
1620 rm -f conftest.
$ac_objext
1621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1622 (eval $ac_compile) 2>&5
1624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1625 (exit $ac_status); } &&
1626 { ac_try
='test -s conftest.$ac_objext'
1627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1631 (exit $ac_status); }; }; then
1632 ac_cv_prog_cxx_g
=yes
1634 echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.
$ac_ext >&5
1639 rm -f conftest.
$ac_objext conftest.
$ac_ext
1641 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1642 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1643 if test "$ac_test_CXXFLAGS" = set; then
1644 CXXFLAGS
=$ac_save_CXXFLAGS
1645 elif test $ac_cv_prog_cxx_g = yes; then
1646 if test "$GXX" = yes; then
1652 if test "$GXX" = yes; then
1658 for ac_declaration
in \
1660 '#include <stdlib.h>' \
1661 'extern "C" void std::exit (int) throw (); using std::exit;' \
1662 'extern "C" void std::exit (int); using std::exit;' \
1663 'extern "C" void exit (int) throw ();' \
1664 'extern "C" void exit (int);' \
1667 cat >conftest.
$ac_ext <<_ACEOF
1668 #line $LINENO "configure"
1671 cat confdefs.h
>>conftest.
$ac_ext
1672 cat >>conftest.
$ac_ext <<_ACEOF
1673 /* end confdefs.h. */
1684 rm -f conftest.
$ac_objext
1685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1686 (eval $ac_compile) 2>&5
1688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689 (exit $ac_status); } &&
1690 { ac_try
='test -s conftest.$ac_objext'
1691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695 (exit $ac_status); }; }; then
1698 echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.
$ac_ext >&5
1703 rm -f conftest.
$ac_objext conftest.
$ac_ext
1704 cat >conftest.
$ac_ext <<_ACEOF
1705 #line $LINENO "configure"
1708 cat confdefs.h
>>conftest.
$ac_ext
1709 cat >>conftest.
$ac_ext <<_ACEOF
1710 /* end confdefs.h. */
1720 rm -f conftest.
$ac_objext
1721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1722 (eval $ac_compile) 2>&5
1724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1725 (exit $ac_status); } &&
1726 { ac_try
='test -s conftest.$ac_objext'
1727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; }; then
1734 echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.
$ac_ext >&5
1738 rm -f conftest.
$ac_objext conftest.
$ac_ext
1741 if test -n "$ac_declaration"; then
1742 echo '#ifdef __cplusplus' >>confdefs.h
1743 echo $ac_declaration >>confdefs.h
1744 echo '#endif' >>confdefs.h
1748 ac_cpp
='$CPP $CPPFLAGS'
1749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1758 if test "x$prefix" = "xNONE"; then
1759 INSTALLPREFIX
="/usr/local"
1761 INSTALLPREFIX
="${prefix}"
1766 MAJOR_VERSION
=`cat ${OPALDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
1767 MINOR_VERSION
=`cat ${OPALDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
1768 BUILD_NUMBER
=`cat ${OPALDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
1769 OPAL_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
1772 echo "OPAL version is ${OPAL_VERSION}"
1776 if test "${PWLIBDIR:-unset}" != "unset" ; then
1777 as_ac_File
=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
1778 echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
1779 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6
1780 if eval "test \"\${$as_ac_File+set}\" = set"; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 test "$cross_compiling" = yes &&
1784 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1785 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1786 { (exit 1); exit 1; }; }
1787 if test -r "${PWLIBDIR}/version.h"; then
1788 eval "$as_ac_File=yes"
1790 eval "$as_ac_File=no"
1793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1794 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1795 if test `eval echo '${'$as_ac_File'}'` = yes; then
1800 if test "${HAS_PTLIB:-unset}" = "unset" ; then
1801 as_ac_File
=`echo "ac_cv_file_${OPENH323DIR}/../pwlib/version.h" | $as_tr_sh`
1802 echo "$as_me:$LINENO: checking for ${OPENH323DIR}/../pwlib/version.h" >&5
1803 echo $ECHO_N "checking for ${OPENH323DIR}/../pwlib/version.h... $ECHO_C" >&6
1804 if eval "test \"\${$as_ac_File+set}\" = set"; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 test "$cross_compiling" = yes &&
1808 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1809 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1810 { (exit 1); exit 1; }; }
1811 if test -r "${OPENH323DIR}/../pwlib/version.h"; then
1812 eval "$as_ac_File=yes"
1814 eval "$as_ac_File=no"
1817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1818 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1819 if test `eval echo '${'$as_ac_File'}'` = yes; then
1823 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1824 PWLIBDIR
="${OPENH323DIR}/../pwlib"
1826 as_ac_File
=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
1827 echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
1828 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6
1829 if eval "test \"\${$as_ac_File+set}\" = set"; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 test "$cross_compiling" = yes &&
1833 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1834 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1835 { (exit 1); exit 1; }; }
1836 if test -r "${HOME}/pwlib/include/ptlib.h"; then
1837 eval "$as_ac_File=yes"
1839 eval "$as_ac_File=no"
1842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1843 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1844 if test `eval echo '${'$as_ac_File'}'` = yes; then
1848 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1849 PWLIBDIR
="${HOME}/pwlib"
1851 echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
1852 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6
1853 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 test "$cross_compiling" = yes &&
1857 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1858 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1859 { (exit 1); exit 1; }; }
1860 if test -r "/usr/local/include/ptlib.h"; then
1861 ac_cv_file__usr_local_include_ptlib_h
=yes
1863 ac_cv_file__usr_local_include_ptlib_h
=no
1866 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
1867 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6
1868 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
1872 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1873 # Extract the first word of "ptlib-config", so it can be a program name with args.
1874 set dummy ptlib-config
; ac_word
=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 case $PTLIB_CONFIG in
1882 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
1885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 for as_dir
in /usr
/local
/bin
1889 test -z "$as_dir" && as_dir
=.
1890 for ac_exec_ext
in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
1904 if test -n "$PTLIB_CONFIG"; then
1905 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
1906 echo "${ECHO_T}$PTLIB_CONFIG" >&6
1908 echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1913 echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
1914 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6
1915 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 test "$cross_compiling" = yes &&
1919 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1920 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1921 { (exit 1); exit 1; }; }
1922 if test -r "/usr/include/ptlib.h"; then
1923 ac_cv_file__usr_include_ptlib_h
=yes
1925 ac_cv_file__usr_include_ptlib_h
=no
1928 echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
1929 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6
1930 if test $ac_cv_file__usr_include_ptlib_h = yes; then
1934 if test "${HAS_PTLIB:-unset}" != "unset" ; then
1935 # Extract the first word of "ptlib-config", so it can be a program name with args.
1936 set dummy ptlib-config
; ac_word
=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 case $PTLIB_CONFIG in
1944 ac_cv_path_PTLIB_CONFIG
="$PTLIB_CONFIG" # Let the user override the test with a path.
1947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1948 for as_dir
in /usr
/share
/pwlib
/make
/
1951 test -z "$as_dir" && as_dir
=.
1952 for ac_exec_ext
in '' $ac_executable_extensions; do
1953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954 ac_cv_path_PTLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 PTLIB_CONFIG
=$ac_cv_path_PTLIB_CONFIG
1966 if test -n "$PTLIB_CONFIG"; then
1967 echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
1968 echo "${ECHO_T}$PTLIB_CONFIG" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1980 if test "${HAS_PTLIB:-unset}" = "unset" ; then
1981 echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
1985 if test "${PWLIBDIR:-unset}" = "unset" ; then
1986 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
1987 echo "Cannot find ptlib-config - please install and try again"
1990 PWLIBDIR
=`$PTLIB_CONFIG --prefix`
1993 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
1994 PWLIBDIR
="/usr/share/pwlib/"
1996 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
1997 PWLIBDIR
="/usr/local/share/pwlib/"
2000 echo "PWLib prefix set to.... $PWLIBDIR"
2010 # Check whether --enable-localspeex or --disable-localspeex was given.
2011 if test "${enable_localspeex+set}" = set; then
2012 enableval
="$enable_localspeex"
2013 localspeex
=$enableval
2016 if test "${localspeex}" = "yes" ; then
2017 { echo "$as_me:$LINENO: Forcing use of local Speex sources" >&5
2018 echo "$as_me: Forcing use of local Speex sources" >&6;}
2019 elif test "${localspeex}" = "no" ; then
2020 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
2021 echo "$as_me: Forcing use of system Speex library" >&6;}
2022 cat >>confdefs.h
<<\_ACEOF
2023 #define OPAL_SYSTEM_SPEEX 1
2030 ac_cpp
='$CPP $CPPFLAGS'
2031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC
="$CC" # Let the user override the test.
2045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir
=.
2050 for ac_exec_ext
in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC
="$CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_CC"; then
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_CC
="cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2194 if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc
; ac_word
=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC
="$CC" # Let the user override the test.
2206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir
=.
2211 for ac_exec_ext
in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214 ac_prog_rejected
=yes
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test $ac_prog_rejected = yes; then
2225 # We found a bogon in the path, so make sure we never use it.
2226 set dummy
$ac_cv_prog_CC
2228 if test $# != 0; then
2229 # We chose a different compiler from the bogus one.
2230 # However, it has the same basename, so the bogon will be chosen
2231 # first if we set CC to just the basename; use the full file name.
2233 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC
="$CC" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CC" && break
2290 if test -z "$CC"; then
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy
$ac_prog; ac_word
=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CC
="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CC" && break
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347 ac_compiler
=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2365 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2366 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 cat >conftest.
$ac_ext <<_ACEOF
2370 #line $LINENO "configure"
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2388 rm -f conftest.
$ac_objext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390 (eval $ac_compile) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2407 rm -f conftest.
$ac_objext conftest.
$ac_ext
2408 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2411 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2412 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2413 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2414 ac_test_CFLAGS
=${CFLAGS+set}
2415 ac_save_CFLAGS
=$CFLAGS
2417 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2418 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2419 if test "${ac_cv_prog_cc_g+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 cat >conftest.
$ac_ext <<_ACEOF
2423 #line $LINENO "configure"
2426 cat confdefs.h
>>conftest.
$ac_ext
2427 cat >>conftest.
$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.
$ac_objext
2439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440 (eval $ac_compile) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); } &&
2444 { ac_try
='test -s conftest.$ac_objext'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; }; then
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2457 rm -f conftest.
$ac_objext conftest.
$ac_ext
2459 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2460 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2461 if test "$ac_test_CFLAGS" = set; then
2462 CFLAGS
=$ac_save_CFLAGS
2463 elif test $ac_cv_prog_cc_g = yes; then
2464 if test "$GCC" = yes; then
2470 if test "$GCC" = yes; then
2476 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2477 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2478 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 ac_cv_prog_cc_stdc
=no
2483 cat >conftest.
$ac_ext <<_ACEOF
2484 #line $LINENO "configure"
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2492 #include <sys/types.h>
2493 #include <sys/stat.h>
2494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2495 struct buf { int x; };
2496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2497 static char *e (p, i)
2503 static char *f (char * (*g) (char **, int), char **p, ...)
2508 s = g (p, va_arg (v,int));
2512 int test (int i, double x);
2513 struct s1 {int (*f) (int a);};
2514 struct s2 {int (*f) (double a);};
2515 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2521 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2526 # Don't try gcc -ansi; that turns off useful extensions and
2527 # breaks some systems' header files.
2528 # AIX -qlanglvl=ansi
2529 # Ultrix and OSF/1 -std1
2530 # HP-UX 10.20 and later -Ae
2531 # HP-UX older versions -Aa -D_HPUX_SOURCE
2532 # SVR4 -Xc -D__EXTENSIONS__
2533 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2535 CC
="$ac_save_CC $ac_arg"
2536 rm -f conftest.
$ac_objext
2537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2538 (eval $ac_compile) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2548 ac_cv_prog_cc_stdc
=$ac_arg
2551 echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.
$ac_ext >&5
2555 rm -f conftest.
$ac_objext
2557 rm -f conftest.
$ac_ext conftest.
$ac_objext
2562 case "x$ac_cv_prog_cc_stdc" in
2564 echo "$as_me:$LINENO: result: none needed" >&5
2565 echo "${ECHO_T}none needed" >&6 ;;
2567 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2568 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2569 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2572 # Some people use a C++ compiler to compile C. Since we use `exit',
2573 # in C++ we need to declare it. In case someone uses the same compiler
2574 # for both compiling C and C++ we need to have the C++ compiler decide
2575 # the declaration of exit, since it's the most demanding environment.
2576 cat >conftest.
$ac_ext <<_ACEOF
2581 rm -f conftest.
$ac_objext
2582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2583 (eval $ac_compile) 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try
='test -s conftest.$ac_objext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2593 for ac_declaration
in \
2595 '#include <stdlib.h>' \
2596 'extern "C" void std::exit (int) throw (); using std::exit;' \
2597 'extern "C" void std::exit (int); using std::exit;' \
2598 'extern "C" void exit (int) throw ();' \
2599 'extern "C" void exit (int);' \
2602 cat >conftest.
$ac_ext <<_ACEOF
2603 #line $LINENO "configure"
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2619 rm -f conftest.
$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try
='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.
$ac_ext >&5
2638 rm -f conftest.
$ac_objext conftest.
$ac_ext
2639 cat >conftest.
$ac_ext <<_ACEOF
2640 #line $LINENO "configure"
2643 cat confdefs.h
>>conftest.
$ac_ext
2644 cat >>conftest.
$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2655 rm -f conftest.
$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } &&
2661 { ac_try
='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2673 rm -f conftest.
$ac_objext conftest.
$ac_ext
2676 if test -n "$ac_declaration"; then
2677 echo '#ifdef __cplusplus' >>confdefs.h
2678 echo $ac_declaration >>confdefs.h
2679 echo '#endif' >>confdefs.h
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.
$ac_ext >&5
2687 rm -f conftest.
$ac_objext conftest.
$ac_ext
2689 ac_cpp
='$CPP $CPPFLAGS'
2690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2695 echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
2696 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6
2697 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 ac_check_lib_save_LIBS
=$LIBS
2701 LIBS
="-lspeex $LIBS"
2702 cat >conftest.
$ac_ext <<_ACEOF
2703 #line $LINENO "configure"
2706 cat confdefs.h
>>conftest.
$ac_ext
2707 cat >>conftest.
$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2710 /* Override any gcc2 internal prototype to avoid an error. */
2714 /* We use char because int might match the return type of a gcc2
2715 builtin and then its argument prototype would still apply. */
2716 char speex_encoder_destroy ();
2720 speex_encoder_destroy ();
2725 rm -f conftest.
$ac_objext conftest
$ac_exeext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2727 (eval $ac_link) 2>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -s conftest$ac_exeext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 ac_cv_lib_speex_speex_encoder_destroy
=yes
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.
$ac_ext >&5
2742 ac_cv_lib_speex_speex_encoder_destroy
=no
2744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2745 LIBS
=$ac_check_lib_save_LIBS
2747 echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
2748 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6
2749 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
2753 if test "x$SPEEX" = "x"; then
2754 { echo "$as_me:$LINENO: Forcing use of local Speex library" >&5
2755 echo "$as_me: Forcing use of local Speex library" >&6;}
2757 echo "$as_me:$LINENO: checking system Speex version" >&5
2758 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6
2761 #include <speex_header.h>
2763 int main(int argc,char *argv)
2766 speex_init_header(&header, 1, 1, &speex_nb_mode);
2767 printf("%s\n", header.speex_version);
2770 cc
-o t t.c
-lspeex > /dev
/null
2>&1
2771 if test \
! -x t
; then
2772 echo "$as_me:$LINENO: result: cannot determine - using library version" >&5
2773 echo "${ECHO_T}cannot determine - using library version" >&6
2777 echo "$as_me:$LINENO: result: $SYSVER" >&5
2778 echo "${ECHO_T}$SYSVER" >&6
2779 echo "$as_me:$LINENO: checking library Speex version" >&5
2780 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6
2781 LIBVER
=`grep "#define VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's/^.*[Ss][Pp][Ee][Ee][Xx]\-//' -e 's/\"//'`
2782 echo "$as_me:$LINENO: result: $LIBVER" >&5
2783 echo "${ECHO_T}$LIBVER" >&6
2784 echo "$as_me:$LINENO: checking Speex versions" >&5
2785 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6
2788 \$sysver = @ARGV[0];
2789 \$libver = @ARGV[1];
2790 @lib = split /\./, \$libver;
2794 @sys = split /\./, \$sysver;
2800 print "comparing " . @sys[\$i] . " and " . @lib[\$i] . "\n";
2801 if (\@sys[\$i] < @lib[\$i]) {
2810 SPEEX
=`perl t.pl $SYSVER $LIBVER`
2812 if test "x$SPEEX" = "x" ; then
2813 echo "$as_me:$LINENO: result: library version is more recent" >&5
2814 echo "${ECHO_T}library version is more recent" >&6
2816 echo "$as_me:$LINENO: result: system version is more recent" >&5
2817 echo "${ECHO_T}system version is more recent" >&6
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define OPAL_SYSTEM_SPEEX 1
2833 # Check whether --enable-sip or --disable-sip was given.
2834 if test "${enable_sip+set}" = set; then
2835 enableval
="$enable_sip"
2838 echo "$as_me:$LINENO: checking SIP protocol" >&5
2839 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6
2840 if test "$sip" = "yes" ; then
2843 cat >>confdefs.h
<<\_ACEOF
2847 echo "$as_me:$LINENO: result: enabled" >&5
2848 echo "${ECHO_T}enabled" >&6
2852 echo "$as_me:$LINENO: result: disabled" >&5
2853 echo "${ECHO_T}disabled" >&6
2858 # Check whether --enable-h323 or --disable-h323 was given.
2859 if test "${enable_h323+set}" = set; then
2860 enableval
="$enable_h323"
2863 echo "$as_me:$LINENO: checking H.323 protocol" >&5
2864 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6
2865 if test "$h323" = "yes" ; then
2868 cat >>confdefs.h
<<\_ACEOF
2872 echo "$as_me:$LINENO: result: enabled" >&5
2873 echo "${ECHO_T}enabled" >&6
2877 echo "$as_me:$LINENO: result: disabled" >&5
2878 echo "${ECHO_T}disabled" >&6
2880 OPAL_H323
=$OPAL_H323
2890 ac_config_files
="$ac_config_files opal_inc.mak"
2892 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
2895 cat >confcache
<<\_ACEOF
2896 # This file is a shell script that caches the results of configure
2897 # tests run on this system so they can be shared between configure
2898 # scripts and configure runs, see configure's option --config-cache.
2899 # It is not useful on other systems. If it contains results you don't
2900 # want to keep, you may remove or edit it.
2902 # config.status only pays attention to the cache file if you give it
2903 # the --recheck option to rerun configure.
2905 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2906 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2911 # The following way of writing the cache mishandles newlines in values,
2912 # but we know of no workaround that is simple, portable, and efficient.
2913 # So, don't put newlines in cache variables' values.
2914 # Ultrix sh set writes to stderr and can't be redirected directly,
2915 # and sets the high bit in the cache file unless we assign to the vars.
2918 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2920 # `set' does not quote correctly, so add quotes (double-quote
2921 # substitution turns \\\\ into \\, and sed turns \\ into \).
2924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2927 # `set' quotes correctly as required by POSIX, so do not add quotes.
2929 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2938 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2940 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
2941 if test -w $cache_file; then
2942 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2943 cat confcache
>$cache_file
2945 echo "not updating unwritable cache $cache_file"
2950 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2951 # Let make expand exec_prefix.
2952 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2954 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2955 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2956 # trailing colons and then remove the whole line if VPATH becomes empty
2957 # (actually we leave an empty line to preserve line numbers).
2958 if test "x$srcdir" = x.
; then
2959 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
2960 s/:*\$(srcdir):*/:/;
2961 s/:*\${srcdir}:*/:/;
2963 s/^\([^=]*=[ ]*\):*/\1/;
2969 DEFS
=-DHAVE_CONFIG_H
2973 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2974 # 1. Remove the extension, and $U if already installed.
2975 ac_i
=`echo "$ac_i" |
2976 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2978 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
2979 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
2983 LTLIBOBJS
=$ac_ltlibobjs
2987 : ${CONFIG_STATUS=./config.status}
2988 ac_clean_files_save
=$ac_clean_files
2989 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2990 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2991 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2992 cat >$CONFIG_STATUS <<_ACEOF
2994 # Generated by $as_me.
2995 # Run this file to recreate the current configuration.
2996 # Compiler output produced by configure, useful for debugging
2997 # configure, is in config.log if it exists.
3002 SHELL=\${CONFIG_SHELL-$SHELL}
3005 cat >>$CONFIG_STATUS <<\_ACEOF
3006 ## --------------------- ##
3007 ## M4sh Initialization. ##
3008 ## --------------------- ##
3010 # Be Bourne compatible
3011 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3014 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3015 # is contrary to our usage. Disable this feature.
3016 alias -g '${1+"$@"}'='"$@"'
3017 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3021 # Support unset when possible.
3022 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
3029 # Work around bugs in pre-3.0 UWIN ksh.
3030 $as_unset ENV MAIL MAILPATH
3037 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3038 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3039 LC_TELEPHONE LC_TIME
3041 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3042 eval $as_var=C
; export $as_var
3048 # Required to use basename.
3049 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3055 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
3056 as_basename
=basename
3062 # Name of the executable.
3063 as_me
=`$as_basename "$0" ||
3064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3065 X"$0" : 'X\(//\)$' \| \
3066 X"$0" : 'X\(/\)$' \| \
3067 . : '\(.\)' 2>/dev/null ||
3069 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3070 /^X\/\(\/\/\)$/{ s//\1/; q; }
3071 /^X\/\(\/\).*/{ s//\1/; q; }
3075 # PATH needs CR, and LINENO needs CR and PATH.
3076 # Avoid depending upon Character Ranges.
3077 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3078 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3079 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3080 as_cr_digits
='0123456789'
3081 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3083 # The user is always right.
3084 if test "${PATH_SEPARATOR+set}" != set; then
3085 echo "#! /bin/sh" >conf$$.sh
3086 echo "exit 0" >>conf$$.sh
3088 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3099 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3100 test "x$as_lineno_1" != "x$as_lineno_2" &&
3101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3102 # Find who we are. Look in the path if we contain no path at all
3105 *[\\/]* ) as_myself
=$0 ;;
3106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3116 # We did not find ourselves, most probably we were run as `sh COMMAND'
3117 # in which case we are not to be found in the path.
3118 if test "x$as_myself" = x
; then
3121 if test ! -f "$as_myself"; then
3122 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3123 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3124 { (exit 1); exit 1; }; }
3126 case $CONFIG_SHELL in
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3132 test -z "$as_dir" && as_dir
=.
3133 for as_base
in sh bash ksh sh5
; do
3136 if ("$as_dir/$as_base" -c '
3139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3140 test "x$as_lineno_1" != "x$as_lineno_2" &&
3141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3142 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
3143 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
3144 CONFIG_SHELL
=$as_dir/$as_base
3146 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3154 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3155 # uniformly replaced by the line number. The first 'sed' inserts a
3156 # line-number line before each line; the second 'sed' does the real
3157 # work. The second script uses 'N' to pair each line-number line
3158 # with the numbered line, and appends trailing '-' during
3159 # substitution so that $LINENO is not a special case at line end.
3160 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3161 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3162 sed '=' <$as_myself |
3167 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3170 s,^['$as_cr_digits']*\n,,
3172 chmod +x
$as_me.lineno ||
3173 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3174 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3175 { (exit 1); exit 1; }; }
3177 # Don't try to exec as it changes $[0], causing all sort of problems
3178 # (the dirname of $[0] is not the place where we might find the
3179 # original and so on. Autoconf is especially sensible to this).
3181 # Exit status is that of the last command.
3186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3187 *c
*,-n*) ECHO_N
= ECHO_C
='
3189 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3190 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3193 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3199 rm -f conf$$ conf$$.exe conf$$.
file
3201 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3202 # We could just check for DJGPP; but this test a) works b) is more generic
3203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3204 if test -f conf$$.exe
; then
3205 # Don't use ln at all; we don't have any links
3210 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3215 rm -f conf$$ conf$$.exe conf$$.
file
3217 if mkdir
-p .
2>/dev
/null
; then
3223 as_executable_p
="test -f"
3225 # Sed expression to map a string onto a valid CPP name.
3226 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3228 # Sed expression to map a string onto a valid variable name.
3229 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3233 # We need space, tab and new line, in precisely that order.
3243 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3244 # report actual input values of CONFIG_FILES etc. instead of their
3245 # values after options handling. Logging --version etc. is OK.
3249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3250 ## Running $as_me. ##
3255 This file was extended by $as_me, which was
3256 generated by GNU Autoconf 2.57. Invocation command line was
3258 CONFIG_FILES = $CONFIG_FILES
3259 CONFIG_HEADERS = $CONFIG_HEADERS
3260 CONFIG_LINKS = $CONFIG_LINKS
3261 CONFIG_COMMANDS = $CONFIG_COMMANDS
3265 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3269 # Files that config.status was made for.
3270 if test -n "$ac_config_files"; then
3271 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3274 if test -n "$ac_config_headers"; then
3275 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3278 if test -n "$ac_config_links"; then
3279 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3282 if test -n "$ac_config_commands"; then
3283 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3286 cat >>$CONFIG_STATUS <<\_ACEOF
3289 \`$as_me' instantiates files from templates according to the
3290 current configuration.
3292 Usage: $0 [OPTIONS] [FILE]...
3294 -h, --help print this help, then exit
3295 -V, --version print version number, then exit
3296 -q, --quiet do not print progress messages
3297 -d, --debug don't remove temporary files
3298 --recheck update $as_me by reconfiguring in the same conditions
3299 --file=FILE[:TEMPLATE]
3300 instantiate the configuration file FILE
3301 --header=FILE[:TEMPLATE]
3302 instantiate the configuration header FILE
3304 Configuration files:
3307 Configuration headers:
3310 Report bugs to <bug-autoconf@gnu.org>."
3313 cat >>$CONFIG_STATUS <<_ACEOF
3316 configured by $0, generated by GNU Autoconf 2.57,
3317 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3319 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3320 Free Software Foundation, Inc.
3321 This config.status script is free software; the Free Software Foundation
3322 gives unlimited permission to copy, distribute and modify it."
3326 cat >>$CONFIG_STATUS <<\_ACEOF
3327 # If no file are specified by the user, then we need to provide default
3328 # value. By we need to know if files were specified by the user.
3334 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3335 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3343 *) # This is not an option, so the user has probably given explicit
3346 ac_need_defaults
=false
;;
3350 # Handling of the options.
3352 cat >>$CONFIG_STATUS <<\_ACEOF
3353 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3355 --version |
--vers* |
-V )
3356 echo "$ac_cs_version"; exit 0 ;;
3358 # Conflict between --help and --header
3359 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3360 Try \`$0 --help' for more information." >&5
3361 echo "$as_me: error: ambiguous option: $1
3362 Try \`$0 --help' for more information." >&2;}
3363 { (exit 1); exit 1; }; };;
3364 --help |
--hel |
-h )
3365 echo "$ac_cs_usage"; exit 0 ;;
3366 --debug |
--d* |
-d )
3368 --file |
--fil |
--fi |
--f )
3370 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3371 ac_need_defaults
=false
;;
3372 --header |
--heade |
--head |
--hea )
3374 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3375 ac_need_defaults
=false
;;
3376 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3377 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3381 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3382 Try \`$0 --help' for more information." >&5
3383 echo "$as_me: error: unrecognized option: $1
3384 Try \`$0 --help' for more information." >&2;}
3385 { (exit 1); exit 1; }; } ;;
3387 *) ac_config_targets
="$ac_config_targets $1" ;;
3393 ac_configure_extra_args
=
3395 if $ac_cs_silent; then
3397 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3401 cat >>$CONFIG_STATUS <<_ACEOF
3402 if \$ac_cs_recheck; then
3403 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3404 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3413 cat >>$CONFIG_STATUS <<\_ACEOF
3414 for ac_config_target
in $ac_config_targets
3416 case "$ac_config_target" in
3417 # Handling of arguments.
3418 "opal_inc.mak" ) CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
3419 "include/opal/buildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
3420 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3421 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3422 { (exit 1); exit 1; }; };;
3426 # If the user did not use the arguments to specify the items to instantiate,
3427 # then the envvar interface is used. Set only those that are not.
3428 # We use the long form for the default assignment because of an extremely
3429 # bizarre bug on SunOS 4.1.3.
3430 if $ac_need_defaults; then
3431 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3432 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3435 # Have a temporary directory for convenience. Make it in the build tree
3436 # simply because there is no reason to put it here, and in addition,
3437 # creating and moving files from /tmp can sometimes cause problems.
3438 # Create a temporary directory, and hook for its removal unless debugging.
3441 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3442 trap '{ (exit 1); exit 1; }' 1 2 13 15
3445 # Create a (secure) tmp directory for tmp files.
3448 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3449 test -n "$tmp" && test -d "$tmp"
3452 tmp
=.
/confstat$$
-$RANDOM
3453 (umask 077 && mkdir
$tmp)
3456 echo "$me: cannot create a temporary directory in ." >&2
3457 { (exit 1); exit 1; }
3462 cat >>$CONFIG_STATUS <<_ACEOF
3465 # CONFIG_FILES section.
3468 # No need to generate the scripts if there are no CONFIG_FILES.
3469 # This happens for instance when ./config.status config.h
3470 if test -n "\$CONFIG_FILES"; then
3471 # Protect against being on the right side of a sed subst in config.status.
3472 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3473 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3474 s,@SHELL@,$SHELL,;t t
3475 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3476 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3477 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3478 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3479 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3480 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3481 s,@exec_prefix@,$exec_prefix,;t t
3482 s,@prefix@,$prefix,;t t
3483 s,@program_transform_name@,$program_transform_name,;t t
3484 s,@bindir@,$bindir,;t t
3485 s,@sbindir@,$sbindir,;t t
3486 s,@libexecdir@,$libexecdir,;t t
3487 s,@datadir@,$datadir,;t t
3488 s,@sysconfdir@,$sysconfdir,;t t
3489 s,@sharedstatedir@,$sharedstatedir,;t t
3490 s,@localstatedir@,$localstatedir,;t t
3491 s,@libdir@,$libdir,;t t
3492 s,@includedir@,$includedir,;t t
3493 s,@oldincludedir@,$oldincludedir,;t t
3494 s,@infodir@,$infodir,;t t
3495 s,@mandir@,$mandir,;t t
3496 s,@build_alias@,$build_alias,;t t
3497 s,@host_alias@,$host_alias,;t t
3498 s,@target_alias@,$target_alias,;t t
3500 s,@ECHO_C@,$ECHO_C,;t t
3501 s,@ECHO_N@,$ECHO_N,;t t
3502 s,@ECHO_T@,$ECHO_T,;t t
3505 s,@CXXFLAGS@,$CXXFLAGS,;t t
3506 s,@LDFLAGS@,$LDFLAGS,;t t
3507 s,@CPPFLAGS@,$CPPFLAGS,;t t
3508 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3509 s,@EXEEXT@,$EXEEXT,;t t
3510 s,@OBJEXT@,$OBJEXT,;t t
3511 s,@OPALDIR@,$OPALDIR,;t t
3512 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
3513 s,@OPAL_VERSION@,$OPAL_VERSION,;t t
3514 s,@PTLIB_CONFIG@,$PTLIB_CONFIG,;t t
3515 s,@PWLIBDIR@,$PWLIBDIR,;t t
3516 s,@OPAL_SYSTEM_SPEEX@,$OPAL_SYSTEM_SPEEX,;t t
3518 s,@CFLAGS@,$CFLAGS,;t t
3519 s,@ac_ct_CC@,$ac_ct_CC,;t t
3520 s,@OPAL_SIP@,$OPAL_SIP,;t t
3521 s,@OPAL_H323@,$OPAL_H323,;t t
3522 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
3523 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
3524 s,@LIBOBJS@,$LIBOBJS,;t t
3525 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3530 cat >>$CONFIG_STATUS <<\_ACEOF
3531 # Split the substitutions into bite-sized pieces for seds with
3532 # small command number limits, like on Digital OSF/1 and HP-UX.
3534 ac_sed_frag
=1 # Number of current file.
3535 ac_beg
=1 # First line for current file.
3536 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3539 while $ac_more_lines; do
3540 if test $ac_beg -gt 1; then
3541 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3543 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3545 if test ! -s $tmp/subs.frag
; then
3548 # The purpose of the label and of the branching condition is to
3549 # speed up the sed processing (if there are no `@' at all, there
3550 # is no need to browse any of the substitutions).
3551 # These are the two extra sed commands mentioned above.
3553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3554 if test -z "$ac_sed_cmds"; then
3555 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3557 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3559 ac_sed_frag
=`expr $ac_sed_frag + 1`
3561 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3564 if test -z "$ac_sed_cmds"; then
3567 fi # test -n "$CONFIG_FILES"
3570 cat >>$CONFIG_STATUS <<\_ACEOF
3571 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3572 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3574 - |
*:- |
*:-:* ) # input from stdin
3576 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3577 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3578 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3579 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3580 * ) ac_file_in
=$ac_file.
in ;;
3583 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3584 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3585 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3586 X"$ac_file" : 'X\(//\)[^/]' \| \
3587 X"$ac_file" : 'X\(//\)$' \| \
3588 X"$ac_file" : 'X\(/\)' \| \
3589 . : '\(.\)' 2>/dev/null ||
3591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3593 /^X\(\/\/\)$/{ s//\1/; q; }
3594 /^X\(\/\).*/{ s//\1/; q; }
3596 { if $as_mkdir_p; then
3601 while test ! -d "$as_dir"; do
3602 as_dirs
="$as_dir $as_dirs"
3603 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
3604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3605 X"$as_dir" : 'X\(//\)[^/]' \| \
3606 X"$as_dir" : 'X\(//\)$' \| \
3607 X"$as_dir" : 'X\(/\)' \| \
3608 . : '\(.\)' 2>/dev/null ||
3610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3612 /^X\(\/\/\)$/{ s//\1/; q; }
3613 /^X\(\/\).*/{ s//\1/; q; }
3616 test ! -n "$as_dirs" || mkdir
$as_dirs
3617 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3618 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3619 { (exit 1); exit 1; }; }; }
3623 if test "$ac_dir" != .
; then
3624 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3625 # A "../" for each directory in $ac_dir_suffix.
3626 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3628 ac_dir_suffix
= ac_top_builddir
=
3632 .
) # No --srcdir option. We are building in place.
3634 if test -z "$ac_top_builddir"; then
3637 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
3639 [\\/]* | ?
:[\\/]* ) # Absolute path.
3640 ac_srcdir
=$srcdir$ac_dir_suffix;
3641 ac_top_srcdir
=$srcdir ;;
3643 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
3644 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
3646 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3648 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
3649 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3650 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3651 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3655 if test x
"$ac_file" != x-
; then
3656 { echo "$as_me:$LINENO: creating $ac_file" >&5
3657 echo "$as_me: creating $ac_file" >&6;}
3660 # Let's still pretend it is `configure' which instantiates (i.e., don't
3661 # use $as_me), people would be surprised to read:
3662 # /* config.h. Generated by config.status. */
3663 if test x
"$ac_file" = x-
; then
3666 configure_input
="$ac_file. "
3668 configure_input
=$configure_input"Generated from `echo $ac_file_in |
3669 sed 's,.*/,,'` by configure."
3671 # First look for the input files in the build tree, otherwise in the
3673 ac_file_inputs
=`IFS=:
3674 for f in $ac_file_in; do
3676 -) echo $tmp/stdin ;;
3678 # Absolute (can't be DOS-style, as IFS=:)
3679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3680 echo "$as_me: error: cannot find input file: $f" >&2;}
3681 { (exit 1); exit 1; }; }
3684 if test -f "$f"; then
3687 elif test -f "$srcdir/$f"; then
3692 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3693 echo "$as_me: error: cannot find input file: $f" >&2;}
3694 { (exit 1); exit 1; }; }
3697 done` ||
{ (exit 1); exit 1; }
3699 cat >>$CONFIG_STATUS <<_ACEOF
3703 cat >>$CONFIG_STATUS <<\_ACEOF
3705 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3706 s
,@configure_input@
,$configure_input,;t t
3707 s
,@srcdir@
,$ac_srcdir,;t t
3708 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
3709 s
,@top_srcdir@
,$ac_top_srcdir,;t t
3710 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
3711 s
,@builddir@
,$ac_builddir,;t t
3712 s
,@abs_builddir@
,$ac_abs_builddir,;t t
3713 s
,@top_builddir@
,$ac_top_builddir,;t t
3714 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
3715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3717 if test x"$ac_file" != x-; then
3718 mv $tmp/out $ac_file
3726 cat >>$CONFIG_STATUS <<\_ACEOF
3729 # CONFIG_HEADER section.
3732 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
3733 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3735 # ac_d sets the value in "#define NAME VALUE" lines.
3736 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3737 ac_dB
='[ ].*$,\1#\2'
3740 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3741 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3742 ac_uB
='$,\1#\2define\3'
3746 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
3747 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3749 - |
*:- |
*:-:* ) # input from stdin
3751 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3752 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3753 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3754 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3755 * ) ac_file_in
=$ac_file.
in ;;
3758 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
3759 echo "$as_me: creating $ac_file" >&6;}
3761 # First look for the input files in the build tree, otherwise in the
3763 ac_file_inputs
=`IFS=:
3764 for f in $ac_file_in; do
3766 -) echo $tmp/stdin ;;
3768 # Absolute (can't be DOS-style, as IFS=:)
3769 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3770 echo "$as_me: error: cannot find input file: $f" >&2;}
3771 { (exit 1); exit 1; }; }
3774 if test -f "$f"; then
3777 elif test -f "$srcdir/$f"; then
3782 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3783 echo "$as_me: error: cannot find input file: $f" >&2;}
3784 { (exit 1); exit 1; }; }
3787 done` ||
{ (exit 1); exit 1; }
3788 # Remove the trailing spaces.
3789 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3793 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3794 # `conftest.undefs', that substitutes the proper values into
3795 # config.h.in to produce config.h. The first handles `#define'
3796 # templates, and the second `#undef' templates.
3797 # And first: Protect against being on the right side of a sed subst in
3798 # config.status. Protect against being in an unquoted here document
3800 rm -f conftest.defines conftest.undefs
3801 # Using a here document instead of a string reduces the quoting nightmare.
3802 # Putting comments in sed scripts is not portable.
3804 # `end' is used to avoid that the second main sed command (meant for
3805 # 0-ary CPP macros) applies to n-ary macro definitions.
3806 # See the Autoconf documentation for `clear'.
3807 cat >confdef2sed.
sed <<\_ACEOF
3812 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3814 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3817 # If some macros were called several times there might be several times
3818 # the same #defines, which is useless. Nevertheless, we may not want to
3819 # sort them, since we want the *last* AC-DEFINE to be honored.
3820 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3821 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3822 rm -f confdef2sed.sed
3824 # This sed command replaces #undef with comments. This is necessary, for
3825 # example, in the case of _POSIX_SOURCE, which is predefined and required
3826 # on some systems where configure will not decide to define it.
3827 cat >>conftest.undefs <<\_ACEOF
3828 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3831 # Break up conftest.defines because some shells have a limit on the size
3832 # of here documents, and old seds have small limits too (100 cmds).
3833 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3834 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3835 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3836 echo ' :' >>$CONFIG_STATUS
3838 while grep . conftest.defines >/dev/null
3840 # Write a limited-size here document to $tmp/defines.sed.
3841 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3842 # Speed up: don't consider the non `#define' lines.
3843 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3844 # Work around the forget-to-reset-the-flag bug.
3845 echo 't clr' >>$CONFIG_STATUS
3846 echo ': clr' >>$CONFIG_STATUS
3847 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
3849 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3853 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
3854 rm -f conftest.defines
3855 mv conftest.
tail conftest.defines
3857 rm -f conftest.defines
3858 echo ' fi # grep' >>$CONFIG_STATUS
3859 echo >>$CONFIG_STATUS
3861 # Break up conftest.undefs because some shells have a limit on the size
3862 # of here documents, and old seds have small limits too (100 cmds).
3863 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3865 while grep . conftest.undefs
>/dev
/null
3867 # Write a limited-size here document to $tmp/undefs.sed.
3868 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3869 # Speed up: don't consider the non
`#undef'
3870 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3871 # Work around the forget-to-reset-the-flag bug.
3872 echo 't clr' >>$CONFIG_STATUS
3873 echo ': clr' >>$CONFIG_STATUS
3874 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3876 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3880 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3881 rm -f conftest.undefs
3882 mv conftest.tail conftest.undefs
3884 rm -f conftest.undefs
3886 cat >>$CONFIG_STATUS <<\_ACEOF
3887 # Let's still pretend it is `configure
' which instantiates (i.e., don't
3888 # use $as_me), people would be surprised to read:
3889 # /* config.h. Generated by config.status. */
3890 if test x
"$ac_file" = x-
; then
3891 echo "/* Generated by configure. */" >$tmp/config.h
3893 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3895 cat $tmp/in >>$tmp/config.h
3897 if test x
"$ac_file" != x-
; then
3898 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
3899 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3900 echo "$as_me: $ac_file is unchanged" >&6;}
3902 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3903 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3904 X"$ac_file" : 'X\(//\)[^/]' \| \
3905 X"$ac_file" : 'X\(//\)$' \| \
3906 X"$ac_file" : 'X\(/\)' \| \
3907 . : '\(.\)' 2>/dev/null ||
3909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3911 /^X\(\/\/\)$/{ s//\1/; q; }
3912 /^X\(\/\).*/{ s//\1/; q; }
3914 { if $as_mkdir_p; then
3919 while test ! -d "$as_dir"; do
3920 as_dirs
="$as_dir $as_dirs"
3921 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
3922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3923 X"$as_dir" : 'X\(//\)[^/]' \| \
3924 X"$as_dir" : 'X\(//\)$' \| \
3925 X"$as_dir" : 'X\(/\)' \| \
3926 . : '\(.\)' 2>/dev/null ||
3928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3930 /^X\(\/\/\)$/{ s//\1/; q; }
3931 /^X\(\/\).*/{ s//\1/; q; }
3934 test ! -n "$as_dirs" || mkdir
$as_dirs
3935 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3936 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3937 { (exit 1); exit 1; }; }; }
3940 mv $tmp/config.h
$ac_file
3949 cat >>$CONFIG_STATUS <<\_ACEOF
3951 { (exit 0); exit 0; }
3953 chmod +x
$CONFIG_STATUS
3954 ac_clean_files
=$ac_clean_files_save
3957 # configure is writing to config.log, and then calls config.status.
3958 # config.status does its own redirection, appending to config.log.
3959 # Unfortunately, on DOS this fails, as config.log is still kept open
3960 # by configure, so config.status won't be able to write to it; its
3961 # output is simply discarded. So we exec the FD to /dev/null,
3962 # effectively closing config.log, so it can be properly (re)opened and
3963 # appended to by config.status. When coming back to configure, we
3964 # need to make the FD available again.
3965 if test "$no_create" != yes; then
3967 ac_config_status_args
=
3968 test "$silent" = yes &&
3969 ac_config_status_args
="$ac_config_status_args --quiet"
3971 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
3973 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3974 # would make configure fail if this is the last instruction.
3975 $ac_cs_success ||
{ (exit 1); exit 1; }