2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="include/opal/manager.h"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
676 OPAL_HAVE_SPEEX_SPEEX_H
702 ac_precious_vars
='build_alias
714 ac_subdirs_all
='plugins'
716 # Initialize some variables set by options.
718 ac_init_version
=false
719 # The variables have the same names as the options, with
720 # dashes changed to underlines.
728 program_transform_name
=s
,x
,x
,
736 # Installation directory options.
737 # These are left unexpanded so users can "make install exec_prefix=/foo"
738 # and all the variables that are supposed to be based on exec_prefix
739 # by default will actually change.
740 # Use braces instead of parens because sh, perl, etc. also accept them.
741 # (The list follows the same order as the GNU Coding Standards.)
742 bindir
='${exec_prefix}/bin'
743 sbindir
='${exec_prefix}/sbin'
744 libexecdir
='${exec_prefix}/libexec'
745 datarootdir
='${prefix}/share'
746 datadir
='${datarootdir}'
747 sysconfdir
='${prefix}/etc'
748 sharedstatedir
='${prefix}/com'
749 localstatedir
='${prefix}/var'
750 includedir
='${prefix}/include'
751 oldincludedir
='/usr/include'
752 docdir
='${datarootdir}/doc/${PACKAGE}'
753 infodir
='${datarootdir}/info'
758 libdir
='${exec_prefix}/lib'
759 localedir
='${datarootdir}/locale'
760 mandir
='${datarootdir}/man'
766 # If the previous option needs an argument, assign it.
767 if test -n "$ac_prev"; then
768 eval $ac_prev=\
$ac_option
774 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
778 # Accept the important Cygnus configure options, so we can diagnose typos.
780 case $ac_dashdash$ac_option in
784 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
786 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
789 -build |
--build |
--buil |
--bui |
--bu)
790 ac_prev
=build_alias
;;
791 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
792 build_alias
=$ac_optarg ;;
794 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
795 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
796 ac_prev
=cache_file
;;
797 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
798 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
799 cache_file
=$ac_optarg ;;
802 cache_file
=config.cache
;;
804 -datadir |
--datadir |
--datadi |
--datad)
806 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
807 datadir
=$ac_optarg ;;
809 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
810 |
--dataroo |
--dataro |
--datar)
811 ac_prev
=datarootdir
;;
812 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
813 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
814 datarootdir
=$ac_optarg ;;
816 -disable-* |
--disable-*)
817 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
822 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
823 eval enable_
$ac_feature=no
;;
825 -docdir |
--docdir |
--docdi |
--doc |
--do)
827 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
830 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
832 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
835 -enable-* |
--enable-*)
836 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
839 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
840 { (exit 1); exit 1; }; }
841 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
842 eval enable_
$ac_feature=\
$ac_optarg ;;
844 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
845 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
846 |
--exec |
--exe |
--ex)
847 ac_prev
=exec_prefix
;;
848 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
849 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
850 |
--exec=* |
--exe=* |
--ex=*)
851 exec_prefix
=$ac_optarg ;;
853 -gas |
--gas |
--ga |
--g)
854 # Obsolete; use --with-gas.
857 -help |
--help |
--hel |
--he |
-h)
859 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
860 ac_init_help
=recursive
;;
861 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
862 ac_init_help
=short
;;
864 -host |
--host |
--hos |
--ho)
865 ac_prev
=host_alias
;;
866 -host=* |
--host=* |
--hos=* |
--ho=*)
867 host_alias
=$ac_optarg ;;
869 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
871 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
873 htmldir
=$ac_optarg ;;
875 -includedir |
--includedir |
--includedi |
--included |
--include \
876 |
--includ |
--inclu |
--incl |
--inc)
877 ac_prev
=includedir
;;
878 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
879 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
880 includedir
=$ac_optarg ;;
882 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
884 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
885 infodir
=$ac_optarg ;;
887 -libdir |
--libdir |
--libdi |
--libd)
889 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
892 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
893 |
--libexe |
--libex |
--libe)
894 ac_prev
=libexecdir
;;
895 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
896 |
--libexe=* |
--libex=* |
--libe=*)
897 libexecdir
=$ac_optarg ;;
899 -localedir |
--localedir |
--localedi |
--localed |
--locale)
901 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
902 localedir
=$ac_optarg ;;
904 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
905 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
906 ac_prev
=localstatedir
;;
907 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
908 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
909 localstatedir
=$ac_optarg ;;
911 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
913 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
917 # Obsolete; use --without-fp.
920 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
921 |
--no-cr |
--no-c |
-n)
924 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
925 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
928 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
929 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
930 |
--oldin |
--oldi |
--old |
--ol |
--o)
931 ac_prev
=oldincludedir
;;
932 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
933 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
934 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
935 oldincludedir
=$ac_optarg ;;
937 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
939 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
942 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
943 |
--program-pre |
--program-pr |
--program-p)
944 ac_prev
=program_prefix
;;
945 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
946 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
947 program_prefix
=$ac_optarg ;;
949 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
950 |
--program-suf |
--program-su |
--program-s)
951 ac_prev
=program_suffix
;;
952 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
953 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
954 program_suffix
=$ac_optarg ;;
956 -program-transform-name |
--program-transform-name \
957 |
--program-transform-nam |
--program-transform-na \
958 |
--program-transform-n |
--program-transform- \
959 |
--program-transform |
--program-transfor \
960 |
--program-transfo |
--program-transf \
961 |
--program-trans |
--program-tran \
962 |
--progr-tra |
--program-tr |
--program-t)
963 ac_prev
=program_transform_name
;;
964 -program-transform-name=* |
--program-transform-name=* \
965 |
--program-transform-nam=* |
--program-transform-na=* \
966 |
--program-transform-n=* |
--program-transform-=* \
967 |
--program-transform=* |
--program-transfor=* \
968 |
--program-transfo=* |
--program-transf=* \
969 |
--program-trans=* |
--program-tran=* \
970 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
971 program_transform_name
=$ac_optarg ;;
973 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
975 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
978 -psdir |
--psdir |
--psdi |
--psd |
--ps)
980 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
984 |
-silent |
--silent |
--silen |
--sile |
--sil)
987 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
989 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
991 sbindir
=$ac_optarg ;;
993 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
994 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
995 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
997 ac_prev
=sharedstatedir
;;
998 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
999 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1000 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1002 sharedstatedir
=$ac_optarg ;;
1004 -site |
--site |
--sit)
1006 -site=* |
--site=* |
--sit=*)
1009 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1011 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1012 srcdir
=$ac_optarg ;;
1014 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1015 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1016 ac_prev
=sysconfdir
;;
1017 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1018 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1019 sysconfdir
=$ac_optarg ;;
1021 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1022 ac_prev
=target_alias
;;
1023 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1024 target_alias
=$ac_optarg ;;
1026 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1029 -version |
--version |
--versio |
--versi |
--vers |
-V)
1030 ac_init_version
=: ;;
1033 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1036 { echo "$as_me: error: invalid package name: $ac_package" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1039 eval with_
$ac_package=\
$ac_optarg ;;
1041 -without-* |
--without-*)
1042 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1045 { echo "$as_me: error: invalid package name: $ac_package" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1048 eval with_
$ac_package=no
;;
1051 # Obsolete; use --with-x.
1054 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1055 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1056 ac_prev
=x_includes
;;
1057 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1058 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1059 x_includes
=$ac_optarg ;;
1061 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1062 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1063 ac_prev
=x_libraries
;;
1064 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1065 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1066 x_libraries
=$ac_optarg ;;
1068 -*) { echo "$as_me: error: unrecognized option: $ac_option
1069 Try \`$0 --help' for more information." >&2
1070 { (exit 1); exit 1; }; }
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1077 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1078 { (exit 1); exit 1; }; }
1079 eval $ac_envvar=\
$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1086 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1093 if test -n "$ac_prev"; then
1094 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1095 { echo "$as_me: error: missing argument to $ac_option" >&2
1096 { (exit 1); exit 1; }; }
1099 # Be sure to have absolute directory names.
1100 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir
1105 eval ac_val
=\$
$ac_var
1107 [\\/$
]* | ?
:[\\/]* ) continue;;
1108 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1110 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1111 { (exit 1); exit 1; }; }
1114 # There might be people who depend on the old broken behavior: `$host'
1115 # used to hold the argument of --host etc.
1116 # FIXME: To remove some day.
1119 target
=$target_alias
1121 # FIXME: To remove some day.
1122 if test "x$host_alias" != x
; then
1123 if test "x$build_alias" = x
; then
1124 cross_compiling
=maybe
1125 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1126 If a cross compiler is detected then cross compile mode will be used." >&2
1127 elif test "x$build_alias" != "x$host_alias"; then
1133 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1135 test "$silent" = yes && exec 6>/dev
/null
1138 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1139 ac_ls_di
=`ls -di .` &&
1140 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1141 { echo "$as_me: error: Working directory cannot be determined" >&2
1142 { (exit 1); exit 1; }; }
1143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1144 { echo "$as_me: error: pwd does not report name of working directory" >&2
1145 { (exit 1); exit 1; }; }
1148 # Find the source files, if location was not specified.
1149 if test -z "$srcdir"; then
1150 ac_srcdir_defaulted
=yes
1151 # Try the directory containing this script, then the parent directory.
1152 ac_confdir
=`$as_dirname -- "$0" ||
1153 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1154 X"$0" : 'X\(//\)[^/]' \| \
1155 X"$0" : 'X\(//\)$' \| \
1156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1180 ac_srcdir_defaulted
=no
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1183 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1184 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1185 { (exit 1); exit 1; }; }
1187 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1190 { (exit 1); exit 1; }; }
1192 # When building in place, set srcdir=.
1193 if test "$ac_abs_confdir" = "$ac_pwd"; then
1196 # Remove unnecessary trailing slashes from srcdir.
1197 # Double slashes in file names in object file debugging info
1198 # mess up M-x gdb in Emacs.
1200 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1202 for ac_var
in $ac_precious_vars; do
1203 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1204 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1205 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1206 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1210 # Report the --help message.
1212 if test "$ac_init_help" = "long"; then
1213 # Omit some internal or obsolete options to make the list less imposing.
1214 # This message is too long to be a string in the A/UX 3.1 sh.
1216 \`configure' configures this package to adapt to many kinds of systems.
1218 Usage: $0 [OPTION]... [VAR=VALUE]...
1220 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1221 VAR=VALUE. See below for descriptions of some of the useful variables.
1223 Defaults for the options are specified in brackets.
1226 -h, --help display this help and exit
1227 --help=short display options specific to this package
1228 --help=recursive display the short help of all the included packages
1229 -V, --version display version information and exit
1230 -q, --quiet, --silent do not print \`checking...' messages
1231 --cache-file=FILE cache test results in FILE [disabled]
1232 -C, --config-cache alias for \`--cache-file=config.cache'
1233 -n, --no-create do not create output files
1234 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1236 Installation directories:
1237 --prefix=PREFIX install architecture-independent files in PREFIX
1238 [$ac_default_prefix]
1239 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1242 By default, \`make install' will install all the files in
1243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1244 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1245 for instance \`--prefix=\$HOME'.
1247 For better control, use the options below.
1249 Fine tuning of the installation directories:
1250 --bindir=DIR user executables [EPREFIX/bin]
1251 --sbindir=DIR system admin executables [EPREFIX/sbin]
1252 --libexecdir=DIR program executables [EPREFIX/libexec]
1253 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1254 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1255 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1256 --libdir=DIR object code libraries [EPREFIX/lib]
1257 --includedir=DIR C header files [PREFIX/include]
1258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1261 --infodir=DIR info documentation [DATAROOTDIR/info]
1262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1263 --mandir=DIR man documentation [DATAROOTDIR/man]
1264 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1265 --htmldir=DIR html documentation [DOCDIR]
1266 --dvidir=DIR dvi documentation [DOCDIR]
1267 --pdfdir=DIR pdf documentation [DOCDIR]
1268 --psdir=DIR ps documentation [DOCDIR]
1275 if test -n "$ac_init_help"; then
1280 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1281 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1282 --disable-versioncheck disable PWLib version check
1283 --enable-localspeex use
local version of Speex library rather than system version
1284 --disable-audio disable audio codec support
1285 --disable-video disable video codec support
1286 --disable-sip disable SIP protocol support
1287 --disable-h323 disable H
.323 protocol support
1288 --disable-iax disable IAX2 protocol support
1289 --disable-h224 disable H
.224 protocol support
1290 --disable-t38 disable T
.38 protocol support
1291 --disable-h450 disable H
.450
1292 --disable-h460 disable H
.460
1293 --disable-lid disable LID support
1294 --disable-ivr disable IVR support
1295 --disable-rfc4175 disable RFC4175 support
1297 Some influential environment variables
:
1298 CC C compiler
command
1299 CFLAGS C compiler flags
1300 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1301 nonstandard directory
<lib dir
>
1302 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1303 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1304 you have headers
in a nonstandard directory
<include dir
>
1305 CXX C
++ compiler
command
1306 CXXFLAGS C
++ compiler flags
1309 Use these variables to override the choices made by
`configure' or to help
1310 it to find libraries and programs with nonstandard names/locations.
1316 if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" || continue
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1339 .) # We are building in place.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1363 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 cd "$ac_pwd" || { ac_status=$?; break; }
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1373 generated by GNU Autoconf 2.61
1375 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1382 cat >config.log <<_ACEOF
1383 This file contains any messages produced by compilers while
1384 running configure, to aid debugging if configure makes a mistake.
1386 It was created by $as_me, which was
1387 generated by GNU Autoconf 2.61. Invocation command line was
1399 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1400 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1401 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1402 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1403 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1405 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1406 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1408 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1409 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1410 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1411 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1412 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1413 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1414 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 echo "PATH: $as_dir"
1439 # Keep a trace of the command line.
1440 # Strip out --no-create and --no-recursion so they do not pile up.
1441 # Strip out --silent because we don't want to record it for future runs.
1442 # Also quote any args containing shell meta-characters.
1443 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_must_keep_next=false
1453 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455 | -silent | --silent | --silen | --sile | --sil)
1458 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1461 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1463 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1464 if test $ac_must_keep_next = true; then
1465 ac_must_keep_next=false # Got value, back to normal.
1468 *=* | --config-cache | -C | -disable-* | --disable-* \
1469 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1470 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1471 | -with-* | --with-* | -without-* | --without-* | --x)
1472 case "$ac_configure_args0 " in
1473 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1476 -* ) ac_must_keep_next=true ;;
1479 ac_configure_args="$ac_configure_args '$ac_arg'"
1484 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1485 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log. We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Use '\'' to represent an apostrophe within the trap.
1491 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492 trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1498 ## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##
1503 # The following way of writing the cache mishandles newlines in values,
1505 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1506 eval ac_val=\$$ac_var
1510 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1511 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1514 _ | IFS | as_nl) ;; #(
1515 *) $as_unset $ac_var ;;
1520 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1521 *${as_nl}ac_space=\ *)
1523 "s/'\''/'\''\\\\'\'''\''/g;
1524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 ## ----------------- ##
1536 ## Output variables. ##
1537 ## ----------------- ##
1540 for ac_var in $ac_subst_vars
1542 eval ac_val=\$$ac_var
1544 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1546 echo "$ac_var='\''$ac_val'\''"
1550 if test -n "$ac_subst_files"; then
1552 ## ------------------- ##
1553 ## File substitutions. ##
1554 ## ------------------- ##
1557 for ac_var in $ac_subst_files
1559 eval ac_val=\$$ac_var
1561 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1563 echo "$ac_var='\''$ac_val'\''"
1568 if test -s confdefs.h; then
1578 test "$ac_signal" != 0 &&
1579 echo "$as_me: caught signal $ac_signal"
1580 echo "$as_me: exit $exit_status"
1582 rm -f core *.core core.conftest.* &&
1583 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1586 for ac_signal in 1 2 13 15; do
1587 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1591 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1592 rm -f -r conftest* confdefs.h
1594 # Predefined preprocessor variables.
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE_NAME "$PACKAGE_NAME"
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_STRING "$PACKAGE_STRING"
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1621 # Let the site file select an alternate cache file if it wants to.
1622 # Prefer explicitly selected file to automatically selected ones.
1623 if test -n "$CONFIG_SITE"; then
1624 set x "$CONFIG_SITE"
1625 elif test "x$prefix" != xNONE; then
1626 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1628 set x "$ac_default_prefix/share/config.site" \
1629 "$ac_default_prefix/etc/config.site"
1634 if test -r "$ac_site_file"; then
1635 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636 echo "$as_me: loading site script $ac_site_file" >&6;}
1637 sed 's/^/| /' "$ac_site_file" >&5
1642 if test -r "$cache_file"; then
1643 # Some versions of bash will fail to source /dev/null (special
1644 # files actually), so we avoid doing that.
1645 if test -f "$cache_file"; then
1646 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647 echo "$as_me: loading cache $cache_file" >&6;}
1649 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650 *) . "./$cache_file";;
1654 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655 echo "$as_me: creating cache $cache_file" >&6;}
1659 # Check that the precious variables saved in the cache have kept the same
1661 ac_cache_corrupted=false
1662 for ac_var in $ac_precious_vars; do
1663 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1664 eval ac_new_set=\$ac_env_${ac_var}_set
1665 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1666 eval ac_new_val=\$ac_env_${ac_var}_value
1667 case $ac_old_set,$ac_new_set in
1669 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1670 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671 ac_cache_corrupted=: ;;
1673 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1674 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1675 ac_cache_corrupted=: ;;
1678 if test "x$ac_old_val" != "x$ac_new_val"; then
1679 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1681 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1682 echo "$as_me: former value
: $ac_old_val" >&2;}
1683 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1684 echo "$as_me: current value
: $ac_new_val" >&2;}
1685 ac_cache_corrupted=:
1688 # Pass precious variables to config.status.
1689 if test "$ac_new_set" = set; then
1691 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1692 *) ac_arg=$ac_var=$ac_new_val ;;
1694 case " $ac_configure_args " in
1695 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1696 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1700 if $ac_cache_corrupted; then
1701 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1702 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1703 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1704 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1705 { (exit 1); exit 1; }; }
1725 ac_cpp='$CPP $CPPFLAGS'
1726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1737 if test -n "$ac_tool_prefix"; then
1738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1739 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1742 if test "${ac_cv_prog_CC+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 if test -n "$CC"; then
1746 ac_cv_prog_CC="$CC" # Let the user override the test.
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1755 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 if test -n "$CC"; then
1767 { echo "$as_me:$LINENO: result: $CC" >&5
1768 echo "${ECHO_T}$CC" >&6; }
1770 { echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6; }
1776 if test -z "$ac_cv_prog_CC"; then
1778 # Extract the first word of "gcc", so it can be a program name with args.
1779 set dummy gcc; ac_word=$2
1780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 if test -n "$ac_ct_CC"; then
1786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1795 ac_cv_prog_ac_ct_CC="gcc"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1806 if test -n "$ac_ct_CC"; then
1807 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1808 echo "${ECHO_T}$ac_ct_CC" >&6; }
1810 { echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6; }
1814 if test "x$ac_ct_CC" = x; then
1817 case $cross_compiling:$ac_tool_warned in
1819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1820 whose name does not start with the host triplet. If you think this
1821 configuration is useful to you, please write to autoconf@gnu.org." >&5
1822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1823 whose name does not start with the host triplet. If you think this
1824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1825 ac_tool_warned=yes ;;
1833 if test -z "$CC"; then
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1836 set dummy ${ac_tool_prefix}cc; ac_word=$2
1837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1839 if test "${ac_cv_prog_CC+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$CC"; then
1843 ac_cv_prog_CC="$CC" # Let the user override the test.
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1852 ac_cv_prog_CC="${ac_tool_prefix}cc"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 if test -n "$CC"; then
1864 { echo "$as_me:$LINENO: result: $CC" >&5
1865 echo "${ECHO_T}$CC" >&6; }
1867 { echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6; }
1874 if test -z "$CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc; ac_word=$2
1877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC="$CC" # Let the user override the test.
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1894 ac_prog_rejected=yes
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 if test $ac_prog_rejected = yes; then
1906 # We found a bogon in the path, so make sure we never use it.
1907 set dummy $ac_cv_prog_CC
1909 if test $# != 0; then
1910 # We chose a different compiler from the bogus one.
1911 # However, it has the same basename, so the bogon will be chosen
1912 # first if we set CC to just the basename; use the full file name.
1914 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1920 if test -n "$CC"; then
1921 { echo "$as_me:$LINENO: result: $CC" >&5
1922 echo "${ECHO_T}$CC" >&6; }
1924 { echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6; }
1930 if test -z "$CC"; then
1931 if test -n "$ac_tool_prefix"; then
1932 for ac_prog in cl.exe
1934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1938 if test "${ac_cv_prog_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC="$CC" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 if test -n "$CC"; then
1963 { echo "$as_me:$LINENO: result: $CC" >&5
1964 echo "${ECHO_T}$CC" >&6; }
1966 { echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6; }
1971 test -n "$CC" && break
1974 if test -z "$CC"; then
1976 for ac_prog in cl.exe
1978 # Extract the first word of "$ac_prog", so it can be a program name with args.
1979 set dummy $ac_prog; ac_word=$2
1980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 if test -n "$ac_ct_CC"; then
1986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir=.
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1995 ac_cv_prog_ac_ct_CC="$ac_prog"
1996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006 if test -n "$ac_ct_CC"; then
2007 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008 echo "${ECHO_T}$ac_ct_CC" >&6; }
2010 { echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6; }
2015 test -n "$ac_ct_CC" && break
2018 if test "x$ac_ct_CC" = x; then
2021 case $cross_compiling:$ac_tool_warned in
2023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2024 whose name does not start with the host triplet. If you think this
2025 configuration is useful to you, please write to autoconf@gnu.org." >&5
2026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2027 whose name does not start with the host triplet. If you think this
2028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2029 ac_tool_warned=yes ;;
2038 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2039 See \`config.log
' for more details." >&5
2040 echo "$as_me: error: no acceptable C compiler found in \$PATH
2041 See \`config.log' for more details.
" >&2;}
2042 { (exit 1); exit 1; }; }
2044 # Provide some information about the compiler.
2045 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2046 ac_compiler=`set X $ac_compile; echo $2`
2047 { (ac_try="$ac_compiler --version >&5"
2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2053 (eval "$ac_compiler --version >&5") 2>&5
2055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2056 (exit $ac_status); }
2057 { (ac_try="$ac_compiler -v >&5"
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2063 (eval "$ac_compiler -v >&5") 2>&5
2065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2066 (exit $ac_status); }
2067 { (ac_try="$ac_compiler -V >&5"
2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2070 *) ac_try_echo=$ac_try;;
2072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2073 (eval "$ac_compiler -V >&5") 2>&5
2075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2076 (exit $ac_status); }
2078 cat >conftest.$ac_ext <<_ACEOF
2081 cat confdefs.h >>conftest.$ac_ext
2082 cat >>conftest.$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2093 ac_clean_files_save=$ac_clean_files
2094 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2095 # Try to create an executable without -o first, disregard a.out.
2096 # It will help us diagnose broken compilers, and finding out an intuition
2098 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2099 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2102 # List of possible output files, starting from the most likely.
2103 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2104 # only as a last resort. b.out is created by i960 compilers.
2105 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2107 # The IRIX 6 linker writes into existing files which may not be
2108 # executable, retaining their permissions. Remove them first so a
2109 # subsequent execution test works.
2111 for ac_file in $ac_files
2114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2115 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2120 if { (ac_try="$ac_link_default"
2122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2123 *) ac_try_echo=$ac_try;;
2125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2126 (eval "$ac_link_default") 2>&5
2128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2129 (exit $ac_status); }; then
2130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2133 # so that the user can short-circuit this test for compilers unknown to
2135 for ac_file in $ac_files ''
2137 test -f "$ac_file" || continue
2139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2142 # We found the default executable, but exeext='' is most
2146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2150 # We set ac_cv_exeext here because the later test for it is not
2151 # safe: cross compilers may not add the suffix if given an `-o'
2152 # argument, so we may need to know it at that point already.
2153 # Even if this section looks crufty: it has the advantage of
2160 test "$ac_cv_exeext" = no && ac_cv_exeext=
2166 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2167 echo "${ECHO_T}$ac_file" >&6; }
2168 if test -z "$ac_file"; then
2169 echo "$as_me: failed program was
:" >&5
2170 sed 's/^/| /' conftest.$ac_ext >&5
2172 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2173 See \
`config.log' for more details." >&5
2174 echo "$as_me: error: C compiler cannot create executables
2175 See \`config.log
' for more details." >&2;}
2176 { (exit 77); exit 77; }; }
2179 ac_exeext=$ac_cv_exeext
2181 # Check that the compiler produces executables we can run. If not, either
2182 # the compiler is broken, or we cross compile.
2183 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2184 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2185 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2186 # If not cross compiling, check that we can run a simple program.
2187 if test "$cross_compiling" != yes; then
2188 if { ac_try='.
/$ac_file'
2189 { (case "(($ac_try" in
2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2191 *) ac_try_echo=$ac_try;;
2193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2194 (eval "$ac_try") 2>&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 if test "$cross_compiling" = maybe; then
2203 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2204 If you meant to cross compile, use \`--host'.
2205 See \
`config.log' for more details." >&5
2206 echo "$as_me: error: cannot run C compiled programs.
2207 If you meant to cross compile, use \`--host'.
2208 See \`config.log' for more details.
" >&2;}
2209 { (exit 1); exit 1; }; }
2213 { echo "$as_me:$LINENO: result
: yes" >&5
2214 echo "${ECHO_T}yes" >&6; }
2216 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2217 ac_clean_files=$ac_clean_files_save
2218 # Check that the compiler produces executables we can run. If not, either
2219 # the compiler is broken, or we cross compile.
2220 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2221 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2222 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2223 echo "${ECHO_T}$cross_compiling" >&6; }
2225 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2226 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2227 if { (ac_try="$ac_link"
2229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2230 *) ac_try_echo=$ac_try;;
2232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2233 (eval "$ac_link") 2>&5
2235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2236 (exit $ac_status); }; then
2237 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2238 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2239 # work properly (i.e., refer to `conftest.exe'), while it won't with
2241 for ac_file in conftest.exe conftest conftest.*; do
2242 test -f "$ac_file" || continue
2244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2245 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2251 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2252 See \
`config.log' for more details." >&5
2253 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2254 See \`config.log
' for more details." >&2;}
2255 { (exit 1); exit 1; }; }
2258 rm -f conftest$ac_cv_exeext
2259 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2260 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2262 rm -f conftest.$ac_ext
2263 EXEEXT=$ac_cv_exeext
2265 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2266 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2267 if test "${ac_cv_objext+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 cat >conftest.$ac_ext <<_ACEOF
2273 cat confdefs.h >>conftest.$ac_ext
2274 cat >>conftest.$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 rm -f conftest.o conftest.obj
2286 if { (ac_try="$ac_compile"
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2292 (eval "$ac_compile") 2>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; then
2296 for ac_file in conftest.o conftest.obj conftest.*; do
2297 test -f "$ac_file" || continue;
2299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2300 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2305 echo "$as_me: failed program was:" >&5
2306 sed 's
/^
/|
/' conftest.$ac_ext >&5
2308 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2309 See \`config.log' for more details.
" >&5
2310 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2311 See \
`config.log' for more details." >&2;}
2312 { (exit 1); exit 1; }; }
2315 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2317 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2318 echo "${ECHO_T}$ac_cv_objext" >&6; }
2319 OBJEXT=$ac_cv_objext
2321 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2322 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2323 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 cat >conftest.$ac_ext <<_ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2344 rm -f conftest.$ac_objext
2345 if { (ac_try="$ac_compile"
2347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2348 *) ac_try_echo
=$ac_try;;
2350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2351 (eval "$ac_compile") 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } && {
2358 test -z "$ac_c_werror_flag" ||
2359 test ! -s conftest.err
2360 } && test -s conftest.
$ac_objext; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2373 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2374 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2375 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2376 ac_test_CFLAGS
=${CFLAGS+set}
2377 ac_save_CFLAGS
=$CFLAGS
2378 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_cc_g+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 ac_save_c_werror_flag
=$ac_c_werror_flag
2384 ac_c_werror_flag
=yes
2387 cat >conftest.
$ac_ext <<_ACEOF
2390 cat confdefs.h
>>conftest.
$ac_ext
2391 cat >>conftest.
$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 rm -f conftest.
$ac_objext
2403 if { (ac_try
="$ac_compile"
2405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_compile") 2>conftest.er1
2411 grep -v '^ *+' conftest.er1 >conftest.err
2413 cat conftest.err >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); } && {
2416 test -z "$ac_c_werror_flag" ||
2417 test ! -s conftest.err
2418 } && test -s conftest.$ac_objext; then
2421 echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2425 cat >conftest.$ac_ext <<_ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 rm -f conftest.$ac_objext
2441 if { (ac_try="$ac_compile"
2443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2444 *) ac_try_echo
=$ac_try;;
2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2447 (eval "$ac_compile") 2>conftest.er1
2449 grep -v '^ *+' conftest.er1
>conftest.err
2451 cat conftest.err
>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } && {
2454 test -z "$ac_c_werror_flag" ||
2455 test ! -s conftest.err
2456 } && test -s conftest.
$ac_objext; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.
$ac_ext >&5
2462 ac_c_werror_flag
=$ac_save_c_werror_flag
2464 cat >conftest.
$ac_ext <<_ACEOF
2467 cat confdefs.h
>>conftest.
$ac_ext
2468 cat >>conftest.
$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2479 rm -f conftest.
$ac_objext
2480 if { (ac_try
="$ac_compile"
2482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_compile") 2>conftest.er1
2488 grep -v '^ *+' conftest.er1 >conftest.err
2490 cat conftest.err >&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); } && {
2493 test -z "$ac_c_werror_flag" ||
2494 test ! -s conftest.err
2495 } && test -s conftest.$ac_objext; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2511 ac_c_werror_flag=$ac_save_c_werror_flag
2513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2515 if test "$ac_test_CFLAGS" = set; then
2516 CFLAGS=$ac_save_CFLAGS
2517 elif test $ac_cv_prog_cc_g = yes; then
2518 if test "$GCC" = yes; then
2524 if test "$GCC" = yes; then
2530 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2531 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2532 if test "${ac_cv_prog_cc_c89+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 ac_cv_prog_cc_c89=no
2537 cat >conftest.$ac_ext <<_ACEOF
2540 cat confdefs.h >>conftest.$ac_ext
2541 cat >>conftest.$ac_ext <<_ACEOF
2542 /* end confdefs.h. */
2545 #include <sys/types.h>
2546 #include <sys/stat.h>
2547 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2548 struct buf { int x; };
2549 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2550 static char *e (p, i)
2556 static char *f (char * (*g) (char **, int), char **p, ...)
2561 s = g (p, va_arg (v,int));
2566 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2567 function prototypes and stuff, but not '\xHH' hex character constants.
2568 These don't provoke an error unfortunately, instead are silently treated
2569 as 'x'. The following induces an error, until -std is added to get
2570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2571 array size at least. It's necessary to write '\x00'==0 to get something
2572 that's true only with -std. */
2573 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2575 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2576 inside strings and character constants. */
2578 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2580 int test (int i, double x);
2581 struct s1 {int (*f) (int a);};
2582 struct s2 {int (*f) (double a);};
2583 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2589 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2594 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2595 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2597 CC="$ac_save_CC $ac_arg"
2598 rm -f conftest.$ac_objext
2599 if { (ac_try="$ac_compile"
2601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2602 *) ac_try_echo
=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compile") 2>conftest.er1
2607 grep -v '^ *+' conftest.er1
>conftest.err
2609 cat conftest.err
>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } && {
2612 test -z "$ac_c_werror_flag" ||
2613 test ! -s conftest.err
2614 } && test -s conftest.
$ac_objext; then
2615 ac_cv_prog_cc_c89
=$ac_arg
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.
$ac_ext >&5
2623 rm -f core conftest.err conftest.
$ac_objext
2624 test "x$ac_cv_prog_cc_c89" != "xno" && break
2626 rm -f conftest.
$ac_ext
2631 case "x$ac_cv_prog_cc_c89" in
2633 { echo "$as_me:$LINENO: result: none needed" >&5
2634 echo "${ECHO_T}none needed" >&6; } ;;
2636 { echo "$as_me:$LINENO: result: unsupported" >&5
2637 echo "${ECHO_T}unsupported" >&6; } ;;
2639 CC
="$CC $ac_cv_prog_cc_c89"
2640 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2641 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2646 ac_cpp
='$CPP $CPPFLAGS'
2647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2652 ac_cpp
='$CXXCPP $CPPFLAGS'
2653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2656 if test -z "$CXX"; then
2657 if test -n "$CCC"; then
2660 if test -n "$ac_tool_prefix"; then
2661 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_CXX+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$CXX"; then
2671 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CXX"; then
2692 { echo "$as_me:$LINENO: result: $CXX" >&5
2693 echo "${ECHO_T}$CXX" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$CXX" && break
2703 if test -z "$CXX"; then
2705 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2707 # Extract the first word of "$ac_prog", so it can be a program name with args.
2708 set dummy
$ac_prog; ac_word
=$2
2709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2711 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 if test -n "$ac_ct_CXX"; then
2715 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2735 if test -n "$ac_ct_CXX"; then
2736 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2737 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2739 { echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6; }
2744 test -n "$ac_ct_CXX" && break
2747 if test "x$ac_ct_CXX" = x
; then
2750 case $cross_compiling:$ac_tool_warned in
2752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2753 whose name does not start with the host triplet. If you think this
2754 configuration is useful to you, please write to autoconf@gnu.org." >&5
2755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2756 whose name does not start with the host triplet. If you think this
2757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2758 ac_tool_warned
=yes ;;
2766 # Provide some information about the compiler.
2767 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2768 ac_compiler
=`set X $ac_compile; echo $2`
2769 { (ac_try
="$ac_compiler --version >&5"
2771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compiler --version >&5") 2>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }
2779 { (ac_try="$ac_compiler -v >&5"
2781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2782 *) ac_try_echo
=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_compiler -v >&5") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }
2789 { (ac_try
="$ac_compiler -V >&5"
2791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compiler -V >&5") 2>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }
2800 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2801 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2802 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 cat >conftest.$ac_ext <<_ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2827 *) ac_try_echo
=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.
$ac_objext; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2849 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2852 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2853 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2854 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2855 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2856 ac_save_CXXFLAGS
=$CXXFLAGS
2857 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2858 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cxx_g+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
2863 ac_cxx_werror_flag
=yes
2866 cat >conftest.
$ac_ext <<_ACEOF
2869 cat confdefs.h
>>conftest.
$ac_ext
2870 cat >>conftest.
$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2881 rm -f conftest.
$ac_objext
2882 if { (ac_try
="$ac_compile"
2884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_compile") 2>conftest.er1
2890 grep -v '^ *+' conftest.er1 >conftest.err
2892 cat conftest.err >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } && {
2895 test -z "$ac_cxx_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.$ac_objext; then
2898 ac_cv_prog_cxx_g=yes
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2904 cat >conftest.$ac_ext <<_ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.$ac_objext
2920 if { (ac_try="$ac_compile"
2922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2923 *) ac_try_echo
=$ac_try;;
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_compile") 2>conftest.er1
2928 grep -v '^ *+' conftest.er1
>conftest.err
2930 cat conftest.err
>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && {
2933 test -z "$ac_cxx_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.
$ac_objext; then
2938 echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.
$ac_ext >&5
2941 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
2943 cat >conftest.
$ac_ext <<_ACEOF
2946 cat confdefs.h
>>conftest.
$ac_ext
2947 cat >>conftest.
$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2958 rm -f conftest.
$ac_objext
2959 if { (ac_try
="$ac_compile"
2961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2967 grep -v '^ *+' conftest.er1 >conftest.err
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } && {
2972 test -z "$ac_cxx_werror_flag" ||
2973 test ! -s conftest.err
2974 } && test -s conftest.$ac_objext; then
2975 ac_cv_prog_cxx_g=yes
2977 echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2992 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2993 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2994 if test "$ac_test_CXXFLAGS" = set; then
2995 CXXFLAGS=$ac_save_CXXFLAGS
2996 elif test $ac_cv_prog_cxx_g = yes; then
2997 if test "$GXX" = yes; then
3003 if test "$GXX" = yes; then
3010 ac_cpp='$CPP $CPPFLAGS'
3011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 REQUIRED_PWLIB_MAJOR=1
3027 REQUIRED_PWLIB_MINOR=11
3028 REQUIRED_PWLIB_BUILD=0
3034 if test "x$prefix" = "xNONE"; then
3035 INSTALLPREFIX="/usr/local"
3037 INSTALLPREFIX="${prefix}"
3048 MAJOR_VERSION=`cat ${OPALDIR}/version.h |
grep MAJOR_VERSION | cut
-f3 -d' '`
3049 MINOR_VERSION=`cat ${OPALDIR}/version.h |
grep MINOR_VERSION | cut
-f3 -d' '`
3050 BUILD_NUMBER=`cat ${OPALDIR}/version.h |
grep BUILD_NUMBER | cut
-f3 -d' '`
3051 OPAL_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
3052 cat >>confdefs.h <<_ACEOF
3053 #define OPAL_MAJOR ${MAJOR_VERSION}
3056 cat >>confdefs.h <<_ACEOF
3057 #define OPAL_MINOR ${MINOR_VERSION}
3060 cat >>confdefs.h <<_ACEOF
3061 #define OPAL_BUILD ${BUILD_NUMBER}
3064 cat >>confdefs.h <<_ACEOF
3065 #define OPAL_VERSION "$OPAL_VERSION"
3069 { echo "$as_me:$LINENO: Opal version is ${OPAL_VERSION}" >&5
3070 echo "$as_me: Opal version is ${OPAL_VERSION}" >&6;};
3072 #use to set the version in opal.pc
3076 if test "${PWLIBDIR:-unset}" != "unset" ; then
3077 as_ac_File=`echo "ac_cv_file_${PWLIBDIR}/version.h" |
$as_tr_sh`
3078 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
3079 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6; }
3080 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 test "$cross_compiling" = yes &&
3084 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3085 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3086 { (exit 1); exit 1; }; }
3087 if test -r "${PWLIBDIR}/version.h"; then
3088 eval "$as_ac_File=yes"
3090 eval "$as_ac_File=no"
3093 ac_res=`eval echo '${'$as_ac_File'}'`
3094 { echo "$as_me:$LINENO: result: $ac_res" >&5
3095 echo "${ECHO_T}$ac_res" >&6; }
3096 if test `eval echo '${'$as_ac_File'}'` = yes; then
3101 if test "${HAS_PTLIB:-unset}" = "unset" ; then
3102 as_ac_File=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" |
$as_tr_sh`
3103 { echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
3104 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6; }
3105 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 test "$cross_compiling" = yes &&
3109 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3110 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3111 { (exit 1); exit 1; }; }
3112 if test -r "${OPALDIR}/../pwlib/version.h"; then
3113 eval "$as_ac_File=yes"
3115 eval "$as_ac_File=no"
3118 ac_res=`eval echo '${'$as_ac_File'}'`
3119 { echo "$as_me:$LINENO: result: $ac_res" >&5
3120 echo "${ECHO_T}$ac_res" >&6; }
3121 if test `eval echo '${'$as_ac_File'}'` = yes; then
3125 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3126 PWLIBDIR="${OPALDIR}/../pwlib"
3128 as_ac_File=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" |
$as_tr_sh`
3129 { echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
3130 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6; }
3131 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 test "$cross_compiling" = yes &&
3135 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3136 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3137 { (exit 1); exit 1; }; }
3138 if test -r "${HOME}/pwlib/include/ptlib.h"; then
3139 eval "$as_ac_File=yes"
3141 eval "$as_ac_File=no"
3144 ac_res=`eval echo '${'$as_ac_File'}'`
3145 { echo "$as_me:$LINENO: result: $ac_res" >&5
3146 echo "${ECHO_T}$ac_res" >&6; }
3147 if test `eval echo '${'$as_ac_File'}'` = yes; then
3151 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3152 PWLIBDIR="${HOME}/pwlib"
3154 { echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
3155 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6; }
3156 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
3157 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 test "$cross_compiling" = yes &&
3160 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3161 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3162 { (exit 1); exit 1; }; }
3163 if test -r "/usr/local/include/ptlib.h"; then
3164 ac_cv_file__usr_local_include_ptlib_h=yes
3166 ac_cv_file__usr_local_include_ptlib_h=no
3169 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
3170 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6; }
3171 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
3175 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3176 # Extract the first word of "ptlib-config", so it can be a program name with args.
3177 set dummy ptlib-config; ac_word=$2
3178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3180 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 case $PTLIB_CONFIG in
3185 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 for as_dir in /usr/local/bin
3192 test -z "$as_dir" && as_dir=.
3193 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3207 if test -n "$PTLIB_CONFIG"; then
3208 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3209 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3211 { echo "$as_me:$LINENO: result: no" >&5
3212 echo "${ECHO_T}no" >&6; }
3217 { echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
3218 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6; }
3219 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 test "$cross_compiling" = yes &&
3223 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3224 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3225 { (exit 1); exit 1; }; }
3226 if test -r "/usr/include/ptlib.h"; then
3227 ac_cv_file__usr_include_ptlib_h=yes
3229 ac_cv_file__usr_include_ptlib_h=no
3232 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
3233 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6; }
3234 if test $ac_cv_file__usr_include_ptlib_h = yes; then
3238 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3239 # Extract the first word of "ptlib-config", so it can be a program name with args.
3240 set dummy ptlib-config; ac_word=$2
3241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3243 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 case $PTLIB_CONFIG in
3248 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 for as_dir in /usr/share/pwlib/make/
3255 test -z "$as_dir" && as_dir=.
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3258 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3270 if test -n "$PTLIB_CONFIG"; then
3271 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3272 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3274 { echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6; }
3280 as_ac_File=`echo "ac_cv_file_${prefix}/include/ptlib.h" |
$as_tr_sh`
3281 { echo "$as_me:$LINENO: checking for ${prefix}/include/ptlib.h" >&5
3282 echo $ECHO_N "checking for ${prefix}/include/ptlib.h... $ECHO_C" >&6; }
3283 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 test "$cross_compiling" = yes &&
3287 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3288 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3289 { (exit 1); exit 1; }; }
3290 if test -r "${prefix}/include/ptlib.h"; then
3291 eval "$as_ac_File=yes"
3293 eval "$as_ac_File=no"
3296 ac_res=`eval echo '${'$as_ac_File'}'`
3297 { echo "$as_me:$LINENO: result: $ac_res" >&5
3298 echo "${ECHO_T}$ac_res" >&6; }
3299 if test `eval echo '${'$as_ac_File'}'` = yes; then
3303 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3304 # Extract the first word of "ptlib-config", so it can be a program name with args.
3305 set dummy ptlib-config; ac_word=$2
3306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3308 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3311 case $PTLIB_CONFIG in
3313 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in ${prefix}/bin
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3335 if test -n "$PTLIB_CONFIG"; then
3336 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3337 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3339 { echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6; }
3351 if test "${HAS_PTLIB:-unset}" = "unset" ; then
3352 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
3353 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
3354 { (exit 1); exit 1; }; }
3357 if test "${PWLIBDIR:-unset}" = "unset" ; then
3358 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
3359 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
3360 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
3361 { (exit 1); exit 1; }; }
3363 PWLIBDIR=`$PTLIB_CONFIG --prefix`
3366 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
3367 PWLIBDIR="/usr/share/pwlib/"
3369 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
3370 PWLIBDIR="/usr/local/share/pwlib/"
3372 if test "x$PWLIBDIR" = "x${prefix}"; then
3373 PWLIBDIR="${prefix}/share/pwlib/"
3377 echo "PWLib prefix set to.... $PWLIBDIR"
3379 if test "${PWLIBDIR:-unset}" = "unset" ; then
3380 PWVERSION=`$PTLIB_CONFIG --version`
3381 PW_MAJOR_VERSION=`echo $PW_VERSION | cut
-d'.' -f1`
3382 PW_MINOR_VERSION=`echo $PW_VERSION | cut
-d'.' -f2`
3383 PW_BUILD_NUMBER=`echo $PW_VERSION | cut
-d'.' -f3`
3386 PW_MAJOR_VERSION=`cat ${PWLIBDIR}/version.h |
grep MAJOR_VERSION | cut
-f3 -d' '`
3387 PW_MINOR_VERSION=`cat ${PWLIBDIR}/version.h |
grep MINOR_VERSION | cut
-f3 -d' '`
3388 PW_BUILD_NUMBER=`cat ${PWLIBDIR}/version.h |
grep BUILD_NUMBER | cut
-f3 -d' '`
3389 PWVERSION="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
3392 # Check whether --enable-versioncheck was given.
3393 if test "${enable_versioncheck+set}" = set; then
3394 enableval=$enable_versioncheck; PWLIB_VERSION_CHECK=$enableval
3398 { echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
3399 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6; }
3400 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
3401 { echo "$as_me:$LINENO: result: check disabled" >&5
3402 echo "${ECHO_T}check disabled" >&6; }
3404 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
3405 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
3406 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
3407 { (exit 1); exit 1; }; }
3409 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
3410 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
3411 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
3412 { (exit 1); exit 1; }; }
3414 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
3415 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
3416 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
3417 { (exit 1); exit 1; }; }
3419 { echo "$as_me:$LINENO: result: ok" >&5
3420 echo "${ECHO_T}ok" >&6; }
3426 if test x$GXX = xyes ; then
3428 gcc_version=`$CXX -dumpversion`
3429 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
3430 echo "$as_me: gcc version is $gcc_version" >&6;};
3431 GXX_MAJOR=`echo $gcc_version |
sed 's/\..*$//'`
3432 GXX_MINOR=`echo $gcc_version |
sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
3433 GXX_PATCH=`echo $gcc_version |
sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
3435 { echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
3436 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6; }
3437 if test ${GXX_MAJOR} -lt 3 ; then
3438 { echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6; }
3440 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
3441 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
3442 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3450 { echo "$as_me:$LINENO: checking for working bit scan intrinsic" >&5
3451 echo $ECHO_N "checking for working bit scan intrinsic... $ECHO_C" >&6; }
3454 int main(int argc, char* argv) {
3456 unsigned int val = 0x00000FF0;
3457 if (__builtin_clz(val) == 20)
3463 if test "$cross_compiling" = yes; then
3466 cat >conftest.$ac_ext <<_ACEOF
3469 cat confdefs.h >>conftest.$ac_ext
3470 cat >>conftest.$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3474 rm -f conftest$ac_exeext
3475 if { (ac_try="$ac_link"
3477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3478 *) ac_try_echo
=$ac_try;;
3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3481 (eval "$ac_link") 2>&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3485 { (case "(($ac_try" in
3486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_try") 2>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3496 echo "$as_me: program exited with status $ac_status" >&5
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3507 if test "${GCC_HAS_CLZ}" = "1" ; then
3508 { echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6; }
3510 cat >>confdefs.h <<\_ACEOF
3511 #define GCC_HAS_CLZ 1
3516 { echo "$as_me:$LINENO: result: no" >&5
3517 echo "${ECHO_T}no" >&6; }
3523 # Check whether --enable-localspeex was given.
3524 if test "${enable_localspeex+set}" = set; then
3525 enableval=$enable_localspeex; localspeex=$enableval
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3535 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3536 # On Suns, sometimes $CPP names a directory.
3537 if test -n "$CPP" && test -d "$CPP"; then
3540 if test -z "$CPP"; then
3541 if test "${ac_cv_prog_CPP+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 # Double quotes because CPP needs to be expanded
3545 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3548 for ac_c_preproc_warn_flag in '' yes
3550 # Use a header file that comes with gcc, so configuring glibc
3551 # with a fresh cross-compiler works.
3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553 # <limits.h> exists even on freestanding compilers.
3554 # On the NeXT, cc -E runs the code through the compiler's parser,
3555 # not just through cpp. "Syntax error" is here to catch this case.
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3563 # include <limits.h>
3565 # include <assert.h>
3569 if { (ac_try="$ac_cpp conftest.$ac_ext"
3571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3572 *) ac_try_echo
=$ac_try;;
3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3577 grep -v '^ *+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } >/dev
/null
&& {
3582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3583 test ! -s conftest.err
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.
$ac_ext >&5
3590 # Broken: fails on valid input.
3594 rm -f conftest.err conftest.
$ac_ext
3596 # OK, works on sane cases. Now check whether nonexistent headers
3597 # can be detected and how.
3598 cat >conftest.
$ac_ext <<_ACEOF
3601 cat confdefs.h
>>conftest.
$ac_ext
3602 cat >>conftest.
$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3604 #include <ac_nonexistent.h>
3606 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } >/dev/null && {
3619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3622 # Broken: success on invalid input.
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3628 # Passes both tests.
3633 rm -f conftest.err conftest.$ac_ext
3636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3637 rm -f conftest.err conftest.
$ac_ext
3638 if $ac_preproc_ok; then
3650 { echo "$as_me:$LINENO: result: $CPP" >&5
3651 echo "${ECHO_T}$CPP" >&6; }
3653 for ac_c_preproc_warn_flag
in '' yes
3655 # Use a header file that comes with gcc, so configuring glibc
3656 # with a fresh cross-compiler works.
3657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3658 # <limits.h> exists even on freestanding compilers.
3659 # On the NeXT, cc -E runs the code through the compiler's parser,
3660 # not just through cpp. "Syntax error" is here to catch this case.
3661 cat >conftest.
$ac_ext <<_ACEOF
3664 cat confdefs.h
>>conftest.
$ac_ext
3665 cat >>conftest.
$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3668 # include <limits.h>
3670 # include <assert.h>
3674 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3682 grep -v '^ *+' conftest.er1 >conftest.err
3684 cat conftest.err >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } >/dev/null && {
3687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3688 test ! -s conftest.err
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3695 # Broken: fails on valid input.
3699 rm -f conftest.err conftest.$ac_ext
3701 # OK, works on sane cases. Now check whether nonexistent headers
3702 # can be detected and how.
3703 cat >conftest.$ac_ext <<_ACEOF
3706 cat confdefs.h >>conftest.$ac_ext
3707 cat >>conftest.$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3709 #include <ac_nonexistent.h>
3711 if { (ac_try="$ac_cpp conftest.$ac_ext"
3713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3714 *) ac_try_echo
=$ac_try;;
3716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3719 grep -v '^ *+' conftest.er1
>conftest.err
3721 cat conftest.err
>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } >/dev
/null
&& {
3724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3725 test ! -s conftest.err
3727 # Broken: success on invalid input.
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.
$ac_ext >&5
3733 # Passes both tests.
3738 rm -f conftest.err conftest.
$ac_ext
3741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3742 rm -f conftest.err conftest.
$ac_ext
3743 if $ac_preproc_ok; then
3746 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3747 See \`config.log' for more details." >&5
3748 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3749 See \`config.log' for more details." >&2;}
3750 { (exit 1); exit 1; }; }
3754 ac_cpp
='$CPP $CPPFLAGS'
3755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3760 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3761 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3762 if test "${ac_cv_path_GREP+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 # Extract the first word of "grep ggrep" to use in msg output
3766 if test -z "$GREP"; then
3767 set dummy
grep ggrep
; ac_prog_name
=$2
3768 if test "${ac_cv_path_GREP+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 ac_path_GREP_found
=false
3772 # Loop through the user's path and test for each of PROGNAME-LIST
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_prog
in grep ggrep
; do
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3781 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3782 # Check for GNU ac_path_GREP and select it if it is found.
3783 # Check for GNU $ac_path_GREP
3784 case `"$ac_path_GREP" --version 2>&1` in
3786 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3789 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3792 cat "conftest.in" "conftest.in" >"conftest.tmp"
3793 mv "conftest.tmp" "conftest.in"
3794 cp "conftest.in" "conftest.nl"
3795 echo 'GREP' >> "conftest.nl"
3796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3797 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3798 ac_count
=`expr $ac_count + 1`
3799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3800 # Best one so far, save it but keep looking for a better one
3801 ac_cv_path_GREP
="$ac_path_GREP"
3802 ac_path_GREP_max
=$ac_count
3804 # 10*(2^10) chars as input seems more than enough
3805 test $ac_count -gt 10 && break
3807 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3811 $ac_path_GREP_found && break 3
3821 GREP
="$ac_cv_path_GREP"
3822 if test -z "$GREP"; then
3823 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3824 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3825 { (exit 1); exit 1; }; }
3829 ac_cv_path_GREP
=$GREP
3834 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3835 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3836 GREP
="$ac_cv_path_GREP"
3839 { echo "$as_me:$LINENO: checking for egrep" >&5
3840 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3841 if test "${ac_cv_path_EGREP+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3845 then ac_cv_path_EGREP
="$GREP -E"
3847 # Extract the first word of "egrep" to use in msg output
3848 if test -z "$EGREP"; then
3849 set dummy
egrep; ac_prog_name
=$2
3850 if test "${ac_cv_path_EGREP+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 ac_path_EGREP_found
=false
3854 # Loop through the user's path and test for each of PROGNAME-LIST
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_prog
in egrep; do
3861 for ac_exec_ext
in '' $ac_executable_extensions; do
3862 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3863 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3864 # Check for GNU ac_path_EGREP and select it if it is found.
3865 # Check for GNU $ac_path_EGREP
3866 case `"$ac_path_EGREP" --version 2>&1` in
3868 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3871 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3874 cat "conftest.in" "conftest.in" >"conftest.tmp"
3875 mv "conftest.tmp" "conftest.in"
3876 cp "conftest.in" "conftest.nl"
3877 echo 'EGREP' >> "conftest.nl"
3878 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3879 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3880 ac_count
=`expr $ac_count + 1`
3881 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3882 # Best one so far, save it but keep looking for a better one
3883 ac_cv_path_EGREP
="$ac_path_EGREP"
3884 ac_path_EGREP_max
=$ac_count
3886 # 10*(2^10) chars as input seems more than enough
3887 test $ac_count -gt 10 && break
3889 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3893 $ac_path_EGREP_found && break 3
3903 EGREP
="$ac_cv_path_EGREP"
3904 if test -z "$EGREP"; then
3905 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3906 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3907 { (exit 1); exit 1; }; }
3911 ac_cv_path_EGREP
=$EGREP
3917 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3918 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3919 EGREP
="$ac_cv_path_EGREP"
3922 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3923 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3924 if test "${ac_cv_header_stdc+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3946 rm -f conftest.
$ac_objext
3947 if { (ac_try
="$ac_compile"
3949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_compile") 2>conftest.er1
3955 grep -v '^ *+' conftest.er1 >conftest.err
3957 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } && {
3960 test -z "$ac_c_werror_flag" ||
3961 test ! -s conftest.err
3962 } && test -s conftest.$ac_objext; then
3963 ac_cv_header_stdc=yes
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3968 ac_cv_header_stdc=no
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973 if test $ac_cv_header_stdc = yes; then
3974 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3975 cat >conftest.$ac_ext <<_ACEOF
3978 cat confdefs.h >>conftest.$ac_ext
3979 cat >>conftest.$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3985 $EGREP "memchr" >/dev/null 2>&1; then
3988 ac_cv_header_stdc=no
3994 if test $ac_cv_header_stdc = yes; then
3995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3996 cat >conftest.$ac_ext <<_ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4006 $EGREP "free" >/dev/null 2>&1; then
4009 ac_cv_header_stdc=no
4015 if test $ac_cv_header_stdc = yes; then
4016 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4017 if test "$cross_compiling" = yes; then
4020 cat >conftest.$ac_ext <<_ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4028 #if ((' ' & 0x0FF) == 0x020)
4029 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4030 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4032 # define ISLOWER(c) \
4033 (('a' <= (c) && (c) <= 'i') \
4034 || ('j' <= (c) && (c) <= 'r') \
4035 || ('s' <= (c) && (c) <= 'z'))
4036 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4039 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4044 for (i = 0; i < 256; i++)
4045 if (XOR (islower (i), ISLOWER (i))
4046 || toupper (i) != TOUPPER (i))
4051 rm -f conftest$ac_exeext
4052 if { (ac_try="$ac_link"
4054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4055 *) ac_try_echo
=$ac_try;;
4057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058 (eval "$ac_link") 2>&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4062 { (case "(($ac_try" in
4063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4067 (eval "$ac_try") 2>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; }; then
4073 echo "$as_me: program exited with status $ac_status" >&5
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.$ac_ext >&5
4078 ac_cv_header_stdc=no
4080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4086 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4087 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4088 if test $ac_cv_header_stdc = yes; then
4090 cat >>confdefs.h <<\_ACEOF
4091 #define STDC_HEADERS 1
4096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4107 inttypes.h stdint.h unistd.h
4109 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4121 $ac_includes_default
4123 #include <$ac_header>
4125 rm -f conftest.$ac_objext
4126 if { (ac_try="$ac_compile"
4128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4129 *) ac_try_echo
=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_compile") 2>conftest.er1
4134 grep -v '^ *+' conftest.er1
>conftest.err
4136 cat conftest.err
>&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } && {
4139 test -z "$ac_c_werror_flag" ||
4140 test ! -s conftest.err
4141 } && test -s conftest.
$ac_objext; then
4142 eval "$as_ac_Header=yes"
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.
$ac_ext >&5
4147 eval "$as_ac_Header=no"
4150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4152 ac_res
=`eval echo '${'$as_ac_Header'}'`
4153 { echo "$as_me:$LINENO: result: $ac_res" >&5
4154 echo "${ECHO_T}$ac_res" >&6; }
4155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4156 cat >>confdefs.h
<<_ACEOF
4157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4165 { echo "$as_me:$LINENO: checking for short" >&5
4166 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
4167 if test "${ac_cv_type_short+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 cat >conftest.
$ac_ext <<_ACEOF
4173 cat confdefs.h
>>conftest.
$ac_ext
4174 cat >>conftest.
$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4176 $ac_includes_default
4177 typedef short ac__type_new_;
4181 if ((ac__type_new_ *) 0)
4183 if (sizeof (ac__type_new_))
4189 rm -f conftest.
$ac_objext
4190 if { (ac_try
="$ac_compile"
4192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_compile") 2>conftest.er1
4198 grep -v '^ *+' conftest.er1 >conftest.err
4200 cat conftest.err >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest.$ac_objext; then
4206 ac_cv_type_short=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4217 echo "${ECHO_T}$ac_cv_type_short" >&6; }
4219 # The cast to long int works around a bug in the HP C Compiler
4220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4221 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
4222 # This bug is HP SR number 8606223364.
4223 { echo "$as_me:$LINENO: checking size of short" >&5
4224 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
4225 if test "${ac_cv_sizeof_short+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 if test "$cross_compiling" = yes; then
4229 # Depending upon the size, compute the lo and hi bounds.
4230 cat >conftest.$ac_ext <<_ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 $ac_includes_default
4237 typedef short ac__type_sizeof_;
4241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4248 rm -f conftest.$ac_objext
4249 if { (ac_try="$ac_compile"
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_compile") 2>conftest.er1
4257 grep -v '^
*+' conftest.er1 >conftest.err
4259 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && {
4262 test -z "$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 } && test -s conftest.$ac_objext; then
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 $ac_includes_default
4274 typedef short ac__type_sizeof_;
4278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4285 rm -f conftest.$ac_objext
4286 if { (ac_try="$ac_compile"
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_compile") 2>conftest.er1
4294 grep -v '^
*+' conftest.er1 >conftest.err
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } && {
4299 test -z "$ac_c_werror_flag" ||
4300 test ! -s conftest.err
4301 } && test -s conftest.$ac_objext; then
4302 ac_hi=$ac_mid; break
4304 echo "$as_me: failed program was:" >&5
4305 sed 's
/^
/|
/' conftest.$ac_ext >&5
4307 ac_lo=`expr $ac_mid + 1`
4308 if test $ac_lo -le $ac_mid; then
4312 ac_mid=`expr 2 '*' $ac_mid + 1`
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 echo "$as_me: failed program was:" >&5
4319 sed 's
/^
/|
/' conftest.$ac_ext >&5
4321 cat >conftest.$ac_ext <<_ACEOF
4324 cat confdefs.h >>conftest.$ac_ext
4325 cat >>conftest.$ac_ext <<_ACEOF
4326 /* end confdefs.h. */
4327 $ac_includes_default
4328 typedef short ac__type_sizeof_;
4332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4339 rm -f conftest.$ac_objext
4340 if { (ac_try="$ac_compile"
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4346 (eval "$ac_compile") 2>conftest.er1
4348 grep -v '^
*+' conftest.er1 >conftest.err
4350 cat conftest.err >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); } && {
4353 test -z "$ac_c_werror_flag" ||
4354 test ! -s conftest.err
4355 } && test -s conftest.$ac_objext; then
4358 cat >conftest.$ac_ext <<_ACEOF
4361 cat confdefs.h >>conftest.$ac_ext
4362 cat >>conftest.$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4364 $ac_includes_default
4365 typedef short ac__type_sizeof_;
4369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4376 rm -f conftest.$ac_objext
4377 if { (ac_try="$ac_compile"
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_compile") 2>conftest.er1
4385 grep -v '^
*+' conftest.er1 >conftest.err
4387 cat conftest.err >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } && {
4390 test -z "$ac_c_werror_flag" ||
4391 test ! -s conftest.err
4392 } && test -s conftest.$ac_objext; then
4393 ac_lo=$ac_mid; break
4395 echo "$as_me: failed program was:" >&5
4396 sed 's
/^
/|
/' conftest.$ac_ext >&5
4398 ac_hi=`expr '(' $ac_mid ')' - 1`
4399 if test $ac_mid -le $ac_hi; then
4403 ac_mid=`expr 2 '*' $ac_mid`
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 echo "$as_me: failed program was:" >&5
4410 sed 's
/^
/|
/' conftest.$ac_ext >&5
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419 # Binary search between lo and hi bounds.
4420 while test "x$ac_lo" != "x$ac_hi"; do
4421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4422 cat >conftest.$ac_ext <<_ACEOF
4425 cat confdefs.h >>conftest.$ac_ext
4426 cat >>conftest.$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4428 $ac_includes_default
4429 typedef short ac__type_sizeof_;
4433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4440 rm -f conftest.$ac_objext
4441 if { (ac_try="$ac_compile"
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_compile") 2>conftest.er1
4449 grep -v '^
*+' conftest.er1 >conftest.err
4451 cat conftest.err >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } && {
4454 test -z "$ac_c_werror_flag" ||
4455 test ! -s conftest.err
4456 } && test -s conftest.$ac_objext; then
4459 echo "$as_me: failed program was:" >&5
4460 sed 's
/^
/|
/' conftest.$ac_ext >&5
4462 ac_lo=`expr '(' $ac_mid ')' + 1`
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4468 ?*) ac_cv_sizeof_short=$ac_lo;;
4469 '') if test "$ac_cv_type_short" = yes; then
4470 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4471 See \`config.log' for more details.
" >&5
4472 echo "$as_me: error
: cannot compute sizeof
(short
)
4473 See \
`config.log' for more details." >&2;}
4474 { (exit 77); exit 77; }; }
4476 ac_cv_sizeof_short=0
4480 cat >conftest.$ac_ext <<_ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 $ac_includes_default
4487 typedef short ac__type_sizeof_;
4488 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4489 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4496 FILE *f = fopen ("conftest.val", "w");
4499 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4501 long int i = longval ();
4502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4504 fprintf (f, "%ld\n", i);
4508 unsigned long int i = ulongval ();
4509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4511 fprintf (f, "%lu\n", i);
4513 return ferror (f) || fclose (f) != 0;
4519 rm -f conftest$ac_exeext
4520 if { (ac_try="$ac_link"
4522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4523 *) ac_try_echo
=$ac_try;;
4525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4526 (eval "$ac_link") 2>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4530 { (case "(($ac_try" in
4531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4535 (eval "$ac_try") 2>&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; }; then
4539 ac_cv_sizeof_short=`cat conftest.val
`
4541 echo "$as_me: program exited with status $ac_status" >&5
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4546 if test "$ac_cv_type_short" = yes; then
4547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4548 See \`config.log
' for more details." >&5
4549 echo "$as_me: error: cannot compute sizeof (short)
4550 See \`config.log' for more details.
" >&2;}
4551 { (exit 77); exit 77; }; }
4553 ac_cv_sizeof_short=0
4556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4560 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
4561 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
4565 cat >>confdefs.h <<_ACEOF
4566 #define SIZEOF_SHORT $ac_cv_sizeof_short
4570 { echo "$as_me:$LINENO: checking
for int
" >&5
4571 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
4572 if test "${ac_cv_type_int+set}" = set; then
4573 echo $ECHO_N "(cached
) $ECHO_C" >&6
4575 cat >conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4581 $ac_includes_default
4582 typedef int ac__type_new_;
4586 if ((ac__type_new_ *) 0)
4588 if (sizeof (ac__type_new_))
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598 *) ac_try_echo=$ac_try;;
4600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1 >conftest.err
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.$ac_objext; then
4613 echo "$as_me: failed program was
:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
4622 echo "${ECHO_T}$ac_cv_type_int" >&6; }
4624 # The cast to long int works around a bug in the HP C Compiler
4625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4627 # This bug is HP SR number 8606223364.
4628 { echo "$as_me:$LINENO: checking size of int
" >&5
4629 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
4630 if test "${ac_cv_sizeof_int+set}" = set; then
4631 echo $ECHO_N "(cached
) $ECHO_C" >&6
4633 if test "$cross_compiling" = yes; then
4634 # Depending upon the size, compute the lo and hi bounds.
4635 cat >conftest.$ac_ext <<_ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4641 $ac_includes_default
4642 typedef int ac__type_sizeof_;
4646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4653 rm -f conftest.$ac_objext
4654 if { (ac_try="$ac_compile"
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_compile") 2>conftest.er1
4662 grep -v '^ *+' conftest.er1 >conftest.err
4664 cat conftest.err >&5
4665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4666 (exit $ac_status); } && {
4667 test -z "$ac_c_werror_flag" ||
4668 test ! -s conftest.err
4669 } && test -s conftest.$ac_objext; then
4672 cat >conftest.$ac_ext <<_ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 $ac_includes_default
4679 typedef int ac__type_sizeof_;
4683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4690 rm -f conftest.$ac_objext
4691 if { (ac_try="$ac_compile"
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4697 (eval "$ac_compile") 2>conftest.er1
4699 grep -v '^ *+' conftest.er1 >conftest.err
4701 cat conftest.err >&5
4702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4703 (exit $ac_status); } && {
4704 test -z "$ac_c_werror_flag" ||
4705 test ! -s conftest.err
4706 } && test -s conftest.$ac_objext; then
4707 ac_hi=$ac_mid; break
4709 echo "$as_me: failed program was
:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 ac_lo=`expr $ac_mid + 1`
4713 if test $ac_lo -le $ac_mid; then
4717 ac_mid=`expr 2 '*' $ac_mid + 1`
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 echo "$as_me: failed program was
:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4726 cat >conftest.$ac_ext <<_ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 $ac_includes_default
4733 typedef int ac__type_sizeof_;
4737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4744 rm -f conftest.$ac_objext
4745 if { (ac_try="$ac_compile"
4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748 *) ac_try_echo=$ac_try;;
4750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4751 (eval "$ac_compile") 2>conftest.er1
4753 grep -v '^ *+' conftest.er1 >conftest.err
4755 cat conftest.err >&5
4756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4757 (exit $ac_status); } && {
4758 test -z "$ac_c_werror_flag" ||
4759 test ! -s conftest.err
4760 } && test -s conftest.$ac_objext; then
4763 cat >conftest.$ac_ext <<_ACEOF
4766 cat confdefs.h >>conftest.$ac_ext
4767 cat >>conftest.$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 $ac_includes_default
4770 typedef int ac__type_sizeof_;
4774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4781 rm -f conftest.$ac_objext
4782 if { (ac_try="$ac_compile"
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4788 (eval "$ac_compile") 2>conftest.er1
4790 grep -v '^ *+' conftest.er1 >conftest.err
4792 cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4794 (exit $ac_status); } && {
4795 test -z "$ac_c_werror_flag" ||
4796 test ! -s conftest.err
4797 } && test -s conftest.$ac_objext; then
4798 ac_lo=$ac_mid; break
4800 echo "$as_me: failed program was
:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4803 ac_hi=`expr '(' $ac_mid ')' - 1`
4804 if test $ac_mid -le $ac_hi; then
4808 ac_mid=`expr 2 '*' $ac_mid`
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 echo "$as_me: failed program was
:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 # Binary search between lo and hi bounds.
4825 while test "x
$ac_lo" != "x
$ac_hi"; do
4826 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4827 cat >conftest.$ac_ext <<_ACEOF
4830 cat confdefs.h >>conftest.$ac_ext
4831 cat >>conftest.$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 $ac_includes_default
4834 typedef int ac__type_sizeof_;
4838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4845 rm -f conftest.$ac_objext
4846 if { (ac_try="$ac_compile"
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4852 (eval "$ac_compile") 2>conftest.er1
4854 grep -v '^ *+' conftest.er1 >conftest.err
4856 cat conftest.err >&5
4857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4858 (exit $ac_status); } && {
4859 test -z "$ac_c_werror_flag" ||
4860 test ! -s conftest.err
4861 } && test -s conftest.$ac_objext; then
4864 echo "$as_me: failed program was
:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4867 ac_lo=`expr '(' $ac_mid ')' + 1`
4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4873 ?*) ac_cv_sizeof_int=$ac_lo;;
4874 '') if test "$ac_cv_type_int" = yes; then
4875 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
4876 See \
`config.log' for more details." >&5
4877 echo "$as_me: error: cannot compute sizeof (int)
4878 See \`config.log
' for more details." >&2;}
4879 { (exit 77); exit 77; }; }
4885 cat >conftest.$ac_ext <<_ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4891 $ac_includes_default
4892 typedef int ac__type_sizeof_;
4893 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4894 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4901 FILE *f = fopen ("conftest.val", "w");
4904 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4906 long int i = longval ();
4907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4909 fprintf (f, "%ld\n", i);
4913 unsigned long int i = ulongval ();
4914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4916 fprintf (f, "%lu\n", i);
4918 return ferror (f) || fclose (f) != 0;
4924 rm -f conftest$ac_exeext
4925 if { (ac_try="$ac_link"
4927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4931 (eval "$ac_link") 2>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4935 { (case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_try") 2>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 ac_cv_sizeof_int=`cat conftest.val`
4946 echo "$as_me: program exited with status $ac_status" >&5
4947 echo "$as_me: failed program was:" >&5
4948 sed 's
/^
/|
/' conftest.$ac_ext >&5
4951 if test "$ac_cv_type_int" = yes; then
4952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4953 See \`config.log' for more details.
" >&5
4954 echo "$as_me: error
: cannot compute sizeof
(int
)
4955 See \
`config.log' for more details." >&2;}
4956 { (exit 77); exit 77; }; }
4961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4965 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4966 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
4970 cat >>confdefs.h <<_ACEOF
4971 #define SIZEOF_INT $ac_cv_sizeof_int
4975 { echo "$as_me:$LINENO: checking for long" >&5
4976 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
4977 if test "${ac_cv_type_long+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 cat >conftest.$ac_ext <<_ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 $ac_includes_default
4987 typedef long ac__type_new_;
4991 if ((ac__type_new_ *) 0)
4993 if (sizeof (ac__type_new_))
4999 rm -f conftest.$ac_objext
5000 if { (ac_try="$ac_compile"
5002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5003 *) ac_try_echo
=$ac_try;;
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_compile") 2>conftest.er1
5008 grep -v '^ *+' conftest.er1
>conftest.err
5010 cat conftest.err
>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && {
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest.
$ac_objext; then
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5027 echo "${ECHO_T}$ac_cv_type_long" >&6; }
5029 # The cast to long int works around a bug in the HP C Compiler
5030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5032 # This bug is HP SR number 8606223364.
5033 { echo "$as_me:$LINENO: checking size of long" >&5
5034 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5035 if test "${ac_cv_sizeof_long+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 if test "$cross_compiling" = yes; then
5039 # Depending upon the size, compute the lo and hi bounds.
5040 cat >conftest.
$ac_ext <<_ACEOF
5043 cat confdefs.h
>>conftest.
$ac_ext
5044 cat >>conftest.
$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5046 $ac_includes_default
5047 typedef long ac__type_sizeof_;
5051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5058 rm -f conftest.
$ac_objext
5059 if { (ac_try
="$ac_compile"
5061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5062 *) ac_try_echo=$ac_try;;
5064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065 (eval "$ac_compile") 2>conftest.er1
5067 grep -v '^ *+' conftest.er1 >conftest.err
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } && {
5072 test -z "$ac_c_werror_flag" ||
5073 test ! -s conftest.err
5074 } && test -s conftest.$ac_objext; then
5077 cat >conftest.$ac_ext <<_ACEOF
5080 cat confdefs.h >>conftest.$ac_ext
5081 cat >>conftest.$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5083 $ac_includes_default
5084 typedef long ac__type_sizeof_;
5088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5095 rm -f conftest.$ac_objext
5096 if { (ac_try="$ac_compile"
5098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5099 *) ac_try_echo
=$ac_try;;
5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102 (eval "$ac_compile") 2>conftest.er1
5104 grep -v '^ *+' conftest.er1
>conftest.err
5106 cat conftest.err
>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } && {
5109 test -z "$ac_c_werror_flag" ||
5110 test ! -s conftest.err
5111 } && test -s conftest.
$ac_objext; then
5112 ac_hi
=$ac_mid; break
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.
$ac_ext >&5
5117 ac_lo
=`expr $ac_mid + 1`
5118 if test $ac_lo -le $ac_mid; then
5122 ac_mid
=`expr 2 '*' $ac_mid + 1`
5125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.
$ac_ext >&5
5131 cat >conftest.
$ac_ext <<_ACEOF
5134 cat confdefs.h
>>conftest.
$ac_ext
5135 cat >>conftest.
$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 $ac_includes_default
5138 typedef long ac__type_sizeof_;
5142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5149 rm -f conftest.
$ac_objext
5150 if { (ac_try
="$ac_compile"
5152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5153 *) ac_try_echo=$ac_try;;
5155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5156 (eval "$ac_compile") 2>conftest.er1
5158 grep -v '^ *+' conftest.er1 >conftest.err
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } && {
5163 test -z "$ac_c_werror_flag" ||
5164 test ! -s conftest.err
5165 } && test -s conftest.$ac_objext; then
5168 cat >conftest.$ac_ext <<_ACEOF
5171 cat confdefs.h >>conftest.$ac_ext
5172 cat >>conftest.$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5174 $ac_includes_default
5175 typedef long ac__type_sizeof_;
5179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5186 rm -f conftest.$ac_objext
5187 if { (ac_try="$ac_compile"
5189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5190 *) ac_try_echo
=$ac_try;;
5192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5193 (eval "$ac_compile") 2>conftest.er1
5195 grep -v '^ *+' conftest.er1
>conftest.err
5197 cat conftest.err
>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } && {
5200 test -z "$ac_c_werror_flag" ||
5201 test ! -s conftest.err
5202 } && test -s conftest.
$ac_objext; then
5203 ac_lo
=$ac_mid; break
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.
$ac_ext >&5
5208 ac_hi
=`expr '(' $ac_mid ')' - 1`
5209 if test $ac_mid -le $ac_hi; then
5213 ac_mid
=`expr 2 '*' $ac_mid`
5216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.
$ac_ext >&5
5225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5229 # Binary search between lo and hi bounds.
5230 while test "x$ac_lo" != "x$ac_hi"; do
5231 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5232 cat >conftest.
$ac_ext <<_ACEOF
5235 cat confdefs.h
>>conftest.
$ac_ext
5236 cat >>conftest.
$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5238 $ac_includes_default
5239 typedef long ac__type_sizeof_;
5243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5250 rm -f conftest.
$ac_objext
5251 if { (ac_try
="$ac_compile"
5253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257 (eval "$ac_compile") 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } && {
5264 test -z "$ac_c_werror_flag" ||
5265 test ! -s conftest.err
5266 } && test -s conftest.$ac_objext; then
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.$ac_ext >&5
5272 ac_lo=`expr '(' $ac_mid ')' + 1`
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 ?*) ac_cv_sizeof_long=$ac_lo;;
5279 '') if test "$ac_cv_type_long" = yes; then
5280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5281 See \`config.log
' for more details." >&5
5282 echo "$as_me: error: cannot compute sizeof (long)
5283 See \`config.log' for more details.
" >&2;}
5284 { (exit 77); exit 77; }; }
5290 cat >conftest.$ac_ext <<_ACEOF
5293 cat confdefs.h >>conftest.$ac_ext
5294 cat >>conftest.$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5296 $ac_includes_default
5297 typedef long ac__type_sizeof_;
5298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5306 FILE *f = fopen ("conftest.val
", "w
");
5309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5311 long int i = longval ();
5312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5314 fprintf (f, "%ld
\n", i);
5318 unsigned long int i = ulongval ();
5319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5321 fprintf (f, "%lu
\n", i);
5323 return ferror (f) || fclose (f) != 0;
5329 rm -f conftest$ac_exeext
5330 if { (ac_try="$ac_link"
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5336 (eval "$ac_link") 2>&5
5338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5340 { (case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_try") 2>&5
5347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5348 (exit $ac_status); }; }; then
5349 ac_cv_sizeof_long=`cat conftest.val`
5351 echo "$as_me: program exited with status
$ac_status" >&5
5352 echo "$as_me: failed program was
:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5356 if test "$ac_cv_type_long" = yes; then
5357 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
5358 See \
`config.log' for more details." >&5
5359 echo "$as_me: error: cannot compute sizeof (long)
5360 See \`config.log
' for more details." >&2;}
5361 { (exit 77); exit 77; }; }
5366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5371 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5375 cat >>confdefs.h <<_ACEOF
5376 #define SIZEOF_LONG $ac_cv_sizeof_long
5380 { echo "$as_me:$LINENO: checking for long long" >&5
5381 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5382 if test "${ac_cv_type_long_long+set}" = set; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 cat >conftest.$ac_ext <<_ACEOF
5388 cat confdefs.h >>conftest.$ac_ext
5389 cat >>conftest.$ac_ext <<_ACEOF
5390 /* end confdefs.h. */
5391 $ac_includes_default
5392 typedef long long ac__type_new_;
5396 if ((ac__type_new_ *) 0)
5398 if (sizeof (ac__type_new_))
5404 rm -f conftest.$ac_objext
5405 if { (ac_try="$ac_compile"
5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408 *) ac_try_echo=$ac_try;;
5410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411 (eval "$ac_compile") 2>conftest.er1
5413 grep -v '^
*+' conftest.er1 >conftest.err
5415 cat conftest.err >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } && {
5418 test -z "$ac_c_werror_flag" ||
5419 test ! -s conftest.err
5420 } && test -s conftest.$ac_objext; then
5421 ac_cv_type_long_long=yes
5423 echo "$as_me: failed program was:" >&5
5424 sed 's
/^
/|
/' conftest.$ac_ext >&5
5426 ac_cv_type_long_long=no
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5432 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5434 # The cast to long int works around a bug in the HP C Compiler
5435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5437 # This bug is HP SR number 8606223364.
5438 { echo "$as_me:$LINENO: checking size of long long" >&5
5439 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
5440 if test "${ac_cv_sizeof_long_long+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 if test "$cross_compiling" = yes; then
5444 # Depending upon the size, compute the lo and hi bounds.
5445 cat >conftest.
$ac_ext <<_ACEOF
5448 cat confdefs.h
>>conftest.
$ac_ext
5449 cat >>conftest.
$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5451 $ac_includes_default
5452 typedef long long ac__type_sizeof_;
5456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5463 rm -f conftest.
$ac_objext
5464 if { (ac_try
="$ac_compile"
5466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5467 *) ac_try_echo=$ac_try;;
5469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5470 (eval "$ac_compile") 2>conftest.er1
5472 grep -v '^ *+' conftest.er1 >conftest.err
5474 cat conftest.err >&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } && {
5477 test -z "$ac_c_werror_flag" ||
5478 test ! -s conftest.err
5479 } && test -s conftest.$ac_objext; then
5482 cat >conftest.$ac_ext <<_ACEOF
5485 cat confdefs.h >>conftest.$ac_ext
5486 cat >>conftest.$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 $ac_includes_default
5489 typedef long long ac__type_sizeof_;
5493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5500 rm -f conftest.$ac_objext
5501 if { (ac_try="$ac_compile"
5503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5504 *) ac_try_echo
=$ac_try;;
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_compile") 2>conftest.er1
5509 grep -v '^ *+' conftest.er1
>conftest.err
5511 cat conftest.err
>&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } && {
5514 test -z "$ac_c_werror_flag" ||
5515 test ! -s conftest.err
5516 } && test -s conftest.
$ac_objext; then
5517 ac_hi
=$ac_mid; break
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.
$ac_ext >&5
5522 ac_lo
=`expr $ac_mid + 1`
5523 if test $ac_lo -le $ac_mid; then
5527 ac_mid
=`expr 2 '*' $ac_mid + 1`
5530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.
$ac_ext >&5
5536 cat >conftest.
$ac_ext <<_ACEOF
5539 cat confdefs.h
>>conftest.
$ac_ext
5540 cat >>conftest.
$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 $ac_includes_default
5543 typedef long long ac__type_sizeof_;
5547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5554 rm -f conftest.
$ac_objext
5555 if { (ac_try
="$ac_compile"
5557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_compile") 2>conftest.er1
5563 grep -v '^ *+' conftest.er1 >conftest.err
5565 cat conftest.err >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } && {
5568 test -z "$ac_c_werror_flag" ||
5569 test ! -s conftest.err
5570 } && test -s conftest.$ac_objext; then
5573 cat >conftest.$ac_ext <<_ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 $ac_includes_default
5580 typedef long long ac__type_sizeof_;
5584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5591 rm -f conftest.$ac_objext
5592 if { (ac_try="$ac_compile"
5594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5595 *) ac_try_echo
=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_compile") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1
>conftest.err
5602 cat conftest.err
>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && {
5605 test -z "$ac_c_werror_flag" ||
5606 test ! -s conftest.err
5607 } && test -s conftest.
$ac_objext; then
5608 ac_lo
=$ac_mid; break
5610 echo "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.
$ac_ext >&5
5613 ac_hi
=`expr '(' $ac_mid ')' - 1`
5614 if test $ac_mid -le $ac_hi; then
5618 ac_mid
=`expr 2 '*' $ac_mid`
5621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5634 # Binary search between lo and hi bounds.
5635 while test "x$ac_lo" != "x$ac_hi"; do
5636 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5637 cat >conftest.
$ac_ext <<_ACEOF
5640 cat confdefs.h
>>conftest.
$ac_ext
5641 cat >>conftest.
$ac_ext <<_ACEOF
5642 /* end confdefs.h. */
5643 $ac_includes_default
5644 typedef long long ac__type_sizeof_;
5648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5655 rm -f conftest.
$ac_objext
5656 if { (ac_try
="$ac_compile"
5658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5659 *) ac_try_echo=$ac_try;;
5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662 (eval "$ac_compile") 2>conftest.er1
5664 grep -v '^ *+' conftest.er1 >conftest.err
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } && {
5669 test -z "$ac_c_werror_flag" ||
5670 test ! -s conftest.err
5671 } && test -s conftest.$ac_objext; then
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5
5677 ac_lo=`expr '(' $ac_mid ')' + 1`
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5683 ?*) ac_cv_sizeof_long_long=$ac_lo;;
5684 '') if test "$ac_cv_type_long_long" = yes; then
5685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
5686 See \`config.log
' for more details." >&5
5687 echo "$as_me: error: cannot compute sizeof (long long)
5688 See \`config.log' for more details.
" >&2;}
5689 { (exit 77); exit 77; }; }
5691 ac_cv_sizeof_long_long=0
5695 cat >conftest.$ac_ext <<_ACEOF
5698 cat confdefs.h >>conftest.$ac_ext
5699 cat >>conftest.$ac_ext <<_ACEOF
5700 /* end confdefs.h. */
5701 $ac_includes_default
5702 typedef long long ac__type_sizeof_;
5703 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5704 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5711 FILE *f = fopen ("conftest.val
", "w
");
5714 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5716 long int i = longval ();
5717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5719 fprintf (f, "%ld
\n", i);
5723 unsigned long int i = ulongval ();
5724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5726 fprintf (f, "%lu
\n", i);
5728 return ferror (f) || fclose (f) != 0;
5734 rm -f conftest$ac_exeext
5735 if { (ac_try="$ac_link"
5737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5741 (eval "$ac_link") 2>&5
5743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5745 { (case "(($ac_try" in
5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747 *) ac_try_echo=$ac_try;;
5749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5750 (eval "$ac_try") 2>&5
5752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5753 (exit $ac_status); }; }; then
5754 ac_cv_sizeof_long_long=`cat conftest.val`
5756 echo "$as_me: program exited with status
$ac_status" >&5
5757 echo "$as_me: failed program was
:" >&5
5758 sed 's/^/| /' conftest.$ac_ext >&5
5761 if test "$ac_cv_type_long_long" = yes; then
5762 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
5763 See \
`config.log' for more details." >&5
5764 echo "$as_me: error: cannot compute sizeof (long long)
5765 See \`config.log
' for more details." >&2;}
5766 { (exit 77); exit 77; }; }
5768 ac_cv_sizeof_long_long=0
5771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5776 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
5780 cat >>confdefs.h <<_ACEOF
5781 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5787 $ac_cv_sizeof_short) SIZE16="short";;
5788 $ac_cv_sizeof_int) SIZE16="int";;
5792 $ac_cv_sizeof_int) SIZE32="int";;
5793 $ac_cv_sizeof_long) SIZE32="long";;
5794 $ac_cv_sizeof_short) SIZE32="short";;
5801 OPAL_HAVE_SPEEX_SPEEX_H=
5803 for ac_header in "speex.h"
5805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 ac_res=`eval echo '${'$as_ac_Header'}'`
5813 { echo "$as_me:$LINENO: result: $ac_res" >&5
5814 echo "${ECHO_T}$ac_res" >&6; }
5816 # Is the header compilable?
5817 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5819 cat >conftest.$ac_ext <<_ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 #include <$ac_header>
5828 rm -f conftest.$ac_objext
5829 if { (ac_try="$ac_compile"
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5835 (eval "$ac_compile") 2>conftest.er1
5837 grep -v '^
*+' conftest.er1 >conftest.err
5839 cat conftest.err >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } && {
5842 test -z "$ac_c_werror_flag" ||
5843 test ! -s conftest.err
5844 } && test -s conftest.$ac_objext; then
5845 ac_header_compiler=yes
5847 echo "$as_me: failed program was:" >&5
5848 sed 's
/^
/|
/' conftest.$ac_ext >&5
5850 ac_header_compiler=no
5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5855 echo "${ECHO_T}$ac_header_compiler" >&6; }
5857 # Is the header present?
5858 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5860 cat >conftest.$ac_ext <<_ACEOF
5863 cat confdefs.h >>conftest.$ac_ext
5864 cat >>conftest.$ac_ext <<_ACEOF
5865 /* end confdefs.h. */
5866 #include <$ac_header>
5868 if { (ac_try="$ac_cpp conftest.$ac_ext"
5870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5871 *) ac_try_echo=$ac_try;;
5873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5876 grep -v '^
*+' conftest.er1 >conftest.err
5878 cat conftest.err >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } >/dev/null && {
5881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5882 test ! -s conftest.err
5884 ac_header_preproc=yes
5886 echo "$as_me: failed program was:" >&5
5887 sed 's
/^
/|
/' conftest.$ac_ext >&5
5889 ac_header_preproc=no
5892 rm -f conftest.err conftest.$ac_ext
5893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5894 echo "${ECHO_T}$ac_header_preproc" >&6; }
5896 # So? What about this header?
5897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5902 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5903 ac_header_preproc=yes
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5915 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5921 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 eval "$as_ac_Header=\$ac_header_preproc"
5928 ac_res=`eval echo '${'$as_ac_Header'}'`
5929 { echo "$as_me:$LINENO: result: $ac_res" >&5
5930 echo "${ECHO_T}$ac_res" >&6; }
5933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5934 cat >>confdefs.h <<_ACEOF
5935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5942 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5943 cat >>confdefs.h <<\_ACEOF
5944 #define OPAL_HAVE_SPEEX_H 1
5949 for ac_header in "speex/speex.h"
5951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5953 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 ac_res=`eval echo '${'$as_ac_Header'}'`
5959 { echo "$as_me:$LINENO: result: $ac_res" >&5
5960 echo "${ECHO_T}$ac_res" >&6; }
5962 # Is the header compilable?
5963 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5965 cat >conftest.$ac_ext <<_ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 $ac_includes_default
5972 #include <$ac_header>
5974 rm -f conftest.$ac_objext
5975 if { (ac_try="$ac_compile"
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981 (eval "$ac_compile") 2>conftest.er1
5983 grep -v '^
*+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } && {
5988 test -z "$ac_c_werror_flag" ||
5989 test ! -s conftest.err
5990 } && test -s conftest.$ac_objext; then
5991 ac_header_compiler=yes
5993 echo "$as_me: failed program was:" >&5
5994 sed 's
/^
/|
/' conftest.$ac_ext >&5
5996 ac_header_compiler=no
5999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6000 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6001 echo "${ECHO_T}$ac_header_compiler" >&6; }
6003 # Is the header present?
6004 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6006 cat >conftest.$ac_ext <<_ACEOF
6009 cat confdefs.h >>conftest.$ac_ext
6010 cat >>conftest.$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 #include <$ac_header>
6014 if { (ac_try="$ac_cpp conftest.$ac_ext"
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6022 grep -v '^
*+' conftest.er1 >conftest.err
6024 cat conftest.err >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } >/dev/null && {
6027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6028 test ! -s conftest.err
6030 ac_header_preproc=yes
6032 echo "$as_me: failed program was:" >&5
6033 sed 's
/^
/|
/' conftest.$ac_ext >&5
6035 ac_header_preproc=no
6038 rm -f conftest.err conftest.$ac_ext
6039 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6040 echo "${ECHO_T}$ac_header_preproc" >&6; }
6042 # So? What about this header?
6043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6048 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6049 ac_header_preproc=yes
6052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6061 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 eval "$as_ac_Header=\$ac_header_preproc"
6074 ac_res=`eval echo '${'$as_ac_Header'}'`
6075 { echo "$as_me:$LINENO: result: $ac_res" >&5
6076 echo "${ECHO_T}$ac_res" >&6; }
6079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6080 cat >>confdefs.h <<_ACEOF
6081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6083 OPAL_HAVE_SPEEX_SPEEX_H=1
6088 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
6089 cat >>confdefs.h <<\_ACEOF
6090 #define OPAL_HAVE_SPEEX_SPEEX_H 1
6096 if test "${localspeex}" = "yes" ; then
6097 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
6098 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
6099 elif test "${localspeex}" = "no" ; then
6100 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
6101 echo "$as_me: Forcing use of system Speex library" >&6;}
6102 cat >>confdefs.h <<\_ACEOF
6103 #define OPAL_SYSTEM_SPEEX 1
6109 { echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
6110 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6; }
6111 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 ac_check_lib_save_LIBS=$LIBS
6115 LIBS="-lspeex $LIBS"
6116 cat >conftest.$ac_ext <<_ACEOF
6119 cat confdefs.h >>conftest.$ac_ext
6120 cat >>conftest.$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6123 /* Override any GCC internal prototype to avoid an error.
6124 Use char because int might match the return type of a GCC
6125 builtin and then its argument prototype would still apply. */
6129 char speex_encoder_destroy ();
6133 return speex_encoder_destroy ();
6138 rm -f conftest.$ac_objext conftest$ac_exeext
6139 if { (ac_try="$ac_link"
6141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142 *) ac_try_echo=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_link") 2>conftest.er1
6147 grep -v '^
*+' conftest.er1 >conftest.err
6149 cat conftest.err >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } && {
6152 test -z "$ac_c_werror_flag" ||
6153 test ! -s conftest.err
6154 } && test -s conftest$ac_exeext &&
6155 $as_test_x conftest$ac_exeext; then
6156 ac_cv_lib_speex_speex_encoder_destroy=yes
6158 echo "$as_me: failed program was:" >&5
6159 sed 's
/^
/|
/' conftest.$ac_ext >&5
6161 ac_cv_lib_speex_speex_encoder_destroy=no
6164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LIBS=$ac_check_lib_save_LIBS
6168 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
6169 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6; }
6170 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
6174 if test "${SPEEX}x" != "x" ; then
6175 { echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
6176 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6; }
6177 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 ac_check_lib_save_LIBS=$LIBS
6181 LIBS="-lspeex $LIBS"
6182 cat >conftest.$ac_ext <<_ACEOF
6185 cat confdefs.h >>conftest.$ac_ext
6186 cat >>conftest.$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6189 /* Override any GCC internal prototype to avoid an error.
6190 Use char because int might match the return type of a GCC
6191 builtin and then its argument prototype would still apply. */
6195 char speex_encode_int ();
6199 return speex_encode_int ();
6204 rm -f conftest.$ac_objext conftest$ac_exeext
6205 if { (ac_try="$ac_link"
6207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6208 *) ac_try_echo=$ac_try;;
6210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6211 (eval "$ac_link") 2>conftest.er1
6213 grep -v '^
*+' conftest.er1 >conftest.err
6215 cat conftest.err >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); } && {
6218 test -z "$ac_c_werror_flag" ||
6219 test ! -s conftest.err
6220 } && test -s conftest$ac_exeext &&
6221 $as_test_x conftest$ac_exeext; then
6222 ac_cv_lib_speex_speex_encode_int=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's
/^
/|
/' conftest.$ac_ext >&5
6227 ac_cv_lib_speex_speex_encode_int=no
6230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6231 conftest$ac_exeext conftest.$ac_ext
6232 LIBS=$ac_check_lib_save_LIBS
6234 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
6235 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6; }
6236 if test $ac_cv_lib_speex_speex_encode_int = yes; then
6243 if test "x$SPEEX" = "x" -o \( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \); then
6244 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
6245 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
6247 { echo "$as_me:$LINENO: checking system Speex version" >&5
6248 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6; }
6249 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
6250 echo "#include <speex.h>" > t.c
6251 echo "#include <speex_header.h>" >> t.c
6253 echo "#include <speex/speex.h>" > t.c
6254 echo "#include <speex/speex_header.h>" >> t.c
6258 int main(int argc,char *argv)
6261 speex_init_header(&header, 1, 1, &speex_nb_mode);
6262 printf("%s\n", header.speex_version);
6265 cc -o t t.c -lspeex > /dev/null 2>&1
6266 if test \! -x t ; then
6267 { echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
6268 echo "${ECHO_T}cannot determine - using OPAL version" >&6; }
6271 { echo "$as_me:$LINENO: result: $SYSVER" >&5
6272 echo "${ECHO_T}$SYSVER" >&6; }
6273 { echo "$as_me:$LINENO: checking library Speex version" >&5
6274 echo $ECHO_N "checking library Speex version... $ECHO_C" >&6; }
6275 LIBVER=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's
/^.
*[Ss
][Pp
][Ee
][Ee
][Xx
]\
-//' -e 's
/\"//' -e 's
/\
/.
*//'`
6276 { echo "$as_me:$LINENO: result: $LIBVER" >&5
6277 echo "${ECHO_T}$LIBVER" >&6; }
6278 { echo "$as_me:$LINENO: checking Speex versions" >&5
6279 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6; }
6282 \$sysver = @ARGV[0];
6283 \$libver = @ARGV[1];
6284 @lib = split /\./, \$libver;
6288 @sys = split /\./, \$sysver;
6294 if (@sys[\$i] < @lib[\$i]) {
6303 SPEEX=`perl t.pl $SYSVER $LIBVER`
6305 if test "x$SPEEX" = "x0" ; then
6306 { echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
6307 echo "${ECHO_T}OPAL version is more recent" >&6; }
6309 { echo "$as_me:$LINENO: result: system version is more recent" >&5
6310 echo "${ECHO_T}system version is more recent" >&6; }
6311 cat >>confdefs.h <<\_ACEOF
6312 #define OPAL_SYSTEM_SPEEX 1
6317 { echo "$as_me:$LINENO: checking Speex noise type" >&5
6318 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6; }
6319 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
6320 echo "#include <speex.h>" > t.c
6321 echo "#include <speex_preprocess.h>" >> t.c
6323 echo "#include <speex/speex.h>" > t.c
6324 echo "#include <speex/speex_preprocess.h>" >> t.c
6328 int main(int argc,char *argv)
6330 struct SpeexPreprocessState *st;
6333 speex_preprocess(st, x, echo);
6337 cc -Werror -o t t.c -lspeex > /dev/null 2>&1
6338 if test \! -x t ; then
6339 { echo "$as_me:$LINENO: result: spx_int32_t" >&5
6340 echo "${ECHO_T}spx_int32_t" >&6; }
6342 { echo "$as_me:$LINENO: result: float" >&5
6343 echo "${ECHO_T}float" >&6; }
6344 cat >>confdefs.h <<\_ACEOF
6345 #define OPAL_SPEEX_FLOAT_NOISE 1
6359 # Check whether --enable-audio was given.
6360 if test "${enable_audio+set}" = set; then
6361 enableval=$enable_audio; audio=$enableval
6364 { echo "$as_me:$LINENO: checking audio codec support" >&5
6365 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6; }
6366 if test "$audio" = "yes" ; then
6369 cat >>confdefs.h <<\_ACEOF
6370 #define OPAL_AUDIO 1
6373 { echo "$as_me:$LINENO: result: enabled" >&5
6374 echo "${ECHO_T}enabled" >&6; }
6376 { echo "$as_me:$LINENO: result: disabled" >&5
6377 echo "${ECHO_T}disabled" >&6; }
6383 # Check whether --enable-video was given.
6384 if test "${enable_video+set}" = set; then
6385 enableval=$enable_video; video=$enableval
6388 { echo "$as_me:$LINENO: checking video device support" >&5
6389 echo $ECHO_N "checking video device support... $ECHO_C" >&6; }
6390 if test "$video" = "yes" ; then
6393 cat >>confdefs.h <<\_ACEOF
6394 #define OPAL_VIDEO 1
6397 { echo "$as_me:$LINENO: result: enabled" >&5
6398 echo "${ECHO_T}enabled" >&6; }
6400 { echo "$as_me:$LINENO: result: disabled" >&5
6401 echo "${ECHO_T}disabled" >&6; }
6406 # Check whether --enable-sip was given.
6407 if test "${enable_sip+set}" = set; then
6408 enableval=$enable_sip; sip=$enableval
6411 { echo "$as_me:$LINENO: checking SIP protocol" >&5
6412 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6; }
6413 if test "$sip" = "yes" ; then
6416 cat >>confdefs.h <<\_ACEOF
6420 { echo "$as_me:$LINENO: result: enabled" >&5
6421 echo "${ECHO_T}enabled" >&6; }
6423 { echo "$as_me:$LINENO: result: disabled" >&5
6424 echo "${ECHO_T}disabled" >&6; }
6429 # Check whether --enable-h323 was given.
6430 if test "${enable_h323+set}" = set; then
6431 enableval=$enable_h323; h323=$enableval
6434 { echo "$as_me:$LINENO: checking H.323 protocol" >&5
6435 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6; }
6436 if test "$h323" = "yes" ; then
6439 cat >>confdefs.h <<\_ACEOF
6443 { echo "$as_me:$LINENO: result: enabled" >&5
6444 echo "${ECHO_T}enabled" >&6; }
6448 { echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
6449 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6; }
6453 OPAL_H323=$OPAL_H323
6458 # Check whether --enable-iax was given.
6459 if test "${enable_iax+set}" = set; then
6460 enableval=$enable_iax; iax=$enableval
6463 { echo "$as_me:$LINENO: checking IAX2 protocol" >&5
6464 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6; }
6465 if test "$iax" = "yes" ; then
6468 cat >>confdefs.h <<\_ACEOF
6472 { echo "$as_me:$LINENO: result: enabled" >&5
6473 echo "${ECHO_T}enabled" >&6; }
6475 { echo "$as_me:$LINENO: result: disabled" >&5
6476 echo "${ECHO_T}disabled" >&6; }
6481 # Check whether --enable-h224 was given.
6482 if test "${enable_h224+set}" = set; then
6483 enableval=$enable_h224; h224=$enableval
6486 { echo "$as_me:$LINENO: checking H224 protocol" >&5
6487 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6; }
6488 if test "$h224" = "yes" ; then
6491 cat >>confdefs.h <<\_ACEOF
6495 { echo "$as_me:$LINENO: result: enabled" >&5
6496 echo "${ECHO_T}enabled" >&6; }
6498 { echo "$as_me:$LINENO: result: disabled" >&5
6499 echo "${ECHO_T}disabled" >&6; }
6504 if test "$t38" = "yes" ; then
6505 # Check whether --enable-t38 was given.
6506 if test "${enable_t38+set}" = set; then
6507 enableval=$enable_t38; t38=$enableval
6510 { echo "$as_me:$LINENO: checking T.38 protocol" >&5
6511 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6; }
6512 if test "$t38" = "yes" ; then
6515 cat >>confdefs.h <<\_ACEOF
6516 #define OPAL_T38FAX 1
6519 { echo "$as_me:$LINENO: result: enabled" >&5
6520 echo "${ECHO_T}enabled" >&6; }
6522 { echo "$as_me:$LINENO: result: disabled" >&5
6523 echo "${ECHO_T}disabled" >&6; }
6531 if test "$h450" = "yes" ; then
6532 # Check whether --enable-h450 was given.
6533 if test "${enable_h450+set}" = set; then
6534 enableval=$enable_h450; h450=$enableval
6537 { echo "$as_me:$LINENO: checking H.450 support" >&5
6538 echo $ECHO_N "checking H.450 support... $ECHO_C" >&6; }
6539 if test "$h450" = "yes" ; then
6542 cat >>confdefs.h <<\_ACEOF
6546 { echo "$as_me:$LINENO: result: enabled" >&5
6547 echo "${ECHO_T}enabled" >&6; }
6549 { echo "$as_me:$LINENO: result: disabled" >&5
6550 echo "${ECHO_T}disabled" >&6; }
6558 if test "$h460" = "yes" ; then
6559 # Check whether --enable-h460 was given.
6560 if test "${enable_h460+set}" = set; then
6561 enableval=$enable_h460; h460=$enableval
6564 { echo "$as_me:$LINENO: checking H.460 support" >&5
6565 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6; }
6566 if test "$h460" = "yes" ; then
6569 cat >>confdefs.h <<\_ACEOF
6573 { echo "$as_me:$LINENO: result: enabled" >&5
6574 echo "${ECHO_T}enabled" >&6; }
6576 { echo "$as_me:$LINENO: result: disabled" >&5
6577 echo "${ECHO_T}disabled" >&6; }
6586 if test "$lid" = "yes" ; then
6587 # Check whether --enable-lid was given.
6588 if test "${enable_lid+set}" = set; then
6589 enableval=$enable_lid; lid=$enableval
6592 { echo "$as_me:$LINENO: checking LID support" >&5
6593 echo $ECHO_N "checking LID support... $ECHO_C" >&6; }
6594 if test "$lid" = "yes" ; then
6595 cat >>confdefs.h <<\_ACEOF
6600 { echo "$as_me:$LINENO: result: enabled" >&5
6601 echo "${ECHO_T}enabled" >&6; }
6603 { echo "$as_me:$LINENO: result: disabled" >&5
6604 echo "${ECHO_T}disabled" >&6; }
6613 if test "$ivr" = "yes" ; then
6614 # Check whether --enable-ivr was given.
6615 if test "${enable_ivr+set}" = set; then
6616 enableval=$enable_ivr; ivr=$enableval
6619 { echo "$as_me:$LINENO: checking IVR support" >&5
6620 echo $ECHO_N "checking IVR support... $ECHO_C" >&6; }
6621 if test "$ivr" = "yes" ; then
6622 cat >>confdefs.h <<\_ACEOF
6627 { echo "$as_me:$LINENO: result: enabled" >&5
6628 echo "${ECHO_T}enabled" >&6; }
6630 { echo "$as_me:$LINENO: result: disabled" >&5
6631 echo "${ECHO_T}disabled" >&6; }
6640 if test "$rfc4175" = "yes" ; then
6641 # Check whether --enable-rfc4175 was given.
6642 if test "${enable_rfc4175+set}" = set; then
6643 enableval=$enable_rfc4175; rfc4175=$enableval
6646 { echo "$as_me:$LINENO: checking RFC4175 codec" >&5
6647 echo $ECHO_N "checking RFC4175 codec... $ECHO_C" >&6; }
6648 if test "$rfc4175" = "yes" ; then
6651 cat >>confdefs.h <<\_ACEOF
6652 #define OPAL_RFC4175 1
6655 { echo "$as_me:$LINENO: result: enabled" >&5
6656 echo "${ECHO_T}enabled" >&6; }
6658 { echo "$as_me:$LINENO: result: disabled" >&5
6659 echo "${ECHO_T}disabled" >&6; }
6674 { echo "$as_me:$LINENO: checking for libSRTP" >&5
6675 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6; }
6676 cat >conftest.$ac_ext <<_ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #include "srtp/srtp.h"
6686 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
6691 rm -f conftest.$ac_objext
6692 if { (ac_try="$ac_compile"
6694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6695 *) ac_try_echo=$ac_try;;
6697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6698 (eval "$ac_compile") 2>conftest.er1
6700 grep -v '^
*+' conftest.er1 >conftest.err
6702 cat conftest.err >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } && {
6705 test -z "$ac_c_werror_flag" ||
6706 test ! -s conftest.err
6707 } && test -s conftest.$ac_objext; then
6710 echo "$as_me: failed program was:" >&5
6711 sed 's
/^
/|
/' conftest.$ac_ext >&5
6716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6717 if test "${HAS_LIBSRTP}" = "1" ; then
6718 { echo "$as_me:$LINENO: result: yes" >&5
6719 echo "${ECHO_T}yes" >&6; }
6720 cat >>confdefs.h <<\_ACEOF
6721 #define HAS_LIBSRTP 1
6727 { echo "$as_me:$LINENO: result: no" >&5
6728 echo "${ECHO_T}no" >&6; }
6737 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6738 if test -f "$ac_dir/install-sh"; then
6740 ac_install_sh="$ac_aux_dir/install-sh -c"
6742 elif test -f "$ac_dir/install.sh"; then
6744 ac_install_sh="$ac_aux_dir/install.sh -c"
6746 elif test -f "$ac_dir/shtool"; then
6748 ac_install_sh="$ac_aux_dir/shtool install -c"
6752 if test -z "$ac_aux_dir"; then
6753 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6754 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6755 { (exit 1); exit 1; }; }
6758 # These three variables are undocumented and unsupported,
6759 # and are intended to be withdrawn in a future Autoconf release.
6760 # They can cause serious problems if a builder's
source tree is
in a directory
6761 # whose full name contains unusual characters.
6762 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6763 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6764 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6767 # Find a good install program. We prefer a C program (faster),
6768 # so one script is as good as another. But avoid the broken or
6769 # incompatible versions:
6770 # SysV /etc/install, /usr/sbin/install
6771 # SunOS /usr/etc/install
6772 # IRIX /sbin/install
6774 # AmigaOS /C/install, which installs bootblocks on floppy discs
6775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6778 # OS/2's system install, which has a completely different semantic
6779 # ./install, which can be erroneously created by make from ./install.sh.
6780 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6782 if test -z "$INSTALL"; then
6783 if test "${ac_cv_path_install+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir
=.
6791 # Account for people who put trailing slashes in PATH elements.
6793 .
/ | .
// |
/cC
/* | \
6794 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6795 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6798 # OSF1 and SCO ODT 3.0 have their own names for install.
6799 # Don't use installbsd from OSF since it installs stuff as root
6801 for ac_prog
in ginstall scoinst
install; do
6802 for ac_exec_ext
in '' $ac_executable_extensions; do
6803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6804 if test $ac_prog = install &&
6805 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6806 # AIX install. It has an incompatible calling convention.
6808 elif test $ac_prog = install &&
6809 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6810 # program-specific install script used by HP pwplus--don't use.
6813 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6826 if test "${ac_cv_path_install+set}" = set; then
6827 INSTALL
=$ac_cv_path_install
6829 # As a last resort, use the slow shell script. Don't cache a
6830 # value for INSTALL within a source directory, because that will
6831 # break other packages using the cache if that directory is
6832 # removed, or if the value is a relative name.
6833 INSTALL
=$ac_install_sh
6836 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6837 echo "${ECHO_T}$INSTALL" >&6; }
6839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6840 # It thinks the first close brace ends the variable substitution.
6841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6845 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6849 subdirs
="$subdirs plugins"
6853 ac_config_files
="$ac_config_files opal_inc.mak"
6855 ac_config_files
="$ac_config_files Makefile"
6857 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6859 ac_config_files
="$ac_config_files opal.pc"
6861 ac_config_files
="$ac_config_files opal.spec"
6863 ac_config_files
="$ac_config_files opal_cfg.dxy"
6866 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6868 cat >confcache
<<\_ACEOF
6869 # This file is a shell script that caches the results of configure
6870 # tests run on this system so they can be shared between configure
6871 # scripts and configure runs, see configure's option --config-cache.
6872 # It is not useful on other systems. If it contains results you don't
6873 # want to keep, you may remove or edit it.
6875 # config.status only pays attention to the cache file if you give it
6876 # the --recheck option to rerun configure.
6878 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6879 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6884 # The following way of writing the cache mishandles newlines in values,
6885 # but we know of no workaround that is simple, portable, and efficient.
6886 # So, we kill variables containing newlines.
6887 # Ultrix sh set writes to stderr and can't be redirected directly,
6888 # and sets the high bit in the cache file unless we assign to the vars.
6890 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6891 eval ac_val
=\$
$ac_var
6895 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6896 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6899 _ | IFS | as_nl
) ;; #(
6900 *) $as_unset $ac_var ;;
6906 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6907 *${as_nl}ac_space
=\
*)
6908 # `set' does not quote correctly, so add quotes (double-quote
6909 # substitution turns \\\\ into \\, and sed turns \\ into \).
6912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6915 # `set' quotes correctly as required by POSIX, so do not add quotes.
6916 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6925 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6927 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6929 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6930 if test -w "$cache_file"; then
6931 test "x$cache_file" != "x/dev/null" &&
6932 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6933 echo "$as_me: updating cache $cache_file" >&6;}
6934 cat confcache
>$cache_file
6936 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6937 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6942 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6943 # Let make expand exec_prefix.
6944 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6946 DEFS
=-DHAVE_CONFIG_H
6950 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6951 # 1. Remove the extension, and $U if already installed.
6952 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6953 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6954 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6955 # will be set to the directory where LIBOBJS objects are built.
6956 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6957 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6961 LTLIBOBJS
=$ac_ltlibobjs
6965 : ${CONFIG_STATUS=./config.status}
6966 ac_clean_files_save
=$ac_clean_files
6967 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6968 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6969 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6970 cat >$CONFIG_STATUS <<_ACEOF
6972 # Generated by $as_me.
6973 # Run this file to recreate the current configuration.
6974 # Compiler output produced by configure, useful for debugging
6975 # configure, is in config.log if it exists.
6980 SHELL=\${CONFIG_SHELL-$SHELL}
6983 cat >>$CONFIG_STATUS <<\_ACEOF
6984 ## --------------------- ##
6985 ## M4sh Initialization. ##
6986 ## --------------------- ##
6988 # Be more Bourne compatible
6989 DUALCASE
=1; export DUALCASE
# for MKS sh
6990 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6993 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6994 # is contrary to our usage. Disable this feature.
6995 alias -g '${1+"$@"}'='"$@"'
6996 setopt NO_GLOB_SUBST
6998 case `(set -o) 2>/dev/null` in
6999 *posix
*) set -o posix
;;
7008 # Avoid depending upon Character Ranges.
7009 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7010 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7011 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7012 as_cr_digits
='0123456789'
7013 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7015 # The user is always right.
7016 if test "${PATH_SEPARATOR+set}" != set; then
7017 echo "#! /bin/sh" >conf$$.sh
7018 echo "exit 0" >>conf$$.sh
7020 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7028 # Support unset when possible.
7029 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7037 # We need space, tab and new line, in precisely that order. Quoting is
7038 # there to prevent editors from complaining about space-tab.
7039 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7040 # splitting by setting IFS to empty value.)
7045 # Find who we are. Look in the path if we contain no directory separator.
7047 *[\\/]* ) as_myself
=$0 ;;
7048 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir
=.
7053 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7059 # We did not find ourselves, most probably we were run as `sh COMMAND'
7060 # in which case we are not to be found in the path.
7061 if test "x$as_myself" = x
; then
7064 if test ! -f "$as_myself"; then
7065 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7066 { (exit 1); exit 1; }
7069 # Work around bugs in pre-3.0 UWIN ksh.
7070 for as_var
in ENV MAIL MAILPATH
7071 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7079 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7080 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7081 LC_TELEPHONE LC_TIME
7083 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7084 eval $as_var=C
; export $as_var
7086 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7090 # Required to use basename.
7091 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7092 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7098 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7099 as_basename
=basename
7105 # Name of the executable.
7106 as_me
=`$as_basename -- "$0" ||
7107 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7108 X"$0" : 'X\(//\)$' \| \
7109 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7111 sed '/^.*\/\([^/][^/]*\)\/*$/{
7132 test "x$as_lineno_1" != "x$as_lineno_2" &&
7133 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7135 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7136 # uniformly replaced by the line number. The first 'sed' inserts a
7137 # line-number line after each line using $LINENO; the second 'sed'
7138 # does the real work. The second script uses 'N' to pair each
7139 # line-number line with the line containing $LINENO, and appends
7140 # trailing '-' during substitution so that $LINENO is not a special
7142 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7143 # scripts with optimization help from Paolo Bonzini. Blame Lee
7144 # E. McMahon (1931-1989) for sed's syntax. :-)
7156 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7160 chmod +x
"$as_me.lineno" ||
7161 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7162 { (exit 1); exit 1; }; }
7164 # Don't try to exec as it changes $[0], causing all sort of problems
7165 # (the dirname of $[0] is not the place where we might find the
7166 # original and so on. Autoconf is especially sensitive to this).
7168 # Exit status is that of the last command.
7173 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7179 ECHO_C
= ECHO_N
= ECHO_T
=
7182 case `echo 'x\c'` in
7183 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7190 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7191 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7197 rm -f conf$$ conf$$.exe conf$$.
file
7198 if test -d conf$$.dir
; then
7199 rm -f conf$$.dir
/conf$$.
file
7205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7207 # ... but there are two gotchas:
7208 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7209 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7210 # In both cases, we have to default to `cp -p'.
7211 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7218 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7219 rmdir conf$$.dir
2>/dev
/null
7221 if mkdir
-p .
2>/dev
/null
; then
7224 test -d .
/-p && rmdir .
/-p
7228 if test -x / >/dev
/null
2>&1; then
7231 if ls -dL / >/dev
/null
2>&1; then
7238 if test -d "$1"; then
7244 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7245 ???[sx]*):;;*)false;;esac;fi
7249 as_executable_p
=$as_test_x
7251 # Sed expression to map a string onto a valid CPP name.
7252 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7254 # Sed expression to map a string onto a valid variable name.
7255 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7260 # Save the log message, to keep $[0] and so on meaningful, and to
7261 # report actual input values of CONFIG_FILES etc. instead of their
7262 # values after options handling.
7264 This file was extended by $as_me, which was
7265 generated by GNU Autoconf 2.61. Invocation command line was
7267 CONFIG_FILES = $CONFIG_FILES
7268 CONFIG_HEADERS = $CONFIG_HEADERS
7269 CONFIG_LINKS = $CONFIG_LINKS
7270 CONFIG_COMMANDS = $CONFIG_COMMANDS
7273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7278 cat >>$CONFIG_STATUS <<_ACEOF
7279 # Files that config.status was made for.
7280 config_files="$ac_config_files"
7281 config_headers="$ac_config_headers"
7285 cat >>$CONFIG_STATUS <<\_ACEOF
7287 \`$as_me' instantiates files from templates according to the
7288 current configuration.
7290 Usage: $0 [OPTIONS] [FILE]...
7292 -h, --help print this help, then exit
7293 -V, --version print version number and configuration settings, then exit
7294 -q, --quiet do not print progress messages
7295 -d, --debug don't remove temporary files
7296 --recheck update $as_me by reconfiguring in the same conditions
7297 --file=FILE[:TEMPLATE]
7298 instantiate the configuration file FILE
7299 --header=FILE[:TEMPLATE]
7300 instantiate the configuration header FILE
7302 Configuration files:
7305 Configuration headers:
7308 Report bugs to <bug-autoconf@gnu.org>."
7311 cat >>$CONFIG_STATUS <<_ACEOF
7314 configured by $0, generated by GNU Autoconf 2.61,
7315 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7317 Copyright (C) 2006 Free Software Foundation, Inc.
7318 This config.status script is free software; the Free Software Foundation
7319 gives unlimited permission to copy, distribute and modify it."
7326 cat >>$CONFIG_STATUS <<\_ACEOF
7327 # If no file are specified by the user, then we need to provide default
7328 # value. By we need to know if files were specified by the user.
7334 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7335 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7346 # Handling of the options.
7347 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7349 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7350 echo "$ac_cs_version"; exit ;;
7351 --debug |
--debu |
--deb |
--de |
--d |
-d )
7353 --file |
--fil |
--fi |
--f )
7355 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7356 ac_need_defaults
=false
;;
7357 --header |
--heade |
--head |
--hea )
7359 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7360 ac_need_defaults
=false
;;
7362 # Conflict between --help and --header
7363 { echo "$as_me: error: ambiguous option: $1
7364 Try \`$0 --help' for more information." >&2
7365 { (exit 1); exit 1; }; };;
7366 --help |
--hel |
-h )
7367 echo "$ac_cs_usage"; exit ;;
7368 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7369 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7373 -*) { echo "$as_me: error: unrecognized option: $1
7374 Try \`$0 --help' for more information." >&2
7375 { (exit 1); exit 1; }; } ;;
7377 *) ac_config_targets
="$ac_config_targets $1"
7378 ac_need_defaults
=false
;;
7384 ac_configure_extra_args
=
7386 if $ac_cs_silent; then
7388 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7392 cat >>$CONFIG_STATUS <<_ACEOF
7393 if \$ac_cs_recheck; then
7394 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7397 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7401 cat >>$CONFIG_STATUS <<\_ACEOF
7405 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7406 ## Running $as_me. ##
7412 cat >>$CONFIG_STATUS <<_ACEOF
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7417 # Handling of arguments.
7418 for ac_config_target
in $ac_config_targets
7420 case $ac_config_target in
7421 "opal_inc.mak") CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
7422 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7423 "include/opal/buildopts.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
7424 "opal.pc") CONFIG_FILES
="$CONFIG_FILES opal.pc" ;;
7425 "opal.spec") CONFIG_FILES
="$CONFIG_FILES opal.spec" ;;
7426 "opal_cfg.dxy") CONFIG_FILES
="$CONFIG_FILES opal_cfg.dxy" ;;
7427 "src/codec/speex/libspeex/speex_config_types.h") CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
7429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7431 { (exit 1); exit 1; }; };;
7436 # If the user did not use the arguments to specify the items to instantiate,
7437 # then the envvar interface is used. Set only those that are not.
7438 # We use the long form for the default assignment because of an extremely
7439 # bizarre bug on SunOS 4.1.3.
7440 if $ac_need_defaults; then
7441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7445 # Have a temporary directory for convenience. Make it in the build tree
7446 # simply because there is no reason against having it here, and in addition,
7447 # creating and moving files from /tmp can sometimes cause problems.
7448 # Hook for its removal unless debugging.
7449 # Note that there is a small window in which the directory will not be cleaned:
7450 # after its creation but before its name has been assigned to `$tmp'.
7454 trap 'exit_status=$?
7455 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7457 trap '{ (exit 1); exit 1; }' 1 2 13 15
7459 # Create a (secure) tmp directory for tmp files.
7462 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7463 test -n "$tmp" && test -d "$tmp"
7466 tmp
=.
/conf$$
-$RANDOM
7467 (umask 077 && mkdir
"$tmp")
7470 echo "$me: cannot create a temporary directory in ." >&2
7471 { (exit 1); exit 1; }
7475 # Set up the sed scripts for CONFIG_FILES section.
7478 # No need to generate the scripts if there are no CONFIG_FILES.
7479 # This happens for instance when ./config.status config.h
7480 if test -n "$CONFIG_FILES"; then
7487 for ac_last_try
in false false false false false
:; do
7488 cat >conf$
$subs.
sed <<_ACEOF
7489 SHELL!$SHELL$ac_delim
7490 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7491 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7492 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7493 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7494 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7495 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7496 exec_prefix!$exec_prefix$ac_delim
7497 prefix!$prefix$ac_delim
7498 program_transform_name!$program_transform_name$ac_delim
7499 bindir!$bindir$ac_delim
7500 sbindir!$sbindir$ac_delim
7501 libexecdir!$libexecdir$ac_delim
7502 datarootdir!$datarootdir$ac_delim
7503 datadir!$datadir$ac_delim
7504 sysconfdir!$sysconfdir$ac_delim
7505 sharedstatedir!$sharedstatedir$ac_delim
7506 localstatedir!$localstatedir$ac_delim
7507 includedir!$includedir$ac_delim
7508 oldincludedir!$oldincludedir$ac_delim
7509 docdir!$docdir$ac_delim
7510 infodir!$infodir$ac_delim
7511 htmldir!$htmldir$ac_delim
7512 dvidir!$dvidir$ac_delim
7513 pdfdir!$pdfdir$ac_delim
7514 psdir!$psdir$ac_delim
7515 libdir!$libdir$ac_delim
7516 localedir!$localedir$ac_delim
7517 mandir!$mandir$ac_delim
7519 ECHO_C!$ECHO_C$ac_delim
7520 ECHO_N!$ECHO_N$ac_delim
7521 ECHO_T!$ECHO_T$ac_delim
7523 build_alias!$build_alias$ac_delim
7524 host_alias!$host_alias$ac_delim
7525 target_alias!$target_alias$ac_delim
7527 CFLAGS!$CFLAGS$ac_delim
7528 LDFLAGS!$LDFLAGS$ac_delim
7529 CPPFLAGS!$CPPFLAGS$ac_delim
7530 ac_ct_CC!$ac_ct_CC$ac_delim
7531 EXEEXT!$EXEEXT$ac_delim
7532 OBJEXT!$OBJEXT$ac_delim
7534 CXXFLAGS!$CXXFLAGS$ac_delim
7535 ac_ct_CXX!$ac_ct_CXX$ac_delim
7536 OPALDIR!$OPALDIR$ac_delim
7537 INSTALLPREFIX!$INSTALLPREFIX$ac_delim
7538 LIBDIR!$LIBDIR$ac_delim
7539 OPAL_VERSION!$OPAL_VERSION$ac_delim
7540 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
7541 PWLIBDIR!$PWLIBDIR$ac_delim
7542 GCC_HAS_CLZ!$GCC_HAS_CLZ$ac_delim
7545 EGREP!$EGREP$ac_delim
7546 SIZE16!$SIZE16$ac_delim
7547 SIZE32!$SIZE32$ac_delim
7548 OPAL_SYSTEM_SPEEX!$OPAL_SYSTEM_SPEEX$ac_delim
7549 OPAL_HAVE_SPEEX_SPEEX_H!$OPAL_HAVE_SPEEX_SPEEX_H$ac_delim
7550 OPAL_AUDIO!$OPAL_AUDIO$ac_delim
7551 OPAL_VIDEO!$OPAL_VIDEO$ac_delim
7552 OPAL_SIP!$OPAL_SIP$ac_delim
7553 OPAL_H323!$OPAL_H323$ac_delim
7554 OPAL_IAX2!$OPAL_IAX2$ac_delim
7555 OPAL_H224!$OPAL_H224$ac_delim
7556 OPAL_T38FAX!$OPAL_T38FAX$ac_delim
7557 OPAL_H450!$OPAL_H450$ac_delim
7558 OPAL_H460!$OPAL_H460$ac_delim
7559 OPAL_LID!$OPAL_LID$ac_delim
7560 OPAL_IVR!$OPAL_IVR$ac_delim
7561 OPAL_RFC4175!$OPAL_RFC4175$ac_delim
7562 OPAL_ZRTP!$OPAL_ZRTP$ac_delim
7563 HAS_LIBZRTP!$HAS_LIBZRTP$ac_delim
7564 OPAL_SRTP!$OPAL_SRTP$ac_delim
7565 HAS_LIBSRTP!$HAS_LIBSRTP$ac_delim
7566 STDCCFLAGS!$STDCCFLAGS$ac_delim
7567 ENDLDLIBS!$ENDLDLIBS$ac_delim
7568 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7569 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7570 INSTALL_DATA!$INSTALL_DATA$ac_delim
7571 subdirs!$subdirs$ac_delim
7572 LIBOBJS!$LIBOBJS$ac_delim
7573 LTLIBOBJS!$LTLIBOBJS$ac_delim
7576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
7578 elif $ac_last_try; then
7579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7581 { (exit 1); exit 1; }; }
7583 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7587 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7588 if test -n "$ac_eof"; then
7589 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7590 ac_eof
=`expr $ac_eof + 1`
7593 cat >>$CONFIG_STATUS <<_ACEOF
7594 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7599 s/^/s,@/; s/!/@,|#_!!_#|/
7602 s/'"$ac_delim"'$/,g/; t
7604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7605 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7606 rm -f conf$
$subs.
sed
7607 cat >>$CONFIG_STATUS <<_ACEOF
7614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7616 # trailing colons and then remove the whole line if VPATH becomes empty
7617 # (actually we leave an empty line to preserve line numbers).
7618 if test "x$srcdir" = x.
; then
7619 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7623 s/^\([^=]*=[ ]*\):*/\1/
7629 cat >>$CONFIG_STATUS <<\_ACEOF
7630 fi # test -n "$CONFIG_FILES"
7633 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
7636 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7638 case $ac_mode$ac_tag in
7640 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7641 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7642 { (exit 1); exit 1; }; };;
7643 :[FH
]-) ac_tag
=-:-;;
7644 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7661 -) ac_f
="$tmp/stdin";;
7662 *) # Look for the file first in the build tree, then in the source tree
7663 # (if the path is not absolute). The absolute path cannot be DOS-style,
7664 # because $ac_f cannot contain `:'.
7668 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7670 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7671 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7672 { (exit 1); exit 1; }; };;
7674 ac_file_inputs
="$ac_file_inputs $ac_f"
7677 # Let's still pretend it is `configure' which instantiates (i.e., don't
7678 # use $as_me), people would be surprised to read:
7679 # /* config.h. Generated by config.status. */
7680 configure_input
="Generated from "`IFS=:
7681 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7682 if test x
"$ac_file" != x-
; then
7683 configure_input
="$ac_file. $configure_input"
7684 { echo "$as_me:$LINENO: creating $ac_file" >&5
7685 echo "$as_me: creating $ac_file" >&6;}
7689 *:-:* |
*:-) cat >"$tmp/stdin";;
7694 ac_dir
=`$as_dirname -- "$ac_file" ||
7695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7696 X"$ac_file" : 'X\(//\)[^/]' \| \
7697 X"$ac_file" : 'X\(//\)$' \| \
7698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7719 -*) as_dir
=.
/$as_dir;;
7721 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7725 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7726 *) as_qdir
=$as_dir;;
7728 as_dirs
="'$as_qdir' $as_dirs"
7729 as_dir
=`$as_dirname -- "$as_dir" ||
7730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7731 X"$as_dir" : 'X\(//\)[^/]' \| \
7732 X"$as_dir" : 'X\(//\)$' \| \
7733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7752 test -d "$as_dir" && break
7754 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7755 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7756 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7757 { (exit 1); exit 1; }; }; }
7761 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7763 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7764 # A ".." for each directory in $ac_dir_suffix.
7765 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7766 case $ac_top_builddir_sub in
7767 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7768 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7771 ac_abs_top_builddir
=$ac_pwd
7772 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7773 # for backward compatibility:
7774 ac_top_builddir
=$ac_top_build_prefix
7777 .
) # We are building in place.
7779 ac_top_srcdir
=$ac_top_builddir_sub
7780 ac_abs_top_srcdir
=$ac_pwd ;;
7781 [\\/]* | ?
:[\\/]* ) # Absolute name.
7782 ac_srcdir
=$srcdir$ac_dir_suffix;
7783 ac_top_srcdir
=$srcdir
7784 ac_abs_top_srcdir
=$srcdir ;;
7786 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7787 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7788 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7790 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7800 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7801 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7805 cat >>$CONFIG_STATUS <<\_ACEOF
7806 # If the template does not know about datarootdir, expand it.
7807 # FIXME: This hack should be removed a few years after 2.60.
7808 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7810 case `sed -n '/datarootdir/ {
7819 ' $ac_file_inputs` in
7820 *datarootdir
*) ac_datarootdir_seen
=yes;;
7821 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7822 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7823 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7825 cat >>$CONFIG_STATUS <<_ACEOF
7826 ac_datarootdir_hack='
7827 s&@datadir@&$datadir&g
7828 s&@docdir@&$docdir&g
7829 s&@infodir@&$infodir&g
7830 s&@localedir@&$localedir&g
7831 s&@mandir@&$mandir&g
7832 s&\\\${datarootdir}&$datarootdir&g' ;;
7836 # Neutralize VPATH when `$srcdir' = `.'.
7837 # Shell code in configure.ac might set extrasub.
7838 # FIXME: do we really want to maintain this feature?
7839 cat >>$CONFIG_STATUS <<_ACEOF
7843 cat >>$CONFIG_STATUS <<\_ACEOF
7845 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7846 s
&@configure_input@
&$configure_input&;t t
7847 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7848 s
&@srcdir@
&$ac_srcdir&;t t
7849 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7850 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7851 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7852 s
&@builddir@
&$ac_builddir&;t t
7853 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7854 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7855 s
&@INSTALL@
&$ac_INSTALL&;t t
7856 $ac_datarootdir_hack
7857 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7859 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7860 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7861 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7862 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7863 which seems to be undefined. Please make sure it is defined." >&5
7864 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7865 which seems to be undefined. Please make sure it is defined." >&2;}
7869 -) cat "$tmp/out"; rm -f "$tmp/out";;
7870 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7879 # Transform confdefs.h into a sed script `conftest.defines', that
7880 # substitutes the proper values into config.h.in to produce config.h.
7881 rm -f conftest.defines conftest.
tail
7882 # First, append a space to every undef/define line, to ease matching.
7883 echo 's/$/ /' >conftest.defines
7884 # Then, protect against being on the right side of a sed subst, or in
7885 # an unquoted here document, in config.status. If some macros were
7886 # called several times there might be several #defines for the same
7887 # symbol, which is useless. But do not sort them, since the last
7888 # AC_DEFINE must be honored.
7889 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7890 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7891 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7892 # PARAMS is the parameter list in the macro definition--in most cases, it's
7893 # just an empty string.
7894 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7895 ac_dB
='\\)[ (].*,\\1define\\2'
7903 s/^[ ]*#[ ]*define[ ][ ]*//
7908 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7909 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7910 ' >>conftest.defines
7912 # Remove the space that was appended to ease matching.
7913 # Then replace #undef with comments. This is necessary, for
7914 # example, in the case of _POSIX_SOURCE, which is predefined and required
7915 # on some systems where configure will not decide to define it.
7916 # (The regexp can be short, since the line contains either #define or #undef.)
7918 s,^[ #]*u.*,/* & */,' >>conftest.defines
7920 # Break up conftest.defines:
7923 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7924 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7925 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7927 ac_in
='$ac_file_inputs'
7928 ac_out
='"$tmp/out1"'
7929 ac_nxt
='"$tmp/out2"'
7933 # Write a here document:
7934 cat >>$CONFIG_STATUS <<_ACEOF
7935 # First, check the format of the line:
7936 cat >"\$tmp/defines.sed" <<\\CEOF
7937 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7938 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7942 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7944 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7945 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7946 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7947 grep . conftest.
tail >/dev
/null ||
break
7948 rm -f conftest.defines
7949 mv conftest.
tail conftest.defines
7951 rm -f conftest.defines conftest.
tail
7953 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7954 cat >>$CONFIG_STATUS <<\_ACEOF
7955 if test x
"$ac_file" != x-
; then
7956 echo "/* $configure_input */" >"$tmp/config.h"
7957 cat "$ac_result" >>"$tmp/config.h"
7958 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7960 echo "$as_me: $ac_file is unchanged" >&6;}
7963 mv "$tmp/config.h" $ac_file
7966 echo "/* $configure_input */"
7978 { (exit 0); exit 0; }
7980 chmod +x
$CONFIG_STATUS
7981 ac_clean_files
=$ac_clean_files_save
7984 # configure is writing to config.log, and then calls config.status.
7985 # config.status does its own redirection, appending to config.log.
7986 # Unfortunately, on DOS this fails, as config.log is still kept open
7987 # by configure, so config.status won't be able to write to it; its
7988 # output is simply discarded. So we exec the FD to /dev/null,
7989 # effectively closing config.log, so it can be properly (re)opened and
7990 # appended to by config.status. When coming back to configure, we
7991 # need to make the FD available again.
7992 if test "$no_create" != yes; then
7994 ac_config_status_args
=
7995 test "$silent" = yes &&
7996 ac_config_status_args
="$ac_config_status_args --quiet"
7998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8001 # would make configure fail if this is the last instruction.
8002 $ac_cs_success ||
{ (exit 1); exit 1; }
8006 # CONFIG_SUBDIRS section.
8008 if test "$no_recursion" != yes; then
8010 # Remove --cache-file and --srcdir arguments so they do not pile up.
8011 ac_sub_configure_args
=
8013 eval "set x $ac_configure_args"
8017 if test -n "$ac_prev"; then
8022 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8023 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8024 ac_prev
=cache_file
;;
8025 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8026 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8029 --config-cache |
-C)
8031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8041 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8043 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8047 # Always prepend --prefix to ensure using the same prefix
8048 # in subdir configurations.
8049 ac_arg
="--prefix=$prefix"
8051 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8053 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8056 if test "$silent" = yes; then
8057 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8061 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8063 # Do not complain, so a configure script can configure whichever
8064 # parts of a large source tree are present.
8065 test -d "$srcdir/$ac_dir" ||
continue
8067 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8068 echo "$as_me:$LINENO: $ac_msg" >&5
8072 -*) as_dir
=.
/$as_dir;;
8074 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8078 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8079 *) as_qdir
=$as_dir;;
8081 as_dirs
="'$as_qdir' $as_dirs"
8082 as_dir
=`$as_dirname -- "$as_dir" ||
8083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8084 X"$as_dir" : 'X\(//\)[^/]' \| \
8085 X"$as_dir" : 'X\(//\)$' \| \
8086 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8105 test -d "$as_dir" && break
8107 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8108 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8109 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8110 { (exit 1); exit 1; }; }; }
8114 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8117 # A ".." for each directory in $ac_dir_suffix.
8118 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8119 case $ac_top_builddir_sub in
8120 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8121 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8124 ac_abs_top_builddir
=$ac_pwd
8125 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8126 # for backward compatibility:
8127 ac_top_builddir
=$ac_top_build_prefix
8130 .
) # We are building in place.
8132 ac_top_srcdir
=$ac_top_builddir_sub
8133 ac_abs_top_srcdir
=$ac_pwd ;;
8134 [\\/]* | ?
:[\\/]* ) # Absolute name.
8135 ac_srcdir
=$srcdir$ac_dir_suffix;
8136 ac_top_srcdir
=$srcdir
8137 ac_abs_top_srcdir
=$srcdir ;;
8139 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8140 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8141 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8143 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8148 # Check for guested configure; otherwise get Cygnus style configure.
8149 if test -f "$ac_srcdir/configure.gnu"; then
8150 ac_sub_configure
=$ac_srcdir/configure.gnu
8151 elif test -f "$ac_srcdir/configure"; then
8152 ac_sub_configure
=$ac_srcdir/configure
8153 elif test -f "$ac_srcdir/configure.in"; then
8154 # This should be Cygnus configure.
8155 ac_sub_configure
=$ac_aux_dir/configure
8157 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8158 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8162 # The recursion is here.
8163 if test -n "$ac_sub_configure"; then
8164 # Make the cache file name correct relative to the subdirectory.
8166 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8168 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8171 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8172 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8173 # The eval makes quoting arguments work.
8174 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8175 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8176 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8177 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8178 { (exit 1); exit 1; }; }