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
3027 REQUIRED_PWLIB_MAJOR=1
3028 REQUIRED_PWLIB_MINOR=11
3029 REQUIRED_PWLIB_BUILD=0
3035 if test "x$prefix" = "xNONE"; then
3036 INSTALLPREFIX="/usr/local"
3038 INSTALLPREFIX="${prefix}"
3049 MAJOR_VERSION=`cat ${OPALDIR}/version.h |
grep MAJOR_VERSION | cut
-f3 -d' '`
3050 MINOR_VERSION=`cat ${OPALDIR}/version.h |
grep MINOR_VERSION | cut
-f3 -d' '`
3051 BUILD_NUMBER=`cat ${OPALDIR}/version.h |
grep BUILD_NUMBER | cut
-f3 -d' '`
3052 OPAL_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
3053 cat >>confdefs.h <<_ACEOF
3054 #define OPAL_MAJOR ${MAJOR_VERSION}
3057 cat >>confdefs.h <<_ACEOF
3058 #define OPAL_MINOR ${MINOR_VERSION}
3061 cat >>confdefs.h <<_ACEOF
3062 #define OPAL_BUILD ${BUILD_NUMBER}
3065 cat >>confdefs.h <<_ACEOF
3066 #define OPAL_VERSION "$OPAL_VERSION"
3070 { echo "$as_me:$LINENO: Opal version is ${OPAL_VERSION}" >&5
3071 echo "$as_me: Opal version is ${OPAL_VERSION}" >&6;};
3073 #use to set the version in opal.pc
3077 if test "${PWLIBDIR:-unset}" != "unset" ; then
3078 as_ac_File=`echo "ac_cv_file_${PWLIBDIR}/version.h" |
$as_tr_sh`
3079 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
3080 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6; }
3081 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 test "$cross_compiling" = yes &&
3085 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3086 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3087 { (exit 1); exit 1; }; }
3088 if test -r "${PWLIBDIR}/version.h"; then
3089 eval "$as_ac_File=yes"
3091 eval "$as_ac_File=no"
3094 ac_res=`eval echo '${'$as_ac_File'}'`
3095 { echo "$as_me:$LINENO: result: $ac_res" >&5
3096 echo "${ECHO_T}$ac_res" >&6; }
3097 if test `eval echo '${'$as_ac_File'}'` = yes; then
3102 if test "${HAS_PTLIB:-unset}" = "unset" ; then
3103 as_ac_File=`echo "ac_cv_file_${OPALDIR}/../pwlib/version.h" |
$as_tr_sh`
3104 { echo "$as_me:$LINENO: checking for ${OPALDIR}/../pwlib/version.h" >&5
3105 echo $ECHO_N "checking for ${OPALDIR}/../pwlib/version.h... $ECHO_C" >&6; }
3106 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 test "$cross_compiling" = yes &&
3110 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3111 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3112 { (exit 1); exit 1; }; }
3113 if test -r "${OPALDIR}/../pwlib/version.h"; then
3114 eval "$as_ac_File=yes"
3116 eval "$as_ac_File=no"
3119 ac_res=`eval echo '${'$as_ac_File'}'`
3120 { echo "$as_me:$LINENO: result: $ac_res" >&5
3121 echo "${ECHO_T}$ac_res" >&6; }
3122 if test `eval echo '${'$as_ac_File'}'` = yes; then
3126 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3127 PWLIBDIR="${OPALDIR}/../pwlib"
3129 as_ac_File=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" |
$as_tr_sh`
3130 { echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
3131 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6; }
3132 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 test "$cross_compiling" = yes &&
3136 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3137 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3138 { (exit 1); exit 1; }; }
3139 if test -r "${HOME}/pwlib/include/ptlib.h"; then
3140 eval "$as_ac_File=yes"
3142 eval "$as_ac_File=no"
3145 ac_res=`eval echo '${'$as_ac_File'}'`
3146 { echo "$as_me:$LINENO: result: $ac_res" >&5
3147 echo "${ECHO_T}$ac_res" >&6; }
3148 if test `eval echo '${'$as_ac_File'}'` = yes; then
3152 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3153 PWLIBDIR="${HOME}/pwlib"
3155 { echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
3156 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6; }
3157 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 test "$cross_compiling" = yes &&
3161 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3162 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3163 { (exit 1); exit 1; }; }
3164 if test -r "/usr/local/include/ptlib.h"; then
3165 ac_cv_file__usr_local_include_ptlib_h=yes
3167 ac_cv_file__usr_local_include_ptlib_h=no
3170 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
3171 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6; }
3172 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
3176 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3177 # Extract the first word of "ptlib-config", so it can be a program name with args.
3178 set dummy ptlib-config; ac_word=$2
3179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3181 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 case $PTLIB_CONFIG in
3186 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in /usr/local/bin
3193 test -z "$as_dir" && as_dir=.
3194 for ac_exec_ext in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3208 if test -n "$PTLIB_CONFIG"; then
3209 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3210 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3212 { echo "$as_me:$LINENO: result: no" >&5
3213 echo "${ECHO_T}no" >&6; }
3218 { echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
3219 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6; }
3220 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 test "$cross_compiling" = yes &&
3224 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3225 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3226 { (exit 1); exit 1; }; }
3227 if test -r "/usr/include/ptlib.h"; then
3228 ac_cv_file__usr_include_ptlib_h=yes
3230 ac_cv_file__usr_include_ptlib_h=no
3233 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
3234 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6; }
3235 if test $ac_cv_file__usr_include_ptlib_h = yes; then
3239 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3240 # Extract the first word of "ptlib-config", so it can be a program name with args.
3241 set dummy ptlib-config; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 case $PTLIB_CONFIG in
3249 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in /usr/share/pwlib/make/
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3271 if test -n "$PTLIB_CONFIG"; then
3272 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3273 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3275 { echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6; }
3281 as_ac_File=`echo "ac_cv_file_${prefix}/include/ptlib.h" |
$as_tr_sh`
3282 { echo "$as_me:$LINENO: checking for ${prefix}/include/ptlib.h" >&5
3283 echo $ECHO_N "checking for ${prefix}/include/ptlib.h... $ECHO_C" >&6; }
3284 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 test "$cross_compiling" = yes &&
3288 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3289 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3290 { (exit 1); exit 1; }; }
3291 if test -r "${prefix}/include/ptlib.h"; then
3292 eval "$as_ac_File=yes"
3294 eval "$as_ac_File=no"
3297 ac_res=`eval echo '${'$as_ac_File'}'`
3298 { echo "$as_me:$LINENO: result: $ac_res" >&5
3299 echo "${ECHO_T}$ac_res" >&6; }
3300 if test `eval echo '${'$as_ac_File'}'` = yes; then
3304 if test "${HAS_PTLIB:-unset}" != "unset" ; then
3305 # Extract the first word of "ptlib-config", so it can be a program name with args.
3306 set dummy ptlib-config; ac_word=$2
3307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3309 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 case $PTLIB_CONFIG in
3314 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 for as_dir in ${prefix}/bin
3321 test -z "$as_dir" && as_dir=.
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
3336 if test -n "$PTLIB_CONFIG"; then
3337 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
3338 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
3340 { echo "$as_me:$LINENO: result: no" >&5
3341 echo "${ECHO_T}no" >&6; }
3352 if test "${HAS_PTLIB:-unset}" = "unset" ; then
3353 { { echo "$as_me:$LINENO: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&5
3354 echo "$as_me: error: \"Cannot find pwlib - please install or set PWLIBDIR and try again\"" >&2;}
3355 { (exit 1); exit 1; }; }
3358 if test "${PWLIBDIR:-unset}" = "unset" ; then
3359 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
3360 { { echo "$as_me:$LINENO: error: \"Cannot find ptlib-config - please install and try again\"" >&5
3361 echo "$as_me: error: \"Cannot find ptlib-config - please install and try again\"" >&2;}
3362 { (exit 1); exit 1; }; }
3364 PWLIBDIR=`$PTLIB_CONFIG --prefix`
3367 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
3368 PWLIBDIR="/usr/share/pwlib/"
3370 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
3371 PWLIBDIR="/usr/local/share/pwlib/"
3373 if test "x$PWLIBDIR" = "x${prefix}"; then
3374 PWLIBDIR="${prefix}/share/pwlib/"
3378 echo "PWLib prefix set to.... $PWLIBDIR"
3380 if test "${PWLIBDIR:-unset}" = "unset" ; then
3381 PWVERSION=`$PTLIB_CONFIG --version`
3382 PW_MAJOR_VERSION=`echo $PW_VERSION | cut
-d'.' -f1`
3383 PW_MINOR_VERSION=`echo $PW_VERSION | cut
-d'.' -f2`
3384 PW_BUILD_NUMBER=`echo $PW_VERSION | cut
-d'.' -f3`
3387 PW_MAJOR_VERSION=`cat ${PWLIBDIR}/version.h |
grep MAJOR_VERSION | cut
-f3 -d' '`
3388 PW_MINOR_VERSION=`cat ${PWLIBDIR}/version.h |
grep MINOR_VERSION | cut
-f3 -d' '`
3389 PW_BUILD_NUMBER=`cat ${PWLIBDIR}/version.h |
grep BUILD_NUMBER | cut
-f3 -d' '`
3390 PWVERSION="${PW_MAJOR_VERSION}.${PW_MINOR_VERSION}.${PW_BUILD_NUMBER}"
3393 # Check whether --enable-versioncheck was given.
3394 if test "${enable_versioncheck+set}" = set; then
3395 enableval=$enable_versioncheck; PWLIB_VERSION_CHECK=$enableval
3399 { echo "$as_me:$LINENO: checking Checking PWLib version ${PWVERSION}" >&5
3400 echo $ECHO_N "checking Checking PWLib version ${PWVERSION}... $ECHO_C" >&6; }
3401 if test "${PWLIB_VERSION_CHECK}x" = "nox" ; then
3402 { echo "$as_me:$LINENO: result: check disabled" >&5
3403 echo "${ECHO_T}check disabled" >&6; }
3405 if test $PW_MAJOR_VERSION -lt $REQUIRED_PWLIB_MAJOR ; then
3406 { { echo "$as_me:$LINENO: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&5
3407 echo "$as_me: error: Major version less than required $REQUIRED_PWLIB_MAJOR" >&2;}
3408 { (exit 1); exit 1; }; }
3410 if test $PW_MINOR_VERSION -lt $REQUIRED_PWLIB_MINOR ; then
3411 { { echo "$as_me:$LINENO: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&5
3412 echo "$as_me: error: Minor version less than required $REQUIRED_PWLIB_MINOR" >&2;}
3413 { (exit 1); exit 1; }; }
3415 if test $PW_BUILD_NUMBER -lt $REQUIRED_PWLIB_BUILD ; then
3416 { { echo "$as_me:$LINENO: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&5
3417 echo "$as_me: error: Build version less than required $REQUIRED_PWLIB_BUILD" >&2;}
3418 { (exit 1); exit 1; }; }
3420 { echo "$as_me:$LINENO: result: ok" >&5
3421 echo "${ECHO_T}ok" >&6; }
3427 if test x$GXX = xyes ; then
3429 gcc_version=`$CXX -dumpversion`
3430 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
3431 echo "$as_me: gcc version is $gcc_version" >&6;};
3432 GXX_MAJOR=`echo $gcc_version |
sed 's/\..*$//'`
3433 GXX_MINOR=`echo $gcc_version |
sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
3434 GXX_PATCH=`echo $gcc_version |
sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
3436 { echo "$as_me:$LINENO: checking checking if gcc version is valid" >&5
3437 echo $ECHO_N "checking checking if gcc version is valid... $ECHO_C" >&6; }
3438 if test ${GXX_MAJOR} -lt 3 ; then
3439 { echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6; }
3441 { { echo "$as_me:$LINENO: error: OPAL requires gcc version 3 or later" >&5
3442 echo "$as_me: error: OPAL requires gcc version 3 or later" >&2;}
3443 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6; }
3451 { echo "$as_me:$LINENO: checking for working bit scan intrinsic" >&5
3452 echo $ECHO_N "checking for working bit scan intrinsic... $ECHO_C" >&6; }
3455 int main(int argc, char* argv) {
3457 unsigned int val = 0x00000FF0;
3458 if (__builtin_clz(val) == 20)
3464 if test "$cross_compiling" = yes; then
3467 cat >conftest.$ac_ext <<_ACEOF
3470 cat confdefs.h >>conftest.$ac_ext
3471 cat >>conftest.$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3475 rm -f conftest$ac_exeext
3476 if { (ac_try="$ac_link"
3478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3479 *) ac_try_echo
=$ac_try;;
3481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482 (eval "$ac_link") 2>&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3486 { (case "(($ac_try" in
3487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491 (eval "$ac_try") 2>&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: program exited with status $ac_status" >&5
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3508 if test "${GCC_HAS_CLZ}" = "1" ; then
3509 { echo "$as_me:$LINENO: result: yes" >&5
3510 echo "${ECHO_T}yes" >&6; }
3511 cat >>confdefs.h <<\_ACEOF
3512 #define GCC_HAS_CLZ 1
3517 { echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6; }
3524 # Check whether --enable-localspeex was given.
3525 if test "${enable_localspeex+set}" = set; then
3526 enableval=$enable_localspeex; localspeex=$enableval
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3536 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3537 # On Suns, sometimes $CPP names a directory.
3538 if test -n "$CPP" && test -d "$CPP"; then
3541 if test -z "$CPP"; then
3542 if test "${ac_cv_prog_CPP+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 # Double quotes because CPP needs to be expanded
3546 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3549 for ac_c_preproc_warn_flag in '' yes
3551 # Use a header file that comes with gcc, so configuring glibc
3552 # with a fresh cross-compiler works.
3553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3554 # <limits.h> exists even on freestanding compilers.
3555 # On the NeXT, cc -E runs the code through the compiler's parser,
3556 # not just through cpp. "Syntax error" is here to catch this case.
3557 cat >conftest.$ac_ext <<_ACEOF
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3564 # include <limits.h>
3566 # include <assert.h>
3570 if { (ac_try="$ac_cpp conftest.$ac_ext"
3572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3573 *) ac_try_echo
=$ac_try;;
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } >/dev
/null
&& {
3583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 # Broken: fails on valid input.
3595 rm -f conftest.err conftest.
$ac_ext
3597 # OK, works on sane cases. Now check whether nonexistent headers
3598 # can be detected and how.
3599 cat >conftest.
$ac_ext <<_ACEOF
3602 cat confdefs.h
>>conftest.
$ac_ext
3603 cat >>conftest.
$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3605 #include <ac_nonexistent.h>
3607 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3615 grep -v '^ *+' conftest.er1 >conftest.err
3617 cat conftest.err >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } >/dev/null && {
3620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3621 test ! -s conftest.err
3623 # Broken: success on invalid input.
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 # Passes both tests.
3634 rm -f conftest.err conftest.$ac_ext
3637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3638 rm -f conftest.err conftest.
$ac_ext
3639 if $ac_preproc_ok; then
3651 { echo "$as_me:$LINENO: result: $CPP" >&5
3652 echo "${ECHO_T}$CPP" >&6; }
3654 for ac_c_preproc_warn_flag
in '' yes
3656 # Use a header file that comes with gcc, so configuring glibc
3657 # with a fresh cross-compiler works.
3658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3659 # <limits.h> exists even on freestanding compilers.
3660 # On the NeXT, cc -E runs the code through the compiler's parser,
3661 # not just through cpp. "Syntax error" is here to catch this case.
3662 cat >conftest.
$ac_ext <<_ACEOF
3665 cat confdefs.h
>>conftest.
$ac_ext
3666 cat >>conftest.
$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3669 # include <limits.h>
3671 # include <assert.h>
3675 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3683 grep -v '^ *+' conftest.er1 >conftest.err
3685 cat conftest.err >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); } >/dev/null && {
3688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3689 test ! -s conftest.err
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.$ac_ext >&5
3696 # Broken: fails on valid input.
3700 rm -f conftest.err conftest.$ac_ext
3702 # OK, works on sane cases. Now check whether nonexistent headers
3703 # can be detected and how.
3704 cat >conftest.$ac_ext <<_ACEOF
3707 cat confdefs.h >>conftest.$ac_ext
3708 cat >>conftest.$ac_ext <<_ACEOF
3709 /* end confdefs.h. */
3710 #include <ac_nonexistent.h>
3712 if { (ac_try="$ac_cpp conftest.$ac_ext"
3714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3715 *) ac_try_echo
=$ac_try;;
3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3720 grep -v '^ *+' conftest.er1
>conftest.err
3722 cat conftest.err
>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } >/dev
/null
&& {
3725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3726 test ! -s conftest.err
3728 # Broken: success on invalid input.
3731 echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.
$ac_ext >&5
3734 # Passes both tests.
3739 rm -f conftest.err conftest.
$ac_ext
3742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3743 rm -f conftest.err conftest.
$ac_ext
3744 if $ac_preproc_ok; then
3747 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3748 See \`config.log' for more details." >&5
3749 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3750 See \`config.log' for more details." >&2;}
3751 { (exit 1); exit 1; }; }
3755 ac_cpp
='$CPP $CPPFLAGS'
3756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3761 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3762 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3763 if test "${ac_cv_path_GREP+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 # Extract the first word of "grep ggrep" to use in msg output
3767 if test -z "$GREP"; then
3768 set dummy
grep ggrep
; ac_prog_name
=$2
3769 if test "${ac_cv_path_GREP+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 ac_path_GREP_found
=false
3773 # Loop through the user's path and test for each of PROGNAME-LIST
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_prog
in grep ggrep
; do
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3782 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3783 # Check for GNU ac_path_GREP and select it if it is found.
3784 # Check for GNU $ac_path_GREP
3785 case `"$ac_path_GREP" --version 2>&1` in
3787 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3790 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3793 cat "conftest.in" "conftest.in" >"conftest.tmp"
3794 mv "conftest.tmp" "conftest.in"
3795 cp "conftest.in" "conftest.nl"
3796 echo 'GREP' >> "conftest.nl"
3797 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3798 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3799 ac_count
=`expr $ac_count + 1`
3800 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3801 # Best one so far, save it but keep looking for a better one
3802 ac_cv_path_GREP
="$ac_path_GREP"
3803 ac_path_GREP_max
=$ac_count
3805 # 10*(2^10) chars as input seems more than enough
3806 test $ac_count -gt 10 && break
3808 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3812 $ac_path_GREP_found && break 3
3822 GREP
="$ac_cv_path_GREP"
3823 if test -z "$GREP"; then
3824 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3825 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3826 { (exit 1); exit 1; }; }
3830 ac_cv_path_GREP
=$GREP
3835 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3836 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3837 GREP
="$ac_cv_path_GREP"
3840 { echo "$as_me:$LINENO: checking for egrep" >&5
3841 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3842 if test "${ac_cv_path_EGREP+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3846 then ac_cv_path_EGREP
="$GREP -E"
3848 # Extract the first word of "egrep" to use in msg output
3849 if test -z "$EGREP"; then
3850 set dummy
egrep; ac_prog_name
=$2
3851 if test "${ac_cv_path_EGREP+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 ac_path_EGREP_found
=false
3855 # Loop through the user's path and test for each of PROGNAME-LIST
3856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3860 test -z "$as_dir" && as_dir
=.
3861 for ac_prog
in egrep; do
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3864 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3865 # Check for GNU ac_path_EGREP and select it if it is found.
3866 # Check for GNU $ac_path_EGREP
3867 case `"$ac_path_EGREP" --version 2>&1` in
3869 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3872 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3875 cat "conftest.in" "conftest.in" >"conftest.tmp"
3876 mv "conftest.tmp" "conftest.in"
3877 cp "conftest.in" "conftest.nl"
3878 echo 'EGREP' >> "conftest.nl"
3879 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3880 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3881 ac_count
=`expr $ac_count + 1`
3882 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3883 # Best one so far, save it but keep looking for a better one
3884 ac_cv_path_EGREP
="$ac_path_EGREP"
3885 ac_path_EGREP_max
=$ac_count
3887 # 10*(2^10) chars as input seems more than enough
3888 test $ac_count -gt 10 && break
3890 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3894 $ac_path_EGREP_found && break 3
3904 EGREP
="$ac_cv_path_EGREP"
3905 if test -z "$EGREP"; then
3906 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3907 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3908 { (exit 1); exit 1; }; }
3912 ac_cv_path_EGREP
=$EGREP
3918 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3919 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3920 EGREP
="$ac_cv_path_EGREP"
3923 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3924 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3925 if test "${ac_cv_header_stdc+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 cat >conftest.
$ac_ext <<_ACEOF
3931 cat confdefs.h
>>conftest.
$ac_ext
3932 cat >>conftest.
$ac_ext <<_ACEOF
3933 /* end confdefs.h. */
3947 rm -f conftest.
$ac_objext
3948 if { (ac_try
="$ac_compile"
3950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3954 (eval "$ac_compile") 2>conftest.er1
3956 grep -v '^ *+' conftest.er1 >conftest.err
3958 cat conftest.err >&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } && {
3961 test -z "$ac_c_werror_flag" ||
3962 test ! -s conftest.err
3963 } && test -s conftest.$ac_objext; then
3964 ac_cv_header_stdc=yes
3966 echo "$as_me: failed program was:" >&5
3967 sed 's/^/| /' conftest.$ac_ext >&5
3969 ac_cv_header_stdc=no
3972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974 if test $ac_cv_header_stdc = yes; then
3975 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3976 cat >conftest.$ac_ext <<_ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3986 $EGREP "memchr" >/dev/null 2>&1; then
3989 ac_cv_header_stdc=no
3995 if test $ac_cv_header_stdc = yes; then
3996 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3997 cat >conftest.$ac_ext <<_ACEOF
4000 cat confdefs.h >>conftest.$ac_ext
4001 cat >>conftest.$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4007 $EGREP "free" >/dev/null 2>&1; then
4010 ac_cv_header_stdc=no
4016 if test $ac_cv_header_stdc = yes; then
4017 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4018 if test "$cross_compiling" = yes; then
4021 cat >conftest.$ac_ext <<_ACEOF
4024 cat confdefs.h >>conftest.$ac_ext
4025 cat >>conftest.$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4029 #if ((' ' & 0x0FF) == 0x020)
4030 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4031 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4033 # define ISLOWER(c) \
4034 (('a' <= (c) && (c) <= 'i') \
4035 || ('j' <= (c) && (c) <= 'r') \
4036 || ('s' <= (c) && (c) <= 'z'))
4037 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4040 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4045 for (i = 0; i < 256; i++)
4046 if (XOR (islower (i), ISLOWER (i))
4047 || toupper (i) != TOUPPER (i))
4052 rm -f conftest$ac_exeext
4053 if { (ac_try="$ac_link"
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4059 (eval "$ac_link") 2>&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4063 { (case "(($ac_try" in
4064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4068 (eval "$ac_try") 2>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); }; }; then
4074 echo "$as_me: program exited with status $ac_status" >&5
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4079 ac_cv_header_stdc=no
4081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4087 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4088 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4089 if test $ac_cv_header_stdc = yes; then
4091 cat >>confdefs.h <<\_ACEOF
4092 #define STDC_HEADERS 1
4097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4107 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4108 inttypes.h stdint.h unistd.h
4110 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 cat >conftest.$ac_ext <<_ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h. */
4122 $ac_includes_default
4124 #include <$ac_header>
4126 rm -f conftest.$ac_objext
4127 if { (ac_try="$ac_compile"
4129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4130 *) ac_try_echo
=$ac_try;;
4132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4133 (eval "$ac_compile") 2>conftest.er1
4135 grep -v '^ *+' conftest.er1
>conftest.err
4137 cat conftest.err
>&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } && {
4140 test -z "$ac_c_werror_flag" ||
4141 test ! -s conftest.err
4142 } && test -s conftest.
$ac_objext; then
4143 eval "$as_ac_Header=yes"
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.
$ac_ext >&5
4148 eval "$as_ac_Header=no"
4151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4153 ac_res
=`eval echo '${'$as_ac_Header'}'`
4154 { echo "$as_me:$LINENO: result: $ac_res" >&5
4155 echo "${ECHO_T}$ac_res" >&6; }
4156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4157 cat >>confdefs.h
<<_ACEOF
4158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4166 { echo "$as_me:$LINENO: checking for short" >&5
4167 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
4168 if test "${ac_cv_type_short+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 cat >conftest.
$ac_ext <<_ACEOF
4174 cat confdefs.h
>>conftest.
$ac_ext
4175 cat >>conftest.
$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4177 $ac_includes_default
4178 typedef short ac__type_new_;
4182 if ((ac__type_new_ *) 0)
4184 if (sizeof (ac__type_new_))
4190 rm -f conftest.
$ac_objext
4191 if { (ac_try
="$ac_compile"
4193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_compile") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1 >conftest.err
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest.$ac_objext; then
4207 ac_cv_type_short=yes
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4218 echo "${ECHO_T}$ac_cv_type_short" >&6; }
4220 # The cast to long int works around a bug in the HP C Compiler
4221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4222 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
4223 # This bug is HP SR number 8606223364.
4224 { echo "$as_me:$LINENO: checking size of short" >&5
4225 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
4226 if test "${ac_cv_sizeof_short+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if test "$cross_compiling" = yes; then
4230 # Depending upon the size, compute the lo and hi bounds.
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4237 $ac_includes_default
4238 typedef short ac__type_sizeof_;
4242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4249 rm -f conftest.$ac_objext
4250 if { (ac_try="$ac_compile"
4252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4253 *) ac_try_echo=$ac_try;;
4255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4256 (eval "$ac_compile") 2>conftest.er1
4258 grep -v '^
*+' conftest.er1 >conftest.err
4260 cat conftest.err >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } && {
4263 test -z "$ac_c_werror_flag" ||
4264 test ! -s conftest.err
4265 } && test -s conftest.$ac_objext; then
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4274 $ac_includes_default
4275 typedef short ac__type_sizeof_;
4279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4286 rm -f conftest.$ac_objext
4287 if { (ac_try="$ac_compile"
4289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290 *) ac_try_echo=$ac_try;;
4292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4293 (eval "$ac_compile") 2>conftest.er1
4295 grep -v '^
*+' conftest.er1 >conftest.err
4297 cat conftest.err >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } && {
4300 test -z "$ac_c_werror_flag" ||
4301 test ! -s conftest.err
4302 } && test -s conftest.$ac_objext; then
4303 ac_hi=$ac_mid; break
4305 echo "$as_me: failed program was:" >&5
4306 sed 's
/^
/|
/' conftest.$ac_ext >&5
4308 ac_lo=`expr $ac_mid + 1`
4309 if test $ac_lo -le $ac_mid; then
4313 ac_mid=`expr 2 '*' $ac_mid + 1`
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 echo "$as_me: failed program was:" >&5
4320 sed 's
/^
/|
/' conftest.$ac_ext >&5
4322 cat >conftest.$ac_ext <<_ACEOF
4325 cat confdefs.h >>conftest.$ac_ext
4326 cat >>conftest.$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4328 $ac_includes_default
4329 typedef short ac__type_sizeof_;
4333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4340 rm -f conftest.$ac_objext
4341 if { (ac_try="$ac_compile"
4343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4347 (eval "$ac_compile") 2>conftest.er1
4349 grep -v '^
*+' conftest.er1 >conftest.err
4351 cat conftest.err >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } && {
4354 test -z "$ac_c_werror_flag" ||
4355 test ! -s conftest.err
4356 } && test -s conftest.$ac_objext; then
4359 cat >conftest.$ac_ext <<_ACEOF
4362 cat confdefs.h >>conftest.$ac_ext
4363 cat >>conftest.$ac_ext <<_ACEOF
4364 /* end confdefs.h. */
4365 $ac_includes_default
4366 typedef short ac__type_sizeof_;
4370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4377 rm -f conftest.$ac_objext
4378 if { (ac_try="$ac_compile"
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4384 (eval "$ac_compile") 2>conftest.er1
4386 grep -v '^
*+' conftest.er1 >conftest.err
4388 cat conftest.err >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } && {
4391 test -z "$ac_c_werror_flag" ||
4392 test ! -s conftest.err
4393 } && test -s conftest.$ac_objext; then
4394 ac_lo=$ac_mid; break
4396 echo "$as_me: failed program was:" >&5
4397 sed 's
/^
/|
/' conftest.$ac_ext >&5
4399 ac_hi=`expr '(' $ac_mid ')' - 1`
4400 if test $ac_mid -le $ac_hi; then
4404 ac_mid=`expr 2 '*' $ac_mid`
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 echo "$as_me: failed program was:" >&5
4411 sed 's
/^
/|
/' conftest.$ac_ext >&5
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 # Binary search between lo and hi bounds.
4421 while test "x$ac_lo" != "x$ac_hi"; do
4422 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4423 cat >conftest.$ac_ext <<_ACEOF
4426 cat confdefs.h >>conftest.$ac_ext
4427 cat >>conftest.$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4429 $ac_includes_default
4430 typedef short ac__type_sizeof_;
4434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4441 rm -f conftest.$ac_objext
4442 if { (ac_try="$ac_compile"
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_compile") 2>conftest.er1
4450 grep -v '^
*+' conftest.er1 >conftest.err
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } && {
4455 test -z "$ac_c_werror_flag" ||
4456 test ! -s conftest.err
4457 } && test -s conftest.$ac_objext; then
4460 echo "$as_me: failed program was:" >&5
4461 sed 's
/^
/|
/' conftest.$ac_ext >&5
4463 ac_lo=`expr '(' $ac_mid ')' + 1`
4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 ?*) ac_cv_sizeof_short=$ac_lo;;
4470 '') if test "$ac_cv_type_short" = yes; then
4471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4472 See \`config.log' for more details.
" >&5
4473 echo "$as_me: error
: cannot compute sizeof
(short
)
4474 See \
`config.log' for more details." >&2;}
4475 { (exit 77); exit 77; }; }
4477 ac_cv_sizeof_short=0
4481 cat >conftest.$ac_ext <<_ACEOF
4484 cat confdefs.h >>conftest.$ac_ext
4485 cat >>conftest.$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4487 $ac_includes_default
4488 typedef short ac__type_sizeof_;
4489 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4490 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4497 FILE *f = fopen ("conftest.val", "w");
4500 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4502 long int i = longval ();
4503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4505 fprintf (f, "%ld\n", i);
4509 unsigned long int i = ulongval ();
4510 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4512 fprintf (f, "%lu\n", i);
4514 return ferror (f) || fclose (f) != 0;
4520 rm -f conftest$ac_exeext
4521 if { (ac_try="$ac_link"
4523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4524 *) ac_try_echo
=$ac_try;;
4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4527 (eval "$ac_link") 2>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4531 { (case "(($ac_try" in
4532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_try") 2>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; }; then
4540 ac_cv_sizeof_short=`cat conftest.val
`
4542 echo "$as_me: program exited with status $ac_status" >&5
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4547 if test "$ac_cv_type_short" = yes; then
4548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4549 See \`config.log
' for more details." >&5
4550 echo "$as_me: error: cannot compute sizeof (short)
4551 See \`config.log' for more details.
" >&2;}
4552 { (exit 77); exit 77; }; }
4554 ac_cv_sizeof_short=0
4557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4561 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
4562 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
4566 cat >>confdefs.h <<_ACEOF
4567 #define SIZEOF_SHORT $ac_cv_sizeof_short
4571 { echo "$as_me:$LINENO: checking
for int
" >&5
4572 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
4573 if test "${ac_cv_type_int+set}" = set; then
4574 echo $ECHO_N "(cached
) $ECHO_C" >&6
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 $ac_includes_default
4583 typedef int ac__type_new_;
4587 if ((ac__type_new_ *) 0)
4589 if (sizeof (ac__type_new_))
4595 rm -f conftest.$ac_objext
4596 if { (ac_try="$ac_compile"
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_compile") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest.$ac_objext; then
4614 echo "$as_me: failed program was
:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
4623 echo "${ECHO_T}$ac_cv_type_int" >&6; }
4625 # The cast to long int works around a bug in the HP C Compiler
4626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4628 # This bug is HP SR number 8606223364.
4629 { echo "$as_me:$LINENO: checking size of int
" >&5
4630 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
4631 if test "${ac_cv_sizeof_int+set}" = set; then
4632 echo $ECHO_N "(cached
) $ECHO_C" >&6
4634 if test "$cross_compiling" = yes; then
4635 # Depending upon the size, compute the lo and hi bounds.
4636 cat >conftest.$ac_ext <<_ACEOF
4639 cat confdefs.h >>conftest.$ac_ext
4640 cat >>conftest.$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4642 $ac_includes_default
4643 typedef int ac__type_sizeof_;
4647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4654 rm -f conftest.$ac_objext
4655 if { (ac_try="$ac_compile"
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_compile") 2>conftest.er1
4663 grep -v '^ *+' conftest.er1 >conftest.err
4665 cat conftest.err >&5
4666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4667 (exit $ac_status); } && {
4668 test -z "$ac_c_werror_flag" ||
4669 test ! -s conftest.err
4670 } && test -s conftest.$ac_objext; then
4673 cat >conftest.$ac_ext <<_ACEOF
4676 cat confdefs.h >>conftest.$ac_ext
4677 cat >>conftest.$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4679 $ac_includes_default
4680 typedef int ac__type_sizeof_;
4684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4691 rm -f conftest.$ac_objext
4692 if { (ac_try="$ac_compile"
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_compile") 2>conftest.er1
4700 grep -v '^ *+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4704 (exit $ac_status); } && {
4705 test -z "$ac_c_werror_flag" ||
4706 test ! -s conftest.err
4707 } && test -s conftest.$ac_objext; then
4708 ac_hi=$ac_mid; break
4710 echo "$as_me: failed program was
:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 ac_lo=`expr $ac_mid + 1`
4714 if test $ac_lo -le $ac_mid; then
4718 ac_mid=`expr 2 '*' $ac_mid + 1`
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 echo "$as_me: failed program was
:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4727 cat >conftest.$ac_ext <<_ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4733 $ac_includes_default
4734 typedef int ac__type_sizeof_;
4738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4745 rm -f conftest.$ac_objext
4746 if { (ac_try="$ac_compile"
4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4749 *) ac_try_echo=$ac_try;;
4751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4752 (eval "$ac_compile") 2>conftest.er1
4754 grep -v '^ *+' conftest.er1 >conftest.err
4756 cat conftest.err >&5
4757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4758 (exit $ac_status); } && {
4759 test -z "$ac_c_werror_flag" ||
4760 test ! -s conftest.err
4761 } && test -s conftest.$ac_objext; then
4764 cat >conftest.$ac_ext <<_ACEOF
4767 cat confdefs.h >>conftest.$ac_ext
4768 cat >>conftest.$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4770 $ac_includes_default
4771 typedef int ac__type_sizeof_;
4775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4782 rm -f conftest.$ac_objext
4783 if { (ac_try="$ac_compile"
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4789 (eval "$ac_compile") 2>conftest.er1
4791 grep -v '^ *+' conftest.er1 >conftest.err
4793 cat conftest.err >&5
4794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4795 (exit $ac_status); } && {
4796 test -z "$ac_c_werror_flag" ||
4797 test ! -s conftest.err
4798 } && test -s conftest.$ac_objext; then
4799 ac_lo=$ac_mid; break
4801 echo "$as_me: failed program was
:" >&5
4802 sed 's/^/| /' conftest.$ac_ext >&5
4804 ac_hi=`expr '(' $ac_mid ')' - 1`
4805 if test $ac_mid -le $ac_hi; then
4809 ac_mid=`expr 2 '*' $ac_mid`
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 echo "$as_me: failed program was
:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 # Binary search between lo and hi bounds.
4826 while test "x
$ac_lo" != "x
$ac_hi"; do
4827 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4828 cat >conftest.$ac_ext <<_ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 $ac_includes_default
4835 typedef int ac__type_sizeof_;
4839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4846 rm -f conftest.$ac_objext
4847 if { (ac_try="$ac_compile"
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4853 (eval "$ac_compile") 2>conftest.er1
4855 grep -v '^ *+' conftest.er1 >conftest.err
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4859 (exit $ac_status); } && {
4860 test -z "$ac_c_werror_flag" ||
4861 test ! -s conftest.err
4862 } && test -s conftest.$ac_objext; then
4865 echo "$as_me: failed program was
:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 ac_lo=`expr '(' $ac_mid ')' + 1`
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4874 ?*) ac_cv_sizeof_int=$ac_lo;;
4875 '') if test "$ac_cv_type_int" = yes; then
4876 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
4877 See \
`config.log' for more details." >&5
4878 echo "$as_me: error: cannot compute sizeof (int)
4879 See \`config.log
' for more details." >&2;}
4880 { (exit 77); exit 77; }; }
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 $ac_includes_default
4893 typedef int ac__type_sizeof_;
4894 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4895 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4902 FILE *f = fopen ("conftest.val", "w");
4905 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4907 long int i = longval ();
4908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4910 fprintf (f, "%ld\n", i);
4914 unsigned long int i = ulongval ();
4915 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4917 fprintf (f, "%lu\n", i);
4919 return ferror (f) || fclose (f) != 0;
4925 rm -f conftest$ac_exeext
4926 if { (ac_try="$ac_link"
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_link") 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4936 { (case "(($ac_try" in
4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941 (eval "$ac_try") 2>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; }; then
4945 ac_cv_sizeof_int=`cat conftest.val`
4947 echo "$as_me: program exited with status $ac_status" >&5
4948 echo "$as_me: failed program was:" >&5
4949 sed 's
/^
/|
/' conftest.$ac_ext >&5
4952 if test "$ac_cv_type_int" = yes; then
4953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4954 See \`config.log' for more details.
" >&5
4955 echo "$as_me: error
: cannot compute sizeof
(int
)
4956 See \
`config.log' for more details." >&2;}
4957 { (exit 77); exit 77; }; }
4962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4966 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4967 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
4971 cat >>confdefs.h <<_ACEOF
4972 #define SIZEOF_INT $ac_cv_sizeof_int
4976 { echo "$as_me:$LINENO: checking for long" >&5
4977 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
4978 if test "${ac_cv_type_long+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 cat >conftest.$ac_ext <<_ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4987 $ac_includes_default
4988 typedef long ac__type_new_;
4992 if ((ac__type_new_ *) 0)
4994 if (sizeof (ac__type_new_))
5000 rm -f conftest.$ac_objext
5001 if { (ac_try="$ac_compile"
5003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5004 *) ac_try_echo
=$ac_try;;
5006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5007 (eval "$ac_compile") 2>conftest.er1
5009 grep -v '^ *+' conftest.er1
>conftest.err
5011 cat conftest.err
>&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } && {
5014 test -z "$ac_c_werror_flag" ||
5015 test ! -s conftest.err
5016 } && test -s conftest.
$ac_objext; then
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.
$ac_ext >&5
5025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5028 echo "${ECHO_T}$ac_cv_type_long" >&6; }
5030 # The cast to long int works around a bug in the HP C Compiler
5031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5033 # This bug is HP SR number 8606223364.
5034 { echo "$as_me:$LINENO: checking size of long" >&5
5035 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5036 if test "${ac_cv_sizeof_long+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 if test "$cross_compiling" = yes; then
5040 # Depending upon the size, compute the lo and hi bounds.
5041 cat >conftest.
$ac_ext <<_ACEOF
5044 cat confdefs.h
>>conftest.
$ac_ext
5045 cat >>conftest.
$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 $ac_includes_default
5048 typedef long ac__type_sizeof_;
5052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5059 rm -f conftest.
$ac_objext
5060 if { (ac_try
="$ac_compile"
5062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_compile") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1 >conftest.err
5070 cat conftest.err >&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest.$ac_objext; then
5078 cat >conftest.$ac_ext <<_ACEOF
5081 cat confdefs.h >>conftest.$ac_ext
5082 cat >>conftest.$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5084 $ac_includes_default
5085 typedef long ac__type_sizeof_;
5089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5096 rm -f conftest.$ac_objext
5097 if { (ac_try="$ac_compile"
5099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5100 *) ac_try_echo
=$ac_try;;
5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103 (eval "$ac_compile") 2>conftest.er1
5105 grep -v '^ *+' conftest.er1
>conftest.err
5107 cat conftest.err
>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } && {
5110 test -z "$ac_c_werror_flag" ||
5111 test ! -s conftest.err
5112 } && test -s conftest.
$ac_objext; then
5113 ac_hi
=$ac_mid; break
5115 echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.
$ac_ext >&5
5118 ac_lo
=`expr $ac_mid + 1`
5119 if test $ac_lo -le $ac_mid; then
5123 ac_mid
=`expr 2 '*' $ac_mid + 1`
5126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.
$ac_ext >&5
5132 cat >conftest.
$ac_ext <<_ACEOF
5135 cat confdefs.h
>>conftest.
$ac_ext
5136 cat >>conftest.
$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5138 $ac_includes_default
5139 typedef long ac__type_sizeof_;
5143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5150 rm -f conftest.
$ac_objext
5151 if { (ac_try
="$ac_compile"
5153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5157 (eval "$ac_compile") 2>conftest.er1
5159 grep -v '^ *+' conftest.er1 >conftest.err
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } && {
5164 test -z "$ac_c_werror_flag" ||
5165 test ! -s conftest.err
5166 } && test -s conftest.$ac_objext; then
5169 cat >conftest.$ac_ext <<_ACEOF
5172 cat confdefs.h >>conftest.$ac_ext
5173 cat >>conftest.$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5175 $ac_includes_default
5176 typedef long ac__type_sizeof_;
5180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5187 rm -f conftest.$ac_objext
5188 if { (ac_try="$ac_compile"
5190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5191 *) ac_try_echo
=$ac_try;;
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_compile") 2>conftest.er1
5196 grep -v '^ *+' conftest.er1
>conftest.err
5198 cat conftest.err
>&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } && {
5201 test -z "$ac_c_werror_flag" ||
5202 test ! -s conftest.err
5203 } && test -s conftest.
$ac_objext; then
5204 ac_lo
=$ac_mid; break
5206 echo "$as_me: failed program was:" >&5
5207 sed 's/^/| /' conftest.
$ac_ext >&5
5209 ac_hi
=`expr '(' $ac_mid ')' - 1`
5210 if test $ac_mid -le $ac_hi; then
5214 ac_mid
=`expr 2 '*' $ac_mid`
5217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5230 # Binary search between lo and hi bounds.
5231 while test "x$ac_lo" != "x$ac_hi"; do
5232 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5233 cat >conftest.
$ac_ext <<_ACEOF
5236 cat confdefs.h
>>conftest.
$ac_ext
5237 cat >>conftest.
$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5239 $ac_includes_default
5240 typedef long ac__type_sizeof_;
5244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5251 rm -f conftest.
$ac_objext
5252 if { (ac_try
="$ac_compile"
5254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_compile") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1 >conftest.err
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } && {
5265 test -z "$ac_c_werror_flag" ||
5266 test ! -s conftest.err
5267 } && test -s conftest.$ac_objext; then
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5273 ac_lo=`expr '(' $ac_mid ')' + 1`
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279 ?*) ac_cv_sizeof_long=$ac_lo;;
5280 '') if test "$ac_cv_type_long" = yes; then
5281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5282 See \`config.log
' for more details." >&5
5283 echo "$as_me: error: cannot compute sizeof (long)
5284 See \`config.log' for more details.
" >&2;}
5285 { (exit 77); exit 77; }; }
5291 cat >conftest.$ac_ext <<_ACEOF
5294 cat confdefs.h >>conftest.$ac_ext
5295 cat >>conftest.$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 $ac_includes_default
5298 typedef long ac__type_sizeof_;
5299 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5300 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5307 FILE *f = fopen ("conftest.val
", "w
");
5310 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5312 long int i = longval ();
5313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5315 fprintf (f, "%ld
\n", i);
5319 unsigned long int i = ulongval ();
5320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5322 fprintf (f, "%lu
\n", i);
5324 return ferror (f) || fclose (f) != 0;
5330 rm -f conftest$ac_exeext
5331 if { (ac_try="$ac_link"
5333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5337 (eval "$ac_link") 2>&5
5339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5341 { (case "(($ac_try" in
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5346 (eval "$ac_try") 2>&5
5348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_cv_sizeof_long=`cat conftest.val`
5352 echo "$as_me: program exited with status
$ac_status" >&5
5353 echo "$as_me: failed program was
:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5357 if test "$ac_cv_type_long" = yes; then
5358 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
5359 See \
`config.log' for more details." >&5
5360 echo "$as_me: error: cannot compute sizeof (long)
5361 See \`config.log
' for more details." >&2;}
5362 { (exit 77); exit 77; }; }
5367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5371 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5372 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5376 cat >>confdefs.h <<_ACEOF
5377 #define SIZEOF_LONG $ac_cv_sizeof_long
5381 { echo "$as_me:$LINENO: checking for long long" >&5
5382 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5383 if test "${ac_cv_type_long_long+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5392 $ac_includes_default
5393 typedef long long ac__type_new_;
5397 if ((ac__type_new_ *) 0)
5399 if (sizeof (ac__type_new_))
5405 rm -f conftest.$ac_objext
5406 if { (ac_try="$ac_compile"
5408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_compile") 2>conftest.er1
5414 grep -v '^
*+' conftest.er1 >conftest.err
5416 cat conftest.err >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } && {
5419 test -z "$ac_c_werror_flag" ||
5420 test ! -s conftest.err
5421 } && test -s conftest.$ac_objext; then
5422 ac_cv_type_long_long=yes
5424 echo "$as_me: failed program was:" >&5
5425 sed 's
/^
/|
/' conftest.$ac_ext >&5
5427 ac_cv_type_long_long=no
5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5433 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5435 # The cast to long int works around a bug in the HP C Compiler
5436 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5437 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5438 # This bug is HP SR number 8606223364.
5439 { echo "$as_me:$LINENO: checking size of long long" >&5
5440 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
5441 if test "${ac_cv_sizeof_long_long+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 if test "$cross_compiling" = yes; then
5445 # Depending upon the size, compute the lo and hi bounds.
5446 cat >conftest.
$ac_ext <<_ACEOF
5449 cat confdefs.h
>>conftest.
$ac_ext
5450 cat >>conftest.
$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5452 $ac_includes_default
5453 typedef long long ac__type_sizeof_;
5457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5464 rm -f conftest.
$ac_objext
5465 if { (ac_try
="$ac_compile"
5467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5471 (eval "$ac_compile") 2>conftest.er1
5473 grep -v '^ *+' conftest.er1 >conftest.err
5475 cat conftest.err >&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } && {
5478 test -z "$ac_c_werror_flag" ||
5479 test ! -s conftest.err
5480 } && test -s conftest.$ac_objext; then
5483 cat >conftest.$ac_ext <<_ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5489 $ac_includes_default
5490 typedef long long ac__type_sizeof_;
5494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5501 rm -f conftest.$ac_objext
5502 if { (ac_try="$ac_compile"
5504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5505 *) ac_try_echo
=$ac_try;;
5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 (eval "$ac_compile") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1
>conftest.err
5512 cat conftest.err
>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } && {
5515 test -z "$ac_c_werror_flag" ||
5516 test ! -s conftest.err
5517 } && test -s conftest.
$ac_objext; then
5518 ac_hi
=$ac_mid; break
5520 echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.
$ac_ext >&5
5523 ac_lo
=`expr $ac_mid + 1`
5524 if test $ac_lo -le $ac_mid; then
5528 ac_mid
=`expr 2 '*' $ac_mid + 1`
5531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.
$ac_ext >&5
5537 cat >conftest.
$ac_ext <<_ACEOF
5540 cat confdefs.h
>>conftest.
$ac_ext
5541 cat >>conftest.
$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5543 $ac_includes_default
5544 typedef long long ac__type_sizeof_;
5548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5555 rm -f conftest.
$ac_objext
5556 if { (ac_try
="$ac_compile"
5558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5559 *) ac_try_echo=$ac_try;;
5561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5562 (eval "$ac_compile") 2>conftest.er1
5564 grep -v '^ *+' conftest.er1 >conftest.err
5566 cat conftest.err >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } && {
5569 test -z "$ac_c_werror_flag" ||
5570 test ! -s conftest.err
5571 } && test -s conftest.$ac_objext; then
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5581 typedef long long ac__type_sizeof_;
5585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5592 rm -f conftest.$ac_objext
5593 if { (ac_try="$ac_compile"
5595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5596 *) ac_try_echo
=$ac_try;;
5598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5599 (eval "$ac_compile") 2>conftest.er1
5601 grep -v '^ *+' conftest.er1
>conftest.err
5603 cat conftest.err
>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } && {
5606 test -z "$ac_c_werror_flag" ||
5607 test ! -s conftest.err
5608 } && test -s conftest.
$ac_objext; then
5609 ac_lo
=$ac_mid; break
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 ac_hi
=`expr '(' $ac_mid ')' - 1`
5615 if test $ac_mid -le $ac_hi; then
5619 ac_mid
=`expr 2 '*' $ac_mid`
5622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.
$ac_ext >&5
5631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5635 # Binary search between lo and hi bounds.
5636 while test "x$ac_lo" != "x$ac_hi"; do
5637 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 $ac_includes_default
5645 typedef long long ac__type_sizeof_;
5649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5656 rm -f conftest.
$ac_objext
5657 if { (ac_try
="$ac_compile"
5659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5663 (eval "$ac_compile") 2>conftest.er1
5665 grep -v '^ *+' conftest.er1 >conftest.err
5667 cat conftest.err >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } && {
5670 test -z "$ac_c_werror_flag" ||
5671 test ! -s conftest.err
5672 } && test -s conftest.$ac_objext; then
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 ac_lo=`expr '(' $ac_mid ')' + 1`
5681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 ?*) ac_cv_sizeof_long_long=$ac_lo;;
5685 '') if test "$ac_cv_type_long_long" = yes; then
5686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
5687 See \`config.log
' for more details." >&5
5688 echo "$as_me: error: cannot compute sizeof (long long)
5689 See \`config.log' for more details.
" >&2;}
5690 { (exit 77); exit 77; }; }
5692 ac_cv_sizeof_long_long=0
5696 cat >conftest.$ac_ext <<_ACEOF
5699 cat confdefs.h >>conftest.$ac_ext
5700 cat >>conftest.$ac_ext <<_ACEOF
5701 /* end confdefs.h. */
5702 $ac_includes_default
5703 typedef long long ac__type_sizeof_;
5704 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5705 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5712 FILE *f = fopen ("conftest.val
", "w
");
5715 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5717 long int i = longval ();
5718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5720 fprintf (f, "%ld
\n", i);
5724 unsigned long int i = ulongval ();
5725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5727 fprintf (f, "%lu
\n", i);
5729 return ferror (f) || fclose (f) != 0;
5735 rm -f conftest$ac_exeext
5736 if { (ac_try="$ac_link"
5738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5742 (eval "$ac_link") 2>&5
5744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5746 { (case "(($ac_try" in
5747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748 *) ac_try_echo=$ac_try;;
5750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_try") 2>&5
5753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5754 (exit $ac_status); }; }; then
5755 ac_cv_sizeof_long_long=`cat conftest.val`
5757 echo "$as_me: program exited with status
$ac_status" >&5
5758 echo "$as_me: failed program was
:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5762 if test "$ac_cv_type_long_long" = yes; then
5763 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
5764 See \
`config.log' for more details." >&5
5765 echo "$as_me: error: cannot compute sizeof (long long)
5766 See \`config.log
' for more details." >&2;}
5767 { (exit 77); exit 77; }; }
5769 ac_cv_sizeof_long_long=0
5772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5776 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5777 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
5781 cat >>confdefs.h <<_ACEOF
5782 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5788 $ac_cv_sizeof_short) SIZE16="short";;
5789 $ac_cv_sizeof_int) SIZE16="int";;
5793 $ac_cv_sizeof_int) SIZE32="int";;
5794 $ac_cv_sizeof_long) SIZE32="long";;
5795 $ac_cv_sizeof_short) SIZE32="short";;
5802 OPAL_HAVE_SPEEX_SPEEX_H=
5804 for ac_header in "speex.h"
5806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5808 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 ac_res=`eval echo '${'$as_ac_Header'}'`
5814 { echo "$as_me:$LINENO: result: $ac_res" >&5
5815 echo "${ECHO_T}$ac_res" >&6; }
5817 # Is the header compilable?
5818 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5820 cat >conftest.$ac_ext <<_ACEOF
5823 cat confdefs.h >>conftest.$ac_ext
5824 cat >>conftest.$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5826 $ac_includes_default
5827 #include <$ac_header>
5829 rm -f conftest.$ac_objext
5830 if { (ac_try="$ac_compile"
5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833 *) ac_try_echo=$ac_try;;
5835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5836 (eval "$ac_compile") 2>conftest.er1
5838 grep -v '^
*+' conftest.er1 >conftest.err
5840 cat conftest.err >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && {
5843 test -z "$ac_c_werror_flag" ||
5844 test ! -s conftest.err
5845 } && test -s conftest.$ac_objext; then
5846 ac_header_compiler=yes
5848 echo "$as_me: failed program was:" >&5
5849 sed 's
/^
/|
/' conftest.$ac_ext >&5
5851 ac_header_compiler=no
5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5855 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5856 echo "${ECHO_T}$ac_header_compiler" >&6; }
5858 # Is the header present?
5859 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5861 cat >conftest.$ac_ext <<_ACEOF
5864 cat confdefs.h >>conftest.$ac_ext
5865 cat >>conftest.$ac_ext <<_ACEOF
5866 /* end confdefs.h. */
5867 #include <$ac_header>
5869 if { (ac_try="$ac_cpp conftest.$ac_ext"
5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5877 grep -v '^
*+' conftest.er1 >conftest.err
5879 cat conftest.err >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } >/dev/null && {
5882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5885 ac_header_preproc=yes
5887 echo "$as_me: failed program was:" >&5
5888 sed 's
/^
/|
/' conftest.$ac_ext >&5
5890 ac_header_preproc=no
5893 rm -f conftest.err conftest.$ac_ext
5894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5895 echo "${ECHO_T}$ac_header_preproc" >&6; }
5897 # So? What about this header?
5898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5903 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5904 ac_header_preproc=yes
5907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5916 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 eval "$as_ac_Header=\$ac_header_preproc"
5929 ac_res=`eval echo '${'$as_ac_Header'}'`
5930 { echo "$as_me:$LINENO: result: $ac_res" >&5
5931 echo "${ECHO_T}$ac_res" >&6; }
5934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5935 cat >>confdefs.h <<_ACEOF
5936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5943 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
5944 cat >>confdefs.h <<\_ACEOF
5945 #define OPAL_HAVE_SPEEX_H 1
5950 for ac_header in "speex/speex.h"
5952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5954 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 ac_res=`eval echo '${'$as_ac_Header'}'`
5960 { echo "$as_me:$LINENO: result: $ac_res" >&5
5961 echo "${ECHO_T}$ac_res" >&6; }
5963 # Is the header compilable?
5964 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5966 cat >conftest.$ac_ext <<_ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 $ac_includes_default
5973 #include <$ac_header>
5975 rm -f conftest.$ac_objext
5976 if { (ac_try="$ac_compile"
5978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5982 (eval "$ac_compile") 2>conftest.er1
5984 grep -v '^
*+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } && {
5989 test -z "$ac_c_werror_flag" ||
5990 test ! -s conftest.err
5991 } && test -s conftest.$ac_objext; then
5992 ac_header_compiler=yes
5994 echo "$as_me: failed program was:" >&5
5995 sed 's
/^
/|
/' conftest.$ac_ext >&5
5997 ac_header_compiler=no
6000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6002 echo "${ECHO_T}$ac_header_compiler" >&6; }
6004 # Is the header present?
6005 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6007 cat >conftest.$ac_ext <<_ACEOF
6010 cat confdefs.h >>conftest.$ac_ext
6011 cat >>conftest.$ac_ext <<_ACEOF
6012 /* end confdefs.h. */
6013 #include <$ac_header>
6015 if { (ac_try="$ac_cpp conftest.$ac_ext"
6017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018 *) ac_try_echo=$ac_try;;
6020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6023 grep -v '^
*+' conftest.er1 >conftest.err
6025 cat conftest.err >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } >/dev/null && {
6028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6031 ac_header_preproc=yes
6033 echo "$as_me: failed program was:" >&5
6034 sed 's
/^
/|
/' conftest.$ac_ext >&5
6036 ac_header_preproc=no
6039 rm -f conftest.err conftest.$ac_ext
6040 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6041 echo "${ECHO_T}$ac_header_preproc" >&6; }
6043 # So? What about this header?
6044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6049 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6050 ac_header_preproc=yes
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6062 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 eval "$as_ac_Header=\$ac_header_preproc"
6075 ac_res=`eval echo '${'$as_ac_Header'}'`
6076 { echo "$as_me:$LINENO: result: $ac_res" >&5
6077 echo "${ECHO_T}$ac_res" >&6; }
6080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6081 cat >>confdefs.h <<_ACEOF
6082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6084 OPAL_HAVE_SPEEX_SPEEX_H=1
6089 if test "${OPAL_HAVE_SPEEX_SPEEX_H}x" != "x" ; then
6090 cat >>confdefs.h <<\_ACEOF
6091 #define OPAL_HAVE_SPEEX_SPEEX_H 1
6097 if test "${localspeex}" = "yes" ; then
6098 { echo "$as_me:$LINENO: Forcing use of OPAL Speex sources" >&5
6099 echo "$as_me: Forcing use of OPAL Speex sources" >&6;}
6100 elif test "${localspeex}" = "no" ; then
6101 { echo "$as_me:$LINENO: Forcing use of system Speex library" >&5
6102 echo "$as_me: Forcing use of system Speex library" >&6;}
6103 cat >>confdefs.h <<\_ACEOF
6104 #define OPAL_SYSTEM_SPEEX 1
6110 { echo "$as_me:$LINENO: checking for speex_encoder_destroy in -lspeex" >&5
6111 echo $ECHO_N "checking for speex_encoder_destroy in -lspeex... $ECHO_C" >&6; }
6112 if test "${ac_cv_lib_speex_speex_encoder_destroy+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 ac_check_lib_save_LIBS=$LIBS
6116 LIBS="-lspeex $LIBS"
6117 cat >conftest.$ac_ext <<_ACEOF
6120 cat confdefs.h >>conftest.$ac_ext
6121 cat >>conftest.$ac_ext <<_ACEOF
6122 /* end confdefs.h. */
6124 /* Override any GCC internal prototype to avoid an error.
6125 Use char because int might match the return type of a GCC
6126 builtin and then its argument prototype would still apply. */
6130 char speex_encoder_destroy ();
6134 return speex_encoder_destroy ();
6139 rm -f conftest.$ac_objext conftest$ac_exeext
6140 if { (ac_try="$ac_link"
6142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6143 *) ac_try_echo=$ac_try;;
6145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146 (eval "$ac_link") 2>conftest.er1
6148 grep -v '^
*+' conftest.er1 >conftest.err
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } && {
6153 test -z "$ac_c_werror_flag" ||
6154 test ! -s conftest.err
6155 } && test -s conftest$ac_exeext &&
6156 $as_test_x conftest$ac_exeext; then
6157 ac_cv_lib_speex_speex_encoder_destroy=yes
6159 echo "$as_me: failed program was:" >&5
6160 sed 's
/^
/|
/' conftest.$ac_ext >&5
6162 ac_cv_lib_speex_speex_encoder_destroy=no
6165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6166 conftest$ac_exeext conftest.$ac_ext
6167 LIBS=$ac_check_lib_save_LIBS
6169 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encoder_destroy" >&5
6170 echo "${ECHO_T}$ac_cv_lib_speex_speex_encoder_destroy" >&6; }
6171 if test $ac_cv_lib_speex_speex_encoder_destroy = yes; then
6175 if test "${SPEEX}x" != "x" ; then
6176 { echo "$as_me:$LINENO: checking for speex_encode_int in -lspeex" >&5
6177 echo $ECHO_N "checking for speex_encode_int in -lspeex... $ECHO_C" >&6; }
6178 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 ac_check_lib_save_LIBS=$LIBS
6182 LIBS="-lspeex $LIBS"
6183 cat >conftest.$ac_ext <<_ACEOF
6186 cat confdefs.h >>conftest.$ac_ext
6187 cat >>conftest.$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6190 /* Override any GCC internal prototype to avoid an error.
6191 Use char because int might match the return type of a GCC
6192 builtin and then its argument prototype would still apply. */
6196 char speex_encode_int ();
6200 return speex_encode_int ();
6205 rm -f conftest.$ac_objext conftest$ac_exeext
6206 if { (ac_try="$ac_link"
6208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6212 (eval "$ac_link") 2>conftest.er1
6214 grep -v '^
*+' conftest.er1 >conftest.err
6216 cat conftest.err >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest$ac_exeext &&
6222 $as_test_x conftest$ac_exeext; then
6223 ac_cv_lib_speex_speex_encode_int=yes
6225 echo "$as_me: failed program was:" >&5
6226 sed 's
/^
/|
/' conftest.$ac_ext >&5
6228 ac_cv_lib_speex_speex_encode_int=no
6231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6232 conftest$ac_exeext conftest.$ac_ext
6233 LIBS=$ac_check_lib_save_LIBS
6235 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode_int" >&5
6236 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode_int" >&6; }
6237 if test $ac_cv_lib_speex_speex_encode_int = yes; then
6244 if test "x$SPEEX" = "x" -o \( "${OPAL_HAVE_SPEEX_H}x" = "x" -a "${OPAL_HAVE_SPEEX_SPEEX_H}x" = "x" \); then
6245 { echo "$as_me:$LINENO: Forcing use of OPAL Speex library" >&5
6246 echo "$as_me: Forcing use of OPAL Speex library" >&6;}
6248 { echo "$as_me:$LINENO: checking system Speex version" >&5
6249 echo $ECHO_N "checking system Speex version... $ECHO_C" >&6; }
6250 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
6251 echo "#include <speex.h>" > t.c
6252 echo "#include <speex_header.h>" >> t.c
6254 echo "#include <speex/speex.h>" > t.c
6255 echo "#include <speex/speex_header.h>" >> t.c
6259 int main(int argc,char *argv)
6262 speex_init_header(&header, 1, 1, &speex_nb_mode);
6263 printf("%s\n", header.speex_version);
6266 cc -o t t.c -lspeex > /dev/null 2>&1
6267 if test \! -x t ; then
6268 { echo "$as_me:$LINENO: result: cannot determine - using OPAL version" >&5
6269 echo "${ECHO_T}cannot determine - using OPAL version" >&6; }
6272 { echo "$as_me:$LINENO: result: $SYSVER" >&5
6273 echo "${ECHO_T}$SYSVER" >&6; }
6274 { echo "$as_me:$LINENO: checking OPAL Speex version" >&5
6275 echo $ECHO_N "checking OPAL Speex version... $ECHO_C" >&6; }
6276 LIBVER=`grep "#define SPEEX_VERSION" ./src/codec/speex/libspeex/misc.h | sed -e 's
/^.
*[Ss
][Pp
][Ee
][Ee
][Xx
]\
-//' -e 's
/\"//' -e 's
/\
/.
*//'`
6277 { echo "$as_me:$LINENO: result: $LIBVER" >&5
6278 echo "${ECHO_T}$LIBVER" >&6; }
6279 { echo "$as_me:$LINENO: checking Speex versions" >&5
6280 echo $ECHO_N "checking Speex versions... $ECHO_C" >&6; }
6283 \$sysver = @ARGV[0];
6284 \$libver = @ARGV[1];
6285 @lib = split /\./, \$libver;
6289 @sys = split /\./, \$sysver;
6295 if (@sys[\$i] < @lib[\$i]) {
6304 SPEEX=`perl t.pl $SYSVER $LIBVER`
6306 if test "x$SPEEX" = "x0" ; then
6307 { echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
6308 echo "${ECHO_T}OPAL version is more recent" >&6; }
6310 { echo "$as_me:$LINENO: result: system version is more recent" >&5
6311 echo "${ECHO_T}system version is more recent" >&6; }
6312 cat >>confdefs.h <<\_ACEOF
6313 #define OPAL_SYSTEM_SPEEX 1
6318 { echo "$as_me:$LINENO: checking Speex noise type" >&5
6319 echo $ECHO_N "checking Speex noise type... $ECHO_C" >&6; }
6320 if test "${OPAL_HAVE_SPEEX_H}x" != "x" ; then
6321 echo "#include <speex.h>" > t.c
6322 echo "#include <speex_preprocess.h>" >> t.c
6324 echo "#include <speex/speex.h>" > t.c
6325 echo "#include <speex/speex_preprocess.h>" >> t.c
6329 int main(int argc,char *argv)
6331 struct SpeexPreprocessState *st;
6334 speex_preprocess(st, x, echo);
6338 cc -Werror -o t t.c -lspeex > /dev/null 2>&1
6339 if test \! -x t ; then
6340 { echo "$as_me:$LINENO: result: spx_int32_t" >&5
6341 echo "${ECHO_T}spx_int32_t" >&6; }
6343 { echo "$as_me:$LINENO: result: float" >&5
6344 echo "${ECHO_T}float" >&6; }
6345 cat >>confdefs.h <<\_ACEOF
6346 #define OPAL_SPEEX_FLOAT_NOISE 1
6360 # Check whether --enable-audio was given.
6361 if test "${enable_audio+set}" = set; then
6362 enableval=$enable_audio; audio=$enableval
6365 { echo "$as_me:$LINENO: checking audio codec support" >&5
6366 echo $ECHO_N "checking audio codec support... $ECHO_C" >&6; }
6367 if test "$audio" = "yes" ; then
6370 cat >>confdefs.h <<\_ACEOF
6371 #define OPAL_AUDIO 1
6374 { echo "$as_me:$LINENO: result: enabled" >&5
6375 echo "${ECHO_T}enabled" >&6; }
6377 { echo "$as_me:$LINENO: result: disabled" >&5
6378 echo "${ECHO_T}disabled" >&6; }
6384 # Check whether --enable-video was given.
6385 if test "${enable_video+set}" = set; then
6386 enableval=$enable_video; video=$enableval
6389 { echo "$as_me:$LINENO: checking video device support" >&5
6390 echo $ECHO_N "checking video device support... $ECHO_C" >&6; }
6391 if test "$video" = "yes" ; then
6394 cat >>confdefs.h <<\_ACEOF
6395 #define OPAL_VIDEO 1
6398 { echo "$as_me:$LINENO: result: enabled" >&5
6399 echo "${ECHO_T}enabled" >&6; }
6401 { echo "$as_me:$LINENO: result: disabled" >&5
6402 echo "${ECHO_T}disabled" >&6; }
6408 # Check whether --enable-sip was given.
6409 if test "${enable_sip+set}" = set; then
6410 enableval=$enable_sip; sip=$enableval
6413 { echo "$as_me:$LINENO: checking SIP protocol" >&5
6414 echo $ECHO_N "checking SIP protocol... $ECHO_C" >&6; }
6415 if test "$sip" = "yes" ; then
6418 cat >>confdefs.h <<\_ACEOF
6422 { echo "$as_me:$LINENO: result: enabled" >&5
6423 echo "${ECHO_T}enabled" >&6; }
6425 { echo "$as_me:$LINENO: result: disabled" >&5
6426 echo "${ECHO_T}disabled" >&6; }
6431 # Check whether --enable-h323 was given.
6432 if test "${enable_h323+set}" = set; then
6433 enableval=$enable_h323; h323=$enableval
6436 { echo "$as_me:$LINENO: checking H.323 protocol" >&5
6437 echo $ECHO_N "checking H.323 protocol... $ECHO_C" >&6; }
6438 if test "$h323" = "yes" ; then
6441 cat >>confdefs.h <<\_ACEOF
6445 { echo "$as_me:$LINENO: result: enabled" >&5
6446 echo "${ECHO_T}enabled" >&6; }
6450 { echo "$as_me:$LINENO: result: disabled (T.38, H.224, H.460 also disabled)" >&5
6451 echo "${ECHO_T}disabled (T.38, H.224, H.460 also disabled)" >&6; }
6455 OPAL_H323=$OPAL_H323
6460 # Check whether --enable-iax was given.
6461 if test "${enable_iax+set}" = set; then
6462 enableval=$enable_iax; iax=$enableval
6465 { echo "$as_me:$LINENO: checking IAX2 protocol" >&5
6466 echo $ECHO_N "checking IAX2 protocol... $ECHO_C" >&6; }
6467 if test "$iax" = "yes" ; then
6470 cat >>confdefs.h <<\_ACEOF
6474 { echo "$as_me:$LINENO: result: enabled" >&5
6475 echo "${ECHO_T}enabled" >&6; }
6477 { echo "$as_me:$LINENO: result: disabled" >&5
6478 echo "${ECHO_T}disabled" >&6; }
6483 # Check whether --enable-h224 was given.
6484 if test "${enable_h224+set}" = set; then
6485 enableval=$enable_h224; h224=$enableval
6488 { echo "$as_me:$LINENO: checking H224 protocol" >&5
6489 echo $ECHO_N "checking H224 protocol... $ECHO_C" >&6; }
6490 if test "$h224" = "yes" ; then
6493 cat >>confdefs.h <<\_ACEOF
6497 { echo "$as_me:$LINENO: result: enabled" >&5
6498 echo "${ECHO_T}enabled" >&6; }
6500 { echo "$as_me:$LINENO: result: disabled" >&5
6501 echo "${ECHO_T}disabled" >&6; }
6506 if test "$t38" = "yes" ; then
6507 # Check whether --enable-t38 was given.
6508 if test "${enable_t38+set}" = set; then
6509 enableval=$enable_t38; t38=$enableval
6512 { echo "$as_me:$LINENO: checking T.38 protocol" >&5
6513 echo $ECHO_N "checking T.38 protocol... $ECHO_C" >&6; }
6514 if test "$t38" = "yes" ; then
6517 cat >>confdefs.h <<\_ACEOF
6518 #define OPAL_T38FAX 1
6521 { echo "$as_me:$LINENO: result: enabled" >&5
6522 echo "${ECHO_T}enabled" >&6; }
6524 { echo "$as_me:$LINENO: result: disabled" >&5
6525 echo "${ECHO_T}disabled" >&6; }
6533 if test "$h450" = "yes" ; then
6534 # Check whether --enable-h450 was given.
6535 if test "${enable_h450+set}" = set; then
6536 enableval=$enable_h450; h450=$enableval
6539 { echo "$as_me:$LINENO: checking H.450 support" >&5
6540 echo $ECHO_N "checking H.450 support... $ECHO_C" >&6; }
6541 if test "$h450" = "yes" ; then
6544 cat >>confdefs.h <<\_ACEOF
6548 { echo "$as_me:$LINENO: result: enabled" >&5
6549 echo "${ECHO_T}enabled" >&6; }
6551 { echo "$as_me:$LINENO: result: disabled" >&5
6552 echo "${ECHO_T}disabled" >&6; }
6560 if test "$h460" = "yes" ; then
6561 # Check whether --enable-h460 was given.
6562 if test "${enable_h460+set}" = set; then
6563 enableval=$enable_h460; h460=$enableval
6566 { echo "$as_me:$LINENO: checking H.460 support" >&5
6567 echo $ECHO_N "checking H.460 support... $ECHO_C" >&6; }
6568 if test "$h460" = "yes" ; then
6571 cat >>confdefs.h <<\_ACEOF
6575 { echo "$as_me:$LINENO: result: enabled" >&5
6576 echo "${ECHO_T}enabled" >&6; }
6578 { echo "$as_me:$LINENO: result: disabled" >&5
6579 echo "${ECHO_T}disabled" >&6; }
6588 if test "$lid" = "yes" ; then
6589 # Check whether --enable-lid was given.
6590 if test "${enable_lid+set}" = set; then
6591 enableval=$enable_lid; lid=$enableval
6594 { echo "$as_me:$LINENO: checking LID support" >&5
6595 echo $ECHO_N "checking LID support... $ECHO_C" >&6; }
6596 if test "$lid" = "yes" ; then
6597 cat >>confdefs.h <<\_ACEOF
6602 { echo "$as_me:$LINENO: result: enabled" >&5
6603 echo "${ECHO_T}enabled" >&6; }
6605 { echo "$as_me:$LINENO: result: disabled" >&5
6606 echo "${ECHO_T}disabled" >&6; }
6614 if test "$ivr" = "yes" ; then
6615 # Check whether --enable-ivr was given.
6616 if test "${enable_ivr+set}" = set; then
6617 enableval=$enable_ivr; ivr=$enableval
6620 { echo "$as_me:$LINENO: checking IVR support" >&5
6621 echo $ECHO_N "checking IVR support... $ECHO_C" >&6; }
6622 if test "$ivr" = "yes" ; then
6623 cat >>confdefs.h <<\_ACEOF
6628 { echo "$as_me:$LINENO: result: enabled" >&5
6629 echo "${ECHO_T}enabled" >&6; }
6631 { echo "$as_me:$LINENO: result: disabled" >&5
6632 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
6649 cat >>confdefs.h <<\_ACEOF
6650 #define OPAL_RFC4175 1
6654 { echo "$as_me:$LINENO: result: enabled" >&5
6655 echo "${ECHO_T}enabled" >&6; }
6657 { echo "$as_me:$LINENO: result: disabled" >&5
6658 echo "${ECHO_T}disabled" >&6; }
6673 { echo "$as_me:$LINENO: checking for libSRTP" >&5
6674 echo $ECHO_N "checking for libSRTP... $ECHO_C" >&6; }
6675 cat >conftest.$ac_ext <<_ACEOF
6678 cat confdefs.h >>conftest.$ac_ext
6679 cat >>conftest.$ac_ext <<_ACEOF
6680 /* end confdefs.h. */
6681 #include "srtp/srtp.h"
6685 int main(int argc, char *argv[]) { crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; }
6690 rm -f conftest.$ac_objext
6691 if { (ac_try="$ac_compile"
6693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697 (eval "$ac_compile") 2>conftest.er1
6699 grep -v '^
*+' conftest.er1 >conftest.err
6701 cat conftest.err >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest.$ac_objext; then
6709 echo "$as_me: failed program was:" >&5
6710 sed 's
/^
/|
/' conftest.$ac_ext >&5
6715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6716 if test "${HAS_LIBSRTP}" = "1" ; then
6717 { echo "$as_me:$LINENO: result: yes" >&5
6718 echo "${ECHO_T}yes" >&6; }
6719 cat >>confdefs.h <<\_ACEOF
6720 #define HAS_LIBSRTP 1
6726 { echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6; }
6736 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6737 if test -f "$ac_dir/install-sh"; then
6739 ac_install_sh="$ac_aux_dir/install-sh -c"
6741 elif test -f "$ac_dir/install.sh"; then
6743 ac_install_sh="$ac_aux_dir/install.sh -c"
6745 elif test -f "$ac_dir/shtool"; then
6747 ac_install_sh="$ac_aux_dir/shtool install -c"
6751 if test -z "$ac_aux_dir"; then
6752 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6753 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6754 { (exit 1); exit 1; }; }
6757 # These three variables are undocumented and unsupported,
6758 # and are intended to be withdrawn in a future Autoconf release.
6759 # They can cause serious problems if a builder's
source tree is
in a directory
6760 # whose full name contains unusual characters.
6761 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6762 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6763 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6766 # Find a good install program. We prefer a C program (faster),
6767 # so one script is as good as another. But avoid the broken or
6768 # incompatible versions:
6769 # SysV /etc/install, /usr/sbin/install
6770 # SunOS /usr/etc/install
6771 # IRIX /sbin/install
6773 # AmigaOS /C/install, which installs bootblocks on floppy discs
6774 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6775 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6776 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6777 # OS/2's system install, which has a completely different semantic
6778 # ./install, which can be erroneously created by make from ./install.sh.
6779 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6780 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6781 if test -z "$INSTALL"; then
6782 if test "${ac_cv_path_install+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir
=.
6790 # Account for people who put trailing slashes in PATH elements.
6792 .
/ | .
// |
/cC
/* | \
6793 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6794 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6797 # OSF1 and SCO ODT 3.0 have their own names for install.
6798 # Don't use installbsd from OSF since it installs stuff as root
6800 for ac_prog
in ginstall scoinst
install; do
6801 for ac_exec_ext
in '' $ac_executable_extensions; do
6802 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6803 if test $ac_prog = install &&
6804 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6805 # AIX install. It has an incompatible calling convention.
6807 elif test $ac_prog = install &&
6808 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6809 # program-specific install script used by HP pwplus--don't use.
6812 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6825 if test "${ac_cv_path_install+set}" = set; then
6826 INSTALL
=$ac_cv_path_install
6828 # As a last resort, use the slow shell script. Don't cache a
6829 # value for INSTALL within a source directory, because that will
6830 # break other packages using the cache if that directory is
6831 # removed, or if the value is a relative name.
6832 INSTALL
=$ac_install_sh
6835 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6836 echo "${ECHO_T}$INSTALL" >&6; }
6838 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6839 # It thinks the first close brace ends the variable substitution.
6840 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6842 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6844 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6848 subdirs
="$subdirs plugins"
6852 ac_config_files
="$ac_config_files opal_inc.mak"
6854 ac_config_files
="$ac_config_files Makefile"
6856 ac_config_headers
="$ac_config_headers include/opal/buildopts.h"
6858 ac_config_files
="$ac_config_files opal.pc"
6860 ac_config_files
="$ac_config_files opal.spec"
6862 ac_config_files
="$ac_config_files opal_cfg.dxy"
6865 ac_config_files
="$ac_config_files src/codec/speex/libspeex/speex_config_types.h"
6867 cat >confcache
<<\_ACEOF
6868 # This file is a shell script that caches the results of configure
6869 # tests run on this system so they can be shared between configure
6870 # scripts and configure runs, see configure's option --config-cache.
6871 # It is not useful on other systems. If it contains results you don't
6872 # want to keep, you may remove or edit it.
6874 # config.status only pays attention to the cache file if you give it
6875 # the --recheck option to rerun configure.
6877 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6883 # The following way of writing the cache mishandles newlines in values,
6884 # but we know of no workaround that is simple, portable, and efficient.
6885 # So, we kill variables containing newlines.
6886 # Ultrix sh set writes to stderr and can't be redirected directly,
6887 # and sets the high bit in the cache file unless we assign to the vars.
6889 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6890 eval ac_val
=\$
$ac_var
6894 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6895 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6898 _ | IFS | as_nl
) ;; #(
6899 *) $as_unset $ac_var ;;
6905 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6906 *${as_nl}ac_space
=\
*)
6907 # `set' does not quote correctly, so add quotes (double-quote
6908 # substitution turns \\\\ into \\, and sed turns \\ into \).
6911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6914 # `set' quotes correctly as required by POSIX, so do not add quotes.
6915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6926 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6928 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6929 if test -w "$cache_file"; then
6930 test "x$cache_file" != "x/dev/null" &&
6931 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6932 echo "$as_me: updating cache $cache_file" >&6;}
6933 cat confcache
>$cache_file
6935 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6936 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6941 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6942 # Let make expand exec_prefix.
6943 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6945 DEFS
=-DHAVE_CONFIG_H
6949 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6950 # 1. Remove the extension, and $U if already installed.
6951 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6952 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6953 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6954 # will be set to the directory where LIBOBJS objects are built.
6955 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6956 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6960 LTLIBOBJS
=$ac_ltlibobjs
6964 : ${CONFIG_STATUS=./config.status}
6965 ac_clean_files_save
=$ac_clean_files
6966 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6967 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6968 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6969 cat >$CONFIG_STATUS <<_ACEOF
6971 # Generated by $as_me.
6972 # Run this file to recreate the current configuration.
6973 # Compiler output produced by configure, useful for debugging
6974 # configure, is in config.log if it exists.
6979 SHELL=\${CONFIG_SHELL-$SHELL}
6982 cat >>$CONFIG_STATUS <<\_ACEOF
6983 ## --------------------- ##
6984 ## M4sh Initialization. ##
6985 ## --------------------- ##
6987 # Be more Bourne compatible
6988 DUALCASE
=1; export DUALCASE
# for MKS sh
6989 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6992 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6993 # is contrary to our usage. Disable this feature.
6994 alias -g '${1+"$@"}'='"$@"'
6995 setopt NO_GLOB_SUBST
6997 case `(set -o) 2>/dev/null` in
6998 *posix
*) set -o posix
;;
7007 # Avoid depending upon Character Ranges.
7008 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7009 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7010 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7011 as_cr_digits
='0123456789'
7012 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7014 # The user is always right.
7015 if test "${PATH_SEPARATOR+set}" != set; then
7016 echo "#! /bin/sh" >conf$$.sh
7017 echo "exit 0" >>conf$$.sh
7019 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7027 # Support unset when possible.
7028 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7036 # We need space, tab and new line, in precisely that order. Quoting is
7037 # there to prevent editors from complaining about space-tab.
7038 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7039 # splitting by setting IFS to empty value.)
7044 # Find who we are. Look in the path if we contain no directory separator.
7046 *[\\/]* ) as_myself
=$0 ;;
7047 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7058 # We did not find ourselves, most probably we were run as `sh COMMAND'
7059 # in which case we are not to be found in the path.
7060 if test "x$as_myself" = x
; then
7063 if test ! -f "$as_myself"; then
7064 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7065 { (exit 1); exit 1; }
7068 # Work around bugs in pre-3.0 UWIN ksh.
7069 for as_var
in ENV MAIL MAILPATH
7070 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7078 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7079 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7080 LC_TELEPHONE LC_TIME
7082 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7083 eval $as_var=C
; export $as_var
7085 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7089 # Required to use basename.
7090 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7091 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7097 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7098 as_basename
=basename
7104 # Name of the executable.
7105 as_me
=`$as_basename -- "$0" ||
7106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7107 X"$0" : 'X\(//\)$' \| \
7108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7110 sed '/^.*\/\([^/][^/]*\)\/*$/{
7131 test "x$as_lineno_1" != "x$as_lineno_2" &&
7132 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7134 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7135 # uniformly replaced by the line number. The first 'sed' inserts a
7136 # line-number line after each line using $LINENO; the second 'sed'
7137 # does the real work. The second script uses 'N' to pair each
7138 # line-number line with the line containing $LINENO, and appends
7139 # trailing '-' during substitution so that $LINENO is not a special
7141 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7142 # scripts with optimization help from Paolo Bonzini. Blame Lee
7143 # E. McMahon (1931-1989) for sed's syntax. :-)
7155 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7159 chmod +x
"$as_me.lineno" ||
7160 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7161 { (exit 1); exit 1; }; }
7163 # Don't try to exec as it changes $[0], causing all sort of problems
7164 # (the dirname of $[0] is not the place where we might find the
7165 # original and so on. Autoconf is especially sensitive to this).
7167 # Exit status is that of the last command.
7172 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7178 ECHO_C
= ECHO_N
= ECHO_T
=
7181 case `echo 'x\c'` in
7182 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7189 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7190 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7196 rm -f conf$$ conf$$.exe conf$$.
file
7197 if test -d conf$$.dir
; then
7198 rm -f conf$$.dir
/conf$$.
file
7204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7206 # ... but there are two gotchas:
7207 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7208 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7209 # In both cases, we have to default to `cp -p'.
7210 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7217 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7218 rmdir conf$$.dir
2>/dev
/null
7220 if mkdir
-p .
2>/dev
/null
; then
7223 test -d .
/-p && rmdir .
/-p
7227 if test -x / >/dev
/null
2>&1; then
7230 if ls -dL / >/dev
/null
2>&1; then
7237 if test -d "$1"; then
7243 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7244 ???[sx]*):;;*)false;;esac;fi
7248 as_executable_p
=$as_test_x
7250 # Sed expression to map a string onto a valid CPP name.
7251 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7253 # Sed expression to map a string onto a valid variable name.
7254 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7259 # Save the log message, to keep $[0] and so on meaningful, and to
7260 # report actual input values of CONFIG_FILES etc. instead of their
7261 # values after options handling.
7263 This file was extended by $as_me, which was
7264 generated by GNU Autoconf 2.61. Invocation command line was
7266 CONFIG_FILES = $CONFIG_FILES
7267 CONFIG_HEADERS = $CONFIG_HEADERS
7268 CONFIG_LINKS = $CONFIG_LINKS
7269 CONFIG_COMMANDS = $CONFIG_COMMANDS
7272 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7277 cat >>$CONFIG_STATUS <<_ACEOF
7278 # Files that config.status was made for.
7279 config_files="$ac_config_files"
7280 config_headers="$ac_config_headers"
7284 cat >>$CONFIG_STATUS <<\_ACEOF
7286 \`$as_me' instantiates files from templates according to the
7287 current configuration.
7289 Usage: $0 [OPTIONS] [FILE]...
7291 -h, --help print this help, then exit
7292 -V, --version print version number and configuration settings, then exit
7293 -q, --quiet do not print progress messages
7294 -d, --debug don't remove temporary files
7295 --recheck update $as_me by reconfiguring in the same conditions
7296 --file=FILE[:TEMPLATE]
7297 instantiate the configuration file FILE
7298 --header=FILE[:TEMPLATE]
7299 instantiate the configuration header FILE
7301 Configuration files:
7304 Configuration headers:
7307 Report bugs to <bug-autoconf@gnu.org>."
7310 cat >>$CONFIG_STATUS <<_ACEOF
7313 configured by $0, generated by GNU Autoconf 2.61,
7314 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7316 Copyright (C) 2006 Free Software Foundation, Inc.
7317 This config.status script is free software; the Free Software Foundation
7318 gives unlimited permission to copy, distribute and modify it."
7325 cat >>$CONFIG_STATUS <<\_ACEOF
7326 # If no file are specified by the user, then we need to provide default
7327 # value. By we need to know if files were specified by the user.
7333 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7334 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7345 # Handling of the options.
7346 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7348 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7349 echo "$ac_cs_version"; exit ;;
7350 --debug |
--debu |
--deb |
--de |
--d |
-d )
7352 --file |
--fil |
--fi |
--f )
7354 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7355 ac_need_defaults
=false
;;
7356 --header |
--heade |
--head |
--hea )
7358 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7359 ac_need_defaults
=false
;;
7361 # Conflict between --help and --header
7362 { echo "$as_me: error: ambiguous option: $1
7363 Try \`$0 --help' for more information." >&2
7364 { (exit 1); exit 1; }; };;
7365 --help |
--hel |
-h )
7366 echo "$ac_cs_usage"; exit ;;
7367 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7368 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7372 -*) { echo "$as_me: error: unrecognized option: $1
7373 Try \`$0 --help' for more information." >&2
7374 { (exit 1); exit 1; }; } ;;
7376 *) ac_config_targets
="$ac_config_targets $1"
7377 ac_need_defaults
=false
;;
7383 ac_configure_extra_args
=
7385 if $ac_cs_silent; then
7387 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7391 cat >>$CONFIG_STATUS <<_ACEOF
7392 if \$ac_cs_recheck; then
7393 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7396 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7400 cat >>$CONFIG_STATUS <<\_ACEOF
7404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7405 ## Running $as_me. ##
7411 cat >>$CONFIG_STATUS <<_ACEOF
7414 cat >>$CONFIG_STATUS <<\_ACEOF
7416 # Handling of arguments.
7417 for ac_config_target
in $ac_config_targets
7419 case $ac_config_target in
7420 "opal_inc.mak") CONFIG_FILES
="$CONFIG_FILES opal_inc.mak" ;;
7421 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7422 "include/opal/buildopts.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/opal/buildopts.h" ;;
7423 "opal.pc") CONFIG_FILES
="$CONFIG_FILES opal.pc" ;;
7424 "opal.spec") CONFIG_FILES
="$CONFIG_FILES opal.spec" ;;
7425 "opal_cfg.dxy") CONFIG_FILES
="$CONFIG_FILES opal_cfg.dxy" ;;
7426 "src/codec/speex/libspeex/speex_config_types.h") CONFIG_FILES
="$CONFIG_FILES src/codec/speex/libspeex/speex_config_types.h" ;;
7428 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7429 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7430 { (exit 1); exit 1; }; };;
7435 # If the user did not use the arguments to specify the items to instantiate,
7436 # then the envvar interface is used. Set only those that are not.
7437 # We use the long form for the default assignment because of an extremely
7438 # bizarre bug on SunOS 4.1.3.
7439 if $ac_need_defaults; then
7440 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7444 # Have a temporary directory for convenience. Make it in the build tree
7445 # simply because there is no reason against having it here, and in addition,
7446 # creating and moving files from /tmp can sometimes cause problems.
7447 # Hook for its removal unless debugging.
7448 # Note that there is a small window in which the directory will not be cleaned:
7449 # after its creation but before its name has been assigned to `$tmp'.
7453 trap 'exit_status=$?
7454 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7456 trap '{ (exit 1); exit 1; }' 1 2 13 15
7458 # Create a (secure) tmp directory for tmp files.
7461 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7462 test -n "$tmp" && test -d "$tmp"
7465 tmp
=.
/conf$$
-$RANDOM
7466 (umask 077 && mkdir
"$tmp")
7469 echo "$me: cannot create a temporary directory in ." >&2
7470 { (exit 1); exit 1; }
7474 # Set up the sed scripts for CONFIG_FILES section.
7477 # No need to generate the scripts if there are no CONFIG_FILES.
7478 # This happens for instance when ./config.status config.h
7479 if test -n "$CONFIG_FILES"; then
7486 for ac_last_try
in false false false false false
:; do
7487 cat >conf$
$subs.
sed <<_ACEOF
7488 SHELL!$SHELL$ac_delim
7489 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7490 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7491 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7492 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7493 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7494 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7495 exec_prefix!$exec_prefix$ac_delim
7496 prefix!$prefix$ac_delim
7497 program_transform_name!$program_transform_name$ac_delim
7498 bindir!$bindir$ac_delim
7499 sbindir!$sbindir$ac_delim
7500 libexecdir!$libexecdir$ac_delim
7501 datarootdir!$datarootdir$ac_delim
7502 datadir!$datadir$ac_delim
7503 sysconfdir!$sysconfdir$ac_delim
7504 sharedstatedir!$sharedstatedir$ac_delim
7505 localstatedir!$localstatedir$ac_delim
7506 includedir!$includedir$ac_delim
7507 oldincludedir!$oldincludedir$ac_delim
7508 docdir!$docdir$ac_delim
7509 infodir!$infodir$ac_delim
7510 htmldir!$htmldir$ac_delim
7511 dvidir!$dvidir$ac_delim
7512 pdfdir!$pdfdir$ac_delim
7513 psdir!$psdir$ac_delim
7514 libdir!$libdir$ac_delim
7515 localedir!$localedir$ac_delim
7516 mandir!$mandir$ac_delim
7518 ECHO_C!$ECHO_C$ac_delim
7519 ECHO_N!$ECHO_N$ac_delim
7520 ECHO_T!$ECHO_T$ac_delim
7522 build_alias!$build_alias$ac_delim
7523 host_alias!$host_alias$ac_delim
7524 target_alias!$target_alias$ac_delim
7526 CFLAGS!$CFLAGS$ac_delim
7527 LDFLAGS!$LDFLAGS$ac_delim
7528 CPPFLAGS!$CPPFLAGS$ac_delim
7529 ac_ct_CC!$ac_ct_CC$ac_delim
7530 EXEEXT!$EXEEXT$ac_delim
7531 OBJEXT!$OBJEXT$ac_delim
7533 CXXFLAGS!$CXXFLAGS$ac_delim
7534 ac_ct_CXX!$ac_ct_CXX$ac_delim
7535 OPALDIR!$OPALDIR$ac_delim
7536 INSTALLPREFIX!$INSTALLPREFIX$ac_delim
7537 LIBDIR!$LIBDIR$ac_delim
7538 OPAL_VERSION!$OPAL_VERSION$ac_delim
7539 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
7540 PWLIBDIR!$PWLIBDIR$ac_delim
7541 GCC_HAS_CLZ!$GCC_HAS_CLZ$ac_delim
7544 EGREP!$EGREP$ac_delim
7545 SIZE16!$SIZE16$ac_delim
7546 SIZE32!$SIZE32$ac_delim
7547 OPAL_SYSTEM_SPEEX!$OPAL_SYSTEM_SPEEX$ac_delim
7548 OPAL_HAVE_SPEEX_SPEEX_H!$OPAL_HAVE_SPEEX_SPEEX_H$ac_delim
7549 OPAL_AUDIO!$OPAL_AUDIO$ac_delim
7550 OPAL_VIDEO!$OPAL_VIDEO$ac_delim
7551 OPAL_SIP!$OPAL_SIP$ac_delim
7552 OPAL_H323!$OPAL_H323$ac_delim
7553 OPAL_IAX2!$OPAL_IAX2$ac_delim
7554 OPAL_H224!$OPAL_H224$ac_delim
7555 OPAL_T38FAX!$OPAL_T38FAX$ac_delim
7556 OPAL_H450!$OPAL_H450$ac_delim
7557 OPAL_H460!$OPAL_H460$ac_delim
7558 OPAL_LID!$OPAL_LID$ac_delim
7559 OPAL_IVR!$OPAL_IVR$ac_delim
7560 OPAL_RFC4175!$OPAL_RFC4175$ac_delim
7561 OPAL_ZRTP!$OPAL_ZRTP$ac_delim
7562 HAS_LIBZRTP!$HAS_LIBZRTP$ac_delim
7563 OPAL_SRTP!$OPAL_SRTP$ac_delim
7564 HAS_LIBSRTP!$HAS_LIBSRTP$ac_delim
7565 STDCCFLAGS!$STDCCFLAGS$ac_delim
7566 ENDLDLIBS!$ENDLDLIBS$ac_delim
7567 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7568 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7569 INSTALL_DATA!$INSTALL_DATA$ac_delim
7570 subdirs!$subdirs$ac_delim
7571 LIBOBJS!$LIBOBJS$ac_delim
7572 LTLIBOBJS!$LTLIBOBJS$ac_delim
7575 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
7577 elif $ac_last_try; then
7578 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7579 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7580 { (exit 1); exit 1; }; }
7582 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7586 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7587 if test -n "$ac_eof"; then
7588 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7589 ac_eof
=`expr $ac_eof + 1`
7592 cat >>$CONFIG_STATUS <<_ACEOF
7593 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7597 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7598 s/^/s,@/; s/!/@,|#_!!_#|/
7601 s/'"$ac_delim"'$/,g/; t
7603 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7604 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7605 rm -f conf$
$subs.
sed
7606 cat >>$CONFIG_STATUS <<_ACEOF
7613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7615 # trailing colons and then remove the whole line if VPATH becomes empty
7616 # (actually we leave an empty line to preserve line numbers).
7617 if test "x$srcdir" = x.
; then
7618 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7622 s/^\([^=]*=[ ]*\):*/\1/
7628 cat >>$CONFIG_STATUS <<\_ACEOF
7629 fi # test -n "$CONFIG_FILES"
7632 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
7635 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7637 case $ac_mode$ac_tag in
7639 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7640 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7641 { (exit 1); exit 1; }; };;
7642 :[FH
]-) ac_tag
=-:-;;
7643 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7660 -) ac_f
="$tmp/stdin";;
7661 *) # Look for the file first in the build tree, then in the source tree
7662 # (if the path is not absolute). The absolute path cannot be DOS-style,
7663 # because $ac_f cannot contain `:'.
7667 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7669 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7670 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7671 { (exit 1); exit 1; }; };;
7673 ac_file_inputs
="$ac_file_inputs $ac_f"
7676 # Let's still pretend it is `configure' which instantiates (i.e., don't
7677 # use $as_me), people would be surprised to read:
7678 # /* config.h. Generated by config.status. */
7679 configure_input
="Generated from "`IFS=:
7680 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7681 if test x
"$ac_file" != x-
; then
7682 configure_input
="$ac_file. $configure_input"
7683 { echo "$as_me:$LINENO: creating $ac_file" >&5
7684 echo "$as_me: creating $ac_file" >&6;}
7688 *:-:* |
*:-) cat >"$tmp/stdin";;
7693 ac_dir
=`$as_dirname -- "$ac_file" ||
7694 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7695 X"$ac_file" : 'X\(//\)[^/]' \| \
7696 X"$ac_file" : 'X\(//\)$' \| \
7697 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7718 -*) as_dir
=.
/$as_dir;;
7720 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7724 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7725 *) as_qdir
=$as_dir;;
7727 as_dirs
="'$as_qdir' $as_dirs"
7728 as_dir
=`$as_dirname -- "$as_dir" ||
7729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7730 X"$as_dir" : 'X\(//\)[^/]' \| \
7731 X"$as_dir" : 'X\(//\)$' \| \
7732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7751 test -d "$as_dir" && break
7753 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7754 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7755 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7756 { (exit 1); exit 1; }; }; }
7760 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7762 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7763 # A ".." for each directory in $ac_dir_suffix.
7764 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7765 case $ac_top_builddir_sub in
7766 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7767 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7770 ac_abs_top_builddir
=$ac_pwd
7771 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7772 # for backward compatibility:
7773 ac_top_builddir
=$ac_top_build_prefix
7776 .
) # We are building in place.
7778 ac_top_srcdir
=$ac_top_builddir_sub
7779 ac_abs_top_srcdir
=$ac_pwd ;;
7780 [\\/]* | ?
:[\\/]* ) # Absolute name.
7781 ac_srcdir
=$srcdir$ac_dir_suffix;
7782 ac_top_srcdir
=$srcdir
7783 ac_abs_top_srcdir
=$srcdir ;;
7785 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7786 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7787 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7789 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7799 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7800 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7804 cat >>$CONFIG_STATUS <<\_ACEOF
7805 # If the template does not know about datarootdir, expand it.
7806 # FIXME: This hack should be removed a few years after 2.60.
7807 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7809 case `sed -n '/datarootdir/ {
7818 ' $ac_file_inputs` in
7819 *datarootdir
*) ac_datarootdir_seen
=yes;;
7820 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7821 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7822 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7824 cat >>$CONFIG_STATUS <<_ACEOF
7825 ac_datarootdir_hack='
7826 s&@datadir@&$datadir&g
7827 s&@docdir@&$docdir&g
7828 s&@infodir@&$infodir&g
7829 s&@localedir@&$localedir&g
7830 s&@mandir@&$mandir&g
7831 s&\\\${datarootdir}&$datarootdir&g' ;;
7835 # Neutralize VPATH when `$srcdir' = `.'.
7836 # Shell code in configure.ac might set extrasub.
7837 # FIXME: do we really want to maintain this feature?
7838 cat >>$CONFIG_STATUS <<_ACEOF
7842 cat >>$CONFIG_STATUS <<\_ACEOF
7844 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7845 s
&@configure_input@
&$configure_input&;t t
7846 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7847 s
&@srcdir@
&$ac_srcdir&;t t
7848 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7849 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7850 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7851 s
&@builddir@
&$ac_builddir&;t t
7852 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7853 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7854 s
&@INSTALL@
&$ac_INSTALL&;t t
7855 $ac_datarootdir_hack
7856 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7858 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7859 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7860 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7861 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7862 which seems to be undefined. Please make sure it is defined." >&5
7863 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7864 which seems to be undefined. Please make sure it is defined." >&2;}
7868 -) cat "$tmp/out"; rm -f "$tmp/out";;
7869 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7878 # Transform confdefs.h into a sed script `conftest.defines', that
7879 # substitutes the proper values into config.h.in to produce config.h.
7880 rm -f conftest.defines conftest.
tail
7881 # First, append a space to every undef/define line, to ease matching.
7882 echo 's/$/ /' >conftest.defines
7883 # Then, protect against being on the right side of a sed subst, or in
7884 # an unquoted here document, in config.status. If some macros were
7885 # called several times there might be several #defines for the same
7886 # symbol, which is useless. But do not sort them, since the last
7887 # AC_DEFINE must be honored.
7888 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7889 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7890 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7891 # PARAMS is the parameter list in the macro definition--in most cases, it's
7892 # just an empty string.
7893 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7894 ac_dB
='\\)[ (].*,\\1define\\2'
7902 s/^[ ]*#[ ]*define[ ][ ]*//
7907 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7908 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7909 ' >>conftest.defines
7911 # Remove the space that was appended to ease matching.
7912 # Then replace #undef with comments. This is necessary, for
7913 # example, in the case of _POSIX_SOURCE, which is predefined and required
7914 # on some systems where configure will not decide to define it.
7915 # (The regexp can be short, since the line contains either #define or #undef.)
7917 s,^[ #]*u.*,/* & */,' >>conftest.defines
7919 # Break up conftest.defines:
7922 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7923 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7924 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7926 ac_in
='$ac_file_inputs'
7927 ac_out
='"$tmp/out1"'
7928 ac_nxt
='"$tmp/out2"'
7932 # Write a here document:
7933 cat >>$CONFIG_STATUS <<_ACEOF
7934 # First, check the format of the line:
7935 cat >"\$tmp/defines.sed" <<\\CEOF
7936 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7937 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7941 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7943 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7944 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7945 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7946 grep . conftest.
tail >/dev
/null ||
break
7947 rm -f conftest.defines
7948 mv conftest.
tail conftest.defines
7950 rm -f conftest.defines conftest.
tail
7952 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7953 cat >>$CONFIG_STATUS <<\_ACEOF
7954 if test x
"$ac_file" != x-
; then
7955 echo "/* $configure_input */" >"$tmp/config.h"
7956 cat "$ac_result" >>"$tmp/config.h"
7957 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7958 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7959 echo "$as_me: $ac_file is unchanged" >&6;}
7962 mv "$tmp/config.h" $ac_file
7965 echo "/* $configure_input */"
7977 { (exit 0); exit 0; }
7979 chmod +x
$CONFIG_STATUS
7980 ac_clean_files
=$ac_clean_files_save
7983 # configure is writing to config.log, and then calls config.status.
7984 # config.status does its own redirection, appending to config.log.
7985 # Unfortunately, on DOS this fails, as config.log is still kept open
7986 # by configure, so config.status won't be able to write to it; its
7987 # output is simply discarded. So we exec the FD to /dev/null,
7988 # effectively closing config.log, so it can be properly (re)opened and
7989 # appended to by config.status. When coming back to configure, we
7990 # need to make the FD available again.
7991 if test "$no_create" != yes; then
7993 ac_config_status_args
=
7994 test "$silent" = yes &&
7995 ac_config_status_args
="$ac_config_status_args --quiet"
7997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8000 # would make configure fail if this is the last instruction.
8001 $ac_cs_success ||
{ (exit 1); exit 1; }
8005 # CONFIG_SUBDIRS section.
8007 if test "$no_recursion" != yes; then
8009 # Remove --cache-file and --srcdir arguments so they do not pile up.
8010 ac_sub_configure_args
=
8012 eval "set x $ac_configure_args"
8016 if test -n "$ac_prev"; then
8021 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8022 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8023 ac_prev
=cache_file
;;
8024 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8025 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8028 --config-cache |
-C)
8030 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8032 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8034 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8036 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8040 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8042 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8046 # Always prepend --prefix to ensure using the same prefix
8047 # in subdir configurations.
8048 ac_arg
="--prefix=$prefix"
8050 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8052 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8055 if test "$silent" = yes; then
8056 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8060 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8062 # Do not complain, so a configure script can configure whichever
8063 # parts of a large source tree are present.
8064 test -d "$srcdir/$ac_dir" ||
continue
8066 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8067 echo "$as_me:$LINENO: $ac_msg" >&5
8071 -*) as_dir
=.
/$as_dir;;
8073 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8077 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8078 *) as_qdir
=$as_dir;;
8080 as_dirs
="'$as_qdir' $as_dirs"
8081 as_dir
=`$as_dirname -- "$as_dir" ||
8082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8083 X"$as_dir" : 'X\(//\)[^/]' \| \
8084 X"$as_dir" : 'X\(//\)$' \| \
8085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8104 test -d "$as_dir" && break
8106 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8107 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8108 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8109 { (exit 1); exit 1; }; }; }
8113 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8116 # A ".." for each directory in $ac_dir_suffix.
8117 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8118 case $ac_top_builddir_sub in
8119 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8120 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8123 ac_abs_top_builddir
=$ac_pwd
8124 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8125 # for backward compatibility:
8126 ac_top_builddir
=$ac_top_build_prefix
8129 .
) # We are building in place.
8131 ac_top_srcdir
=$ac_top_builddir_sub
8132 ac_abs_top_srcdir
=$ac_pwd ;;
8133 [\\/]* | ?
:[\\/]* ) # Absolute name.
8134 ac_srcdir
=$srcdir$ac_dir_suffix;
8135 ac_top_srcdir
=$srcdir
8136 ac_abs_top_srcdir
=$srcdir ;;
8138 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8139 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8140 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8142 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8147 # Check for guested configure; otherwise get Cygnus style configure.
8148 if test -f "$ac_srcdir/configure.gnu"; then
8149 ac_sub_configure
=$ac_srcdir/configure.gnu
8150 elif test -f "$ac_srcdir/configure"; then
8151 ac_sub_configure
=$ac_srcdir/configure
8152 elif test -f "$ac_srcdir/configure.in"; then
8153 # This should be Cygnus configure.
8154 ac_sub_configure
=$ac_aux_dir/configure
8156 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8157 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8161 # The recursion is here.
8162 if test -n "$ac_sub_configure"; then
8163 # Make the cache file name correct relative to the subdirectory.
8165 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8167 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8170 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8171 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8172 # The eval makes quoting arguments work.
8173 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8174 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8175 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8176 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8177 { (exit 1); exit 1; }; }